@seekora-ai/admin-api 1.1.24 → 1.1.25
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 +2 -2
- package/api.ts +19 -11
- package/dist/api.d.ts +12 -8
- package/dist/api.js +18 -11
- package/dist/esm/api.d.ts +12 -8
- package/dist/esm/api.js +18 -11
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.25.tgz +0 -0
- package/seekora-ai-admin-api-1.1.24.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
1
|
+
## @seekora-ai/admin-api@1.1.25
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.1.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.1.25 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -39643,12 +39643,13 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
39643
39643
|
};
|
|
39644
39644
|
},
|
|
39645
39645
|
/**
|
|
39646
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
39646
|
+
* 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
|
|
39647
39647
|
* @summary Sync all metrics (Admin)
|
|
39648
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
39648
39649
|
* @param {*} [options] Override http request option.
|
|
39649
39650
|
* @throws {RequiredError}
|
|
39650
39651
|
*/
|
|
39651
|
-
adminFeatureLimitsMetricsSyncPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39652
|
+
adminFeatureLimitsMetricsSyncPost: async (force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39652
39653
|
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
39653
39654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39654
39655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -39664,6 +39665,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
39664
39665
|
// authentication BearerAuth required
|
|
39665
39666
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
39666
39667
|
|
|
39668
|
+
if (force !== undefined) {
|
|
39669
|
+
localVarQueryParameter['force'] = force;
|
|
39670
|
+
}
|
|
39671
|
+
|
|
39667
39672
|
|
|
39668
39673
|
|
|
39669
39674
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -39738,13 +39743,14 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
39738
39743
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39739
39744
|
},
|
|
39740
39745
|
/**
|
|
39741
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
39746
|
+
* 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
|
|
39742
39747
|
* @summary Sync all metrics (Admin)
|
|
39748
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
39743
39749
|
* @param {*} [options] Override http request option.
|
|
39744
39750
|
* @throws {RequiredError}
|
|
39745
39751
|
*/
|
|
39746
|
-
async adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
39747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(options);
|
|
39752
|
+
async adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
39753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(force, options);
|
|
39748
39754
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39749
39755
|
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsMetricsSyncPost']?.[localVarOperationServerIndex]?.url;
|
|
39750
39756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -39782,13 +39788,14 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
39782
39788
|
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
39783
39789
|
},
|
|
39784
39790
|
/**
|
|
39785
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
39791
|
+
* 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
|
|
39786
39792
|
* @summary Sync all metrics (Admin)
|
|
39793
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
39787
39794
|
* @param {*} [options] Override http request option.
|
|
39788
39795
|
* @throws {RequiredError}
|
|
39789
39796
|
*/
|
|
39790
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
39791
|
-
return localVarFp.adminFeatureLimitsMetricsSyncPost(options).then((request) => request(axios, basePath));
|
|
39797
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
39798
|
+
return localVarFp.adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
39792
39799
|
},
|
|
39793
39800
|
/**
|
|
39794
39801
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -39822,14 +39829,15 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
39822
39829
|
}
|
|
39823
39830
|
|
|
39824
39831
|
/**
|
|
39825
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
39832
|
+
* 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
|
|
39826
39833
|
* @summary Sync all metrics (Admin)
|
|
39834
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
39827
39835
|
* @param {*} [options] Override http request option.
|
|
39828
39836
|
* @throws {RequiredError}
|
|
39829
39837
|
* @memberof FeatureLimitsAdminApi
|
|
39830
39838
|
*/
|
|
39831
|
-
public adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig) {
|
|
39832
|
-
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsMetricsSyncPost(options).then((request) => request(this.axios, this.basePath));
|
|
39839
|
+
public adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig) {
|
|
39840
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
39833
39841
|
}
|
|
39834
39842
|
|
|
39835
39843
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -31645,12 +31645,13 @@ export declare const FeatureLimitsAdminApiAxiosParamCreator: (configuration?: Co
|
|
|
31645
31645
|
*/
|
|
31646
31646
|
adminFeatureLimitsCacheInvalidatePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31647
31647
|
/**
|
|
31648
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31648
|
+
* 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
|
|
31649
31649
|
* @summary Sync all metrics (Admin)
|
|
31650
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31650
31651
|
* @param {*} [options] Override http request option.
|
|
31651
31652
|
* @throws {RequiredError}
|
|
31652
31653
|
*/
|
|
31653
|
-
adminFeatureLimitsMetricsSyncPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31654
|
+
adminFeatureLimitsMetricsSyncPost: (force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31654
31655
|
/**
|
|
31655
31656
|
* Resets usage counter for a specific feature (admin only)
|
|
31656
31657
|
* @summary Reset feature usage (Admin)
|
|
@@ -31673,12 +31674,13 @@ export declare const FeatureLimitsAdminApiFp: (configuration?: Configuration) =>
|
|
|
31673
31674
|
*/
|
|
31674
31675
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31675
31676
|
/**
|
|
31676
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31677
|
+
* 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
|
|
31677
31678
|
* @summary Sync all metrics (Admin)
|
|
31679
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31678
31680
|
* @param {*} [options] Override http request option.
|
|
31679
31681
|
* @throws {RequiredError}
|
|
31680
31682
|
*/
|
|
31681
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31683
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31682
31684
|
/**
|
|
31683
31685
|
* Resets usage counter for a specific feature (admin only)
|
|
31684
31686
|
* @summary Reset feature usage (Admin)
|
|
@@ -31701,12 +31703,13 @@ export declare const FeatureLimitsAdminApiFactory: (configuration?: Configuratio
|
|
|
31701
31703
|
*/
|
|
31702
31704
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31703
31705
|
/**
|
|
31704
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31706
|
+
* 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
|
|
31705
31707
|
* @summary Sync all metrics (Admin)
|
|
31708
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31706
31709
|
* @param {*} [options] Override http request option.
|
|
31707
31710
|
* @throws {RequiredError}
|
|
31708
31711
|
*/
|
|
31709
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31712
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31710
31713
|
/**
|
|
31711
31714
|
* Resets usage counter for a specific feature (admin only)
|
|
31712
31715
|
* @summary Reset feature usage (Admin)
|
|
@@ -31732,13 +31735,14 @@ export declare class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
31732
31735
|
*/
|
|
31733
31736
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31734
31737
|
/**
|
|
31735
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31738
|
+
* 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
|
|
31736
31739
|
* @summary Sync all metrics (Admin)
|
|
31740
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31737
31741
|
* @param {*} [options] Override http request option.
|
|
31738
31742
|
* @throws {RequiredError}
|
|
31739
31743
|
* @memberof FeatureLimitsAdminApi
|
|
31740
31744
|
*/
|
|
31741
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31745
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31742
31746
|
/**
|
|
31743
31747
|
* Resets usage counter for a specific feature (admin only)
|
|
31744
31748
|
* @summary Reset feature usage (Admin)
|
package/dist/api.js
CHANGED
|
@@ -15074,12 +15074,13 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
15074
15074
|
};
|
|
15075
15075
|
}),
|
|
15076
15076
|
/**
|
|
15077
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15077
|
+
* 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
|
|
15078
15078
|
* @summary Sync all metrics (Admin)
|
|
15079
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15079
15080
|
* @param {*} [options] Override http request option.
|
|
15080
15081
|
* @throws {RequiredError}
|
|
15081
15082
|
*/
|
|
15082
|
-
adminFeatureLimitsMetricsSyncPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15083
|
+
adminFeatureLimitsMetricsSyncPost: (force_1, ...args_1) => __awaiter(this, [force_1, ...args_1], void 0, function* (force, options = {}) {
|
|
15083
15084
|
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
15084
15085
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15085
15086
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -15092,6 +15093,9 @@ const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
15092
15093
|
const localVarQueryParameter = {};
|
|
15093
15094
|
// authentication BearerAuth required
|
|
15094
15095
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15096
|
+
if (force !== undefined) {
|
|
15097
|
+
localVarQueryParameter['force'] = force;
|
|
15098
|
+
}
|
|
15095
15099
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15096
15100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15097
15101
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15159,15 +15163,16 @@ const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
15159
15163
|
});
|
|
15160
15164
|
},
|
|
15161
15165
|
/**
|
|
15162
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15166
|
+
* 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
|
|
15163
15167
|
* @summary Sync all metrics (Admin)
|
|
15168
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15164
15169
|
* @param {*} [options] Override http request option.
|
|
15165
15170
|
* @throws {RequiredError}
|
|
15166
15171
|
*/
|
|
15167
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15172
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15168
15173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15169
15174
|
var _a, _b, _c;
|
|
15170
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(options);
|
|
15175
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(force, options);
|
|
15171
15176
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15172
15177
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15173
15178
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15209,13 +15214,14 @@ const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
|
15209
15214
|
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
15210
15215
|
},
|
|
15211
15216
|
/**
|
|
15212
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15217
|
+
* 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
|
|
15213
15218
|
* @summary Sync all metrics (Admin)
|
|
15219
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15214
15220
|
* @param {*} [options] Override http request option.
|
|
15215
15221
|
* @throws {RequiredError}
|
|
15216
15222
|
*/
|
|
15217
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15218
|
-
return localVarFp.adminFeatureLimitsMetricsSyncPost(options).then((request) => request(axios, basePath));
|
|
15223
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15224
|
+
return localVarFp.adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
15219
15225
|
},
|
|
15220
15226
|
/**
|
|
15221
15227
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -15248,14 +15254,15 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
15248
15254
|
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
15249
15255
|
}
|
|
15250
15256
|
/**
|
|
15251
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15257
|
+
* 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
|
|
15252
15258
|
* @summary Sync all metrics (Admin)
|
|
15259
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15253
15260
|
* @param {*} [options] Override http request option.
|
|
15254
15261
|
* @throws {RequiredError}
|
|
15255
15262
|
* @memberof FeatureLimitsAdminApi
|
|
15256
15263
|
*/
|
|
15257
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15258
|
-
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsMetricsSyncPost(options).then((request) => request(this.axios, this.basePath));
|
|
15264
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15265
|
+
return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
15259
15266
|
}
|
|
15260
15267
|
/**
|
|
15261
15268
|
* Resets usage counter for a specific feature (admin only)
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -31645,12 +31645,13 @@ export declare const FeatureLimitsAdminApiAxiosParamCreator: (configuration?: Co
|
|
|
31645
31645
|
*/
|
|
31646
31646
|
adminFeatureLimitsCacheInvalidatePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31647
31647
|
/**
|
|
31648
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31648
|
+
* 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
|
|
31649
31649
|
* @summary Sync all metrics (Admin)
|
|
31650
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31650
31651
|
* @param {*} [options] Override http request option.
|
|
31651
31652
|
* @throws {RequiredError}
|
|
31652
31653
|
*/
|
|
31653
|
-
adminFeatureLimitsMetricsSyncPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31654
|
+
adminFeatureLimitsMetricsSyncPost: (force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31654
31655
|
/**
|
|
31655
31656
|
* Resets usage counter for a specific feature (admin only)
|
|
31656
31657
|
* @summary Reset feature usage (Admin)
|
|
@@ -31673,12 +31674,13 @@ export declare const FeatureLimitsAdminApiFp: (configuration?: Configuration) =>
|
|
|
31673
31674
|
*/
|
|
31674
31675
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31675
31676
|
/**
|
|
31676
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31677
|
+
* 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
|
|
31677
31678
|
* @summary Sync all metrics (Admin)
|
|
31679
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31678
31680
|
* @param {*} [options] Override http request option.
|
|
31679
31681
|
* @throws {RequiredError}
|
|
31680
31682
|
*/
|
|
31681
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31683
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
31682
31684
|
/**
|
|
31683
31685
|
* Resets usage counter for a specific feature (admin only)
|
|
31684
31686
|
* @summary Reset feature usage (Admin)
|
|
@@ -31701,12 +31703,13 @@ export declare const FeatureLimitsAdminApiFactory: (configuration?: Configuratio
|
|
|
31701
31703
|
*/
|
|
31702
31704
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31703
31705
|
/**
|
|
31704
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31706
|
+
* 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
|
|
31705
31707
|
* @summary Sync all metrics (Admin)
|
|
31708
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31706
31709
|
* @param {*} [options] Override http request option.
|
|
31707
31710
|
* @throws {RequiredError}
|
|
31708
31711
|
*/
|
|
31709
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31712
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
31710
31713
|
/**
|
|
31711
31714
|
* Resets usage counter for a specific feature (admin only)
|
|
31712
31715
|
* @summary Reset feature usage (Admin)
|
|
@@ -31732,13 +31735,14 @@ export declare class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
31732
31735
|
*/
|
|
31733
31736
|
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31734
31737
|
/**
|
|
31735
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
31738
|
+
* 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
|
|
31736
31739
|
* @summary Sync all metrics (Admin)
|
|
31740
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
31737
31741
|
* @param {*} [options] Override http request option.
|
|
31738
31742
|
* @throws {RequiredError}
|
|
31739
31743
|
* @memberof FeatureLimitsAdminApi
|
|
31740
31744
|
*/
|
|
31741
|
-
adminFeatureLimitsMetricsSyncPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31745
|
+
adminFeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
31742
31746
|
/**
|
|
31743
31747
|
* Resets usage counter for a specific feature (admin only)
|
|
31744
31748
|
* @summary Reset feature usage (Admin)
|
package/dist/esm/api.js
CHANGED
|
@@ -14985,12 +14985,13 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
14985
14985
|
};
|
|
14986
14986
|
}),
|
|
14987
14987
|
/**
|
|
14988
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
14988
|
+
* 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
|
|
14989
14989
|
* @summary Sync all metrics (Admin)
|
|
14990
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
14990
14991
|
* @param {*} [options] Override http request option.
|
|
14991
14992
|
* @throws {RequiredError}
|
|
14992
14993
|
*/
|
|
14993
|
-
adminFeatureLimitsMetricsSyncPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14994
|
+
adminFeatureLimitsMetricsSyncPost: (force_1, ...args_1) => __awaiter(this, [force_1, ...args_1], void 0, function* (force, options = {}) {
|
|
14994
14995
|
const localVarPath = `/admin/feature-limits/metrics/sync`;
|
|
14995
14996
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14996
14997
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15003,6 +15004,9 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
15003
15004
|
const localVarQueryParameter = {};
|
|
15004
15005
|
// authentication BearerAuth required
|
|
15005
15006
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
15007
|
+
if (force !== undefined) {
|
|
15008
|
+
localVarQueryParameter['force'] = force;
|
|
15009
|
+
}
|
|
15006
15010
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15007
15011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15008
15012
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15069,15 +15073,16 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
15069
15073
|
});
|
|
15070
15074
|
},
|
|
15071
15075
|
/**
|
|
15072
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15076
|
+
* 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
|
|
15073
15077
|
* @summary Sync all metrics (Admin)
|
|
15078
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15074
15079
|
* @param {*} [options] Override http request option.
|
|
15075
15080
|
* @throws {RequiredError}
|
|
15076
15081
|
*/
|
|
15077
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15082
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15078
15083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15079
15084
|
var _a, _b, _c;
|
|
15080
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(options);
|
|
15085
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminFeatureLimitsMetricsSyncPost(force, options);
|
|
15081
15086
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15082
15087
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15083
15088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15118,13 +15123,14 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
15118
15123
|
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
15119
15124
|
},
|
|
15120
15125
|
/**
|
|
15121
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15126
|
+
* 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
|
|
15122
15127
|
* @summary Sync all metrics (Admin)
|
|
15128
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15123
15129
|
* @param {*} [options] Override http request option.
|
|
15124
15130
|
* @throws {RequiredError}
|
|
15125
15131
|
*/
|
|
15126
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15127
|
-
return localVarFp.adminFeatureLimitsMetricsSyncPost(options).then((request) => request(axios, basePath));
|
|
15132
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15133
|
+
return localVarFp.adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
15128
15134
|
},
|
|
15129
15135
|
/**
|
|
15130
15136
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -15156,14 +15162,15 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
15156
15162
|
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
15157
15163
|
}
|
|
15158
15164
|
/**
|
|
15159
|
-
* Recalculates and syncs all metrics for the organization from source tables to database and Redis
|
|
15165
|
+
* 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
|
|
15160
15166
|
* @summary Sync all metrics (Admin)
|
|
15167
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
15161
15168
|
* @param {*} [options] Override http request option.
|
|
15162
15169
|
* @throws {RequiredError}
|
|
15163
15170
|
* @memberof FeatureLimitsAdminApi
|
|
15164
15171
|
*/
|
|
15165
|
-
adminFeatureLimitsMetricsSyncPost(options) {
|
|
15166
|
-
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsMetricsSyncPost(options).then((request) => request(this.axios, this.basePath));
|
|
15172
|
+
adminFeatureLimitsMetricsSyncPost(force, options) {
|
|
15173
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
15167
15174
|
}
|
|
15168
15175
|
/**
|
|
15169
15176
|
* Resets usage counter for a specific feature (admin only)
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|