@seekora-ai/admin-api 1.1.42 → 1.1.44

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
@@ -1202,7 +1202,7 @@ export class AccountSettingsApi extends BaseAPI {
1202
1202
  export const ActivityLogsApiAxiosParamCreator = function (configuration) {
1203
1203
  return {
1204
1204
  /**
1205
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1205
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1206
1206
  * @summary Get Activity Logs
1207
1207
  * @param {string} [startDate] Start date (ISO 8601 format)
1208
1208
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1266,7 +1266,7 @@ export const ActivityLogsApiFp = function (configuration) {
1266
1266
  const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration);
1267
1267
  return {
1268
1268
  /**
1269
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1269
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1270
1270
  * @summary Get Activity Logs
1271
1271
  * @param {string} [startDate] Start date (ISO 8601 format)
1272
1272
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1297,7 +1297,7 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
1297
1297
  const localVarFp = ActivityLogsApiFp(configuration);
1298
1298
  return {
1299
1299
  /**
1300
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1300
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1301
1301
  * @summary Get Activity Logs
1302
1302
  * @param {string} [startDate] Start date (ISO 8601 format)
1303
1303
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -1322,7 +1322,7 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
1322
1322
  */
1323
1323
  export class ActivityLogsApi extends BaseAPI {
1324
1324
  /**
1325
- * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
1325
+ * Retrieve user activity logs from ClickHouse fact_events table with full filtering, search, and pagination.
1326
1326
  * @summary Get Activity Logs
1327
1327
  * @param {string} [startDate] Start date (ISO 8601 format)
1328
1328
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -4310,7 +4310,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
4310
4310
  };
4311
4311
  }),
4312
4312
  /**
4313
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
4313
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
4314
4314
  * @summary Get API Usage Logs
4315
4315
  * @param {string} [startDate] Start date (ISO 8601 format)
4316
4316
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5007,7 +5007,7 @@ export const AnalyticsApiFp = function (configuration) {
5007
5007
  });
5008
5008
  },
5009
5009
  /**
5010
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5010
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5011
5011
  * @summary Get API Usage Logs
5012
5012
  * @param {string} [startDate] Start date (ISO 8601 format)
5013
5013
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -5518,7 +5518,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
5518
5518
  return localVarFp.adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
5519
5519
  },
5520
5520
  /**
5521
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
5521
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
5522
5522
  * @summary Get API Usage Logs
5523
5523
  * @param {string} [startDate] Start date (ISO 8601 format)
5524
5524
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -6029,7 +6029,7 @@ export class AnalyticsApi extends BaseAPI {
6029
6029
  return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
6030
6030
  }
6031
6031
  /**
6032
- * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
6032
+ * Retrieve API usage logs from ClickHouse fact_events table with filtering and pagination
6033
6033
  * @summary Get API Usage Logs
6034
6034
  * @param {string} [startDate] Start date (ISO 8601 format)
6035
6035
  * @param {string} [endDate] End date (ISO 8601 format)
@@ -30434,6 +30434,530 @@ export class RolesApi extends BaseAPI {
30434
30434
  return RolesApiFp(this.configuration).adminRolesRoleIdPermissionsPut(roleId, dataTypesUpdateRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
30435
30435
  }
30436
30436
  }
30437
+ /**
30438
+ * SDKStoreConfigApi - axios parameter creator
30439
+ * @export
30440
+ */
30441
+ export const SDKStoreConfigApiAxiosParamCreator = function (configuration) {
30442
+ return {
30443
+ /**
30444
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30445
+ * @summary Get Store Config (Public SDK API)
30446
+ * @param {string} xStoreid Store ID
30447
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30448
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30449
+ * @param {*} [options] Override http request option.
30450
+ * @throws {RequiredError}
30451
+ */
30452
+ apiV1StoresXStoreIDConfigGet: (xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xStoreID, options = {}) {
30453
+ // verify required parameter 'xStoreid' is not null or undefined
30454
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoreid', xStoreid);
30455
+ // verify required parameter 'xStoresecret' is not null or undefined
30456
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoresecret', xStoresecret);
30457
+ // verify required parameter 'xStoreID' is not null or undefined
30458
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoreID', xStoreID);
30459
+ const localVarPath = `/api/v1/stores/{xStoreID}/config`
30460
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
30461
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30462
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30463
+ let baseOptions;
30464
+ if (configuration) {
30465
+ baseOptions = configuration.baseOptions;
30466
+ }
30467
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30468
+ const localVarHeaderParameter = {};
30469
+ const localVarQueryParameter = {};
30470
+ if (xStoreid != null) {
30471
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
30472
+ }
30473
+ if (xStoresecret != null) {
30474
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
30475
+ }
30476
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30477
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30478
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30479
+ return {
30480
+ url: toPathString(localVarUrlObj),
30481
+ options: localVarRequestOptions,
30482
+ };
30483
+ }),
30484
+ /**
30485
+ * Updates the store configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration. Requires write secret for security.
30486
+ * @summary Update Store Config (Public SDK API)
30487
+ * @param {string} xStoreid Store ID
30488
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
30489
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30490
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
30491
+ * @param {*} [options] Override http request option.
30492
+ * @throws {RequiredError}
30493
+ */
30494
+ 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 = {}) {
30495
+ // verify required parameter 'xStoreid' is not null or undefined
30496
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
30497
+ // verify required parameter 'xStoreWriteSecret' is not null or undefined
30498
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
30499
+ // verify required parameter 'xStoreID' is not null or undefined
30500
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
30501
+ // verify required parameter 'dataTypesIndexConfig' is not null or undefined
30502
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig);
30503
+ const localVarPath = `/api/v1/stores/{xStoreID}/config`
30504
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
30505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30506
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30507
+ let baseOptions;
30508
+ if (configuration) {
30509
+ baseOptions = configuration.baseOptions;
30510
+ }
30511
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
30512
+ const localVarHeaderParameter = {};
30513
+ const localVarQueryParameter = {};
30514
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30515
+ if (xStoreid != null) {
30516
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
30517
+ }
30518
+ if (xStoreWriteSecret != null) {
30519
+ localVarHeaderParameter['x-store-write-secret'] = String(xStoreWriteSecret);
30520
+ }
30521
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30523
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30524
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesIndexConfig, localVarRequestOptions, configuration);
30525
+ return {
30526
+ url: toPathString(localVarUrlObj),
30527
+ options: localVarRequestOptions,
30528
+ };
30529
+ }),
30530
+ /**
30531
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
30532
+ * @summary Get Store Config Schema (Public SDK API)
30533
+ * @param {string} xStoreid Store ID
30534
+ * @param {string} xStoresecret Store Secret
30535
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30536
+ * @param {*} [options] Override http request option.
30537
+ * @throws {RequiredError}
30538
+ */
30539
+ apiV1StoresXStoreIDConfigSchemaGet: (xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xStoreID, options = {}) {
30540
+ // verify required parameter 'xStoreid' is not null or undefined
30541
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreid', xStoreid);
30542
+ // verify required parameter 'xStoresecret' is not null or undefined
30543
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoresecret', xStoresecret);
30544
+ // verify required parameter 'xStoreID' is not null or undefined
30545
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID);
30546
+ const localVarPath = `/api/v1/stores/{xStoreID}/config-schema`
30547
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
30548
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30549
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30550
+ let baseOptions;
30551
+ if (configuration) {
30552
+ baseOptions = configuration.baseOptions;
30553
+ }
30554
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30555
+ const localVarHeaderParameter = {};
30556
+ const localVarQueryParameter = {};
30557
+ if (xStoreid != null) {
30558
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
30559
+ }
30560
+ if (xStoresecret != null) {
30561
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
30562
+ }
30563
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30564
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30565
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30566
+ return {
30567
+ url: toPathString(localVarUrlObj),
30568
+ options: localVarRequestOptions,
30569
+ };
30570
+ }),
30571
+ };
30572
+ };
30573
+ /**
30574
+ * SDKStoreConfigApi - functional programming interface
30575
+ * @export
30576
+ */
30577
+ export const SDKStoreConfigApiFp = function (configuration) {
30578
+ const localVarAxiosParamCreator = SDKStoreConfigApiAxiosParamCreator(configuration);
30579
+ return {
30580
+ /**
30581
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30582
+ * @summary Get Store Config (Public SDK API)
30583
+ * @param {string} xStoreid Store ID
30584
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30585
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30586
+ * @param {*} [options] Override http request option.
30587
+ * @throws {RequiredError}
30588
+ */
30589
+ apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
30590
+ return __awaiter(this, void 0, void 0, function* () {
30591
+ var _a, _b, _c;
30592
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options);
30593
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30594
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30595
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30596
+ });
30597
+ },
30598
+ /**
30599
+ * Updates the store configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration. Requires write secret for security.
30600
+ * @summary Update Store Config (Public SDK API)
30601
+ * @param {string} xStoreid Store ID
30602
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
30603
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30604
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
30605
+ * @param {*} [options] Override http request option.
30606
+ * @throws {RequiredError}
30607
+ */
30608
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
30609
+ return __awaiter(this, void 0, void 0, function* () {
30610
+ var _a, _b, _c;
30611
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
30612
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30613
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30614
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30615
+ });
30616
+ },
30617
+ /**
30618
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
30619
+ * @summary Get Store Config Schema (Public SDK API)
30620
+ * @param {string} xStoreid Store ID
30621
+ * @param {string} xStoresecret Store Secret
30622
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30623
+ * @param {*} [options] Override http request option.
30624
+ * @throws {RequiredError}
30625
+ */
30626
+ apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
30627
+ return __awaiter(this, void 0, void 0, function* () {
30628
+ var _a, _b, _c;
30629
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options);
30630
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30631
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30632
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30633
+ });
30634
+ },
30635
+ };
30636
+ };
30637
+ /**
30638
+ * SDKStoreConfigApi - factory interface
30639
+ * @export
30640
+ */
30641
+ export const SDKStoreConfigApiFactory = function (configuration, basePath, axios) {
30642
+ const localVarFp = SDKStoreConfigApiFp(configuration);
30643
+ return {
30644
+ /**
30645
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30646
+ * @summary Get Store Config (Public SDK API)
30647
+ * @param {string} xStoreid Store ID
30648
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30649
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30650
+ * @param {*} [options] Override http request option.
30651
+ * @throws {RequiredError}
30652
+ */
30653
+ apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
30654
+ return localVarFp.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
30655
+ },
30656
+ /**
30657
+ * Updates the store configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration. Requires write secret for security.
30658
+ * @summary Update Store Config (Public SDK API)
30659
+ * @param {string} xStoreid Store ID
30660
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
30661
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30662
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
30663
+ * @param {*} [options] Override http request option.
30664
+ * @throws {RequiredError}
30665
+ */
30666
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
30667
+ return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
30668
+ },
30669
+ /**
30670
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
30671
+ * @summary Get Store Config Schema (Public SDK API)
30672
+ * @param {string} xStoreid Store ID
30673
+ * @param {string} xStoresecret Store Secret
30674
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30675
+ * @param {*} [options] Override http request option.
30676
+ * @throws {RequiredError}
30677
+ */
30678
+ apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
30679
+ return localVarFp.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
30680
+ },
30681
+ };
30682
+ };
30683
+ /**
30684
+ * SDKStoreConfigApi - object-oriented interface
30685
+ * @export
30686
+ * @class SDKStoreConfigApi
30687
+ * @extends {BaseAPI}
30688
+ */
30689
+ export class SDKStoreConfigApi extends BaseAPI {
30690
+ /**
30691
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30692
+ * @summary Get Store Config (Public SDK API)
30693
+ * @param {string} xStoreid Store ID
30694
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30695
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30696
+ * @param {*} [options] Override http request option.
30697
+ * @throws {RequiredError}
30698
+ * @memberof SDKStoreConfigApi
30699
+ */
30700
+ apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
30701
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
30702
+ }
30703
+ /**
30704
+ * Updates the store configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration. Requires write secret for security.
30705
+ * @summary Update Store Config (Public SDK API)
30706
+ * @param {string} xStoreid Store ID
30707
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
30708
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30709
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
30710
+ * @param {*} [options] Override http request option.
30711
+ * @throws {RequiredError}
30712
+ * @memberof SDKStoreConfigApi
30713
+ */
30714
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
30715
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
30716
+ }
30717
+ /**
30718
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
30719
+ * @summary Get Store Config Schema (Public SDK API)
30720
+ * @param {string} xStoreid Store ID
30721
+ * @param {string} xStoresecret Store Secret
30722
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30723
+ * @param {*} [options] Override http request option.
30724
+ * @throws {RequiredError}
30725
+ * @memberof SDKStoreConfigApi
30726
+ */
30727
+ apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
30728
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
30729
+ }
30730
+ }
30731
+ /**
30732
+ * SDKStoreCreationApi - axios parameter creator
30733
+ * @export
30734
+ */
30735
+ export const SDKStoreCreationApiAxiosParamCreator = function (configuration) {
30736
+ return {
30737
+ /**
30738
+ * 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.
30739
+ * @summary Create Store (Public SDK API)
30740
+ * @param {string} authorization Bearer JWT Token
30741
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
30742
+ * @param {*} [options] Override http request option.
30743
+ * @throws {RequiredError}
30744
+ */
30745
+ apiV1StoresPost: (authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesPublicCreateStoreRequest, options = {}) {
30746
+ // verify required parameter 'authorization' is not null or undefined
30747
+ assertParamExists('apiV1StoresPost', 'authorization', authorization);
30748
+ // verify required parameter 'dataTypesPublicCreateStoreRequest' is not null or undefined
30749
+ assertParamExists('apiV1StoresPost', 'dataTypesPublicCreateStoreRequest', dataTypesPublicCreateStoreRequest);
30750
+ const localVarPath = `/api/v1/stores`;
30751
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30752
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30753
+ let baseOptions;
30754
+ if (configuration) {
30755
+ baseOptions = configuration.baseOptions;
30756
+ }
30757
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30758
+ const localVarHeaderParameter = {};
30759
+ const localVarQueryParameter = {};
30760
+ // authentication BearerAuth required
30761
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
30762
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30763
+ if (authorization != null) {
30764
+ localVarHeaderParameter['Authorization'] = String(authorization);
30765
+ }
30766
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30767
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30768
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30769
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicCreateStoreRequest, localVarRequestOptions, configuration);
30770
+ return {
30771
+ url: toPathString(localVarUrlObj),
30772
+ options: localVarRequestOptions,
30773
+ };
30774
+ }),
30775
+ };
30776
+ };
30777
+ /**
30778
+ * SDKStoreCreationApi - functional programming interface
30779
+ * @export
30780
+ */
30781
+ export const SDKStoreCreationApiFp = function (configuration) {
30782
+ const localVarAxiosParamCreator = SDKStoreCreationApiAxiosParamCreator(configuration);
30783
+ return {
30784
+ /**
30785
+ * 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.
30786
+ * @summary Create Store (Public SDK API)
30787
+ * @param {string} authorization Bearer JWT Token
30788
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
30789
+ * @param {*} [options] Override http request option.
30790
+ * @throws {RequiredError}
30791
+ */
30792
+ apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
30793
+ return __awaiter(this, void 0, void 0, function* () {
30794
+ var _a, _b, _c;
30795
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options);
30796
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30797
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKStoreCreationApi.apiV1StoresPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30798
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30799
+ });
30800
+ },
30801
+ };
30802
+ };
30803
+ /**
30804
+ * SDKStoreCreationApi - factory interface
30805
+ * @export
30806
+ */
30807
+ export const SDKStoreCreationApiFactory = function (configuration, basePath, axios) {
30808
+ const localVarFp = SDKStoreCreationApiFp(configuration);
30809
+ return {
30810
+ /**
30811
+ * 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.
30812
+ * @summary Create Store (Public SDK API)
30813
+ * @param {string} authorization Bearer JWT Token
30814
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
30815
+ * @param {*} [options] Override http request option.
30816
+ * @throws {RequiredError}
30817
+ */
30818
+ apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
30819
+ return localVarFp.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(axios, basePath));
30820
+ },
30821
+ };
30822
+ };
30823
+ /**
30824
+ * SDKStoreCreationApi - object-oriented interface
30825
+ * @export
30826
+ * @class SDKStoreCreationApi
30827
+ * @extends {BaseAPI}
30828
+ */
30829
+ export class SDKStoreCreationApi extends BaseAPI {
30830
+ /**
30831
+ * 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.
30832
+ * @summary Create Store (Public SDK API)
30833
+ * @param {string} authorization Bearer JWT Token
30834
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
30835
+ * @param {*} [options] Override http request option.
30836
+ * @throws {RequiredError}
30837
+ * @memberof SDKStoreCreationApi
30838
+ */
30839
+ apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
30840
+ return SDKStoreCreationApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
30841
+ }
30842
+ }
30843
+ /**
30844
+ * SDKStoreInfoApi - axios parameter creator
30845
+ * @export
30846
+ */
30847
+ export const SDKStoreInfoApiAxiosParamCreator = function (configuration) {
30848
+ return {
30849
+ /**
30850
+ * Retrieves basic store information (name, location, status) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30851
+ * @summary Get Store Info (Public SDK API)
30852
+ * @param {string} xStoreid Store ID
30853
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30854
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30855
+ * @param {*} [options] Override http request option.
30856
+ * @throws {RequiredError}
30857
+ */
30858
+ apiV1StoresXStoreIDGet: (xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xStoreID_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xStoreID, options = {}) {
30859
+ // verify required parameter 'xStoreid' is not null or undefined
30860
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoreid', xStoreid);
30861
+ // verify required parameter 'xStoresecret' is not null or undefined
30862
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoresecret', xStoresecret);
30863
+ // verify required parameter 'xStoreID' is not null or undefined
30864
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoreID', xStoreID);
30865
+ const localVarPath = `/api/v1/stores/{xStoreID}`
30866
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
30867
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30868
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30869
+ let baseOptions;
30870
+ if (configuration) {
30871
+ baseOptions = configuration.baseOptions;
30872
+ }
30873
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30874
+ const localVarHeaderParameter = {};
30875
+ const localVarQueryParameter = {};
30876
+ if (xStoreid != null) {
30877
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
30878
+ }
30879
+ if (xStoresecret != null) {
30880
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
30881
+ }
30882
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30883
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30884
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30885
+ return {
30886
+ url: toPathString(localVarUrlObj),
30887
+ options: localVarRequestOptions,
30888
+ };
30889
+ }),
30890
+ };
30891
+ };
30892
+ /**
30893
+ * SDKStoreInfoApi - functional programming interface
30894
+ * @export
30895
+ */
30896
+ export const SDKStoreInfoApiFp = function (configuration) {
30897
+ const localVarAxiosParamCreator = SDKStoreInfoApiAxiosParamCreator(configuration);
30898
+ return {
30899
+ /**
30900
+ * Retrieves basic store information (name, location, status) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30901
+ * @summary Get Store Info (Public SDK API)
30902
+ * @param {string} xStoreid Store ID
30903
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30904
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30905
+ * @param {*} [options] Override http request option.
30906
+ * @throws {RequiredError}
30907
+ */
30908
+ apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
30909
+ return __awaiter(this, void 0, void 0, function* () {
30910
+ var _a, _b, _c;
30911
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options);
30912
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30913
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKStoreInfoApi.apiV1StoresXStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30914
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30915
+ });
30916
+ },
30917
+ };
30918
+ };
30919
+ /**
30920
+ * SDKStoreInfoApi - factory interface
30921
+ * @export
30922
+ */
30923
+ export const SDKStoreInfoApiFactory = function (configuration, basePath, axios) {
30924
+ const localVarFp = SDKStoreInfoApiFp(configuration);
30925
+ return {
30926
+ /**
30927
+ * Retrieves basic store information (name, location, status) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30928
+ * @summary Get Store Info (Public SDK API)
30929
+ * @param {string} xStoreid Store ID
30930
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30931
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30932
+ * @param {*} [options] Override http request option.
30933
+ * @throws {RequiredError}
30934
+ */
30935
+ apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
30936
+ return localVarFp.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
30937
+ },
30938
+ };
30939
+ };
30940
+ /**
30941
+ * SDKStoreInfoApi - object-oriented interface
30942
+ * @export
30943
+ * @class SDKStoreInfoApi
30944
+ * @extends {BaseAPI}
30945
+ */
30946
+ export class SDKStoreInfoApi extends BaseAPI {
30947
+ /**
30948
+ * Retrieves basic store information (name, location, status) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
30949
+ * @summary Get Store Info (Public SDK API)
30950
+ * @param {string} xStoreid Store ID
30951
+ * @param {string} xStoresecret Store Read Secret (for read operations)
30952
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
30953
+ * @param {*} [options] Override http request option.
30954
+ * @throws {RequiredError}
30955
+ * @memberof SDKStoreInfoApi
30956
+ */
30957
+ apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
30958
+ return SDKStoreInfoApiFp(this.configuration).apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
30959
+ }
30960
+ }
30437
30961
  /**
30438
30962
  * SearchApi - axios parameter creator
30439
30963
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file