@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 +9 -2
- package/api.ts +336 -7
- package/dist/api.d.ts +209 -4
- package/dist/api.js +228 -7
- package/dist/esm/api.d.ts +209 -4
- package/dist/esm/api.js +228 -7
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.55.tgz +0 -0
- package/seekora-ai-admin-api-1.1.54.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -8616,6 +8616,36 @@ exports.ArticlesApi = ArticlesApi;
|
|
|
8616
8616
|
*/
|
|
8617
8617
|
const AuthApiAxiosParamCreator = function (configuration) {
|
|
8618
8618
|
return {
|
|
8619
|
+
/**
|
|
8620
|
+
* Sends a password reset link to the user\'s email address
|
|
8621
|
+
* @summary Request password reset
|
|
8622
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8623
|
+
* @param {*} [options] Override http request option.
|
|
8624
|
+
* @throws {RequiredError}
|
|
8625
|
+
*/
|
|
8626
|
+
authForgotPasswordPost: (dataTypesForgotPasswordRequest_1, ...args_1) => __awaiter(this, [dataTypesForgotPasswordRequest_1, ...args_1], void 0, function* (dataTypesForgotPasswordRequest, options = {}) {
|
|
8627
|
+
// verify required parameter 'dataTypesForgotPasswordRequest' is not null or undefined
|
|
8628
|
+
(0, common_1.assertParamExists)('authForgotPasswordPost', 'dataTypesForgotPasswordRequest', dataTypesForgotPasswordRequest);
|
|
8629
|
+
const localVarPath = `/Auth/forgot-password`;
|
|
8630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8631
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8632
|
+
let baseOptions;
|
|
8633
|
+
if (configuration) {
|
|
8634
|
+
baseOptions = configuration.baseOptions;
|
|
8635
|
+
}
|
|
8636
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8637
|
+
const localVarHeaderParameter = {};
|
|
8638
|
+
const localVarQueryParameter = {};
|
|
8639
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8640
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8641
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8642
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8643
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesForgotPasswordRequest, localVarRequestOptions, configuration);
|
|
8644
|
+
return {
|
|
8645
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8646
|
+
options: localVarRequestOptions,
|
|
8647
|
+
};
|
|
8648
|
+
}),
|
|
8619
8649
|
/**
|
|
8620
8650
|
* Authenticates a user with username and password
|
|
8621
8651
|
* @summary Login a user
|
|
@@ -8671,6 +8701,65 @@ const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
8671
8701
|
options: localVarRequestOptions,
|
|
8672
8702
|
};
|
|
8673
8703
|
}),
|
|
8704
|
+
/**
|
|
8705
|
+
* Resets user password using a valid reset token
|
|
8706
|
+
* @summary Reset password with token
|
|
8707
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8708
|
+
* @param {*} [options] Override http request option.
|
|
8709
|
+
* @throws {RequiredError}
|
|
8710
|
+
*/
|
|
8711
|
+
authResetPasswordPost: (dataTypesResetPasswordRequest_1, ...args_1) => __awaiter(this, [dataTypesResetPasswordRequest_1, ...args_1], void 0, function* (dataTypesResetPasswordRequest, options = {}) {
|
|
8712
|
+
// verify required parameter 'dataTypesResetPasswordRequest' is not null or undefined
|
|
8713
|
+
(0, common_1.assertParamExists)('authResetPasswordPost', 'dataTypesResetPasswordRequest', dataTypesResetPasswordRequest);
|
|
8714
|
+
const localVarPath = `/Auth/reset-password`;
|
|
8715
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8716
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8717
|
+
let baseOptions;
|
|
8718
|
+
if (configuration) {
|
|
8719
|
+
baseOptions = configuration.baseOptions;
|
|
8720
|
+
}
|
|
8721
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8722
|
+
const localVarHeaderParameter = {};
|
|
8723
|
+
const localVarQueryParameter = {};
|
|
8724
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8725
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8727
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8728
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesResetPasswordRequest, localVarRequestOptions, configuration);
|
|
8729
|
+
return {
|
|
8730
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8731
|
+
options: localVarRequestOptions,
|
|
8732
|
+
};
|
|
8733
|
+
}),
|
|
8734
|
+
/**
|
|
8735
|
+
* Checks if a password reset token is valid and not expired
|
|
8736
|
+
* @summary Verify reset token validity
|
|
8737
|
+
* @param {string} token Reset token
|
|
8738
|
+
* @param {*} [options] Override http request option.
|
|
8739
|
+
* @throws {RequiredError}
|
|
8740
|
+
*/
|
|
8741
|
+
authResetPasswordTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
8742
|
+
// verify required parameter 'token' is not null or undefined
|
|
8743
|
+
(0, common_1.assertParamExists)('authResetPasswordTokenGet', 'token', token);
|
|
8744
|
+
const localVarPath = `/Auth/reset-password/{token}`
|
|
8745
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
8746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8747
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8748
|
+
let baseOptions;
|
|
8749
|
+
if (configuration) {
|
|
8750
|
+
baseOptions = configuration.baseOptions;
|
|
8751
|
+
}
|
|
8752
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8753
|
+
const localVarHeaderParameter = {};
|
|
8754
|
+
const localVarQueryParameter = {};
|
|
8755
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8757
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8758
|
+
return {
|
|
8759
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8760
|
+
options: localVarRequestOptions,
|
|
8761
|
+
};
|
|
8762
|
+
}),
|
|
8674
8763
|
/**
|
|
8675
8764
|
* Returns refreshed session data for authenticated user
|
|
8676
8765
|
* @summary Get current auth session
|
|
@@ -8744,6 +8833,22 @@ exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator;
|
|
|
8744
8833
|
const AuthApiFp = function (configuration) {
|
|
8745
8834
|
const localVarAxiosParamCreator = (0, exports.AuthApiAxiosParamCreator)(configuration);
|
|
8746
8835
|
return {
|
|
8836
|
+
/**
|
|
8837
|
+
* Sends a password reset link to the user\'s email address
|
|
8838
|
+
* @summary Request password reset
|
|
8839
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8840
|
+
* @param {*} [options] Override http request option.
|
|
8841
|
+
* @throws {RequiredError}
|
|
8842
|
+
*/
|
|
8843
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
8844
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8845
|
+
var _a, _b, _c;
|
|
8846
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authForgotPasswordPost(dataTypesForgotPasswordRequest, options);
|
|
8847
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8848
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authForgotPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8849
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8850
|
+
});
|
|
8851
|
+
},
|
|
8747
8852
|
/**
|
|
8748
8853
|
* Authenticates a user with username and password
|
|
8749
8854
|
* @summary Login a user
|
|
@@ -8775,6 +8880,38 @@ const AuthApiFp = function (configuration) {
|
|
|
8775
8880
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8776
8881
|
});
|
|
8777
8882
|
},
|
|
8883
|
+
/**
|
|
8884
|
+
* Resets user password using a valid reset token
|
|
8885
|
+
* @summary Reset password with token
|
|
8886
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8887
|
+
* @param {*} [options] Override http request option.
|
|
8888
|
+
* @throws {RequiredError}
|
|
8889
|
+
*/
|
|
8890
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
8891
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8892
|
+
var _a, _b, _c;
|
|
8893
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authResetPasswordPost(dataTypesResetPasswordRequest, options);
|
|
8894
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8895
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authResetPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8896
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8897
|
+
});
|
|
8898
|
+
},
|
|
8899
|
+
/**
|
|
8900
|
+
* Checks if a password reset token is valid and not expired
|
|
8901
|
+
* @summary Verify reset token validity
|
|
8902
|
+
* @param {string} token Reset token
|
|
8903
|
+
* @param {*} [options] Override http request option.
|
|
8904
|
+
* @throws {RequiredError}
|
|
8905
|
+
*/
|
|
8906
|
+
authResetPasswordTokenGet(token, options) {
|
|
8907
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8908
|
+
var _a, _b, _c;
|
|
8909
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authResetPasswordTokenGet(token, options);
|
|
8910
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8911
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authResetPasswordTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8912
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8913
|
+
});
|
|
8914
|
+
},
|
|
8778
8915
|
/**
|
|
8779
8916
|
* Returns refreshed session data for authenticated user
|
|
8780
8917
|
* @summary Get current auth session
|
|
@@ -8817,6 +8954,16 @@ exports.AuthApiFp = AuthApiFp;
|
|
|
8817
8954
|
const AuthApiFactory = function (configuration, basePath, axios) {
|
|
8818
8955
|
const localVarFp = (0, exports.AuthApiFp)(configuration);
|
|
8819
8956
|
return {
|
|
8957
|
+
/**
|
|
8958
|
+
* Sends a password reset link to the user\'s email address
|
|
8959
|
+
* @summary Request password reset
|
|
8960
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
8961
|
+
* @param {*} [options] Override http request option.
|
|
8962
|
+
* @throws {RequiredError}
|
|
8963
|
+
*/
|
|
8964
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
8965
|
+
return localVarFp.authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
8966
|
+
},
|
|
8820
8967
|
/**
|
|
8821
8968
|
* Authenticates a user with username and password
|
|
8822
8969
|
* @summary Login a user
|
|
@@ -8836,6 +8983,26 @@ const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
8836
8983
|
authLogoutPost(options) {
|
|
8837
8984
|
return localVarFp.authLogoutPost(options).then((request) => request(axios, basePath));
|
|
8838
8985
|
},
|
|
8986
|
+
/**
|
|
8987
|
+
* Resets user password using a valid reset token
|
|
8988
|
+
* @summary Reset password with token
|
|
8989
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
8990
|
+
* @param {*} [options] Override http request option.
|
|
8991
|
+
* @throws {RequiredError}
|
|
8992
|
+
*/
|
|
8993
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
8994
|
+
return localVarFp.authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
8995
|
+
},
|
|
8996
|
+
/**
|
|
8997
|
+
* Checks if a password reset token is valid and not expired
|
|
8998
|
+
* @summary Verify reset token validity
|
|
8999
|
+
* @param {string} token Reset token
|
|
9000
|
+
* @param {*} [options] Override http request option.
|
|
9001
|
+
* @throws {RequiredError}
|
|
9002
|
+
*/
|
|
9003
|
+
authResetPasswordTokenGet(token, options) {
|
|
9004
|
+
return localVarFp.authResetPasswordTokenGet(token, options).then((request) => request(axios, basePath));
|
|
9005
|
+
},
|
|
8839
9006
|
/**
|
|
8840
9007
|
* Returns refreshed session data for authenticated user
|
|
8841
9008
|
* @summary Get current auth session
|
|
@@ -8866,6 +9033,17 @@ exports.AuthApiFactory = AuthApiFactory;
|
|
|
8866
9033
|
* @extends {BaseAPI}
|
|
8867
9034
|
*/
|
|
8868
9035
|
class AuthApi extends base_1.BaseAPI {
|
|
9036
|
+
/**
|
|
9037
|
+
* Sends a password reset link to the user\'s email address
|
|
9038
|
+
* @summary Request password reset
|
|
9039
|
+
* @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
|
|
9040
|
+
* @param {*} [options] Override http request option.
|
|
9041
|
+
* @throws {RequiredError}
|
|
9042
|
+
* @memberof AuthApi
|
|
9043
|
+
*/
|
|
9044
|
+
authForgotPasswordPost(dataTypesForgotPasswordRequest, options) {
|
|
9045
|
+
return (0, exports.AuthApiFp)(this.configuration).authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9046
|
+
}
|
|
8869
9047
|
/**
|
|
8870
9048
|
* Authenticates a user with username and password
|
|
8871
9049
|
* @summary Login a user
|
|
@@ -8887,6 +9065,28 @@ class AuthApi extends base_1.BaseAPI {
|
|
|
8887
9065
|
authLogoutPost(options) {
|
|
8888
9066
|
return (0, exports.AuthApiFp)(this.configuration).authLogoutPost(options).then((request) => request(this.axios, this.basePath));
|
|
8889
9067
|
}
|
|
9068
|
+
/**
|
|
9069
|
+
* Resets user password using a valid reset token
|
|
9070
|
+
* @summary Reset password with token
|
|
9071
|
+
* @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
|
|
9072
|
+
* @param {*} [options] Override http request option.
|
|
9073
|
+
* @throws {RequiredError}
|
|
9074
|
+
* @memberof AuthApi
|
|
9075
|
+
*/
|
|
9076
|
+
authResetPasswordPost(dataTypesResetPasswordRequest, options) {
|
|
9077
|
+
return (0, exports.AuthApiFp)(this.configuration).authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9078
|
+
}
|
|
9079
|
+
/**
|
|
9080
|
+
* Checks if a password reset token is valid and not expired
|
|
9081
|
+
* @summary Verify reset token validity
|
|
9082
|
+
* @param {string} token Reset token
|
|
9083
|
+
* @param {*} [options] Override http request option.
|
|
9084
|
+
* @throws {RequiredError}
|
|
9085
|
+
* @memberof AuthApi
|
|
9086
|
+
*/
|
|
9087
|
+
authResetPasswordTokenGet(token, options) {
|
|
9088
|
+
return (0, exports.AuthApiFp)(this.configuration).authResetPasswordTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
9089
|
+
}
|
|
8890
9090
|
/**
|
|
8891
9091
|
* Returns refreshed session data for authenticated user
|
|
8892
9092
|
* @summary Get current auth session
|
|
@@ -34168,12 +34368,15 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
34168
34368
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34169
34369
|
* @param {string} [method] HTTP method filter
|
|
34170
34370
|
* @param {string} [path] Path filter (partial match)
|
|
34371
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
34372
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
34373
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34171
34374
|
* @param {number} [page] Page number (default: 1)
|
|
34172
34375
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34173
34376
|
* @param {*} [options] Override http request option.
|
|
34174
34377
|
* @throws {RequiredError}
|
|
34175
34378
|
*/
|
|
34176
|
-
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 = {}) {
|
|
34379
|
+
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 = {}) {
|
|
34177
34380
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
34178
34381
|
(0, common_1.assertParamExists)('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID);
|
|
34179
34382
|
const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
|
|
@@ -34201,6 +34404,15 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
34201
34404
|
if (path !== undefined) {
|
|
34202
34405
|
localVarQueryParameter['path'] = path;
|
|
34203
34406
|
}
|
|
34407
|
+
if (statusCode !== undefined) {
|
|
34408
|
+
localVarQueryParameter['status_code'] = statusCode;
|
|
34409
|
+
}
|
|
34410
|
+
if (endpointType !== undefined) {
|
|
34411
|
+
localVarQueryParameter['endpoint_type'] = endpointType;
|
|
34412
|
+
}
|
|
34413
|
+
if (responseTime !== undefined) {
|
|
34414
|
+
localVarQueryParameter['response_time'] = responseTime;
|
|
34415
|
+
}
|
|
34204
34416
|
if (page !== undefined) {
|
|
34205
34417
|
localVarQueryParameter['page'] = page;
|
|
34206
34418
|
}
|
|
@@ -34673,15 +34885,18 @@ const StoresApiFp = function (configuration) {
|
|
|
34673
34885
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34674
34886
|
* @param {string} [method] HTTP method filter
|
|
34675
34887
|
* @param {string} [path] Path filter (partial match)
|
|
34888
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
34889
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
34890
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34676
34891
|
* @param {number} [page] Page number (default: 1)
|
|
34677
34892
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34678
34893
|
* @param {*} [options] Override http request option.
|
|
34679
34894
|
* @throws {RequiredError}
|
|
34680
34895
|
*/
|
|
34681
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
34896
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
34682
34897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34683
34898
|
var _a, _b, _c;
|
|
34684
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
|
|
34899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
|
|
34685
34900
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34686
34901
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34687
34902
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -34942,13 +35157,16 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
34942
35157
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
34943
35158
|
* @param {string} [method] HTTP method filter
|
|
34944
35159
|
* @param {string} [path] Path filter (partial match)
|
|
35160
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
35161
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
35162
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
34945
35163
|
* @param {number} [page] Page number (default: 1)
|
|
34946
35164
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
34947
35165
|
* @param {*} [options] Override http request option.
|
|
34948
35166
|
* @throws {RequiredError}
|
|
34949
35167
|
*/
|
|
34950
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
34951
|
-
return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
|
|
35168
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
35169
|
+
return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
|
|
34952
35170
|
},
|
|
34953
35171
|
/**
|
|
34954
35172
|
* Retrieves the store configuration using x-store ID, including onboarding status validation
|
|
@@ -35159,14 +35377,17 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
35159
35377
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
35160
35378
|
* @param {string} [method] HTTP method filter
|
|
35161
35379
|
* @param {string} [path] Path filter (partial match)
|
|
35380
|
+
* @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
|
|
35381
|
+
* @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
|
|
35382
|
+
* @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
|
|
35162
35383
|
* @param {number} [page] Page number (default: 1)
|
|
35163
35384
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
35164
35385
|
* @param {*} [options] Override http request option.
|
|
35165
35386
|
* @throws {RequiredError}
|
|
35166
35387
|
* @memberof StoresApi
|
|
35167
35388
|
*/
|
|
35168
|
-
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
35169
|
-
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
35389
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
|
|
35390
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
35170
35391
|
}
|
|
35171
35392
|
/**
|
|
35172
35393
|
* Retrieves the store configuration using x-store ID, including onboarding status validation
|