@seekora-ai/admin-api 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @seekora-ai/admin-api@1.0.23
1
+ ## @seekora-ai/admin-api@1.0.24
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @seekora-ai/admin-api@1.0.23 --save
39
+ npm install @seekora-ai/admin-api@1.0.24 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -56,9 +56,9 @@ Class | Method | HTTP request | Description
56
56
  *APICallsApi* | [**adminAPICallsCallIDPut**](docs/APICallsApi.md#adminapicallscallidput) | **PUT** /admin/APICalls/{callID} | UpdateAPICall an existing apicall details
57
57
  *APICallsApi* | [**adminAPICallsGet**](docs/APICallsApi.md#adminapicallsget) | **GET** /admin/APICalls | Fetches list of APICalls
58
58
  *APICallsApi* | [**adminAPICallsPost**](docs/APICallsApi.md#adminapicallspost) | **POST** /admin/APICalls | Creates a new apicall
59
- *AccountSettingsApi* | [**passwordPut**](docs/AccountSettingsApi.md#passwordput) | **PUT** /password | Update user password
60
- *AccountSettingsApi* | [**profileGet**](docs/AccountSettingsApi.md#profileget) | **GET** /profile | Retrieve user profile
61
- *AccountSettingsApi* | [**profilePut**](docs/AccountSettingsApi.md#profileput) | **PUT** /profile | Update user profile
59
+ *AccountSettingsApi* | [**accountSettingsPasswordPut**](docs/AccountSettingsApi.md#accountsettingspasswordput) | **PUT** /account-settings/password | Update user password
60
+ *AccountSettingsApi* | [**accountSettingsProfileGet**](docs/AccountSettingsApi.md#accountsettingsprofileget) | **GET** /account-settings/profile | Retrieve user profile
61
+ *AccountSettingsApi* | [**accountSettingsProfilePut**](docs/AccountSettingsApi.md#accountsettingsprofileput) | **PUT** /account-settings/profile | Update user profile
62
62
  *ArticlesApi* | [**adminArticlesArticleIDDelete**](docs/ArticlesApi.md#adminarticlesarticleiddelete) | **DELETE** /admin/Articles/{articleID} | Delete an existing Article
63
63
  *ArticlesApi* | [**adminArticlesArticleIDGet**](docs/ArticlesApi.md#adminarticlesarticleidget) | **GET** /admin/Articles/{articleID} | Fetches article by id
64
64
  *ArticlesApi* | [**adminArticlesArticleIDPut**](docs/ArticlesApi.md#adminarticlesarticleidput) | **PUT** /admin/Articles/{articleID} | Update an existing Article
@@ -273,6 +273,7 @@ Class | Method | HTTP request | Description
273
273
  - [DataTypesPlanResponse](docs/DataTypesPlanResponse.md)
274
274
  - [DataTypesPlansListResponse](docs/DataTypesPlansListResponse.md)
275
275
  - [DataTypesProfileResponse](docs/DataTypesProfileResponse.md)
276
+ - [DataTypesProfileResponseWrapper](docs/DataTypesProfileResponseWrapper.md)
276
277
  - [DataTypesPublicSearchRequest](docs/DataTypesPublicSearchRequest.md)
277
278
  - [DataTypesResponse](docs/DataTypesResponse.md)
278
279
  - [DataTypesRole](docs/DataTypesRole.md)
@@ -328,7 +329,6 @@ Class | Method | HTTP request | Description
328
329
  - [MgDocumentTypesArticle](docs/MgDocumentTypesArticle.md)
329
330
  - [MgDocumentTypesCreateArticleRequestDto](docs/MgDocumentTypesCreateArticleRequestDto.md)
330
331
  - [MultipartFileHeader](docs/MultipartFileHeader.md)
331
- - [ProfileGet200Response](docs/ProfileGet200Response.md)
332
332
  - [V1ConnectorsSourcesSourceidUploaddataPostRequest](docs/V1ConnectorsSourcesSourceidUploaddataPostRequest.md)
333
333
 
334
334
 
package/api.ts CHANGED
@@ -3404,6 +3404,31 @@ export interface DataTypesProfileResponse {
3404
3404
  */
3405
3405
  'userphone'?: string;
3406
3406
  }
3407
+ /**
3408
+ *
3409
+ * @export
3410
+ * @interface DataTypesProfileResponseWrapper
3411
+ */
3412
+ export interface DataTypesProfileResponseWrapper {
3413
+ /**
3414
+ *
3415
+ * @type {DataTypesProfileResponse}
3416
+ * @memberof DataTypesProfileResponseWrapper
3417
+ */
3418
+ 'data'?: DataTypesProfileResponse;
3419
+ /**
3420
+ *
3421
+ * @type {string}
3422
+ * @memberof DataTypesProfileResponseWrapper
3423
+ */
3424
+ 'message'?: string;
3425
+ /**
3426
+ *
3427
+ * @type {number}
3428
+ * @memberof DataTypesProfileResponseWrapper
3429
+ */
3430
+ 'status'?: number;
3431
+ }
3407
3432
  /**
3408
3433
  *
3409
3434
  * @export
@@ -5673,31 +5698,6 @@ export interface MultipartFileHeader {
5673
5698
  */
5674
5699
  'size'?: number;
5675
5700
  }
5676
- /**
5677
- *
5678
- * @export
5679
- * @interface ProfileGet200Response
5680
- */
5681
- export interface ProfileGet200Response {
5682
- /**
5683
- *
5684
- * @type {DataTypesProfileResponse}
5685
- * @memberof ProfileGet200Response
5686
- */
5687
- 'data'?: DataTypesProfileResponse;
5688
- /**
5689
- *
5690
- * @type {string}
5691
- * @memberof ProfileGet200Response
5692
- */
5693
- 'message'?: string;
5694
- /**
5695
- *
5696
- * @type {number}
5697
- * @memberof ProfileGet200Response
5698
- */
5699
- 'status'?: number;
5700
- }
5701
5701
  /**
5702
5702
  *
5703
5703
  * @export
@@ -6152,10 +6152,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
6152
6152
  * @param {*} [options] Override http request option.
6153
6153
  * @throws {RequiredError}
6154
6154
  */
6155
- passwordPut: async (password: DataTypesUpdatePasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6155
+ accountSettingsPasswordPut: async (password: DataTypesUpdatePasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6156
6156
  // verify required parameter 'password' is not null or undefined
6157
- assertParamExists('passwordPut', 'password', password)
6158
- const localVarPath = `/password`;
6157
+ assertParamExists('accountSettingsPasswordPut', 'password', password)
6158
+ const localVarPath = `/account-settings/password`;
6159
6159
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6160
6160
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6161
6161
  let baseOptions;
@@ -6190,8 +6190,8 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
6190
6190
  * @param {*} [options] Override http request option.
6191
6191
  * @throws {RequiredError}
6192
6192
  */
6193
- profileGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6194
- const localVarPath = `/profile`;
6193
+ accountSettingsProfileGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6194
+ const localVarPath = `/account-settings/profile`;
6195
6195
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6196
6196
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6197
6197
  let baseOptions;
@@ -6224,10 +6224,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
6224
6224
  * @param {*} [options] Override http request option.
6225
6225
  * @throws {RequiredError}
6226
6226
  */
6227
- profilePut: async (profile: DataTypesUpdateProfileRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6227
+ accountSettingsProfilePut: async (profile: DataTypesUpdateProfileRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6228
6228
  // verify required parameter 'profile' is not null or undefined
6229
- assertParamExists('profilePut', 'profile', profile)
6230
- const localVarPath = `/profile`;
6229
+ assertParamExists('accountSettingsProfilePut', 'profile', profile)
6230
+ const localVarPath = `/account-settings/profile`;
6231
6231
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6232
6232
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6233
6233
  let baseOptions;
@@ -6273,10 +6273,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
6273
6273
  * @param {*} [options] Override http request option.
6274
6274
  * @throws {RequiredError}
6275
6275
  */
6276
- async passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
6277
- const localVarAxiosArgs = await localVarAxiosParamCreator.passwordPut(password, options);
6276
+ async accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
6277
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsPasswordPut(password, options);
6278
6278
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6279
- const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.passwordPut']?.[localVarOperationServerIndex]?.url;
6279
+ const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsPasswordPut']?.[localVarOperationServerIndex]?.url;
6280
6280
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6281
6281
  },
6282
6282
  /**
@@ -6285,10 +6285,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
6285
6285
  * @param {*} [options] Override http request option.
6286
6286
  * @throws {RequiredError}
6287
6287
  */
6288
- async profileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>> {
6289
- const localVarAxiosArgs = await localVarAxiosParamCreator.profileGet(options);
6288
+ async accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>> {
6289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsProfileGet(options);
6290
6290
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6291
- const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.profileGet']?.[localVarOperationServerIndex]?.url;
6291
+ const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsProfileGet']?.[localVarOperationServerIndex]?.url;
6292
6292
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6293
6293
  },
6294
6294
  /**
@@ -6298,10 +6298,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
6298
6298
  * @param {*} [options] Override http request option.
6299
6299
  * @throws {RequiredError}
6300
6300
  */
6301
- async profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>> {
6302
- const localVarAxiosArgs = await localVarAxiosParamCreator.profilePut(profile, options);
6301
+ async accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>> {
6302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsProfilePut(profile, options);
6303
6303
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6304
- const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.profilePut']?.[localVarOperationServerIndex]?.url;
6304
+ const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsProfilePut']?.[localVarOperationServerIndex]?.url;
6305
6305
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6306
6306
  },
6307
6307
  }
@@ -6321,8 +6321,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
6321
6321
  * @param {*} [options] Override http request option.
6322
6322
  * @throws {RequiredError}
6323
6323
  */
6324
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
6325
- return localVarFp.passwordPut(password, options).then((request) => request(axios, basePath));
6324
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
6325
+ return localVarFp.accountSettingsPasswordPut(password, options).then((request) => request(axios, basePath));
6326
6326
  },
6327
6327
  /**
6328
6328
  * Retrieves the profile of the currently logged-in user
@@ -6330,8 +6330,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
6330
6330
  * @param {*} [options] Override http request option.
6331
6331
  * @throws {RequiredError}
6332
6332
  */
6333
- profileGet(options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response> {
6334
- return localVarFp.profileGet(options).then((request) => request(axios, basePath));
6333
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper> {
6334
+ return localVarFp.accountSettingsProfileGet(options).then((request) => request(axios, basePath));
6335
6335
  },
6336
6336
  /**
6337
6337
  * Updates the profile of the currently logged-in user
@@ -6340,8 +6340,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
6340
6340
  * @param {*} [options] Override http request option.
6341
6341
  * @throws {RequiredError}
6342
6342
  */
6343
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response> {
6344
- return localVarFp.profilePut(profile, options).then((request) => request(axios, basePath));
6343
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper> {
6344
+ return localVarFp.accountSettingsProfilePut(profile, options).then((request) => request(axios, basePath));
6345
6345
  },
6346
6346
  };
6347
6347
  };
@@ -6361,8 +6361,8 @@ export class AccountSettingsApi extends BaseAPI {
6361
6361
  * @throws {RequiredError}
6362
6362
  * @memberof AccountSettingsApi
6363
6363
  */
6364
- public passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) {
6365
- return AccountSettingsApiFp(this.configuration).passwordPut(password, options).then((request) => request(this.axios, this.basePath));
6364
+ public accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) {
6365
+ return AccountSettingsApiFp(this.configuration).accountSettingsPasswordPut(password, options).then((request) => request(this.axios, this.basePath));
6366
6366
  }
6367
6367
 
6368
6368
  /**
@@ -6372,8 +6372,8 @@ export class AccountSettingsApi extends BaseAPI {
6372
6372
  * @throws {RequiredError}
6373
6373
  * @memberof AccountSettingsApi
6374
6374
  */
6375
- public profileGet(options?: RawAxiosRequestConfig) {
6376
- return AccountSettingsApiFp(this.configuration).profileGet(options).then((request) => request(this.axios, this.basePath));
6375
+ public accountSettingsProfileGet(options?: RawAxiosRequestConfig) {
6376
+ return AccountSettingsApiFp(this.configuration).accountSettingsProfileGet(options).then((request) => request(this.axios, this.basePath));
6377
6377
  }
6378
6378
 
6379
6379
  /**
@@ -6384,8 +6384,8 @@ export class AccountSettingsApi extends BaseAPI {
6384
6384
  * @throws {RequiredError}
6385
6385
  * @memberof AccountSettingsApi
6386
6386
  */
6387
- public profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) {
6388
- return AccountSettingsApiFp(this.configuration).profilePut(profile, options).then((request) => request(this.axios, this.basePath));
6387
+ public accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) {
6388
+ return AccountSettingsApiFp(this.configuration).accountSettingsProfilePut(profile, options).then((request) => request(this.axios, this.basePath));
6389
6389
  }
6390
6390
  }
6391
6391
 
package/dist/api.d.ts CHANGED
@@ -3407,6 +3407,31 @@ export interface DataTypesProfileResponse {
3407
3407
  */
3408
3408
  'userphone'?: string;
3409
3409
  }
3410
+ /**
3411
+ *
3412
+ * @export
3413
+ * @interface DataTypesProfileResponseWrapper
3414
+ */
3415
+ export interface DataTypesProfileResponseWrapper {
3416
+ /**
3417
+ *
3418
+ * @type {DataTypesProfileResponse}
3419
+ * @memberof DataTypesProfileResponseWrapper
3420
+ */
3421
+ 'data'?: DataTypesProfileResponse;
3422
+ /**
3423
+ *
3424
+ * @type {string}
3425
+ * @memberof DataTypesProfileResponseWrapper
3426
+ */
3427
+ 'message'?: string;
3428
+ /**
3429
+ *
3430
+ * @type {number}
3431
+ * @memberof DataTypesProfileResponseWrapper
3432
+ */
3433
+ 'status'?: number;
3434
+ }
3410
3435
  /**
3411
3436
  *
3412
3437
  * @export
@@ -5678,31 +5703,6 @@ export interface MultipartFileHeader {
5678
5703
  */
5679
5704
  'size'?: number;
5680
5705
  }
5681
- /**
5682
- *
5683
- * @export
5684
- * @interface ProfileGet200Response
5685
- */
5686
- export interface ProfileGet200Response {
5687
- /**
5688
- *
5689
- * @type {DataTypesProfileResponse}
5690
- * @memberof ProfileGet200Response
5691
- */
5692
- 'data'?: DataTypesProfileResponse;
5693
- /**
5694
- *
5695
- * @type {string}
5696
- * @memberof ProfileGet200Response
5697
- */
5698
- 'message'?: string;
5699
- /**
5700
- *
5701
- * @type {number}
5702
- * @memberof ProfileGet200Response
5703
- */
5704
- 'status'?: number;
5705
- }
5706
5706
  /**
5707
5707
  *
5708
5708
  * @export
@@ -5943,14 +5943,14 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
5943
5943
  * @param {*} [options] Override http request option.
5944
5944
  * @throws {RequiredError}
5945
5945
  */
5946
- passwordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5946
+ accountSettingsPasswordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5947
5947
  /**
5948
5948
  * Retrieves the profile of the currently logged-in user
5949
5949
  * @summary Retrieve user profile
5950
5950
  * @param {*} [options] Override http request option.
5951
5951
  * @throws {RequiredError}
5952
5952
  */
5953
- profileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5953
+ accountSettingsProfileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5954
5954
  /**
5955
5955
  * Updates the profile of the currently logged-in user
5956
5956
  * @summary Update user profile
@@ -5958,7 +5958,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
5958
5958
  * @param {*} [options] Override http request option.
5959
5959
  * @throws {RequiredError}
5960
5960
  */
5961
- profilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5961
+ accountSettingsProfilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5962
5962
  };
5963
5963
  /**
5964
5964
  * AccountSettingsApi - functional programming interface
@@ -5972,14 +5972,14 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
5972
5972
  * @param {*} [options] Override http request option.
5973
5973
  * @throws {RequiredError}
5974
5974
  */
5975
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
5975
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
5976
5976
  /**
5977
5977
  * Retrieves the profile of the currently logged-in user
5978
5978
  * @summary Retrieve user profile
5979
5979
  * @param {*} [options] Override http request option.
5980
5980
  * @throws {RequiredError}
5981
5981
  */
5982
- profileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>>;
5982
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
5983
5983
  /**
5984
5984
  * Updates the profile of the currently logged-in user
5985
5985
  * @summary Update user profile
@@ -5987,7 +5987,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
5987
5987
  * @param {*} [options] Override http request option.
5988
5988
  * @throws {RequiredError}
5989
5989
  */
5990
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>>;
5990
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
5991
5991
  };
5992
5992
  /**
5993
5993
  * AccountSettingsApi - factory interface
@@ -6001,14 +6001,14 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
6001
6001
  * @param {*} [options] Override http request option.
6002
6002
  * @throws {RequiredError}
6003
6003
  */
6004
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
6004
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
6005
6005
  /**
6006
6006
  * Retrieves the profile of the currently logged-in user
6007
6007
  * @summary Retrieve user profile
6008
6008
  * @param {*} [options] Override http request option.
6009
6009
  * @throws {RequiredError}
6010
6010
  */
6011
- profileGet(options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response>;
6011
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
6012
6012
  /**
6013
6013
  * Updates the profile of the currently logged-in user
6014
6014
  * @summary Update user profile
@@ -6016,7 +6016,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
6016
6016
  * @param {*} [options] Override http request option.
6017
6017
  * @throws {RequiredError}
6018
6018
  */
6019
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response>;
6019
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
6020
6020
  };
6021
6021
  /**
6022
6022
  * AccountSettingsApi - object-oriented interface
@@ -6033,7 +6033,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6033
6033
  * @throws {RequiredError}
6034
6034
  * @memberof AccountSettingsApi
6035
6035
  */
6036
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
6036
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
6037
6037
  /**
6038
6038
  * Retrieves the profile of the currently logged-in user
6039
6039
  * @summary Retrieve user profile
@@ -6041,7 +6041,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6041
6041
  * @throws {RequiredError}
6042
6042
  * @memberof AccountSettingsApi
6043
6043
  */
6044
- profileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileGet200Response, any>>;
6044
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
6045
6045
  /**
6046
6046
  * Updates the profile of the currently logged-in user
6047
6047
  * @summary Update user profile
@@ -6050,7 +6050,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6050
6050
  * @throws {RequiredError}
6051
6051
  * @memberof AccountSettingsApi
6052
6052
  */
6053
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileGet200Response, any>>;
6053
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
6054
6054
  }
6055
6055
  /**
6056
6056
  * ArticlesApi - axios parameter creator
package/dist/api.js CHANGED
@@ -441,10 +441,10 @@ const AccountSettingsApiAxiosParamCreator = function (configuration) {
441
441
  * @param {*} [options] Override http request option.
442
442
  * @throws {RequiredError}
443
443
  */
444
- passwordPut: (password_1, ...args_1) => __awaiter(this, [password_1, ...args_1], void 0, function* (password, options = {}) {
444
+ accountSettingsPasswordPut: (password_1, ...args_1) => __awaiter(this, [password_1, ...args_1], void 0, function* (password, options = {}) {
445
445
  // verify required parameter 'password' is not null or undefined
446
- (0, common_1.assertParamExists)('passwordPut', 'password', password);
447
- const localVarPath = `/password`;
446
+ (0, common_1.assertParamExists)('accountSettingsPasswordPut', 'password', password);
447
+ const localVarPath = `/account-settings/password`;
448
448
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
449
449
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
450
450
  let baseOptions;
@@ -472,8 +472,8 @@ const AccountSettingsApiAxiosParamCreator = function (configuration) {
472
472
  * @param {*} [options] Override http request option.
473
473
  * @throws {RequiredError}
474
474
  */
475
- profileGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
476
- const localVarPath = `/profile`;
475
+ accountSettingsProfileGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
476
+ const localVarPath = `/account-settings/profile`;
477
477
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
478
478
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
479
479
  let baseOptions;
@@ -500,10 +500,10 @@ const AccountSettingsApiAxiosParamCreator = function (configuration) {
500
500
  * @param {*} [options] Override http request option.
501
501
  * @throws {RequiredError}
502
502
  */
503
- profilePut: (profile_1, ...args_1) => __awaiter(this, [profile_1, ...args_1], void 0, function* (profile, options = {}) {
503
+ accountSettingsProfilePut: (profile_1, ...args_1) => __awaiter(this, [profile_1, ...args_1], void 0, function* (profile, options = {}) {
504
504
  // verify required parameter 'profile' is not null or undefined
505
- (0, common_1.assertParamExists)('profilePut', 'profile', profile);
506
- const localVarPath = `/profile`;
505
+ (0, common_1.assertParamExists)('accountSettingsProfilePut', 'profile', profile);
506
+ const localVarPath = `/account-settings/profile`;
507
507
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
508
508
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
509
509
  let baseOptions;
@@ -542,12 +542,12 @@ const AccountSettingsApiFp = function (configuration) {
542
542
  * @param {*} [options] Override http request option.
543
543
  * @throws {RequiredError}
544
544
  */
545
- passwordPut(password, options) {
545
+ accountSettingsPasswordPut(password, options) {
546
546
  return __awaiter(this, void 0, void 0, function* () {
547
547
  var _a, _b, _c;
548
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passwordPut(password, options);
548
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsPasswordPut(password, options);
549
549
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
550
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.passwordPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
550
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.accountSettingsPasswordPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
551
551
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
552
552
  });
553
553
  },
@@ -557,12 +557,12 @@ const AccountSettingsApiFp = function (configuration) {
557
557
  * @param {*} [options] Override http request option.
558
558
  * @throws {RequiredError}
559
559
  */
560
- profileGet(options) {
560
+ accountSettingsProfileGet(options) {
561
561
  return __awaiter(this, void 0, void 0, function* () {
562
562
  var _a, _b, _c;
563
- const localVarAxiosArgs = yield localVarAxiosParamCreator.profileGet(options);
563
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsProfileGet(options);
564
564
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
565
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.profileGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
565
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.accountSettingsProfileGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
566
566
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
567
567
  });
568
568
  },
@@ -573,12 +573,12 @@ const AccountSettingsApiFp = function (configuration) {
573
573
  * @param {*} [options] Override http request option.
574
574
  * @throws {RequiredError}
575
575
  */
576
- profilePut(profile, options) {
576
+ accountSettingsProfilePut(profile, options) {
577
577
  return __awaiter(this, void 0, void 0, function* () {
578
578
  var _a, _b, _c;
579
- const localVarAxiosArgs = yield localVarAxiosParamCreator.profilePut(profile, options);
579
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsProfilePut(profile, options);
580
580
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
581
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.profilePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
581
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.accountSettingsProfilePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
582
582
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
583
583
  });
584
584
  },
@@ -599,8 +599,8 @@ const AccountSettingsApiFactory = function (configuration, basePath, axios) {
599
599
  * @param {*} [options] Override http request option.
600
600
  * @throws {RequiredError}
601
601
  */
602
- passwordPut(password, options) {
603
- return localVarFp.passwordPut(password, options).then((request) => request(axios, basePath));
602
+ accountSettingsPasswordPut(password, options) {
603
+ return localVarFp.accountSettingsPasswordPut(password, options).then((request) => request(axios, basePath));
604
604
  },
605
605
  /**
606
606
  * Retrieves the profile of the currently logged-in user
@@ -608,8 +608,8 @@ const AccountSettingsApiFactory = function (configuration, basePath, axios) {
608
608
  * @param {*} [options] Override http request option.
609
609
  * @throws {RequiredError}
610
610
  */
611
- profileGet(options) {
612
- return localVarFp.profileGet(options).then((request) => request(axios, basePath));
611
+ accountSettingsProfileGet(options) {
612
+ return localVarFp.accountSettingsProfileGet(options).then((request) => request(axios, basePath));
613
613
  },
614
614
  /**
615
615
  * Updates the profile of the currently logged-in user
@@ -618,8 +618,8 @@ const AccountSettingsApiFactory = function (configuration, basePath, axios) {
618
618
  * @param {*} [options] Override http request option.
619
619
  * @throws {RequiredError}
620
620
  */
621
- profilePut(profile, options) {
622
- return localVarFp.profilePut(profile, options).then((request) => request(axios, basePath));
621
+ accountSettingsProfilePut(profile, options) {
622
+ return localVarFp.accountSettingsProfilePut(profile, options).then((request) => request(axios, basePath));
623
623
  },
624
624
  };
625
625
  };
@@ -639,8 +639,8 @@ class AccountSettingsApi extends base_1.BaseAPI {
639
639
  * @throws {RequiredError}
640
640
  * @memberof AccountSettingsApi
641
641
  */
642
- passwordPut(password, options) {
643
- return (0, exports.AccountSettingsApiFp)(this.configuration).passwordPut(password, options).then((request) => request(this.axios, this.basePath));
642
+ accountSettingsPasswordPut(password, options) {
643
+ return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsPasswordPut(password, options).then((request) => request(this.axios, this.basePath));
644
644
  }
645
645
  /**
646
646
  * Retrieves the profile of the currently logged-in user
@@ -649,8 +649,8 @@ class AccountSettingsApi extends base_1.BaseAPI {
649
649
  * @throws {RequiredError}
650
650
  * @memberof AccountSettingsApi
651
651
  */
652
- profileGet(options) {
653
- return (0, exports.AccountSettingsApiFp)(this.configuration).profileGet(options).then((request) => request(this.axios, this.basePath));
652
+ accountSettingsProfileGet(options) {
653
+ return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsProfileGet(options).then((request) => request(this.axios, this.basePath));
654
654
  }
655
655
  /**
656
656
  * Updates the profile of the currently logged-in user
@@ -660,8 +660,8 @@ class AccountSettingsApi extends base_1.BaseAPI {
660
660
  * @throws {RequiredError}
661
661
  * @memberof AccountSettingsApi
662
662
  */
663
- profilePut(profile, options) {
664
- return (0, exports.AccountSettingsApiFp)(this.configuration).profilePut(profile, options).then((request) => request(this.axios, this.basePath));
663
+ accountSettingsProfilePut(profile, options) {
664
+ return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsProfilePut(profile, options).then((request) => request(this.axios, this.basePath));
665
665
  }
666
666
  }
667
667
  exports.AccountSettingsApi = AccountSettingsApi;
package/dist/esm/api.d.ts CHANGED
@@ -3407,6 +3407,31 @@ export interface DataTypesProfileResponse {
3407
3407
  */
3408
3408
  'userphone'?: string;
3409
3409
  }
3410
+ /**
3411
+ *
3412
+ * @export
3413
+ * @interface DataTypesProfileResponseWrapper
3414
+ */
3415
+ export interface DataTypesProfileResponseWrapper {
3416
+ /**
3417
+ *
3418
+ * @type {DataTypesProfileResponse}
3419
+ * @memberof DataTypesProfileResponseWrapper
3420
+ */
3421
+ 'data'?: DataTypesProfileResponse;
3422
+ /**
3423
+ *
3424
+ * @type {string}
3425
+ * @memberof DataTypesProfileResponseWrapper
3426
+ */
3427
+ 'message'?: string;
3428
+ /**
3429
+ *
3430
+ * @type {number}
3431
+ * @memberof DataTypesProfileResponseWrapper
3432
+ */
3433
+ 'status'?: number;
3434
+ }
3410
3435
  /**
3411
3436
  *
3412
3437
  * @export
@@ -5678,31 +5703,6 @@ export interface MultipartFileHeader {
5678
5703
  */
5679
5704
  'size'?: number;
5680
5705
  }
5681
- /**
5682
- *
5683
- * @export
5684
- * @interface ProfileGet200Response
5685
- */
5686
- export interface ProfileGet200Response {
5687
- /**
5688
- *
5689
- * @type {DataTypesProfileResponse}
5690
- * @memberof ProfileGet200Response
5691
- */
5692
- 'data'?: DataTypesProfileResponse;
5693
- /**
5694
- *
5695
- * @type {string}
5696
- * @memberof ProfileGet200Response
5697
- */
5698
- 'message'?: string;
5699
- /**
5700
- *
5701
- * @type {number}
5702
- * @memberof ProfileGet200Response
5703
- */
5704
- 'status'?: number;
5705
- }
5706
5706
  /**
5707
5707
  *
5708
5708
  * @export
@@ -5943,14 +5943,14 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
5943
5943
  * @param {*} [options] Override http request option.
5944
5944
  * @throws {RequiredError}
5945
5945
  */
5946
- passwordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5946
+ accountSettingsPasswordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5947
5947
  /**
5948
5948
  * Retrieves the profile of the currently logged-in user
5949
5949
  * @summary Retrieve user profile
5950
5950
  * @param {*} [options] Override http request option.
5951
5951
  * @throws {RequiredError}
5952
5952
  */
5953
- profileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5953
+ accountSettingsProfileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5954
5954
  /**
5955
5955
  * Updates the profile of the currently logged-in user
5956
5956
  * @summary Update user profile
@@ -5958,7 +5958,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
5958
5958
  * @param {*} [options] Override http request option.
5959
5959
  * @throws {RequiredError}
5960
5960
  */
5961
- profilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5961
+ accountSettingsProfilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5962
5962
  };
5963
5963
  /**
5964
5964
  * AccountSettingsApi - functional programming interface
@@ -5972,14 +5972,14 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
5972
5972
  * @param {*} [options] Override http request option.
5973
5973
  * @throws {RequiredError}
5974
5974
  */
5975
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
5975
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
5976
5976
  /**
5977
5977
  * Retrieves the profile of the currently logged-in user
5978
5978
  * @summary Retrieve user profile
5979
5979
  * @param {*} [options] Override http request option.
5980
5980
  * @throws {RequiredError}
5981
5981
  */
5982
- profileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>>;
5982
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
5983
5983
  /**
5984
5984
  * Updates the profile of the currently logged-in user
5985
5985
  * @summary Update user profile
@@ -5987,7 +5987,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
5987
5987
  * @param {*} [options] Override http request option.
5988
5988
  * @throws {RequiredError}
5989
5989
  */
5990
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileGet200Response>>;
5990
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
5991
5991
  };
5992
5992
  /**
5993
5993
  * AccountSettingsApi - factory interface
@@ -6001,14 +6001,14 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
6001
6001
  * @param {*} [options] Override http request option.
6002
6002
  * @throws {RequiredError}
6003
6003
  */
6004
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
6004
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
6005
6005
  /**
6006
6006
  * Retrieves the profile of the currently logged-in user
6007
6007
  * @summary Retrieve user profile
6008
6008
  * @param {*} [options] Override http request option.
6009
6009
  * @throws {RequiredError}
6010
6010
  */
6011
- profileGet(options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response>;
6011
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
6012
6012
  /**
6013
6013
  * Updates the profile of the currently logged-in user
6014
6014
  * @summary Update user profile
@@ -6016,7 +6016,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
6016
6016
  * @param {*} [options] Override http request option.
6017
6017
  * @throws {RequiredError}
6018
6018
  */
6019
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfileGet200Response>;
6019
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
6020
6020
  };
6021
6021
  /**
6022
6022
  * AccountSettingsApi - object-oriented interface
@@ -6033,7 +6033,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6033
6033
  * @throws {RequiredError}
6034
6034
  * @memberof AccountSettingsApi
6035
6035
  */
6036
- passwordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
6036
+ accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
6037
6037
  /**
6038
6038
  * Retrieves the profile of the currently logged-in user
6039
6039
  * @summary Retrieve user profile
@@ -6041,7 +6041,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6041
6041
  * @throws {RequiredError}
6042
6042
  * @memberof AccountSettingsApi
6043
6043
  */
6044
- profileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileGet200Response, any>>;
6044
+ accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
6045
6045
  /**
6046
6046
  * Updates the profile of the currently logged-in user
6047
6047
  * @summary Update user profile
@@ -6050,7 +6050,7 @@ export declare class AccountSettingsApi extends BaseAPI {
6050
6050
  * @throws {RequiredError}
6051
6051
  * @memberof AccountSettingsApi
6052
6052
  */
6053
- profilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfileGet200Response, any>>;
6053
+ accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
6054
6054
  }
6055
6055
  /**
6056
6056
  * ArticlesApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -433,10 +433,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration) {
433
433
  * @param {*} [options] Override http request option.
434
434
  * @throws {RequiredError}
435
435
  */
436
- passwordPut: (password_1, ...args_1) => __awaiter(this, [password_1, ...args_1], void 0, function* (password, options = {}) {
436
+ accountSettingsPasswordPut: (password_1, ...args_1) => __awaiter(this, [password_1, ...args_1], void 0, function* (password, options = {}) {
437
437
  // verify required parameter 'password' is not null or undefined
438
- assertParamExists('passwordPut', 'password', password);
439
- const localVarPath = `/password`;
438
+ assertParamExists('accountSettingsPasswordPut', 'password', password);
439
+ const localVarPath = `/account-settings/password`;
440
440
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
441
441
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
442
442
  let baseOptions;
@@ -464,8 +464,8 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration) {
464
464
  * @param {*} [options] Override http request option.
465
465
  * @throws {RequiredError}
466
466
  */
467
- profileGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
468
- const localVarPath = `/profile`;
467
+ accountSettingsProfileGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
468
+ const localVarPath = `/account-settings/profile`;
469
469
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
470
470
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
471
471
  let baseOptions;
@@ -492,10 +492,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration) {
492
492
  * @param {*} [options] Override http request option.
493
493
  * @throws {RequiredError}
494
494
  */
495
- profilePut: (profile_1, ...args_1) => __awaiter(this, [profile_1, ...args_1], void 0, function* (profile, options = {}) {
495
+ accountSettingsProfilePut: (profile_1, ...args_1) => __awaiter(this, [profile_1, ...args_1], void 0, function* (profile, options = {}) {
496
496
  // verify required parameter 'profile' is not null or undefined
497
- assertParamExists('profilePut', 'profile', profile);
498
- const localVarPath = `/profile`;
497
+ assertParamExists('accountSettingsProfilePut', 'profile', profile);
498
+ const localVarPath = `/account-settings/profile`;
499
499
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
500
500
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
501
501
  let baseOptions;
@@ -533,12 +533,12 @@ export const AccountSettingsApiFp = function (configuration) {
533
533
  * @param {*} [options] Override http request option.
534
534
  * @throws {RequiredError}
535
535
  */
536
- passwordPut(password, options) {
536
+ accountSettingsPasswordPut(password, options) {
537
537
  return __awaiter(this, void 0, void 0, function* () {
538
538
  var _a, _b, _c;
539
- const localVarAxiosArgs = yield localVarAxiosParamCreator.passwordPut(password, options);
539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsPasswordPut(password, options);
540
540
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
541
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.passwordPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
541
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.accountSettingsPasswordPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
542
542
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
543
543
  });
544
544
  },
@@ -548,12 +548,12 @@ export const AccountSettingsApiFp = function (configuration) {
548
548
  * @param {*} [options] Override http request option.
549
549
  * @throws {RequiredError}
550
550
  */
551
- profileGet(options) {
551
+ accountSettingsProfileGet(options) {
552
552
  return __awaiter(this, void 0, void 0, function* () {
553
553
  var _a, _b, _c;
554
- const localVarAxiosArgs = yield localVarAxiosParamCreator.profileGet(options);
554
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsProfileGet(options);
555
555
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
556
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.profileGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
556
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.accountSettingsProfileGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
557
557
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
558
558
  });
559
559
  },
@@ -564,12 +564,12 @@ export const AccountSettingsApiFp = function (configuration) {
564
564
  * @param {*} [options] Override http request option.
565
565
  * @throws {RequiredError}
566
566
  */
567
- profilePut(profile, options) {
567
+ accountSettingsProfilePut(profile, options) {
568
568
  return __awaiter(this, void 0, void 0, function* () {
569
569
  var _a, _b, _c;
570
- const localVarAxiosArgs = yield localVarAxiosParamCreator.profilePut(profile, options);
570
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsProfilePut(profile, options);
571
571
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
572
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.profilePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
572
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountSettingsApi.accountSettingsProfilePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
573
573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
574
574
  });
575
575
  },
@@ -589,8 +589,8 @@ export const AccountSettingsApiFactory = function (configuration, basePath, axio
589
589
  * @param {*} [options] Override http request option.
590
590
  * @throws {RequiredError}
591
591
  */
592
- passwordPut(password, options) {
593
- return localVarFp.passwordPut(password, options).then((request) => request(axios, basePath));
592
+ accountSettingsPasswordPut(password, options) {
593
+ return localVarFp.accountSettingsPasswordPut(password, options).then((request) => request(axios, basePath));
594
594
  },
595
595
  /**
596
596
  * Retrieves the profile of the currently logged-in user
@@ -598,8 +598,8 @@ export const AccountSettingsApiFactory = function (configuration, basePath, axio
598
598
  * @param {*} [options] Override http request option.
599
599
  * @throws {RequiredError}
600
600
  */
601
- profileGet(options) {
602
- return localVarFp.profileGet(options).then((request) => request(axios, basePath));
601
+ accountSettingsProfileGet(options) {
602
+ return localVarFp.accountSettingsProfileGet(options).then((request) => request(axios, basePath));
603
603
  },
604
604
  /**
605
605
  * Updates the profile of the currently logged-in user
@@ -608,8 +608,8 @@ export const AccountSettingsApiFactory = function (configuration, basePath, axio
608
608
  * @param {*} [options] Override http request option.
609
609
  * @throws {RequiredError}
610
610
  */
611
- profilePut(profile, options) {
612
- return localVarFp.profilePut(profile, options).then((request) => request(axios, basePath));
611
+ accountSettingsProfilePut(profile, options) {
612
+ return localVarFp.accountSettingsProfilePut(profile, options).then((request) => request(axios, basePath));
613
613
  },
614
614
  };
615
615
  };
@@ -628,8 +628,8 @@ export class AccountSettingsApi extends BaseAPI {
628
628
  * @throws {RequiredError}
629
629
  * @memberof AccountSettingsApi
630
630
  */
631
- passwordPut(password, options) {
632
- return AccountSettingsApiFp(this.configuration).passwordPut(password, options).then((request) => request(this.axios, this.basePath));
631
+ accountSettingsPasswordPut(password, options) {
632
+ return AccountSettingsApiFp(this.configuration).accountSettingsPasswordPut(password, options).then((request) => request(this.axios, this.basePath));
633
633
  }
634
634
  /**
635
635
  * Retrieves the profile of the currently logged-in user
@@ -638,8 +638,8 @@ export class AccountSettingsApi extends BaseAPI {
638
638
  * @throws {RequiredError}
639
639
  * @memberof AccountSettingsApi
640
640
  */
641
- profileGet(options) {
642
- return AccountSettingsApiFp(this.configuration).profileGet(options).then((request) => request(this.axios, this.basePath));
641
+ accountSettingsProfileGet(options) {
642
+ return AccountSettingsApiFp(this.configuration).accountSettingsProfileGet(options).then((request) => request(this.axios, this.basePath));
643
643
  }
644
644
  /**
645
645
  * Updates the profile of the currently logged-in user
@@ -649,8 +649,8 @@ export class AccountSettingsApi extends BaseAPI {
649
649
  * @throws {RequiredError}
650
650
  * @memberof AccountSettingsApi
651
651
  */
652
- profilePut(profile, options) {
653
- return AccountSettingsApiFp(this.configuration).profilePut(profile, options).then((request) => request(this.axios, this.basePath));
652
+ accountSettingsProfilePut(profile, options) {
653
+ return AccountSettingsApiFp(this.configuration).accountSettingsProfilePut(profile, options).then((request) => request(this.axios, this.basePath));
654
654
  }
655
655
  }
656
656
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file