@@ -497,6 +497,55 @@ export const UserApiAxiosParamCreator = function (
497497 options : localVarRequestOptions ,
498498 } ;
499499 } ,
500+ /**
501+ *
502+ * @param {string } body
503+ * @param {* } [options] Override http request option.
504+ * @throws {RequiredError }
505+ */
506+ uiLanguage : async (
507+ body : string ,
508+ options : any = { }
509+ ) : Promise < RequestArgs > => {
510+ // verify required parameter 'body' is not null or undefined
511+ assertParamExists ( "uiLanguage" , "body" , body ) ;
512+ const localVarPath = `/v1/users/uilanguage` ;
513+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
514+ const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
515+ let baseOptions ;
516+ if ( configuration ) {
517+ baseOptions = configuration . baseOptions ;
518+ }
519+
520+ const localVarRequestOptions = {
521+ method : "POST" ,
522+ ...baseOptions ,
523+ ...options ,
524+ } ;
525+ const localVarHeaderParameter = { } as any ;
526+ const localVarQueryParameter = { } as any ;
527+
528+ localVarHeaderParameter [ "Content-Type" ] = "application/json" ;
529+
530+ setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ;
531+ let headersFromBaseOptions =
532+ baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
533+ localVarRequestOptions . headers = {
534+ ...localVarHeaderParameter ,
535+ ...headersFromBaseOptions ,
536+ ...options . headers ,
537+ } ;
538+ localVarRequestOptions . data = serializeDataIfNeeded (
539+ body ,
540+ localVarRequestOptions ,
541+ configuration
542+ ) ;
543+
544+ return {
545+ url : toPathString ( localVarUrlObj ) ,
546+ options : localVarRequestOptions ,
547+ } ;
548+ } ,
500549 /**
501550 *
502551 * @param {string } userId
@@ -836,6 +885,29 @@ export const UserApiFp = function (configuration?: Configuration) {
836885 configuration
837886 ) ;
838887 } ,
888+ /**
889+ *
890+ * @param {string } body
891+ * @param {* } [options] Override http request option.
892+ * @throws {RequiredError }
893+ */
894+ async uiLanguage (
895+ body : string ,
896+ options ?: any
897+ ) : Promise <
898+ ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void >
899+ > {
900+ const localVarAxiosArgs = await localVarAxiosParamCreator . uiLanguage (
901+ body ,
902+ options
903+ ) ;
904+ return createRequestFunction (
905+ localVarAxiosArgs ,
906+ globalAxios ,
907+ BASE_PATH ,
908+ configuration
909+ ) ;
910+ } ,
839911 /**
840912 *
841913 * @param {string } userId
@@ -1017,6 +1089,17 @@ export const UserApiFactory = function (
10171089 . isEmailOrUsernameAvailable ( body , options )
10181090 . then ( ( request ) => request ( axios , basePath ) ) ;
10191091 } ,
1092+ /**
1093+ *
1094+ * @param {string } body
1095+ * @param {* } [options] Override http request option.
1096+ * @throws {RequiredError }
1097+ */
1098+ uiLanguage ( body : string , options ?: any ) : AxiosPromise < void > {
1099+ return localVarFp
1100+ . uiLanguage ( body , options )
1101+ . then ( ( request ) => request ( axios , basePath ) ) ;
1102+ } ,
10201103 /**
10211104 *
10221105 * @param {string } userId
@@ -1155,6 +1238,20 @@ export interface UserApiIsEmailOrUsernameAvailableRequest {
11551238 readonly body : string ;
11561239}
11571240
1241+ /**
1242+ * Request parameters for uiLanguage operation in UserApi.
1243+ * @export
1244+ * @interface UserApiUiLanguageRequest
1245+ */
1246+ export interface UserApiUiLanguageRequest {
1247+ /**
1248+ *
1249+ * @type {string }
1250+ * @memberof UserApiUiLanguage
1251+ */
1252+ readonly body : string ;
1253+ }
1254+
11581255/**
11591256 * Request parameters for updateUser operation in UserApi.
11601257 * @export
@@ -1346,6 +1443,22 @@ export class UserApi extends BaseAPI {
13461443 . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
13471444 }
13481445
1446+ /**
1447+ *
1448+ * @param {UserApiUiLanguageRequest } requestParameters Request parameters.
1449+ * @param {* } [options] Override http request option.
1450+ * @throws {RequiredError }
1451+ * @memberof UserApi
1452+ */
1453+ public uiLanguage (
1454+ requestParameters : UserApiUiLanguageRequest ,
1455+ options ?: any
1456+ ) {
1457+ return UserApiFp ( this . configuration )
1458+ . uiLanguage ( requestParameters . body , options )
1459+ . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
1460+ }
1461+
13491462 /**
13501463 *
13511464 * @param {UserApiUpdateUserRequest } requestParameters Request parameters.
0 commit comments