@seekora-ai/admin-api 1.1.95 → 1.1.96
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 +6 -2
- package/api.ts +223 -24
- package/dist/api.d.ts +148 -24
- package/dist/api.js +129 -0
- package/dist/esm/api.d.ts +148 -24
- package/dist/esm/api.js +129 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.96.tgz +0 -0
- package/seekora-ai-admin-api-1.1.95.tgz +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -15864,6 +15864,12 @@ export interface DataTypesCreditBalanceInfo {
|
|
|
15864
15864
|
* @memberof DataTypesCreditBalanceInfo
|
|
15865
15865
|
*/
|
|
15866
15866
|
'total_credits'?: number;
|
|
15867
|
+
/**
|
|
15868
|
+
*
|
|
15869
|
+
* @type {number}
|
|
15870
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
15871
|
+
*/
|
|
15872
|
+
'trial_credit_allocation'?: number;
|
|
15867
15873
|
}
|
|
15868
15874
|
/**
|
|
15869
15875
|
*
|
|
@@ -16044,6 +16050,12 @@ export interface DataTypesCreditPlan {
|
|
|
16044
16050
|
* @memberof DataTypesCreditPlan
|
|
16045
16051
|
*/
|
|
16046
16052
|
'price': number;
|
|
16053
|
+
/**
|
|
16054
|
+
*
|
|
16055
|
+
* @type {number}
|
|
16056
|
+
* @memberof DataTypesCreditPlan
|
|
16057
|
+
*/
|
|
16058
|
+
'trial_credit_amount'?: number;
|
|
16047
16059
|
/**
|
|
16048
16060
|
* Deprecated: kept for DB compat, ignored
|
|
16049
16061
|
* @type {number}
|
|
@@ -16185,6 +16197,18 @@ export interface DataTypesCurrentPlanInfo {
|
|
|
16185
16197
|
* @memberof DataTypesCurrentPlanInfo
|
|
16186
16198
|
*/
|
|
16187
16199
|
'end_date'?: string;
|
|
16200
|
+
/**
|
|
16201
|
+
*
|
|
16202
|
+
* @type {number}
|
|
16203
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
16204
|
+
*/
|
|
16205
|
+
'full_credit_amount'?: number;
|
|
16206
|
+
/**
|
|
16207
|
+
*
|
|
16208
|
+
* @type {boolean}
|
|
16209
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
16210
|
+
*/
|
|
16211
|
+
'is_trial'?: boolean;
|
|
16188
16212
|
/**
|
|
16189
16213
|
*
|
|
16190
16214
|
* @type {number}
|
|
@@ -16221,6 +16245,12 @@ export interface DataTypesCurrentPlanInfo {
|
|
|
16221
16245
|
* @memberof DataTypesCurrentPlanInfo
|
|
16222
16246
|
*/
|
|
16223
16247
|
'subscription_id'?: string;
|
|
16248
|
+
/**
|
|
16249
|
+
*
|
|
16250
|
+
* @type {number}
|
|
16251
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
16252
|
+
*/
|
|
16253
|
+
'trial_credit_amount'?: number;
|
|
16224
16254
|
}
|
|
16225
16255
|
/**
|
|
16226
16256
|
*
|
|
@@ -21251,6 +21281,31 @@ export interface DataTypesGenericResponseDataTypesStoreInfoResponse {
|
|
|
21251
21281
|
*/
|
|
21252
21282
|
'status'?: number;
|
|
21253
21283
|
}
|
|
21284
|
+
/**
|
|
21285
|
+
*
|
|
21286
|
+
* @export
|
|
21287
|
+
* @interface DataTypesGenericResponseDataTypesStoreRecordSizeMetrics
|
|
21288
|
+
*/
|
|
21289
|
+
export interface DataTypesGenericResponseDataTypesStoreRecordSizeMetrics {
|
|
21290
|
+
/**
|
|
21291
|
+
*
|
|
21292
|
+
* @type {DataTypesStoreRecordSizeMetrics}
|
|
21293
|
+
* @memberof DataTypesGenericResponseDataTypesStoreRecordSizeMetrics
|
|
21294
|
+
*/
|
|
21295
|
+
'data'?: DataTypesStoreRecordSizeMetrics;
|
|
21296
|
+
/**
|
|
21297
|
+
*
|
|
21298
|
+
* @type {string}
|
|
21299
|
+
* @memberof DataTypesGenericResponseDataTypesStoreRecordSizeMetrics
|
|
21300
|
+
*/
|
|
21301
|
+
'message'?: string;
|
|
21302
|
+
/**
|
|
21303
|
+
*
|
|
21304
|
+
* @type {number}
|
|
21305
|
+
* @memberof DataTypesGenericResponseDataTypesStoreRecordSizeMetrics
|
|
21306
|
+
*/
|
|
21307
|
+
'status'?: number;
|
|
21308
|
+
}
|
|
21254
21309
|
/**
|
|
21255
21310
|
*
|
|
21256
21311
|
* @export
|
|
@@ -32766,6 +32821,31 @@ export interface DataTypesStoreLevelMenuRightWithMenu {
|
|
|
32766
32821
|
*/
|
|
32767
32822
|
'storeName'?: string;
|
|
32768
32823
|
}
|
|
32824
|
+
/**
|
|
32825
|
+
*
|
|
32826
|
+
* @export
|
|
32827
|
+
* @interface DataTypesStoreRecordSizeMetrics
|
|
32828
|
+
*/
|
|
32829
|
+
export interface DataTypesStoreRecordSizeMetrics {
|
|
32830
|
+
/**
|
|
32831
|
+
*
|
|
32832
|
+
* @type {number}
|
|
32833
|
+
* @memberof DataTypesStoreRecordSizeMetrics
|
|
32834
|
+
*/
|
|
32835
|
+
'avg_record_size_bytes'?: number;
|
|
32836
|
+
/**
|
|
32837
|
+
*
|
|
32838
|
+
* @type {number}
|
|
32839
|
+
* @memberof DataTypesStoreRecordSizeMetrics
|
|
32840
|
+
*/
|
|
32841
|
+
'max_record_size_bytes'?: number;
|
|
32842
|
+
/**
|
|
32843
|
+
*
|
|
32844
|
+
* @type {number}
|
|
32845
|
+
* @memberof DataTypesStoreRecordSizeMetrics
|
|
32846
|
+
*/
|
|
32847
|
+
'record_count'?: number;
|
|
32848
|
+
}
|
|
32769
32849
|
/**
|
|
32770
32850
|
*
|
|
32771
32851
|
* @export
|
|
@@ -33001,12 +33081,6 @@ export interface DataTypesSubscription {
|
|
|
33001
33081
|
'createdAt'?: string;
|
|
33002
33082
|
/**
|
|
33003
33083
|
*
|
|
33004
|
-
* @type {number}
|
|
33005
|
-
* @memberof DataTypesSubscription
|
|
33006
|
-
*/
|
|
33007
|
-
'createdBy'?: number;
|
|
33008
|
-
/**
|
|
33009
|
-
* Subscription end date
|
|
33010
33084
|
* @type {string}
|
|
33011
33085
|
* @memberof DataTypesSubscription
|
|
33012
33086
|
*/
|
|
@@ -33025,46 +33099,34 @@ export interface DataTypesSubscription {
|
|
|
33025
33099
|
'modifiedAt'?: string;
|
|
33026
33100
|
/**
|
|
33027
33101
|
*
|
|
33028
|
-
* @type {number}
|
|
33029
|
-
* @memberof DataTypesSubscription
|
|
33030
|
-
*/
|
|
33031
|
-
'modifiedBy'?: number;
|
|
33032
|
-
/**
|
|
33033
|
-
* Nullable
|
|
33034
33102
|
* @type {string}
|
|
33035
33103
|
* @memberof DataTypesSubscription
|
|
33036
33104
|
*/
|
|
33037
33105
|
'nextBillingDate'?: string;
|
|
33038
33106
|
/**
|
|
33039
|
-
*
|
|
33040
|
-
* @type {number}
|
|
33041
|
-
* @memberof DataTypesSubscription
|
|
33042
|
-
*/
|
|
33043
|
-
'orgID'?: number;
|
|
33044
|
-
/**
|
|
33045
|
-
* Foreign key to mPlans
|
|
33107
|
+
* plan is config, not sensitive
|
|
33046
33108
|
* @type {number}
|
|
33047
33109
|
* @memberof DataTypesSubscription
|
|
33048
33110
|
*/
|
|
33049
33111
|
'planID'?: number;
|
|
33050
33112
|
/**
|
|
33051
|
-
*
|
|
33113
|
+
*
|
|
33052
33114
|
* @type {string}
|
|
33053
33115
|
* @memberof DataTypesSubscription
|
|
33054
33116
|
*/
|
|
33055
33117
|
'startDate'?: string;
|
|
33056
33118
|
/**
|
|
33057
|
-
*
|
|
33119
|
+
*
|
|
33058
33120
|
* @type {string}
|
|
33059
33121
|
* @memberof DataTypesSubscription
|
|
33060
33122
|
*/
|
|
33061
33123
|
'status'?: string;
|
|
33062
33124
|
/**
|
|
33063
|
-
*
|
|
33064
|
-
* @type {
|
|
33125
|
+
* public identifier
|
|
33126
|
+
* @type {string}
|
|
33065
33127
|
* @memberof DataTypesSubscription
|
|
33066
33128
|
*/
|
|
33067
|
-
'
|
|
33129
|
+
'subscription_id'?: string;
|
|
33068
33130
|
}
|
|
33069
33131
|
/**
|
|
33070
33132
|
*
|
|
@@ -55109,6 +55171,13 @@ export declare class FeatureLimitsApi extends BaseAPI {
|
|
|
55109
55171
|
* @export
|
|
55110
55172
|
*/
|
|
55111
55173
|
export declare const FeatureLimitsAdminApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
55174
|
+
/**
|
|
55175
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
55176
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
55177
|
+
* @param {*} [options] Override http request option.
|
|
55178
|
+
* @throws {RequiredError}
|
|
55179
|
+
*/
|
|
55180
|
+
adminV1FeatureLimitsCacheInvalidateAllPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55112
55181
|
/**
|
|
55113
55182
|
* Invalidates the cached plan data for an organization
|
|
55114
55183
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -55138,6 +55207,13 @@ export declare const FeatureLimitsAdminApiAxiosParamCreator: (configuration?: Co
|
|
|
55138
55207
|
* @export
|
|
55139
55208
|
*/
|
|
55140
55209
|
export declare const FeatureLimitsAdminApiFp: (configuration?: Configuration) => {
|
|
55210
|
+
/**
|
|
55211
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
55212
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
55213
|
+
* @param {*} [options] Override http request option.
|
|
55214
|
+
* @throws {RequiredError}
|
|
55215
|
+
*/
|
|
55216
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
55141
55217
|
/**
|
|
55142
55218
|
* Invalidates the cached plan data for an organization
|
|
55143
55219
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -55167,6 +55243,13 @@ export declare const FeatureLimitsAdminApiFp: (configuration?: Configuration) =>
|
|
|
55167
55243
|
* @export
|
|
55168
55244
|
*/
|
|
55169
55245
|
export declare const FeatureLimitsAdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
55246
|
+
/**
|
|
55247
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
55248
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
55249
|
+
* @param {*} [options] Override http request option.
|
|
55250
|
+
* @throws {RequiredError}
|
|
55251
|
+
*/
|
|
55252
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
55170
55253
|
/**
|
|
55171
55254
|
* Invalidates the cached plan data for an organization
|
|
55172
55255
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -55198,6 +55281,14 @@ export declare const FeatureLimitsAdminApiFactory: (configuration?: Configuratio
|
|
|
55198
55281
|
* @extends {BaseAPI}
|
|
55199
55282
|
*/
|
|
55200
55283
|
export declare class FeatureLimitsAdminApi extends BaseAPI {
|
|
55284
|
+
/**
|
|
55285
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
55286
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
55287
|
+
* @param {*} [options] Override http request option.
|
|
55288
|
+
* @throws {RequiredError}
|
|
55289
|
+
* @memberof FeatureLimitsAdminApi
|
|
55290
|
+
*/
|
|
55291
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
55201
55292
|
/**
|
|
55202
55293
|
* Invalidates the cached plan data for an organization
|
|
55203
55294
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -66092,6 +66183,14 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
66092
66183
|
* @throws {RequiredError}
|
|
66093
66184
|
*/
|
|
66094
66185
|
adminStoresStoreIDDocumentsDelete: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66186
|
+
/**
|
|
66187
|
+
*
|
|
66188
|
+
* @summary Get store record size metrics
|
|
66189
|
+
* @param {number} storeID Store ID
|
|
66190
|
+
* @param {*} [options] Override http request option.
|
|
66191
|
+
* @throws {RequiredError}
|
|
66192
|
+
*/
|
|
66193
|
+
adminStoresStoreIDMetricsRecordSizeGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66095
66194
|
/**
|
|
66096
66195
|
* Updates store information by ID.
|
|
66097
66196
|
* @summary Update an existing store
|
|
@@ -66328,6 +66427,14 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
66328
66427
|
* @throws {RequiredError}
|
|
66329
66428
|
*/
|
|
66330
66429
|
adminStoresStoreIDDocumentsDelete(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesClearDocumentsResponseWrapper>>;
|
|
66430
|
+
/**
|
|
66431
|
+
*
|
|
66432
|
+
* @summary Get store record size metrics
|
|
66433
|
+
* @param {number} storeID Store ID
|
|
66434
|
+
* @param {*} [options] Override http request option.
|
|
66435
|
+
* @throws {RequiredError}
|
|
66436
|
+
*/
|
|
66437
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesStoreRecordSizeMetrics>>;
|
|
66331
66438
|
/**
|
|
66332
66439
|
* Updates store information by ID.
|
|
66333
66440
|
* @summary Update an existing store
|
|
@@ -66564,6 +66671,14 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
66564
66671
|
* @throws {RequiredError}
|
|
66565
66672
|
*/
|
|
66566
66673
|
adminStoresStoreIDDocumentsDelete(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesClearDocumentsResponseWrapper>;
|
|
66674
|
+
/**
|
|
66675
|
+
*
|
|
66676
|
+
* @summary Get store record size metrics
|
|
66677
|
+
* @param {number} storeID Store ID
|
|
66678
|
+
* @param {*} [options] Override http request option.
|
|
66679
|
+
* @throws {RequiredError}
|
|
66680
|
+
*/
|
|
66681
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesStoreRecordSizeMetrics>;
|
|
66567
66682
|
/**
|
|
66568
66683
|
* Updates store information by ID.
|
|
66569
66684
|
* @summary Update an existing store
|
|
@@ -66806,6 +66921,15 @@ export declare class StoresApi extends BaseAPI {
|
|
|
66806
66921
|
* @memberof StoresApi
|
|
66807
66922
|
*/
|
|
66808
66923
|
adminStoresStoreIDDocumentsDelete(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesClearDocumentsResponseWrapper, any, {}>>;
|
|
66924
|
+
/**
|
|
66925
|
+
*
|
|
66926
|
+
* @summary Get store record size metrics
|
|
66927
|
+
* @param {number} storeID Store ID
|
|
66928
|
+
* @param {*} [options] Override http request option.
|
|
66929
|
+
* @throws {RequiredError}
|
|
66930
|
+
* @memberof StoresApi
|
|
66931
|
+
*/
|
|
66932
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesStoreRecordSizeMetrics, any, {}>>;
|
|
66809
66933
|
/**
|
|
66810
66934
|
* Updates store information by ID.
|
|
66811
66935
|
* @summary Update an existing store
|
package/dist/esm/api.js
CHANGED
|
@@ -26137,6 +26137,33 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
26137
26137
|
*/
|
|
26138
26138
|
export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
26139
26139
|
return {
|
|
26140
|
+
/**
|
|
26141
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
26142
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
26143
|
+
* @param {*} [options] Override http request option.
|
|
26144
|
+
* @throws {RequiredError}
|
|
26145
|
+
*/
|
|
26146
|
+
adminV1FeatureLimitsCacheInvalidateAllPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
26147
|
+
const localVarPath = `/admin/v1/feature-limits/cache/invalidate-all`;
|
|
26148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26150
|
+
let baseOptions;
|
|
26151
|
+
if (configuration) {
|
|
26152
|
+
baseOptions = configuration.baseOptions;
|
|
26153
|
+
}
|
|
26154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
26155
|
+
const localVarHeaderParameter = {};
|
|
26156
|
+
const localVarQueryParameter = {};
|
|
26157
|
+
// authentication BearerAuth required
|
|
26158
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
26159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26161
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26162
|
+
return {
|
|
26163
|
+
url: toPathString(localVarUrlObj),
|
|
26164
|
+
options: localVarRequestOptions,
|
|
26165
|
+
};
|
|
26166
|
+
}),
|
|
26140
26167
|
/**
|
|
26141
26168
|
* Invalidates the cached plan data for an organization
|
|
26142
26169
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -26237,6 +26264,21 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
26237
26264
|
export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
26238
26265
|
const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration);
|
|
26239
26266
|
return {
|
|
26267
|
+
/**
|
|
26268
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
26269
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
26270
|
+
* @param {*} [options] Override http request option.
|
|
26271
|
+
* @throws {RequiredError}
|
|
26272
|
+
*/
|
|
26273
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options) {
|
|
26274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26275
|
+
var _a, _b, _c;
|
|
26276
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidateAllPost(options);
|
|
26277
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26278
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidateAllPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26279
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26280
|
+
});
|
|
26281
|
+
},
|
|
26240
26282
|
/**
|
|
26241
26283
|
* Invalidates the cached plan data for an organization
|
|
26242
26284
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -26293,6 +26335,15 @@ export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
|
26293
26335
|
export const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
26294
26336
|
const localVarFp = FeatureLimitsAdminApiFp(configuration);
|
|
26295
26337
|
return {
|
|
26338
|
+
/**
|
|
26339
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
26340
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
26341
|
+
* @param {*} [options] Override http request option.
|
|
26342
|
+
* @throws {RequiredError}
|
|
26343
|
+
*/
|
|
26344
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options) {
|
|
26345
|
+
return localVarFp.adminV1FeatureLimitsCacheInvalidateAllPost(options).then((request) => request(axios, basePath));
|
|
26346
|
+
},
|
|
26296
26347
|
/**
|
|
26297
26348
|
* Invalidates the cached plan data for an organization
|
|
26298
26349
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -26331,6 +26382,16 @@ export const FeatureLimitsAdminApiFactory = function (configuration, basePath, a
|
|
|
26331
26382
|
* @extends {BaseAPI}
|
|
26332
26383
|
*/
|
|
26333
26384
|
export class FeatureLimitsAdminApi extends BaseAPI {
|
|
26385
|
+
/**
|
|
26386
|
+
* Flushes all feature_limit:org_plan:* keys from Redis. Use after updating plan-level feature limits in the database so every org picks up the new limits on their next request.
|
|
26387
|
+
* @summary Invalidate all org plan caches (Admin)
|
|
26388
|
+
* @param {*} [options] Override http request option.
|
|
26389
|
+
* @throws {RequiredError}
|
|
26390
|
+
* @memberof FeatureLimitsAdminApi
|
|
26391
|
+
*/
|
|
26392
|
+
adminV1FeatureLimitsCacheInvalidateAllPost(options) {
|
|
26393
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidateAllPost(options).then((request) => request(this.axios, this.basePath));
|
|
26394
|
+
}
|
|
26334
26395
|
/**
|
|
26335
26396
|
* Invalidates the cached plan data for an organization
|
|
26336
26397
|
* @summary Invalidate plan cache (Admin)
|
|
@@ -47597,6 +47658,37 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
47597
47658
|
options: localVarRequestOptions,
|
|
47598
47659
|
};
|
|
47599
47660
|
}),
|
|
47661
|
+
/**
|
|
47662
|
+
*
|
|
47663
|
+
* @summary Get store record size metrics
|
|
47664
|
+
* @param {number} storeID Store ID
|
|
47665
|
+
* @param {*} [options] Override http request option.
|
|
47666
|
+
* @throws {RequiredError}
|
|
47667
|
+
*/
|
|
47668
|
+
adminStoresStoreIDMetricsRecordSizeGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
|
|
47669
|
+
// verify required parameter 'storeID' is not null or undefined
|
|
47670
|
+
assertParamExists('adminStoresStoreIDMetricsRecordSizeGet', 'storeID', storeID);
|
|
47671
|
+
const localVarPath = `/admin/Stores/{storeID}/metrics/record-size`
|
|
47672
|
+
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
47673
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47674
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47675
|
+
let baseOptions;
|
|
47676
|
+
if (configuration) {
|
|
47677
|
+
baseOptions = configuration.baseOptions;
|
|
47678
|
+
}
|
|
47679
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
47680
|
+
const localVarHeaderParameter = {};
|
|
47681
|
+
const localVarQueryParameter = {};
|
|
47682
|
+
// authentication BearerAuth required
|
|
47683
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47686
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
47687
|
+
return {
|
|
47688
|
+
url: toPathString(localVarUrlObj),
|
|
47689
|
+
options: localVarRequestOptions,
|
|
47690
|
+
};
|
|
47691
|
+
}),
|
|
47600
47692
|
/**
|
|
47601
47693
|
* Updates store information by ID.
|
|
47602
47694
|
* @summary Update an existing store
|
|
@@ -48450,6 +48542,22 @@ export const StoresApiFp = function (configuration) {
|
|
|
48450
48542
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48451
48543
|
});
|
|
48452
48544
|
},
|
|
48545
|
+
/**
|
|
48546
|
+
*
|
|
48547
|
+
* @summary Get store record size metrics
|
|
48548
|
+
* @param {number} storeID Store ID
|
|
48549
|
+
* @param {*} [options] Override http request option.
|
|
48550
|
+
* @throws {RequiredError}
|
|
48551
|
+
*/
|
|
48552
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
|
|
48553
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48554
|
+
var _a, _b, _c;
|
|
48555
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresStoreIDMetricsRecordSizeGet(storeID, options);
|
|
48556
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
48557
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresStoreIDMetricsRecordSizeGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
48558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48559
|
+
});
|
|
48560
|
+
},
|
|
48453
48561
|
/**
|
|
48454
48562
|
* Updates store information by ID.
|
|
48455
48563
|
* @summary Update an existing store
|
|
@@ -48873,6 +48981,16 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
48873
48981
|
adminStoresStoreIDDocumentsDelete(storeID, options) {
|
|
48874
48982
|
return localVarFp.adminStoresStoreIDDocumentsDelete(storeID, options).then((request) => request(axios, basePath));
|
|
48875
48983
|
},
|
|
48984
|
+
/**
|
|
48985
|
+
*
|
|
48986
|
+
* @summary Get store record size metrics
|
|
48987
|
+
* @param {number} storeID Store ID
|
|
48988
|
+
* @param {*} [options] Override http request option.
|
|
48989
|
+
* @throws {RequiredError}
|
|
48990
|
+
*/
|
|
48991
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
|
|
48992
|
+
return localVarFp.adminStoresStoreIDMetricsRecordSizeGet(storeID, options).then((request) => request(axios, basePath));
|
|
48993
|
+
},
|
|
48876
48994
|
/**
|
|
48877
48995
|
* Updates store information by ID.
|
|
48878
48996
|
* @summary Update an existing store
|
|
@@ -49168,6 +49286,17 @@ export class StoresApi extends BaseAPI {
|
|
|
49168
49286
|
adminStoresStoreIDDocumentsDelete(storeID, options) {
|
|
49169
49287
|
return StoresApiFp(this.configuration).adminStoresStoreIDDocumentsDelete(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
49170
49288
|
}
|
|
49289
|
+
/**
|
|
49290
|
+
*
|
|
49291
|
+
* @summary Get store record size metrics
|
|
49292
|
+
* @param {number} storeID Store ID
|
|
49293
|
+
* @param {*} [options] Override http request option.
|
|
49294
|
+
* @throws {RequiredError}
|
|
49295
|
+
* @memberof StoresApi
|
|
49296
|
+
*/
|
|
49297
|
+
adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
|
|
49298
|
+
return StoresApiFp(this.configuration).adminStoresStoreIDMetricsRecordSizeGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
49299
|
+
}
|
|
49171
49300
|
/**
|
|
49172
49301
|
* Updates store information by ID.
|
|
49173
49302
|
* @summary Update an existing store
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|