@sp-api-sdk/data-kiosk-api-2023-11-15 1.1.0 → 1.1.1

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.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
14
15
  import { RequestArgs, BaseAPI } from '../base';
15
16
  import { CreateQueryResponse } from '../models';
16
17
  import { CreateQuerySpecification } from '../models';
@@ -251,7 +252,7 @@ export declare class QueriesApi extends BaseAPI {
251
252
  * @throws {RequiredError}
252
253
  * @memberof QueriesApi
253
254
  */
254
- cancelQuery(requestParameters: QueriesApiCancelQueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
255
+ cancelQuery(requestParameters: QueriesApiCancelQueryRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
255
256
  /**
256
257
  * Creates a Data Kiosk query request. **Note:** The retention of a query varies based on the fields requested. Each field within a schema is annotated with a `@resultRetention` directive that defines how long a query containing that field will be retained. When a query contains multiple fields with different retentions, the shortest (minimum) retention is applied. The retention of a query\'s resulting documents always matches the retention of the query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
257
258
  * @param {QueriesApiCreateQueryRequest} requestParameters Request parameters.
@@ -259,7 +260,7 @@ export declare class QueriesApi extends BaseAPI {
259
260
  * @throws {RequiredError}
260
261
  * @memberof QueriesApi
261
262
  */
262
- createQuery(requestParameters: QueriesApiCreateQueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQueryResponse, any>>;
263
+ createQuery(requestParameters: QueriesApiCreateQueryRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateQueryResponse, any>>;
263
264
  /**
264
265
  * Returns the information required for retrieving a Data Kiosk document\'s contents. See the `createQuery` operation for details about document retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
265
266
  * @param {QueriesApiGetDocumentRequest} requestParameters Request parameters.
@@ -267,7 +268,7 @@ export declare class QueriesApi extends BaseAPI {
267
268
  * @throws {RequiredError}
268
269
  * @memberof QueriesApi
269
270
  */
270
- getDocument(requestParameters: QueriesApiGetDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDocumentResponse, any>>;
271
+ getDocument(requestParameters: QueriesApiGetDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDocumentResponse, any>>;
271
272
  /**
272
273
  * Returns details for the Data Kiosk queries that match the specified filters. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
273
274
  * @param {QueriesApiGetQueriesRequest} requestParameters Request parameters.
@@ -275,7 +276,7 @@ export declare class QueriesApi extends BaseAPI {
275
276
  * @throws {RequiredError}
276
277
  * @memberof QueriesApi
277
278
  */
278
- getQueries(requestParameters?: QueriesApiGetQueriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetQueriesResponse, any>>;
279
+ getQueries(requestParameters?: QueriesApiGetQueriesRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetQueriesResponse, any>>;
279
280
  /**
280
281
  * Returns query details for the query specified by the `queryId` parameter. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
281
282
  * @param {QueriesApiGetQueryRequest} requestParameters Request parameters.
@@ -283,5 +284,5 @@ export declare class QueriesApi extends BaseAPI {
283
284
  * @throws {RequiredError}
284
285
  * @memberof QueriesApi
285
286
  */
286
- getQuery(requestParameters: QueriesApiGetQueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Query, any>>;
287
+ getQuery(requestParameters: QueriesApiGetQueryRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Query, any>>;
287
288
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/data-kiosk-api-2023-11-15",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.",
5
- "version": "1.1.0",
5
+ "version": "1.1.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.3",
21
+ "@sp-api-sdk/common": "2.0.4",
22
22
  "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "data kiosk api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }