@seekora-ai/admin-api 1.1.42 → 1.1.43

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/api.ts CHANGED
@@ -10430,6 +10430,56 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
10430
10430
  */
10431
10431
  'status'?: number;
10432
10432
  }
10433
+ /**
10434
+ *
10435
+ * @export
10436
+ * @interface DataTypesGenericResponseDataTypesPublicCreateStoreResponse
10437
+ */
10438
+ export interface DataTypesGenericResponseDataTypesPublicCreateStoreResponse {
10439
+ /**
10440
+ *
10441
+ * @type {DataTypesPublicCreateStoreResponse}
10442
+ * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
10443
+ */
10444
+ 'data'?: DataTypesPublicCreateStoreResponse;
10445
+ /**
10446
+ *
10447
+ * @type {string}
10448
+ * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
10449
+ */
10450
+ 'message'?: string;
10451
+ /**
10452
+ *
10453
+ * @type {number}
10454
+ * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
10455
+ */
10456
+ 'status'?: number;
10457
+ }
10458
+ /**
10459
+ *
10460
+ * @export
10461
+ * @interface DataTypesGenericResponseDataTypesPublicStoreInfoResponse
10462
+ */
10463
+ export interface DataTypesGenericResponseDataTypesPublicStoreInfoResponse {
10464
+ /**
10465
+ *
10466
+ * @type {DataTypesPublicStoreInfoResponse}
10467
+ * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
10468
+ */
10469
+ 'data'?: DataTypesPublicStoreInfoResponse;
10470
+ /**
10471
+ *
10472
+ * @type {string}
10473
+ * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
10474
+ */
10475
+ 'message'?: string;
10476
+ /**
10477
+ *
10478
+ * @type {number}
10479
+ * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
10480
+ */
10481
+ 'status'?: number;
10482
+ }
10433
10483
  /**
10434
10484
  *
10435
10485
  * @export
@@ -16598,6 +16648,86 @@ export interface DataTypesProfileResponseWrapper {
16598
16648
  */
16599
16649
  'status'?: number;
16600
16650
  }
16651
+ /**
16652
+ *
16653
+ * @export
16654
+ * @interface DataTypesPublicCreateStoreRequest
16655
+ */
16656
+ export interface DataTypesPublicCreateStoreRequest {
16657
+ /**
16658
+ * Optional: array of documents to import immediately
16659
+ * @type {Array<{ [key: string]: any; }>}
16660
+ * @memberof DataTypesPublicCreateStoreRequest
16661
+ */
16662
+ 'dataset'?: Array<{ [key: string]: any; }>;
16663
+ /**
16664
+ *
16665
+ * @type {string}
16666
+ * @memberof DataTypesPublicCreateStoreRequest
16667
+ */
16668
+ 'industry'?: string;
16669
+ /**
16670
+ *
16671
+ * @type {string}
16672
+ * @memberof DataTypesPublicCreateStoreRequest
16673
+ */
16674
+ 'location'?: string;
16675
+ /**
16676
+ *
16677
+ * @type {string}
16678
+ * @memberof DataTypesPublicCreateStoreRequest
16679
+ */
16680
+ 'storeName': string;
16681
+ }
16682
+ /**
16683
+ *
16684
+ * @export
16685
+ * @interface DataTypesPublicCreateStoreResponse
16686
+ */
16687
+ export interface DataTypesPublicCreateStoreResponse {
16688
+ /**
16689
+ * Job ID if dataset was imported
16690
+ * @type {string}
16691
+ * @memberof DataTypesPublicCreateStoreResponse
16692
+ */
16693
+ 'importJobId'?: string;
16694
+ /**
16695
+ * Number of documents imported
16696
+ * @type {number}
16697
+ * @memberof DataTypesPublicCreateStoreResponse
16698
+ */
16699
+ 'importedCount'?: number;
16700
+ /**
16701
+ *
16702
+ * @type {number}
16703
+ * @memberof DataTypesPublicCreateStoreResponse
16704
+ */
16705
+ 'storeId'?: number;
16706
+ /**
16707
+ *
16708
+ * @type {string}
16709
+ * @memberof DataTypesPublicCreateStoreResponse
16710
+ */
16711
+ 'storeName'?: string;
16712
+ /**
16713
+ *
16714
+ * @type {string}
16715
+ * @memberof DataTypesPublicCreateStoreResponse
16716
+ */
16717
+ 'xStoreId'?: string;
16718
+ /**
16719
+ *
16720
+ * @type {string}
16721
+ * @memberof DataTypesPublicCreateStoreResponse
16722
+ */
16723
+ 'xStoreSecret'?: string;
16724
+ /**
16725
+ *
16726
+ * @type {string}
16727
+ * @memberof DataTypesPublicCreateStoreResponse
16728
+ */
16729
+ 'xStoreWriteSecret'?: string;
16730
+ }
16601
16731
  /**
16602
16732
  *
16603
16733
  * @export
@@ -16683,6 +16813,49 @@ export interface DataTypesPublicSearchRequest {
16683
16813
  */
16684
16814
  'widget_mode'?: boolean;
16685
16815
  }
16816
+ /**
16817
+ *
16818
+ * @export
16819
+ * @interface DataTypesPublicStoreInfoResponse
16820
+ */
16821
+ export interface DataTypesPublicStoreInfoResponse {
16822
+ /**
16823
+ *
16824
+ * @type {string}
16825
+ * @memberof DataTypesPublicStoreInfoResponse
16826
+ */
16827
+ 'createdAt'?: string;
16828
+ /**
16829
+ *
16830
+ * @type {boolean}
16831
+ * @memberof DataTypesPublicStoreInfoResponse
16832
+ */
16833
+ 'isActive'?: boolean;
16834
+ /**
16835
+ *
16836
+ * @type {string}
16837
+ * @memberof DataTypesPublicStoreInfoResponse
16838
+ */
16839
+ 'location'?: string;
16840
+ /**
16841
+ *
16842
+ * @type {number}
16843
+ * @memberof DataTypesPublicStoreInfoResponse
16844
+ */
16845
+ 'storeId'?: number;
16846
+ /**
16847
+ *
16848
+ * @type {string}
16849
+ * @memberof DataTypesPublicStoreInfoResponse
16850
+ */
16851
+ 'storeName'?: string;
16852
+ /**
16853
+ *
16854
+ * @type {string}
16855
+ * @memberof DataTypesPublicStoreInfoResponse
16856
+ */
16857
+ 'xStoreId'?: string;
16858
+ }
16686
16859
  /**
16687
16860
  *
16688
16861
  * @export
@@ -58269,6 +58442,563 @@ export class RolesApi extends BaseAPI {
58269
58442
 
58270
58443
 
58271
58444
 
58445
+ /**
58446
+ * SDKStoreConfigApi - axios parameter creator
58447
+ * @export
58448
+ */
58449
+ export const SDKStoreConfigApiAxiosParamCreator = function (configuration?: Configuration) {
58450
+ return {
58451
+ /**
58452
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
58453
+ * @summary Get Store Config (Public SDK API)
58454
+ * @param {string} xStoreid Store ID
58455
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58456
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58457
+ * @param {*} [options] Override http request option.
58458
+ * @throws {RequiredError}
58459
+ */
58460
+ apiV1StoresXStoreIDConfigGet: async (xStoreid: string, xStoresecret: string, xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58461
+ // verify required parameter 'xStoreid' is not null or undefined
58462
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoreid', xStoreid)
58463
+ // verify required parameter 'xStoresecret' is not null or undefined
58464
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoresecret', xStoresecret)
58465
+ // verify required parameter 'xStoreID' is not null or undefined
58466
+ assertParamExists('apiV1StoresXStoreIDConfigGet', 'xStoreID', xStoreID)
58467
+ const localVarPath = `/api/v1/stores/{xStoreID}/config`
58468
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
58469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58471
+ let baseOptions;
58472
+ if (configuration) {
58473
+ baseOptions = configuration.baseOptions;
58474
+ }
58475
+
58476
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58477
+ const localVarHeaderParameter = {} as any;
58478
+ const localVarQueryParameter = {} as any;
58479
+
58480
+
58481
+
58482
+ if (xStoreid != null) {
58483
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
58484
+ }
58485
+ if (xStoresecret != null) {
58486
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
58487
+ }
58488
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58490
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58491
+
58492
+ return {
58493
+ url: toPathString(localVarUrlObj),
58494
+ options: localVarRequestOptions,
58495
+ };
58496
+ },
58497
+ /**
58498
+ * 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.
58499
+ * @summary Update Store Config (Public SDK API)
58500
+ * @param {string} xStoreid Store ID
58501
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
58502
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58503
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
58504
+ * @param {*} [options] Override http request option.
58505
+ * @throws {RequiredError}
58506
+ */
58507
+ apiV1StoresXStoreIDConfigPut: async (xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58508
+ // verify required parameter 'xStoreid' is not null or undefined
58509
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid)
58510
+ // verify required parameter 'xStoreWriteSecret' is not null or undefined
58511
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret)
58512
+ // verify required parameter 'xStoreID' is not null or undefined
58513
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID)
58514
+ // verify required parameter 'dataTypesIndexConfig' is not null or undefined
58515
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig)
58516
+ const localVarPath = `/api/v1/stores/{xStoreID}/config`
58517
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
58518
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58519
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58520
+ let baseOptions;
58521
+ if (configuration) {
58522
+ baseOptions = configuration.baseOptions;
58523
+ }
58524
+
58525
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
58526
+ const localVarHeaderParameter = {} as any;
58527
+ const localVarQueryParameter = {} as any;
58528
+
58529
+
58530
+
58531
+ localVarHeaderParameter['Content-Type'] = 'application/json';
58532
+
58533
+ if (xStoreid != null) {
58534
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
58535
+ }
58536
+ if (xStoreWriteSecret != null) {
58537
+ localVarHeaderParameter['x-store-write-secret'] = String(xStoreWriteSecret);
58538
+ }
58539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58541
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58542
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesIndexConfig, localVarRequestOptions, configuration)
58543
+
58544
+ return {
58545
+ url: toPathString(localVarUrlObj),
58546
+ options: localVarRequestOptions,
58547
+ };
58548
+ },
58549
+ /**
58550
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
58551
+ * @summary Get Store Config Schema (Public SDK API)
58552
+ * @param {string} xStoreid Store ID
58553
+ * @param {string} xStoresecret Store Secret
58554
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58555
+ * @param {*} [options] Override http request option.
58556
+ * @throws {RequiredError}
58557
+ */
58558
+ apiV1StoresXStoreIDConfigSchemaGet: async (xStoreid: string, xStoresecret: string, xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58559
+ // verify required parameter 'xStoreid' is not null or undefined
58560
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreid', xStoreid)
58561
+ // verify required parameter 'xStoresecret' is not null or undefined
58562
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoresecret', xStoresecret)
58563
+ // verify required parameter 'xStoreID' is not null or undefined
58564
+ assertParamExists('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID)
58565
+ const localVarPath = `/api/v1/stores/{xStoreID}/config-schema`
58566
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
58567
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58568
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58569
+ let baseOptions;
58570
+ if (configuration) {
58571
+ baseOptions = configuration.baseOptions;
58572
+ }
58573
+
58574
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58575
+ const localVarHeaderParameter = {} as any;
58576
+ const localVarQueryParameter = {} as any;
58577
+
58578
+
58579
+
58580
+ if (xStoreid != null) {
58581
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
58582
+ }
58583
+ if (xStoresecret != null) {
58584
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
58585
+ }
58586
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58587
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58588
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58589
+
58590
+ return {
58591
+ url: toPathString(localVarUrlObj),
58592
+ options: localVarRequestOptions,
58593
+ };
58594
+ },
58595
+ }
58596
+ };
58597
+
58598
+ /**
58599
+ * SDKStoreConfigApi - functional programming interface
58600
+ * @export
58601
+ */
58602
+ export const SDKStoreConfigApiFp = function(configuration?: Configuration) {
58603
+ const localVarAxiosParamCreator = SDKStoreConfigApiAxiosParamCreator(configuration)
58604
+ return {
58605
+ /**
58606
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
58607
+ * @summary Get Store Config (Public SDK API)
58608
+ * @param {string} xStoreid Store ID
58609
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58610
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58611
+ * @param {*} [options] Override http request option.
58612
+ * @throws {RequiredError}
58613
+ */
58614
+ async apiV1StoresXStoreIDConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesStoreConfigWithOnboardingResponse>> {
58615
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options);
58616
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58617
+ const localVarOperationServerBasePath = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigGet']?.[localVarOperationServerIndex]?.url;
58618
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58619
+ },
58620
+ /**
58621
+ * 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.
58622
+ * @summary Update Store Config (Public SDK API)
58623
+ * @param {string} xStoreid Store ID
58624
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
58625
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58626
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
58627
+ * @param {*} [options] Override http request option.
58628
+ * @throws {RequiredError}
58629
+ */
58630
+ async apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>> {
58631
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
58632
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58633
+ const localVarOperationServerBasePath = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigPut']?.[localVarOperationServerIndex]?.url;
58634
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58635
+ },
58636
+ /**
58637
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
58638
+ * @summary Get Store Config Schema (Public SDK API)
58639
+ * @param {string} xStoreid Store ID
58640
+ * @param {string} xStoresecret Store Secret
58641
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58642
+ * @param {*} [options] Override http request option.
58643
+ * @throws {RequiredError}
58644
+ */
58645
+ async apiV1StoresXStoreIDConfigSchemaGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>> {
58646
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options);
58647
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58648
+ const localVarOperationServerBasePath = operationServerMap['SDKStoreConfigApi.apiV1StoresXStoreIDConfigSchemaGet']?.[localVarOperationServerIndex]?.url;
58649
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58650
+ },
58651
+ }
58652
+ };
58653
+
58654
+ /**
58655
+ * SDKStoreConfigApi - factory interface
58656
+ * @export
58657
+ */
58658
+ export const SDKStoreConfigApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
58659
+ const localVarFp = SDKStoreConfigApiFp(configuration)
58660
+ return {
58661
+ /**
58662
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
58663
+ * @summary Get Store Config (Public SDK API)
58664
+ * @param {string} xStoreid Store ID
58665
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58666
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58667
+ * @param {*} [options] Override http request option.
58668
+ * @throws {RequiredError}
58669
+ */
58670
+ apiV1StoresXStoreIDConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesStoreConfigWithOnboardingResponse> {
58671
+ return localVarFp.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
58672
+ },
58673
+ /**
58674
+ * 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.
58675
+ * @summary Update Store Config (Public SDK API)
58676
+ * @param {string} xStoreid Store ID
58677
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
58678
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58679
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
58680
+ * @param {*} [options] Override http request option.
58681
+ * @throws {RequiredError}
58682
+ */
58683
+ apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper> {
58684
+ return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
58685
+ },
58686
+ /**
58687
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
58688
+ * @summary Get Store Config Schema (Public SDK API)
58689
+ * @param {string} xStoreid Store ID
58690
+ * @param {string} xStoresecret Store Secret
58691
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58692
+ * @param {*} [options] Override http request option.
58693
+ * @throws {RequiredError}
58694
+ */
58695
+ apiV1StoresXStoreIDConfigSchemaGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponseWrapper> {
58696
+ return localVarFp.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
58697
+ },
58698
+ };
58699
+ };
58700
+
58701
+ /**
58702
+ * SDKStoreConfigApi - object-oriented interface
58703
+ * @export
58704
+ * @class SDKStoreConfigApi
58705
+ * @extends {BaseAPI}
58706
+ */
58707
+ export class SDKStoreConfigApi extends BaseAPI {
58708
+ /**
58709
+ * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
58710
+ * @summary Get Store Config (Public SDK API)
58711
+ * @param {string} xStoreid Store ID
58712
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58713
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58714
+ * @param {*} [options] Override http request option.
58715
+ * @throws {RequiredError}
58716
+ * @memberof SDKStoreConfigApi
58717
+ */
58718
+ public apiV1StoresXStoreIDConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig) {
58719
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
58720
+ }
58721
+
58722
+ /**
58723
+ * 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.
58724
+ * @summary Update Store Config (Public SDK API)
58725
+ * @param {string} xStoreid Store ID
58726
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
58727
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58728
+ * @param {DataTypesIndexConfig} dataTypesIndexConfig Store configuration (partial updates supported)
58729
+ * @param {*} [options] Override http request option.
58730
+ * @throws {RequiredError}
58731
+ * @memberof SDKStoreConfigApi
58732
+ */
58733
+ public apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig) {
58734
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
58735
+ }
58736
+
58737
+ /**
58738
+ * Get metadata about all configurable fields for store configuration. This is a public API for SDK integration.
58739
+ * @summary Get Store Config Schema (Public SDK API)
58740
+ * @param {string} xStoreid Store ID
58741
+ * @param {string} xStoresecret Store Secret
58742
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58743
+ * @param {*} [options] Override http request option.
58744
+ * @throws {RequiredError}
58745
+ * @memberof SDKStoreConfigApi
58746
+ */
58747
+ public apiV1StoresXStoreIDConfigSchemaGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig) {
58748
+ return SDKStoreConfigApiFp(this.configuration).apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
58749
+ }
58750
+ }
58751
+
58752
+
58753
+
58754
+ /**
58755
+ * SDKStoreCreationApi - axios parameter creator
58756
+ * @export
58757
+ */
58758
+ export const SDKStoreCreationApiAxiosParamCreator = function (configuration?: Configuration) {
58759
+ return {
58760
+ /**
58761
+ * 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.
58762
+ * @summary Create Store (Public SDK API)
58763
+ * @param {string} authorization Bearer JWT Token
58764
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
58765
+ * @param {*} [options] Override http request option.
58766
+ * @throws {RequiredError}
58767
+ */
58768
+ apiV1StoresPost: async (authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58769
+ // verify required parameter 'authorization' is not null or undefined
58770
+ assertParamExists('apiV1StoresPost', 'authorization', authorization)
58771
+ // verify required parameter 'dataTypesPublicCreateStoreRequest' is not null or undefined
58772
+ assertParamExists('apiV1StoresPost', 'dataTypesPublicCreateStoreRequest', dataTypesPublicCreateStoreRequest)
58773
+ const localVarPath = `/api/v1/stores`;
58774
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58775
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58776
+ let baseOptions;
58777
+ if (configuration) {
58778
+ baseOptions = configuration.baseOptions;
58779
+ }
58780
+
58781
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
58782
+ const localVarHeaderParameter = {} as any;
58783
+ const localVarQueryParameter = {} as any;
58784
+
58785
+ // authentication BearerAuth required
58786
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
58787
+
58788
+
58789
+
58790
+ localVarHeaderParameter['Content-Type'] = 'application/json';
58791
+
58792
+ if (authorization != null) {
58793
+ localVarHeaderParameter['Authorization'] = String(authorization);
58794
+ }
58795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58797
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58798
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicCreateStoreRequest, localVarRequestOptions, configuration)
58799
+
58800
+ return {
58801
+ url: toPathString(localVarUrlObj),
58802
+ options: localVarRequestOptions,
58803
+ };
58804
+ },
58805
+ }
58806
+ };
58807
+
58808
+ /**
58809
+ * SDKStoreCreationApi - functional programming interface
58810
+ * @export
58811
+ */
58812
+ export const SDKStoreCreationApiFp = function(configuration?: Configuration) {
58813
+ const localVarAxiosParamCreator = SDKStoreCreationApiAxiosParamCreator(configuration)
58814
+ return {
58815
+ /**
58816
+ * 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.
58817
+ * @summary Create Store (Public SDK API)
58818
+ * @param {string} authorization Bearer JWT Token
58819
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
58820
+ * @param {*} [options] Override http request option.
58821
+ * @throws {RequiredError}
58822
+ */
58823
+ async apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPublicCreateStoreResponse>> {
58824
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options);
58825
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58826
+ const localVarOperationServerBasePath = operationServerMap['SDKStoreCreationApi.apiV1StoresPost']?.[localVarOperationServerIndex]?.url;
58827
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58828
+ },
58829
+ }
58830
+ };
58831
+
58832
+ /**
58833
+ * SDKStoreCreationApi - factory interface
58834
+ * @export
58835
+ */
58836
+ export const SDKStoreCreationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
58837
+ const localVarFp = SDKStoreCreationApiFp(configuration)
58838
+ return {
58839
+ /**
58840
+ * 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.
58841
+ * @summary Create Store (Public SDK API)
58842
+ * @param {string} authorization Bearer JWT Token
58843
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
58844
+ * @param {*} [options] Override http request option.
58845
+ * @throws {RequiredError}
58846
+ */
58847
+ apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPublicCreateStoreResponse> {
58848
+ return localVarFp.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(axios, basePath));
58849
+ },
58850
+ };
58851
+ };
58852
+
58853
+ /**
58854
+ * SDKStoreCreationApi - object-oriented interface
58855
+ * @export
58856
+ * @class SDKStoreCreationApi
58857
+ * @extends {BaseAPI}
58858
+ */
58859
+ export class SDKStoreCreationApi extends BaseAPI {
58860
+ /**
58861
+ * 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.
58862
+ * @summary Create Store (Public SDK API)
58863
+ * @param {string} authorization Bearer JWT Token
58864
+ * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
58865
+ * @param {*} [options] Override http request option.
58866
+ * @throws {RequiredError}
58867
+ * @memberof SDKStoreCreationApi
58868
+ */
58869
+ public apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig) {
58870
+ return SDKStoreCreationApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
58871
+ }
58872
+ }
58873
+
58874
+
58875
+
58876
+ /**
58877
+ * SDKStoreInfoApi - axios parameter creator
58878
+ * @export
58879
+ */
58880
+ export const SDKStoreInfoApiAxiosParamCreator = function (configuration?: Configuration) {
58881
+ return {
58882
+ /**
58883
+ * 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).
58884
+ * @summary Get Store Info (Public SDK API)
58885
+ * @param {string} xStoreid Store ID
58886
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58887
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58888
+ * @param {*} [options] Override http request option.
58889
+ * @throws {RequiredError}
58890
+ */
58891
+ apiV1StoresXStoreIDGet: async (xStoreid: string, xStoresecret: string, xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58892
+ // verify required parameter 'xStoreid' is not null or undefined
58893
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoreid', xStoreid)
58894
+ // verify required parameter 'xStoresecret' is not null or undefined
58895
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoresecret', xStoresecret)
58896
+ // verify required parameter 'xStoreID' is not null or undefined
58897
+ assertParamExists('apiV1StoresXStoreIDGet', 'xStoreID', xStoreID)
58898
+ const localVarPath = `/api/v1/stores/{xStoreID}`
58899
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
58900
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58901
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58902
+ let baseOptions;
58903
+ if (configuration) {
58904
+ baseOptions = configuration.baseOptions;
58905
+ }
58906
+
58907
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58908
+ const localVarHeaderParameter = {} as any;
58909
+ const localVarQueryParameter = {} as any;
58910
+
58911
+
58912
+
58913
+ if (xStoreid != null) {
58914
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
58915
+ }
58916
+ if (xStoresecret != null) {
58917
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
58918
+ }
58919
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58920
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58921
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
58922
+
58923
+ return {
58924
+ url: toPathString(localVarUrlObj),
58925
+ options: localVarRequestOptions,
58926
+ };
58927
+ },
58928
+ }
58929
+ };
58930
+
58931
+ /**
58932
+ * SDKStoreInfoApi - functional programming interface
58933
+ * @export
58934
+ */
58935
+ export const SDKStoreInfoApiFp = function(configuration?: Configuration) {
58936
+ const localVarAxiosParamCreator = SDKStoreInfoApiAxiosParamCreator(configuration)
58937
+ return {
58938
+ /**
58939
+ * 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).
58940
+ * @summary Get Store Info (Public SDK API)
58941
+ * @param {string} xStoreid Store ID
58942
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58943
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58944
+ * @param {*} [options] Override http request option.
58945
+ * @throws {RequiredError}
58946
+ */
58947
+ async apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPublicStoreInfoResponse>> {
58948
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options);
58949
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58950
+ const localVarOperationServerBasePath = operationServerMap['SDKStoreInfoApi.apiV1StoresXStoreIDGet']?.[localVarOperationServerIndex]?.url;
58951
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58952
+ },
58953
+ }
58954
+ };
58955
+
58956
+ /**
58957
+ * SDKStoreInfoApi - factory interface
58958
+ * @export
58959
+ */
58960
+ export const SDKStoreInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
58961
+ const localVarFp = SDKStoreInfoApiFp(configuration)
58962
+ return {
58963
+ /**
58964
+ * 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).
58965
+ * @summary Get Store Info (Public SDK API)
58966
+ * @param {string} xStoreid Store ID
58967
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58968
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58969
+ * @param {*} [options] Override http request option.
58970
+ * @throws {RequiredError}
58971
+ */
58972
+ apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPublicStoreInfoResponse> {
58973
+ return localVarFp.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
58974
+ },
58975
+ };
58976
+ };
58977
+
58978
+ /**
58979
+ * SDKStoreInfoApi - object-oriented interface
58980
+ * @export
58981
+ * @class SDKStoreInfoApi
58982
+ * @extends {BaseAPI}
58983
+ */
58984
+ export class SDKStoreInfoApi extends BaseAPI {
58985
+ /**
58986
+ * 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).
58987
+ * @summary Get Store Info (Public SDK API)
58988
+ * @param {string} xStoreid Store ID
58989
+ * @param {string} xStoresecret Store Read Secret (for read operations)
58990
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
58991
+ * @param {*} [options] Override http request option.
58992
+ * @throws {RequiredError}
58993
+ * @memberof SDKStoreInfoApi
58994
+ */
58995
+ public apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig) {
58996
+ return SDKStoreInfoApiFp(this.configuration).apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
58997
+ }
58998
+ }
58999
+
59000
+
59001
+
58272
59002
  /**
58273
59003
  * SearchApi - axios parameter creator
58274
59004
  * @export