@seekora-ai/admin-api 1.0.27 → 1.0.29
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 +5 -2
- package/api.ts +170 -0
- package/dist/api.d.ts +131 -0
- package/dist/api.js +68 -0
- package/dist/esm/api.d.ts +131 -0
- package/dist/esm/api.js +68 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.29.tgz +0 -0
- package/seekora-ai-admin-api-1.0.27.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
1
|
+
## @seekora-ai/admin-api@1.0.29
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.0.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.0.29 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -190,6 +190,7 @@ Class | Method | HTTP request | Description
|
|
|
190
190
|
*StoresApi* | [**adminStoresXStoreIDConfigGet**](docs/StoresApi.md#adminstoresxstoreidconfigget) | **GET** /admin/Stores/{xStoreID}/config | Get Store Config
|
|
191
191
|
*StoresApi* | [**adminStoresXStoreIDConfigPut**](docs/StoresApi.md#adminstoresxstoreidconfigput) | **PUT** /admin/Stores/{xStoreID}/config | Update Store Config (Partial)
|
|
192
192
|
*StoresApi* | [**adminStoresXStoreIDConfigSchemaGet**](docs/StoresApi.md#adminstoresxstoreidconfigschemaget) | **GET** /admin/Stores/{xStoreID}/config-schema | Get Store Config Schema
|
|
193
|
+
*StoresApi* | [**adminStoresXStoreIDCredentialsGet**](docs/StoresApi.md#adminstoresxstoreidcredentialsget) | **GET** /admin/Stores/{xStoreID}/credentials | Get store credentials
|
|
193
194
|
*StoresApi* | [**adminStoresXStoreIDDefaultsGet**](docs/StoresApi.md#adminstoresxstoreiddefaultsget) | **GET** /admin/Stores/{xStoreID}/defaults | Get Store Schema-Based Defaults
|
|
194
195
|
*SubscriptionsApi* | [**adminSubscriptionsSubscriptionIDPut**](docs/SubscriptionsApi.md#adminsubscriptionssubscriptionidput) | **PUT** /admin/subscriptions/{subscriptionID} | Update an existing Subscription
|
|
195
196
|
*SubscriptionsApi* | [**adminSubscriptionsUpdatestatusSubscriptionIDStatusPut**](docs/SubscriptionsApi.md#adminsubscriptionsupdatestatussubscriptionidstatusput) | **PUT** /admin/subscriptions/updatestatus/{subscriptionID}/{status} | Update an existing Subscription status
|
|
@@ -338,6 +339,8 @@ Class | Method | HTTP request | Description
|
|
|
338
339
|
- [DataTypesSourcesListResponse](docs/DataTypesSourcesListResponse.md)
|
|
339
340
|
- [DataTypesStopwordEntry](docs/DataTypesStopwordEntry.md)
|
|
340
341
|
- [DataTypesStore](docs/DataTypesStore.md)
|
|
342
|
+
- [DataTypesStoreCredentials](docs/DataTypesStoreCredentials.md)
|
|
343
|
+
- [DataTypesStoreCredentialsResponse](docs/DataTypesStoreCredentialsResponse.md)
|
|
341
344
|
- [DataTypesStoreKeyResponse](docs/DataTypesStoreKeyResponse.md)
|
|
342
345
|
- [DataTypesStoreKeyResponseWrapper](docs/DataTypesStoreKeyResponseWrapper.md)
|
|
343
346
|
- [DataTypesStoreRequestDto](docs/DataTypesStoreRequestDto.md)
|
package/api.ts
CHANGED
|
@@ -433,6 +433,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
433
433
|
* @memberof DataTypesAdminSearchRequest
|
|
434
434
|
*/
|
|
435
435
|
'synonym_sets'?: Array<string>;
|
|
436
|
+
/**
|
|
437
|
+
* If true, returns only display fields instead of full document
|
|
438
|
+
* @type {boolean}
|
|
439
|
+
* @memberof DataTypesAdminSearchRequest
|
|
440
|
+
*/
|
|
441
|
+
'widget_mode'?: boolean;
|
|
436
442
|
}
|
|
437
443
|
/**
|
|
438
444
|
*
|
|
@@ -2172,6 +2178,12 @@ export interface DataTypesGetStoreResult {
|
|
|
2172
2178
|
* @memberof DataTypesGetStoreResult
|
|
2173
2179
|
*/
|
|
2174
2180
|
'xStoreSecret'?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Include in API responses
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof DataTypesGetStoreResult
|
|
2185
|
+
*/
|
|
2186
|
+
'xStoreWriteSecret'?: string;
|
|
2175
2187
|
}
|
|
2176
2188
|
/**
|
|
2177
2189
|
*
|
|
@@ -2341,6 +2353,12 @@ export interface DataTypesIndexConfig {
|
|
|
2341
2353
|
* @memberof DataTypesIndexConfig
|
|
2342
2354
|
*/
|
|
2343
2355
|
'highlight_start_tag'?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
*
|
|
2358
|
+
* @type {string}
|
|
2359
|
+
* @memberof DataTypesIndexConfig
|
|
2360
|
+
*/
|
|
2361
|
+
'image_url'?: string;
|
|
2344
2362
|
/**
|
|
2345
2363
|
*
|
|
2346
2364
|
* @type {Array<string>}
|
|
@@ -2407,6 +2425,12 @@ export interface DataTypesIndexConfig {
|
|
|
2407
2425
|
* @memberof DataTypesIndexConfig
|
|
2408
2426
|
*/
|
|
2409
2427
|
'preset'?: string;
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @type {string}
|
|
2431
|
+
* @memberof DataTypesIndexConfig
|
|
2432
|
+
*/
|
|
2433
|
+
'primary_text'?: string;
|
|
2410
2434
|
/**
|
|
2411
2435
|
*
|
|
2412
2436
|
* @type {boolean}
|
|
@@ -2449,6 +2473,12 @@ export interface DataTypesIndexConfig {
|
|
|
2449
2473
|
* @memberof DataTypesIndexConfig
|
|
2450
2474
|
*/
|
|
2451
2475
|
'search_strategy'?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @type {string}
|
|
2479
|
+
* @memberof DataTypesIndexConfig
|
|
2480
|
+
*/
|
|
2481
|
+
'secondary_text'?: string;
|
|
2452
2482
|
/**
|
|
2453
2483
|
*
|
|
2454
2484
|
* @type {boolean}
|
|
@@ -2485,6 +2515,12 @@ export interface DataTypesIndexConfig {
|
|
|
2485
2515
|
* @memberof DataTypesIndexConfig
|
|
2486
2516
|
*/
|
|
2487
2517
|
'synonyms'?: Array<DataTypesSynonymEntry>;
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof DataTypesIndexConfig
|
|
2522
|
+
*/
|
|
2523
|
+
'tertiary_text'?: string;
|
|
2488
2524
|
/**
|
|
2489
2525
|
* Optional: Search-only scoped API key
|
|
2490
2526
|
* @type {string}
|
|
@@ -4501,6 +4537,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
4501
4537
|
* @memberof DataTypesPublicSearchRequest
|
|
4502
4538
|
*/
|
|
4503
4539
|
'synonym_sets'?: Array<string>;
|
|
4540
|
+
/**
|
|
4541
|
+
* If true, returns only display fields instead of full document
|
|
4542
|
+
* @type {boolean}
|
|
4543
|
+
* @memberof DataTypesPublicSearchRequest
|
|
4544
|
+
*/
|
|
4545
|
+
'widget_mode'?: boolean;
|
|
4504
4546
|
}
|
|
4505
4547
|
/**
|
|
4506
4548
|
*
|
|
@@ -5585,6 +5627,56 @@ export interface DataTypesStore {
|
|
|
5585
5627
|
*/
|
|
5586
5628
|
'xStoreID'?: string;
|
|
5587
5629
|
}
|
|
5630
|
+
/**
|
|
5631
|
+
*
|
|
5632
|
+
* @export
|
|
5633
|
+
* @interface DataTypesStoreCredentials
|
|
5634
|
+
*/
|
|
5635
|
+
export interface DataTypesStoreCredentials {
|
|
5636
|
+
/**
|
|
5637
|
+
*
|
|
5638
|
+
* @type {string}
|
|
5639
|
+
* @memberof DataTypesStoreCredentials
|
|
5640
|
+
*/
|
|
5641
|
+
'xStoreId'?: string;
|
|
5642
|
+
/**
|
|
5643
|
+
*
|
|
5644
|
+
* @type {string}
|
|
5645
|
+
* @memberof DataTypesStoreCredentials
|
|
5646
|
+
*/
|
|
5647
|
+
'xStoreSecret'?: string;
|
|
5648
|
+
/**
|
|
5649
|
+
*
|
|
5650
|
+
* @type {string}
|
|
5651
|
+
* @memberof DataTypesStoreCredentials
|
|
5652
|
+
*/
|
|
5653
|
+
'xStoreWriteSecret'?: string;
|
|
5654
|
+
}
|
|
5655
|
+
/**
|
|
5656
|
+
*
|
|
5657
|
+
* @export
|
|
5658
|
+
* @interface DataTypesStoreCredentialsResponse
|
|
5659
|
+
*/
|
|
5660
|
+
export interface DataTypesStoreCredentialsResponse {
|
|
5661
|
+
/**
|
|
5662
|
+
*
|
|
5663
|
+
* @type {DataTypesStoreCredentials}
|
|
5664
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5665
|
+
*/
|
|
5666
|
+
'data'?: DataTypesStoreCredentials;
|
|
5667
|
+
/**
|
|
5668
|
+
*
|
|
5669
|
+
* @type {string}
|
|
5670
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5671
|
+
*/
|
|
5672
|
+
'message'?: string;
|
|
5673
|
+
/**
|
|
5674
|
+
*
|
|
5675
|
+
* @type {number}
|
|
5676
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5677
|
+
*/
|
|
5678
|
+
'status'?: number;
|
|
5679
|
+
}
|
|
5588
5680
|
/**
|
|
5589
5681
|
*
|
|
5590
5682
|
* @export
|
|
@@ -5603,6 +5695,12 @@ export interface DataTypesStoreKeyResponse {
|
|
|
5603
5695
|
* @memberof DataTypesStoreKeyResponse
|
|
5604
5696
|
*/
|
|
5605
5697
|
'storeSecret'?: string;
|
|
5698
|
+
/**
|
|
5699
|
+
*
|
|
5700
|
+
* @type {string}
|
|
5701
|
+
* @memberof DataTypesStoreKeyResponse
|
|
5702
|
+
*/
|
|
5703
|
+
'storeWriteSecret'?: string;
|
|
5606
5704
|
}
|
|
5607
5705
|
/**
|
|
5608
5706
|
*
|
|
@@ -17725,6 +17823,43 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
17725
17823
|
|
|
17726
17824
|
|
|
17727
17825
|
|
|
17826
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17827
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17828
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17829
|
+
|
|
17830
|
+
return {
|
|
17831
|
+
url: toPathString(localVarUrlObj),
|
|
17832
|
+
options: localVarRequestOptions,
|
|
17833
|
+
};
|
|
17834
|
+
},
|
|
17835
|
+
/**
|
|
17836
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
17837
|
+
* @summary Get store credentials
|
|
17838
|
+
* @param {string} xStoreID X-Store ID
|
|
17839
|
+
* @param {*} [options] Override http request option.
|
|
17840
|
+
* @throws {RequiredError}
|
|
17841
|
+
*/
|
|
17842
|
+
adminStoresXStoreIDCredentialsGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17843
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
17844
|
+
assertParamExists('adminStoresXStoreIDCredentialsGet', 'xStoreID', xStoreID)
|
|
17845
|
+
const localVarPath = `/admin/Stores/{xStoreID}/credentials`
|
|
17846
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
17847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17848
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17849
|
+
let baseOptions;
|
|
17850
|
+
if (configuration) {
|
|
17851
|
+
baseOptions = configuration.baseOptions;
|
|
17852
|
+
}
|
|
17853
|
+
|
|
17854
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17855
|
+
const localVarHeaderParameter = {} as any;
|
|
17856
|
+
const localVarQueryParameter = {} as any;
|
|
17857
|
+
|
|
17858
|
+
// authentication BearerAuth required
|
|
17859
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17860
|
+
|
|
17861
|
+
|
|
17862
|
+
|
|
17728
17863
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17729
17864
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17730
17865
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17887,6 +18022,19 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
17887
18022
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDConfigSchemaGet']?.[localVarOperationServerIndex]?.url;
|
|
17888
18023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17889
18024
|
},
|
|
18025
|
+
/**
|
|
18026
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
18027
|
+
* @summary Get store credentials
|
|
18028
|
+
* @param {string} xStoreID X-Store ID
|
|
18029
|
+
* @param {*} [options] Override http request option.
|
|
18030
|
+
* @throws {RequiredError}
|
|
18031
|
+
*/
|
|
18032
|
+
async adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreCredentialsResponse>> {
|
|
18033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDCredentialsGet(xStoreID, options);
|
|
18034
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18035
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDCredentialsGet']?.[localVarOperationServerIndex]?.url;
|
|
18036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18037
|
+
},
|
|
17890
18038
|
/**
|
|
17891
18039
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
17892
18040
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -17992,6 +18140,16 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
17992
18140
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponseWrapper> {
|
|
17993
18141
|
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
17994
18142
|
},
|
|
18143
|
+
/**
|
|
18144
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
18145
|
+
* @summary Get store credentials
|
|
18146
|
+
* @param {string} xStoreID X-Store ID
|
|
18147
|
+
* @param {*} [options] Override http request option.
|
|
18148
|
+
* @throws {RequiredError}
|
|
18149
|
+
*/
|
|
18150
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreCredentialsResponse> {
|
|
18151
|
+
return localVarFp.adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
18152
|
+
},
|
|
17995
18153
|
/**
|
|
17996
18154
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
17997
18155
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -18110,6 +18268,18 @@ export class StoresApi extends BaseAPI {
|
|
|
18110
18268
|
return StoresApiFp(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18111
18269
|
}
|
|
18112
18270
|
|
|
18271
|
+
/**
|
|
18272
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
18273
|
+
* @summary Get store credentials
|
|
18274
|
+
* @param {string} xStoreID X-Store ID
|
|
18275
|
+
* @param {*} [options] Override http request option.
|
|
18276
|
+
* @throws {RequiredError}
|
|
18277
|
+
* @memberof StoresApi
|
|
18278
|
+
*/
|
|
18279
|
+
public adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig) {
|
|
18280
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
18281
|
+
}
|
|
18282
|
+
|
|
18113
18283
|
/**
|
|
18114
18284
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
18115
18285
|
* @summary Get Store Schema-Based Defaults
|
package/dist/api.d.ts
CHANGED
|
@@ -431,6 +431,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
431
431
|
* @memberof DataTypesAdminSearchRequest
|
|
432
432
|
*/
|
|
433
433
|
'synonym_sets'?: Array<string>;
|
|
434
|
+
/**
|
|
435
|
+
* If true, returns only display fields instead of full document
|
|
436
|
+
* @type {boolean}
|
|
437
|
+
* @memberof DataTypesAdminSearchRequest
|
|
438
|
+
*/
|
|
439
|
+
'widget_mode'?: boolean;
|
|
434
440
|
}
|
|
435
441
|
/**
|
|
436
442
|
*
|
|
@@ -2172,6 +2178,12 @@ export interface DataTypesGetStoreResult {
|
|
|
2172
2178
|
* @memberof DataTypesGetStoreResult
|
|
2173
2179
|
*/
|
|
2174
2180
|
'xStoreSecret'?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Include in API responses
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof DataTypesGetStoreResult
|
|
2185
|
+
*/
|
|
2186
|
+
'xStoreWriteSecret'?: string;
|
|
2175
2187
|
}
|
|
2176
2188
|
/**
|
|
2177
2189
|
*
|
|
@@ -2341,6 +2353,12 @@ export interface DataTypesIndexConfig {
|
|
|
2341
2353
|
* @memberof DataTypesIndexConfig
|
|
2342
2354
|
*/
|
|
2343
2355
|
'highlight_start_tag'?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
*
|
|
2358
|
+
* @type {string}
|
|
2359
|
+
* @memberof DataTypesIndexConfig
|
|
2360
|
+
*/
|
|
2361
|
+
'image_url'?: string;
|
|
2344
2362
|
/**
|
|
2345
2363
|
*
|
|
2346
2364
|
* @type {Array<string>}
|
|
@@ -2407,6 +2425,12 @@ export interface DataTypesIndexConfig {
|
|
|
2407
2425
|
* @memberof DataTypesIndexConfig
|
|
2408
2426
|
*/
|
|
2409
2427
|
'preset'?: string;
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @type {string}
|
|
2431
|
+
* @memberof DataTypesIndexConfig
|
|
2432
|
+
*/
|
|
2433
|
+
'primary_text'?: string;
|
|
2410
2434
|
/**
|
|
2411
2435
|
*
|
|
2412
2436
|
* @type {boolean}
|
|
@@ -2449,6 +2473,12 @@ export interface DataTypesIndexConfig {
|
|
|
2449
2473
|
* @memberof DataTypesIndexConfig
|
|
2450
2474
|
*/
|
|
2451
2475
|
'search_strategy'?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @type {string}
|
|
2479
|
+
* @memberof DataTypesIndexConfig
|
|
2480
|
+
*/
|
|
2481
|
+
'secondary_text'?: string;
|
|
2452
2482
|
/**
|
|
2453
2483
|
*
|
|
2454
2484
|
* @type {boolean}
|
|
@@ -2485,6 +2515,12 @@ export interface DataTypesIndexConfig {
|
|
|
2485
2515
|
* @memberof DataTypesIndexConfig
|
|
2486
2516
|
*/
|
|
2487
2517
|
'synonyms'?: Array<DataTypesSynonymEntry>;
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof DataTypesIndexConfig
|
|
2522
|
+
*/
|
|
2523
|
+
'tertiary_text'?: string;
|
|
2488
2524
|
/**
|
|
2489
2525
|
* Optional: Search-only scoped API key
|
|
2490
2526
|
* @type {string}
|
|
@@ -4511,6 +4547,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
4511
4547
|
* @memberof DataTypesPublicSearchRequest
|
|
4512
4548
|
*/
|
|
4513
4549
|
'synonym_sets'?: Array<string>;
|
|
4550
|
+
/**
|
|
4551
|
+
* If true, returns only display fields instead of full document
|
|
4552
|
+
* @type {boolean}
|
|
4553
|
+
* @memberof DataTypesPublicSearchRequest
|
|
4554
|
+
*/
|
|
4555
|
+
'widget_mode'?: boolean;
|
|
4514
4556
|
}
|
|
4515
4557
|
/**
|
|
4516
4558
|
*
|
|
@@ -5595,6 +5637,56 @@ export interface DataTypesStore {
|
|
|
5595
5637
|
*/
|
|
5596
5638
|
'xStoreID'?: string;
|
|
5597
5639
|
}
|
|
5640
|
+
/**
|
|
5641
|
+
*
|
|
5642
|
+
* @export
|
|
5643
|
+
* @interface DataTypesStoreCredentials
|
|
5644
|
+
*/
|
|
5645
|
+
export interface DataTypesStoreCredentials {
|
|
5646
|
+
/**
|
|
5647
|
+
*
|
|
5648
|
+
* @type {string}
|
|
5649
|
+
* @memberof DataTypesStoreCredentials
|
|
5650
|
+
*/
|
|
5651
|
+
'xStoreId'?: string;
|
|
5652
|
+
/**
|
|
5653
|
+
*
|
|
5654
|
+
* @type {string}
|
|
5655
|
+
* @memberof DataTypesStoreCredentials
|
|
5656
|
+
*/
|
|
5657
|
+
'xStoreSecret'?: string;
|
|
5658
|
+
/**
|
|
5659
|
+
*
|
|
5660
|
+
* @type {string}
|
|
5661
|
+
* @memberof DataTypesStoreCredentials
|
|
5662
|
+
*/
|
|
5663
|
+
'xStoreWriteSecret'?: string;
|
|
5664
|
+
}
|
|
5665
|
+
/**
|
|
5666
|
+
*
|
|
5667
|
+
* @export
|
|
5668
|
+
* @interface DataTypesStoreCredentialsResponse
|
|
5669
|
+
*/
|
|
5670
|
+
export interface DataTypesStoreCredentialsResponse {
|
|
5671
|
+
/**
|
|
5672
|
+
*
|
|
5673
|
+
* @type {DataTypesStoreCredentials}
|
|
5674
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5675
|
+
*/
|
|
5676
|
+
'data'?: DataTypesStoreCredentials;
|
|
5677
|
+
/**
|
|
5678
|
+
*
|
|
5679
|
+
* @type {string}
|
|
5680
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5681
|
+
*/
|
|
5682
|
+
'message'?: string;
|
|
5683
|
+
/**
|
|
5684
|
+
*
|
|
5685
|
+
* @type {number}
|
|
5686
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5687
|
+
*/
|
|
5688
|
+
'status'?: number;
|
|
5689
|
+
}
|
|
5598
5690
|
/**
|
|
5599
5691
|
*
|
|
5600
5692
|
* @export
|
|
@@ -5613,6 +5705,12 @@ export interface DataTypesStoreKeyResponse {
|
|
|
5613
5705
|
* @memberof DataTypesStoreKeyResponse
|
|
5614
5706
|
*/
|
|
5615
5707
|
'storeSecret'?: string;
|
|
5708
|
+
/**
|
|
5709
|
+
*
|
|
5710
|
+
* @type {string}
|
|
5711
|
+
* @memberof DataTypesStoreKeyResponse
|
|
5712
|
+
*/
|
|
5713
|
+
'storeWriteSecret'?: string;
|
|
5616
5714
|
}
|
|
5617
5715
|
/**
|
|
5618
5716
|
*
|
|
@@ -11996,6 +12094,14 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11996
12094
|
* @throws {RequiredError}
|
|
11997
12095
|
*/
|
|
11998
12096
|
adminStoresXStoreIDConfigSchemaGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12097
|
+
/**
|
|
12098
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12099
|
+
* @summary Get store credentials
|
|
12100
|
+
* @param {string} xStoreID X-Store ID
|
|
12101
|
+
* @param {*} [options] Override http request option.
|
|
12102
|
+
* @throws {RequiredError}
|
|
12103
|
+
*/
|
|
12104
|
+
adminStoresXStoreIDCredentialsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11999
12105
|
/**
|
|
12000
12106
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12001
12107
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12076,6 +12182,14 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
12076
12182
|
* @throws {RequiredError}
|
|
12077
12183
|
*/
|
|
12078
12184
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>>;
|
|
12185
|
+
/**
|
|
12186
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12187
|
+
* @summary Get store credentials
|
|
12188
|
+
* @param {string} xStoreID X-Store ID
|
|
12189
|
+
* @param {*} [options] Override http request option.
|
|
12190
|
+
* @throws {RequiredError}
|
|
12191
|
+
*/
|
|
12192
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreCredentialsResponse>>;
|
|
12079
12193
|
/**
|
|
12080
12194
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12081
12195
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12156,6 +12270,14 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
12156
12270
|
* @throws {RequiredError}
|
|
12157
12271
|
*/
|
|
12158
12272
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>;
|
|
12273
|
+
/**
|
|
12274
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12275
|
+
* @summary Get store credentials
|
|
12276
|
+
* @param {string} xStoreID X-Store ID
|
|
12277
|
+
* @param {*} [options] Override http request option.
|
|
12278
|
+
* @throws {RequiredError}
|
|
12279
|
+
*/
|
|
12280
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreCredentialsResponse>;
|
|
12159
12281
|
/**
|
|
12160
12282
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12161
12283
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12246,6 +12368,15 @@ export declare class StoresApi extends BaseAPI {
|
|
|
12246
12368
|
* @memberof StoresApi
|
|
12247
12369
|
*/
|
|
12248
12370
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesConfigurationSchemaResponseWrapper, any>>;
|
|
12371
|
+
/**
|
|
12372
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12373
|
+
* @summary Get store credentials
|
|
12374
|
+
* @param {string} xStoreID X-Store ID
|
|
12375
|
+
* @param {*} [options] Override http request option.
|
|
12376
|
+
* @throws {RequiredError}
|
|
12377
|
+
* @memberof StoresApi
|
|
12378
|
+
*/
|
|
12379
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreCredentialsResponse, any>>;
|
|
12249
12380
|
/**
|
|
12250
12381
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12251
12382
|
* @summary Get Store Schema-Based Defaults
|
package/dist/api.js
CHANGED
|
@@ -10201,6 +10201,37 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
10201
10201
|
options: localVarRequestOptions,
|
|
10202
10202
|
};
|
|
10203
10203
|
}),
|
|
10204
|
+
/**
|
|
10205
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10206
|
+
* @summary Get store credentials
|
|
10207
|
+
* @param {string} xStoreID X-Store ID
|
|
10208
|
+
* @param {*} [options] Override http request option.
|
|
10209
|
+
* @throws {RequiredError}
|
|
10210
|
+
*/
|
|
10211
|
+
adminStoresXStoreIDCredentialsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
10212
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
10213
|
+
(0, common_1.assertParamExists)('adminStoresXStoreIDCredentialsGet', 'xStoreID', xStoreID);
|
|
10214
|
+
const localVarPath = `/admin/Stores/{xStoreID}/credentials`
|
|
10215
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
10216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10217
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10218
|
+
let baseOptions;
|
|
10219
|
+
if (configuration) {
|
|
10220
|
+
baseOptions = configuration.baseOptions;
|
|
10221
|
+
}
|
|
10222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10223
|
+
const localVarHeaderParameter = {};
|
|
10224
|
+
const localVarQueryParameter = {};
|
|
10225
|
+
// authentication BearerAuth required
|
|
10226
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10227
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10229
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10230
|
+
return {
|
|
10231
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10232
|
+
options: localVarRequestOptions,
|
|
10233
|
+
};
|
|
10234
|
+
}),
|
|
10204
10235
|
/**
|
|
10205
10236
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10206
10237
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10372,6 +10403,22 @@ const StoresApiFp = function (configuration) {
|
|
|
10372
10403
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10373
10404
|
});
|
|
10374
10405
|
},
|
|
10406
|
+
/**
|
|
10407
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10408
|
+
* @summary Get store credentials
|
|
10409
|
+
* @param {string} xStoreID X-Store ID
|
|
10410
|
+
* @param {*} [options] Override http request option.
|
|
10411
|
+
* @throws {RequiredError}
|
|
10412
|
+
*/
|
|
10413
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10415
|
+
var _a, _b, _c;
|
|
10416
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDCredentialsGet(xStoreID, options);
|
|
10417
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10418
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDCredentialsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10419
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10420
|
+
});
|
|
10421
|
+
},
|
|
10375
10422
|
/**
|
|
10376
10423
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10377
10424
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10480,6 +10527,16 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
10480
10527
|
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
10481
10528
|
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
10482
10529
|
},
|
|
10530
|
+
/**
|
|
10531
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10532
|
+
* @summary Get store credentials
|
|
10533
|
+
* @param {string} xStoreID X-Store ID
|
|
10534
|
+
* @param {*} [options] Override http request option.
|
|
10535
|
+
* @throws {RequiredError}
|
|
10536
|
+
*/
|
|
10537
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10538
|
+
return localVarFp.adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
10539
|
+
},
|
|
10483
10540
|
/**
|
|
10484
10541
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10485
10542
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10590,6 +10647,17 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
10590
10647
|
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
10591
10648
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
10592
10649
|
}
|
|
10650
|
+
/**
|
|
10651
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10652
|
+
* @summary Get store credentials
|
|
10653
|
+
* @param {string} xStoreID X-Store ID
|
|
10654
|
+
* @param {*} [options] Override http request option.
|
|
10655
|
+
* @throws {RequiredError}
|
|
10656
|
+
* @memberof StoresApi
|
|
10657
|
+
*/
|
|
10658
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10659
|
+
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
10660
|
+
}
|
|
10593
10661
|
/**
|
|
10594
10662
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10595
10663
|
* @summary Get Store Schema-Based Defaults
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -431,6 +431,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
431
431
|
* @memberof DataTypesAdminSearchRequest
|
|
432
432
|
*/
|
|
433
433
|
'synonym_sets'?: Array<string>;
|
|
434
|
+
/**
|
|
435
|
+
* If true, returns only display fields instead of full document
|
|
436
|
+
* @type {boolean}
|
|
437
|
+
* @memberof DataTypesAdminSearchRequest
|
|
438
|
+
*/
|
|
439
|
+
'widget_mode'?: boolean;
|
|
434
440
|
}
|
|
435
441
|
/**
|
|
436
442
|
*
|
|
@@ -2172,6 +2178,12 @@ export interface DataTypesGetStoreResult {
|
|
|
2172
2178
|
* @memberof DataTypesGetStoreResult
|
|
2173
2179
|
*/
|
|
2174
2180
|
'xStoreSecret'?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Include in API responses
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof DataTypesGetStoreResult
|
|
2185
|
+
*/
|
|
2186
|
+
'xStoreWriteSecret'?: string;
|
|
2175
2187
|
}
|
|
2176
2188
|
/**
|
|
2177
2189
|
*
|
|
@@ -2341,6 +2353,12 @@ export interface DataTypesIndexConfig {
|
|
|
2341
2353
|
* @memberof DataTypesIndexConfig
|
|
2342
2354
|
*/
|
|
2343
2355
|
'highlight_start_tag'?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
*
|
|
2358
|
+
* @type {string}
|
|
2359
|
+
* @memberof DataTypesIndexConfig
|
|
2360
|
+
*/
|
|
2361
|
+
'image_url'?: string;
|
|
2344
2362
|
/**
|
|
2345
2363
|
*
|
|
2346
2364
|
* @type {Array<string>}
|
|
@@ -2407,6 +2425,12 @@ export interface DataTypesIndexConfig {
|
|
|
2407
2425
|
* @memberof DataTypesIndexConfig
|
|
2408
2426
|
*/
|
|
2409
2427
|
'preset'?: string;
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @type {string}
|
|
2431
|
+
* @memberof DataTypesIndexConfig
|
|
2432
|
+
*/
|
|
2433
|
+
'primary_text'?: string;
|
|
2410
2434
|
/**
|
|
2411
2435
|
*
|
|
2412
2436
|
* @type {boolean}
|
|
@@ -2449,6 +2473,12 @@ export interface DataTypesIndexConfig {
|
|
|
2449
2473
|
* @memberof DataTypesIndexConfig
|
|
2450
2474
|
*/
|
|
2451
2475
|
'search_strategy'?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @type {string}
|
|
2479
|
+
* @memberof DataTypesIndexConfig
|
|
2480
|
+
*/
|
|
2481
|
+
'secondary_text'?: string;
|
|
2452
2482
|
/**
|
|
2453
2483
|
*
|
|
2454
2484
|
* @type {boolean}
|
|
@@ -2485,6 +2515,12 @@ export interface DataTypesIndexConfig {
|
|
|
2485
2515
|
* @memberof DataTypesIndexConfig
|
|
2486
2516
|
*/
|
|
2487
2517
|
'synonyms'?: Array<DataTypesSynonymEntry>;
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof DataTypesIndexConfig
|
|
2522
|
+
*/
|
|
2523
|
+
'tertiary_text'?: string;
|
|
2488
2524
|
/**
|
|
2489
2525
|
* Optional: Search-only scoped API key
|
|
2490
2526
|
* @type {string}
|
|
@@ -4511,6 +4547,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
4511
4547
|
* @memberof DataTypesPublicSearchRequest
|
|
4512
4548
|
*/
|
|
4513
4549
|
'synonym_sets'?: Array<string>;
|
|
4550
|
+
/**
|
|
4551
|
+
* If true, returns only display fields instead of full document
|
|
4552
|
+
* @type {boolean}
|
|
4553
|
+
* @memberof DataTypesPublicSearchRequest
|
|
4554
|
+
*/
|
|
4555
|
+
'widget_mode'?: boolean;
|
|
4514
4556
|
}
|
|
4515
4557
|
/**
|
|
4516
4558
|
*
|
|
@@ -5595,6 +5637,56 @@ export interface DataTypesStore {
|
|
|
5595
5637
|
*/
|
|
5596
5638
|
'xStoreID'?: string;
|
|
5597
5639
|
}
|
|
5640
|
+
/**
|
|
5641
|
+
*
|
|
5642
|
+
* @export
|
|
5643
|
+
* @interface DataTypesStoreCredentials
|
|
5644
|
+
*/
|
|
5645
|
+
export interface DataTypesStoreCredentials {
|
|
5646
|
+
/**
|
|
5647
|
+
*
|
|
5648
|
+
* @type {string}
|
|
5649
|
+
* @memberof DataTypesStoreCredentials
|
|
5650
|
+
*/
|
|
5651
|
+
'xStoreId'?: string;
|
|
5652
|
+
/**
|
|
5653
|
+
*
|
|
5654
|
+
* @type {string}
|
|
5655
|
+
* @memberof DataTypesStoreCredentials
|
|
5656
|
+
*/
|
|
5657
|
+
'xStoreSecret'?: string;
|
|
5658
|
+
/**
|
|
5659
|
+
*
|
|
5660
|
+
* @type {string}
|
|
5661
|
+
* @memberof DataTypesStoreCredentials
|
|
5662
|
+
*/
|
|
5663
|
+
'xStoreWriteSecret'?: string;
|
|
5664
|
+
}
|
|
5665
|
+
/**
|
|
5666
|
+
*
|
|
5667
|
+
* @export
|
|
5668
|
+
* @interface DataTypesStoreCredentialsResponse
|
|
5669
|
+
*/
|
|
5670
|
+
export interface DataTypesStoreCredentialsResponse {
|
|
5671
|
+
/**
|
|
5672
|
+
*
|
|
5673
|
+
* @type {DataTypesStoreCredentials}
|
|
5674
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5675
|
+
*/
|
|
5676
|
+
'data'?: DataTypesStoreCredentials;
|
|
5677
|
+
/**
|
|
5678
|
+
*
|
|
5679
|
+
* @type {string}
|
|
5680
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5681
|
+
*/
|
|
5682
|
+
'message'?: string;
|
|
5683
|
+
/**
|
|
5684
|
+
*
|
|
5685
|
+
* @type {number}
|
|
5686
|
+
* @memberof DataTypesStoreCredentialsResponse
|
|
5687
|
+
*/
|
|
5688
|
+
'status'?: number;
|
|
5689
|
+
}
|
|
5598
5690
|
/**
|
|
5599
5691
|
*
|
|
5600
5692
|
* @export
|
|
@@ -5613,6 +5705,12 @@ export interface DataTypesStoreKeyResponse {
|
|
|
5613
5705
|
* @memberof DataTypesStoreKeyResponse
|
|
5614
5706
|
*/
|
|
5615
5707
|
'storeSecret'?: string;
|
|
5708
|
+
/**
|
|
5709
|
+
*
|
|
5710
|
+
* @type {string}
|
|
5711
|
+
* @memberof DataTypesStoreKeyResponse
|
|
5712
|
+
*/
|
|
5713
|
+
'storeWriteSecret'?: string;
|
|
5616
5714
|
}
|
|
5617
5715
|
/**
|
|
5618
5716
|
*
|
|
@@ -11996,6 +12094,14 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11996
12094
|
* @throws {RequiredError}
|
|
11997
12095
|
*/
|
|
11998
12096
|
adminStoresXStoreIDConfigSchemaGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12097
|
+
/**
|
|
12098
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12099
|
+
* @summary Get store credentials
|
|
12100
|
+
* @param {string} xStoreID X-Store ID
|
|
12101
|
+
* @param {*} [options] Override http request option.
|
|
12102
|
+
* @throws {RequiredError}
|
|
12103
|
+
*/
|
|
12104
|
+
adminStoresXStoreIDCredentialsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11999
12105
|
/**
|
|
12000
12106
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12001
12107
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12076,6 +12182,14 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
12076
12182
|
* @throws {RequiredError}
|
|
12077
12183
|
*/
|
|
12078
12184
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>>;
|
|
12185
|
+
/**
|
|
12186
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12187
|
+
* @summary Get store credentials
|
|
12188
|
+
* @param {string} xStoreID X-Store ID
|
|
12189
|
+
* @param {*} [options] Override http request option.
|
|
12190
|
+
* @throws {RequiredError}
|
|
12191
|
+
*/
|
|
12192
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreCredentialsResponse>>;
|
|
12079
12193
|
/**
|
|
12080
12194
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12081
12195
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12156,6 +12270,14 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
12156
12270
|
* @throws {RequiredError}
|
|
12157
12271
|
*/
|
|
12158
12272
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesConfigurationSchemaResponseWrapper>;
|
|
12273
|
+
/**
|
|
12274
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12275
|
+
* @summary Get store credentials
|
|
12276
|
+
* @param {string} xStoreID X-Store ID
|
|
12277
|
+
* @param {*} [options] Override http request option.
|
|
12278
|
+
* @throws {RequiredError}
|
|
12279
|
+
*/
|
|
12280
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreCredentialsResponse>;
|
|
12159
12281
|
/**
|
|
12160
12282
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12161
12283
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -12246,6 +12368,15 @@ export declare class StoresApi extends BaseAPI {
|
|
|
12246
12368
|
* @memberof StoresApi
|
|
12247
12369
|
*/
|
|
12248
12370
|
adminStoresXStoreIDConfigSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesConfigurationSchemaResponseWrapper, any>>;
|
|
12371
|
+
/**
|
|
12372
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
12373
|
+
* @summary Get store credentials
|
|
12374
|
+
* @param {string} xStoreID X-Store ID
|
|
12375
|
+
* @param {*} [options] Override http request option.
|
|
12376
|
+
* @throws {RequiredError}
|
|
12377
|
+
* @memberof StoresApi
|
|
12378
|
+
*/
|
|
12379
|
+
adminStoresXStoreIDCredentialsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreCredentialsResponse, any>>;
|
|
12249
12380
|
/**
|
|
12250
12381
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
12251
12382
|
* @summary Get Store Schema-Based Defaults
|
package/dist/esm/api.js
CHANGED
|
@@ -10112,6 +10112,37 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
10112
10112
|
options: localVarRequestOptions,
|
|
10113
10113
|
};
|
|
10114
10114
|
}),
|
|
10115
|
+
/**
|
|
10116
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10117
|
+
* @summary Get store credentials
|
|
10118
|
+
* @param {string} xStoreID X-Store ID
|
|
10119
|
+
* @param {*} [options] Override http request option.
|
|
10120
|
+
* @throws {RequiredError}
|
|
10121
|
+
*/
|
|
10122
|
+
adminStoresXStoreIDCredentialsGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
10123
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
10124
|
+
assertParamExists('adminStoresXStoreIDCredentialsGet', 'xStoreID', xStoreID);
|
|
10125
|
+
const localVarPath = `/admin/Stores/{xStoreID}/credentials`
|
|
10126
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
10127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10129
|
+
let baseOptions;
|
|
10130
|
+
if (configuration) {
|
|
10131
|
+
baseOptions = configuration.baseOptions;
|
|
10132
|
+
}
|
|
10133
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10134
|
+
const localVarHeaderParameter = {};
|
|
10135
|
+
const localVarQueryParameter = {};
|
|
10136
|
+
// authentication BearerAuth required
|
|
10137
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
10138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10140
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10141
|
+
return {
|
|
10142
|
+
url: toPathString(localVarUrlObj),
|
|
10143
|
+
options: localVarRequestOptions,
|
|
10144
|
+
};
|
|
10145
|
+
}),
|
|
10115
10146
|
/**
|
|
10116
10147
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10117
10148
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10282,6 +10313,22 @@ export const StoresApiFp = function (configuration) {
|
|
|
10282
10313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10283
10314
|
});
|
|
10284
10315
|
},
|
|
10316
|
+
/**
|
|
10317
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10318
|
+
* @summary Get store credentials
|
|
10319
|
+
* @param {string} xStoreID X-Store ID
|
|
10320
|
+
* @param {*} [options] Override http request option.
|
|
10321
|
+
* @throws {RequiredError}
|
|
10322
|
+
*/
|
|
10323
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10325
|
+
var _a, _b, _c;
|
|
10326
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDCredentialsGet(xStoreID, options);
|
|
10327
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10328
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDCredentialsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10329
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10330
|
+
});
|
|
10331
|
+
},
|
|
10285
10332
|
/**
|
|
10286
10333
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10287
10334
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10389,6 +10436,16 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
10389
10436
|
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
10390
10437
|
return localVarFp.adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
10391
10438
|
},
|
|
10439
|
+
/**
|
|
10440
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10441
|
+
* @summary Get store credentials
|
|
10442
|
+
* @param {string} xStoreID X-Store ID
|
|
10443
|
+
* @param {*} [options] Override http request option.
|
|
10444
|
+
* @throws {RequiredError}
|
|
10445
|
+
*/
|
|
10446
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10447
|
+
return localVarFp.adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
10448
|
+
},
|
|
10392
10449
|
/**
|
|
10393
10450
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10394
10451
|
* @summary Get Store Schema-Based Defaults
|
|
@@ -10498,6 +10555,17 @@ export class StoresApi extends BaseAPI {
|
|
|
10498
10555
|
adminStoresXStoreIDConfigSchemaGet(xStoreID, options) {
|
|
10499
10556
|
return StoresApiFp(this.configuration).adminStoresXStoreIDConfigSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
10500
10557
|
}
|
|
10558
|
+
/**
|
|
10559
|
+
* Retrieves all store credentials (XStoreID, XStoreSecret, XStoreWriteSecret) for a given x-store ID
|
|
10560
|
+
* @summary Get store credentials
|
|
10561
|
+
* @param {string} xStoreID X-Store ID
|
|
10562
|
+
* @param {*} [options] Override http request option.
|
|
10563
|
+
* @throws {RequiredError}
|
|
10564
|
+
* @memberof StoresApi
|
|
10565
|
+
*/
|
|
10566
|
+
adminStoresXStoreIDCredentialsGet(xStoreID, options) {
|
|
10567
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDCredentialsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
10568
|
+
}
|
|
10501
10569
|
/**
|
|
10502
10570
|
* Get default configuration values computed from the store\'s index schema using x-store ID
|
|
10503
10571
|
* @summary Get Store Schema-Based Defaults
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|