@seekora-ai/admin-api 1.0.10 → 1.0.12

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/api.js CHANGED
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = void 0;
26
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.ParentMenusApi = void 0;
26
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.ParentMenusApi = void 0;
27
27
  const axios_1 = require("axios");
28
28
  // Some imports not used depending on template conditions
29
29
  // @ts-ignore
@@ -8041,6 +8041,412 @@ class RolesApi extends base_1.BaseAPI {
8041
8041
  }
8042
8042
  }
8043
8043
  exports.RolesApi = RolesApi;
8044
+ /**
8045
+ * SearchApi - axios parameter creator
8046
+ * @export
8047
+ */
8048
+ const SearchApiAxiosParamCreator = function (configuration) {
8049
+ return {
8050
+ /**
8051
+ * Configure the index for search
8052
+ * @summary Index Config
8053
+ * @param {string} xStoreid Store ID
8054
+ * @param {string} xStoresecret Store Secret
8055
+ * @param {DataTypesIndexConfig} body Index configuration
8056
+ * @param {*} [options] Override http request option.
8057
+ * @throws {RequiredError}
8058
+ */
8059
+ v1IndexConfigPost: (xStoreid_1, xStoresecret_1, body_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, body_1, ...args_1], void 0, function* (xStoreid, xStoresecret, body, options = {}) {
8060
+ // verify required parameter 'xStoreid' is not null or undefined
8061
+ (0, common_1.assertParamExists)('v1IndexConfigPost', 'xStoreid', xStoreid);
8062
+ // verify required parameter 'xStoresecret' is not null or undefined
8063
+ (0, common_1.assertParamExists)('v1IndexConfigPost', 'xStoresecret', xStoresecret);
8064
+ // verify required parameter 'body' is not null or undefined
8065
+ (0, common_1.assertParamExists)('v1IndexConfigPost', 'body', body);
8066
+ const localVarPath = `/v1/index/config`;
8067
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8068
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8069
+ let baseOptions;
8070
+ if (configuration) {
8071
+ baseOptions = configuration.baseOptions;
8072
+ }
8073
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8074
+ const localVarHeaderParameter = {};
8075
+ const localVarQueryParameter = {};
8076
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8077
+ if (xStoreid != null) {
8078
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
8079
+ }
8080
+ if (xStoresecret != null) {
8081
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
8082
+ }
8083
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8085
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8086
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
8087
+ return {
8088
+ url: (0, common_1.toPathString)(localVarUrlObj),
8089
+ options: localVarRequestOptions,
8090
+ };
8091
+ }),
8092
+ /**
8093
+ * Update a single property of the index configuration
8094
+ * @summary Update Index Config Property
8095
+ * @param {string} xStoreid Store ID
8096
+ * @param {string} xStoresecret Store Secret
8097
+ * @param {string} property Property name
8098
+ * @param {object} body Property value
8099
+ * @param {*} [options] Override http request option.
8100
+ * @throws {RequiredError}
8101
+ */
8102
+ v1IndexConfigPropertyPatch: (xStoreid_1, xStoresecret_1, property_1, body_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, property_1, body_1, ...args_1], void 0, function* (xStoreid, xStoresecret, property, body, options = {}) {
8103
+ // verify required parameter 'xStoreid' is not null or undefined
8104
+ (0, common_1.assertParamExists)('v1IndexConfigPropertyPatch', 'xStoreid', xStoreid);
8105
+ // verify required parameter 'xStoresecret' is not null or undefined
8106
+ (0, common_1.assertParamExists)('v1IndexConfigPropertyPatch', 'xStoresecret', xStoresecret);
8107
+ // verify required parameter 'property' is not null or undefined
8108
+ (0, common_1.assertParamExists)('v1IndexConfigPropertyPatch', 'property', property);
8109
+ // verify required parameter 'body' is not null or undefined
8110
+ (0, common_1.assertParamExists)('v1IndexConfigPropertyPatch', 'body', body);
8111
+ const localVarPath = `/v1/index/config/{property}`
8112
+ .replace(`{${"property"}}`, encodeURIComponent(String(property)));
8113
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8114
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8115
+ let baseOptions;
8116
+ if (configuration) {
8117
+ baseOptions = configuration.baseOptions;
8118
+ }
8119
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8120
+ const localVarHeaderParameter = {};
8121
+ const localVarQueryParameter = {};
8122
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8123
+ if (xStoreid != null) {
8124
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
8125
+ }
8126
+ if (xStoresecret != null) {
8127
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
8128
+ }
8129
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8130
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8131
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8132
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
8133
+ return {
8134
+ url: (0, common_1.toPathString)(localVarUrlObj),
8135
+ options: localVarRequestOptions,
8136
+ };
8137
+ }),
8138
+ /**
8139
+ * Configure the index for search
8140
+ * @summary Index Config
8141
+ * @param {string} xStoreid Store ID
8142
+ * @param {string} xStoresecret Store Secret
8143
+ * @param {string} indexname Index Name
8144
+ * @param {DataTypesIndexConfig} body Index configuration
8145
+ * @param {*} [options] Override http request option.
8146
+ * @throws {RequiredError}
8147
+ */
8148
+ v1IndexIndexnameConfigPost: (xStoreid_1, xStoresecret_1, indexname_1, body_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, indexname_1, body_1, ...args_1], void 0, function* (xStoreid, xStoresecret, indexname, body, options = {}) {
8149
+ // verify required parameter 'xStoreid' is not null or undefined
8150
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPost', 'xStoreid', xStoreid);
8151
+ // verify required parameter 'xStoresecret' is not null or undefined
8152
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPost', 'xStoresecret', xStoresecret);
8153
+ // verify required parameter 'indexname' is not null or undefined
8154
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPost', 'indexname', indexname);
8155
+ // verify required parameter 'body' is not null or undefined
8156
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPost', 'body', body);
8157
+ const localVarPath = `/v1/index/{indexname}/config`
8158
+ .replace(`{${"indexname"}}`, encodeURIComponent(String(indexname)));
8159
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8160
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8161
+ let baseOptions;
8162
+ if (configuration) {
8163
+ baseOptions = configuration.baseOptions;
8164
+ }
8165
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8166
+ const localVarHeaderParameter = {};
8167
+ const localVarQueryParameter = {};
8168
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8169
+ if (xStoreid != null) {
8170
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
8171
+ }
8172
+ if (xStoresecret != null) {
8173
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
8174
+ }
8175
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8178
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
8179
+ return {
8180
+ url: (0, common_1.toPathString)(localVarUrlObj),
8181
+ options: localVarRequestOptions,
8182
+ };
8183
+ }),
8184
+ /**
8185
+ * Update a single property of the index configuration
8186
+ * @summary Update Index Config Property
8187
+ * @param {string} xStoreid Store ID
8188
+ * @param {string} xStoresecret Store Secret
8189
+ * @param {string} indexname Index Name
8190
+ * @param {string} property Property name
8191
+ * @param {object} body Property value
8192
+ * @param {*} [options] Override http request option.
8193
+ * @throws {RequiredError}
8194
+ */
8195
+ v1IndexIndexnameConfigPropertyPatch: (xStoreid_1, xStoresecret_1, indexname_1, property_1, body_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, indexname_1, property_1, body_1, ...args_1], void 0, function* (xStoreid, xStoresecret, indexname, property, body, options = {}) {
8196
+ // verify required parameter 'xStoreid' is not null or undefined
8197
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPropertyPatch', 'xStoreid', xStoreid);
8198
+ // verify required parameter 'xStoresecret' is not null or undefined
8199
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPropertyPatch', 'xStoresecret', xStoresecret);
8200
+ // verify required parameter 'indexname' is not null or undefined
8201
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPropertyPatch', 'indexname', indexname);
8202
+ // verify required parameter 'property' is not null or undefined
8203
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPropertyPatch', 'property', property);
8204
+ // verify required parameter 'body' is not null or undefined
8205
+ (0, common_1.assertParamExists)('v1IndexIndexnameConfigPropertyPatch', 'body', body);
8206
+ const localVarPath = `/v1/index/{indexname}/config/{property}`
8207
+ .replace(`{${"indexname"}}`, encodeURIComponent(String(indexname)))
8208
+ .replace(`{${"property"}}`, encodeURIComponent(String(property)));
8209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8210
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8211
+ let baseOptions;
8212
+ if (configuration) {
8213
+ baseOptions = configuration.baseOptions;
8214
+ }
8215
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8216
+ const localVarHeaderParameter = {};
8217
+ const localVarQueryParameter = {};
8218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8219
+ if (xStoreid != null) {
8220
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
8221
+ }
8222
+ if (xStoresecret != null) {
8223
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
8224
+ }
8225
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8228
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
8229
+ return {
8230
+ url: (0, common_1.toPathString)(localVarUrlObj),
8231
+ options: localVarRequestOptions,
8232
+ };
8233
+ }),
8234
+ };
8235
+ };
8236
+ exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
8237
+ /**
8238
+ * SearchApi - functional programming interface
8239
+ * @export
8240
+ */
8241
+ const SearchApiFp = function (configuration) {
8242
+ const localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
8243
+ return {
8244
+ /**
8245
+ * Configure the index for search
8246
+ * @summary Index Config
8247
+ * @param {string} xStoreid Store ID
8248
+ * @param {string} xStoresecret Store Secret
8249
+ * @param {DataTypesIndexConfig} body Index configuration
8250
+ * @param {*} [options] Override http request option.
8251
+ * @throws {RequiredError}
8252
+ */
8253
+ v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
8254
+ return __awaiter(this, void 0, void 0, function* () {
8255
+ var _a, _b, _c;
8256
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexConfigPost(xStoreid, xStoresecret, body, options);
8257
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8258
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1IndexConfigPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8259
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8260
+ });
8261
+ },
8262
+ /**
8263
+ * Update a single property of the index configuration
8264
+ * @summary Update Index Config Property
8265
+ * @param {string} xStoreid Store ID
8266
+ * @param {string} xStoresecret Store Secret
8267
+ * @param {string} property Property name
8268
+ * @param {object} body Property value
8269
+ * @param {*} [options] Override http request option.
8270
+ * @throws {RequiredError}
8271
+ */
8272
+ v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
8273
+ return __awaiter(this, void 0, void 0, function* () {
8274
+ var _a, _b, _c;
8275
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options);
8276
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8277
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1IndexConfigPropertyPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8278
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8279
+ });
8280
+ },
8281
+ /**
8282
+ * Configure the index for search
8283
+ * @summary Index Config
8284
+ * @param {string} xStoreid Store ID
8285
+ * @param {string} xStoresecret Store Secret
8286
+ * @param {string} indexname Index Name
8287
+ * @param {DataTypesIndexConfig} body Index configuration
8288
+ * @param {*} [options] Override http request option.
8289
+ * @throws {RequiredError}
8290
+ */
8291
+ v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
8292
+ return __awaiter(this, void 0, void 0, function* () {
8293
+ var _a, _b, _c;
8294
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options);
8295
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8296
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1IndexIndexnameConfigPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8297
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8298
+ });
8299
+ },
8300
+ /**
8301
+ * Update a single property of the index configuration
8302
+ * @summary Update Index Config Property
8303
+ * @param {string} xStoreid Store ID
8304
+ * @param {string} xStoresecret Store Secret
8305
+ * @param {string} indexname Index Name
8306
+ * @param {string} property Property name
8307
+ * @param {object} body Property value
8308
+ * @param {*} [options] Override http request option.
8309
+ * @throws {RequiredError}
8310
+ */
8311
+ v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
8312
+ return __awaiter(this, void 0, void 0, function* () {
8313
+ var _a, _b, _c;
8314
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options);
8315
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8316
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1IndexIndexnameConfigPropertyPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8317
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8318
+ });
8319
+ },
8320
+ };
8321
+ };
8322
+ exports.SearchApiFp = SearchApiFp;
8323
+ /**
8324
+ * SearchApi - factory interface
8325
+ * @export
8326
+ */
8327
+ const SearchApiFactory = function (configuration, basePath, axios) {
8328
+ const localVarFp = (0, exports.SearchApiFp)(configuration);
8329
+ return {
8330
+ /**
8331
+ * Configure the index for search
8332
+ * @summary Index Config
8333
+ * @param {string} xStoreid Store ID
8334
+ * @param {string} xStoresecret Store Secret
8335
+ * @param {DataTypesIndexConfig} body Index configuration
8336
+ * @param {*} [options] Override http request option.
8337
+ * @throws {RequiredError}
8338
+ */
8339
+ v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
8340
+ return localVarFp.v1IndexConfigPost(xStoreid, xStoresecret, body, options).then((request) => request(axios, basePath));
8341
+ },
8342
+ /**
8343
+ * Update a single property of the index configuration
8344
+ * @summary Update Index Config Property
8345
+ * @param {string} xStoreid Store ID
8346
+ * @param {string} xStoresecret Store Secret
8347
+ * @param {string} property Property name
8348
+ * @param {object} body Property value
8349
+ * @param {*} [options] Override http request option.
8350
+ * @throws {RequiredError}
8351
+ */
8352
+ v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
8353
+ return localVarFp.v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options).then((request) => request(axios, basePath));
8354
+ },
8355
+ /**
8356
+ * Configure the index for search
8357
+ * @summary Index Config
8358
+ * @param {string} xStoreid Store ID
8359
+ * @param {string} xStoresecret Store Secret
8360
+ * @param {string} indexname Index Name
8361
+ * @param {DataTypesIndexConfig} body Index configuration
8362
+ * @param {*} [options] Override http request option.
8363
+ * @throws {RequiredError}
8364
+ */
8365
+ v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
8366
+ return localVarFp.v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options).then((request) => request(axios, basePath));
8367
+ },
8368
+ /**
8369
+ * Update a single property of the index configuration
8370
+ * @summary Update Index Config Property
8371
+ * @param {string} xStoreid Store ID
8372
+ * @param {string} xStoresecret Store Secret
8373
+ * @param {string} indexname Index Name
8374
+ * @param {string} property Property name
8375
+ * @param {object} body Property value
8376
+ * @param {*} [options] Override http request option.
8377
+ * @throws {RequiredError}
8378
+ */
8379
+ v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
8380
+ return localVarFp.v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options).then((request) => request(axios, basePath));
8381
+ },
8382
+ };
8383
+ };
8384
+ exports.SearchApiFactory = SearchApiFactory;
8385
+ /**
8386
+ * SearchApi - object-oriented interface
8387
+ * @export
8388
+ * @class SearchApi
8389
+ * @extends {BaseAPI}
8390
+ */
8391
+ class SearchApi extends base_1.BaseAPI {
8392
+ /**
8393
+ * Configure the index for search
8394
+ * @summary Index Config
8395
+ * @param {string} xStoreid Store ID
8396
+ * @param {string} xStoresecret Store Secret
8397
+ * @param {DataTypesIndexConfig} body Index configuration
8398
+ * @param {*} [options] Override http request option.
8399
+ * @throws {RequiredError}
8400
+ * @memberof SearchApi
8401
+ */
8402
+ v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
8403
+ return (0, exports.SearchApiFp)(this.configuration).v1IndexConfigPost(xStoreid, xStoresecret, body, options).then((request) => request(this.axios, this.basePath));
8404
+ }
8405
+ /**
8406
+ * Update a single property of the index configuration
8407
+ * @summary Update Index Config Property
8408
+ * @param {string} xStoreid Store ID
8409
+ * @param {string} xStoresecret Store Secret
8410
+ * @param {string} property Property name
8411
+ * @param {object} body Property value
8412
+ * @param {*} [options] Override http request option.
8413
+ * @throws {RequiredError}
8414
+ * @memberof SearchApi
8415
+ */
8416
+ v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
8417
+ return (0, exports.SearchApiFp)(this.configuration).v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options).then((request) => request(this.axios, this.basePath));
8418
+ }
8419
+ /**
8420
+ * Configure the index for search
8421
+ * @summary Index Config
8422
+ * @param {string} xStoreid Store ID
8423
+ * @param {string} xStoresecret Store Secret
8424
+ * @param {string} indexname Index Name
8425
+ * @param {DataTypesIndexConfig} body Index configuration
8426
+ * @param {*} [options] Override http request option.
8427
+ * @throws {RequiredError}
8428
+ * @memberof SearchApi
8429
+ */
8430
+ v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
8431
+ return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options).then((request) => request(this.axios, this.basePath));
8432
+ }
8433
+ /**
8434
+ * Update a single property of the index configuration
8435
+ * @summary Update Index Config Property
8436
+ * @param {string} xStoreid Store ID
8437
+ * @param {string} xStoresecret Store Secret
8438
+ * @param {string} indexname Index Name
8439
+ * @param {string} property Property name
8440
+ * @param {object} body Property value
8441
+ * @param {*} [options] Override http request option.
8442
+ * @throws {RequiredError}
8443
+ * @memberof SearchApi
8444
+ */
8445
+ v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
8446
+ return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options).then((request) => request(this.axios, this.basePath));
8447
+ }
8448
+ }
8449
+ exports.SearchApi = SearchApi;
8044
8450
  /**
8045
8451
  * StoresApi - axios parameter creator
8046
8452
  * @export