@seekora-ai/admin-api 1.0.99 → 1.0.100
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 +16 -3
- package/api.ts +980 -120
- package/dist/api.d.ts +684 -85
- package/dist/api.js +487 -22
- package/dist/esm/api.d.ts +684 -85
- package/dist/esm/api.js +487 -22
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.100.tgz +0 -0
- package/seekora-ai-admin-api-1.0.99.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -755,6 +755,38 @@ const AccountSettingsApiAxiosParamCreator = function (configuration) {
|
|
|
755
755
|
options: localVarRequestOptions,
|
|
756
756
|
};
|
|
757
757
|
}),
|
|
758
|
+
/**
|
|
759
|
+
* Allows user to set password only if not already set (Google/GitHub signup)
|
|
760
|
+
* @summary Set password for OAuth/new user
|
|
761
|
+
* @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
*/
|
|
765
|
+
accountSettingsSetPasswordPut: (dataTypesSetPasswordRequest_1, ...args_1) => __awaiter(this, [dataTypesSetPasswordRequest_1, ...args_1], void 0, function* (dataTypesSetPasswordRequest, options = {}) {
|
|
766
|
+
// verify required parameter 'dataTypesSetPasswordRequest' is not null or undefined
|
|
767
|
+
(0, common_1.assertParamExists)('accountSettingsSetPasswordPut', 'dataTypesSetPasswordRequest', dataTypesSetPasswordRequest);
|
|
768
|
+
const localVarPath = `/account-settings/set-password`;
|
|
769
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
770
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
771
|
+
let baseOptions;
|
|
772
|
+
if (configuration) {
|
|
773
|
+
baseOptions = configuration.baseOptions;
|
|
774
|
+
}
|
|
775
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
776
|
+
const localVarHeaderParameter = {};
|
|
777
|
+
const localVarQueryParameter = {};
|
|
778
|
+
// authentication BearerAuth required
|
|
779
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
780
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
781
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
784
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesSetPasswordRequest, localVarRequestOptions, configuration);
|
|
785
|
+
return {
|
|
786
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
787
|
+
options: localVarRequestOptions,
|
|
788
|
+
};
|
|
789
|
+
}),
|
|
758
790
|
};
|
|
759
791
|
};
|
|
760
792
|
exports.AccountSettingsApiAxiosParamCreator = AccountSettingsApiAxiosParamCreator;
|
|
@@ -874,6 +906,22 @@ const AccountSettingsApiFp = function (configuration) {
|
|
|
874
906
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
875
907
|
});
|
|
876
908
|
},
|
|
909
|
+
/**
|
|
910
|
+
* Allows user to set password only if not already set (Google/GitHub signup)
|
|
911
|
+
* @summary Set password for OAuth/new user
|
|
912
|
+
* @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @throws {RequiredError}
|
|
915
|
+
*/
|
|
916
|
+
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options) {
|
|
917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
918
|
+
var _a, _b, _c;
|
|
919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options);
|
|
920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
921
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountSettingsApi.accountSettingsSetPasswordPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
922
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
923
|
+
});
|
|
924
|
+
},
|
|
877
925
|
};
|
|
878
926
|
};
|
|
879
927
|
exports.AccountSettingsApiFp = AccountSettingsApiFp;
|
|
@@ -951,6 +999,16 @@ const AccountSettingsApiFactory = function (configuration, basePath, axios) {
|
|
|
951
999
|
accountSettingsProfilePut(dataTypesUpdateProfileRequest, options) {
|
|
952
1000
|
return localVarFp.accountSettingsProfilePut(dataTypesUpdateProfileRequest, options).then((request) => request(axios, basePath));
|
|
953
1001
|
},
|
|
1002
|
+
/**
|
|
1003
|
+
* Allows user to set password only if not already set (Google/GitHub signup)
|
|
1004
|
+
* @summary Set password for OAuth/new user
|
|
1005
|
+
* @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options) {
|
|
1010
|
+
return localVarFp.accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1011
|
+
},
|
|
954
1012
|
};
|
|
955
1013
|
};
|
|
956
1014
|
exports.AccountSettingsApiFactory = AccountSettingsApiFactory;
|
|
@@ -1035,6 +1093,17 @@ class AccountSettingsApi extends base_1.BaseAPI {
|
|
|
1035
1093
|
accountSettingsProfilePut(dataTypesUpdateProfileRequest, options) {
|
|
1036
1094
|
return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsProfilePut(dataTypesUpdateProfileRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1037
1095
|
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Allows user to set password only if not already set (Google/GitHub signup)
|
|
1098
|
+
* @summary Set password for OAuth/new user
|
|
1099
|
+
* @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
|
|
1100
|
+
* @param {*} [options] Override http request option.
|
|
1101
|
+
* @throws {RequiredError}
|
|
1102
|
+
* @memberof AccountSettingsApi
|
|
1103
|
+
*/
|
|
1104
|
+
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options) {
|
|
1105
|
+
return (0, exports.AccountSettingsApiFp)(this.configuration).accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1106
|
+
}
|
|
1038
1107
|
}
|
|
1039
1108
|
exports.AccountSettingsApi = AccountSettingsApi;
|
|
1040
1109
|
/**
|
|
@@ -2650,6 +2719,112 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2650
2719
|
options: localVarRequestOptions,
|
|
2651
2720
|
};
|
|
2652
2721
|
}),
|
|
2722
|
+
/**
|
|
2723
|
+
* Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
|
|
2724
|
+
* @summary Get API Usage Logs
|
|
2725
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
2726
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
2727
|
+
* @param {string} [method] HTTP method filter
|
|
2728
|
+
* @param {string} [path] Path filter (partial match)
|
|
2729
|
+
* @param {string} [storeId] Store ID filter
|
|
2730
|
+
* @param {number} [page] Page number (default: 1)
|
|
2731
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
2732
|
+
* @param {*} [options] Override http request option.
|
|
2733
|
+
* @throws {RequiredError}
|
|
2734
|
+
*/
|
|
2735
|
+
analyticsApiUsageGet: (startDate_1, endDate_1, method_1, path_1, storeId_1, page_1, perPage_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, method_1, path_1, storeId_1, page_1, perPage_1, ...args_1], void 0, function* (startDate, endDate, method, path, storeId, page, perPage, options = {}) {
|
|
2736
|
+
const localVarPath = `/analytics/api-usage`;
|
|
2737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2738
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2739
|
+
let baseOptions;
|
|
2740
|
+
if (configuration) {
|
|
2741
|
+
baseOptions = configuration.baseOptions;
|
|
2742
|
+
}
|
|
2743
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2744
|
+
const localVarHeaderParameter = {};
|
|
2745
|
+
const localVarQueryParameter = {};
|
|
2746
|
+
// authentication BearerAuth required
|
|
2747
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2748
|
+
if (startDate !== undefined) {
|
|
2749
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
2750
|
+
}
|
|
2751
|
+
if (endDate !== undefined) {
|
|
2752
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
2753
|
+
}
|
|
2754
|
+
if (method !== undefined) {
|
|
2755
|
+
localVarQueryParameter['method'] = method;
|
|
2756
|
+
}
|
|
2757
|
+
if (path !== undefined) {
|
|
2758
|
+
localVarQueryParameter['path'] = path;
|
|
2759
|
+
}
|
|
2760
|
+
if (storeId !== undefined) {
|
|
2761
|
+
localVarQueryParameter['store_id'] = storeId;
|
|
2762
|
+
}
|
|
2763
|
+
if (page !== undefined) {
|
|
2764
|
+
localVarQueryParameter['page'] = page;
|
|
2765
|
+
}
|
|
2766
|
+
if (perPage !== undefined) {
|
|
2767
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
2768
|
+
}
|
|
2769
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2770
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2771
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2772
|
+
return {
|
|
2773
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2774
|
+
options: localVarRequestOptions,
|
|
2775
|
+
};
|
|
2776
|
+
}),
|
|
2777
|
+
/**
|
|
2778
|
+
* Retrieve API usage logs for a specific store from ClickHouse
|
|
2779
|
+
* @summary Get Store API Usage Logs
|
|
2780
|
+
* @param {string} storeId Store ID
|
|
2781
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
2782
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
2783
|
+
* @param {string} [method] HTTP method filter
|
|
2784
|
+
* @param {number} [page] Page number (default: 1)
|
|
2785
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
analyticsApiUsageStoreStoreIdGet: (storeId_1, startDate_1, endDate_1, method_1, page_1, perPage_1, ...args_1) => __awaiter(this, [storeId_1, startDate_1, endDate_1, method_1, page_1, perPage_1, ...args_1], void 0, function* (storeId, startDate, endDate, method, page, perPage, options = {}) {
|
|
2790
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
2791
|
+
(0, common_1.assertParamExists)('analyticsApiUsageStoreStoreIdGet', 'storeId', storeId);
|
|
2792
|
+
const localVarPath = `/analytics/api-usage/store/{storeId}`
|
|
2793
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
2794
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2795
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2796
|
+
let baseOptions;
|
|
2797
|
+
if (configuration) {
|
|
2798
|
+
baseOptions = configuration.baseOptions;
|
|
2799
|
+
}
|
|
2800
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2801
|
+
const localVarHeaderParameter = {};
|
|
2802
|
+
const localVarQueryParameter = {};
|
|
2803
|
+
// authentication BearerAuth required
|
|
2804
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2805
|
+
if (startDate !== undefined) {
|
|
2806
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
2807
|
+
}
|
|
2808
|
+
if (endDate !== undefined) {
|
|
2809
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
2810
|
+
}
|
|
2811
|
+
if (method !== undefined) {
|
|
2812
|
+
localVarQueryParameter['method'] = method;
|
|
2813
|
+
}
|
|
2814
|
+
if (page !== undefined) {
|
|
2815
|
+
localVarQueryParameter['page'] = page;
|
|
2816
|
+
}
|
|
2817
|
+
if (perPage !== undefined) {
|
|
2818
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
2819
|
+
}
|
|
2820
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2822
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2823
|
+
return {
|
|
2824
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2825
|
+
options: localVarRequestOptions,
|
|
2826
|
+
};
|
|
2827
|
+
}),
|
|
2653
2828
|
};
|
|
2654
2829
|
};
|
|
2655
2830
|
exports.AnalyticsApiAxiosParamCreator = AnalyticsApiAxiosParamCreator;
|
|
@@ -3211,6 +3386,49 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
3211
3386
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3212
3387
|
});
|
|
3213
3388
|
},
|
|
3389
|
+
/**
|
|
3390
|
+
* Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
|
|
3391
|
+
* @summary Get API Usage Logs
|
|
3392
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
3393
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
3394
|
+
* @param {string} [method] HTTP method filter
|
|
3395
|
+
* @param {string} [path] Path filter (partial match)
|
|
3396
|
+
* @param {string} [storeId] Store ID filter
|
|
3397
|
+
* @param {number} [page] Page number (default: 1)
|
|
3398
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
3399
|
+
* @param {*} [options] Override http request option.
|
|
3400
|
+
* @throws {RequiredError}
|
|
3401
|
+
*/
|
|
3402
|
+
analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options) {
|
|
3403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3404
|
+
var _a, _b, _c;
|
|
3405
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options);
|
|
3406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3407
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.analyticsApiUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3408
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3409
|
+
});
|
|
3410
|
+
},
|
|
3411
|
+
/**
|
|
3412
|
+
* Retrieve API usage logs for a specific store from ClickHouse
|
|
3413
|
+
* @summary Get Store API Usage Logs
|
|
3414
|
+
* @param {string} storeId Store ID
|
|
3415
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
3416
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
3417
|
+
* @param {string} [method] HTTP method filter
|
|
3418
|
+
* @param {number} [page] Page number (default: 1)
|
|
3419
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
3420
|
+
* @param {*} [options] Override http request option.
|
|
3421
|
+
* @throws {RequiredError}
|
|
3422
|
+
*/
|
|
3423
|
+
analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options) {
|
|
3424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3425
|
+
var _a, _b, _c;
|
|
3426
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options);
|
|
3427
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3428
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.analyticsApiUsageStoreStoreIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3429
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3430
|
+
});
|
|
3431
|
+
},
|
|
3214
3432
|
};
|
|
3215
3433
|
};
|
|
3216
3434
|
exports.AnalyticsApiFp = AnalyticsApiFp;
|
|
@@ -3664,6 +3882,37 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3664
3882
|
adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3665
3883
|
return localVarFp.adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
|
|
3666
3884
|
},
|
|
3885
|
+
/**
|
|
3886
|
+
* Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
|
|
3887
|
+
* @summary Get API Usage Logs
|
|
3888
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
3889
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
3890
|
+
* @param {string} [method] HTTP method filter
|
|
3891
|
+
* @param {string} [path] Path filter (partial match)
|
|
3892
|
+
* @param {string} [storeId] Store ID filter
|
|
3893
|
+
* @param {number} [page] Page number (default: 1)
|
|
3894
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options) {
|
|
3899
|
+
return localVarFp.analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options).then((request) => request(axios, basePath));
|
|
3900
|
+
},
|
|
3901
|
+
/**
|
|
3902
|
+
* Retrieve API usage logs for a specific store from ClickHouse
|
|
3903
|
+
* @summary Get Store API Usage Logs
|
|
3904
|
+
* @param {string} storeId Store ID
|
|
3905
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
3906
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
3907
|
+
* @param {string} [method] HTTP method filter
|
|
3908
|
+
* @param {number} [page] Page number (default: 1)
|
|
3909
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
3910
|
+
* @param {*} [options] Override http request option.
|
|
3911
|
+
* @throws {RequiredError}
|
|
3912
|
+
*/
|
|
3913
|
+
analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options) {
|
|
3914
|
+
return localVarFp.analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options).then((request) => request(axios, basePath));
|
|
3915
|
+
},
|
|
3667
3916
|
};
|
|
3668
3917
|
};
|
|
3669
3918
|
exports.AnalyticsApiFactory = AnalyticsApiFactory;
|
|
@@ -4135,6 +4384,39 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
4135
4384
|
adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
4136
4385
|
return (0, exports.AnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
|
|
4137
4386
|
}
|
|
4387
|
+
/**
|
|
4388
|
+
* Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
|
|
4389
|
+
* @summary Get API Usage Logs
|
|
4390
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
4391
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
4392
|
+
* @param {string} [method] HTTP method filter
|
|
4393
|
+
* @param {string} [path] Path filter (partial match)
|
|
4394
|
+
* @param {string} [storeId] Store ID filter
|
|
4395
|
+
* @param {number} [page] Page number (default: 1)
|
|
4396
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
4397
|
+
* @param {*} [options] Override http request option.
|
|
4398
|
+
* @throws {RequiredError}
|
|
4399
|
+
* @memberof AnalyticsApi
|
|
4400
|
+
*/
|
|
4401
|
+
analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options) {
|
|
4402
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
4403
|
+
}
|
|
4404
|
+
/**
|
|
4405
|
+
* Retrieve API usage logs for a specific store from ClickHouse
|
|
4406
|
+
* @summary Get Store API Usage Logs
|
|
4407
|
+
* @param {string} storeId Store ID
|
|
4408
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
4409
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
4410
|
+
* @param {string} [method] HTTP method filter
|
|
4411
|
+
* @param {number} [page] Page number (default: 1)
|
|
4412
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
4413
|
+
* @param {*} [options] Override http request option.
|
|
4414
|
+
* @throws {RequiredError}
|
|
4415
|
+
* @memberof AnalyticsApi
|
|
4416
|
+
*/
|
|
4417
|
+
analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options) {
|
|
4418
|
+
return (0, exports.AnalyticsApiFp)(this.configuration).analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
4419
|
+
}
|
|
4138
4420
|
}
|
|
4139
4421
|
exports.AnalyticsApi = AnalyticsApi;
|
|
4140
4422
|
/**
|
|
@@ -7452,10 +7734,10 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7452
7734
|
};
|
|
7453
7735
|
}),
|
|
7454
7736
|
/**
|
|
7455
|
-
* Retrieves invoices with filtering options
|
|
7737
|
+
* Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
|
|
7456
7738
|
* @summary Get invoices
|
|
7457
|
-
* @param {number} [orgId] Organization ID
|
|
7458
|
-
* @param {string} [status] Invoice status
|
|
7739
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
7740
|
+
* @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
|
|
7459
7741
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7460
7742
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7461
7743
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8228,10 +8510,10 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8228
8510
|
});
|
|
8229
8511
|
},
|
|
8230
8512
|
/**
|
|
8231
|
-
* Retrieves invoices with filtering options
|
|
8513
|
+
* Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
|
|
8232
8514
|
* @summary Get invoices
|
|
8233
|
-
* @param {number} [orgId] Organization ID
|
|
8234
|
-
* @param {string} [status] Invoice status
|
|
8515
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8516
|
+
* @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
|
|
8235
8517
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8236
8518
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8237
8519
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8632,10 +8914,10 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8632
8914
|
return localVarFp.adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(axios, basePath));
|
|
8633
8915
|
},
|
|
8634
8916
|
/**
|
|
8635
|
-
* Retrieves invoices with filtering options
|
|
8917
|
+
* Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
|
|
8636
8918
|
* @summary Get invoices
|
|
8637
|
-
* @param {number} [orgId] Organization ID
|
|
8638
|
-
* @param {string} [status] Invoice status
|
|
8919
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8920
|
+
* @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
|
|
8639
8921
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8640
8922
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8641
8923
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8957,10 +9239,10 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8957
9239
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
8958
9240
|
}
|
|
8959
9241
|
/**
|
|
8960
|
-
* Retrieves invoices with filtering options
|
|
9242
|
+
* Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
|
|
8961
9243
|
* @summary Get invoices
|
|
8962
|
-
* @param {number} [orgId] Organization ID
|
|
8963
|
-
* @param {string} [status] Invoice status
|
|
9244
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
9245
|
+
* @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
|
|
8964
9246
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8965
9247
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8966
9248
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -27307,6 +27589,96 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27307
27589
|
options: localVarRequestOptions,
|
|
27308
27590
|
};
|
|
27309
27591
|
}),
|
|
27592
|
+
/**
|
|
27593
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
27594
|
+
* @summary Get Specific API Usage Event
|
|
27595
|
+
* @param {string} xStoreID Store ID
|
|
27596
|
+
* @param {string} eventID Event ID (UUID)
|
|
27597
|
+
* @param {*} [options] Override http request option.
|
|
27598
|
+
* @throws {RequiredError}
|
|
27599
|
+
*/
|
|
27600
|
+
adminStoresXStoreIDApiUsageEventIDGet: (xStoreID_1, eventID_1, ...args_1) => __awaiter(this, [xStoreID_1, eventID_1, ...args_1], void 0, function* (xStoreID, eventID, options = {}) {
|
|
27601
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27602
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDApiUsageEventIDGet', 'xStoreID', xStoreID);
|
|
27603
|
+
// verify required parameter 'eventID' is not null or undefined
|
|
27604
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDApiUsageEventIDGet', 'eventID', eventID);
|
|
27605
|
+
const localVarPath = `/admin/Stores/{xStoreID}/api-usage/{eventID}`
|
|
27606
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
27607
|
+
.replace(`{${"eventID"}}`, encodeURIComponent(String(eventID)));
|
|
27608
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27609
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27610
|
+
let baseOptions;
|
|
27611
|
+
if (configuration) {
|
|
27612
|
+
baseOptions = configuration.baseOptions;
|
|
27613
|
+
}
|
|
27614
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27615
|
+
const localVarHeaderParameter = {};
|
|
27616
|
+
const localVarQueryParameter = {};
|
|
27617
|
+
// authentication BearerAuth required
|
|
27618
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27619
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27621
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27622
|
+
return {
|
|
27623
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27624
|
+
options: localVarRequestOptions,
|
|
27625
|
+
};
|
|
27626
|
+
}),
|
|
27627
|
+
/**
|
|
27628
|
+
* Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
|
|
27629
|
+
* @summary Get API Usage Logs for Store
|
|
27630
|
+
* @param {string} xStoreID Store ID
|
|
27631
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
27632
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
27633
|
+
* @param {string} [method] HTTP method filter
|
|
27634
|
+
* @param {string} [path] Path filter (partial match)
|
|
27635
|
+
* @param {number} [page] Page number (default: 1)
|
|
27636
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
27637
|
+
* @param {*} [options] Override http request option.
|
|
27638
|
+
* @throws {RequiredError}
|
|
27639
|
+
*/
|
|
27640
|
+
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 = {}) {
|
|
27641
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
27642
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID);
|
|
27643
|
+
const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
|
|
27644
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27645
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27646
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
27647
|
+
let baseOptions;
|
|
27648
|
+
if (configuration) {
|
|
27649
|
+
baseOptions = configuration.baseOptions;
|
|
27650
|
+
}
|
|
27651
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
27652
|
+
const localVarHeaderParameter = {};
|
|
27653
|
+
const localVarQueryParameter = {};
|
|
27654
|
+
// authentication BearerAuth required
|
|
27655
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
27656
|
+
if (startDate !== undefined) {
|
|
27657
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
27658
|
+
}
|
|
27659
|
+
if (endDate !== undefined) {
|
|
27660
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
27661
|
+
}
|
|
27662
|
+
if (method !== undefined) {
|
|
27663
|
+
localVarQueryParameter['method'] = method;
|
|
27664
|
+
}
|
|
27665
|
+
if (path !== undefined) {
|
|
27666
|
+
localVarQueryParameter['path'] = path;
|
|
27667
|
+
}
|
|
27668
|
+
if (page !== undefined) {
|
|
27669
|
+
localVarQueryParameter['page'] = page;
|
|
27670
|
+
}
|
|
27671
|
+
if (perPage !== undefined) {
|
|
27672
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
27673
|
+
}
|
|
27674
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
27675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27676
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
27677
|
+
return {
|
|
27678
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
27679
|
+
options: localVarRequestOptions,
|
|
27680
|
+
};
|
|
27681
|
+
}),
|
|
27310
27682
|
/**
|
|
27311
27683
|
* Retrieves the store configuration using x-store ID
|
|
27312
27684
|
* @summary Get Store Config
|
|
@@ -27499,10 +27871,10 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27499
27871
|
};
|
|
27500
27872
|
}),
|
|
27501
27873
|
/**
|
|
27502
|
-
* Perform search on a specific store by xStoreID
|
|
27874
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27503
27875
|
* @summary Get store search results
|
|
27504
27876
|
* @param {string} xStoreID X-Store ID
|
|
27505
|
-
* @param {string} query Search query
|
|
27877
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27506
27878
|
* @param {number} [page] Page number
|
|
27507
27879
|
* @param {number} [pageSize] Page size
|
|
27508
27880
|
* @param {*} [options] Override http request option.
|
|
@@ -27511,8 +27883,6 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27511
27883
|
adminStoresXStoreIDSearchGet: (xStoreID_1, query_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, page_1, pageSize_1, ...args_1], void 0, function* (xStoreID, query, page, pageSize, options = {}) {
|
|
27512
27884
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
27513
27885
|
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID);
|
|
27514
|
-
// verify required parameter 'query' is not null or undefined
|
|
27515
|
-
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'query', query);
|
|
27516
27886
|
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
27517
27887
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27518
27888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -27705,6 +28075,45 @@ const StoresApiFp = function (configuration) {
|
|
|
27705
28075
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27706
28076
|
});
|
|
27707
28077
|
},
|
|
28078
|
+
/**
|
|
28079
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28080
|
+
* @summary Get Specific API Usage Event
|
|
28081
|
+
* @param {string} xStoreID Store ID
|
|
28082
|
+
* @param {string} eventID Event ID (UUID)
|
|
28083
|
+
* @param {*} [options] Override http request option.
|
|
28084
|
+
* @throws {RequiredError}
|
|
28085
|
+
*/
|
|
28086
|
+
adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options) {
|
|
28087
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28088
|
+
var _a, _b, _c;
|
|
28089
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options);
|
|
28090
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
28091
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDApiUsageEventIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
28092
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28093
|
+
});
|
|
28094
|
+
},
|
|
28095
|
+
/**
|
|
28096
|
+
* Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
|
|
28097
|
+
* @summary Get API Usage Logs for Store
|
|
28098
|
+
* @param {string} xStoreID Store ID
|
|
28099
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
28100
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
28101
|
+
* @param {string} [method] HTTP method filter
|
|
28102
|
+
* @param {string} [path] Path filter (partial match)
|
|
28103
|
+
* @param {number} [page] Page number (default: 1)
|
|
28104
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
28105
|
+
* @param {*} [options] Override http request option.
|
|
28106
|
+
* @throws {RequiredError}
|
|
28107
|
+
*/
|
|
28108
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
28109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28110
|
+
var _a, _b, _c;
|
|
28111
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
|
|
28112
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
28113
|
+
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;
|
|
28114
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28115
|
+
});
|
|
28116
|
+
},
|
|
27708
28117
|
/**
|
|
27709
28118
|
* Retrieves the store configuration using x-store ID
|
|
27710
28119
|
* @summary Get Store Config
|
|
@@ -27803,10 +28212,10 @@ const StoresApiFp = function (configuration) {
|
|
|
27803
28212
|
});
|
|
27804
28213
|
},
|
|
27805
28214
|
/**
|
|
27806
|
-
* Perform search on a specific store by xStoreID
|
|
28215
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27807
28216
|
* @summary Get store search results
|
|
27808
28217
|
* @param {string} xStoreID X-Store ID
|
|
27809
|
-
* @param {string} query Search query
|
|
28218
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27810
28219
|
* @param {number} [page] Page number
|
|
27811
28220
|
* @param {number} [pageSize] Page size
|
|
27812
28221
|
* @param {*} [options] Override http request option.
|
|
@@ -27916,6 +28325,33 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27916
28325
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
27917
28326
|
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
27918
28327
|
},
|
|
28328
|
+
/**
|
|
28329
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28330
|
+
* @summary Get Specific API Usage Event
|
|
28331
|
+
* @param {string} xStoreID Store ID
|
|
28332
|
+
* @param {string} eventID Event ID (UUID)
|
|
28333
|
+
* @param {*} [options] Override http request option.
|
|
28334
|
+
* @throws {RequiredError}
|
|
28335
|
+
*/
|
|
28336
|
+
adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options) {
|
|
28337
|
+
return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
|
|
28338
|
+
},
|
|
28339
|
+
/**
|
|
28340
|
+
* Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
|
|
28341
|
+
* @summary Get API Usage Logs for Store
|
|
28342
|
+
* @param {string} xStoreID Store ID
|
|
28343
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
28344
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
28345
|
+
* @param {string} [method] HTTP method filter
|
|
28346
|
+
* @param {string} [path] Path filter (partial match)
|
|
28347
|
+
* @param {number} [page] Page number (default: 1)
|
|
28348
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
28349
|
+
* @param {*} [options] Override http request option.
|
|
28350
|
+
* @throws {RequiredError}
|
|
28351
|
+
*/
|
|
28352
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
28353
|
+
return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
|
|
28354
|
+
},
|
|
27919
28355
|
/**
|
|
27920
28356
|
* Retrieves the store configuration using x-store ID
|
|
27921
28357
|
* @summary Get Store Config
|
|
@@ -27978,10 +28414,10 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27978
28414
|
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27979
28415
|
},
|
|
27980
28416
|
/**
|
|
27981
|
-
* Perform search on a specific store by xStoreID
|
|
28417
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27982
28418
|
* @summary Get store search results
|
|
27983
28419
|
* @param {string} xStoreID X-Store ID
|
|
27984
|
-
* @param {string} query Search query
|
|
28420
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27985
28421
|
* @param {number} [page] Page number
|
|
27986
28422
|
* @param {number} [pageSize] Page size
|
|
27987
28423
|
* @param {*} [options] Override http request option.
|
|
@@ -28078,6 +28514,35 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
28078
28514
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
28079
28515
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
28080
28516
|
}
|
|
28517
|
+
/**
|
|
28518
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
28519
|
+
* @summary Get Specific API Usage Event
|
|
28520
|
+
* @param {string} xStoreID Store ID
|
|
28521
|
+
* @param {string} eventID Event ID (UUID)
|
|
28522
|
+
* @param {*} [options] Override http request option.
|
|
28523
|
+
* @throws {RequiredError}
|
|
28524
|
+
* @memberof StoresApi
|
|
28525
|
+
*/
|
|
28526
|
+
adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options) {
|
|
28527
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(this.axios, this.basePath));
|
|
28528
|
+
}
|
|
28529
|
+
/**
|
|
28530
|
+
* Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
|
|
28531
|
+
* @summary Get API Usage Logs for Store
|
|
28532
|
+
* @param {string} xStoreID Store ID
|
|
28533
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
28534
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
28535
|
+
* @param {string} [method] HTTP method filter
|
|
28536
|
+
* @param {string} [path] Path filter (partial match)
|
|
28537
|
+
* @param {number} [page] Page number (default: 1)
|
|
28538
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
28539
|
+
* @param {*} [options] Override http request option.
|
|
28540
|
+
* @throws {RequiredError}
|
|
28541
|
+
* @memberof StoresApi
|
|
28542
|
+
*/
|
|
28543
|
+
adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options) {
|
|
28544
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
28545
|
+
}
|
|
28081
28546
|
/**
|
|
28082
28547
|
* Retrieves the store configuration using x-store ID
|
|
28083
28548
|
* @summary Get Store Config
|
|
@@ -28146,10 +28611,10 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
28146
28611
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
28147
28612
|
}
|
|
28148
28613
|
/**
|
|
28149
|
-
* Perform search on a specific store by xStoreID
|
|
28614
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
28150
28615
|
* @summary Get store search results
|
|
28151
28616
|
* @param {string} xStoreID X-Store ID
|
|
28152
|
-
* @param {string} query Search query
|
|
28617
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
28153
28618
|
* @param {number} [page] Page number
|
|
28154
28619
|
* @param {number} [pageSize] Page size
|
|
28155
28620
|
* @param {*} [options] Override http request option.
|