@seekora-ai/admin-api 1.0.17 → 1.0.18

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.d.ts CHANGED
@@ -497,31 +497,6 @@ export interface DataTypesConfigurationSchema {
497
497
  */
498
498
  'index_fields'?: Array<DataTypesIndexField>;
499
499
  }
500
- /**
501
- *
502
- * @export
503
- * @interface DataTypesConfigurationSchemaResponse
504
- */
505
- export interface DataTypesConfigurationSchemaResponse {
506
- /**
507
- *
508
- * @type {DataTypesConfigurationSchema}
509
- * @memberof DataTypesConfigurationSchemaResponse
510
- */
511
- 'data'?: DataTypesConfigurationSchema;
512
- /**
513
- *
514
- * @type {string}
515
- * @memberof DataTypesConfigurationSchemaResponse
516
- */
517
- 'message'?: string;
518
- /**
519
- *
520
- * @type {number}
521
- * @memberof DataTypesConfigurationSchemaResponse
522
- */
523
- 'status'?: number;
524
- }
525
500
  /**
526
501
  *
527
502
  * @export
@@ -1346,6 +1321,18 @@ export interface DataTypesGetStoreResult {
1346
1321
  * @memberof DataTypesGetStoreResult
1347
1322
  */
1348
1323
  'search_config'?: DataTypesIndexConfig;
1324
+ /**
1325
+ * Include in API responses
1326
+ * @type {string}
1327
+ * @memberof DataTypesGetStoreResult
1328
+ */
1329
+ 'xStoreID'?: string;
1330
+ /**
1331
+ * Include in API responses
1332
+ * @type {string}
1333
+ * @memberof DataTypesGetStoreResult
1334
+ */
1335
+ 'xStoreSecret'?: string;
1349
1336
  }
1350
1337
  /**
1351
1338
  *
@@ -3851,31 +3838,6 @@ export interface DataTypesSchemaBasedDefaults {
3851
3838
  */
3852
3839
  'sortable_fields'?: Array<DataTypesSortField>;
3853
3840
  }
3854
- /**
3855
- *
3856
- * @export
3857
- * @interface DataTypesSchemaBasedDefaultsResponse
3858
- */
3859
- export interface DataTypesSchemaBasedDefaultsResponse {
3860
- /**
3861
- *
3862
- * @type {DataTypesSchemaBasedDefaults}
3863
- * @memberof DataTypesSchemaBasedDefaultsResponse
3864
- */
3865
- 'data'?: DataTypesSchemaBasedDefaults;
3866
- /**
3867
- *
3868
- * @type {string}
3869
- * @memberof DataTypesSchemaBasedDefaultsResponse
3870
- */
3871
- 'message'?: string;
3872
- /**
3873
- *
3874
- * @type {number}
3875
- * @memberof DataTypesSchemaBasedDefaultsResponse
3876
- */
3877
- 'status'?: number;
3878
- }
3879
3841
  /**
3880
3842
  *
3881
3843
  * @export
@@ -4404,6 +4366,12 @@ export interface DataTypesStore {
4404
4366
  * @memberof DataTypesStore
4405
4367
  */
4406
4368
  'alias'?: string;
4369
+ /**
4370
+ * Include in API responses
4371
+ * @type {string}
4372
+ * @memberof DataTypesStore
4373
+ */
4374
+ 'xStoreID'?: string;
4407
4375
  }
4408
4376
  /**
4409
4377
  *
@@ -9664,12 +9632,12 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration)
9664
9632
  /**
9665
9633
  * Search documents with optional configuration override and autocomplete suggestions
9666
9634
  * @summary Admin Search API
9667
- * @param {number} storeid Store ID
9635
+ * @param {string} xStoreID X-Store ID
9668
9636
  * @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
9669
9637
  * @param {*} [options] Override http request option.
9670
9638
  * @throws {RequiredError}
9671
9639
  */
9672
- adminV1SearchStoreidPost: (storeid: number, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9640
+ adminV1SearchXStoreIDPost: (xStoreID: string, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9673
9641
  /**
9674
9642
  * Get metadata about all configurable fields for dynamic form generation
9675
9643
  * @summary Get Configuration Schema
@@ -9732,12 +9700,12 @@ export declare const SearchApiFp: (configuration?: Configuration) => {
9732
9700
  /**
9733
9701
  * Search documents with optional configuration override and autocomplete suggestions
9734
9702
  * @summary Admin Search API
9735
- * @param {number} storeid Store ID
9703
+ * @param {string} xStoreID X-Store ID
9736
9704
  * @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
9737
9705
  * @param {*} [options] Override http request option.
9738
9706
  * @throws {RequiredError}
9739
9707
  */
9740
- adminV1SearchStoreidPost(storeid: number, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>>;
9708
+ adminV1SearchXStoreIDPost(xStoreID: string, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>>;
9741
9709
  /**
9742
9710
  * Get metadata about all configurable fields for dynamic form generation
9743
9711
  * @summary Get Configuration Schema
@@ -9800,12 +9768,12 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath?
9800
9768
  /**
9801
9769
  * Search documents with optional configuration override and autocomplete suggestions
9802
9770
  * @summary Admin Search API
9803
- * @param {number} storeid Store ID
9771
+ * @param {string} xStoreID X-Store ID
9804
9772
  * @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
9805
9773
  * @param {*} [options] Override http request option.
9806
9774
  * @throws {RequiredError}
9807
9775
  */
9808
- adminV1SearchStoreidPost(storeid: number, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper>;
9776
+ adminV1SearchXStoreIDPost(xStoreID: string, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper>;
9809
9777
  /**
9810
9778
  * Get metadata about all configurable fields for dynamic form generation
9811
9779
  * @summary Get Configuration Schema
@@ -9870,13 +9838,13 @@ export declare class SearchApi extends BaseAPI {
9870
9838
  /**
9871
9839
  * Search documents with optional configuration override and autocomplete suggestions
9872
9840
  * @summary Admin Search API
9873
- * @param {number} storeid Store ID
9841
+ * @param {string} xStoreID X-Store ID
9874
9842
  * @param {DataTypesAdminSearchRequest} body Admin search request (set include_suggestions: true for autocomplete)
9875
9843
  * @param {*} [options] Override http request option.
9876
9844
  * @throws {RequiredError}
9877
9845
  * @memberof SearchApi
9878
9846
  */
9879
- adminV1SearchStoreidPost(storeid: number, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOfficialSearchResponseWrapper, any>>;
9847
+ adminV1SearchXStoreIDPost(xStoreID: string, body: DataTypesAdminSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOfficialSearchResponseWrapper, any>>;
9880
9848
  /**
9881
9849
  * Get metadata about all configurable fields for dynamic form generation
9882
9850
  * @summary Get Configuration Schema
@@ -9942,6 +9910,13 @@ export declare class SearchApi extends BaseAPI {
9942
9910
  * @export
9943
9911
  */
9944
9912
  export declare const StoresApiAxiosParamCreator: (configuration?: Configuration) => {
9913
+ /**
9914
+ * Fetches list of all stores for the authenticated user\'s organization
9915
+ * @summary Fetches list of all stores
9916
+ * @param {*} [options] Override http request option.
9917
+ * @throws {RequiredError}
9918
+ */
9919
+ adminStoresGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9945
9920
  /**
9946
9921
  * Fetches stores by id
9947
9922
  * @summary Fetches stores by id
@@ -9951,13 +9926,13 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
9951
9926
  */
9952
9927
  adminStoresGetStoreStoreIDGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9953
9928
  /**
9954
- * Fetches list of all stores
9955
- * @summary Fetches list of all stores
9956
- * @param {number} orgId Org ID
9929
+ * Fetches stores by xStoreID
9930
+ * @summary Fetches stores by xStoreID
9931
+ * @param {string} xStoreID X-Store ID
9957
9932
  * @param {*} [options] Override http request option.
9958
9933
  * @throws {RequiredError}
9959
9934
  */
9960
- adminStoresOrgIdGet: (orgId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9935
+ adminStoresGetStoreXStoreIDGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9961
9936
  /**
9962
9937
  * Adds a new store to the system
9963
9938
  * @summary Creates a new store
@@ -9967,62 +9942,69 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
9967
9942
  */
9968
9943
  adminStoresPost: (store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9969
9944
  /**
9970
- * Retrieves the store configuration
9971
- * @summary Get Store Config
9972
- * @param {number} storeID Store ID
9945
+ * Updates store information by ID.
9946
+ * @summary Update an existing store
9947
+ * @param {number} storeID store ID
9948
+ * @param {DataTypesStoreRequestDto} store Store data to update
9973
9949
  * @param {*} [options] Override http request option.
9974
9950
  * @throws {RequiredError}
9975
9951
  */
9976
- adminStoresStoreIDConfigGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9952
+ adminStoresStoreIDPut: (storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9977
9953
  /**
9978
- * Updates the store configuration
9979
- * @summary Update Store Config
9980
- * @param {number} storeID Store ID
9981
- * @param {DataTypesIndexConfig} body Store configuration
9954
+ * Updates StoreStatus information by ID.
9955
+ * @summary Update an existing StoreStatus
9956
+ * @param {number} id Store ID
9957
+ * @param {boolean} status status
9982
9958
  * @param {*} [options] Override http request option.
9983
9959
  * @throws {RequiredError}
9984
9960
  */
9985
- adminStoresStoreIDConfigPut: (storeID: number, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9961
+ adminStoresUpdateStatusIdStatusPut: (id: number, status: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9986
9962
  /**
9987
- * Get metadata about all configurable fields for store configuration
9988
- * @summary Get Store Config Schema
9989
- * @param {number} storeID Store ID to get field options from
9963
+ * Retrieves the store configuration using x-store ID
9964
+ * @summary Get Store Config
9965
+ * @param {string} xStoreID X-Store ID
9990
9966
  * @param {*} [options] Override http request option.
9991
9967
  * @throws {RequiredError}
9992
9968
  */
9993
- adminStoresStoreIDConfigSchemaGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9969
+ adminStoresXStoreIDConfigGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9994
9970
  /**
9995
- * Get default configuration values computed from the store\'s index schema
9996
- * @summary Get Store Schema-Based Defaults
9997
- * @param {number} storeID Store ID
9971
+ * Updates the store configuration using x-store ID
9972
+ * @summary Update Store Config
9973
+ * @param {string} xStoreID X-Store ID
9974
+ * @param {DataTypesIndexConfig} body Store configuration
9998
9975
  * @param {*} [options] Override http request option.
9999
9976
  * @throws {RequiredError}
10000
9977
  */
10001
- adminStoresStoreIDDefaultsGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9978
+ adminStoresXStoreIDConfigPut: (xStoreID: string, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10002
9979
  /**
10003
- * Updates store information by ID.
10004
- * @summary Update an existing store
10005
- * @param {number} storeID store ID
10006
- * @param {DataTypesStoreRequestDto} store Store data to update
9980
+ * Get metadata about all configurable fields for store configuration using x-store ID
9981
+ * @summary Get Store Config Schema
9982
+ * @param {string} xStoreID X-Store ID to get field options from
10007
9983
  * @param {*} [options] Override http request option.
10008
9984
  * @throws {RequiredError}
10009
9985
  */
10010
- adminStoresStoreIDPut: (storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9986
+ adminStoresXStoreIDConfigSchemaGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10011
9987
  /**
10012
- * Updates StoreStatus information by ID.
10013
- * @summary Update an existing StoreStatus
10014
- * @param {number} id Store ID
10015
- * @param {boolean} status status
9988
+ * Get default configuration values computed from the store\'s index schema using x-store ID
9989
+ * @summary Get Store Schema-Based Defaults
9990
+ * @param {string} xStoreID X-Store ID
10016
9991
  * @param {*} [options] Override http request option.
10017
9992
  * @throws {RequiredError}
10018
9993
  */
10019
- adminStoresUpdateStatusIdStatusPut: (id: number, status: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9994
+ adminStoresXStoreIDDefaultsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10020
9995
  };
10021
9996
  /**
10022
9997
  * StoresApi - functional programming interface
10023
9998
  * @export
10024
9999
  */
10025
10000
  export declare const StoresApiFp: (configuration?: Configuration) => {
10001
+ /**
10002
+ * Fetches list of all stores for the authenticated user\'s organization
10003
+ * @summary Fetches list of all stores
10004
+ * @param {*} [options] Override http request option.
10005
+ * @throws {RequiredError}
10006
+ */
10007
+ adminStoresGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
10026
10008
  /**
10027
10009
  * Fetches stores by id
10028
10010
  * @summary Fetches stores by id
@@ -10032,13 +10014,13 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
10032
10014
  */
10033
10015
  adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
10034
10016
  /**
10035
- * Fetches list of all stores
10036
- * @summary Fetches list of all stores
10037
- * @param {number} orgId Org ID
10017
+ * Fetches stores by xStoreID
10018
+ * @summary Fetches stores by xStoreID
10019
+ * @param {string} xStoreID X-Store ID
10038
10020
  * @param {*} [options] Override http request option.
10039
10021
  * @throws {RequiredError}
10040
10022
  */
10041
- adminStoresOrgIdGet(orgId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
10023
+ adminStoresGetStoreXStoreIDGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
10042
10024
  /**
10043
10025
  * Adds a new store to the system
10044
10026
  * @summary Creates a new store
@@ -10048,62 +10030,69 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
10048
10030
  */
10049
10031
  adminStoresPost(store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10050
10032
  /**
10051
- * Retrieves the store configuration
10052
- * @summary Get Store Config
10053
- * @param {number} storeID Store ID
10033
+ * Updates store information by ID.
10034
+ * @summary Update an existing store
10035
+ * @param {number} storeID store ID
10036
+ * @param {DataTypesStoreRequestDto} store Store data to update
10054
10037
  * @param {*} [options] Override http request option.
10055
10038
  * @throws {RequiredError}
10056
10039
  */
10057
- adminStoresStoreIDConfigGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>>;
10040
+ adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10058
10041
  /**
10059
- * Updates the store configuration
10060
- * @summary Update Store Config
10061
- * @param {number} storeID Store ID
10062
- * @param {DataTypesIndexConfig} body Store configuration
10042
+ * Updates StoreStatus information by ID.
10043
+ * @summary Update an existing StoreStatus
10044
+ * @param {number} id Store ID
10045
+ * @param {boolean} status status
10063
10046
  * @param {*} [options] Override http request option.
10064
10047
  * @throws {RequiredError}
10065
10048
  */
10066
- adminStoresStoreIDConfigPut(storeID: number, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10049
+ adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10067
10050
  /**
10068
- * Get metadata about all configurable fields for store configuration
10069
- * @summary Get Store Config Schema
10070
- * @param {number} storeID Store ID to get field options from
10051
+ * Retrieves the store configuration using x-store ID
10052
+ * @summary Get Store Config
10053
+ * @param {string} xStoreID X-Store ID
10071
10054
  * @param {*} [options] Override http request option.
10072
10055
  * @throws {RequiredError}
10073
10056
  */
10074
- adminStoresStoreIDConfigSchemaGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesConfigurationSchemaResponse>>;
10057
+ adminStoresXStoreIDConfigGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>>;
10075
10058
  /**
10076
- * Get default configuration values computed from the store\'s index schema
10077
- * @summary Get Store Schema-Based Defaults
10078
- * @param {number} storeID Store ID
10059
+ * Updates the store configuration using x-store ID
10060
+ * @summary Update Store Config
10061
+ * @param {string} xStoreID X-Store ID
10062
+ * @param {DataTypesIndexConfig} body Store configuration
10079
10063
  * @param {*} [options] Override http request option.
10080
10064
  * @throws {RequiredError}
10081
10065
  */
10082
- adminStoresStoreIDDefaultsGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaBasedDefaultsResponse>>;
10066
+ adminStoresXStoreIDConfigPut(xStoreID: string, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>>;
10083
10067
  /**
10084
- * Updates store information by ID.
10085
- * @summary Update an existing store
10086
- * @param {number} storeID store ID
10087
- * @param {DataTypesStoreRequestDto} store Store data to update
10068
+ * Get metadata about all configurable fields for store configuration using x-store ID
10069
+ * @summary Get Store Config Schema
10070
+ * @param {string} xStoreID X-Store ID to get field options from
10088
10071
  * @param {*} [options] Override http request option.
10089
10072
  * @throws {RequiredError}
10090
10073
  */
10091
- adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10074
+ adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>>;
10092
10075
  /**
10093
- * Updates StoreStatus information by ID.
10094
- * @summary Update an existing StoreStatus
10095
- * @param {number} id Store ID
10096
- * @param {boolean} status status
10076
+ * Get default configuration values computed from the store\'s index schema using x-store ID
10077
+ * @summary Get Store Schema-Based Defaults
10078
+ * @param {string} xStoreID X-Store ID
10097
10079
  * @param {*} [options] Override http request option.
10098
10080
  * @throws {RequiredError}
10099
10081
  */
10100
- adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
10082
+ adminStoresXStoreIDDefaultsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaBasedDefaultsResponseWrapper>>;
10101
10083
  };
10102
10084
  /**
10103
10085
  * StoresApi - factory interface
10104
10086
  * @export
10105
10087
  */
10106
10088
  export declare const StoresApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10089
+ /**
10090
+ * Fetches list of all stores for the authenticated user\'s organization
10091
+ * @summary Fetches list of all stores
10092
+ * @param {*} [options] Override http request option.
10093
+ * @throws {RequiredError}
10094
+ */
10095
+ adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
10107
10096
  /**
10108
10097
  * Fetches stores by id
10109
10098
  * @summary Fetches stores by id
@@ -10113,13 +10102,13 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
10113
10102
  */
10114
10103
  adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
10115
10104
  /**
10116
- * Fetches list of all stores
10117
- * @summary Fetches list of all stores
10118
- * @param {number} orgId Org ID
10105
+ * Fetches stores by xStoreID
10106
+ * @summary Fetches stores by xStoreID
10107
+ * @param {string} xStoreID X-Store ID
10119
10108
  * @param {*} [options] Override http request option.
10120
10109
  * @throws {RequiredError}
10121
10110
  */
10122
- adminStoresOrgIdGet(orgId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
10111
+ adminStoresGetStoreXStoreIDGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
10123
10112
  /**
10124
10113
  * Adds a new store to the system
10125
10114
  * @summary Creates a new store
@@ -10129,56 +10118,56 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
10129
10118
  */
10130
10119
  adminStoresPost(store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10131
10120
  /**
10132
- * Retrieves the store configuration
10133
- * @summary Get Store Config
10134
- * @param {number} storeID Store ID
10121
+ * Updates store information by ID.
10122
+ * @summary Update an existing store
10123
+ * @param {number} storeID store ID
10124
+ * @param {DataTypesStoreRequestDto} store Store data to update
10135
10125
  * @param {*} [options] Override http request option.
10136
10126
  * @throws {RequiredError}
10137
10127
  */
10138
- adminStoresStoreIDConfigGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper>;
10128
+ adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10139
10129
  /**
10140
- * Updates the store configuration
10141
- * @summary Update Store Config
10142
- * @param {number} storeID Store ID
10143
- * @param {DataTypesIndexConfig} body Store configuration
10130
+ * Updates StoreStatus information by ID.
10131
+ * @summary Update an existing StoreStatus
10132
+ * @param {number} id Store ID
10133
+ * @param {boolean} status status
10144
10134
  * @param {*} [options] Override http request option.
10145
10135
  * @throws {RequiredError}
10146
10136
  */
10147
- adminStoresStoreIDConfigPut(storeID: number, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10137
+ adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10148
10138
  /**
10149
- * Get metadata about all configurable fields for store configuration
10150
- * @summary Get Store Config Schema
10151
- * @param {number} storeID Store ID to get field options from
10139
+ * Retrieves the store configuration using x-store ID
10140
+ * @summary Get Store Config
10141
+ * @param {string} xStoreID X-Store ID
10152
10142
  * @param {*} [options] Override http request option.
10153
10143
  * @throws {RequiredError}
10154
10144
  */
10155
- adminStoresStoreIDConfigSchemaGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponse>;
10145
+ adminStoresXStoreIDConfigGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper>;
10156
10146
  /**
10157
- * Get default configuration values computed from the store\'s index schema
10158
- * @summary Get Store Schema-Based Defaults
10159
- * @param {number} storeID Store ID
10147
+ * Updates the store configuration using x-store ID
10148
+ * @summary Update Store Config
10149
+ * @param {string} xStoreID X-Store ID
10150
+ * @param {DataTypesIndexConfig} body Store configuration
10160
10151
  * @param {*} [options] Override http request option.
10161
10152
  * @throws {RequiredError}
10162
10153
  */
10163
- adminStoresStoreIDDefaultsGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaBasedDefaultsResponse>;
10154
+ adminStoresXStoreIDConfigPut(xStoreID: string, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper>;
10164
10155
  /**
10165
- * Updates store information by ID.
10166
- * @summary Update an existing store
10167
- * @param {number} storeID store ID
10168
- * @param {DataTypesStoreRequestDto} store Store data to update
10156
+ * Get metadata about all configurable fields for store configuration using x-store ID
10157
+ * @summary Get Store Config Schema
10158
+ * @param {string} xStoreID X-Store ID to get field options from
10169
10159
  * @param {*} [options] Override http request option.
10170
10160
  * @throws {RequiredError}
10171
10161
  */
10172
- adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10162
+ adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>;
10173
10163
  /**
10174
- * Updates StoreStatus information by ID.
10175
- * @summary Update an existing StoreStatus
10176
- * @param {number} id Store ID
10177
- * @param {boolean} status status
10164
+ * Get default configuration values computed from the store\'s index schema using x-store ID
10165
+ * @summary Get Store Schema-Based Defaults
10166
+ * @param {string} xStoreID X-Store ID
10178
10167
  * @param {*} [options] Override http request option.
10179
10168
  * @throws {RequiredError}
10180
10169
  */
10181
- adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
10170
+ adminStoresXStoreIDDefaultsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaBasedDefaultsResponseWrapper>;
10182
10171
  };
10183
10172
  /**
10184
10173
  * StoresApi - object-oriented interface
@@ -10187,6 +10176,14 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
10187
10176
  * @extends {BaseAPI}
10188
10177
  */
10189
10178
  export declare class StoresApi extends BaseAPI {
10179
+ /**
10180
+ * Fetches list of all stores for the authenticated user\'s organization
10181
+ * @summary Fetches list of all stores
10182
+ * @param {*} [options] Override http request option.
10183
+ * @throws {RequiredError}
10184
+ * @memberof StoresApi
10185
+ */
10186
+ adminStoresGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
10190
10187
  /**
10191
10188
  * Fetches stores by id
10192
10189
  * @summary Fetches stores by id
@@ -10197,14 +10194,14 @@ export declare class StoresApi extends BaseAPI {
10197
10194
  */
10198
10195
  adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
10199
10196
  /**
10200
- * Fetches list of all stores
10201
- * @summary Fetches list of all stores
10202
- * @param {number} orgId Org ID
10197
+ * Fetches stores by xStoreID
10198
+ * @summary Fetches stores by xStoreID
10199
+ * @param {string} xStoreID X-Store ID
10203
10200
  * @param {*} [options] Override http request option.
10204
10201
  * @throws {RequiredError}
10205
10202
  * @memberof StoresApi
10206
10203
  */
10207
- adminStoresOrgIdGet(orgId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
10204
+ adminStoresGetStoreXStoreIDGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
10208
10205
  /**
10209
10206
  * Adds a new store to the system
10210
10207
  * @summary Creates a new store
@@ -10215,62 +10212,62 @@ export declare class StoresApi extends BaseAPI {
10215
10212
  */
10216
10213
  adminStoresPost(store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10217
10214
  /**
10218
- * Retrieves the store configuration
10219
- * @summary Get Store Config
10220
- * @param {number} storeID Store ID
10215
+ * Updates store information by ID.
10216
+ * @summary Update an existing store
10217
+ * @param {number} storeID store ID
10218
+ * @param {DataTypesStoreRequestDto} store Store data to update
10221
10219
  * @param {*} [options] Override http request option.
10222
10220
  * @throws {RequiredError}
10223
10221
  * @memberof StoresApi
10224
10222
  */
10225
- adminStoresStoreIDConfigGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesIndexConfigResponseWrapper, any>>;
10223
+ adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10226
10224
  /**
10227
- * Updates the store configuration
10228
- * @summary Update Store Config
10229
- * @param {number} storeID Store ID
10230
- * @param {DataTypesIndexConfig} body Store configuration
10225
+ * Updates StoreStatus information by ID.
10226
+ * @summary Update an existing StoreStatus
10227
+ * @param {number} id Store ID
10228
+ * @param {boolean} status status
10231
10229
  * @param {*} [options] Override http request option.
10232
10230
  * @throws {RequiredError}
10233
10231
  * @memberof StoresApi
10234
10232
  */
10235
- adminStoresStoreIDConfigPut(storeID: number, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10233
+ adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10236
10234
  /**
10237
- * Get metadata about all configurable fields for store configuration
10238
- * @summary Get Store Config Schema
10239
- * @param {number} storeID Store ID to get field options from
10235
+ * Retrieves the store configuration using x-store ID
10236
+ * @summary Get Store Config
10237
+ * @param {string} xStoreID X-Store ID
10240
10238
  * @param {*} [options] Override http request option.
10241
10239
  * @throws {RequiredError}
10242
10240
  * @memberof StoresApi
10243
10241
  */
10244
- adminStoresStoreIDConfigSchemaGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesConfigurationSchemaResponse, any>>;
10242
+ adminStoresXStoreIDConfigGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesIndexConfigResponseWrapper, any>>;
10245
10243
  /**
10246
- * Get default configuration values computed from the store\'s index schema
10247
- * @summary Get Store Schema-Based Defaults
10248
- * @param {number} storeID Store ID
10244
+ * Updates the store configuration using x-store ID
10245
+ * @summary Update Store Config
10246
+ * @param {string} xStoreID X-Store ID
10247
+ * @param {DataTypesIndexConfig} body Store configuration
10249
10248
  * @param {*} [options] Override http request option.
10250
10249
  * @throws {RequiredError}
10251
10250
  * @memberof StoresApi
10252
10251
  */
10253
- adminStoresStoreIDDefaultsGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSchemaBasedDefaultsResponse, any>>;
10252
+ adminStoresXStoreIDConfigPut(xStoreID: string, body: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesIndexConfigResponseWrapper, any>>;
10254
10253
  /**
10255
- * Updates store information by ID.
10256
- * @summary Update an existing store
10257
- * @param {number} storeID store ID
10258
- * @param {DataTypesStoreRequestDto} store Store data to update
10254
+ * Get metadata about all configurable fields for store configuration using x-store ID
10255
+ * @summary Get Store Config Schema
10256
+ * @param {string} xStoreID X-Store ID to get field options from
10259
10257
  * @param {*} [options] Override http request option.
10260
10258
  * @throws {RequiredError}
10261
10259
  * @memberof StoresApi
10262
10260
  */
10263
- adminStoresStoreIDPut(storeID: number, store: DataTypesStoreRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10261
+ adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesConfigurationSchemaResponseWrapper, any>>;
10264
10262
  /**
10265
- * Updates StoreStatus information by ID.
10266
- * @summary Update an existing StoreStatus
10267
- * @param {number} id Store ID
10268
- * @param {boolean} status status
10263
+ * Get default configuration values computed from the store\'s index schema using x-store ID
10264
+ * @summary Get Store Schema-Based Defaults
10265
+ * @param {string} xStoreID X-Store ID
10269
10266
  * @param {*} [options] Override http request option.
10270
10267
  * @throws {RequiredError}
10271
10268
  * @memberof StoresApi
10272
10269
  */
10273
- adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any>>;
10270
+ adminStoresXStoreIDDefaultsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSchemaBasedDefaultsResponseWrapper, any>>;
10274
10271
  }
10275
10272
  /**
10276
10273
  * SubscriptionsApi - axios parameter creator