@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/README.md +7 -2
- package/api.ts +619 -3
- package/dist/api.d.ts +404 -3
- package/dist/api.js +407 -1
- package/dist/esm/api.d.ts +404 -3
- package/dist/esm/api.js +402 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.12.tgz +0 -0
- package/seekora-ai-admin-api-1.0.10.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -7965,6 +7965,408 @@ export class RolesApi extends BaseAPI {
|
|
|
7965
7965
|
return RolesApiFp(this.configuration).adminRolesPost(role, options).then((request) => request(this.axios, this.basePath));
|
|
7966
7966
|
}
|
|
7967
7967
|
}
|
|
7968
|
+
/**
|
|
7969
|
+
* SearchApi - axios parameter creator
|
|
7970
|
+
* @export
|
|
7971
|
+
*/
|
|
7972
|
+
export const SearchApiAxiosParamCreator = function (configuration) {
|
|
7973
|
+
return {
|
|
7974
|
+
/**
|
|
7975
|
+
* Configure the index for search
|
|
7976
|
+
* @summary Index Config
|
|
7977
|
+
* @param {string} xStoreid Store ID
|
|
7978
|
+
* @param {string} xStoresecret Store Secret
|
|
7979
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
7980
|
+
* @param {*} [options] Override http request option.
|
|
7981
|
+
* @throws {RequiredError}
|
|
7982
|
+
*/
|
|
7983
|
+
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 = {}) {
|
|
7984
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
7985
|
+
assertParamExists('v1IndexConfigPost', 'xStoreid', xStoreid);
|
|
7986
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
7987
|
+
assertParamExists('v1IndexConfigPost', 'xStoresecret', xStoresecret);
|
|
7988
|
+
// verify required parameter 'body' is not null or undefined
|
|
7989
|
+
assertParamExists('v1IndexConfigPost', 'body', body);
|
|
7990
|
+
const localVarPath = `/v1/index/config`;
|
|
7991
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7992
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7993
|
+
let baseOptions;
|
|
7994
|
+
if (configuration) {
|
|
7995
|
+
baseOptions = configuration.baseOptions;
|
|
7996
|
+
}
|
|
7997
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7998
|
+
const localVarHeaderParameter = {};
|
|
7999
|
+
const localVarQueryParameter = {};
|
|
8000
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8001
|
+
if (xStoreid != null) {
|
|
8002
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
8003
|
+
}
|
|
8004
|
+
if (xStoresecret != null) {
|
|
8005
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
8006
|
+
}
|
|
8007
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8009
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8010
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8011
|
+
return {
|
|
8012
|
+
url: toPathString(localVarUrlObj),
|
|
8013
|
+
options: localVarRequestOptions,
|
|
8014
|
+
};
|
|
8015
|
+
}),
|
|
8016
|
+
/**
|
|
8017
|
+
* Update a single property of the index configuration
|
|
8018
|
+
* @summary Update Index Config Property
|
|
8019
|
+
* @param {string} xStoreid Store ID
|
|
8020
|
+
* @param {string} xStoresecret Store Secret
|
|
8021
|
+
* @param {string} property Property name
|
|
8022
|
+
* @param {object} body Property value
|
|
8023
|
+
* @param {*} [options] Override http request option.
|
|
8024
|
+
* @throws {RequiredError}
|
|
8025
|
+
*/
|
|
8026
|
+
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 = {}) {
|
|
8027
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
8028
|
+
assertParamExists('v1IndexConfigPropertyPatch', 'xStoreid', xStoreid);
|
|
8029
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
8030
|
+
assertParamExists('v1IndexConfigPropertyPatch', 'xStoresecret', xStoresecret);
|
|
8031
|
+
// verify required parameter 'property' is not null or undefined
|
|
8032
|
+
assertParamExists('v1IndexConfigPropertyPatch', 'property', property);
|
|
8033
|
+
// verify required parameter 'body' is not null or undefined
|
|
8034
|
+
assertParamExists('v1IndexConfigPropertyPatch', 'body', body);
|
|
8035
|
+
const localVarPath = `/v1/index/config/{property}`
|
|
8036
|
+
.replace(`{${"property"}}`, encodeURIComponent(String(property)));
|
|
8037
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8038
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8039
|
+
let baseOptions;
|
|
8040
|
+
if (configuration) {
|
|
8041
|
+
baseOptions = configuration.baseOptions;
|
|
8042
|
+
}
|
|
8043
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8044
|
+
const localVarHeaderParameter = {};
|
|
8045
|
+
const localVarQueryParameter = {};
|
|
8046
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8047
|
+
if (xStoreid != null) {
|
|
8048
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
8049
|
+
}
|
|
8050
|
+
if (xStoresecret != null) {
|
|
8051
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
8052
|
+
}
|
|
8053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8055
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8056
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8057
|
+
return {
|
|
8058
|
+
url: toPathString(localVarUrlObj),
|
|
8059
|
+
options: localVarRequestOptions,
|
|
8060
|
+
};
|
|
8061
|
+
}),
|
|
8062
|
+
/**
|
|
8063
|
+
* Configure the index for search
|
|
8064
|
+
* @summary Index Config
|
|
8065
|
+
* @param {string} xStoreid Store ID
|
|
8066
|
+
* @param {string} xStoresecret Store Secret
|
|
8067
|
+
* @param {string} indexname Index Name
|
|
8068
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8069
|
+
* @param {*} [options] Override http request option.
|
|
8070
|
+
* @throws {RequiredError}
|
|
8071
|
+
*/
|
|
8072
|
+
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 = {}) {
|
|
8073
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
8074
|
+
assertParamExists('v1IndexIndexnameConfigPost', 'xStoreid', xStoreid);
|
|
8075
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
8076
|
+
assertParamExists('v1IndexIndexnameConfigPost', 'xStoresecret', xStoresecret);
|
|
8077
|
+
// verify required parameter 'indexname' is not null or undefined
|
|
8078
|
+
assertParamExists('v1IndexIndexnameConfigPost', 'indexname', indexname);
|
|
8079
|
+
// verify required parameter 'body' is not null or undefined
|
|
8080
|
+
assertParamExists('v1IndexIndexnameConfigPost', 'body', body);
|
|
8081
|
+
const localVarPath = `/v1/index/{indexname}/config`
|
|
8082
|
+
.replace(`{${"indexname"}}`, encodeURIComponent(String(indexname)));
|
|
8083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8085
|
+
let baseOptions;
|
|
8086
|
+
if (configuration) {
|
|
8087
|
+
baseOptions = configuration.baseOptions;
|
|
8088
|
+
}
|
|
8089
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8090
|
+
const localVarHeaderParameter = {};
|
|
8091
|
+
const localVarQueryParameter = {};
|
|
8092
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8093
|
+
if (xStoreid != null) {
|
|
8094
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
8095
|
+
}
|
|
8096
|
+
if (xStoresecret != null) {
|
|
8097
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
8098
|
+
}
|
|
8099
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8101
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8102
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8103
|
+
return {
|
|
8104
|
+
url: toPathString(localVarUrlObj),
|
|
8105
|
+
options: localVarRequestOptions,
|
|
8106
|
+
};
|
|
8107
|
+
}),
|
|
8108
|
+
/**
|
|
8109
|
+
* Update a single property of the index configuration
|
|
8110
|
+
* @summary Update Index Config Property
|
|
8111
|
+
* @param {string} xStoreid Store ID
|
|
8112
|
+
* @param {string} xStoresecret Store Secret
|
|
8113
|
+
* @param {string} indexname Index Name
|
|
8114
|
+
* @param {string} property Property name
|
|
8115
|
+
* @param {object} body Property value
|
|
8116
|
+
* @param {*} [options] Override http request option.
|
|
8117
|
+
* @throws {RequiredError}
|
|
8118
|
+
*/
|
|
8119
|
+
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 = {}) {
|
|
8120
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
8121
|
+
assertParamExists('v1IndexIndexnameConfigPropertyPatch', 'xStoreid', xStoreid);
|
|
8122
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
8123
|
+
assertParamExists('v1IndexIndexnameConfigPropertyPatch', 'xStoresecret', xStoresecret);
|
|
8124
|
+
// verify required parameter 'indexname' is not null or undefined
|
|
8125
|
+
assertParamExists('v1IndexIndexnameConfigPropertyPatch', 'indexname', indexname);
|
|
8126
|
+
// verify required parameter 'property' is not null or undefined
|
|
8127
|
+
assertParamExists('v1IndexIndexnameConfigPropertyPatch', 'property', property);
|
|
8128
|
+
// verify required parameter 'body' is not null or undefined
|
|
8129
|
+
assertParamExists('v1IndexIndexnameConfigPropertyPatch', 'body', body);
|
|
8130
|
+
const localVarPath = `/v1/index/{indexname}/config/{property}`
|
|
8131
|
+
.replace(`{${"indexname"}}`, encodeURIComponent(String(indexname)))
|
|
8132
|
+
.replace(`{${"property"}}`, encodeURIComponent(String(property)));
|
|
8133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8135
|
+
let baseOptions;
|
|
8136
|
+
if (configuration) {
|
|
8137
|
+
baseOptions = configuration.baseOptions;
|
|
8138
|
+
}
|
|
8139
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8140
|
+
const localVarHeaderParameter = {};
|
|
8141
|
+
const localVarQueryParameter = {};
|
|
8142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8143
|
+
if (xStoreid != null) {
|
|
8144
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
8145
|
+
}
|
|
8146
|
+
if (xStoresecret != null) {
|
|
8147
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
8148
|
+
}
|
|
8149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8151
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8152
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
8153
|
+
return {
|
|
8154
|
+
url: toPathString(localVarUrlObj),
|
|
8155
|
+
options: localVarRequestOptions,
|
|
8156
|
+
};
|
|
8157
|
+
}),
|
|
8158
|
+
};
|
|
8159
|
+
};
|
|
8160
|
+
/**
|
|
8161
|
+
* SearchApi - functional programming interface
|
|
8162
|
+
* @export
|
|
8163
|
+
*/
|
|
8164
|
+
export const SearchApiFp = function (configuration) {
|
|
8165
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
8166
|
+
return {
|
|
8167
|
+
/**
|
|
8168
|
+
* Configure the index for search
|
|
8169
|
+
* @summary Index Config
|
|
8170
|
+
* @param {string} xStoreid Store ID
|
|
8171
|
+
* @param {string} xStoresecret Store Secret
|
|
8172
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8173
|
+
* @param {*} [options] Override http request option.
|
|
8174
|
+
* @throws {RequiredError}
|
|
8175
|
+
*/
|
|
8176
|
+
v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
|
|
8177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8178
|
+
var _a, _b, _c;
|
|
8179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexConfigPost(xStoreid, xStoresecret, body, options);
|
|
8180
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8181
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1IndexConfigPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8183
|
+
});
|
|
8184
|
+
},
|
|
8185
|
+
/**
|
|
8186
|
+
* Update a single property of the index configuration
|
|
8187
|
+
* @summary Update Index Config Property
|
|
8188
|
+
* @param {string} xStoreid Store ID
|
|
8189
|
+
* @param {string} xStoresecret Store Secret
|
|
8190
|
+
* @param {string} property Property name
|
|
8191
|
+
* @param {object} body Property value
|
|
8192
|
+
* @param {*} [options] Override http request option.
|
|
8193
|
+
* @throws {RequiredError}
|
|
8194
|
+
*/
|
|
8195
|
+
v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
|
|
8196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8197
|
+
var _a, _b, _c;
|
|
8198
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options);
|
|
8199
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8200
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1IndexConfigPropertyPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8201
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8202
|
+
});
|
|
8203
|
+
},
|
|
8204
|
+
/**
|
|
8205
|
+
* Configure the index for search
|
|
8206
|
+
* @summary Index Config
|
|
8207
|
+
* @param {string} xStoreid Store ID
|
|
8208
|
+
* @param {string} xStoresecret Store Secret
|
|
8209
|
+
* @param {string} indexname Index Name
|
|
8210
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8211
|
+
* @param {*} [options] Override http request option.
|
|
8212
|
+
* @throws {RequiredError}
|
|
8213
|
+
*/
|
|
8214
|
+
v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
|
|
8215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8216
|
+
var _a, _b, _c;
|
|
8217
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options);
|
|
8218
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8219
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1IndexIndexnameConfigPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8220
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8221
|
+
});
|
|
8222
|
+
},
|
|
8223
|
+
/**
|
|
8224
|
+
* Update a single property of the index configuration
|
|
8225
|
+
* @summary Update Index Config Property
|
|
8226
|
+
* @param {string} xStoreid Store ID
|
|
8227
|
+
* @param {string} xStoresecret Store Secret
|
|
8228
|
+
* @param {string} indexname Index Name
|
|
8229
|
+
* @param {string} property Property name
|
|
8230
|
+
* @param {object} body Property value
|
|
8231
|
+
* @param {*} [options] Override http request option.
|
|
8232
|
+
* @throws {RequiredError}
|
|
8233
|
+
*/
|
|
8234
|
+
v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
|
|
8235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8236
|
+
var _a, _b, _c;
|
|
8237
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options);
|
|
8238
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8239
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1IndexIndexnameConfigPropertyPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8240
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8241
|
+
});
|
|
8242
|
+
},
|
|
8243
|
+
};
|
|
8244
|
+
};
|
|
8245
|
+
/**
|
|
8246
|
+
* SearchApi - factory interface
|
|
8247
|
+
* @export
|
|
8248
|
+
*/
|
|
8249
|
+
export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
8250
|
+
const localVarFp = SearchApiFp(configuration);
|
|
8251
|
+
return {
|
|
8252
|
+
/**
|
|
8253
|
+
* Configure the index for search
|
|
8254
|
+
* @summary Index Config
|
|
8255
|
+
* @param {string} xStoreid Store ID
|
|
8256
|
+
* @param {string} xStoresecret Store Secret
|
|
8257
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8258
|
+
* @param {*} [options] Override http request option.
|
|
8259
|
+
* @throws {RequiredError}
|
|
8260
|
+
*/
|
|
8261
|
+
v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
|
|
8262
|
+
return localVarFp.v1IndexConfigPost(xStoreid, xStoresecret, body, options).then((request) => request(axios, basePath));
|
|
8263
|
+
},
|
|
8264
|
+
/**
|
|
8265
|
+
* Update a single property of the index configuration
|
|
8266
|
+
* @summary Update Index Config Property
|
|
8267
|
+
* @param {string} xStoreid Store ID
|
|
8268
|
+
* @param {string} xStoresecret Store Secret
|
|
8269
|
+
* @param {string} property Property name
|
|
8270
|
+
* @param {object} body Property value
|
|
8271
|
+
* @param {*} [options] Override http request option.
|
|
8272
|
+
* @throws {RequiredError}
|
|
8273
|
+
*/
|
|
8274
|
+
v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
|
|
8275
|
+
return localVarFp.v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options).then((request) => request(axios, basePath));
|
|
8276
|
+
},
|
|
8277
|
+
/**
|
|
8278
|
+
* Configure the index for search
|
|
8279
|
+
* @summary Index Config
|
|
8280
|
+
* @param {string} xStoreid Store ID
|
|
8281
|
+
* @param {string} xStoresecret Store Secret
|
|
8282
|
+
* @param {string} indexname Index Name
|
|
8283
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8284
|
+
* @param {*} [options] Override http request option.
|
|
8285
|
+
* @throws {RequiredError}
|
|
8286
|
+
*/
|
|
8287
|
+
v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
|
|
8288
|
+
return localVarFp.v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options).then((request) => request(axios, basePath));
|
|
8289
|
+
},
|
|
8290
|
+
/**
|
|
8291
|
+
* Update a single property of the index configuration
|
|
8292
|
+
* @summary Update Index Config Property
|
|
8293
|
+
* @param {string} xStoreid Store ID
|
|
8294
|
+
* @param {string} xStoresecret Store Secret
|
|
8295
|
+
* @param {string} indexname Index Name
|
|
8296
|
+
* @param {string} property Property name
|
|
8297
|
+
* @param {object} body Property value
|
|
8298
|
+
* @param {*} [options] Override http request option.
|
|
8299
|
+
* @throws {RequiredError}
|
|
8300
|
+
*/
|
|
8301
|
+
v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
|
|
8302
|
+
return localVarFp.v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options).then((request) => request(axios, basePath));
|
|
8303
|
+
},
|
|
8304
|
+
};
|
|
8305
|
+
};
|
|
8306
|
+
/**
|
|
8307
|
+
* SearchApi - object-oriented interface
|
|
8308
|
+
* @export
|
|
8309
|
+
* @class SearchApi
|
|
8310
|
+
* @extends {BaseAPI}
|
|
8311
|
+
*/
|
|
8312
|
+
export class SearchApi extends BaseAPI {
|
|
8313
|
+
/**
|
|
8314
|
+
* Configure the index for search
|
|
8315
|
+
* @summary Index Config
|
|
8316
|
+
* @param {string} xStoreid Store ID
|
|
8317
|
+
* @param {string} xStoresecret Store Secret
|
|
8318
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8319
|
+
* @param {*} [options] Override http request option.
|
|
8320
|
+
* @throws {RequiredError}
|
|
8321
|
+
* @memberof SearchApi
|
|
8322
|
+
*/
|
|
8323
|
+
v1IndexConfigPost(xStoreid, xStoresecret, body, options) {
|
|
8324
|
+
return SearchApiFp(this.configuration).v1IndexConfigPost(xStoreid, xStoresecret, body, options).then((request) => request(this.axios, this.basePath));
|
|
8325
|
+
}
|
|
8326
|
+
/**
|
|
8327
|
+
* Update a single property of the index configuration
|
|
8328
|
+
* @summary Update Index Config Property
|
|
8329
|
+
* @param {string} xStoreid Store ID
|
|
8330
|
+
* @param {string} xStoresecret Store Secret
|
|
8331
|
+
* @param {string} property Property name
|
|
8332
|
+
* @param {object} body Property value
|
|
8333
|
+
* @param {*} [options] Override http request option.
|
|
8334
|
+
* @throws {RequiredError}
|
|
8335
|
+
* @memberof SearchApi
|
|
8336
|
+
*/
|
|
8337
|
+
v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options) {
|
|
8338
|
+
return SearchApiFp(this.configuration).v1IndexConfigPropertyPatch(xStoreid, xStoresecret, property, body, options).then((request) => request(this.axios, this.basePath));
|
|
8339
|
+
}
|
|
8340
|
+
/**
|
|
8341
|
+
* Configure the index for search
|
|
8342
|
+
* @summary Index Config
|
|
8343
|
+
* @param {string} xStoreid Store ID
|
|
8344
|
+
* @param {string} xStoresecret Store Secret
|
|
8345
|
+
* @param {string} indexname Index Name
|
|
8346
|
+
* @param {DataTypesIndexConfig} body Index configuration
|
|
8347
|
+
* @param {*} [options] Override http request option.
|
|
8348
|
+
* @throws {RequiredError}
|
|
8349
|
+
* @memberof SearchApi
|
|
8350
|
+
*/
|
|
8351
|
+
v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options) {
|
|
8352
|
+
return SearchApiFp(this.configuration).v1IndexIndexnameConfigPost(xStoreid, xStoresecret, indexname, body, options).then((request) => request(this.axios, this.basePath));
|
|
8353
|
+
}
|
|
8354
|
+
/**
|
|
8355
|
+
* Update a single property of the index configuration
|
|
8356
|
+
* @summary Update Index Config Property
|
|
8357
|
+
* @param {string} xStoreid Store ID
|
|
8358
|
+
* @param {string} xStoresecret Store Secret
|
|
8359
|
+
* @param {string} indexname Index Name
|
|
8360
|
+
* @param {string} property Property name
|
|
8361
|
+
* @param {object} body Property value
|
|
8362
|
+
* @param {*} [options] Override http request option.
|
|
8363
|
+
* @throws {RequiredError}
|
|
8364
|
+
* @memberof SearchApi
|
|
8365
|
+
*/
|
|
8366
|
+
v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options) {
|
|
8367
|
+
return SearchApiFp(this.configuration).v1IndexIndexnameConfigPropertyPatch(xStoreid, xStoresecret, indexname, property, body, options).then((request) => request(this.axios, this.basePath));
|
|
8368
|
+
}
|
|
8369
|
+
}
|
|
7968
8370
|
/**
|
|
7969
8371
|
* StoresApi - axios parameter creator
|
|
7970
8372
|
* @export
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|