@seekora-ai/admin-api 1.0.22 → 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 +6 -6
- package/api.ts +54 -48
- package/dist/api.d.ts +37 -43
- package/dist/api.js +29 -29
- package/dist/esm/api.d.ts +37 -43
- package/dist/esm/api.js +29 -29
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.24.tgz +0 -0
- package/seekora-ai-admin-api-1.0.22.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
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.
|
|
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* | [**
|
|
60
|
-
*AccountSettingsApi* | [**
|
|
61
|
-
*AccountSettingsApi* | [**
|
|
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)
|
|
@@ -325,7 +326,6 @@ Class | Method | HTTP request | Description
|
|
|
325
326
|
- [DataTypesValidationErrorResult](docs/DataTypesValidationErrorResult.md)
|
|
326
327
|
- [DataTypesVerifyOTPResponse](docs/DataTypesVerifyOTPResponse.md)
|
|
327
328
|
- [DataTypesVerifyOTPResponseWrapper](docs/DataTypesVerifyOTPResponseWrapper.md)
|
|
328
|
-
- [FiberError](docs/FiberError.md)
|
|
329
329
|
- [MgDocumentTypesArticle](docs/MgDocumentTypesArticle.md)
|
|
330
330
|
- [MgDocumentTypesCreateArticleRequestDto](docs/MgDocumentTypesCreateArticleRequestDto.md)
|
|
331
331
|
- [MultipartFileHeader](docs/MultipartFileHeader.md)
|
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
|
|
@@ -5556,25 +5581,6 @@ export interface DataTypesVerifyOTPResponseWrapper {
|
|
|
5556
5581
|
*/
|
|
5557
5582
|
'status'?: number;
|
|
5558
5583
|
}
|
|
5559
|
-
/**
|
|
5560
|
-
*
|
|
5561
|
-
* @export
|
|
5562
|
-
* @interface FiberError
|
|
5563
|
-
*/
|
|
5564
|
-
export interface FiberError {
|
|
5565
|
-
/**
|
|
5566
|
-
*
|
|
5567
|
-
* @type {number}
|
|
5568
|
-
* @memberof FiberError
|
|
5569
|
-
*/
|
|
5570
|
-
'code'?: number;
|
|
5571
|
-
/**
|
|
5572
|
-
*
|
|
5573
|
-
* @type {string}
|
|
5574
|
-
* @memberof FiberError
|
|
5575
|
-
*/
|
|
5576
|
-
'message'?: string;
|
|
5577
|
-
}
|
|
5578
5584
|
/**
|
|
5579
5585
|
*
|
|
5580
5586
|
* @export
|
|
@@ -6146,10 +6152,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
|
|
|
6146
6152
|
* @param {*} [options] Override http request option.
|
|
6147
6153
|
* @throws {RequiredError}
|
|
6148
6154
|
*/
|
|
6149
|
-
|
|
6155
|
+
accountSettingsPasswordPut: async (password: DataTypesUpdatePasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6150
6156
|
// verify required parameter 'password' is not null or undefined
|
|
6151
|
-
assertParamExists('
|
|
6152
|
-
const localVarPath = `/password`;
|
|
6157
|
+
assertParamExists('accountSettingsPasswordPut', 'password', password)
|
|
6158
|
+
const localVarPath = `/account-settings/password`;
|
|
6153
6159
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6154
6160
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6155
6161
|
let baseOptions;
|
|
@@ -6184,8 +6190,8 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
|
|
|
6184
6190
|
* @param {*} [options] Override http request option.
|
|
6185
6191
|
* @throws {RequiredError}
|
|
6186
6192
|
*/
|
|
6187
|
-
|
|
6188
|
-
const localVarPath = `/profile`;
|
|
6193
|
+
accountSettingsProfileGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6194
|
+
const localVarPath = `/account-settings/profile`;
|
|
6189
6195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6190
6196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6191
6197
|
let baseOptions;
|
|
@@ -6218,10 +6224,10 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
|
|
|
6218
6224
|
* @param {*} [options] Override http request option.
|
|
6219
6225
|
* @throws {RequiredError}
|
|
6220
6226
|
*/
|
|
6221
|
-
|
|
6227
|
+
accountSettingsProfilePut: async (profile: DataTypesUpdateProfileRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6222
6228
|
// verify required parameter 'profile' is not null or undefined
|
|
6223
|
-
assertParamExists('
|
|
6224
|
-
const localVarPath = `/profile`;
|
|
6229
|
+
assertParamExists('accountSettingsProfilePut', 'profile', profile)
|
|
6230
|
+
const localVarPath = `/account-settings/profile`;
|
|
6225
6231
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6226
6232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6227
6233
|
let baseOptions;
|
|
@@ -6267,10 +6273,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
|
|
|
6267
6273
|
* @param {*} [options] Override http request option.
|
|
6268
6274
|
* @throws {RequiredError}
|
|
6269
6275
|
*/
|
|
6270
|
-
async
|
|
6271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6276
|
+
async accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
6277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsPasswordPut(password, options);
|
|
6272
6278
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6273
|
-
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.
|
|
6279
|
+
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsPasswordPut']?.[localVarOperationServerIndex]?.url;
|
|
6274
6280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6275
6281
|
},
|
|
6276
6282
|
/**
|
|
@@ -6279,10 +6285,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
|
|
|
6279
6285
|
* @param {*} [options] Override http request option.
|
|
6280
6286
|
* @throws {RequiredError}
|
|
6281
6287
|
*/
|
|
6282
|
-
async
|
|
6283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6288
|
+
async accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>> {
|
|
6289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsProfileGet(options);
|
|
6284
6290
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6285
|
-
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.
|
|
6291
|
+
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsProfileGet']?.[localVarOperationServerIndex]?.url;
|
|
6286
6292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6287
6293
|
},
|
|
6288
6294
|
/**
|
|
@@ -6292,10 +6298,10 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
|
|
|
6292
6298
|
* @param {*} [options] Override http request option.
|
|
6293
6299
|
* @throws {RequiredError}
|
|
6294
6300
|
*/
|
|
6295
|
-
async
|
|
6296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6301
|
+
async accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>> {
|
|
6302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsProfilePut(profile, options);
|
|
6297
6303
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6298
|
-
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.
|
|
6304
|
+
const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsProfilePut']?.[localVarOperationServerIndex]?.url;
|
|
6299
6305
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6300
6306
|
},
|
|
6301
6307
|
}
|
|
@@ -6315,8 +6321,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
|
|
|
6315
6321
|
* @param {*} [options] Override http request option.
|
|
6316
6322
|
* @throws {RequiredError}
|
|
6317
6323
|
*/
|
|
6318
|
-
|
|
6319
|
-
return localVarFp.
|
|
6324
|
+
accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
6325
|
+
return localVarFp.accountSettingsPasswordPut(password, options).then((request) => request(axios, basePath));
|
|
6320
6326
|
},
|
|
6321
6327
|
/**
|
|
6322
6328
|
* Retrieves the profile of the currently logged-in user
|
|
@@ -6324,8 +6330,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
|
|
|
6324
6330
|
* @param {*} [options] Override http request option.
|
|
6325
6331
|
* @throws {RequiredError}
|
|
6326
6332
|
*/
|
|
6327
|
-
|
|
6328
|
-
return localVarFp.
|
|
6333
|
+
accountSettingsProfileGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper> {
|
|
6334
|
+
return localVarFp.accountSettingsProfileGet(options).then((request) => request(axios, basePath));
|
|
6329
6335
|
},
|
|
6330
6336
|
/**
|
|
6331
6337
|
* Updates the profile of the currently logged-in user
|
|
@@ -6334,8 +6340,8 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
|
|
|
6334
6340
|
* @param {*} [options] Override http request option.
|
|
6335
6341
|
* @throws {RequiredError}
|
|
6336
6342
|
*/
|
|
6337
|
-
|
|
6338
|
-
return localVarFp.
|
|
6343
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper> {
|
|
6344
|
+
return localVarFp.accountSettingsProfilePut(profile, options).then((request) => request(axios, basePath));
|
|
6339
6345
|
},
|
|
6340
6346
|
};
|
|
6341
6347
|
};
|
|
@@ -6355,8 +6361,8 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
6355
6361
|
* @throws {RequiredError}
|
|
6356
6362
|
* @memberof AccountSettingsApi
|
|
6357
6363
|
*/
|
|
6358
|
-
public
|
|
6359
|
-
return AccountSettingsApiFp(this.configuration).
|
|
6364
|
+
public accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) {
|
|
6365
|
+
return AccountSettingsApiFp(this.configuration).accountSettingsPasswordPut(password, options).then((request) => request(this.axios, this.basePath));
|
|
6360
6366
|
}
|
|
6361
6367
|
|
|
6362
6368
|
/**
|
|
@@ -6366,8 +6372,8 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
6366
6372
|
* @throws {RequiredError}
|
|
6367
6373
|
* @memberof AccountSettingsApi
|
|
6368
6374
|
*/
|
|
6369
|
-
public
|
|
6370
|
-
return AccountSettingsApiFp(this.configuration).
|
|
6375
|
+
public accountSettingsProfileGet(options?: RawAxiosRequestConfig) {
|
|
6376
|
+
return AccountSettingsApiFp(this.configuration).accountSettingsProfileGet(options).then((request) => request(this.axios, this.basePath));
|
|
6371
6377
|
}
|
|
6372
6378
|
|
|
6373
6379
|
/**
|
|
@@ -6378,8 +6384,8 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
6378
6384
|
* @throws {RequiredError}
|
|
6379
6385
|
* @memberof AccountSettingsApi
|
|
6380
6386
|
*/
|
|
6381
|
-
public
|
|
6382
|
-
return AccountSettingsApiFp(this.configuration).
|
|
6387
|
+
public accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) {
|
|
6388
|
+
return AccountSettingsApiFp(this.configuration).accountSettingsProfilePut(profile, options).then((request) => request(this.axios, this.basePath));
|
|
6383
6389
|
}
|
|
6384
6390
|
}
|
|
6385
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
|
|
@@ -5559,25 +5584,6 @@ export interface DataTypesVerifyOTPResponseWrapper {
|
|
|
5559
5584
|
*/
|
|
5560
5585
|
'status'?: number;
|
|
5561
5586
|
}
|
|
5562
|
-
/**
|
|
5563
|
-
*
|
|
5564
|
-
* @export
|
|
5565
|
-
* @interface FiberError
|
|
5566
|
-
*/
|
|
5567
|
-
export interface FiberError {
|
|
5568
|
-
/**
|
|
5569
|
-
*
|
|
5570
|
-
* @type {number}
|
|
5571
|
-
* @memberof FiberError
|
|
5572
|
-
*/
|
|
5573
|
-
'code'?: number;
|
|
5574
|
-
/**
|
|
5575
|
-
*
|
|
5576
|
-
* @type {string}
|
|
5577
|
-
* @memberof FiberError
|
|
5578
|
-
*/
|
|
5579
|
-
'message'?: string;
|
|
5580
|
-
}
|
|
5581
5587
|
/**
|
|
5582
5588
|
*
|
|
5583
5589
|
* @export
|
|
@@ -5937,14 +5943,14 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
|
|
|
5937
5943
|
* @param {*} [options] Override http request option.
|
|
5938
5944
|
* @throws {RequiredError}
|
|
5939
5945
|
*/
|
|
5940
|
-
|
|
5946
|
+
accountSettingsPasswordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5941
5947
|
/**
|
|
5942
5948
|
* Retrieves the profile of the currently logged-in user
|
|
5943
5949
|
* @summary Retrieve user profile
|
|
5944
5950
|
* @param {*} [options] Override http request option.
|
|
5945
5951
|
* @throws {RequiredError}
|
|
5946
5952
|
*/
|
|
5947
|
-
|
|
5953
|
+
accountSettingsProfileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5948
5954
|
/**
|
|
5949
5955
|
* Updates the profile of the currently logged-in user
|
|
5950
5956
|
* @summary Update user profile
|
|
@@ -5952,7 +5958,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
|
|
|
5952
5958
|
* @param {*} [options] Override http request option.
|
|
5953
5959
|
* @throws {RequiredError}
|
|
5954
5960
|
*/
|
|
5955
|
-
|
|
5961
|
+
accountSettingsProfilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5956
5962
|
};
|
|
5957
5963
|
/**
|
|
5958
5964
|
* AccountSettingsApi - functional programming interface
|
|
@@ -5966,16 +5972,14 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
|
5966
5972
|
* @param {*} [options] Override http request option.
|
|
5967
5973
|
* @throws {RequiredError}
|
|
5968
5974
|
*/
|
|
5969
|
-
|
|
5970
|
-
[key: string]: any;
|
|
5971
|
-
}>>;
|
|
5975
|
+
accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
5972
5976
|
/**
|
|
5973
5977
|
* Retrieves the profile of the currently logged-in user
|
|
5974
5978
|
* @summary Retrieve user profile
|
|
5975
5979
|
* @param {*} [options] Override http request option.
|
|
5976
5980
|
* @throws {RequiredError}
|
|
5977
5981
|
*/
|
|
5978
|
-
|
|
5982
|
+
accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
|
|
5979
5983
|
/**
|
|
5980
5984
|
* Updates the profile of the currently logged-in user
|
|
5981
5985
|
* @summary Update user profile
|
|
@@ -5983,9 +5987,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
|
5983
5987
|
* @param {*} [options] Override http request option.
|
|
5984
5988
|
* @throws {RequiredError}
|
|
5985
5989
|
*/
|
|
5986
|
-
|
|
5987
|
-
[key: string]: any;
|
|
5988
|
-
}>>;
|
|
5990
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
|
|
5989
5991
|
};
|
|
5990
5992
|
/**
|
|
5991
5993
|
* AccountSettingsApi - factory interface
|
|
@@ -5999,16 +6001,14 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
|
|
|
5999
6001
|
* @param {*} [options] Override http request option.
|
|
6000
6002
|
* @throws {RequiredError}
|
|
6001
6003
|
*/
|
|
6002
|
-
|
|
6003
|
-
[key: string]: any;
|
|
6004
|
-
}>;
|
|
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
|
-
|
|
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,9 +6016,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
|
|
|
6016
6016
|
* @param {*} [options] Override http request option.
|
|
6017
6017
|
* @throws {RequiredError}
|
|
6018
6018
|
*/
|
|
6019
|
-
|
|
6020
|
-
[key: string]: any;
|
|
6021
|
-
}>;
|
|
6019
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
|
|
6022
6020
|
};
|
|
6023
6021
|
/**
|
|
6024
6022
|
* AccountSettingsApi - object-oriented interface
|
|
@@ -6035,9 +6033,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6035
6033
|
* @throws {RequiredError}
|
|
6036
6034
|
* @memberof AccountSettingsApi
|
|
6037
6035
|
*/
|
|
6038
|
-
|
|
6039
|
-
[key: string]: any;
|
|
6040
|
-
}, any>>;
|
|
6036
|
+
accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
|
|
6041
6037
|
/**
|
|
6042
6038
|
* Retrieves the profile of the currently logged-in user
|
|
6043
6039
|
* @summary Retrieve user profile
|
|
@@ -6045,7 +6041,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6045
6041
|
* @throws {RequiredError}
|
|
6046
6042
|
* @memberof AccountSettingsApi
|
|
6047
6043
|
*/
|
|
6048
|
-
|
|
6044
|
+
accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
|
|
6049
6045
|
/**
|
|
6050
6046
|
* Updates the profile of the currently logged-in user
|
|
6051
6047
|
* @summary Update user profile
|
|
@@ -6054,9 +6050,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6054
6050
|
* @throws {RequiredError}
|
|
6055
6051
|
* @memberof AccountSettingsApi
|
|
6056
6052
|
*/
|
|
6057
|
-
|
|
6058
|
-
[key: string]: any;
|
|
6059
|
-
}, any>>;
|
|
6053
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
|
|
6060
6054
|
}
|
|
6061
6055
|
/**
|
|
6062
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
|
-
|
|
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)('
|
|
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
|
-
|
|
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
|
-
|
|
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)('
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
560
|
+
accountSettingsProfileGet(options) {
|
|
561
561
|
return __awaiter(this, void 0, void 0, function* () {
|
|
562
562
|
var _a, _b, _c;
|
|
563
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
603
|
-
return localVarFp.
|
|
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
|
-
|
|
612
|
-
return localVarFp.
|
|
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
|
-
|
|
622
|
-
return localVarFp.
|
|
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
|
-
|
|
643
|
-
return (0, exports.AccountSettingsApiFp)(this.configuration).
|
|
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
|
-
|
|
653
|
-
return (0, exports.AccountSettingsApiFp)(this.configuration).
|
|
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
|
-
|
|
664
|
-
return (0, exports.AccountSettingsApiFp)(this.configuration).
|
|
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
|
|
@@ -5559,25 +5584,6 @@ export interface DataTypesVerifyOTPResponseWrapper {
|
|
|
5559
5584
|
*/
|
|
5560
5585
|
'status'?: number;
|
|
5561
5586
|
}
|
|
5562
|
-
/**
|
|
5563
|
-
*
|
|
5564
|
-
* @export
|
|
5565
|
-
* @interface FiberError
|
|
5566
|
-
*/
|
|
5567
|
-
export interface FiberError {
|
|
5568
|
-
/**
|
|
5569
|
-
*
|
|
5570
|
-
* @type {number}
|
|
5571
|
-
* @memberof FiberError
|
|
5572
|
-
*/
|
|
5573
|
-
'code'?: number;
|
|
5574
|
-
/**
|
|
5575
|
-
*
|
|
5576
|
-
* @type {string}
|
|
5577
|
-
* @memberof FiberError
|
|
5578
|
-
*/
|
|
5579
|
-
'message'?: string;
|
|
5580
|
-
}
|
|
5581
5587
|
/**
|
|
5582
5588
|
*
|
|
5583
5589
|
* @export
|
|
@@ -5937,14 +5943,14 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
|
|
|
5937
5943
|
* @param {*} [options] Override http request option.
|
|
5938
5944
|
* @throws {RequiredError}
|
|
5939
5945
|
*/
|
|
5940
|
-
|
|
5946
|
+
accountSettingsPasswordPut: (password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5941
5947
|
/**
|
|
5942
5948
|
* Retrieves the profile of the currently logged-in user
|
|
5943
5949
|
* @summary Retrieve user profile
|
|
5944
5950
|
* @param {*} [options] Override http request option.
|
|
5945
5951
|
* @throws {RequiredError}
|
|
5946
5952
|
*/
|
|
5947
|
-
|
|
5953
|
+
accountSettingsProfileGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5948
5954
|
/**
|
|
5949
5955
|
* Updates the profile of the currently logged-in user
|
|
5950
5956
|
* @summary Update user profile
|
|
@@ -5952,7 +5958,7 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
|
|
|
5952
5958
|
* @param {*} [options] Override http request option.
|
|
5953
5959
|
* @throws {RequiredError}
|
|
5954
5960
|
*/
|
|
5955
|
-
|
|
5961
|
+
accountSettingsProfilePut: (profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5956
5962
|
};
|
|
5957
5963
|
/**
|
|
5958
5964
|
* AccountSettingsApi - functional programming interface
|
|
@@ -5966,16 +5972,14 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
|
5966
5972
|
* @param {*} [options] Override http request option.
|
|
5967
5973
|
* @throws {RequiredError}
|
|
5968
5974
|
*/
|
|
5969
|
-
|
|
5970
|
-
[key: string]: any;
|
|
5971
|
-
}>>;
|
|
5975
|
+
accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
5972
5976
|
/**
|
|
5973
5977
|
* Retrieves the profile of the currently logged-in user
|
|
5974
5978
|
* @summary Retrieve user profile
|
|
5975
5979
|
* @param {*} [options] Override http request option.
|
|
5976
5980
|
* @throws {RequiredError}
|
|
5977
5981
|
*/
|
|
5978
|
-
|
|
5982
|
+
accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
|
|
5979
5983
|
/**
|
|
5980
5984
|
* Updates the profile of the currently logged-in user
|
|
5981
5985
|
* @summary Update user profile
|
|
@@ -5983,9 +5987,7 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
|
5983
5987
|
* @param {*} [options] Override http request option.
|
|
5984
5988
|
* @throws {RequiredError}
|
|
5985
5989
|
*/
|
|
5986
|
-
|
|
5987
|
-
[key: string]: any;
|
|
5988
|
-
}>>;
|
|
5990
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
|
|
5989
5991
|
};
|
|
5990
5992
|
/**
|
|
5991
5993
|
* AccountSettingsApi - factory interface
|
|
@@ -5999,16 +6001,14 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
|
|
|
5999
6001
|
* @param {*} [options] Override http request option.
|
|
6000
6002
|
* @throws {RequiredError}
|
|
6001
6003
|
*/
|
|
6002
|
-
|
|
6003
|
-
[key: string]: any;
|
|
6004
|
-
}>;
|
|
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
|
-
|
|
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,9 +6016,7 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
|
|
|
6016
6016
|
* @param {*} [options] Override http request option.
|
|
6017
6017
|
* @throws {RequiredError}
|
|
6018
6018
|
*/
|
|
6019
|
-
|
|
6020
|
-
[key: string]: any;
|
|
6021
|
-
}>;
|
|
6019
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
|
|
6022
6020
|
};
|
|
6023
6021
|
/**
|
|
6024
6022
|
* AccountSettingsApi - object-oriented interface
|
|
@@ -6035,9 +6033,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6035
6033
|
* @throws {RequiredError}
|
|
6036
6034
|
* @memberof AccountSettingsApi
|
|
6037
6035
|
*/
|
|
6038
|
-
|
|
6039
|
-
[key: string]: any;
|
|
6040
|
-
}, any>>;
|
|
6036
|
+
accountSettingsPasswordPut(password: DataTypesUpdatePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
|
|
6041
6037
|
/**
|
|
6042
6038
|
* Retrieves the profile of the currently logged-in user
|
|
6043
6039
|
* @summary Retrieve user profile
|
|
@@ -6045,7 +6041,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6045
6041
|
* @throws {RequiredError}
|
|
6046
6042
|
* @memberof AccountSettingsApi
|
|
6047
6043
|
*/
|
|
6048
|
-
|
|
6044
|
+
accountSettingsProfileGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
|
|
6049
6045
|
/**
|
|
6050
6046
|
* Updates the profile of the currently logged-in user
|
|
6051
6047
|
* @summary Update user profile
|
|
@@ -6054,9 +6050,7 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
6054
6050
|
* @throws {RequiredError}
|
|
6055
6051
|
* @memberof AccountSettingsApi
|
|
6056
6052
|
*/
|
|
6057
|
-
|
|
6058
|
-
[key: string]: any;
|
|
6059
|
-
}, any>>;
|
|
6053
|
+
accountSettingsProfilePut(profile: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any>>;
|
|
6060
6054
|
}
|
|
6061
6055
|
/**
|
|
6062
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
|
-
|
|
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('
|
|
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
|
-
|
|
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
|
-
|
|
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('
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
551
|
+
accountSettingsProfileGet(options) {
|
|
552
552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
553
553
|
var _a, _b, _c;
|
|
554
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
593
|
-
return localVarFp.
|
|
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
|
-
|
|
602
|
-
return localVarFp.
|
|
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
|
-
|
|
612
|
-
return localVarFp.
|
|
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
|
-
|
|
632
|
-
return AccountSettingsApiFp(this.configuration).
|
|
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
|
-
|
|
642
|
-
return AccountSettingsApiFp(this.configuration).
|
|
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
|
-
|
|
653
|
-
return AccountSettingsApiFp(this.configuration).
|
|
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
|
Binary file
|
|
Binary file
|