@seekora-ai/admin-api 1.0.98 → 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 +27 -3
- package/api.ts +1490 -105
- package/dist/api.d.ts +1188 -180
- package/dist/api.js +697 -22
- package/dist/esm/api.d.ts +1188 -180
- package/dist/esm/api.js +697 -22
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.100.tgz +0 -0
- package/seekora-ai-admin-api-1.0.98.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
|
/**
|
|
@@ -7389,6 +7671,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7389
7671
|
options: localVarRequestOptions,
|
|
7390
7672
|
};
|
|
7391
7673
|
}),
|
|
7674
|
+
/**
|
|
7675
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
7676
|
+
* @summary Generate invoices for an order
|
|
7677
|
+
* @param {number} orderId Order ID
|
|
7678
|
+
* @param {*} [options] Override http request option.
|
|
7679
|
+
* @throws {RequiredError}
|
|
7680
|
+
*/
|
|
7681
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
|
|
7682
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
7683
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesGenerateForOrderOrderIdPost', 'orderId', orderId);
|
|
7684
|
+
const localVarPath = `/admin/billing/invoices/generate-for-order/{orderId}`
|
|
7685
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
7686
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7687
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7688
|
+
let baseOptions;
|
|
7689
|
+
if (configuration) {
|
|
7690
|
+
baseOptions = configuration.baseOptions;
|
|
7691
|
+
}
|
|
7692
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7693
|
+
const localVarHeaderParameter = {};
|
|
7694
|
+
const localVarQueryParameter = {};
|
|
7695
|
+
// authentication BearerAuth required
|
|
7696
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7697
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7698
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7699
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7700
|
+
return {
|
|
7701
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7702
|
+
options: localVarRequestOptions,
|
|
7703
|
+
};
|
|
7704
|
+
}),
|
|
7392
7705
|
/**
|
|
7393
7706
|
* Generates an invoice automatically from a completed payment
|
|
7394
7707
|
* @summary Generate invoice from payment
|
|
@@ -7421,10 +7734,10 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7421
7734
|
};
|
|
7422
7735
|
}),
|
|
7423
7736
|
/**
|
|
7424
|
-
* 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.
|
|
7425
7738
|
* @summary Get invoices
|
|
7426
|
-
* @param {number} [orgId] Organization ID
|
|
7427
|
-
* @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)
|
|
7428
7741
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7429
7742
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7430
7743
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -7600,6 +7913,40 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7600
7913
|
options: localVarRequestOptions,
|
|
7601
7914
|
};
|
|
7602
7915
|
}),
|
|
7916
|
+
/**
|
|
7917
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
7918
|
+
* @summary Pay a pending invoice
|
|
7919
|
+
* @param {string} invoiceId Invoice ID
|
|
7920
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
7921
|
+
* @param {*} [options] Override http request option.
|
|
7922
|
+
* @throws {RequiredError}
|
|
7923
|
+
*/
|
|
7924
|
+
adminBillingInvoicesInvoiceIdPayPost: (invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1) => __awaiter(this, [invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1], void 0, function* (invoiceId, dataTypesPayInvoiceRequest, options = {}) {
|
|
7925
|
+
// verify required parameter 'invoiceId' is not null or undefined
|
|
7926
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesInvoiceIdPayPost', 'invoiceId', invoiceId);
|
|
7927
|
+
const localVarPath = `/admin/billing/invoices/{invoice_id}/pay`
|
|
7928
|
+
.replace(`{${"invoice_id"}}`, encodeURIComponent(String(invoiceId)));
|
|
7929
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7930
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7931
|
+
let baseOptions;
|
|
7932
|
+
if (configuration) {
|
|
7933
|
+
baseOptions = configuration.baseOptions;
|
|
7934
|
+
}
|
|
7935
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7936
|
+
const localVarHeaderParameter = {};
|
|
7937
|
+
const localVarQueryParameter = {};
|
|
7938
|
+
// authentication BearerAuth required
|
|
7939
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7940
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7941
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7943
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7944
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPayInvoiceRequest, localVarRequestOptions, configuration);
|
|
7945
|
+
return {
|
|
7946
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7947
|
+
options: localVarRequestOptions,
|
|
7948
|
+
};
|
|
7949
|
+
}),
|
|
7603
7950
|
/**
|
|
7604
7951
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
7605
7952
|
* @summary Get orders
|
|
@@ -7647,6 +7994,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7647
7994
|
options: localVarRequestOptions,
|
|
7648
7995
|
};
|
|
7649
7996
|
}),
|
|
7997
|
+
/**
|
|
7998
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
7999
|
+
* @summary Get single order with transactions and invoices
|
|
8000
|
+
* @param {number} id Order ID
|
|
8001
|
+
* @param {*} [options] Override http request option.
|
|
8002
|
+
* @throws {RequiredError}
|
|
8003
|
+
*/
|
|
8004
|
+
adminBillingOrdersIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
8005
|
+
// verify required parameter 'id' is not null or undefined
|
|
8006
|
+
(0, common_1.assertParamExists)('adminBillingOrdersIdGet', 'id', id);
|
|
8007
|
+
const localVarPath = `/admin/billing/orders/{id}`
|
|
8008
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8009
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8010
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8011
|
+
let baseOptions;
|
|
8012
|
+
if (configuration) {
|
|
8013
|
+
baseOptions = configuration.baseOptions;
|
|
8014
|
+
}
|
|
8015
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8016
|
+
const localVarHeaderParameter = {};
|
|
8017
|
+
const localVarQueryParameter = {};
|
|
8018
|
+
// authentication BearerAuth required
|
|
8019
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8020
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8021
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8022
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8023
|
+
return {
|
|
8024
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8025
|
+
options: localVarRequestOptions,
|
|
8026
|
+
};
|
|
8027
|
+
}),
|
|
7650
8028
|
/**
|
|
7651
8029
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
7652
8030
|
* @summary Get org admin billing overview
|
|
@@ -8099,6 +8477,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8099
8477
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8100
8478
|
});
|
|
8101
8479
|
},
|
|
8480
|
+
/**
|
|
8481
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8482
|
+
* @summary Generate invoices for an order
|
|
8483
|
+
* @param {number} orderId Order ID
|
|
8484
|
+
* @param {*} [options] Override http request option.
|
|
8485
|
+
* @throws {RequiredError}
|
|
8486
|
+
*/
|
|
8487
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8489
|
+
var _a, _b, _c;
|
|
8490
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options);
|
|
8491
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8492
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesGenerateForOrderOrderIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8493
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8494
|
+
});
|
|
8495
|
+
},
|
|
8102
8496
|
/**
|
|
8103
8497
|
* Generates an invoice automatically from a completed payment
|
|
8104
8498
|
* @summary Generate invoice from payment
|
|
@@ -8116,10 +8510,10 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8116
8510
|
});
|
|
8117
8511
|
},
|
|
8118
8512
|
/**
|
|
8119
|
-
* 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.
|
|
8120
8514
|
* @summary Get invoices
|
|
8121
|
-
* @param {number} [orgId] Organization ID
|
|
8122
|
-
* @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)
|
|
8123
8517
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8124
8518
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8125
8519
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8201,6 +8595,23 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8201
8595
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8202
8596
|
});
|
|
8203
8597
|
},
|
|
8598
|
+
/**
|
|
8599
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8600
|
+
* @summary Pay a pending invoice
|
|
8601
|
+
* @param {string} invoiceId Invoice ID
|
|
8602
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8603
|
+
* @param {*} [options] Override http request option.
|
|
8604
|
+
* @throws {RequiredError}
|
|
8605
|
+
*/
|
|
8606
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8607
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8608
|
+
var _a, _b, _c;
|
|
8609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options);
|
|
8610
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8611
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesInvoiceIdPayPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8612
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8613
|
+
});
|
|
8614
|
+
},
|
|
8204
8615
|
/**
|
|
8205
8616
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8206
8617
|
* @summary Get orders
|
|
@@ -8221,6 +8632,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8221
8632
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8222
8633
|
});
|
|
8223
8634
|
},
|
|
8635
|
+
/**
|
|
8636
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8637
|
+
* @summary Get single order with transactions and invoices
|
|
8638
|
+
* @param {number} id Order ID
|
|
8639
|
+
* @param {*} [options] Override http request option.
|
|
8640
|
+
* @throws {RequiredError}
|
|
8641
|
+
*/
|
|
8642
|
+
adminBillingOrdersIdGet(id, options) {
|
|
8643
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8644
|
+
var _a, _b, _c;
|
|
8645
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersIdGet(id, options);
|
|
8646
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8647
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingOrdersIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8648
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8649
|
+
});
|
|
8650
|
+
},
|
|
8224
8651
|
/**
|
|
8225
8652
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8226
8653
|
* @summary Get org admin billing overview
|
|
@@ -8466,6 +8893,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8466
8893
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8467
8894
|
return localVarFp.adminBillingInvoicesAutoGeneratePost(options).then((request) => request(axios, basePath));
|
|
8468
8895
|
},
|
|
8896
|
+
/**
|
|
8897
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8898
|
+
* @summary Generate invoices for an order
|
|
8899
|
+
* @param {number} orderId Order ID
|
|
8900
|
+
* @param {*} [options] Override http request option.
|
|
8901
|
+
* @throws {RequiredError}
|
|
8902
|
+
*/
|
|
8903
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8904
|
+
return localVarFp.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(axios, basePath));
|
|
8905
|
+
},
|
|
8469
8906
|
/**
|
|
8470
8907
|
* Generates an invoice automatically from a completed payment
|
|
8471
8908
|
* @summary Generate invoice from payment
|
|
@@ -8477,10 +8914,10 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8477
8914
|
return localVarFp.adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(axios, basePath));
|
|
8478
8915
|
},
|
|
8479
8916
|
/**
|
|
8480
|
-
* 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.
|
|
8481
8918
|
* @summary Get invoices
|
|
8482
|
-
* @param {number} [orgId] Organization ID
|
|
8483
|
-
* @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)
|
|
8484
8921
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8485
8922
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8486
8923
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8532,6 +8969,17 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8532
8969
|
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8533
8970
|
return localVarFp.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8534
8971
|
},
|
|
8972
|
+
/**
|
|
8973
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8974
|
+
* @summary Pay a pending invoice
|
|
8975
|
+
* @param {string} invoiceId Invoice ID
|
|
8976
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8977
|
+
* @param {*} [options] Override http request option.
|
|
8978
|
+
* @throws {RequiredError}
|
|
8979
|
+
*/
|
|
8980
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8981
|
+
return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8982
|
+
},
|
|
8535
8983
|
/**
|
|
8536
8984
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8537
8985
|
* @summary Get orders
|
|
@@ -8546,6 +8994,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8546
8994
|
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8547
8995
|
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(axios, basePath));
|
|
8548
8996
|
},
|
|
8997
|
+
/**
|
|
8998
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8999
|
+
* @summary Get single order with transactions and invoices
|
|
9000
|
+
* @param {number} id Order ID
|
|
9001
|
+
* @param {*} [options] Override http request option.
|
|
9002
|
+
* @throws {RequiredError}
|
|
9003
|
+
*/
|
|
9004
|
+
adminBillingOrdersIdGet(id, options) {
|
|
9005
|
+
return localVarFp.adminBillingOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
9006
|
+
},
|
|
8549
9007
|
/**
|
|
8550
9008
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8551
9009
|
* @summary Get org admin billing overview
|
|
@@ -8758,6 +9216,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8758
9216
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8759
9217
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesAutoGeneratePost(options).then((request) => request(this.axios, this.basePath));
|
|
8760
9218
|
}
|
|
9219
|
+
/**
|
|
9220
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
9221
|
+
* @summary Generate invoices for an order
|
|
9222
|
+
* @param {number} orderId Order ID
|
|
9223
|
+
* @param {*} [options] Override http request option.
|
|
9224
|
+
* @throws {RequiredError}
|
|
9225
|
+
* @memberof BillingDashboardApi
|
|
9226
|
+
*/
|
|
9227
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
9228
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(this.axios, this.basePath));
|
|
9229
|
+
}
|
|
8761
9230
|
/**
|
|
8762
9231
|
* Generates an invoice automatically from a completed payment
|
|
8763
9232
|
* @summary Generate invoice from payment
|
|
@@ -8770,10 +9239,10 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8770
9239
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
8771
9240
|
}
|
|
8772
9241
|
/**
|
|
8773
|
-
* 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.
|
|
8774
9243
|
* @summary Get invoices
|
|
8775
|
-
* @param {number} [orgId] Organization ID
|
|
8776
|
-
* @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)
|
|
8777
9246
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8778
9247
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8779
9248
|
* @param {number} [page] Page number (default: 1)
|
|
@@ -8830,6 +9299,18 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8830
9299
|
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8831
9300
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8832
9301
|
}
|
|
9302
|
+
/**
|
|
9303
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
9304
|
+
* @summary Pay a pending invoice
|
|
9305
|
+
* @param {string} invoiceId Invoice ID
|
|
9306
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
9307
|
+
* @param {*} [options] Override http request option.
|
|
9308
|
+
* @throws {RequiredError}
|
|
9309
|
+
* @memberof BillingDashboardApi
|
|
9310
|
+
*/
|
|
9311
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
9312
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9313
|
+
}
|
|
8833
9314
|
/**
|
|
8834
9315
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8835
9316
|
* @summary Get orders
|
|
@@ -8845,6 +9326,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8845
9326
|
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8846
9327
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8847
9328
|
}
|
|
9329
|
+
/**
|
|
9330
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
9331
|
+
* @summary Get single order with transactions and invoices
|
|
9332
|
+
* @param {number} id Order ID
|
|
9333
|
+
* @param {*} [options] Override http request option.
|
|
9334
|
+
* @throws {RequiredError}
|
|
9335
|
+
* @memberof BillingDashboardApi
|
|
9336
|
+
*/
|
|
9337
|
+
adminBillingOrdersIdGet(id, options) {
|
|
9338
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
9339
|
+
}
|
|
8848
9340
|
/**
|
|
8849
9341
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8850
9342
|
* @summary Get org admin billing overview
|
|
@@ -27097,6 +27589,96 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27097
27589
|
options: localVarRequestOptions,
|
|
27098
27590
|
};
|
|
27099
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
|
+
}),
|
|
27100
27682
|
/**
|
|
27101
27683
|
* Retrieves the store configuration using x-store ID
|
|
27102
27684
|
* @summary Get Store Config
|
|
@@ -27289,10 +27871,10 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27289
27871
|
};
|
|
27290
27872
|
}),
|
|
27291
27873
|
/**
|
|
27292
|
-
* Perform search on a specific store by xStoreID
|
|
27874
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27293
27875
|
* @summary Get store search results
|
|
27294
27876
|
* @param {string} xStoreID X-Store ID
|
|
27295
|
-
* @param {string} query Search query
|
|
27877
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27296
27878
|
* @param {number} [page] Page number
|
|
27297
27879
|
* @param {number} [pageSize] Page size
|
|
27298
27880
|
* @param {*} [options] Override http request option.
|
|
@@ -27301,8 +27883,6 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
27301
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 = {}) {
|
|
27302
27884
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
27303
27885
|
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID);
|
|
27304
|
-
// verify required parameter 'query' is not null or undefined
|
|
27305
|
-
(0, common_1.assertParamExists)('adminStoresXStoreIDSearchGet', 'query', query);
|
|
27306
27886
|
const localVarPath = `/admin/stores/{xStoreID}/search`
|
|
27307
27887
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
27308
27888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -27495,6 +28075,45 @@ const StoresApiFp = function (configuration) {
|
|
|
27495
28075
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27496
28076
|
});
|
|
27497
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
|
+
},
|
|
27498
28117
|
/**
|
|
27499
28118
|
* Retrieves the store configuration using x-store ID
|
|
27500
28119
|
* @summary Get Store Config
|
|
@@ -27593,10 +28212,10 @@ const StoresApiFp = function (configuration) {
|
|
|
27593
28212
|
});
|
|
27594
28213
|
},
|
|
27595
28214
|
/**
|
|
27596
|
-
* Perform search on a specific store by xStoreID
|
|
28215
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27597
28216
|
* @summary Get store search results
|
|
27598
28217
|
* @param {string} xStoreID X-Store ID
|
|
27599
|
-
* @param {string} query Search query
|
|
28218
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27600
28219
|
* @param {number} [page] Page number
|
|
27601
28220
|
* @param {number} [pageSize] Page size
|
|
27602
28221
|
* @param {*} [options] Override http request option.
|
|
@@ -27706,6 +28325,33 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27706
28325
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
27707
28326
|
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
27708
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
|
+
},
|
|
27709
28355
|
/**
|
|
27710
28356
|
* Retrieves the store configuration using x-store ID
|
|
27711
28357
|
* @summary Get Store Config
|
|
@@ -27768,10 +28414,10 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
27768
28414
|
return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
27769
28415
|
},
|
|
27770
28416
|
/**
|
|
27771
|
-
* Perform search on a specific store by xStoreID
|
|
28417
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27772
28418
|
* @summary Get store search results
|
|
27773
28419
|
* @param {string} xStoreID X-Store ID
|
|
27774
|
-
* @param {string} query Search query
|
|
28420
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27775
28421
|
* @param {number} [page] Page number
|
|
27776
28422
|
* @param {number} [pageSize] Page size
|
|
27777
28423
|
* @param {*} [options] Override http request option.
|
|
@@ -27868,6 +28514,35 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
27868
28514
|
adminStoresUpdateStatusIdStatusPut(id, status, options) {
|
|
27869
28515
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
27870
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
|
+
}
|
|
27871
28546
|
/**
|
|
27872
28547
|
* Retrieves the store configuration using x-store ID
|
|
27873
28548
|
* @summary Get Store Config
|
|
@@ -27936,10 +28611,10 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
27936
28611
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
27937
28612
|
}
|
|
27938
28613
|
/**
|
|
27939
|
-
* Perform search on a specific store by xStoreID
|
|
28614
|
+
* Perform search on a specific store by xStoreID. Empty query string returns all results.
|
|
27940
28615
|
* @summary Get store search results
|
|
27941
28616
|
* @param {string} xStoreID X-Store ID
|
|
27942
|
-
* @param {string} query Search query
|
|
28617
|
+
* @param {string} [query] Search query (empty returns all results)
|
|
27943
28618
|
* @param {number} [page] Page number
|
|
27944
28619
|
* @param {number} [pageSize] Page size
|
|
27945
28620
|
* @param {*} [options] Override http request option.
|