@seekora-ai/admin-api 1.1.56 → 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.56.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -15600,15 +15600,17 @@ export class ExternalAPINotificationsApi extends BaseAPI {
|
|
|
15600
15600
|
export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
15601
15601
|
return {
|
|
15602
15602
|
/**
|
|
15603
|
-
*
|
|
15604
|
-
* @summary
|
|
15605
|
-
* @param {string}
|
|
15606
|
-
* @param {number} [
|
|
15603
|
+
* Checks if a specific feature is within limits without incrementing usage
|
|
15604
|
+
* @summary Check if a feature can be used
|
|
15605
|
+
* @param {string} featureName Feature name to check
|
|
15606
|
+
* @param {number} [amount] Amount to check (default: 1)
|
|
15607
15607
|
* @param {*} [options] Override http request option.
|
|
15608
15608
|
* @throws {RequiredError}
|
|
15609
15609
|
*/
|
|
15610
|
-
|
|
15611
|
-
|
|
15610
|
+
adminV1FeatureLimitsCheckGet: (featureName_1, amount_1, ...args_1) => __awaiter(this, [featureName_1, amount_1, ...args_1], void 0, function* (featureName, amount, options = {}) {
|
|
15611
|
+
// verify required parameter 'featureName' is not null or undefined
|
|
15612
|
+
assertParamExists('adminV1FeatureLimitsCheckGet', 'featureName', featureName);
|
|
15613
|
+
const localVarPath = `/admin/v1/feature-limits/check`;
|
|
15612
15614
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15613
15615
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15614
15616
|
let baseOptions;
|
|
@@ -15623,8 +15625,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15623
15625
|
if (featureName !== undefined) {
|
|
15624
15626
|
localVarQueryParameter['feature_name'] = featureName;
|
|
15625
15627
|
}
|
|
15626
|
-
if (
|
|
15627
|
-
localVarQueryParameter['
|
|
15628
|
+
if (amount !== undefined) {
|
|
15629
|
+
localVarQueryParameter['amount'] = amount;
|
|
15628
15630
|
}
|
|
15629
15631
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15630
15632
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -15635,17 +15637,15 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15635
15637
|
};
|
|
15636
15638
|
}),
|
|
15637
15639
|
/**
|
|
15638
|
-
*
|
|
15639
|
-
* @summary
|
|
15640
|
-
* @param {string} featureName
|
|
15641
|
-
* @param {number} [
|
|
15640
|
+
* Retrieves historical feature usage events for the organization
|
|
15641
|
+
* @summary Get feature usage history
|
|
15642
|
+
* @param {string} [featureName] Filter by feature name
|
|
15643
|
+
* @param {number} [limit] Number of records to return (default: 100)
|
|
15642
15644
|
* @param {*} [options] Override http request option.
|
|
15643
15645
|
* @throws {RequiredError}
|
|
15644
15646
|
*/
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
assertParamExists('featureLimitsCheckGet', 'featureName', featureName);
|
|
15648
|
-
const localVarPath = `/feature-limits/check`;
|
|
15647
|
+
adminV1FeatureLimitsHistoryGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
15648
|
+
const localVarPath = `/admin/v1/feature-limits/history`;
|
|
15649
15649
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15650
15650
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15651
15651
|
let baseOptions;
|
|
@@ -15660,8 +15660,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15660
15660
|
if (featureName !== undefined) {
|
|
15661
15661
|
localVarQueryParameter['feature_name'] = featureName;
|
|
15662
15662
|
}
|
|
15663
|
-
if (
|
|
15664
|
-
localVarQueryParameter['
|
|
15663
|
+
if (limit !== undefined) {
|
|
15664
|
+
localVarQueryParameter['limit'] = limit;
|
|
15665
15665
|
}
|
|
15666
15666
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15667
15667
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -15672,15 +15672,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15672
15672
|
};
|
|
15673
15673
|
}),
|
|
15674
15674
|
/**
|
|
15675
|
-
* Retrieves
|
|
15676
|
-
* @summary Get
|
|
15677
|
-
* @param {string} [featureName] Filter by feature name
|
|
15678
|
-
* @param {number} [limit] Number of records to return (default: 100)
|
|
15675
|
+
* Retrieves the organization\'s current plan with all feature limits
|
|
15676
|
+
* @summary Get organization plan features
|
|
15679
15677
|
* @param {*} [options] Override http request option.
|
|
15680
15678
|
* @throws {RequiredError}
|
|
15681
15679
|
*/
|
|
15682
|
-
|
|
15683
|
-
const localVarPath = `/feature-limits/
|
|
15680
|
+
adminV1FeatureLimitsPlanGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15681
|
+
const localVarPath = `/admin/v1/feature-limits/plan`;
|
|
15684
15682
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15685
15683
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15686
15684
|
let baseOptions;
|
|
@@ -15692,12 +15690,6 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15692
15690
|
const localVarQueryParameter = {};
|
|
15693
15691
|
// authentication BearerAuth required
|
|
15694
15692
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
15695
|
-
if (featureName !== undefined) {
|
|
15696
|
-
localVarQueryParameter['feature_name'] = featureName;
|
|
15697
|
-
}
|
|
15698
|
-
if (limit !== undefined) {
|
|
15699
|
-
localVarQueryParameter['limit'] = limit;
|
|
15700
|
-
}
|
|
15701
15693
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15702
15694
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15703
15695
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15707,13 +15699,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15707
15699
|
};
|
|
15708
15700
|
}),
|
|
15709
15701
|
/**
|
|
15710
|
-
*
|
|
15711
|
-
* @summary Get
|
|
15702
|
+
* Returns plan details and feature availability map for UI rendering
|
|
15703
|
+
* @summary Get plan information for frontend
|
|
15712
15704
|
* @param {*} [options] Override http request option.
|
|
15713
15705
|
* @throws {RequiredError}
|
|
15714
15706
|
*/
|
|
15715
|
-
|
|
15716
|
-
const localVarPath = `/feature-limits/plan`;
|
|
15707
|
+
adminV1FeatureLimitsPlanInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15708
|
+
const localVarPath = `/admin/v1/feature-limits/plan/info`;
|
|
15717
15709
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15718
15710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15719
15711
|
let baseOptions;
|
|
@@ -15734,13 +15726,13 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15734
15726
|
};
|
|
15735
15727
|
}),
|
|
15736
15728
|
/**
|
|
15737
|
-
* Returns plan
|
|
15738
|
-
* @summary Get plan information
|
|
15729
|
+
* Returns plan information and feature availability map for the current user
|
|
15730
|
+
* @summary Get user plan information
|
|
15739
15731
|
* @param {*} [options] Override http request option.
|
|
15740
15732
|
* @throws {RequiredError}
|
|
15741
15733
|
*/
|
|
15742
|
-
|
|
15743
|
-
const localVarPath = `/feature-limits/plan/info`;
|
|
15734
|
+
adminV1FeatureLimitsPlanUserInfoGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15735
|
+
const localVarPath = `/admin/v1/feature-limits/plan/user-info`;
|
|
15744
15736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15745
15737
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15746
15738
|
let baseOptions;
|
|
@@ -15766,8 +15758,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15766
15758
|
* @param {*} [options] Override http request option.
|
|
15767
15759
|
* @throws {RequiredError}
|
|
15768
15760
|
*/
|
|
15769
|
-
|
|
15770
|
-
const localVarPath = `/feature-limits/status`;
|
|
15761
|
+
adminV1FeatureLimitsStatusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15762
|
+
const localVarPath = `/admin/v1/feature-limits/status`;
|
|
15771
15763
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15772
15764
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15773
15765
|
let baseOptions;
|
|
@@ -15793,8 +15785,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15793
15785
|
* @param {*} [options] Override http request option.
|
|
15794
15786
|
* @throws {RequiredError}
|
|
15795
15787
|
*/
|
|
15796
|
-
|
|
15797
|
-
const localVarPath = `/feature-limits/usage`;
|
|
15788
|
+
adminV1FeatureLimitsUsageGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15789
|
+
const localVarPath = `/admin/v1/feature-limits/usage`;
|
|
15798
15790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15799
15791
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15800
15792
|
let baseOptions;
|
|
@@ -15814,6 +15806,41 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15814
15806
|
options: localVarRequestOptions,
|
|
15815
15807
|
};
|
|
15816
15808
|
}),
|
|
15809
|
+
/**
|
|
15810
|
+
* Retrieves log of feature limit violations for monitoring
|
|
15811
|
+
* @summary Get feature limit violations
|
|
15812
|
+
* @param {string} [featureName] Filter by feature name
|
|
15813
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
15814
|
+
* @param {*} [options] Override http request option.
|
|
15815
|
+
* @throws {RequiredError}
|
|
15816
|
+
*/
|
|
15817
|
+
adminV1FeatureLimitsViolationsGet: (featureName_1, limit_1, ...args_1) => __awaiter(this, [featureName_1, limit_1, ...args_1], void 0, function* (featureName, limit, options = {}) {
|
|
15818
|
+
const localVarPath = `/admin/v1/feature-limits/violations`;
|
|
15819
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15820
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15821
|
+
let baseOptions;
|
|
15822
|
+
if (configuration) {
|
|
15823
|
+
baseOptions = configuration.baseOptions;
|
|
15824
|
+
}
|
|
15825
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15826
|
+
const localVarHeaderParameter = {};
|
|
15827
|
+
const localVarQueryParameter = {};
|
|
15828
|
+
// authentication BearerAuth required
|
|
15829
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
15830
|
+
if (featureName !== undefined) {
|
|
15831
|
+
localVarQueryParameter['feature_name'] = featureName;
|
|
15832
|
+
}
|
|
15833
|
+
if (limit !== undefined) {
|
|
15834
|
+
localVarQueryParameter['limit'] = limit;
|
|
15835
|
+
}
|
|
15836
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15838
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15839
|
+
return {
|
|
15840
|
+
url: toPathString(localVarUrlObj),
|
|
15841
|
+
options: localVarRequestOptions,
|
|
15842
|
+
};
|
|
15843
|
+
}),
|
|
15817
15844
|
};
|
|
15818
15845
|
};
|
|
15819
15846
|
/**
|
|
@@ -15823,23 +15850,6 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration) {
|
|
|
15823
15850
|
export const FeatureLimitsApiFp = function (configuration) {
|
|
15824
15851
|
const localVarAxiosParamCreator = FeatureLimitsApiAxiosParamCreator(configuration);
|
|
15825
15852
|
return {
|
|
15826
|
-
/**
|
|
15827
|
-
* Retrieves log of feature limit violations for monitoring
|
|
15828
|
-
* @summary Get feature limit violations
|
|
15829
|
-
* @param {string} [featureName] Filter by feature name
|
|
15830
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
15831
|
-
* @param {*} [options] Override http request option.
|
|
15832
|
-
* @throws {RequiredError}
|
|
15833
|
-
*/
|
|
15834
|
-
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
15835
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15836
|
-
var _a, _b, _c;
|
|
15837
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
|
|
15838
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15839
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15840
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15841
|
-
});
|
|
15842
|
-
},
|
|
15843
15853
|
/**
|
|
15844
15854
|
* Checks if a specific feature is within limits without incrementing usage
|
|
15845
15855
|
* @summary Check if a feature can be used
|
|
@@ -15848,12 +15858,12 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15848
15858
|
* @param {*} [options] Override http request option.
|
|
15849
15859
|
* @throws {RequiredError}
|
|
15850
15860
|
*/
|
|
15851
|
-
|
|
15861
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
15852
15862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15853
15863
|
var _a, _b, _c;
|
|
15854
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15864
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCheckGet(featureName, amount, options);
|
|
15855
15865
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15856
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15866
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsCheckGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15857
15867
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15858
15868
|
});
|
|
15859
15869
|
},
|
|
@@ -15865,12 +15875,12 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15865
15875
|
* @param {*} [options] Override http request option.
|
|
15866
15876
|
* @throws {RequiredError}
|
|
15867
15877
|
*/
|
|
15868
|
-
|
|
15878
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
15869
15879
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15870
15880
|
var _a, _b, _c;
|
|
15871
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15881
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsHistoryGet(featureName, limit, options);
|
|
15872
15882
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15873
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15883
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15874
15884
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15875
15885
|
});
|
|
15876
15886
|
},
|
|
@@ -15880,12 +15890,12 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15880
15890
|
* @param {*} [options] Override http request option.
|
|
15881
15891
|
* @throws {RequiredError}
|
|
15882
15892
|
*/
|
|
15883
|
-
|
|
15893
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
15884
15894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15885
15895
|
var _a, _b, _c;
|
|
15886
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15896
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanGet(options);
|
|
15887
15897
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15888
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15898
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15889
15899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15890
15900
|
});
|
|
15891
15901
|
},
|
|
@@ -15895,12 +15905,27 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15895
15905
|
* @param {*} [options] Override http request option.
|
|
15896
15906
|
* @throws {RequiredError}
|
|
15897
15907
|
*/
|
|
15898
|
-
|
|
15908
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
15899
15909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15900
15910
|
var _a, _b, _c;
|
|
15901
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15911
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanInfoGet(options);
|
|
15902
15912
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15903
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15913
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15915
|
+
});
|
|
15916
|
+
},
|
|
15917
|
+
/**
|
|
15918
|
+
* Returns plan information and feature availability map for the current user
|
|
15919
|
+
* @summary Get user plan information
|
|
15920
|
+
* @param {*} [options] Override http request option.
|
|
15921
|
+
* @throws {RequiredError}
|
|
15922
|
+
*/
|
|
15923
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
15924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15925
|
+
var _a, _b, _c;
|
|
15926
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsPlanUserInfoGet(options);
|
|
15927
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15928
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsPlanUserInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15904
15929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15905
15930
|
});
|
|
15906
15931
|
},
|
|
@@ -15910,12 +15935,12 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15910
15935
|
* @param {*} [options] Override http request option.
|
|
15911
15936
|
* @throws {RequiredError}
|
|
15912
15937
|
*/
|
|
15913
|
-
|
|
15938
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
15914
15939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15915
15940
|
var _a, _b, _c;
|
|
15916
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15941
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsStatusGet(options);
|
|
15917
15942
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15918
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15943
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15919
15944
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15920
15945
|
});
|
|
15921
15946
|
},
|
|
@@ -15925,24 +15950,15 @@ export const FeatureLimitsApiFp = function (configuration) {
|
|
|
15925
15950
|
* @param {*} [options] Override http request option.
|
|
15926
15951
|
* @throws {RequiredError}
|
|
15927
15952
|
*/
|
|
15928
|
-
|
|
15953
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
15929
15954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15930
15955
|
var _a, _b, _c;
|
|
15931
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15956
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsUsageGet(options);
|
|
15932
15957
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15933
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.
|
|
15958
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15934
15959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15935
15960
|
});
|
|
15936
15961
|
},
|
|
15937
|
-
};
|
|
15938
|
-
};
|
|
15939
|
-
/**
|
|
15940
|
-
* FeatureLimitsApi - factory interface
|
|
15941
|
-
* @export
|
|
15942
|
-
*/
|
|
15943
|
-
export const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
15944
|
-
const localVarFp = FeatureLimitsApiFp(configuration);
|
|
15945
|
-
return {
|
|
15946
15962
|
/**
|
|
15947
15963
|
* Retrieves log of feature limit violations for monitoring
|
|
15948
15964
|
* @summary Get feature limit violations
|
|
@@ -15951,9 +15967,24 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
15951
15967
|
* @param {*} [options] Override http request option.
|
|
15952
15968
|
* @throws {RequiredError}
|
|
15953
15969
|
*/
|
|
15954
|
-
|
|
15955
|
-
return
|
|
15970
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
15971
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15972
|
+
var _a, _b, _c;
|
|
15973
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsViolationsGet(featureName, limit, options);
|
|
15974
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15975
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsApi.adminV1FeatureLimitsViolationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15977
|
+
});
|
|
15956
15978
|
},
|
|
15979
|
+
};
|
|
15980
|
+
};
|
|
15981
|
+
/**
|
|
15982
|
+
* FeatureLimitsApi - factory interface
|
|
15983
|
+
* @export
|
|
15984
|
+
*/
|
|
15985
|
+
export const FeatureLimitsApiFactory = function (configuration, basePath, axios) {
|
|
15986
|
+
const localVarFp = FeatureLimitsApiFp(configuration);
|
|
15987
|
+
return {
|
|
15957
15988
|
/**
|
|
15958
15989
|
* Checks if a specific feature is within limits without incrementing usage
|
|
15959
15990
|
* @summary Check if a feature can be used
|
|
@@ -15962,8 +15993,8 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
15962
15993
|
* @param {*} [options] Override http request option.
|
|
15963
15994
|
* @throws {RequiredError}
|
|
15964
15995
|
*/
|
|
15965
|
-
|
|
15966
|
-
return localVarFp.
|
|
15996
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
15997
|
+
return localVarFp.adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
|
|
15967
15998
|
},
|
|
15968
15999
|
/**
|
|
15969
16000
|
* Retrieves historical feature usage events for the organization
|
|
@@ -15973,8 +16004,8 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
15973
16004
|
* @param {*} [options] Override http request option.
|
|
15974
16005
|
* @throws {RequiredError}
|
|
15975
16006
|
*/
|
|
15976
|
-
|
|
15977
|
-
return localVarFp.
|
|
16007
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
16008
|
+
return localVarFp.adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
15978
16009
|
},
|
|
15979
16010
|
/**
|
|
15980
16011
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -15982,8 +16013,8 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
15982
16013
|
* @param {*} [options] Override http request option.
|
|
15983
16014
|
* @throws {RequiredError}
|
|
15984
16015
|
*/
|
|
15985
|
-
|
|
15986
|
-
return localVarFp.
|
|
16016
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
16017
|
+
return localVarFp.adminV1FeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
15987
16018
|
},
|
|
15988
16019
|
/**
|
|
15989
16020
|
* Returns plan details and feature availability map for UI rendering
|
|
@@ -15991,8 +16022,17 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
15991
16022
|
* @param {*} [options] Override http request option.
|
|
15992
16023
|
* @throws {RequiredError}
|
|
15993
16024
|
*/
|
|
15994
|
-
|
|
15995
|
-
return localVarFp.
|
|
16025
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
16026
|
+
return localVarFp.adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
|
|
16027
|
+
},
|
|
16028
|
+
/**
|
|
16029
|
+
* Returns plan information and feature availability map for the current user
|
|
16030
|
+
* @summary Get user plan information
|
|
16031
|
+
* @param {*} [options] Override http request option.
|
|
16032
|
+
* @throws {RequiredError}
|
|
16033
|
+
*/
|
|
16034
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
16035
|
+
return localVarFp.adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(axios, basePath));
|
|
15996
16036
|
},
|
|
15997
16037
|
/**
|
|
15998
16038
|
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
@@ -16000,8 +16040,8 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
16000
16040
|
* @param {*} [options] Override http request option.
|
|
16001
16041
|
* @throws {RequiredError}
|
|
16002
16042
|
*/
|
|
16003
|
-
|
|
16004
|
-
return localVarFp.
|
|
16043
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
16044
|
+
return localVarFp.adminV1FeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
|
|
16005
16045
|
},
|
|
16006
16046
|
/**
|
|
16007
16047
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -16009,8 +16049,19 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
16009
16049
|
* @param {*} [options] Override http request option.
|
|
16010
16050
|
* @throws {RequiredError}
|
|
16011
16051
|
*/
|
|
16012
|
-
|
|
16013
|
-
return localVarFp.
|
|
16052
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
16053
|
+
return localVarFp.adminV1FeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
|
|
16054
|
+
},
|
|
16055
|
+
/**
|
|
16056
|
+
* Retrieves log of feature limit violations for monitoring
|
|
16057
|
+
* @summary Get feature limit violations
|
|
16058
|
+
* @param {string} [featureName] Filter by feature name
|
|
16059
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
16060
|
+
* @param {*} [options] Override http request option.
|
|
16061
|
+
* @throws {RequiredError}
|
|
16062
|
+
*/
|
|
16063
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16064
|
+
return localVarFp.adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
16014
16065
|
},
|
|
16015
16066
|
};
|
|
16016
16067
|
};
|
|
@@ -16021,18 +16072,6 @@ export const FeatureLimitsApiFactory = function (configuration, basePath, axios)
|
|
|
16021
16072
|
* @extends {BaseAPI}
|
|
16022
16073
|
*/
|
|
16023
16074
|
export class FeatureLimitsApi extends BaseAPI {
|
|
16024
|
-
/**
|
|
16025
|
-
* Retrieves log of feature limit violations for monitoring
|
|
16026
|
-
* @summary Get feature limit violations
|
|
16027
|
-
* @param {string} [featureName] Filter by feature name
|
|
16028
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
16029
|
-
* @param {*} [options] Override http request option.
|
|
16030
|
-
* @throws {RequiredError}
|
|
16031
|
-
* @memberof FeatureLimitsApi
|
|
16032
|
-
*/
|
|
16033
|
-
adminFeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16034
|
-
return FeatureLimitsApiFp(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16035
|
-
}
|
|
16036
16075
|
/**
|
|
16037
16076
|
* Checks if a specific feature is within limits without incrementing usage
|
|
16038
16077
|
* @summary Check if a feature can be used
|
|
@@ -16042,8 +16081,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16042
16081
|
* @throws {RequiredError}
|
|
16043
16082
|
* @memberof FeatureLimitsApi
|
|
16044
16083
|
*/
|
|
16045
|
-
|
|
16046
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16084
|
+
adminV1FeatureLimitsCheckGet(featureName, amount, options) {
|
|
16085
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
|
|
16047
16086
|
}
|
|
16048
16087
|
/**
|
|
16049
16088
|
* Retrieves historical feature usage events for the organization
|
|
@@ -16054,8 +16093,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16054
16093
|
* @throws {RequiredError}
|
|
16055
16094
|
* @memberof FeatureLimitsApi
|
|
16056
16095
|
*/
|
|
16057
|
-
|
|
16058
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16096
|
+
adminV1FeatureLimitsHistoryGet(featureName, limit, options) {
|
|
16097
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16059
16098
|
}
|
|
16060
16099
|
/**
|
|
16061
16100
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -16064,8 +16103,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16064
16103
|
* @throws {RequiredError}
|
|
16065
16104
|
* @memberof FeatureLimitsApi
|
|
16066
16105
|
*/
|
|
16067
|
-
|
|
16068
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16106
|
+
adminV1FeatureLimitsPlanGet(options) {
|
|
16107
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
16069
16108
|
}
|
|
16070
16109
|
/**
|
|
16071
16110
|
* Returns plan details and feature availability map for UI rendering
|
|
@@ -16074,8 +16113,18 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16074
16113
|
* @throws {RequiredError}
|
|
16075
16114
|
* @memberof FeatureLimitsApi
|
|
16076
16115
|
*/
|
|
16077
|
-
|
|
16078
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16116
|
+
adminV1FeatureLimitsPlanInfoGet(options) {
|
|
16117
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
16118
|
+
}
|
|
16119
|
+
/**
|
|
16120
|
+
* Returns plan information and feature availability map for the current user
|
|
16121
|
+
* @summary Get user plan information
|
|
16122
|
+
* @param {*} [options] Override http request option.
|
|
16123
|
+
* @throws {RequiredError}
|
|
16124
|
+
* @memberof FeatureLimitsApi
|
|
16125
|
+
*/
|
|
16126
|
+
adminV1FeatureLimitsPlanUserInfoGet(options) {
|
|
16127
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
16079
16128
|
}
|
|
16080
16129
|
/**
|
|
16081
16130
|
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
@@ -16084,8 +16133,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16084
16133
|
* @throws {RequiredError}
|
|
16085
16134
|
* @memberof FeatureLimitsApi
|
|
16086
16135
|
*/
|
|
16087
|
-
|
|
16088
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16136
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
16137
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
16089
16138
|
}
|
|
16090
16139
|
/**
|
|
16091
16140
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -16094,8 +16143,20 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
16094
16143
|
* @throws {RequiredError}
|
|
16095
16144
|
* @memberof FeatureLimitsApi
|
|
16096
16145
|
*/
|
|
16097
|
-
|
|
16098
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
16146
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
16147
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
16148
|
+
}
|
|
16149
|
+
/**
|
|
16150
|
+
* Retrieves log of feature limit violations for monitoring
|
|
16151
|
+
* @summary Get feature limit violations
|
|
16152
|
+
* @param {string} [featureName] Filter by feature name
|
|
16153
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
16154
|
+
* @param {*} [options] Override http request option.
|
|
16155
|
+
* @throws {RequiredError}
|
|
16156
|
+
* @memberof FeatureLimitsApi
|
|
16157
|
+
*/
|
|
16158
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
16159
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
16099
16160
|
}
|
|
16100
16161
|
}
|
|
16101
16162
|
/**
|
|
@@ -16110,8 +16171,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16110
16171
|
* @param {*} [options] Override http request option.
|
|
16111
16172
|
* @throws {RequiredError}
|
|
16112
16173
|
*/
|
|
16113
|
-
|
|
16114
|
-
const localVarPath = `/admin/feature-limits/cache/invalidate`;
|
|
16174
|
+
adminV1FeatureLimitsCacheInvalidatePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
16175
|
+
const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
|
|
16115
16176
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16116
16177
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16117
16178
|
let baseOptions;
|
|
@@ -16138,8 +16199,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16138
16199
|
* @param {*} [options] Override http request option.
|
|
16139
16200
|
* @throws {RequiredError}
|
|
16140
16201
|
*/
|
|
16141
|
-
|
|
16142
|
-
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
16202
|
+
adminV1FeatureLimitsMetricsSyncPost: (force_1, ...args_1) => __awaiter(this, [force_1, ...args_1], void 0, function* (force, options = {}) {
|
|
16203
|
+
const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
|
|
16143
16204
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16144
16205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16145
16206
|
let baseOptions;
|
|
@@ -16169,10 +16230,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
16169
16230
|
* @param {*} [options] Override http request option.
|
|
16170
16231
|
* @throws {RequiredError}
|
|
16171
16232
|
*/
|
|
16172
|
-
|
|
16233
|
+
adminV1FeatureLimitsResetPost: (featureName_1, ...args_1) => __awaiter(this, [featureName_1, ...args_1], void 0, function* (featureName, options = {}) {
|
|
16173
16234
|
// verify required parameter 'featureName' is not null or undefined
|
|
16174
|
-
assertParamExists('
|
|
16175
|
-
const localVarPath = `/admin/feature-limits/reset`;
|
|
16235
|
+
assertParamExists('adminV1FeatureLimitsResetPost', 'featureName', featureName);
|
|
16236
|
+
const localVarPath = `/admin/v1/feature-limits/reset`;
|
|
16176
16237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16177
16238
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16178
16239
|
let baseOptions;
|
|
@@ -16210,12 +16271,12 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16210
16271
|
* @param {*} [options] Override http request option.
|
|
16211
16272
|
* @throws {RequiredError}
|
|
16212
16273
|
*/
|
|
16213
|
-
|
|
16274
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16214
16275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16215
16276
|
var _a, _b, _c;
|
|
16216
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16277
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
|
|
16217
16278
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16218
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.
|
|
16279
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16219
16280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16220
16281
|
});
|
|
16221
16282
|
},
|
|
@@ -16226,12 +16287,12 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16226
16287
|
* @param {*} [options] Override http request option.
|
|
16227
16288
|
* @throws {RequiredError}
|
|
16228
16289
|
*/
|
|
16229
|
-
|
|
16290
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16230
16291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16231
16292
|
var _a, _b, _c;
|
|
16232
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16293
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
|
|
16233
16294
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16234
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.
|
|
16295
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16235
16296
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16236
16297
|
});
|
|
16237
16298
|
},
|
|
@@ -16242,12 +16303,12 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
16242
16303
|
* @param {*} [options] Override http request option.
|
|
16243
16304
|
* @throws {RequiredError}
|
|
16244
16305
|
*/
|
|
16245
|
-
|
|
16306
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16246
16307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16247
16308
|
var _a, _b, _c;
|
|
16248
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16309
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
|
|
16249
16310
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16250
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.
|
|
16311
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16251
16312
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16252
16313
|
});
|
|
16253
16314
|
},
|
|
@@ -16266,8 +16327,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
16266
16327
|
* @param {*} [options] Override http request option.
|
|
16267
16328
|
* @throws {RequiredError}
|
|
16268
16329
|
*/
|
|
16269
|
-
|
|
16270
|
-
return localVarFp.
|
|
16330
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16331
|
+
return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
16271
16332
|
},
|
|
16272
16333
|
/**
|
|
16273
16334
|
* 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
|
|
@@ -16276,8 +16337,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
16276
16337
|
* @param {*} [options] Override http request option.
|
|
16277
16338
|
* @throws {RequiredError}
|
|
16278
16339
|
*/
|
|
16279
|
-
|
|
16280
|
-
return localVarFp.
|
|
16340
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16341
|
+
return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
16281
16342
|
},
|
|
16282
16343
|
/**
|
|
16283
16344
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -16286,8 +16347,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
16286
16347
|
* @param {*} [options] Override http request option.
|
|
16287
16348
|
* @throws {RequiredError}
|
|
16288
16349
|
*/
|
|
16289
|
-
|
|
16290
|
-
return localVarFp.
|
|
16350
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16351
|
+
return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
16291
16352
|
},
|
|
16292
16353
|
};
|
|
16293
16354
|
};
|
|
@@ -16305,8 +16366,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
16305
16366
|
* @throws {RequiredError}
|
|
16306
16367
|
* @memberof FeatureLimitsAdminApi
|
|
16307
16368
|
*/
|
|
16308
|
-
|
|
16309
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
16369
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
16370
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
16310
16371
|
}
|
|
16311
16372
|
/**
|
|
16312
16373
|
* 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
|
|
@@ -16316,8 +16377,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
16316
16377
|
* @throws {RequiredError}
|
|
16317
16378
|
* @memberof FeatureLimitsAdminApi
|
|
16318
16379
|
*/
|
|
16319
|
-
|
|
16320
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
16380
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
16381
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
16321
16382
|
}
|
|
16322
16383
|
/**
|
|
16323
16384
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -16327,8 +16388,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
16327
16388
|
* @throws {RequiredError}
|
|
16328
16389
|
* @memberof FeatureLimitsAdminApi
|
|
16329
16390
|
*/
|
|
16330
|
-
|
|
16331
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
16391
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
16392
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
16332
16393
|
}
|
|
16333
16394
|
}
|
|
16334
16395
|
/**
|