@seekora-ai/admin-api 1.0.73 → 1.0.75

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
@@ -5939,6 +5939,12 @@ export interface AnalyticsQuerySuggestionConfig {
5939
5939
  * @memberof AnalyticsQuerySuggestionConfig
5940
5940
  */
5941
5941
  'category_counts'?: boolean;
5942
+ /**
5943
+ * Whether auto query suggestions management feature is enabled (controls UI visibility)
5944
+ * @type {boolean}
5945
+ * @memberof AnalyticsQuerySuggestionConfig
5946
+ */
5947
+ 'enable_auto_query_suggestions'?: boolean;
5942
5948
  /**
5943
5949
  * Whether to include category-based suggestions
5944
5950
  * @type {boolean}
@@ -5951,6 +5957,12 @@ export interface AnalyticsQuerySuggestionConfig {
5951
5957
  * @memberof AnalyticsQuerySuggestionConfig
5952
5958
  */
5953
5959
  'enable_facet_suggestions'?: boolean;
5960
+ /**
5961
+ * Whether manual query suggestions management feature is enabled (controls UI visibility)
5962
+ * @type {boolean}
5963
+ * @memberof AnalyticsQuerySuggestionConfig
5964
+ */
5965
+ 'enable_manual_query_suggestions'?: boolean;
5954
5966
  /**
5955
5967
  * Personalization (boolean flag for now as requested)
5956
5968
  * @type {boolean}
@@ -6786,12 +6798,24 @@ export interface AnalyticsUpdateSuggestionConfigRequest {
6786
6798
  * @memberof AnalyticsUpdateSuggestionConfigRequest
6787
6799
  */
6788
6800
  'category_counts'?: boolean;
6801
+ /**
6802
+ * Enable/disable auto query suggestions management feature (controls UI visibility)
6803
+ * @type {boolean}
6804
+ * @memberof AnalyticsUpdateSuggestionConfigRequest
6805
+ */
6806
+ 'enable_auto_query_suggestions'?: boolean;
6789
6807
  /**
6790
6808
  * Enable/disable facet-based suggestions
6791
6809
  * @type {boolean}
6792
6810
  * @memberof AnalyticsUpdateSuggestionConfigRequest
6793
6811
  */
6794
6812
  'enable_facet_suggestions'?: boolean;
6813
+ /**
6814
+ * Enable/disable manual query suggestions management feature (controls UI visibility)
6815
+ * @type {boolean}
6816
+ * @memberof AnalyticsUpdateSuggestionConfigRequest
6817
+ */
6818
+ 'enable_manual_query_suggestions'?: boolean;
6795
6819
  /**
6796
6820
  * Enable personalization
6797
6821
  * @type {boolean}
@@ -15134,6 +15158,12 @@ export interface DataTypesQuerySuggestionsConfig {
15134
15158
  * @memberof DataTypesQuerySuggestionsConfig
15135
15159
  */
15136
15160
  'category_attributes'?: Array<string>;
15161
+ /**
15162
+ * Whether auto query suggestions management feature is enabled (controls UI visibility)
15163
+ * @type {boolean}
15164
+ * @memberof DataTypesQuerySuggestionsConfig
15165
+ */
15166
+ 'enable_auto_query_suggestions'?: boolean;
15137
15167
  /**
15138
15168
  * Whether to include category-based suggestions
15139
15169
  * @type {boolean}
@@ -15146,6 +15176,12 @@ export interface DataTypesQuerySuggestionsConfig {
15146
15176
  * @memberof DataTypesQuerySuggestionsConfig
15147
15177
  */
15148
15178
  'enable_facet_suggestions'?: boolean;
15179
+ /**
15180
+ * Whether manual query suggestions management feature is enabled (controls UI visibility)
15181
+ * @type {boolean}
15182
+ * @memberof DataTypesQuerySuggestionsConfig
15183
+ */
15184
+ 'enable_manual_query_suggestions'?: boolean;
15149
15185
  /**
15150
15186
  * Whether query suggestions are enabled for the store
15151
15187
  * @type {boolean}
@@ -17035,6 +17071,105 @@ export interface DataTypesStore {
17035
17071
  */
17036
17072
  'xStoreID'?: string;
17037
17073
  }
17074
+ /**
17075
+ *
17076
+ * @export
17077
+ * @interface DataTypesStoreCreationRequest
17078
+ */
17079
+ export interface DataTypesStoreCreationRequest {
17080
+ /**
17081
+ *
17082
+ * @type {{ [key: string]: any; }}
17083
+ * @memberof DataTypesStoreCreationRequest
17084
+ */
17085
+ 'data'?: { [key: string]: any; };
17086
+ /**
17087
+ *
17088
+ * @type {string}
17089
+ * @memberof DataTypesStoreCreationRequest
17090
+ */
17091
+ 'step': string;
17092
+ /**
17093
+ *
17094
+ * @type {string}
17095
+ * @memberof DataTypesStoreCreationRequest
17096
+ */
17097
+ 'visibleStep'?: string;
17098
+ }
17099
+ /**
17100
+ *
17101
+ * @export
17102
+ * @interface DataTypesStoreCreationResponse
17103
+ */
17104
+ export interface DataTypesStoreCreationResponse {
17105
+ /**
17106
+ *
17107
+ * @type {string}
17108
+ * @memberof DataTypesStoreCreationResponse
17109
+ */
17110
+ 'jobId'?: string;
17111
+ /**
17112
+ *
17113
+ * @type {{ [key: string]: any; }}
17114
+ * @memberof DataTypesStoreCreationResponse
17115
+ */
17116
+ 'state'?: { [key: string]: any; };
17117
+ /**
17118
+ *
17119
+ * @type {string}
17120
+ * @memberof DataTypesStoreCreationResponse
17121
+ */
17122
+ 'step'?: string;
17123
+ /**
17124
+ *
17125
+ * @type {number}
17126
+ * @memberof DataTypesStoreCreationResponse
17127
+ */
17128
+ 'storeId'?: number;
17129
+ /**
17130
+ *
17131
+ * @type {string}
17132
+ * @memberof DataTypesStoreCreationResponse
17133
+ */
17134
+ 'visibleStep'?: string;
17135
+ /**
17136
+ *
17137
+ * @type {string}
17138
+ * @memberof DataTypesStoreCreationResponse
17139
+ */
17140
+ 'xStoreId'?: string;
17141
+ /**
17142
+ *
17143
+ * @type {string}
17144
+ * @memberof DataTypesStoreCreationResponse
17145
+ */
17146
+ 'xStoreSecret'?: string;
17147
+ }
17148
+ /**
17149
+ *
17150
+ * @export
17151
+ * @interface DataTypesStoreCreationResponseWrapper
17152
+ */
17153
+ export interface DataTypesStoreCreationResponseWrapper {
17154
+ /**
17155
+ *
17156
+ * @type {DataTypesStoreCreationResponse}
17157
+ * @memberof DataTypesStoreCreationResponseWrapper
17158
+ */
17159
+ 'data'?: DataTypesStoreCreationResponse;
17160
+ /**
17161
+ *
17162
+ * @type {string}
17163
+ * @memberof DataTypesStoreCreationResponseWrapper
17164
+ */
17165
+ 'message'?: string;
17166
+ /**
17167
+ *
17168
+ * @type {number}
17169
+ * @memberof DataTypesStoreCreationResponseWrapper
17170
+ */
17171
+ 'status'?: number;
17172
+ }
17038
17173
  /**
17039
17174
  *
17040
17175
  * @export
@@ -35827,6 +35962,50 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
35827
35962
 
35828
35963
 
35829
35964
 
35965
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35966
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35967
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35968
+
35969
+ return {
35970
+ url: toPathString(localVarUrlObj),
35971
+ options: localVarRequestOptions,
35972
+ };
35973
+ },
35974
+ /**
35975
+ * Returns a single subscription plan with all variants (monthly/annual × USD/INR). Accepts either numeric plan_id or hexadecimal plan_identifier. Can filter by currency and/or billing_frequency using query parameters.
35976
+ * @summary Get a single subscription plan by ID or identifier
35977
+ * @param {string} id Plan ID (numeric) or Plan Identifier (hexadecimal)
35978
+ * @param {string} [currency] Filter by currency code (e.g., USD, INR)
35979
+ * @param {string} [billingFrequency] Filter by billing frequency (monthly, annual)
35980
+ * @param {*} [options] Override http request option.
35981
+ * @throws {RequiredError}
35982
+ */
35983
+ v1SubscriptionPlansIdGet: async (id: string, currency?: string, billingFrequency?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35984
+ // verify required parameter 'id' is not null or undefined
35985
+ assertParamExists('v1SubscriptionPlansIdGet', 'id', id)
35986
+ const localVarPath = `/v1/subscription-plans/{id}`
35987
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35990
+ let baseOptions;
35991
+ if (configuration) {
35992
+ baseOptions = configuration.baseOptions;
35993
+ }
35994
+
35995
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35996
+ const localVarHeaderParameter = {} as any;
35997
+ const localVarQueryParameter = {} as any;
35998
+
35999
+ if (currency !== undefined) {
36000
+ localVarQueryParameter['currency'] = currency;
36001
+ }
36002
+
36003
+ if (billingFrequency !== undefined) {
36004
+ localVarQueryParameter['billing_frequency'] = billingFrequency;
36005
+ }
36006
+
36007
+
36008
+
35830
36009
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35831
36010
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35832
36011
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -35933,6 +36112,21 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
35933
36112
  const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.v1SubscriptionPlansGet']?.[localVarOperationServerIndex]?.url;
35934
36113
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35935
36114
  },
36115
+ /**
36116
+ * Returns a single subscription plan with all variants (monthly/annual × USD/INR). Accepts either numeric plan_id or hexadecimal plan_identifier. Can filter by currency and/or billing_frequency using query parameters.
36117
+ * @summary Get a single subscription plan by ID or identifier
36118
+ * @param {string} id Plan ID (numeric) or Plan Identifier (hexadecimal)
36119
+ * @param {string} [currency] Filter by currency code (e.g., USD, INR)
36120
+ * @param {string} [billingFrequency] Filter by billing frequency (monthly, annual)
36121
+ * @param {*} [options] Override http request option.
36122
+ * @throws {RequiredError}
36123
+ */
36124
+ async v1SubscriptionPlansIdGet(id: string, currency?: string, billingFrequency?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
36125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1SubscriptionPlansIdGet(id, currency, billingFrequency, options);
36126
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36127
+ const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.v1SubscriptionPlansIdGet']?.[localVarOperationServerIndex]?.url;
36128
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36129
+ },
35936
36130
  }
35937
36131
  };
35938
36132
 
@@ -36009,6 +36203,18 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
36009
36203
  v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
36010
36204
  return localVarFp.v1SubscriptionPlansGet(options).then((request) => request(axios, basePath));
36011
36205
  },
36206
+ /**
36207
+ * Returns a single subscription plan with all variants (monthly/annual × USD/INR). Accepts either numeric plan_id or hexadecimal plan_identifier. Can filter by currency and/or billing_frequency using query parameters.
36208
+ * @summary Get a single subscription plan by ID or identifier
36209
+ * @param {string} id Plan ID (numeric) or Plan Identifier (hexadecimal)
36210
+ * @param {string} [currency] Filter by currency code (e.g., USD, INR)
36211
+ * @param {string} [billingFrequency] Filter by billing frequency (monthly, annual)
36212
+ * @param {*} [options] Override http request option.
36213
+ * @throws {RequiredError}
36214
+ */
36215
+ v1SubscriptionPlansIdGet(id: string, currency?: string, billingFrequency?: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
36216
+ return localVarFp.v1SubscriptionPlansIdGet(id, currency, billingFrequency, options).then((request) => request(axios, basePath));
36217
+ },
36012
36218
  };
36013
36219
  };
36014
36220
 
@@ -36098,6 +36304,20 @@ export class PaymentGatewayApi extends BaseAPI {
36098
36304
  public v1SubscriptionPlansGet(options?: RawAxiosRequestConfig) {
36099
36305
  return PaymentGatewayApiFp(this.configuration).v1SubscriptionPlansGet(options).then((request) => request(this.axios, this.basePath));
36100
36306
  }
36307
+
36308
+ /**
36309
+ * Returns a single subscription plan with all variants (monthly/annual × USD/INR). Accepts either numeric plan_id or hexadecimal plan_identifier. Can filter by currency and/or billing_frequency using query parameters.
36310
+ * @summary Get a single subscription plan by ID or identifier
36311
+ * @param {string} id Plan ID (numeric) or Plan Identifier (hexadecimal)
36312
+ * @param {string} [currency] Filter by currency code (e.g., USD, INR)
36313
+ * @param {string} [billingFrequency] Filter by billing frequency (monthly, annual)
36314
+ * @param {*} [options] Override http request option.
36315
+ * @throws {RequiredError}
36316
+ * @memberof PaymentGatewayApi
36317
+ */
36318
+ public v1SubscriptionPlansIdGet(id: string, currency?: string, billingFrequency?: string, options?: RawAxiosRequestConfig) {
36319
+ return PaymentGatewayApiFp(this.configuration).v1SubscriptionPlansIdGet(id, currency, billingFrequency, options).then((request) => request(this.axios, this.basePath));
36320
+ }
36101
36321
  }
36102
36322
 
36103
36323
 
@@ -44471,6 +44691,414 @@ export class StopwordsApi extends BaseAPI {
44471
44691
 
44472
44692
 
44473
44693
 
44694
+ /**
44695
+ * StoreCreationApi - axios parameter creator
44696
+ * @export
44697
+ */
44698
+ export const StoreCreationApiAxiosParamCreator = function (configuration?: Configuration) {
44699
+ return {
44700
+ /**
44701
+ * Deletes (soft delete) the current store creation progress
44702
+ * @summary Delete store creation progress
44703
+ * @param {*} [options] Override http request option.
44704
+ * @throws {RequiredError}
44705
+ */
44706
+ adminV1StoreCreationProgressDelete: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44707
+ const localVarPath = `/admin/v1/store-creation/progress`;
44708
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44709
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44710
+ let baseOptions;
44711
+ if (configuration) {
44712
+ baseOptions = configuration.baseOptions;
44713
+ }
44714
+
44715
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
44716
+ const localVarHeaderParameter = {} as any;
44717
+ const localVarQueryParameter = {} as any;
44718
+
44719
+ // authentication BearerAuth required
44720
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44721
+
44722
+
44723
+
44724
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44725
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44726
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44727
+
44728
+ return {
44729
+ url: toPathString(localVarUrlObj),
44730
+ options: localVarRequestOptions,
44731
+ };
44732
+ },
44733
+ /**
44734
+ * Retrieves the current step and state of store creation for the user
44735
+ * @summary Get current store creation progress
44736
+ * @param {*} [options] Override http request option.
44737
+ * @throws {RequiredError}
44738
+ */
44739
+ adminV1StoreCreationProgressGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44740
+ const localVarPath = `/admin/v1/store-creation/progress`;
44741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44743
+ let baseOptions;
44744
+ if (configuration) {
44745
+ baseOptions = configuration.baseOptions;
44746
+ }
44747
+
44748
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44749
+ const localVarHeaderParameter = {} as any;
44750
+ const localVarQueryParameter = {} as any;
44751
+
44752
+ // authentication BearerAuth required
44753
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44754
+
44755
+
44756
+
44757
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44758
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44759
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44760
+
44761
+ return {
44762
+ url: toPathString(localVarUrlObj),
44763
+ options: localVarRequestOptions,
44764
+ };
44765
+ },
44766
+ /**
44767
+ * Uploads a custom schema JSON file for store data structure definition
44768
+ * @summary Upload custom schema for store
44769
+ * @param {File} file Schema JSON file
44770
+ * @param {*} [options] Override http request option.
44771
+ * @throws {RequiredError}
44772
+ */
44773
+ adminV1StoreCreationSchemaUploadPost: async (file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44774
+ // verify required parameter 'file' is not null or undefined
44775
+ assertParamExists('adminV1StoreCreationSchemaUploadPost', 'file', file)
44776
+ const localVarPath = `/admin/v1/store-creation/schema-upload`;
44777
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44778
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44779
+ let baseOptions;
44780
+ if (configuration) {
44781
+ baseOptions = configuration.baseOptions;
44782
+ }
44783
+
44784
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
44785
+ const localVarHeaderParameter = {} as any;
44786
+ const localVarQueryParameter = {} as any;
44787
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
44788
+
44789
+ // authentication BearerAuth required
44790
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44791
+
44792
+
44793
+ if (file !== undefined) {
44794
+ localVarFormParams.append('file', file as any);
44795
+ }
44796
+
44797
+
44798
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
44799
+
44800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44802
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44803
+ localVarRequestOptions.data = localVarFormParams;
44804
+
44805
+ return {
44806
+ url: toPathString(localVarUrlObj),
44807
+ options: localVarRequestOptions,
44808
+ };
44809
+ },
44810
+ /**
44811
+ * Updates a specific step in the store creation flow
44812
+ * @summary Update store creation step
44813
+ * @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
44814
+ * @param {*} [options] Override http request option.
44815
+ * @throws {RequiredError}
44816
+ */
44817
+ adminV1StoreCreationStepPost: async (dataTypesStoreCreationRequest: DataTypesStoreCreationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44818
+ // verify required parameter 'dataTypesStoreCreationRequest' is not null or undefined
44819
+ assertParamExists('adminV1StoreCreationStepPost', 'dataTypesStoreCreationRequest', dataTypesStoreCreationRequest)
44820
+ const localVarPath = `/admin/v1/store-creation/step`;
44821
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44822
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44823
+ let baseOptions;
44824
+ if (configuration) {
44825
+ baseOptions = configuration.baseOptions;
44826
+ }
44827
+
44828
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
44829
+ const localVarHeaderParameter = {} as any;
44830
+ const localVarQueryParameter = {} as any;
44831
+
44832
+ // authentication BearerAuth required
44833
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44834
+
44835
+
44836
+
44837
+ localVarHeaderParameter['Content-Type'] = 'application/json';
44838
+
44839
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44840
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44841
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44842
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesStoreCreationRequest, localVarRequestOptions, configuration)
44843
+
44844
+ return {
44845
+ url: toPathString(localVarUrlObj),
44846
+ options: localVarRequestOptions,
44847
+ };
44848
+ },
44849
+ /**
44850
+ * Uploads a custom JSON or CSV file for store data import
44851
+ * @summary Upload custom data file for store
44852
+ * @param {number} storeId Store ID
44853
+ * @param {File} file Data file (JSON or CSV)
44854
+ * @param {*} [options] Override http request option.
44855
+ * @throws {RequiredError}
44856
+ */
44857
+ adminV1StoreCreationStoreIdUploadDataPost: async (storeId: number, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44858
+ // verify required parameter 'storeId' is not null or undefined
44859
+ assertParamExists('adminV1StoreCreationStoreIdUploadDataPost', 'storeId', storeId)
44860
+ // verify required parameter 'file' is not null or undefined
44861
+ assertParamExists('adminV1StoreCreationStoreIdUploadDataPost', 'file', file)
44862
+ const localVarPath = `/admin/v1/store-creation/{storeId}/upload-data`
44863
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
44864
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44865
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44866
+ let baseOptions;
44867
+ if (configuration) {
44868
+ baseOptions = configuration.baseOptions;
44869
+ }
44870
+
44871
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
44872
+ const localVarHeaderParameter = {} as any;
44873
+ const localVarQueryParameter = {} as any;
44874
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
44875
+
44876
+ // authentication BearerAuth required
44877
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
44878
+
44879
+
44880
+ if (file !== undefined) {
44881
+ localVarFormParams.append('file', file as any);
44882
+ }
44883
+
44884
+
44885
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
44886
+
44887
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44888
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44889
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44890
+ localVarRequestOptions.data = localVarFormParams;
44891
+
44892
+ return {
44893
+ url: toPathString(localVarUrlObj),
44894
+ options: localVarRequestOptions,
44895
+ };
44896
+ },
44897
+ }
44898
+ };
44899
+
44900
+ /**
44901
+ * StoreCreationApi - functional programming interface
44902
+ * @export
44903
+ */
44904
+ export const StoreCreationApiFp = function(configuration?: Configuration) {
44905
+ const localVarAxiosParamCreator = StoreCreationApiAxiosParamCreator(configuration)
44906
+ return {
44907
+ /**
44908
+ * Deletes (soft delete) the current store creation progress
44909
+ * @summary Delete store creation progress
44910
+ * @param {*} [options] Override http request option.
44911
+ * @throws {RequiredError}
44912
+ */
44913
+ async adminV1StoreCreationProgressDelete(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
44914
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoreCreationProgressDelete(options);
44915
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
44916
+ const localVarOperationServerBasePath = operationServerMap['StoreCreationApi.adminV1StoreCreationProgressDelete']?.[localVarOperationServerIndex]?.url;
44917
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44918
+ },
44919
+ /**
44920
+ * Retrieves the current step and state of store creation for the user
44921
+ * @summary Get current store creation progress
44922
+ * @param {*} [options] Override http request option.
44923
+ * @throws {RequiredError}
44924
+ */
44925
+ async adminV1StoreCreationProgressGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreCreationResponseWrapper>> {
44926
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoreCreationProgressGet(options);
44927
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
44928
+ const localVarOperationServerBasePath = operationServerMap['StoreCreationApi.adminV1StoreCreationProgressGet']?.[localVarOperationServerIndex]?.url;
44929
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44930
+ },
44931
+ /**
44932
+ * Uploads a custom schema JSON file for store data structure definition
44933
+ * @summary Upload custom schema for store
44934
+ * @param {File} file Schema JSON file
44935
+ * @param {*} [options] Override http request option.
44936
+ * @throws {RequiredError}
44937
+ */
44938
+ async adminV1StoreCreationSchemaUploadPost(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
44939
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoreCreationSchemaUploadPost(file, options);
44940
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
44941
+ const localVarOperationServerBasePath = operationServerMap['StoreCreationApi.adminV1StoreCreationSchemaUploadPost']?.[localVarOperationServerIndex]?.url;
44942
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44943
+ },
44944
+ /**
44945
+ * Updates a specific step in the store creation flow
44946
+ * @summary Update store creation step
44947
+ * @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
44948
+ * @param {*} [options] Override http request option.
44949
+ * @throws {RequiredError}
44950
+ */
44951
+ async adminV1StoreCreationStepPost(dataTypesStoreCreationRequest: DataTypesStoreCreationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreCreationResponseWrapper>> {
44952
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options);
44953
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
44954
+ const localVarOperationServerBasePath = operationServerMap['StoreCreationApi.adminV1StoreCreationStepPost']?.[localVarOperationServerIndex]?.url;
44955
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44956
+ },
44957
+ /**
44958
+ * Uploads a custom JSON or CSV file for store data import
44959
+ * @summary Upload custom data file for store
44960
+ * @param {number} storeId Store ID
44961
+ * @param {File} file Data file (JSON or CSV)
44962
+ * @param {*} [options] Override http request option.
44963
+ * @throws {RequiredError}
44964
+ */
44965
+ async adminV1StoreCreationStoreIdUploadDataPost(storeId: number, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
44966
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoreCreationStoreIdUploadDataPost(storeId, file, options);
44967
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
44968
+ const localVarOperationServerBasePath = operationServerMap['StoreCreationApi.adminV1StoreCreationStoreIdUploadDataPost']?.[localVarOperationServerIndex]?.url;
44969
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44970
+ },
44971
+ }
44972
+ };
44973
+
44974
+ /**
44975
+ * StoreCreationApi - factory interface
44976
+ * @export
44977
+ */
44978
+ export const StoreCreationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
44979
+ const localVarFp = StoreCreationApiFp(configuration)
44980
+ return {
44981
+ /**
44982
+ * Deletes (soft delete) the current store creation progress
44983
+ * @summary Delete store creation progress
44984
+ * @param {*} [options] Override http request option.
44985
+ * @throws {RequiredError}
44986
+ */
44987
+ adminV1StoreCreationProgressDelete(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
44988
+ return localVarFp.adminV1StoreCreationProgressDelete(options).then((request) => request(axios, basePath));
44989
+ },
44990
+ /**
44991
+ * Retrieves the current step and state of store creation for the user
44992
+ * @summary Get current store creation progress
44993
+ * @param {*} [options] Override http request option.
44994
+ * @throws {RequiredError}
44995
+ */
44996
+ adminV1StoreCreationProgressGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreCreationResponseWrapper> {
44997
+ return localVarFp.adminV1StoreCreationProgressGet(options).then((request) => request(axios, basePath));
44998
+ },
44999
+ /**
45000
+ * Uploads a custom schema JSON file for store data structure definition
45001
+ * @summary Upload custom schema for store
45002
+ * @param {File} file Schema JSON file
45003
+ * @param {*} [options] Override http request option.
45004
+ * @throws {RequiredError}
45005
+ */
45006
+ adminV1StoreCreationSchemaUploadPost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
45007
+ return localVarFp.adminV1StoreCreationSchemaUploadPost(file, options).then((request) => request(axios, basePath));
45008
+ },
45009
+ /**
45010
+ * Updates a specific step in the store creation flow
45011
+ * @summary Update store creation step
45012
+ * @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
45013
+ * @param {*} [options] Override http request option.
45014
+ * @throws {RequiredError}
45015
+ */
45016
+ adminV1StoreCreationStepPost(dataTypesStoreCreationRequest: DataTypesStoreCreationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreCreationResponseWrapper> {
45017
+ return localVarFp.adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(axios, basePath));
45018
+ },
45019
+ /**
45020
+ * Uploads a custom JSON or CSV file for store data import
45021
+ * @summary Upload custom data file for store
45022
+ * @param {number} storeId Store ID
45023
+ * @param {File} file Data file (JSON or CSV)
45024
+ * @param {*} [options] Override http request option.
45025
+ * @throws {RequiredError}
45026
+ */
45027
+ adminV1StoreCreationStoreIdUploadDataPost(storeId: number, file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
45028
+ return localVarFp.adminV1StoreCreationStoreIdUploadDataPost(storeId, file, options).then((request) => request(axios, basePath));
45029
+ },
45030
+ };
45031
+ };
45032
+
45033
+ /**
45034
+ * StoreCreationApi - object-oriented interface
45035
+ * @export
45036
+ * @class StoreCreationApi
45037
+ * @extends {BaseAPI}
45038
+ */
45039
+ export class StoreCreationApi extends BaseAPI {
45040
+ /**
45041
+ * Deletes (soft delete) the current store creation progress
45042
+ * @summary Delete store creation progress
45043
+ * @param {*} [options] Override http request option.
45044
+ * @throws {RequiredError}
45045
+ * @memberof StoreCreationApi
45046
+ */
45047
+ public adminV1StoreCreationProgressDelete(options?: RawAxiosRequestConfig) {
45048
+ return StoreCreationApiFp(this.configuration).adminV1StoreCreationProgressDelete(options).then((request) => request(this.axios, this.basePath));
45049
+ }
45050
+
45051
+ /**
45052
+ * Retrieves the current step and state of store creation for the user
45053
+ * @summary Get current store creation progress
45054
+ * @param {*} [options] Override http request option.
45055
+ * @throws {RequiredError}
45056
+ * @memberof StoreCreationApi
45057
+ */
45058
+ public adminV1StoreCreationProgressGet(options?: RawAxiosRequestConfig) {
45059
+ return StoreCreationApiFp(this.configuration).adminV1StoreCreationProgressGet(options).then((request) => request(this.axios, this.basePath));
45060
+ }
45061
+
45062
+ /**
45063
+ * Uploads a custom schema JSON file for store data structure definition
45064
+ * @summary Upload custom schema for store
45065
+ * @param {File} file Schema JSON file
45066
+ * @param {*} [options] Override http request option.
45067
+ * @throws {RequiredError}
45068
+ * @memberof StoreCreationApi
45069
+ */
45070
+ public adminV1StoreCreationSchemaUploadPost(file: File, options?: RawAxiosRequestConfig) {
45071
+ return StoreCreationApiFp(this.configuration).adminV1StoreCreationSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
45072
+ }
45073
+
45074
+ /**
45075
+ * Updates a specific step in the store creation flow
45076
+ * @summary Update store creation step
45077
+ * @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
45078
+ * @param {*} [options] Override http request option.
45079
+ * @throws {RequiredError}
45080
+ * @memberof StoreCreationApi
45081
+ */
45082
+ public adminV1StoreCreationStepPost(dataTypesStoreCreationRequest: DataTypesStoreCreationRequest, options?: RawAxiosRequestConfig) {
45083
+ return StoreCreationApiFp(this.configuration).adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(this.axios, this.basePath));
45084
+ }
45085
+
45086
+ /**
45087
+ * Uploads a custom JSON or CSV file for store data import
45088
+ * @summary Upload custom data file for store
45089
+ * @param {number} storeId Store ID
45090
+ * @param {File} file Data file (JSON or CSV)
45091
+ * @param {*} [options] Override http request option.
45092
+ * @throws {RequiredError}
45093
+ * @memberof StoreCreationApi
45094
+ */
45095
+ public adminV1StoreCreationStoreIdUploadDataPost(storeId: number, file: File, options?: RawAxiosRequestConfig) {
45096
+ return StoreCreationApiFp(this.configuration).adminV1StoreCreationStoreIdUploadDataPost(storeId, file, options).then((request) => request(this.axios, this.basePath));
45097
+ }
45098
+ }
45099
+
45100
+
45101
+
44474
45102
  /**
44475
45103
  * StoreDocumentsApi - axios parameter creator
44476
45104
  * @export