@seekora-ai/admin-api 1.1.94 → 1.1.95
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 +24 -11
- package/api.ts +1318 -609
- package/dist/api.d.ts +1312 -603
- package/dist/api.js +42 -42
- package/dist/esm/api.d.ts +1312 -603
- package/dist/esm/api.js +42 -42
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.95.tgz +0 -0
- package/seekora-ai-admin-api-1.1.94.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -43699,20 +43699,20 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
43699
43699
|
* @summary Search (POST)
|
|
43700
43700
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
43701
43701
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
43702
|
-
* @param {
|
|
43702
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
43703
43703
|
* @param {string} [xUserId] User ID for personalization
|
|
43704
43704
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
43705
43705
|
* @param {string} [xSessionId] Session ID for personalization
|
|
43706
43706
|
* @param {*} [options] Override http request option.
|
|
43707
43707
|
* @throws {RequiredError}
|
|
43708
43708
|
*/
|
|
43709
|
-
v1SearchPost: (xStoreid_1, xStoresecret_1,
|
|
43709
|
+
v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
|
|
43710
43710
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
43711
43711
|
assertParamExists('v1SearchPost', 'xStoreid', xStoreid);
|
|
43712
43712
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
43713
43713
|
assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret);
|
|
43714
|
-
// verify required parameter '
|
|
43715
|
-
assertParamExists('v1SearchPost', '
|
|
43714
|
+
// verify required parameter 'dataTypesSearchRequest' is not null or undefined
|
|
43715
|
+
assertParamExists('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest);
|
|
43716
43716
|
const localVarPath = `/v1/search`;
|
|
43717
43717
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43718
43718
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -43742,7 +43742,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
43742
43742
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43743
43743
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43744
43744
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
43745
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43745
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSearchRequest, localVarRequestOptions, configuration);
|
|
43746
43746
|
return {
|
|
43747
43747
|
url: toPathString(localVarUrlObj),
|
|
43748
43748
|
options: localVarRequestOptions,
|
|
@@ -43920,17 +43920,17 @@ export const SearchApiFp = function (configuration) {
|
|
|
43920
43920
|
* @summary Search (POST)
|
|
43921
43921
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
43922
43922
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
43923
|
-
* @param {
|
|
43923
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
43924
43924
|
* @param {string} [xUserId] User ID for personalization
|
|
43925
43925
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
43926
43926
|
* @param {string} [xSessionId] Session ID for personalization
|
|
43927
43927
|
* @param {*} [options] Override http request option.
|
|
43928
43928
|
* @throws {RequiredError}
|
|
43929
43929
|
*/
|
|
43930
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
43930
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
43931
43931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43932
43932
|
var _a, _b, _c;
|
|
43933
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret,
|
|
43933
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
43934
43934
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
43935
43935
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
43936
43936
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -44066,15 +44066,15 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
44066
44066
|
* @summary Search (POST)
|
|
44067
44067
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
44068
44068
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
44069
|
-
* @param {
|
|
44069
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
44070
44070
|
* @param {string} [xUserId] User ID for personalization
|
|
44071
44071
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44072
44072
|
* @param {string} [xSessionId] Session ID for personalization
|
|
44073
44073
|
* @param {*} [options] Override http request option.
|
|
44074
44074
|
* @throws {RequiredError}
|
|
44075
44075
|
*/
|
|
44076
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
44077
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret,
|
|
44076
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
44077
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
44078
44078
|
},
|
|
44079
44079
|
};
|
|
44080
44080
|
};
|
|
@@ -44213,7 +44213,7 @@ export class SearchApi extends BaseAPI {
|
|
|
44213
44213
|
* @summary Search (POST)
|
|
44214
44214
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
44215
44215
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
44216
|
-
* @param {
|
|
44216
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
44217
44217
|
* @param {string} [xUserId] User ID for personalization
|
|
44218
44218
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44219
44219
|
* @param {string} [xSessionId] Session ID for personalization
|
|
@@ -44221,8 +44221,8 @@ export class SearchApi extends BaseAPI {
|
|
|
44221
44221
|
* @throws {RequiredError}
|
|
44222
44222
|
* @memberof SearchApi
|
|
44223
44223
|
*/
|
|
44224
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
44225
|
-
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret,
|
|
44224
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
44225
|
+
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
44226
44226
|
}
|
|
44227
44227
|
}
|
|
44228
44228
|
/**
|
|
@@ -46196,15 +46196,15 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46196
46196
|
* Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
|
|
46197
46197
|
* @summary Create Store (Public SDK API)
|
|
46198
46198
|
* @param {string} authorization Bearer JWT Token
|
|
46199
|
-
* @param {
|
|
46199
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
46200
46200
|
* @param {*} [options] Override http request option.
|
|
46201
46201
|
* @throws {RequiredError}
|
|
46202
46202
|
*/
|
|
46203
|
-
apiV1StoresPost: (authorization_1,
|
|
46203
|
+
apiV1StoresPost: (authorization_1, dataTypesCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateStoreRequest, options = {}) {
|
|
46204
46204
|
// verify required parameter 'authorization' is not null or undefined
|
|
46205
46205
|
assertParamExists('apiV1StoresPost', 'authorization', authorization);
|
|
46206
|
-
// verify required parameter '
|
|
46207
|
-
assertParamExists('apiV1StoresPost', '
|
|
46206
|
+
// verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
|
|
46207
|
+
assertParamExists('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest);
|
|
46208
46208
|
const localVarPath = `/api/v1/stores`;
|
|
46209
46209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46210
46210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -46224,7 +46224,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46224
46224
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46225
46225
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46226
46226
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
46227
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
46227
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateStoreRequest, localVarRequestOptions, configuration);
|
|
46228
46228
|
return {
|
|
46229
46229
|
url: toPathString(localVarUrlObj),
|
|
46230
46230
|
options: localVarRequestOptions,
|
|
@@ -46279,19 +46279,19 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46279
46279
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
46280
46280
|
* @param {string} xStoreWriteSecret Store write secret
|
|
46281
46281
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
46282
|
-
* @param {
|
|
46282
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
46283
46283
|
* @param {*} [options] Override http request option.
|
|
46284
46284
|
* @throws {RequiredError}
|
|
46285
46285
|
*/
|
|
46286
|
-
apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1,
|
|
46286
|
+
apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1], void 0, function* (xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options = {}) {
|
|
46287
46287
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
46288
46288
|
assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
|
|
46289
46289
|
// verify required parameter 'xStoreWriteSecret' is not null or undefined
|
|
46290
46290
|
assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
|
|
46291
46291
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
46292
46292
|
assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
46293
|
-
// verify required parameter '
|
|
46294
|
-
assertParamExists('apiV1StoresXStoreIDConfigPut', '
|
|
46293
|
+
// verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
|
|
46294
|
+
assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest);
|
|
46295
46295
|
const localVarPath = `/api/v1/stores/{xStoreID}/config`
|
|
46296
46296
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
46297
46297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -46315,7 +46315,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46315
46315
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46316
46316
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46317
46317
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
46318
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
46318
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration);
|
|
46319
46319
|
return {
|
|
46320
46320
|
url: toPathString(localVarUrlObj),
|
|
46321
46321
|
options: localVarRequestOptions,
|
|
@@ -46835,14 +46835,14 @@ export const StoreManagementApiFp = function (configuration) {
|
|
|
46835
46835
|
* Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
|
|
46836
46836
|
* @summary Create Store (Public SDK API)
|
|
46837
46837
|
* @param {string} authorization Bearer JWT Token
|
|
46838
|
-
* @param {
|
|
46838
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
46839
46839
|
* @param {*} [options] Override http request option.
|
|
46840
46840
|
* @throws {RequiredError}
|
|
46841
46841
|
*/
|
|
46842
|
-
apiV1StoresPost(authorization,
|
|
46842
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
46843
46843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46844
46844
|
var _a, _b, _c;
|
|
46845
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization,
|
|
46845
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
|
|
46846
46846
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
46847
46847
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreManagementApi.apiV1StoresPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
46848
46848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -46872,14 +46872,14 @@ export const StoreManagementApiFp = function (configuration) {
|
|
|
46872
46872
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
46873
46873
|
* @param {string} xStoreWriteSecret Store write secret
|
|
46874
46874
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
46875
|
-
* @param {
|
|
46875
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
46876
46876
|
* @param {*} [options] Override http request option.
|
|
46877
46877
|
* @throws {RequiredError}
|
|
46878
46878
|
*/
|
|
46879
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
46879
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
46880
46880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46881
46881
|
var _a, _b, _c;
|
|
46882
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
46882
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options);
|
|
46883
46883
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
46884
46884
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
46885
46885
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -47102,12 +47102,12 @@ export const StoreManagementApiFactory = function (configuration, basePath, axio
|
|
|
47102
47102
|
* Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
|
|
47103
47103
|
* @summary Create Store (Public SDK API)
|
|
47104
47104
|
* @param {string} authorization Bearer JWT Token
|
|
47105
|
-
* @param {
|
|
47105
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
47106
47106
|
* @param {*} [options] Override http request option.
|
|
47107
47107
|
* @throws {RequiredError}
|
|
47108
47108
|
*/
|
|
47109
|
-
apiV1StoresPost(authorization,
|
|
47110
|
-
return localVarFp.apiV1StoresPost(authorization,
|
|
47109
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
47110
|
+
return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
|
|
47111
47111
|
},
|
|
47112
47112
|
/**
|
|
47113
47113
|
* Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47127,12 +47127,12 @@ export const StoreManagementApiFactory = function (configuration, basePath, axio
|
|
|
47127
47127
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
47128
47128
|
* @param {string} xStoreWriteSecret Store write secret
|
|
47129
47129
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
47130
|
-
* @param {
|
|
47130
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
47131
47131
|
* @param {*} [options] Override http request option.
|
|
47132
47132
|
* @throws {RequiredError}
|
|
47133
47133
|
*/
|
|
47134
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47135
|
-
return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47134
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
47135
|
+
return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
|
|
47136
47136
|
},
|
|
47137
47137
|
/**
|
|
47138
47138
|
* Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47285,13 +47285,13 @@ export class StoreManagementApi extends BaseAPI {
|
|
|
47285
47285
|
* Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
|
|
47286
47286
|
* @summary Create Store (Public SDK API)
|
|
47287
47287
|
* @param {string} authorization Bearer JWT Token
|
|
47288
|
-
* @param {
|
|
47288
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
47289
47289
|
* @param {*} [options] Override http request option.
|
|
47290
47290
|
* @throws {RequiredError}
|
|
47291
47291
|
* @memberof StoreManagementApi
|
|
47292
47292
|
*/
|
|
47293
|
-
apiV1StoresPost(authorization,
|
|
47294
|
-
return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization,
|
|
47293
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
47294
|
+
return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
47295
47295
|
}
|
|
47296
47296
|
/**
|
|
47297
47297
|
* Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47312,13 +47312,13 @@ export class StoreManagementApi extends BaseAPI {
|
|
|
47312
47312
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
47313
47313
|
* @param {string} xStoreWriteSecret Store write secret
|
|
47314
47314
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
47315
|
-
* @param {
|
|
47315
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
47316
47316
|
* @param {*} [options] Override http request option.
|
|
47317
47317
|
* @throws {RequiredError}
|
|
47318
47318
|
* @memberof StoreManagementApi
|
|
47319
47319
|
*/
|
|
47320
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47321
|
-
return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47320
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
47321
|
+
return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
47322
47322
|
}
|
|
47323
47323
|
/**
|
|
47324
47324
|
* Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|