@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/dist/esm/api.js
CHANGED
|
@@ -4318,7 +4318,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
4318
4318
|
* @param {string} [path] Path filter (partial match)
|
|
4319
4319
|
* @param {string} [storeId] Store ID filter
|
|
4320
4320
|
* @param {number} [page] Page number (default: 1)
|
|
4321
|
-
* @param {number} [perPage] Results per page (default:
|
|
4321
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
4322
4322
|
* @param {*} [options] Override http request option.
|
|
4323
4323
|
* @throws {RequiredError}
|
|
4324
4324
|
*/
|
|
@@ -4372,7 +4372,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
4372
4372
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
4373
4373
|
* @param {string} [method] HTTP method filter
|
|
4374
4374
|
* @param {number} [page] Page number (default: 1)
|
|
4375
|
-
* @param {number} [perPage] Results per page (default:
|
|
4375
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
4376
4376
|
* @param {*} [options] Override http request option.
|
|
4377
4377
|
* @throws {RequiredError}
|
|
4378
4378
|
*/
|
|
@@ -5016,7 +5016,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
5016
5016
|
* @param {string} [path] Path filter (partial match)
|
|
5017
5017
|
* @param {string} [storeId] Store ID filter
|
|
5018
5018
|
* @param {number} [page] Page number (default: 1)
|
|
5019
|
-
* @param {number} [perPage] Results per page (default:
|
|
5019
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
5020
5020
|
* @param {*} [options] Override http request option.
|
|
5021
5021
|
* @throws {RequiredError}
|
|
5022
5022
|
*/
|
|
@@ -5037,7 +5037,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
5037
5037
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
5038
5038
|
* @param {string} [method] HTTP method filter
|
|
5039
5039
|
* @param {number} [page] Page number (default: 1)
|
|
5040
|
-
* @param {number} [perPage] Results per page (default:
|
|
5040
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
5041
5041
|
* @param {*} [options] Override http request option.
|
|
5042
5042
|
* @throws {RequiredError}
|
|
5043
5043
|
*/
|
|
@@ -5528,7 +5528,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
5528
5528
|
* @param {string} [path] Path filter (partial match)
|
|
5529
5529
|
* @param {string} [storeId] Store ID filter
|
|
5530
5530
|
* @param {number} [page] Page number (default: 1)
|
|
5531
|
-
* @param {number} [perPage] Results per page (default:
|
|
5531
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
5532
5532
|
* @param {*} [options] Override http request option.
|
|
5533
5533
|
* @throws {RequiredError}
|
|
5534
5534
|
*/
|
|
@@ -5543,7 +5543,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
5543
5543
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
5544
5544
|
* @param {string} [method] HTTP method filter
|
|
5545
5545
|
* @param {number} [page] Page number (default: 1)
|
|
5546
|
-
* @param {number} [perPage] Results per page (default:
|
|
5546
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
5547
5547
|
* @param {*} [options] Override http request option.
|
|
5548
5548
|
* @throws {RequiredError}
|
|
5549
5549
|
*/
|
|
@@ -6040,7 +6040,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
6040
6040
|
* @param {string} [path] Path filter (partial match)
|
|
6041
6041
|
* @param {string} [storeId] Store ID filter
|
|
6042
6042
|
* @param {number} [page] Page number (default: 1)
|
|
6043
|
-
* @param {number} [perPage] Results per page (default:
|
|
6043
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
6044
6044
|
* @param {*} [options] Override http request option.
|
|
6045
6045
|
* @throws {RequiredError}
|
|
6046
6046
|
* @memberof AnalyticsApi
|
|
@@ -6056,7 +6056,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
6056
6056
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
6057
6057
|
* @param {string} [method] HTTP method filter
|
|
6058
6058
|
* @param {number} [page] Page number (default: 1)
|
|
6059
|
-
* @param {number} [perPage] Results per page (default:
|
|
6059
|
+
* @param {number} [perPage] Results per page (default: 100, max: 1000)
|
|
6060
6060
|
* @param {*} [options] Override http request option.
|
|
6061
6061
|
* @throws {RequiredError}
|
|
6062
6062
|
* @memberof AnalyticsApi
|
|
@@ -8566,6 +8566,36 @@ export class ArticlesApi extends BaseAPI {
|
|
|
8566
8566
|
*/
|
|
8567
8567
|
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
8568
8568
|
return {
|
|
8569
|
+
/**
|
|
8570
|
+
* Sends a password reset link to the user\'s email address
|
|
8571
|
+
* @summary Request password reset
|
|
8572
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8573
|
+
* @param {*} [options] Override http request option.
|
|
8574
|
+
* @throws {RequiredError}
|
|
8575
|
+
*/
|
|
8576
|
+
authForgotPasswordPost: (dataTypesForgotPasswordRequest_1, ...args_1) => __awaiter(this, [dataTypesForgotPasswordRequest_1, ...args_1], void 0, function* (dataTypesForgotPasswordRequest, options = {}) {
|
|
8577
|
+
// verify required parameter 'dataTypesForgotPasswordRequest' is not null or undefined
|
|
8578
|
+
assertParamExists('authForgotPasswordPost', 'dataTypesForgotPasswordRequest', dataTypesForgotPasswordRequest);
|
|
8579
|
+
const localVarPath = `/Auth/forgot-password`;
|
|
8580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8582
|
+
let baseOptions;
|
|
8583
|
+
if (configuration) {
|
|
8584
|
+
baseOptions = configuration.baseOptions;
|
|
8585
|
+
}
|
|
8586
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8587
|
+
const localVarHeaderParameter = {};
|
|
8588
|
+
const localVarQueryParameter = {};
|
|
8589
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8590
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8592
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8593
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesForgotPasswordRequest, localVarRequestOptions, configuration);
|
|
8594
|
+
return {
|
|
8595
|
+
url: toPathString(localVarUrlObj),
|
|
8596
|
+
options: localVarRequestOptions,
|
|
8597
|
+
};
|
|
8598
|
+
}),
|
|
8569
8599
|
/**
|
|
8570
8600
|
* Authenticates a user with username and password
|
|
8571
8601
|
* @summary Login a user
|
|
@@ -8621,6 +8651,65 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
8621
8651
|
options: localVarRequestOptions,
|
|
8622
8652
|
};
|
|
8623
8653
|
}),
|
|
8654
|
+
/**
|
|
8655
|
+
* Resets user password using a valid reset token
|
|
8656
|
+
* @summary Reset password with token
|
|
8657
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8658
|
+
* @param {*} [options] Override http request option.
|
|
8659
|
+
* @throws {RequiredError}
|
|
8660
|
+
*/
|
|
8661
|
+
authResetPasswordPost: (dataTypesResetPasswordRequest_1, ...args_1) => __awaiter(this, [dataTypesResetPasswordRequest_1, ...args_1], void 0, function* (dataTypesResetPasswordRequest, options = {}) {
|
|
8662
|
+
// verify required parameter 'dataTypesResetPasswordRequest' is not null or undefined
|
|
8663
|
+
assertParamExists('authResetPasswordPost', 'dataTypesResetPasswordRequest', dataTypesResetPasswordRequest);
|
|
8664
|
+
const localVarPath = `/Auth/reset-password`;
|
|
8665
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8666
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8667
|
+
let baseOptions;
|
|
8668
|
+
if (configuration) {
|
|
8669
|
+
baseOptions = configuration.baseOptions;
|
|
8670
|
+
}
|
|
8671
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8672
|
+
const localVarHeaderParameter = {};
|
|
8673
|
+
const localVarQueryParameter = {};
|
|
8674
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8675
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8676
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8677
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8678
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesResetPasswordRequest, localVarRequestOptions, configuration);
|
|
8679
|
+
return {
|
|
8680
|
+
url: toPathString(localVarUrlObj),
|
|
8681
|
+
options: localVarRequestOptions,
|
|
8682
|
+
};
|
|
8683
|
+
}),
|
|
8684
|
+
/**
|
|
8685
|
+
* Checks if a password reset token is valid and not expired
|
|
8686
|
+
* @summary Verify reset token validity
|
|
8687
|
+
* @param {string} token Reset token
|
|
8688
|
+
* @param {*} [options] Override http request option.
|
|
8689
|
+
* @throws {RequiredError}
|
|
8690
|
+
*/
|
|
8691
|
+
authResetPasswordTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
8692
|
+
// verify required parameter 'token' is not null or undefined
|
|
8693
|
+
assertParamExists('authResetPasswordTokenGet', 'token', token);
|
|
8694
|
+
const localVarPath = `/Auth/reset-password/{token}`
|
|
8695
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
8696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8698
|
+
let baseOptions;
|
|
8699
|
+
if (configuration) {
|
|
8700
|
+
baseOptions = configuration.baseOptions;
|
|
8701
|
+
}
|
|
8702
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8703
|
+
const localVarHeaderParameter = {};
|
|
8704
|
+
const localVarQueryParameter = {};
|
|
8705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8707
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8708
|
+
return {
|
|
8709
|
+
url: toPathString(localVarUrlObj),
|
|
8710
|
+
options: localVarRequestOptions,
|
|
8711
|
+
};
|
|
8712
|
+
}),
|
|
8624
8713
|
/**
|
|
8625
8714
|
* Returns refreshed session data for authenticated user
|
|
8626
8715
|
* @summary Get current auth session
|
|
@@ -8693,6 +8782,22 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
8693
8782
|
export const AuthApiFp = function (configuration) {
|
|
8694
8783
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
8695
8784
|
return {
|
|
8785
|
+
/**
|
|
8786
|
+
* Sends a password reset link to the user\'s email address
|
|
8787
|
+
* @summary Request password reset
|
|
8788
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8789
|
+
* @param {*} [options] Override http request option.
|
|
8790
|
+
* @throws {RequiredError}
|
|
8791
|
+
*/
|
|
8792
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
8793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8794
|
+
var _a, _b, _c;
|
|
8795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authForgotPasswordPost(dataTypesForgotPasswordRequest, options);
|
|
8796
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8797
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.authForgotPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8798
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8799
|
+
});
|
|
8800
|
+
},
|
|
8696
8801
|
/**
|
|
8697
8802
|
* Authenticates a user with username and password
|
|
8698
8803
|
* @summary Login a user
|
|
@@ -8724,6 +8829,38 @@ export const AuthApiFp = function (configuration) {
|
|
|
8724
8829
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8725
8830
|
});
|
|
8726
8831
|
},
|
|
8832
|
+
/**
|
|
8833
|
+
* Resets user password using a valid reset token
|
|
8834
|
+
* @summary Reset password with token
|
|
8835
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8836
|
+
* @param {*} [options] Override http request option.
|
|
8837
|
+
* @throws {RequiredError}
|
|
8838
|
+
*/
|
|
8839
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
8840
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8841
|
+
var _a, _b, _c;
|
|
8842
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authResetPasswordPost(dataTypesResetPasswordRequest, options);
|
|
8843
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8844
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.authResetPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8845
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8846
|
+
});
|
|
8847
|
+
},
|
|
8848
|
+
/**
|
|
8849
|
+
* Checks if a password reset token is valid and not expired
|
|
8850
|
+
* @summary Verify reset token validity
|
|
8851
|
+
* @param {string} token Reset token
|
|
8852
|
+
* @param {*} [options] Override http request option.
|
|
8853
|
+
* @throws {RequiredError}
|
|
8854
|
+
*/
|
|
8855
|
+
authResetPasswordTokenGet(token, options) {
|
|
8856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8857
|
+
var _a, _b, _c;
|
|
8858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authResetPasswordTokenGet(token, options);
|
|
8859
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8860
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.authResetPasswordTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8861
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8862
|
+
});
|
|
8863
|
+
},
|
|
8727
8864
|
/**
|
|
8728
8865
|
* Returns refreshed session data for authenticated user
|
|
8729
8866
|
* @summary Get current auth session
|
|
@@ -8765,6 +8902,16 @@ export const AuthApiFp = function (configuration) {
|
|
|
8765
8902
|
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
8766
8903
|
const localVarFp = AuthApiFp(configuration);
|
|
8767
8904
|
return {
|
|
8905
|
+
/**
|
|
8906
|
+
* Sends a password reset link to the user\'s email address
|
|
8907
|
+
* @summary Request password reset
|
|
8908
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8909
|
+
* @param {*} [options] Override http request option.
|
|
8910
|
+
* @throws {RequiredError}
|
|
8911
|
+
*/
|
|
8912
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
8913
|
+
return localVarFp.authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
8914
|
+
},
|
|
8768
8915
|
/**
|
|
8769
8916
|
* Authenticates a user with username and password
|
|
8770
8917
|
* @summary Login a user
|
|
@@ -8784,6 +8931,26 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
8784
8931
|
authLogoutPost(options) {
|
|
8785
8932
|
return localVarFp.authLogoutPost(options).then((request) => request(axios, basePath));
|
|
8786
8933
|
},
|
|
8934
|
+
/**
|
|
8935
|
+
* Resets user password using a valid reset token
|
|
8936
|
+
* @summary Reset password with token
|
|
8937
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8938
|
+
* @param {*} [options] Override http request option.
|
|
8939
|
+
* @throws {RequiredError}
|
|
8940
|
+
*/
|
|
8941
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
8942
|
+
return localVarFp.authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
8943
|
+
},
|
|
8944
|
+
/**
|
|
8945
|
+
* Checks if a password reset token is valid and not expired
|
|
8946
|
+
* @summary Verify reset token validity
|
|
8947
|
+
* @param {string} token Reset token
|
|
8948
|
+
* @param {*} [options] Override http request option.
|
|
8949
|
+
* @throws {RequiredError}
|
|
8950
|
+
*/
|
|
8951
|
+
authResetPasswordTokenGet(token, options) {
|
|
8952
|
+
return localVarFp.authResetPasswordTokenGet(token, options).then((request) => request(axios, basePath));
|
|
8953
|
+
},
|
|
8787
8954
|
/**
|
|
8788
8955
|
* Returns refreshed session data for authenticated user
|
|
8789
8956
|
* @summary Get current auth session
|
|
@@ -8813,6 +8980,17 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
8813
8980
|
* @extends {BaseAPI}
|
|
8814
8981
|
*/
|
|
8815
8982
|
export class AuthApi extends BaseAPI {
|
|
8983
|
+
/**
|
|
8984
|
+
* Sends a password reset link to the user\'s email address
|
|
8985
|
+
* @summary Request password reset
|
|
8986
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8987
|
+
* @param {*} [options] Override http request option.
|
|
8988
|
+
* @throws {RequiredError}
|
|
8989
|
+
* @memberof AuthApi
|
|
8990
|
+
*/
|
|
8991
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
8992
|
+
return AuthApiFp(this.configuration).authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8993
|
+
}
|
|
8816
8994
|
/**
|
|
8817
8995
|
* Authenticates a user with username and password
|
|
8818
8996
|
* @summary Login a user
|
|
@@ -8834,6 +9012,28 @@ export class AuthApi extends BaseAPI {
|
|
|
8834
9012
|
authLogoutPost(options) {
|
|
8835
9013
|
return AuthApiFp(this.configuration).authLogoutPost(options).then((request) => request(this.axios, this.basePath));
|
|
8836
9014
|
}
|
|
9015
|
+
/**
|
|
9016
|
+
* Resets user password using a valid reset token
|
|
9017
|
+
* @summary Reset password with token
|
|
9018
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
9019
|
+
* @param {*} [options] Override http request option.
|
|
9020
|
+
* @throws {RequiredError}
|
|
9021
|
+
* @memberof AuthApi
|
|
9022
|
+
*/
|
|
9023
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
9024
|
+
return AuthApiFp(this.configuration).authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9025
|
+
}
|
|
9026
|
+
/**
|
|
9027
|
+
* Checks if a password reset token is valid and not expired
|
|
9028
|
+
* @summary Verify reset token validity
|
|
9029
|
+
* @param {string} token Reset token
|
|
9030
|
+
* @param {*} [options] Override http request option.
|
|
9031
|
+
* @throws {RequiredError}
|
|
9032
|
+
* @memberof AuthApi
|
|
9033
|
+
*/
|
|
9034
|
+
authResetPasswordTokenGet(token, options) {
|
|
9035
|
+
return AuthApiFp(this.configuration).authResetPasswordTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
9036
|
+
}
|
|
8837
9037
|
/**
|
|
8838
9038
|
* Returns refreshed session data for authenticated user
|
|
8839
9039
|
* @summary Get current auth session
|
|
@@ -33930,12 +34130,15 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
33930
34130
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
33931
34131
|
* @param {string} [method] HTTP method filter
|
|
33932
34132
|
* @param {string} [path] Path filter (partial match)
|
|
34133
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
34134
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
34135
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
33933
34136
|
* @param {number} [page] Page number (default: 1)
|
|
33934
34137
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
33935
34138
|
* @param {*} [options] Override http request option.
|
|
33936
34139
|
* @throws {RequiredError}
|
|
33937
34140
|
*/
|
|
33938
|
-
adminStoresXStoreIDApiUsageGet: (xStoreID_1, startDate_1, endDate_1, method_1, path_1, page_1, perPage_1, ...args_1) => __awaiter(this, [xStoreID_1, startDate_1, endDate_1, method_1, path_1, page_1, perPage_1, ...args_1], void 0, function* (xStoreID, startDate, endDate, method, path, page, perPage, options = {}) {
|
|
34141
|
+
adminStoresXStoreIDApiUsageGet: (xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1) => __awaiter(this, [xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1], void 0, function* (xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options = {}) {
|
|
33939
34142
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
33940
34143
|
assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID);
|
|
33941
34144
|
const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
|
|
@@ -33963,6 +34166,15 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
33963
34166
|
if (path !== undefined) {
|
|
33964
34167
|
localVarQueryParameter['path'] = path;
|
|
33965
34168
|
}
|
|
34169
|
+
if (statusCode !== undefined) {
|
|
34170
|
+
localVarQueryParameter['status_code'] = statusCode;
|
|
34171
|
+
}
|
|
34172
|
+
if (endpointType !== undefined) {
|
|
34173
|
+
localVarQueryParameter['endpoint_type'] = endpointType;
|
|
34174
|
+
}
|
|
34175
|
+
if (responseTime !== undefined) {
|
|
34176
|
+
localVarQueryParameter['response_time'] = responseTime;
|
|
34177
|
+
}
|
|
33966
34178
|
if (page !== undefined) {
|
|
33967
34179
|
localVarQueryParameter['page'] = page;
|
|
33968
34180
|
}
|
|
@@ -34434,15 +34646,18 @@ export const StoresApiFp = function (configuration) {
|
|
|
34434
34646
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34435
34647
|
* @param {string} [method] HTTP method filter
|
|
34436
34648
|
* @param {string} [path] Path filter (partial match)
|
|
34649
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
34650
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
34651
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34437
34652
|
* @param {number} [page] Page number (default: 1)
|
|
34438
34653
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34439
34654
|
* @param {*} [options] Override http request option.
|
|
34440
34655
|
* @throws {RequiredError}
|
|
34441
34656
|
*/
|
|
34442
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
34657
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
34443
34658
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34444
34659
|
var _a, _b, _c;
|
|
34445
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
|
|
34660
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
|
|
34446
34661
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34447
34662
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34448
34663
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -34702,13 +34917,16 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
34702
34917
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34703
34918
|
* @param {string} [method] HTTP method filter
|
|
34704
34919
|
* @param {string} [path] Path filter (partial match)
|
|
34920
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
34921
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
34922
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34705
34923
|
* @param {number} [page] Page number (default: 1)
|
|
34706
34924
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34707
34925
|
* @param {*} [options] Override http request option.
|
|
34708
34926
|
* @throws {RequiredError}
|
|
34709
34927
|
*/
|
|
34710
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
34711
|
-
return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
|
|
34928
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
34929
|
+
return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
|
|
34712
34930
|
},
|
|
34713
34931
|
/**
|
|
34714
34932
|
* Retrieves the store configuration using x-store ID, including onboarding status validation
|
|
@@ -34918,14 +35136,17 @@ export class StoresApi extends BaseAPI {
|
|
|
34918
35136
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34919
35137
|
* @param {string} [method] HTTP method filter
|
|
34920
35138
|
* @param {string} [path] Path filter (partial match)
|
|
35139
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
35140
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
35141
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34921
35142
|
* @param {number} [page] Page number (default: 1)
|
|
34922
35143
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34923
35144
|
* @param {*} [options] Override http request option.
|
|
34924
35145
|
* @throws {RequiredError}
|
|
34925
35146
|
* @memberof StoresApi
|
|
34926
35147
|
*/
|
|
34927
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
34928
|
-
return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
35148
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
35149
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
34929
35150
|
}
|
|
34930
35151
|
/**
|
|
34931
35152
|
* Retrieves the store configuration using x-store ID, including onboarding status validation
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|