@seekora-ai/admin-api 1.1.54 → 1.1.55

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.1.54
1
+ ## @seekora-ai/admin-api@1.1.55
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.1.54 --save
39
+ npm install @seekora-ai/admin-api@1.1.55 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -128,8 +128,11 @@ Class | Method | HTTP request | Description
128
128
  *ArticlesApi* | [**adminArticlesArticleIDPut**](docs/ArticlesApi.md#adminarticlesarticleidput) | **PUT** /admin/Articles/{articleID} | Update an existing Article
129
129
  *ArticlesApi* | [**adminArticlesGet**](docs/ArticlesApi.md#adminarticlesget) | **GET** /admin/Articles | Fetches list of all Articles
130
130
  *ArticlesApi* | [**adminArticlesPost**](docs/ArticlesApi.md#adminarticlespost) | **POST** /admin/Articles | Creates a new article
131
+ *AuthApi* | [**authForgotPasswordPost**](docs/AuthApi.md#authforgotpasswordpost) | **POST** /Auth/forgot-password | Request password reset
131
132
  *AuthApi* | [**authLoginPost**](docs/AuthApi.md#authloginpost) | **POST** /Auth/login | Login a user
132
133
  *AuthApi* | [**authLogoutPost**](docs/AuthApi.md#authlogoutpost) | **POST** /Auth/logout | Logout a user
134
+ *AuthApi* | [**authResetPasswordPost**](docs/AuthApi.md#authresetpasswordpost) | **POST** /Auth/reset-password | Reset password with token
135
+ *AuthApi* | [**authResetPasswordTokenGet**](docs/AuthApi.md#authresetpasswordtokenget) | **GET** /Auth/reset-password/{token} | Verify reset token validity
133
136
  *AuthApi* | [**authSessionGet**](docs/AuthApi.md#authsessionget) | **GET** /Auth/session | Get current auth session
134
137
  *AuthApi* | [**authUpdateSsoPost**](docs/AuthApi.md#authupdatessopost) | **POST** /Auth/update-sso | Link or Unlink an SSO provider
135
138
  *AutomatedRefundManagementApi* | [**refundAutomatedPreviewPost**](docs/AutomatedRefundManagementApi.md#refundautomatedpreviewpost) | **POST** /refund/automated/preview | Preview automated refund
@@ -689,6 +692,8 @@ Class | Method | HTTP request | Description
689
692
  - [DataTypesFeatureUsageHistory](docs/DataTypesFeatureUsageHistory.md)
690
693
  - [DataTypesFeatureUsageStats](docs/DataTypesFeatureUsageStats.md)
691
694
  - [DataTypesFieldMetadata](docs/DataTypesFieldMetadata.md)
695
+ - [DataTypesForgotPasswordRequest](docs/DataTypesForgotPasswordRequest.md)
696
+ - [DataTypesForgotPasswordResponse](docs/DataTypesForgotPasswordResponse.md)
692
697
  - [DataTypesFulfillmentInfo](docs/DataTypesFulfillmentInfo.md)
693
698
  - [DataTypesFulfillmentInfoCredits](docs/DataTypesFulfillmentInfoCredits.md)
694
699
  - [DataTypesFulfillmentInfoSubscription](docs/DataTypesFulfillmentInfoSubscription.md)
@@ -858,6 +863,7 @@ Class | Method | HTTP request | Description
858
863
  - [DataTypesRegenerateXStoreSecretResponse](docs/DataTypesRegenerateXStoreSecretResponse.md)
859
864
  - [DataTypesRemoveWordsFromCustomListRequest](docs/DataTypesRemoveWordsFromCustomListRequest.md)
860
865
  - [DataTypesRemoveWordsFromLanguageListRequest](docs/DataTypesRemoveWordsFromLanguageListRequest.md)
866
+ - [DataTypesResetPasswordRequest](docs/DataTypesResetPasswordRequest.md)
861
867
  - [DataTypesResponse](docs/DataTypesResponse.md)
862
868
  - [DataTypesRole](docs/DataTypesRole.md)
863
869
  - [DataTypesRolePermissionsResponse](docs/DataTypesRolePermissionsResponse.md)
@@ -972,6 +978,7 @@ Class | Method | HTTP request | Description
972
978
  - [DataTypesVerifyOTPResponse](docs/DataTypesVerifyOTPResponse.md)
973
979
  - [DataTypesVerifyOTPResponseWrapper](docs/DataTypesVerifyOTPResponseWrapper.md)
974
980
  - [DataTypesVerifyPaymentRequest](docs/DataTypesVerifyPaymentRequest.md)
981
+ - [DataTypesVerifyResetTokenResponse](docs/DataTypesVerifyResetTokenResponse.md)
975
982
  - [DataTypesWidgetSearchResult](docs/DataTypesWidgetSearchResult.md)
976
983
  - [DataTypesWordListResponse](docs/DataTypesWordListResponse.md)
977
984
  - [DataTypesWordListResponseEnhanced](docs/DataTypesWordListResponseEnhanced.md)
package/api.ts CHANGED
@@ -10180,6 +10180,32 @@ export interface DataTypesFieldMetadata {
10180
10180
  */
10181
10181
  'type'?: string;
10182
10182
  }
10183
+ /**
10184
+ *
10185
+ * @export
10186
+ * @interface DataTypesForgotPasswordRequest
10187
+ */
10188
+ export interface DataTypesForgotPasswordRequest {
10189
+ /**
10190
+ *
10191
+ * @type {string}
10192
+ * @memberof DataTypesForgotPasswordRequest
10193
+ */
10194
+ 'email': string;
10195
+ }
10196
+ /**
10197
+ *
10198
+ * @export
10199
+ * @interface DataTypesForgotPasswordResponse
10200
+ */
10201
+ export interface DataTypesForgotPasswordResponse {
10202
+ /**
10203
+ *
10204
+ * @type {string}
10205
+ * @memberof DataTypesForgotPasswordResponse
10206
+ */
10207
+ 'message'?: string;
10208
+ }
10183
10209
  /**
10184
10210
  *
10185
10211
  * @export
@@ -17654,6 +17680,12 @@ export interface DataTypesReceipt {
17654
17680
  * @memberof DataTypesReceipt
17655
17681
  */
17656
17682
  'pdf_s3_key'?: string;
17683
+ /**
17684
+ * Presigned URLs for PDF download (populated by service layer)
17685
+ * @type {string}
17686
+ * @memberof DataTypesReceipt
17687
+ */
17688
+ 'receipt_download_path'?: string;
17657
17689
  /**
17658
17690
  *
17659
17691
  * @type {number}
@@ -17666,6 +17698,12 @@ export interface DataTypesReceipt {
17666
17698
  * @memberof DataTypesReceipt
17667
17699
  */
17668
17700
  'receipt_number'?: string;
17701
+ /**
17702
+ * Presigned S3 URL for receipt PDF
17703
+ * @type {string}
17704
+ * @memberof DataTypesReceipt
17705
+ */
17706
+ 'receipt_pdf_url'?: string;
17669
17707
  /**
17670
17708
  * generated, sent, viewed
17671
17709
  * @type {string}
@@ -18138,6 +18176,25 @@ export interface DataTypesRemoveWordsFromLanguageListRequest {
18138
18176
  */
18139
18177
  'words': Array<string>;
18140
18178
  }
18179
+ /**
18180
+ *
18181
+ * @export
18182
+ * @interface DataTypesResetPasswordRequest
18183
+ */
18184
+ export interface DataTypesResetPasswordRequest {
18185
+ /**
18186
+ *
18187
+ * @type {string}
18188
+ * @memberof DataTypesResetPasswordRequest
18189
+ */
18190
+ 'newPassword': string;
18191
+ /**
18192
+ *
18193
+ * @type {string}
18194
+ * @memberof DataTypesResetPasswordRequest
18195
+ */
18196
+ 'token': string;
18197
+ }
18141
18198
  /**
18142
18199
  *
18143
18200
  * @export
@@ -23069,6 +23126,31 @@ export interface DataTypesVerifyPaymentRequest {
23069
23126
  */
23070
23127
  'gateway_signature': string;
23071
23128
  }
23129
+ /**
23130
+ *
23131
+ * @export
23132
+ * @interface DataTypesVerifyResetTokenResponse
23133
+ */
23134
+ export interface DataTypesVerifyResetTokenResponse {
23135
+ /**
23136
+ *
23137
+ * @type {string}
23138
+ * @memberof DataTypesVerifyResetTokenResponse
23139
+ */
23140
+ 'email'?: string;
23141
+ /**
23142
+ *
23143
+ * @type {string}
23144
+ * @memberof DataTypesVerifyResetTokenResponse
23145
+ */
23146
+ 'message'?: string;
23147
+ /**
23148
+ *
23149
+ * @type {boolean}
23150
+ * @memberof DataTypesVerifyResetTokenResponse
23151
+ */
23152
+ 'valid'?: boolean;
23153
+ }
23072
23154
  /**
23073
23155
  *
23074
23156
  * @export
@@ -25364,6 +25446,12 @@ export interface QuerySuggestionsServiceQuerySuggestionRecord {
25364
25446
  * @memberof QuerySuggestionsServiceQuerySuggestionRecord
25365
25447
  */
25366
25448
  'id'?: string;
25449
+ /**
25450
+ *
25451
+ * @type {string}
25452
+ * @memberof QuerySuggestionsServiceQuerySuggestionRecord
25453
+ */
25454
+ 'match_type'?: string;
25367
25455
  /**
25368
25456
  * Additional metadata
25369
25457
  * @type {{ [key: string]: string; }}
@@ -26036,6 +26124,12 @@ export interface QuerySuggestionsServiceUpdateSuggestionRequest {
26036
26124
  * @memberof QuerySuggestionsServiceUpdateSuggestionRequest
26037
26125
  */
26038
26126
  'metadata'?: { [key: string]: string; };
26127
+ /**
26128
+ * Optional popularity update
26129
+ * @type {number}
26130
+ * @memberof QuerySuggestionsServiceUpdateSuggestionRequest
26131
+ */
26132
+ 'popularity'?: number;
26039
26133
  /**
26040
26134
  * Optional priority update
26041
26135
  * @type {number}
@@ -35880,6 +35974,42 @@ export class ArticlesApi extends BaseAPI {
35880
35974
  */
35881
35975
  export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
35882
35976
  return {
35977
+ /**
35978
+ * Sends a password reset link to the user\'s email address
35979
+ * @summary Request password reset
35980
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
35981
+ * @param {*} [options] Override http request option.
35982
+ * @throws {RequiredError}
35983
+ */
35984
+ authForgotPasswordPost: async (dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35985
+ // verify required parameter 'dataTypesForgotPasswordRequest' is not null or undefined
35986
+ assertParamExists('authForgotPasswordPost', 'dataTypesForgotPasswordRequest', dataTypesForgotPasswordRequest)
35987
+ const localVarPath = `/Auth/forgot-password`;
35988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35990
+ let baseOptions;
35991
+ if (configuration) {
35992
+ baseOptions = configuration.baseOptions;
35993
+ }
35994
+
35995
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35996
+ const localVarHeaderParameter = {} as any;
35997
+ const localVarQueryParameter = {} as any;
35998
+
35999
+
36000
+
36001
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36002
+
36003
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36004
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36005
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36006
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesForgotPasswordRequest, localVarRequestOptions, configuration)
36007
+
36008
+ return {
36009
+ url: toPathString(localVarUrlObj),
36010
+ options: localVarRequestOptions,
36011
+ };
36012
+ },
35883
36013
  /**
35884
36014
  * Authenticates a user with username and password
35885
36015
  * @summary Login a user
@@ -35937,6 +36067,76 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
35937
36067
 
35938
36068
 
35939
36069
 
36070
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36071
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36072
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36073
+
36074
+ return {
36075
+ url: toPathString(localVarUrlObj),
36076
+ options: localVarRequestOptions,
36077
+ };
36078
+ },
36079
+ /**
36080
+ * Resets user password using a valid reset token
36081
+ * @summary Reset password with token
36082
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36083
+ * @param {*} [options] Override http request option.
36084
+ * @throws {RequiredError}
36085
+ */
36086
+ authResetPasswordPost: async (dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36087
+ // verify required parameter 'dataTypesResetPasswordRequest' is not null or undefined
36088
+ assertParamExists('authResetPasswordPost', 'dataTypesResetPasswordRequest', dataTypesResetPasswordRequest)
36089
+ const localVarPath = `/Auth/reset-password`;
36090
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36091
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36092
+ let baseOptions;
36093
+ if (configuration) {
36094
+ baseOptions = configuration.baseOptions;
36095
+ }
36096
+
36097
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36098
+ const localVarHeaderParameter = {} as any;
36099
+ const localVarQueryParameter = {} as any;
36100
+
36101
+
36102
+
36103
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36104
+
36105
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36106
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36107
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36108
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesResetPasswordRequest, localVarRequestOptions, configuration)
36109
+
36110
+ return {
36111
+ url: toPathString(localVarUrlObj),
36112
+ options: localVarRequestOptions,
36113
+ };
36114
+ },
36115
+ /**
36116
+ * Checks if a password reset token is valid and not expired
36117
+ * @summary Verify reset token validity
36118
+ * @param {string} token Reset token
36119
+ * @param {*} [options] Override http request option.
36120
+ * @throws {RequiredError}
36121
+ */
36122
+ authResetPasswordTokenGet: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36123
+ // verify required parameter 'token' is not null or undefined
36124
+ assertParamExists('authResetPasswordTokenGet', 'token', token)
36125
+ const localVarPath = `/Auth/reset-password/{token}`
36126
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
36127
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36128
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36129
+ let baseOptions;
36130
+ if (configuration) {
36131
+ baseOptions = configuration.baseOptions;
36132
+ }
36133
+
36134
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36135
+ const localVarHeaderParameter = {} as any;
36136
+ const localVarQueryParameter = {} as any;
36137
+
36138
+
36139
+
35940
36140
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35941
36141
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35942
36142
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -36031,6 +36231,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
36031
36231
  export const AuthApiFp = function(configuration?: Configuration) {
36032
36232
  const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
36033
36233
  return {
36234
+ /**
36235
+ * Sends a password reset link to the user\'s email address
36236
+ * @summary Request password reset
36237
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36238
+ * @param {*} [options] Override http request option.
36239
+ * @throws {RequiredError}
36240
+ */
36241
+ async authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesForgotPasswordResponse>> {
36242
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authForgotPasswordPost(dataTypesForgotPasswordRequest, options);
36243
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36244
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authForgotPasswordPost']?.[localVarOperationServerIndex]?.url;
36245
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36246
+ },
36034
36247
  /**
36035
36248
  * Authenticates a user with username and password
36036
36249
  * @summary Login a user
@@ -36056,6 +36269,32 @@ export const AuthApiFp = function(configuration?: Configuration) {
36056
36269
  const localVarOperationServerBasePath = operationServerMap['AuthApi.authLogoutPost']?.[localVarOperationServerIndex]?.url;
36057
36270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36058
36271
  },
36272
+ /**
36273
+ * Resets user password using a valid reset token
36274
+ * @summary Reset password with token
36275
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36276
+ * @param {*} [options] Override http request option.
36277
+ * @throws {RequiredError}
36278
+ */
36279
+ async authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
36280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authResetPasswordPost(dataTypesResetPasswordRequest, options);
36281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36282
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authResetPasswordPost']?.[localVarOperationServerIndex]?.url;
36283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36284
+ },
36285
+ /**
36286
+ * Checks if a password reset token is valid and not expired
36287
+ * @summary Verify reset token validity
36288
+ * @param {string} token Reset token
36289
+ * @param {*} [options] Override http request option.
36290
+ * @throws {RequiredError}
36291
+ */
36292
+ async authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesVerifyResetTokenResponse>> {
36293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authResetPasswordTokenGet(token, options);
36294
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36295
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authResetPasswordTokenGet']?.[localVarOperationServerIndex]?.url;
36296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36297
+ },
36059
36298
  /**
36060
36299
  * Returns refreshed session data for authenticated user
36061
36300
  * @summary Get current auth session
@@ -36092,6 +36331,16 @@ export const AuthApiFp = function(configuration?: Configuration) {
36092
36331
  export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36093
36332
  const localVarFp = AuthApiFp(configuration)
36094
36333
  return {
36334
+ /**
36335
+ * Sends a password reset link to the user\'s email address
36336
+ * @summary Request password reset
36337
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36338
+ * @param {*} [options] Override http request option.
36339
+ * @throws {RequiredError}
36340
+ */
36341
+ authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesForgotPasswordResponse> {
36342
+ return localVarFp.authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(axios, basePath));
36343
+ },
36095
36344
  /**
36096
36345
  * Authenticates a user with username and password
36097
36346
  * @summary Login a user
@@ -36111,6 +36360,26 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
36111
36360
  authLogoutPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
36112
36361
  return localVarFp.authLogoutPost(options).then((request) => request(axios, basePath));
36113
36362
  },
36363
+ /**
36364
+ * Resets user password using a valid reset token
36365
+ * @summary Reset password with token
36366
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36367
+ * @param {*} [options] Override http request option.
36368
+ * @throws {RequiredError}
36369
+ */
36370
+ authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
36371
+ return localVarFp.authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(axios, basePath));
36372
+ },
36373
+ /**
36374
+ * Checks if a password reset token is valid and not expired
36375
+ * @summary Verify reset token validity
36376
+ * @param {string} token Reset token
36377
+ * @param {*} [options] Override http request option.
36378
+ * @throws {RequiredError}
36379
+ */
36380
+ authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesVerifyResetTokenResponse> {
36381
+ return localVarFp.authResetPasswordTokenGet(token, options).then((request) => request(axios, basePath));
36382
+ },
36114
36383
  /**
36115
36384
  * Returns refreshed session data for authenticated user
36116
36385
  * @summary Get current auth session
@@ -36141,6 +36410,18 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
36141
36410
  * @extends {BaseAPI}
36142
36411
  */
36143
36412
  export class AuthApi extends BaseAPI {
36413
+ /**
36414
+ * Sends a password reset link to the user\'s email address
36415
+ * @summary Request password reset
36416
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36417
+ * @param {*} [options] Override http request option.
36418
+ * @throws {RequiredError}
36419
+ * @memberof AuthApi
36420
+ */
36421
+ public authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig) {
36422
+ return AuthApiFp(this.configuration).authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36423
+ }
36424
+
36144
36425
  /**
36145
36426
  * Authenticates a user with username and password
36146
36427
  * @summary Login a user
@@ -36164,6 +36445,30 @@ export class AuthApi extends BaseAPI {
36164
36445
  return AuthApiFp(this.configuration).authLogoutPost(options).then((request) => request(this.axios, this.basePath));
36165
36446
  }
36166
36447
 
36448
+ /**
36449
+ * Resets user password using a valid reset token
36450
+ * @summary Reset password with token
36451
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36452
+ * @param {*} [options] Override http request option.
36453
+ * @throws {RequiredError}
36454
+ * @memberof AuthApi
36455
+ */
36456
+ public authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig) {
36457
+ return AuthApiFp(this.configuration).authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36458
+ }
36459
+
36460
+ /**
36461
+ * Checks if a password reset token is valid and not expired
36462
+ * @summary Verify reset token validity
36463
+ * @param {string} token Reset token
36464
+ * @param {*} [options] Override http request option.
36465
+ * @throws {RequiredError}
36466
+ * @memberof AuthApi
36467
+ */
36468
+ public authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig) {
36469
+ return AuthApiFp(this.configuration).authResetPasswordTokenGet(token, options).then((request) => request(this.axios, this.basePath));
36470
+ }
36471
+
36167
36472
  /**
36168
36473
  * Returns refreshed session data for authenticated user
36169
36474
  * @summary Get current auth session
@@ -63186,12 +63491,15 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
63186
63491
  * @param {string} [endDate] End date (ISO 8601 format)
63187
63492
  * @param {string} [method] HTTP method filter
63188
63493
  * @param {string} [path] Path filter (partial match)
63494
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
63495
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
63496
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63189
63497
  * @param {number} [page] Page number (default: 1)
63190
63498
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63191
63499
  * @param {*} [options] Override http request option.
63192
63500
  * @throws {RequiredError}
63193
63501
  */
63194
- adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63502
+ adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63195
63503
  // verify required parameter 'xStoreID' is not null or undefined
63196
63504
  assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
63197
63505
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -63226,6 +63534,18 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
63226
63534
  localVarQueryParameter['path'] = path;
63227
63535
  }
63228
63536
 
63537
+ if (statusCode !== undefined) {
63538
+ localVarQueryParameter['status_code'] = statusCode;
63539
+ }
63540
+
63541
+ if (endpointType !== undefined) {
63542
+ localVarQueryParameter['endpoint_type'] = endpointType;
63543
+ }
63544
+
63545
+ if (responseTime !== undefined) {
63546
+ localVarQueryParameter['response_time'] = responseTime;
63547
+ }
63548
+
63229
63549
  if (page !== undefined) {
63230
63550
  localVarQueryParameter['page'] = page;
63231
63551
  }
@@ -63738,13 +64058,16 @@ export const StoresApiFp = function(configuration?: Configuration) {
63738
64058
  * @param {string} [endDate] End date (ISO 8601 format)
63739
64059
  * @param {string} [method] HTTP method filter
63740
64060
  * @param {string} [path] Path filter (partial match)
64061
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64062
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64063
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63741
64064
  * @param {number} [page] Page number (default: 1)
63742
64065
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63743
64066
  * @param {*} [options] Override http request option.
63744
64067
  * @throws {RequiredError}
63745
64068
  */
63746
- async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
63747
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
64069
+ async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
64070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
63748
64071
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63749
64072
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
63750
64073
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -63977,13 +64300,16 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
63977
64300
  * @param {string} [endDate] End date (ISO 8601 format)
63978
64301
  * @param {string} [method] HTTP method filter
63979
64302
  * @param {string} [path] Path filter (partial match)
64303
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64304
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64305
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63980
64306
  * @param {number} [page] Page number (default: 1)
63981
64307
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63982
64308
  * @param {*} [options] Override http request option.
63983
64309
  * @throws {RequiredError}
63984
64310
  */
63985
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
63986
- return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
64311
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
64312
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
63987
64313
  },
63988
64314
  /**
63989
64315
  * Retrieves the store configuration using x-store ID, including onboarding status validation
@@ -64202,14 +64528,17 @@ export class StoresApi extends BaseAPI {
64202
64528
  * @param {string} [endDate] End date (ISO 8601 format)
64203
64529
  * @param {string} [method] HTTP method filter
64204
64530
  * @param {string} [path] Path filter (partial match)
64531
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64532
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64533
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64205
64534
  * @param {number} [page] Page number (default: 1)
64206
64535
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
64207
64536
  * @param {*} [options] Override http request option.
64208
64537
  * @throws {RequiredError}
64209
64538
  * @memberof StoresApi
64210
64539
  */
64211
- public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
64212
- return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
64540
+ public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
64541
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
64213
64542
  }
64214
64543
 
64215
64544
  /**