From 6a5ebcf13c13d2c96172ce59a55a4dd1d2276b30 Mon Sep 17 00:00:00 2001 From: Phrase Date: Tue, 20 Apr 2021 10:36:08 +0000 Subject: [PATCH] Deploying from phrase/openapi@2906a2cd --- src/apis/LocalesApi.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apis/LocalesApi.ts b/src/apis/LocalesApi.ts index b622d70..dd342b4 100644 --- a/src/apis/LocalesApi.ts +++ b/src/apis/LocalesApi.ts @@ -81,6 +81,7 @@ export interface LocalesListRequest { xPhraseAppOTP?: string; page?: number; perPage?: number; + sortBy?: string; branch?: string; } @@ -421,6 +422,10 @@ export class LocalesApi extends runtime.BaseAPI { queryParameters['per_page'] = requestParameters.perPage; } + if (requestParameters.sortBy !== undefined) { + queryParameters['sort_by'] = requestParameters.sortBy; + } + if (requestParameters.branch !== undefined) { queryParameters['branch'] = requestParameters.branch; }