@sp-api-sdk/data-kiosk-api-2023-11-15 3.0.16 → 4.0.0

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.
Files changed (61) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +611 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/{types/api-model/api/data-kiosk-api.d.ts → index.d.cts} +382 -25
  5. package/dist/index.d.ts +614 -0
  6. package/dist/index.js +567 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/data-kiosk-api.js +0 -384
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/create-query-response.js +0 -15
  16. package/dist/cjs/api-model/models/create-query-specification.js +0 -15
  17. package/dist/cjs/api-model/models/error-list.js +0 -15
  18. package/dist/cjs/api-model/models/get-document-response.js +0 -15
  19. package/dist/cjs/api-model/models/get-queries-response-pagination.js +0 -15
  20. package/dist/cjs/api-model/models/get-queries-response.js +0 -15
  21. package/dist/cjs/api-model/models/index.js +0 -25
  22. package/dist/cjs/api-model/models/model-error.js +0 -15
  23. package/dist/cjs/api-model/models/query-pagination.js +0 -15
  24. package/dist/cjs/api-model/models/query.js +0 -23
  25. package/dist/cjs/client.js +0 -49
  26. package/dist/cjs/index.js +0 -19
  27. package/dist/es/api-model/api/data-kiosk-api.js +0 -374
  28. package/dist/es/api-model/api.js +0 -14
  29. package/dist/es/api-model/base.js +0 -44
  30. package/dist/es/api-model/common.js +0 -110
  31. package/dist/es/api-model/configuration.js +0 -94
  32. package/dist/es/api-model/index.js +0 -16
  33. package/dist/es/api-model/models/create-query-response.js +0 -14
  34. package/dist/es/api-model/models/create-query-specification.js +0 -14
  35. package/dist/es/api-model/models/error-list.js +0 -14
  36. package/dist/es/api-model/models/get-document-response.js +0 -14
  37. package/dist/es/api-model/models/get-queries-response-pagination.js +0 -14
  38. package/dist/es/api-model/models/get-queries-response.js +0 -14
  39. package/dist/es/api-model/models/index.js +0 -9
  40. package/dist/es/api-model/models/model-error.js +0 -14
  41. package/dist/es/api-model/models/query-pagination.js +0 -14
  42. package/dist/es/api-model/models/query.js +0 -20
  43. package/dist/es/client.js +0 -45
  44. package/dist/es/index.js +0 -3
  45. package/dist/types/api-model/api.d.ts +0 -12
  46. package/dist/types/api-model/base.d.ts +0 -42
  47. package/dist/types/api-model/common.d.ts +0 -34
  48. package/dist/types/api-model/configuration.d.ts +0 -98
  49. package/dist/types/api-model/index.d.ts +0 -14
  50. package/dist/types/api-model/models/create-query-response.d.ts +0 -20
  51. package/dist/types/api-model/models/create-query-specification.d.ts +0 -24
  52. package/dist/types/api-model/models/error-list.d.ts +0 -20
  53. package/dist/types/api-model/models/get-document-response.d.ts +0 -24
  54. package/dist/types/api-model/models/get-queries-response-pagination.d.ts +0 -20
  55. package/dist/types/api-model/models/get-queries-response.d.ts +0 -23
  56. package/dist/types/api-model/models/index.d.ts +0 -9
  57. package/dist/types/api-model/models/model-error.d.ts +0 -28
  58. package/dist/types/api-model/models/query-pagination.d.ts +0 -20
  59. package/dist/types/api-model/models/query.d.ts +0 -58
  60. package/dist/types/client.d.ts +0 -6
  61. package/dist/types/index.d.ts +0 -3
@@ -1,9 +0,0 @@
1
- export * from './create-query-response';
2
- export * from './create-query-specification';
3
- export * from './error-list';
4
- export * from './get-document-response';
5
- export * from './get-queries-response';
6
- export * from './get-queries-response-pagination';
7
- export * from './model-error';
8
- export * from './query';
9
- export * from './query-pagination';
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for Data Kiosk
3
- * The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
4
- *
5
- * The version of the OpenAPI document: 2023-11-15
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition.
22
- */
23
- 'message': string;
24
- /**
25
- * Additional details that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Data Kiosk
3
- * The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
4
- *
5
- * The version of the OpenAPI document: 2023-11-15
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * When a query produces results that are not included in the data document, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass a `CreateQuerySpecification` object with `paginationToken` set to this object\'s `nextToken` and with `query` set to this object\'s `query` in the subsequent `createQuery` request. When there are no more pages to fetch, the `nextToken` field will be absent.
14
- */
15
- export interface QueryPagination {
16
- /**
17
- * A token that can be used to fetch the next page of results.
18
- */
19
- 'nextToken'?: string;
20
- }
@@ -1,58 +0,0 @@
1
- /**
2
- * Selling Partner API for Data Kiosk
3
- * The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
4
- *
5
- * The version of the OpenAPI document: 2023-11-15
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { QueryPagination } from './query-pagination';
13
- /**
14
- * Detailed information about the query.
15
- */
16
- export interface Query {
17
- /**
18
- * The query identifier. This identifier is unique only in combination with a selling partner account ID.
19
- */
20
- 'queryId': string;
21
- /**
22
- * The submitted query.
23
- */
24
- 'query': string;
25
- /**
26
- * The date and time when the query was created, in ISO 8601 date time format.
27
- */
28
- 'createdTime': string;
29
- /**
30
- * The processing status of the query.
31
- */
32
- 'processingStatus': QueryProcessingStatusEnum;
33
- /**
34
- * The date and time when the query processing started, in ISO 8601 date time format.
35
- */
36
- 'processingStartTime'?: string;
37
- /**
38
- * The date and time when the query processing completed, in ISO 8601 date time format.
39
- */
40
- 'processingEndTime'?: string;
41
- /**
42
- * The data document identifier. This identifier is only present when there is data available as a result of the query. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the `getDocument` operation to get the information required to retrieve the data document\'s contents.
43
- */
44
- 'dataDocumentId'?: string;
45
- /**
46
- * The error document identifier. This identifier is only present when an error occurs during query processing. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the `getDocument` operation to get the information required to retrieve the error document\'s contents.
47
- */
48
- 'errorDocumentId'?: string;
49
- 'pagination'?: QueryPagination;
50
- }
51
- export declare const QueryProcessingStatusEnum: {
52
- readonly Cancelled: "CANCELLED";
53
- readonly Done: "DONE";
54
- readonly Fatal: "FATAL";
55
- readonly InProgress: "IN_PROGRESS";
56
- readonly InQueue: "IN_QUEUE";
57
- };
58
- export type QueryProcessingStatusEnum = typeof QueryProcessingStatusEnum[keyof typeof QueryProcessingStatusEnum];
@@ -1,6 +0,0 @@
1
- import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { DataKioskApi } from './api-model';
3
- export declare const clientRateLimits: RateLimit[];
4
- export declare class DataKioskApiClient extends DataKioskApi {
5
- constructor(configuration: ClientConfiguration);
6
- }
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export * from './api-model/models';