@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/dist/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
- * Foreign key to mOrganizations
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
- * Subscription start date
33113
+ *
33052
33114
  * @type {string}
33053
33115
  * @memberof DataTypesSubscription
33054
33116
  */
33055
33117
  'startDate'?: string;
33056
33118
  /**
33057
- * Status (e.g., Active, Expired, Canceled)
33119
+ *
33058
33120
  * @type {string}
33059
33121
  * @memberof DataTypesSubscription
33060
33122
  */
33061
33123
  'status'?: string;
33062
33124
  /**
33063
- *
33064
- * @type {number}
33125
+ * public identifier
33126
+ * @type {string}
33065
33127
  * @memberof DataTypesSubscription
33066
33128
  */
33067
- 'subsID'?: number;
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/api.js CHANGED
@@ -26317,6 +26317,33 @@ exports.FeatureLimitsApi = FeatureLimitsApi;
26317
26317
  */
26318
26318
  const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
26319
26319
  return {
26320
+ /**
26321
+ * 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.
26322
+ * @summary Invalidate all org plan caches (Admin)
26323
+ * @param {*} [options] Override http request option.
26324
+ * @throws {RequiredError}
26325
+ */
26326
+ adminV1FeatureLimitsCacheInvalidateAllPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
26327
+ const localVarPath = `/admin/v1/feature-limits/cache/invalidate-all`;
26328
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26329
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26330
+ let baseOptions;
26331
+ if (configuration) {
26332
+ baseOptions = configuration.baseOptions;
26333
+ }
26334
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
26335
+ const localVarHeaderParameter = {};
26336
+ const localVarQueryParameter = {};
26337
+ // authentication BearerAuth required
26338
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
26339
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26341
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26342
+ return {
26343
+ url: (0, common_1.toPathString)(localVarUrlObj),
26344
+ options: localVarRequestOptions,
26345
+ };
26346
+ }),
26320
26347
  /**
26321
26348
  * Invalidates the cached plan data for an organization
26322
26349
  * @summary Invalidate plan cache (Admin)
@@ -26418,6 +26445,21 @@ exports.FeatureLimitsAdminApiAxiosParamCreator = FeatureLimitsAdminApiAxiosParam
26418
26445
  const FeatureLimitsAdminApiFp = function (configuration) {
26419
26446
  const localVarAxiosParamCreator = (0, exports.FeatureLimitsAdminApiAxiosParamCreator)(configuration);
26420
26447
  return {
26448
+ /**
26449
+ * 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.
26450
+ * @summary Invalidate all org plan caches (Admin)
26451
+ * @param {*} [options] Override http request option.
26452
+ * @throws {RequiredError}
26453
+ */
26454
+ adminV1FeatureLimitsCacheInvalidateAllPost(options) {
26455
+ return __awaiter(this, void 0, void 0, function* () {
26456
+ var _a, _b, _c;
26457
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidateAllPost(options);
26458
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26459
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidateAllPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26460
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26461
+ });
26462
+ },
26421
26463
  /**
26422
26464
  * Invalidates the cached plan data for an organization
26423
26465
  * @summary Invalidate plan cache (Admin)
@@ -26475,6 +26517,15 @@ exports.FeatureLimitsAdminApiFp = FeatureLimitsAdminApiFp;
26475
26517
  const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
26476
26518
  const localVarFp = (0, exports.FeatureLimitsAdminApiFp)(configuration);
26477
26519
  return {
26520
+ /**
26521
+ * 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.
26522
+ * @summary Invalidate all org plan caches (Admin)
26523
+ * @param {*} [options] Override http request option.
26524
+ * @throws {RequiredError}
26525
+ */
26526
+ adminV1FeatureLimitsCacheInvalidateAllPost(options) {
26527
+ return localVarFp.adminV1FeatureLimitsCacheInvalidateAllPost(options).then((request) => request(axios, basePath));
26528
+ },
26478
26529
  /**
26479
26530
  * Invalidates the cached plan data for an organization
26480
26531
  * @summary Invalidate plan cache (Admin)
@@ -26514,6 +26565,16 @@ exports.FeatureLimitsAdminApiFactory = FeatureLimitsAdminApiFactory;
26514
26565
  * @extends {BaseAPI}
26515
26566
  */
26516
26567
  class FeatureLimitsAdminApi extends base_1.BaseAPI {
26568
+ /**
26569
+ * 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.
26570
+ * @summary Invalidate all org plan caches (Admin)
26571
+ * @param {*} [options] Override http request option.
26572
+ * @throws {RequiredError}
26573
+ * @memberof FeatureLimitsAdminApi
26574
+ */
26575
+ adminV1FeatureLimitsCacheInvalidateAllPost(options) {
26576
+ return (0, exports.FeatureLimitsAdminApiFp)(this.configuration).adminV1FeatureLimitsCacheInvalidateAllPost(options).then((request) => request(this.axios, this.basePath));
26577
+ }
26517
26578
  /**
26518
26579
  * Invalidates the cached plan data for an organization
26519
26580
  * @summary Invalidate plan cache (Admin)
@@ -47913,6 +47974,37 @@ const StoresApiAxiosParamCreator = function (configuration) {
47913
47974
  options: localVarRequestOptions,
47914
47975
  };
47915
47976
  }),
47977
+ /**
47978
+ *
47979
+ * @summary Get store record size metrics
47980
+ * @param {number} storeID Store ID
47981
+ * @param {*} [options] Override http request option.
47982
+ * @throws {RequiredError}
47983
+ */
47984
+ adminStoresStoreIDMetricsRecordSizeGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
47985
+ // verify required parameter 'storeID' is not null or undefined
47986
+ (0, common_1.assertParamExists)('adminStoresStoreIDMetricsRecordSizeGet', 'storeID', storeID);
47987
+ const localVarPath = `/admin/Stores/{storeID}/metrics/record-size`
47988
+ .replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
47989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47990
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
47991
+ let baseOptions;
47992
+ if (configuration) {
47993
+ baseOptions = configuration.baseOptions;
47994
+ }
47995
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
47996
+ const localVarHeaderParameter = {};
47997
+ const localVarQueryParameter = {};
47998
+ // authentication BearerAuth required
47999
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
48000
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
48001
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48002
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
48003
+ return {
48004
+ url: (0, common_1.toPathString)(localVarUrlObj),
48005
+ options: localVarRequestOptions,
48006
+ };
48007
+ }),
47916
48008
  /**
47917
48009
  * Updates store information by ID.
47918
48010
  * @summary Update an existing store
@@ -48767,6 +48859,22 @@ const StoresApiFp = function (configuration) {
48767
48859
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
48768
48860
  });
48769
48861
  },
48862
+ /**
48863
+ *
48864
+ * @summary Get store record size metrics
48865
+ * @param {number} storeID Store ID
48866
+ * @param {*} [options] Override http request option.
48867
+ * @throws {RequiredError}
48868
+ */
48869
+ adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
48870
+ return __awaiter(this, void 0, void 0, function* () {
48871
+ var _a, _b, _c;
48872
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresStoreIDMetricsRecordSizeGet(storeID, options);
48873
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
48874
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresStoreIDMetricsRecordSizeGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
48875
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
48876
+ });
48877
+ },
48770
48878
  /**
48771
48879
  * Updates store information by ID.
48772
48880
  * @summary Update an existing store
@@ -49191,6 +49299,16 @@ const StoresApiFactory = function (configuration, basePath, axios) {
49191
49299
  adminStoresStoreIDDocumentsDelete(storeID, options) {
49192
49300
  return localVarFp.adminStoresStoreIDDocumentsDelete(storeID, options).then((request) => request(axios, basePath));
49193
49301
  },
49302
+ /**
49303
+ *
49304
+ * @summary Get store record size metrics
49305
+ * @param {number} storeID Store ID
49306
+ * @param {*} [options] Override http request option.
49307
+ * @throws {RequiredError}
49308
+ */
49309
+ adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
49310
+ return localVarFp.adminStoresStoreIDMetricsRecordSizeGet(storeID, options).then((request) => request(axios, basePath));
49311
+ },
49194
49312
  /**
49195
49313
  * Updates store information by ID.
49196
49314
  * @summary Update an existing store
@@ -49487,6 +49605,17 @@ class StoresApi extends base_1.BaseAPI {
49487
49605
  adminStoresStoreIDDocumentsDelete(storeID, options) {
49488
49606
  return (0, exports.StoresApiFp)(this.configuration).adminStoresStoreIDDocumentsDelete(storeID, options).then((request) => request(this.axios, this.basePath));
49489
49607
  }
49608
+ /**
49609
+ *
49610
+ * @summary Get store record size metrics
49611
+ * @param {number} storeID Store ID
49612
+ * @param {*} [options] Override http request option.
49613
+ * @throws {RequiredError}
49614
+ * @memberof StoresApi
49615
+ */
49616
+ adminStoresStoreIDMetricsRecordSizeGet(storeID, options) {
49617
+ return (0, exports.StoresApiFp)(this.configuration).adminStoresStoreIDMetricsRecordSizeGet(storeID, options).then((request) => request(this.axios, this.basePath));
49618
+ }
49490
49619
  /**
49491
49620
  * Updates store information by ID.
49492
49621
  * @summary Update an existing store