@seekora-ai/admin-api 1.1.57 → 1.1.58
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 +18 -17
- package/api.ts +328 -263
- package/dist/api.d.ts +215 -180
- package/dist/api.js +213 -152
- package/dist/esm/api.d.ts +215 -180
- package/dist/esm/api.js +213 -152
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.58.tgz +0 -0
- package/seekora-ai-admin-api-1.1.57.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -15702,15 +15702,17 @@ exports.ExternalAPINotificationsApi = ExternalAPINotificationsApi;
|
|
|
15702
15702
|
const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
15703
15703
|
return {
|
|
15704
15704
|
/**
|
|
15705
|
-
*
|
|
15706
|
-
* @summary
|
|
15707
|
-
* @param {string}
|
|
15708
|
-
* @param {number} [
|
|
15705
|
+
* Checks if a specific feature is within limits without incrementing usage
|
|
15706
|
+
* @summary Check if a feature can be used
|
|
15707
|
+
* @param {string} featureName Feature name to check
|
|
15708
|
+
* @param {number} [amount] Amount to check (default: 1)
|
|
15709
15709
|
* @param {*} [options] Override http request option.
|
|
15710
15710
|
* @throws {RequiredError}
|
|
15711
15711
|
*/
|
|
15712
|
-
|
|
15713
|
-
|
|
15712
|
+
adminV1FeatureLimitsCheckGet: (featureName_1, amount_1, ...args_1) => __awaiter(this, [featureName_1, amount_1, ...args_1], void 0, function* (featureName, amount, options = {}) {
|
|
15713
|
+
// verify required parameter 'featureName' is not null or undefined
|
|
15714
|
+
(0, common_1.assertParamExists)('adminV1FeatureLimitsCheckGet', 'featureName', featureName);
|
|
15715
|
+
const localVarPath = `/admin/v1/feature-limits/check`;
|
|
15714
15716
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15715
15717
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15716
15718
|
let baseOptions;
|
|
@@ -15725,8 +15727,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15725
15727
|
if (featureName !== undefined) {
|
|
15726
15728
|
localVarQueryParameter['feature_name'] = featureName;
|
|
15727
15729
|
}
|
|
15728
|
-
if (
|
|
15729
|
-
localVarQueryParameter['
|
|
15730
|
+
if (amount !== undefined) {
|
|
15731
|
+
localVarQueryParameter['amount'] = amount;
|
|
15730
15732
|
}
|
|
15731
15733
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15732
15734
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -15737,17 +15739,15 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15737
15739
|
};
|
|
15738
15740
|
}),
|
|
15739
15741
|
/**
|
|
15740
|
-
*
|
|
15741
|
-
* @summary
|
|
15742
|
-
* @param {string} featureName
|
|
15743
|
-
* @param {number} [
|
|
15742
|
+
* Retrieves historical feature usage events for the organization
|
|
15743
|
+
* @summary Get feature usage history
|
|
15744
|
+
* @param {string} [featureName] Filter by feature name
|
|
15745
|
+
* @param {number} [limit] Number of records to return (default: 100)
|
|
15744
15746
|
* @param {*} [options] Override http request option.
|
|
15745
15747
|
* @throws {RequiredError}
|
|
15746
15748
|
*/
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
(0, common_1.assertParamExists)('featureLimitsCheckGet', 'featureName', featureName);
|
|
15750
|
-
const localVarPath = `/feature-limits/check`;
|
|
15749
|
+
adminV1FeatureLimitsHistoryGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
15750
|
+
const localVarPath = `/admin/v1/feature-limits/history`;
|
|
15751
15751
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15752
15752
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15753
15753
|
let baseOptions;
|
|
@@ -15762,8 +15762,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15762
15762
|
if (featureName !== undefined) {
|
|
15763
15763
|
localVarQueryParameter['feature_name'] = featureName;
|
|
15764
15764
|
}
|
|
15765
|
-
if (
|
|
15766
|
-
localVarQueryParameter['
|
|
15765
|
+
if (limit !== undefined) {
|
|
15766
|
+
localVarQueryParameter['limit'] = limit;
|
|
15767
15767
|
}
|
|
15768
15768
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15769
15769
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -15774,15 +15774,13 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15774
15774
|
};
|
|
15775
15775
|
}),
|
|
15776
15776
|
/**
|
|
15777
|
-
* Retrieves
|
|
15778
|
-
* @summary Get
|
|
15779
|
-
* @param {string} [featureName] Filter by feature name
|
|
15780
|
-
* @param {number} [limit] Number of records to return (default: 100)
|
|
15777
|
+
* Retrieves the organization\'s current plan with all feature limits
|
|
15778
|
+
* @summary Get organization plan features
|
|
15781
15779
|
* @param {*} [options] Override http request option.
|
|
15782
15780
|
* @throws {RequiredError}
|
|
15783
15781
|
*/
|
|
15784
|
-
|
|
15785
|
-
const localVarPath = `/feature-limits/
|
|
15782
|
+
adminV1FeatureLimitsPlanGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15783
|
+
const localVarPath = `/admin/v1/feature-limits/plan`;
|
|
15786
15784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15787
15785
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15788
15786
|
let baseOptions;
|
|
@@ -15794,12 +15792,6 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15794
15792
|
const localVarQueryParameter = {};
|
|
15795
15793
|
// authentication BearerAuth required
|
|
15796
15794
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15797
|
-
if (featureName !== undefined) {
|
|
15798
|
-
localVarQueryParameter['feature_name'] = featureName;
|
|
15799
|
-
}
|
|
15800
|
-
if (limit !== undefined) {
|
|
15801
|
-
localVarQueryParameter['limit'] = limit;
|
|
15802
|
-
}
|
|
15803
15795
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15804
15796
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15805
15797
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15809,13 +15801,13 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15809
15801
|
};
|
|
15810
15802
|
}),
|
|
15811
15803
|
/**
|
|
15812
|
-
*
|
|
15813
|
-
* @summary Get
|
|
15804
|
+
* Returns plan details and feature availability map for UI rendering
|
|
15805
|
+
* @summary Get plan information for frontend
|
|
15814
15806
|
* @param {*} [options] Override http request option.
|
|
15815
15807
|
* @throws {RequiredError}
|
|
15816
15808
|
*/
|
|
15817
|
-
|
|
15818
|
-
const localVarPath = `/feature-limits/plan`;
|
|
15809
|
+
adminV1FeatureLimitsPlanInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15810
|
+
const localVarPath = `/admin/v1/feature-limits/plan/info`;
|
|
15819
15811
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15820
15812
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15821
15813
|
let baseOptions;
|
|
@@ -15836,13 +15828,13 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15836
15828
|
};
|
|
15837
15829
|
}),
|
|
15838
15830
|
/**
|
|
15839
|
-
* Returns plan
|
|
15840
|
-
* @summary Get plan information
|
|
15831
|
+
* Returns plan information and feature availability map for the current user
|
|
15832
|
+
* @summary Get user plan information
|
|
15841
15833
|
* @param {*} [options] Override http request option.
|
|
15842
15834
|
* @throws {RequiredError}
|
|
15843
15835
|
*/
|
|
15844
|
-
|
|
15845
|
-
const localVarPath = `/feature-limits/plan/info`;
|
|
15836
|
+
adminV1FeatureLimitsPlanUserInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15837
|
+
const localVarPath = `/admin/v1/feature-limits/plan/user-info`;
|
|
15846
15838
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15847
15839
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15848
15840
|
let baseOptions;
|
|
@@ -15868,8 +15860,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15868
15860
|
* @param {*} [options] Override http request option.
|
|
15869
15861
|
* @throws {RequiredError}
|
|
15870
15862
|
*/
|
|
15871
|
-
|
|
15872
|
-
const localVarPath = `/feature-limits/status`;
|
|
15863
|
+
adminV1FeatureLimitsStatusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15864
|
+
const localVarPath = `/admin/v1/feature-limits/status`;
|
|
15873
15865
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15874
15866
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15875
15867
|
let baseOptions;
|
|
@@ -15895,8 +15887,8 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15895
15887
|
* @param {*} [options] Override http request option.
|
|
15896
15888
|
* @throws {RequiredError}
|
|
15897
15889
|
*/
|
|
15898
|
-
|
|
15899
|
-
const localVarPath = `/feature-limits/usage`;
|
|
15890
|
+
adminV1FeatureLimitsUsageGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15891
|
+
const localVarPath = `/admin/v1/feature-limits/usage`;
|
|
15900
15892
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15901
15893
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15902
15894
|
let baseOptions;
|
|
@@ -15916,6 +15908,41 @@ const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15916
15908
|
options: localVarRequestOptions,
|
|
15917
15909
|
};
|
|
15918
15910
|
}),
|
|
15911
|
+
/**
|
|
15912
|
+
* Retrieves log of feature limit violations for monitoring
|
|
15913
|
+
* @summary Get feature limit violations
|
|
15914
|
+
* @param {string} [featureName] Filter by feature name
|
|
15915
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
15916
|
+
* @param {*} [options] Override http request option.
|
|
15917
|
+
* @throws {RequiredError}
|
|
15918
|
+
*/
|
|
15919
|
+
adminV1FeatureLimitsViolationsGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
15920
|
+
const localVarPath = `/admin/v1/feature-limits/violations`;
|
|
15921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15922
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15923
|
+
let baseOptions;
|
|
15924
|
+
if (configuration) {
|
|
15925
|
+
baseOptions = configuration.baseOptions;
|
|
15926
|
+
}
|
|
15927
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15928
|
+
const localVarHeaderParameter = {};
|
|
15929
|
+
const localVarQueryParameter = {};
|
|
15930
|
+
// authentication BearerAuth required
|
|
15931
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15932
|
+
if (featureName !== undefined) {
|
|
15933
|
+
localVarQueryParameter['feature_name'] = featureName;
|
|
15934
|
+
}
|
|
15935
|
+
if (limit !== undefined) {
|
|
15936
|
+
localVarQueryParameter['limit'] = limit;
|
|
15937
|
+
}
|
|
15938
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15939
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15940
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15941
|
+
return {
|
|
15942
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15943
|
+
options: localVarRequestOptions,
|
|
15944
|
+
};
|
|
15945
|
+
}),
|
|
15919
15946
|
};
|
|
15920
15947
|
};
|
|
15921
15948
|
exports.FeatureLimitsApiAxiosParamCreator = FeatureLimitsApiAxiosParamCreator;
|
|
@@ -15926,23 +15953,6 @@ exports.FeatureLimitsApiAxiosParamCreator = FeatureLimitsApiAxiosParamCreator;
|
|
|
15926
15953
|
const FeatureLimitsApiFp = function (configuration) {
|
|
15927
15954
|
const localVarAxiosParamCreator = (0, exports.FeatureLimitsApiAxiosParamCreator)(configuration);
|
|
15928
15955
|
return {
|
|
15929
|
-
/**
|
|
15930
|
-
* Retrieves log of feature limit violations for monitoring
|
|
15931
|
-
* @summary Get feature limit violations
|
|
15932
|
-
* @param {string} [featureName] Filter by feature name
|
|
15933
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
15934
|
-
* @param {*} [options] Override http request option.
|
|
15935
|
-
* @throws {RequiredError}
|
|
15936
|
-
*/
|
|
15937
|
-
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
15938
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15939
|
-
var _a, _b, _c;
|
|
15940
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
|
|
15941
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15942
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15943
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15944
|
-
});
|
|
15945
|
-
},
|
|
15946
15956
|
/**
|
|
15947
15957
|
* Checks if a specific feature is within limits without incrementing usage
|
|
15948
15958
|
* @summary Check if a feature can be used
|
|
@@ -15951,12 +15961,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
15951
15961
|
* @param {*} [options] Override http request option.
|
|
15952
15962
|
* @throws {RequiredError}
|
|
15953
15963
|
*/
|
|
15954
|
-
|
|
15964
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
15955
15965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15956
15966
|
var _a, _b, _c;
|
|
15957
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15967
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCheckGet(featureName, amount, options);
|
|
15958
15968
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15959
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
15969
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsCheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15960
15970
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15961
15971
|
});
|
|
15962
15972
|
},
|
|
@@ -15968,12 +15978,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
15968
15978
|
* @param {*} [options] Override http request option.
|
|
15969
15979
|
* @throws {RequiredError}
|
|
15970
15980
|
*/
|
|
15971
|
-
|
|
15981
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
15972
15982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15973
15983
|
var _a, _b, _c;
|
|
15974
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsHistoryGet(featureName, limit, options);
|
|
15975
15985
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15976
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
15986
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15977
15987
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15978
15988
|
});
|
|
15979
15989
|
},
|
|
@@ -15983,12 +15993,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
15983
15993
|
* @param {*} [options] Override http request option.
|
|
15984
15994
|
* @throws {RequiredError}
|
|
15985
15995
|
*/
|
|
15986
|
-
|
|
15996
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
15987
15997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15988
15998
|
var _a, _b, _c;
|
|
15989
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15999
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanGet(options);
|
|
15990
16000
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15991
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
16001
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15992
16002
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15993
16003
|
});
|
|
15994
16004
|
},
|
|
@@ -15998,12 +16008,27 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
15998
16008
|
* @param {*} [options] Override http request option.
|
|
15999
16009
|
* @throws {RequiredError}
|
|
16000
16010
|
*/
|
|
16001
|
-
|
|
16011
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
16002
16012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16003
16013
|
var _a, _b, _c;
|
|
16004
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16014
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanInfoGet(options);
|
|
16005
16015
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16006
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
16016
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16017
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16018
|
+
});
|
|
16019
|
+
},
|
|
16020
|
+
/**
|
|
16021
|
+
* Returns plan information and feature availability map for the current user
|
|
16022
|
+
* @summary Get user plan information
|
|
16023
|
+
* @param {*} [options] Override http request option.
|
|
16024
|
+
* @throws {RequiredError}
|
|
16025
|
+
*/
|
|
16026
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
16027
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16028
|
+
var _a, _b, _c;
|
|
16029
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanUserInfoGet(options);
|
|
16030
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16031
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanUserInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16007
16032
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16008
16033
|
});
|
|
16009
16034
|
},
|
|
@@ -16013,12 +16038,12 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
16013
16038
|
* @param {*} [options] Override http request option.
|
|
16014
16039
|
* @throws {RequiredError}
|
|
16015
16040
|
*/
|
|
16016
|
-
|
|
16041
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
16017
16042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16018
16043
|
var _a, _b, _c;
|
|
16019
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16044
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsStatusGet(options);
|
|
16020
16045
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16021
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
16046
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16022
16047
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16023
16048
|
});
|
|
16024
16049
|
},
|
|
@@ -16028,12 +16053,29 @@ const FeatureLimitsApiFp = function (configuration) {
|
|
|
16028
16053
|
* @param {*} [options] Override http request option.
|
|
16029
16054
|
* @throws {RequiredError}
|
|
16030
16055
|
*/
|
|
16031
|
-
|
|
16056
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
16032
16057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16033
16058
|
var _a, _b, _c;
|
|
16034
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16059
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsUsageGet(options);
|
|
16035
16060
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16036
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.
|
|
16061
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16062
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16063
|
+
});
|
|
16064
|
+
},
|
|
16065
|
+
/**
|
|
16066
|
+
* Retrieves log of feature limit violations for monitoring
|
|
16067
|
+
* @summary Get feature limit violations
|
|
16068
|
+
* @param {string} [featureName] Filter by feature name
|
|
16069
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
16070
|
+
* @param {*} [options] Override http request option.
|
|
16071
|
+
* @throws {RequiredError}
|
|
16072
|
+
*/
|
|
16073
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16074
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16075
|
+
var _a, _b, _c;
|
|
16076
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsViolationsGet(featureName, limit, options);
|
|
16077
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16078
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsViolationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16037
16079
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16038
16080
|
});
|
|
16039
16081
|
},
|
|
@@ -16047,17 +16089,6 @@ exports.FeatureLimitsApiFp = FeatureLimitsApiFp;
|
|
|
16047
16089
|
const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
16048
16090
|
const localVarFp = (0, exports.FeatureLimitsApiFp)(configuration);
|
|
16049
16091
|
return {
|
|
16050
|
-
/**
|
|
16051
|
-
* Retrieves log of feature limit violations for monitoring
|
|
16052
|
-
* @summary Get feature limit violations
|
|
16053
|
-
* @param {string} [featureName] Filter by feature name
|
|
16054
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
16055
|
-
* @param {*} [options] Override http request option.
|
|
16056
|
-
* @throws {RequiredError}
|
|
16057
|
-
*/
|
|
16058
|
-
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16059
|
-
return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
16060
|
-
},
|
|
16061
16092
|
/**
|
|
16062
16093
|
* Checks if a specific feature is within limits without incrementing usage
|
|
16063
16094
|
* @summary Check if a feature can be used
|
|
@@ -16066,8 +16097,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16066
16097
|
* @param {*} [options] Override http request option.
|
|
16067
16098
|
* @throws {RequiredError}
|
|
16068
16099
|
*/
|
|
16069
|
-
|
|
16070
|
-
return localVarFp.
|
|
16100
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
16101
|
+
return localVarFp.adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
|
|
16071
16102
|
},
|
|
16072
16103
|
/**
|
|
16073
16104
|
* Retrieves historical feature usage events for the organization
|
|
@@ -16077,8 +16108,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16077
16108
|
* @param {*} [options] Override http request option.
|
|
16078
16109
|
* @throws {RequiredError}
|
|
16079
16110
|
*/
|
|
16080
|
-
|
|
16081
|
-
return localVarFp.
|
|
16111
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
16112
|
+
return localVarFp.adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
16082
16113
|
},
|
|
16083
16114
|
/**
|
|
16084
16115
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -16086,8 +16117,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16086
16117
|
* @param {*} [options] Override http request option.
|
|
16087
16118
|
* @throws {RequiredError}
|
|
16088
16119
|
*/
|
|
16089
|
-
|
|
16090
|
-
return localVarFp.
|
|
16120
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
16121
|
+
return localVarFp.adminV1FeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
16091
16122
|
},
|
|
16092
16123
|
/**
|
|
16093
16124
|
* Returns plan details and feature availability map for UI rendering
|
|
@@ -16095,8 +16126,17 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16095
16126
|
* @param {*} [options] Override http request option.
|
|
16096
16127
|
* @throws {RequiredError}
|
|
16097
16128
|
*/
|
|
16098
|
-
|
|
16099
|
-
return localVarFp.
|
|
16129
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
16130
|
+
return localVarFp.adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
|
|
16131
|
+
},
|
|
16132
|
+
/**
|
|
16133
|
+
* Returns plan information and feature availability map for the current user
|
|
16134
|
+
* @summary Get user plan information
|
|
16135
|
+
* @param {*} [options] Override http request option.
|
|
16136
|
+
* @throws {RequiredError}
|
|
16137
|
+
*/
|
|
16138
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
16139
|
+
return localVarFp.adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(axios, basePath));
|
|
16100
16140
|
},
|
|
16101
16141
|
/**
|
|
16102
16142
|
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
@@ -16104,8 +16144,8 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16104
16144
|
* @param {*} [options] Override http request option.
|
|
16105
16145
|
* @throws {RequiredError}
|
|
16106
16146
|
*/
|
|
16107
|
-
|
|
16108
|
-
return localVarFp.
|
|
16147
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
16148
|
+
return localVarFp.adminV1FeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
|
|
16109
16149
|
},
|
|
16110
16150
|
/**
|
|
16111
16151
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -16113,8 +16153,19 @@ const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
16113
16153
|
* @param {*} [options] Override http request option.
|
|
16114
16154
|
* @throws {RequiredError}
|
|
16115
16155
|
*/
|
|
16116
|
-
|
|
16117
|
-
return localVarFp.
|
|
16156
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
16157
|
+
return localVarFp.adminV1FeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
|
|
16158
|
+
},
|
|
16159
|
+
/**
|
|
16160
|
+
* Retrieves log of feature limit violations for monitoring
|
|
16161
|
+
* @summary Get feature limit violations
|
|
16162
|
+
* @param {string} [featureName] Filter by feature name
|
|
16163
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
16164
|
+
* @param {*} [options] Override http request option.
|
|
16165
|
+
* @throws {RequiredError}
|
|
16166
|
+
*/
|
|
16167
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16168
|
+
return localVarFp.adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
16118
16169
|
},
|
|
16119
16170
|
};
|
|
16120
16171
|
};
|
|
@@ -16126,18 +16177,6 @@ exports.FeatureLimitsApiFactory = FeatureLimitsApiFactory;
|
|
|
16126
16177
|
* @extends {BaseAPI}
|
|
16127
16178
|
*/
|
|
16128
16179
|
class FeatureLimitsApi extends base_1.BaseAPI {
|
|
16129
|
-
/**
|
|
16130
|
-
* Retrieves log of feature limit violations for monitoring
|
|
16131
|
-
* @summary Get feature limit violations
|
|
16132
|
-
* @param {string} [featureName] Filter by feature name
|
|
16133
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
16134
|
-
* @param {*} [options] Override http request option.
|
|
16135
|
-
* @throws {RequiredError}
|
|
16136
|
-
* @memberof FeatureLimitsApi
|
|
16137
|
-
*/
|
|
16138
|
-
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16139
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16140
|
-
}
|
|
16141
16180
|
/**
|
|
16142
16181
|
* Checks if a specific feature is within limits without incrementing usage
|
|
16143
16182
|
* @summary Check if a feature can be used
|
|
@@ -16147,8 +16186,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16147
16186
|
* @throws {RequiredError}
|
|
16148
16187
|
* @memberof FeatureLimitsApi
|
|
16149
16188
|
*/
|
|
16150
|
-
|
|
16151
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16189
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
16190
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
|
|
16152
16191
|
}
|
|
16153
16192
|
/**
|
|
16154
16193
|
* Retrieves historical feature usage events for the organization
|
|
@@ -16159,8 +16198,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16159
16198
|
* @throws {RequiredError}
|
|
16160
16199
|
* @memberof FeatureLimitsApi
|
|
16161
16200
|
*/
|
|
16162
|
-
|
|
16163
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16201
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
16202
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16164
16203
|
}
|
|
16165
16204
|
/**
|
|
16166
16205
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -16169,8 +16208,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16169
16208
|
* @throws {RequiredError}
|
|
16170
16209
|
* @memberof FeatureLimitsApi
|
|
16171
16210
|
*/
|
|
16172
|
-
|
|
16173
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16211
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
16212
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
16174
16213
|
}
|
|
16175
16214
|
/**
|
|
16176
16215
|
* Returns plan details and feature availability map for UI rendering
|
|
@@ -16179,8 +16218,18 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16179
16218
|
* @throws {RequiredError}
|
|
16180
16219
|
* @memberof FeatureLimitsApi
|
|
16181
16220
|
*/
|
|
16182
|
-
|
|
16183
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16221
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
16222
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
16223
|
+
}
|
|
16224
|
+
/**
|
|
16225
|
+
* Returns plan information and feature availability map for the current user
|
|
16226
|
+
* @summary Get user plan information
|
|
16227
|
+
* @param {*} [options] Override http request option.
|
|
16228
|
+
* @throws {RequiredError}
|
|
16229
|
+
* @memberof FeatureLimitsApi
|
|
16230
|
+
*/
|
|
16231
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
16232
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
16184
16233
|
}
|
|
16185
16234
|
/**
|
|
16186
16235
|
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
@@ -16189,8 +16238,8 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16189
16238
|
* @throws {RequiredError}
|
|
16190
16239
|
* @memberof FeatureLimitsApi
|
|
16191
16240
|
*/
|
|
16192
|
-
|
|
16193
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16241
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
16242
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
16194
16243
|
}
|
|
16195
16244
|
/**
|
|
16196
16245
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -16199,8 +16248,20 @@ class FeatureLimitsApi extends base_1.BaseAPI {
|
|
|
16199
16248
|
* @throws {RequiredError}
|
|
16200
16249
|
* @memberof FeatureLimitsApi
|
|
16201
16250
|
*/
|
|
16202
|
-
|
|
16203
|
-
return (0, exports.FeatureLimitsApiFp)(this.configuration).
|
|
16251
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
16252
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
16253
|
+
}
|
|
16254
|
+
/**
|
|
16255
|
+
* Retrieves log of feature limit violations for monitoring
|
|
16256
|
+
* @summary Get feature limit violations
|
|
16257
|
+
* @param {string} [featureName] Filter by feature name
|
|
16258
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
16259
|
+
* @param {*} [options] Override http request option.
|
|
16260
|
+
* @throws {RequiredError}
|
|
16261
|
+
* @memberof FeatureLimitsApi
|
|
16262
|
+
*/
|
|
16263
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16264
|
+
return (0, exports.FeatureLimitsApiFp)(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16204
16265
|
}
|
|
16205
16266
|
}
|
|
16206
16267
|
exports.FeatureLimitsApi = FeatureLimitsApi;
|
|
@@ -16216,8 +16277,8 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16216
16277
|
* @param {*} [options] Override http request option.
|
|
16217
16278
|
* @throws {RequiredError}
|
|
16218
16279
|
*/
|
|
16219
|
-
|
|
16220
|
-
const localVarPath = `/admin/feature-limits/cache/invalidate`;
|
|
16280
|
+
adminV1FeatureLimitsCacheInvalidatePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
16281
|
+
const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
|
|
16221
16282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16222
16283
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16223
16284
|
let baseOptions;
|
|
@@ -16244,8 +16305,8 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16244
16305
|
* @param {*} [options] Override http request option.
|
|
16245
16306
|
* @throws {RequiredError}
|
|
16246
16307
|
*/
|
|
16247
|
-
|
|
16248
|
-
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
16308
|
+
adminV1FeatureLimitsMetricsSyncPost: (force_1, ...args_1) => __awaiter(this, [force_1, ...args_1], void 0, function* (force, options = {}) {
|
|
16309
|
+
const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
|
|
16249
16310
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16250
16311
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16251
16312
|
let baseOptions;
|
|
@@ -16275,10 +16336,10 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16275
16336
|
* @param {*} [options] Override http request option.
|
|
16276
16337
|
* @throws {RequiredError}
|
|
16277
16338
|
*/
|
|
16278
|
-
|
|
16339
|
+
adminV1FeatureLimitsResetPost: (featureName_1, ...args_1) => __awaiter(this, [featureName_1, ...args_1], void 0, function* (featureName, options = {}) {
|
|
16279
16340
|
// verify required parameter 'featureName' is not null or undefined
|
|
16280
|
-
(0, common_1.assertParamExists)('
|
|
16281
|
-
const localVarPath = `/admin/feature-limits/reset`;
|
|
16341
|
+
(0, common_1.assertParamExists)('adminV1FeatureLimitsResetPost', 'featureName', featureName);
|
|
16342
|
+
const localVarPath = `/admin/v1/feature-limits/reset`;
|
|
16282
16343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16283
16344
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16284
16345
|
let baseOptions;
|
|
@@ -16317,12 +16378,12 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16317
16378
|
* @param {*} [options] Override http request option.
|
|
16318
16379
|
* @throws {RequiredError}
|
|
16319
16380
|
*/
|
|
16320
|
-
|
|
16381
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16321
16382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16322
16383
|
var _a, _b, _c;
|
|
16323
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16384
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
|
|
16324
16385
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16325
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.
|
|
16386
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16326
16387
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16327
16388
|
});
|
|
16328
16389
|
},
|
|
@@ -16333,12 +16394,12 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16333
16394
|
* @param {*} [options] Override http request option.
|
|
16334
16395
|
* @throws {RequiredError}
|
|
16335
16396
|
*/
|
|
16336
|
-
|
|
16397
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16337
16398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16338
16399
|
var _a, _b, _c;
|
|
16339
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16400
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
|
|
16340
16401
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16341
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.
|
|
16402
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16342
16403
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16343
16404
|
});
|
|
16344
16405
|
},
|
|
@@ -16349,12 +16410,12 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16349
16410
|
* @param {*} [options] Override http request option.
|
|
16350
16411
|
* @throws {RequiredError}
|
|
16351
16412
|
*/
|
|
16352
|
-
|
|
16413
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16353
16414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16354
16415
|
var _a, _b, _c;
|
|
16355
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16416
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
|
|
16356
16417
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16357
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.
|
|
16418
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16358
16419
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16359
16420
|
});
|
|
16360
16421
|
},
|
|
@@ -16374,8 +16435,8 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
16374
16435
|
* @param {*} [options] Override http request option.
|
|
16375
16436
|
* @throws {RequiredError}
|
|
16376
16437
|
*/
|
|
16377
|
-
|
|
16378
|
-
return localVarFp.
|
|
16438
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16439
|
+
return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
16379
16440
|
},
|
|
16380
16441
|
/**
|
|
16381
16442
|
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
@@ -16384,8 +16445,8 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
16384
16445
|
* @param {*} [options] Override http request option.
|
|
16385
16446
|
* @throws {RequiredError}
|
|
16386
16447
|
*/
|
|
16387
|
-
|
|
16388
|
-
return localVarFp.
|
|
16448
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16449
|
+
return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
16389
16450
|
},
|
|
16390
16451
|
/**
|
|
16391
16452
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -16394,8 +16455,8 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
16394
16455
|
* @param {*} [options] Override http request option.
|
|
16395
16456
|
* @throws {RequiredError}
|
|
16396
16457
|
*/
|
|
16397
|
-
|
|
16398
|
-
return localVarFp.
|
|
16458
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16459
|
+
return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
16399
16460
|
},
|
|
16400
16461
|
};
|
|
16401
16462
|
};
|
|
@@ -16414,8 +16475,8 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
16414
16475
|
* @throws {RequiredError}
|
|
16415
16476
|
* @memberof FeatureLimitsAdminApi
|
|
16416
16477
|
*/
|
|
16417
|
-
|
|
16418
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).
|
|
16478
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16479
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
16419
16480
|
}
|
|
16420
16481
|
/**
|
|
16421
16482
|
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
@@ -16425,8 +16486,8 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
16425
16486
|
* @throws {RequiredError}
|
|
16426
16487
|
* @memberof FeatureLimitsAdminApi
|
|
16427
16488
|
*/
|
|
16428
|
-
|
|
16429
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).
|
|
16489
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16490
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
16430
16491
|
}
|
|
16431
16492
|
/**
|
|
16432
16493
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -16436,8 +16497,8 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
16436
16497
|
* @throws {RequiredError}
|
|
16437
16498
|
* @memberof FeatureLimitsAdminApi
|
|
16438
16499
|
*/
|
|
16439
|
-
|
|
16440
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).
|
|
16500
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16501
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
16441
16502
|
}
|
|
16442
16503
|
}
|
|
16443
16504
|
exports.FeatureLimitsAdminApi = FeatureLimitsAdminApi;
|