@seekora-ai/admin-api 1.1.94 → 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/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)
@@ -43699,20 +43760,20 @@ export const SearchApiAxiosParamCreator = function (configuration) {
43699
43760
  * @summary Search (POST)
43700
43761
  * @param {string} xStoreid Store ID (from dashboard)
43701
43762
  * @param {string} xStoresecret Store read secret (from dashboard)
43702
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
43763
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43703
43764
  * @param {string} [xUserId] User ID for personalization
43704
43765
  * @param {string} [xAnonId] Anonymous user ID for personalization
43705
43766
  * @param {string} [xSessionId] Session ID for personalization
43706
43767
  * @param {*} [options] Override http request option.
43707
43768
  * @throws {RequiredError}
43708
43769
  */
43709
- v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
43770
+ v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
43710
43771
  // verify required parameter 'xStoreid' is not null or undefined
43711
43772
  assertParamExists('v1SearchPost', 'xStoreid', xStoreid);
43712
43773
  // verify required parameter 'xStoresecret' is not null or undefined
43713
43774
  assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret);
43714
- // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
43715
- assertParamExists('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
43775
+ // verify required parameter 'dataTypesSearchRequest' is not null or undefined
43776
+ assertParamExists('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest);
43716
43777
  const localVarPath = `/v1/search`;
43717
43778
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43718
43779
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -43742,7 +43803,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
43742
43803
  setSearchParams(localVarUrlObj, localVarQueryParameter);
43743
43804
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43744
43805
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43745
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
43806
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSearchRequest, localVarRequestOptions, configuration);
43746
43807
  return {
43747
43808
  url: toPathString(localVarUrlObj),
43748
43809
  options: localVarRequestOptions,
@@ -43920,17 +43981,17 @@ export const SearchApiFp = function (configuration) {
43920
43981
  * @summary Search (POST)
43921
43982
  * @param {string} xStoreid Store ID (from dashboard)
43922
43983
  * @param {string} xStoresecret Store read secret (from dashboard)
43923
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
43984
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43924
43985
  * @param {string} [xUserId] User ID for personalization
43925
43986
  * @param {string} [xAnonId] Anonymous user ID for personalization
43926
43987
  * @param {string} [xSessionId] Session ID for personalization
43927
43988
  * @param {*} [options] Override http request option.
43928
43989
  * @throws {RequiredError}
43929
43990
  */
43930
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
43991
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
43931
43992
  return __awaiter(this, void 0, void 0, function* () {
43932
43993
  var _a, _b, _c;
43933
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
43994
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
43934
43995
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43935
43996
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43936
43997
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -44066,15 +44127,15 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
44066
44127
  * @summary Search (POST)
44067
44128
  * @param {string} xStoreid Store ID (from dashboard)
44068
44129
  * @param {string} xStoresecret Store read secret (from dashboard)
44069
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
44130
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
44070
44131
  * @param {string} [xUserId] User ID for personalization
44071
44132
  * @param {string} [xAnonId] Anonymous user ID for personalization
44072
44133
  * @param {string} [xSessionId] Session ID for personalization
44073
44134
  * @param {*} [options] Override http request option.
44074
44135
  * @throws {RequiredError}
44075
44136
  */
44076
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
44077
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
44137
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
44138
+ return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
44078
44139
  },
44079
44140
  };
44080
44141
  };
@@ -44213,7 +44274,7 @@ export class SearchApi extends BaseAPI {
44213
44274
  * @summary Search (POST)
44214
44275
  * @param {string} xStoreid Store ID (from dashboard)
44215
44276
  * @param {string} xStoresecret Store read secret (from dashboard)
44216
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
44277
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
44217
44278
  * @param {string} [xUserId] User ID for personalization
44218
44279
  * @param {string} [xAnonId] Anonymous user ID for personalization
44219
44280
  * @param {string} [xSessionId] Session ID for personalization
@@ -44221,8 +44282,8 @@ export class SearchApi extends BaseAPI {
44221
44282
  * @throws {RequiredError}
44222
44283
  * @memberof SearchApi
44223
44284
  */
44224
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
44225
- return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
44285
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
44286
+ return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
44226
44287
  }
44227
44288
  }
44228
44289
  /**
@@ -46196,15 +46257,15 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
46196
46257
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
46197
46258
  * @summary Create Store (Public SDK API)
46198
46259
  * @param {string} authorization Bearer JWT Token
46199
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
46260
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
46200
46261
  * @param {*} [options] Override http request option.
46201
46262
  * @throws {RequiredError}
46202
46263
  */
46203
- apiV1StoresPost: (authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesPublicCreateStoreRequest, options = {}) {
46264
+ apiV1StoresPost: (authorization_1, dataTypesCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateStoreRequest, options = {}) {
46204
46265
  // verify required parameter 'authorization' is not null or undefined
46205
46266
  assertParamExists('apiV1StoresPost', 'authorization', authorization);
46206
- // verify required parameter 'dataTypesPublicCreateStoreRequest' is not null or undefined
46207
- assertParamExists('apiV1StoresPost', 'dataTypesPublicCreateStoreRequest', dataTypesPublicCreateStoreRequest);
46267
+ // verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
46268
+ assertParamExists('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest);
46208
46269
  const localVarPath = `/api/v1/stores`;
46209
46270
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
46210
46271
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -46224,7 +46285,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
46224
46285
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46225
46286
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46226
46287
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
46227
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicCreateStoreRequest, localVarRequestOptions, configuration);
46288
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateStoreRequest, localVarRequestOptions, configuration);
46228
46289
  return {
46229
46290
  url: toPathString(localVarUrlObj),
46230
46291
  options: localVarRequestOptions,
@@ -46279,19 +46340,19 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
46279
46340
  * @param {string} xStoreid Store ID (from dashboard)
46280
46341
  * @param {string} xStoreWriteSecret Store write secret
46281
46342
  * @param {string} xStoreID Store ID (must match x-storeid header)
46282
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
46343
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
46283
46344
  * @param {*} [options] Override http request option.
46284
46345
  * @throws {RequiredError}
46285
46346
  */
46286
- apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesIndexConfig_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesIndexConfig_1, ...args_1], void 0, function* (xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options = {}) {
46347
+ apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1], void 0, function* (xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options = {}) {
46287
46348
  // verify required parameter 'xStoreid' is not null or undefined
46288
46349
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
46289
46350
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
46290
46351
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
46291
46352
  // verify required parameter 'xStoreID' is not null or undefined
46292
46353
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
46293
- // verify required parameter 'dataTypesIndexConfig' is not null or undefined
46294
- assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig);
46354
+ // verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
46355
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest);
46295
46356
  const localVarPath = `/api/v1/stores/{xStoreID}/config`
46296
46357
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
46297
46358
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -46315,7 +46376,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
46315
46376
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46316
46377
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46317
46378
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
46318
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesIndexConfig, localVarRequestOptions, configuration);
46379
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration);
46319
46380
  return {
46320
46381
  url: toPathString(localVarUrlObj),
46321
46382
  options: localVarRequestOptions,
@@ -46835,14 +46896,14 @@ export const StoreManagementApiFp = function (configuration) {
46835
46896
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
46836
46897
  * @summary Create Store (Public SDK API)
46837
46898
  * @param {string} authorization Bearer JWT Token
46838
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
46899
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
46839
46900
  * @param {*} [options] Override http request option.
46840
46901
  * @throws {RequiredError}
46841
46902
  */
46842
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
46903
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
46843
46904
  return __awaiter(this, void 0, void 0, function* () {
46844
46905
  var _a, _b, _c;
46845
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options);
46906
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
46846
46907
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
46847
46908
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreManagementApi.apiV1StoresPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
46848
46909
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -46872,14 +46933,14 @@ export const StoreManagementApiFp = function (configuration) {
46872
46933
  * @param {string} xStoreid Store ID (from dashboard)
46873
46934
  * @param {string} xStoreWriteSecret Store write secret
46874
46935
  * @param {string} xStoreID Store ID (must match x-storeid header)
46875
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
46936
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
46876
46937
  * @param {*} [options] Override http request option.
46877
46938
  * @throws {RequiredError}
46878
46939
  */
46879
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
46940
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
46880
46941
  return __awaiter(this, void 0, void 0, function* () {
46881
46942
  var _a, _b, _c;
46882
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
46943
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options);
46883
46944
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
46884
46945
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
46885
46946
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -47102,12 +47163,12 @@ export const StoreManagementApiFactory = function (configuration, basePath, axio
47102
47163
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
47103
47164
  * @summary Create Store (Public SDK API)
47104
47165
  * @param {string} authorization Bearer JWT Token
47105
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
47166
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
47106
47167
  * @param {*} [options] Override http request option.
47107
47168
  * @throws {RequiredError}
47108
47169
  */
47109
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
47110
- return localVarFp.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(axios, basePath));
47170
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
47171
+ return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
47111
47172
  },
47112
47173
  /**
47113
47174
  * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -47127,12 +47188,12 @@ export const StoreManagementApiFactory = function (configuration, basePath, axio
47127
47188
  * @param {string} xStoreid Store ID (from dashboard)
47128
47189
  * @param {string} xStoreWriteSecret Store write secret
47129
47190
  * @param {string} xStoreID Store ID (must match x-storeid header)
47130
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
47191
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
47131
47192
  * @param {*} [options] Override http request option.
47132
47193
  * @throws {RequiredError}
47133
47194
  */
47134
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
47135
- return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
47195
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
47196
+ return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
47136
47197
  },
47137
47198
  /**
47138
47199
  * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -47285,13 +47346,13 @@ export class StoreManagementApi extends BaseAPI {
47285
47346
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
47286
47347
  * @summary Create Store (Public SDK API)
47287
47348
  * @param {string} authorization Bearer JWT Token
47288
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
47349
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
47289
47350
  * @param {*} [options] Override http request option.
47290
47351
  * @throws {RequiredError}
47291
47352
  * @memberof StoreManagementApi
47292
47353
  */
47293
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
47294
- return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
47354
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
47355
+ return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
47295
47356
  }
47296
47357
  /**
47297
47358
  * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -47312,13 +47373,13 @@ export class StoreManagementApi extends BaseAPI {
47312
47373
  * @param {string} xStoreid Store ID (from dashboard)
47313
47374
  * @param {string} xStoreWriteSecret Store write secret
47314
47375
  * @param {string} xStoreID Store ID (must match x-storeid header)
47315
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
47376
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
47316
47377
  * @param {*} [options] Override http request option.
47317
47378
  * @throws {RequiredError}
47318
47379
  * @memberof StoreManagementApi
47319
47380
  */
47320
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
47321
- return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
47381
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
47382
+ return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
47322
47383
  }
47323
47384
  /**
47324
47385
  * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.94",
3
+ "version": "1.1.96",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file