@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/api.js
CHANGED
|
@@ -43995,20 +43995,20 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
43995
43995
|
* @summary Search (POST)
|
|
43996
43996
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
43997
43997
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
43998
|
-
* @param {
|
|
43998
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
43999
43999
|
* @param {string} [xUserId] User ID for personalization
|
|
44000
44000
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44001
44001
|
* @param {string} [xSessionId] Session ID for personalization
|
|
44002
44002
|
* @param {*} [options] Override http request option.
|
|
44003
44003
|
* @throws {RequiredError}
|
|
44004
44004
|
*/
|
|
44005
|
-
v1SearchPost: (xStoreid_1, xStoresecret_1,
|
|
44005
|
+
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 = {}) {
|
|
44006
44006
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
44007
44007
|
(0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
|
|
44008
44008
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
44009
44009
|
(0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
|
|
44010
|
-
// verify required parameter '
|
|
44011
|
-
(0, common_1.assertParamExists)('v1SearchPost', '
|
|
44010
|
+
// verify required parameter 'dataTypesSearchRequest' is not null or undefined
|
|
44011
|
+
(0, common_1.assertParamExists)('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest);
|
|
44012
44012
|
const localVarPath = `/v1/search`;
|
|
44013
44013
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44014
44014
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -44038,7 +44038,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
44038
44038
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
44039
44039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44040
44040
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
44041
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
44041
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesSearchRequest, localVarRequestOptions, configuration);
|
|
44042
44042
|
return {
|
|
44043
44043
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
44044
44044
|
options: localVarRequestOptions,
|
|
@@ -44217,17 +44217,17 @@ const SearchApiFp = function (configuration) {
|
|
|
44217
44217
|
* @summary Search (POST)
|
|
44218
44218
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
44219
44219
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
44220
|
-
* @param {
|
|
44220
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
44221
44221
|
* @param {string} [xUserId] User ID for personalization
|
|
44222
44222
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44223
44223
|
* @param {string} [xSessionId] Session ID for personalization
|
|
44224
44224
|
* @param {*} [options] Override http request option.
|
|
44225
44225
|
* @throws {RequiredError}
|
|
44226
44226
|
*/
|
|
44227
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
44227
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
44228
44228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44229
44229
|
var _a, _b, _c;
|
|
44230
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret,
|
|
44230
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
44231
44231
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
44232
44232
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
44233
44233
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -44364,15 +44364,15 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
44364
44364
|
* @summary Search (POST)
|
|
44365
44365
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
44366
44366
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
44367
|
-
* @param {
|
|
44367
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
44368
44368
|
* @param {string} [xUserId] User ID for personalization
|
|
44369
44369
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44370
44370
|
* @param {string} [xSessionId] Session ID for personalization
|
|
44371
44371
|
* @param {*} [options] Override http request option.
|
|
44372
44372
|
* @throws {RequiredError}
|
|
44373
44373
|
*/
|
|
44374
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
44375
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret,
|
|
44374
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
44375
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
44376
44376
|
},
|
|
44377
44377
|
};
|
|
44378
44378
|
};
|
|
@@ -44512,7 +44512,7 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
44512
44512
|
* @summary Search (POST)
|
|
44513
44513
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
44514
44514
|
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
44515
|
-
* @param {
|
|
44515
|
+
* @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
|
|
44516
44516
|
* @param {string} [xUserId] User ID for personalization
|
|
44517
44517
|
* @param {string} [xAnonId] Anonymous user ID for personalization
|
|
44518
44518
|
* @param {string} [xSessionId] Session ID for personalization
|
|
@@ -44520,8 +44520,8 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
44520
44520
|
* @throws {RequiredError}
|
|
44521
44521
|
* @memberof SearchApi
|
|
44522
44522
|
*/
|
|
44523
|
-
v1SearchPost(xStoreid, xStoresecret,
|
|
44524
|
-
return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret,
|
|
44523
|
+
v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
|
|
44524
|
+
return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
44525
44525
|
}
|
|
44526
44526
|
}
|
|
44527
44527
|
exports.SearchApi = SearchApi;
|
|
@@ -46508,15 +46508,15 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46508
46508
|
* 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.
|
|
46509
46509
|
* @summary Create Store (Public SDK API)
|
|
46510
46510
|
* @param {string} authorization Bearer JWT Token
|
|
46511
|
-
* @param {
|
|
46511
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
46512
46512
|
* @param {*} [options] Override http request option.
|
|
46513
46513
|
* @throws {RequiredError}
|
|
46514
46514
|
*/
|
|
46515
|
-
apiV1StoresPost: (authorization_1,
|
|
46515
|
+
apiV1StoresPost: (authorization_1, dataTypesCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateStoreRequest, options = {}) {
|
|
46516
46516
|
// verify required parameter 'authorization' is not null or undefined
|
|
46517
46517
|
(0, common_1.assertParamExists)('apiV1StoresPost', 'authorization', authorization);
|
|
46518
|
-
// verify required parameter '
|
|
46519
|
-
(0, common_1.assertParamExists)('apiV1StoresPost', '
|
|
46518
|
+
// verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
|
|
46519
|
+
(0, common_1.assertParamExists)('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest);
|
|
46520
46520
|
const localVarPath = `/api/v1/stores`;
|
|
46521
46521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46522
46522
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -46536,7 +46536,7 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46536
46536
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
46537
46537
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46538
46538
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
46539
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
46539
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreateStoreRequest, localVarRequestOptions, configuration);
|
|
46540
46540
|
return {
|
|
46541
46541
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
46542
46542
|
options: localVarRequestOptions,
|
|
@@ -46591,19 +46591,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46591
46591
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
46592
46592
|
* @param {string} xStoreWriteSecret Store write secret
|
|
46593
46593
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
46594
|
-
* @param {
|
|
46594
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
46595
46595
|
* @param {*} [options] Override http request option.
|
|
46596
46596
|
* @throws {RequiredError}
|
|
46597
46597
|
*/
|
|
46598
|
-
apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1,
|
|
46598
|
+
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 = {}) {
|
|
46599
46599
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
46600
46600
|
(0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
|
|
46601
46601
|
// verify required parameter 'xStoreWriteSecret' is not null or undefined
|
|
46602
46602
|
(0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
|
|
46603
46603
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
46604
46604
|
(0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
|
|
46605
|
-
// verify required parameter '
|
|
46606
|
-
(0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', '
|
|
46605
|
+
// verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
|
|
46606
|
+
(0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest);
|
|
46607
46607
|
const localVarPath = `/api/v1/stores/{xStoreID}/config`
|
|
46608
46608
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
46609
46609
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -46627,7 +46627,7 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
|
|
|
46627
46627
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
46628
46628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46629
46629
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
46630
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
46630
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration);
|
|
46631
46631
|
return {
|
|
46632
46632
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
46633
46633
|
options: localVarRequestOptions,
|
|
@@ -47148,14 +47148,14 @@ const StoreManagementApiFp = function (configuration) {
|
|
|
47148
47148
|
* 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.
|
|
47149
47149
|
* @summary Create Store (Public SDK API)
|
|
47150
47150
|
* @param {string} authorization Bearer JWT Token
|
|
47151
|
-
* @param {
|
|
47151
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
47152
47152
|
* @param {*} [options] Override http request option.
|
|
47153
47153
|
* @throws {RequiredError}
|
|
47154
47154
|
*/
|
|
47155
|
-
apiV1StoresPost(authorization,
|
|
47155
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
47156
47156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
47157
47157
|
var _a, _b, _c;
|
|
47158
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization,
|
|
47158
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
|
|
47159
47159
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
47160
47160
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoreManagementApi.apiV1StoresPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
47161
47161
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -47185,14 +47185,14 @@ const StoreManagementApiFp = function (configuration) {
|
|
|
47185
47185
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
47186
47186
|
* @param {string} xStoreWriteSecret Store write secret
|
|
47187
47187
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
47188
|
-
* @param {
|
|
47188
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
47189
47189
|
* @param {*} [options] Override http request option.
|
|
47190
47190
|
* @throws {RequiredError}
|
|
47191
47191
|
*/
|
|
47192
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47192
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
47193
47193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
47194
47194
|
var _a, _b, _c;
|
|
47195
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47195
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options);
|
|
47196
47196
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
47197
47197
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
47198
47198
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -47416,12 +47416,12 @@ const StoreManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
47416
47416
|
* 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.
|
|
47417
47417
|
* @summary Create Store (Public SDK API)
|
|
47418
47418
|
* @param {string} authorization Bearer JWT Token
|
|
47419
|
-
* @param {
|
|
47419
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
47420
47420
|
* @param {*} [options] Override http request option.
|
|
47421
47421
|
* @throws {RequiredError}
|
|
47422
47422
|
*/
|
|
47423
|
-
apiV1StoresPost(authorization,
|
|
47424
|
-
return localVarFp.apiV1StoresPost(authorization,
|
|
47423
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
47424
|
+
return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
|
|
47425
47425
|
},
|
|
47426
47426
|
/**
|
|
47427
47427
|
* Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47441,12 +47441,12 @@ const StoreManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
47441
47441
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
47442
47442
|
* @param {string} xStoreWriteSecret Store write secret
|
|
47443
47443
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
47444
|
-
* @param {
|
|
47444
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
47445
47445
|
* @param {*} [options] Override http request option.
|
|
47446
47446
|
* @throws {RequiredError}
|
|
47447
47447
|
*/
|
|
47448
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47449
|
-
return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47448
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
47449
|
+
return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
|
|
47450
47450
|
},
|
|
47451
47451
|
/**
|
|
47452
47452
|
* Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47600,13 +47600,13 @@ class StoreManagementApi extends base_1.BaseAPI {
|
|
|
47600
47600
|
* 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.
|
|
47601
47601
|
* @summary Create Store (Public SDK API)
|
|
47602
47602
|
* @param {string} authorization Bearer JWT Token
|
|
47603
|
-
* @param {
|
|
47603
|
+
* @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
|
|
47604
47604
|
* @param {*} [options] Override http request option.
|
|
47605
47605
|
* @throws {RequiredError}
|
|
47606
47606
|
* @memberof StoreManagementApi
|
|
47607
47607
|
*/
|
|
47608
|
-
apiV1StoresPost(authorization,
|
|
47609
|
-
return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresPost(authorization,
|
|
47608
|
+
apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
|
|
47609
|
+
return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
47610
47610
|
}
|
|
47611
47611
|
/**
|
|
47612
47612
|
* Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|
|
@@ -47627,13 +47627,13 @@ class StoreManagementApi extends base_1.BaseAPI {
|
|
|
47627
47627
|
* @param {string} xStoreid Store ID (from dashboard)
|
|
47628
47628
|
* @param {string} xStoreWriteSecret Store write secret
|
|
47629
47629
|
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
47630
|
-
* @param {
|
|
47630
|
+
* @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
|
|
47631
47631
|
* @param {*} [options] Override http request option.
|
|
47632
47632
|
* @throws {RequiredError}
|
|
47633
47633
|
* @memberof StoreManagementApi
|
|
47634
47634
|
*/
|
|
47635
|
-
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47636
|
-
return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID,
|
|
47635
|
+
apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
|
|
47636
|
+
return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
47637
47637
|
}
|
|
47638
47638
|
/**
|
|
47639
47639
|
* Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
|