@seekora-ai/admin-api 1.1.53 → 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 +9 -2
- package/api.ts +358 -23
- package/dist/api.d.ts +231 -20
- package/dist/api.js +236 -15
- package/dist/esm/api.d.ts +231 -20
- package/dist/esm/api.js +236 -15
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.55.tgz +0 -0
- package/seekora-ai-admin-api-1.1.53.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
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.
|
|
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
|
|
@@ -25209,17 +25291,17 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
|
|
|
25209
25291
|
*/
|
|
25210
25292
|
'show_top_categories'?: number;
|
|
25211
25293
|
/**
|
|
25212
|
-
*
|
|
25294
|
+
* Enable special characters in tokenization (maps to token_separators and symbols_to_index)
|
|
25213
25295
|
* @type {boolean}
|
|
25214
25296
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
25215
25297
|
*/
|
|
25216
|
-
'
|
|
25298
|
+
'special_chars'?: boolean;
|
|
25217
25299
|
/**
|
|
25218
|
-
*
|
|
25219
|
-
* @type {
|
|
25300
|
+
* Whether to sync enabled suggestions to Typesense
|
|
25301
|
+
* @type {boolean}
|
|
25220
25302
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
25221
25303
|
*/
|
|
25222
|
-
'
|
|
25304
|
+
'sync_to_typesense'?: boolean;
|
|
25223
25305
|
/**
|
|
25224
25306
|
* Whether to sync to Typesense
|
|
25225
25307
|
* @type {boolean}
|
|
@@ -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; }}
|
|
@@ -25982,11 +26070,17 @@ export interface QuerySuggestionsServiceUpdateSuggestionConfigRequest {
|
|
|
25982
26070
|
*/
|
|
25983
26071
|
'show_top_categories'?: number;
|
|
25984
26072
|
/**
|
|
25985
|
-
*
|
|
25986
|
-
* @type {
|
|
26073
|
+
* Enable special characters in tokenization
|
|
26074
|
+
* @type {boolean}
|
|
26075
|
+
* @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
|
|
26076
|
+
*/
|
|
26077
|
+
'special_chars'?: boolean;
|
|
26078
|
+
/**
|
|
26079
|
+
* Enable/disable syncing suggestions to Typesense
|
|
26080
|
+
* @type {boolean}
|
|
25987
26081
|
* @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
|
|
25988
26082
|
*/
|
|
25989
|
-
'
|
|
26083
|
+
'sync_to_typesense'?: boolean;
|
|
25990
26084
|
/**
|
|
25991
26085
|
* Typo tolerance
|
|
25992
26086
|
* @type {number}
|
|
@@ -26030,6 +26124,12 @@ export interface QuerySuggestionsServiceUpdateSuggestionRequest {
|
|
|
26030
26124
|
* @memberof QuerySuggestionsServiceUpdateSuggestionRequest
|
|
26031
26125
|
*/
|
|
26032
26126
|
'metadata'?: { [key: string]: string; };
|
|
26127
|
+
/**
|
|
26128
|
+
* Optional popularity update
|
|
26129
|
+
* @type {number}
|
|
26130
|
+
* @memberof QuerySuggestionsServiceUpdateSuggestionRequest
|
|
26131
|
+
*/
|
|
26132
|
+
'popularity'?: number;
|
|
26033
26133
|
/**
|
|
26034
26134
|
* Optional priority update
|
|
26035
26135
|
* @type {number}
|
|
@@ -31452,7 +31552,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31452
31552
|
* @param {string} [path] Path filter (partial match)
|
|
31453
31553
|
* @param {string} [storeId] Store ID filter
|
|
31454
31554
|
* @param {number} [page] Page number (default: 1)
|
|
31455
|
-
* @param {number} [perPage] Results per page (default:
|
|
31555
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
31456
31556
|
* @param {*} [options] Override http request option.
|
|
31457
31557
|
* @throws {RequiredError}
|
|
31458
31558
|
*/
|
|
@@ -31519,7 +31619,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
31519
31619
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
31520
31620
|
* @param {string} [method] HTTP method filter
|
|
31521
31621
|
* @param {number} [page] Page number (default: 1)
|
|
31522
|
-
* @param {number} [perPage] Results per page (default:
|
|
31622
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
31523
31623
|
* @param {*} [options] Override http request option.
|
|
31524
31624
|
* @throws {RequiredError}
|
|
31525
31625
|
*/
|
|
@@ -32127,7 +32227,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
32127
32227
|
* @param {string} [path] Path filter (partial match)
|
|
32128
32228
|
* @param {string} [storeId] Store ID filter
|
|
32129
32229
|
* @param {number} [page] Page number (default: 1)
|
|
32130
|
-
* @param {number} [perPage] Results per page (default:
|
|
32230
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
32131
32231
|
* @param {*} [options] Override http request option.
|
|
32132
32232
|
* @throws {RequiredError}
|
|
32133
32233
|
*/
|
|
@@ -32145,7 +32245,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
32145
32245
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
32146
32246
|
* @param {string} [method] HTTP method filter
|
|
32147
32247
|
* @param {number} [page] Page number (default: 1)
|
|
32148
|
-
* @param {number} [perPage] Results per page (default:
|
|
32248
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
32149
32249
|
* @param {*} [options] Override http request option.
|
|
32150
32250
|
* @throws {RequiredError}
|
|
32151
32251
|
*/
|
|
@@ -32631,7 +32731,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
32631
32731
|
* @param {string} [path] Path filter (partial match)
|
|
32632
32732
|
* @param {string} [storeId] Store ID filter
|
|
32633
32733
|
* @param {number} [page] Page number (default: 1)
|
|
32634
|
-
* @param {number} [perPage] Results per page (default:
|
|
32734
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
32635
32735
|
* @param {*} [options] Override http request option.
|
|
32636
32736
|
* @throws {RequiredError}
|
|
32637
32737
|
*/
|
|
@@ -32646,7 +32746,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
32646
32746
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
32647
32747
|
* @param {string} [method] HTTP method filter
|
|
32648
32748
|
* @param {number} [page] Page number (default: 1)
|
|
32649
|
-
* @param {number} [perPage] Results per page (default:
|
|
32749
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
32650
32750
|
* @param {*} [options] Override http request option.
|
|
32651
32751
|
* @throws {RequiredError}
|
|
32652
32752
|
*/
|
|
@@ -33162,7 +33262,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
33162
33262
|
* @param {string} [path] Path filter (partial match)
|
|
33163
33263
|
* @param {string} [storeId] Store ID filter
|
|
33164
33264
|
* @param {number} [page] Page number (default: 1)
|
|
33165
|
-
* @param {number} [perPage] Results per page (default:
|
|
33265
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
33166
33266
|
* @param {*} [options] Override http request option.
|
|
33167
33267
|
* @throws {RequiredError}
|
|
33168
33268
|
* @memberof AnalyticsApi
|
|
@@ -33179,7 +33279,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
33179
33279
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
33180
33280
|
* @param {string} [method] HTTP method filter
|
|
33181
33281
|
* @param {number} [page] Page number (default: 1)
|
|
33182
|
-
* @param {number} [perPage] Results per page (default:
|
|
33282
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
33183
33283
|
* @param {*} [options] Override http request option.
|
|
33184
33284
|
* @throws {RequiredError}
|
|
33185
33285
|
* @memberof AnalyticsApi
|
|
@@ -35874,6 +35974,42 @@ export class ArticlesApi extends BaseAPI {
|
|
|
35874
35974
|
*/
|
|
35875
35975
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35876
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
|
+
},
|
|
35877
36013
|
/**
|
|
35878
36014
|
* Authenticates a user with username and password
|
|
35879
36015
|
* @summary Login a user
|
|
@@ -35931,6 +36067,76 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
35931
36067
|
|
|
35932
36068
|
|
|
35933
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
|
+
|
|
35934
36140
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35935
36141
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35936
36142
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -36025,6 +36231,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
36025
36231
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
36026
36232
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
36027
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
|
+
},
|
|
36028
36247
|
/**
|
|
36029
36248
|
* Authenticates a user with username and password
|
|
36030
36249
|
* @summary Login a user
|
|
@@ -36050,6 +36269,32 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
36050
36269
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authLogoutPost']?.[localVarOperationServerIndex]?.url;
|
|
36051
36270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36052
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
|
+
},
|
|
36053
36298
|
/**
|
|
36054
36299
|
* Returns refreshed session data for authenticated user
|
|
36055
36300
|
* @summary Get current auth session
|
|
@@ -36086,6 +36331,16 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
36086
36331
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36087
36332
|
const localVarFp = AuthApiFp(configuration)
|
|
36088
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
|
+
},
|
|
36089
36344
|
/**
|
|
36090
36345
|
* Authenticates a user with username and password
|
|
36091
36346
|
* @summary Login a user
|
|
@@ -36105,6 +36360,26 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
36105
36360
|
authLogoutPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
36106
36361
|
return localVarFp.authLogoutPost(options).then((request) => request(axios, basePath));
|
|
36107
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
|
+
},
|
|
36108
36383
|
/**
|
|
36109
36384
|
* Returns refreshed session data for authenticated user
|
|
36110
36385
|
* @summary Get current auth session
|
|
@@ -36135,6 +36410,18 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
36135
36410
|
* @extends {BaseAPI}
|
|
36136
36411
|
*/
|
|
36137
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
|
+
|
|
36138
36425
|
/**
|
|
36139
36426
|
* Authenticates a user with username and password
|
|
36140
36427
|
* @summary Login a user
|
|
@@ -36158,6 +36445,30 @@ export class AuthApi extends BaseAPI {
|
|
|
36158
36445
|
return AuthApiFp(this.configuration).authLogoutPost(options).then((request) => request(this.axios, this.basePath));
|
|
36159
36446
|
}
|
|
36160
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
|
+
|
|
36161
36472
|
/**
|
|
36162
36473
|
* Returns refreshed session data for authenticated user
|
|
36163
36474
|
* @summary Get current auth session
|
|
@@ -63180,12 +63491,15 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
63180
63491
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
63181
63492
|
* @param {string} [method] HTTP method filter
|
|
63182
63493
|
* @param {string} [path] Path filter (partial match)
|
|
63494
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
63495
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
63496
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
63183
63497
|
* @param {number} [page] Page number (default: 1)
|
|
63184
63498
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
63185
63499
|
* @param {*} [options] Override http request option.
|
|
63186
63500
|
* @throws {RequiredError}
|
|
63187
63501
|
*/
|
|
63188
|
-
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> => {
|
|
63189
63503
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
63190
63504
|
assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
|
|
63191
63505
|
const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
|
|
@@ -63220,6 +63534,18 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
63220
63534
|
localVarQueryParameter['path'] = path;
|
|
63221
63535
|
}
|
|
63222
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
|
+
|
|
63223
63549
|
if (page !== undefined) {
|
|
63224
63550
|
localVarQueryParameter['page'] = page;
|
|
63225
63551
|
}
|
|
@@ -63732,13 +64058,16 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
63732
64058
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
63733
64059
|
* @param {string} [method] HTTP method filter
|
|
63734
64060
|
* @param {string} [path] Path filter (partial match)
|
|
64061
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
64062
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
64063
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
63735
64064
|
* @param {number} [page] Page number (default: 1)
|
|
63736
64065
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
63737
64066
|
* @param {*} [options] Override http request option.
|
|
63738
64067
|
* @throws {RequiredError}
|
|
63739
64068
|
*/
|
|
63740
|
-
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>> {
|
|
63741
|
-
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);
|
|
63742
64071
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63743
64072
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
|
|
63744
64073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -63971,13 +64300,16 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
63971
64300
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
63972
64301
|
* @param {string} [method] HTTP method filter
|
|
63973
64302
|
* @param {string} [path] Path filter (partial match)
|
|
64303
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
64304
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
64305
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
63974
64306
|
* @param {number} [page] Page number (default: 1)
|
|
63975
64307
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
63976
64308
|
* @param {*} [options] Override http request option.
|
|
63977
64309
|
* @throws {RequiredError}
|
|
63978
64310
|
*/
|
|
63979
|
-
adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
|
|
63980
|
-
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));
|
|
63981
64313
|
},
|
|
63982
64314
|
/**
|
|
63983
64315
|
* Retrieves the store configuration using x-store ID, including onboarding status validation
|
|
@@ -64196,14 +64528,17 @@ export class StoresApi extends BaseAPI {
|
|
|
64196
64528
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
64197
64529
|
* @param {string} [method] HTTP method filter
|
|
64198
64530
|
* @param {string} [path] Path filter (partial match)
|
|
64531
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
64532
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
64533
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
64199
64534
|
* @param {number} [page] Page number (default: 1)
|
|
64200
64535
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
64201
64536
|
* @param {*} [options] Override http request option.
|
|
64202
64537
|
* @throws {RequiredError}
|
|
64203
64538
|
* @memberof StoresApi
|
|
64204
64539
|
*/
|
|
64205
|
-
public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
|
|
64206
|
-
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));
|
|
64207
64542
|
}
|
|
64208
64543
|
|
|
64209
64544
|
/**
|