@sp-api-sdk/data-kiosk-api-2023-11-15 3.0.17 → 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.
- package/README.md +4 -4
- package/dist/index.cjs +611 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/data-kiosk-api.d.ts → index.d.cts} +382 -25
- package/dist/index.d.ts +614 -0
- package/dist/index.js +567 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/data-kiosk-api.js +0 -384
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/create-query-response.js +0 -15
- package/dist/cjs/api-model/models/create-query-specification.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/get-document-response.js +0 -15
- package/dist/cjs/api-model/models/get-queries-response-pagination.js +0 -15
- package/dist/cjs/api-model/models/get-queries-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -25
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/query-pagination.js +0 -15
- package/dist/cjs/api-model/models/query.js +0 -23
- package/dist/cjs/client.js +0 -49
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/data-kiosk-api.js +0 -374
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/create-query-response.js +0 -14
- package/dist/es/api-model/models/create-query-specification.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/get-document-response.js +0 -14
- package/dist/es/api-model/models/get-queries-response-pagination.js +0 -14
- package/dist/es/api-model/models/get-queries-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -9
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/query-pagination.js +0 -14
- package/dist/es/api-model/models/query.js +0 -20
- package/dist/es/client.js +0 -45
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/create-query-response.d.ts +0 -20
- package/dist/types/api-model/models/create-query-specification.d.ts +0 -24
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/get-document-response.d.ts +0 -24
- package/dist/types/api-model/models/get-queries-response-pagination.d.ts +0 -20
- package/dist/types/api-model/models/get-queries-response.d.ts +0 -23
- package/dist/types/api-model/models/index.d.ts +0 -9
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/query-pagination.d.ts +0 -20
- package/dist/types/api-model/models/query.d.ts +0 -58
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/**
|
|
3
|
-
* Selling Partner API for Data Kiosk
|
|
4
|
-
* 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
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
export class Configuration {
|
|
14
|
-
/**
|
|
15
|
-
* parameter for apiKey security
|
|
16
|
-
* @param name security name
|
|
17
|
-
*/
|
|
18
|
-
apiKey;
|
|
19
|
-
/**
|
|
20
|
-
* parameter for basic security
|
|
21
|
-
*/
|
|
22
|
-
username;
|
|
23
|
-
/**
|
|
24
|
-
* parameter for basic security
|
|
25
|
-
*/
|
|
26
|
-
password;
|
|
27
|
-
/**
|
|
28
|
-
* parameter for oauth2 security
|
|
29
|
-
* @param name security name
|
|
30
|
-
* @param scopes oauth2 scope
|
|
31
|
-
*/
|
|
32
|
-
accessToken;
|
|
33
|
-
/**
|
|
34
|
-
* parameter for aws4 signature security
|
|
35
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
-
* @param {string} options.region - aws region
|
|
37
|
-
* @param {string} options.service - name of the service.
|
|
38
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
-
* @memberof Configuration
|
|
42
|
-
*/
|
|
43
|
-
awsv4;
|
|
44
|
-
/**
|
|
45
|
-
* override base path
|
|
46
|
-
*/
|
|
47
|
-
basePath;
|
|
48
|
-
/**
|
|
49
|
-
* override server index
|
|
50
|
-
*/
|
|
51
|
-
serverIndex;
|
|
52
|
-
/**
|
|
53
|
-
* base options for axios calls
|
|
54
|
-
*/
|
|
55
|
-
baseOptions;
|
|
56
|
-
/**
|
|
57
|
-
* The FormData constructor that will be used to create multipart form data
|
|
58
|
-
* requests. You can inject this here so that execution environments that
|
|
59
|
-
* do not support the FormData class can still run the generated client.
|
|
60
|
-
*
|
|
61
|
-
* @type {new () => FormData}
|
|
62
|
-
*/
|
|
63
|
-
formDataCtor;
|
|
64
|
-
constructor(param = {}) {
|
|
65
|
-
this.apiKey = param.apiKey;
|
|
66
|
-
this.username = param.username;
|
|
67
|
-
this.password = param.password;
|
|
68
|
-
this.accessToken = param.accessToken;
|
|
69
|
-
this.awsv4 = param.awsv4;
|
|
70
|
-
this.basePath = param.basePath;
|
|
71
|
-
this.serverIndex = param.serverIndex;
|
|
72
|
-
this.baseOptions = {
|
|
73
|
-
...param.baseOptions,
|
|
74
|
-
headers: {
|
|
75
|
-
...param.baseOptions?.headers,
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
this.formDataCtor = param.formDataCtor;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Check if the given MIME is a JSON MIME.
|
|
82
|
-
* JSON MIME examples:
|
|
83
|
-
* application/json
|
|
84
|
-
* application/json; charset=UTF8
|
|
85
|
-
* APPLICATION/JSON
|
|
86
|
-
* application/vnd.company+json
|
|
87
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
88
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
89
|
-
*/
|
|
90
|
-
isJsonMime(mime) {
|
|
91
|
-
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
-
return mime !== null && jsonMime.test(mime);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from "./api";
|
|
15
|
-
export * from "./configuration";
|
|
16
|
-
export * from "./models";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -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,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export const QueryProcessingStatusEnum = {
|
|
15
|
-
Cancelled: 'CANCELLED',
|
|
16
|
-
Done: 'DONE',
|
|
17
|
-
Fatal: 'FATAL',
|
|
18
|
-
InProgress: 'IN_PROGRESS',
|
|
19
|
-
InQueue: 'IN_QUEUE',
|
|
20
|
-
};
|
package/dist/es/client.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration, DataKioskApi } from './api-model';
|
|
3
|
-
export const clientRateLimits = [
|
|
4
|
-
{
|
|
5
|
-
method: 'get',
|
|
6
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
7
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries$'),
|
|
8
|
-
rate: 0.0222,
|
|
9
|
-
burst: 10,
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
method: 'post',
|
|
13
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
14
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries$'),
|
|
15
|
-
rate: 0.0167,
|
|
16
|
-
burst: 15,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
method: 'delete',
|
|
20
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
21
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries/[^/]*$'),
|
|
22
|
-
rate: 0.0222,
|
|
23
|
-
burst: 10,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
method: 'get',
|
|
27
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
28
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries/[^/]*$'),
|
|
29
|
-
rate: 2,
|
|
30
|
-
burst: 15,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
method: 'get',
|
|
34
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
35
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/documents/[^/]*$'),
|
|
36
|
-
rate: 0.0167,
|
|
37
|
-
burst: 15,
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
export class DataKioskApiClient extends DataKioskApi {
|
|
41
|
-
constructor(configuration) {
|
|
42
|
-
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
43
|
-
super(new Configuration(), endpoint, axios);
|
|
44
|
-
}
|
|
45
|
-
}
|
package/dist/es/index.js
DELETED
|
@@ -1,12 +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
|
-
export * from './api/data-kiosk-api';
|
|
@@ -1,42 +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 { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
export declare const COLLECTION_FORMATS: {
|
|
16
|
-
csv: string;
|
|
17
|
-
ssv: string;
|
|
18
|
-
tsv: string;
|
|
19
|
-
pipes: string;
|
|
20
|
-
};
|
|
21
|
-
export interface RequestArgs {
|
|
22
|
-
url: string;
|
|
23
|
-
options: RawAxiosRequestConfig;
|
|
24
|
-
}
|
|
25
|
-
export declare class BaseAPI {
|
|
26
|
-
protected basePath: string;
|
|
27
|
-
protected axios: AxiosInstance;
|
|
28
|
-
protected configuration: Configuration | undefined;
|
|
29
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
|
-
}
|
|
31
|
-
export declare class RequiredError extends Error {
|
|
32
|
-
field: string;
|
|
33
|
-
constructor(field: string, msg?: string);
|
|
34
|
-
}
|
|
35
|
-
interface ServerMap {
|
|
36
|
-
[key: string]: {
|
|
37
|
-
url: string;
|
|
38
|
-
description: string;
|
|
39
|
-
}[];
|
|
40
|
-
}
|
|
41
|
-
export declare const operationServerMap: ServerMap;
|
|
42
|
-
export {};
|
|
@@ -1,34 +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 { Configuration } from "./configuration";
|
|
13
|
-
import type { RequestArgs } from "./base";
|
|
14
|
-
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @throws {RequiredError}
|
|
19
|
-
*/
|
|
20
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
21
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
22
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
23
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
24
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
25
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
26
|
-
/**
|
|
27
|
-
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
-
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
30
|
-
*/
|
|
31
|
-
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
32
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
33
|
-
export declare const toPathString: (url: URL) => string;
|
|
34
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -1,98 +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
|
-
interface AWSv4Configuration {
|
|
13
|
-
options?: {
|
|
14
|
-
region?: string;
|
|
15
|
-
service?: string;
|
|
16
|
-
};
|
|
17
|
-
credentials?: {
|
|
18
|
-
accessKeyId?: string;
|
|
19
|
-
secretAccessKey?: string;
|
|
20
|
-
sessionToken?: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface ConfigurationParameters {
|
|
24
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
25
|
-
username?: string;
|
|
26
|
-
password?: string;
|
|
27
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
-
awsv4?: AWSv4Configuration;
|
|
29
|
-
basePath?: string;
|
|
30
|
-
serverIndex?: number;
|
|
31
|
-
baseOptions?: any;
|
|
32
|
-
formDataCtor?: new () => any;
|
|
33
|
-
}
|
|
34
|
-
export declare class Configuration {
|
|
35
|
-
/**
|
|
36
|
-
* parameter for apiKey security
|
|
37
|
-
* @param name security name
|
|
38
|
-
*/
|
|
39
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
40
|
-
/**
|
|
41
|
-
* parameter for basic security
|
|
42
|
-
*/
|
|
43
|
-
username?: string;
|
|
44
|
-
/**
|
|
45
|
-
* parameter for basic security
|
|
46
|
-
*/
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
* parameter for oauth2 security
|
|
50
|
-
* @param name security name
|
|
51
|
-
* @param scopes oauth2 scope
|
|
52
|
-
*/
|
|
53
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
-
/**
|
|
55
|
-
* parameter for aws4 signature security
|
|
56
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
-
* @param {string} options.region - aws region
|
|
58
|
-
* @param {string} options.service - name of the service.
|
|
59
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
-
* @memberof Configuration
|
|
63
|
-
*/
|
|
64
|
-
awsv4?: AWSv4Configuration;
|
|
65
|
-
/**
|
|
66
|
-
* override base path
|
|
67
|
-
*/
|
|
68
|
-
basePath?: string;
|
|
69
|
-
/**
|
|
70
|
-
* override server index
|
|
71
|
-
*/
|
|
72
|
-
serverIndex?: number;
|
|
73
|
-
/**
|
|
74
|
-
* base options for axios calls
|
|
75
|
-
*/
|
|
76
|
-
baseOptions?: any;
|
|
77
|
-
/**
|
|
78
|
-
* The FormData constructor that will be used to create multipart form data
|
|
79
|
-
* requests. You can inject this here so that execution environments that
|
|
80
|
-
* do not support the FormData class can still run the generated client.
|
|
81
|
-
*
|
|
82
|
-
* @type {new () => FormData}
|
|
83
|
-
*/
|
|
84
|
-
formDataCtor?: new () => any;
|
|
85
|
-
constructor(param?: ConfigurationParameters);
|
|
86
|
-
/**
|
|
87
|
-
* Check if the given MIME is a JSON MIME.
|
|
88
|
-
* JSON MIME examples:
|
|
89
|
-
* application/json
|
|
90
|
-
* application/json; charset=UTF8
|
|
91
|
-
* APPLICATION/JSON
|
|
92
|
-
* application/vnd.company+json
|
|
93
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
94
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
95
|
-
*/
|
|
96
|
-
isJsonMime(mime: string): boolean;
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,14 +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
|
-
export * from "./api";
|
|
13
|
-
export * from "./configuration";
|
|
14
|
-
export * from "./models";
|
|
@@ -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
|
-
* The response for the `createQuery` operation.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateQueryResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
|
|
18
|
-
*/
|
|
19
|
-
'queryId': string;
|
|
20
|
-
}
|
|
@@ -1,24 +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
|
-
* Information required to create the query.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateQuerySpecification {
|
|
16
|
-
/**
|
|
17
|
-
* The GraphQL query to submit. A query must be at most 8000 characters after unnecessary whitespace is removed.
|
|
18
|
-
*/
|
|
19
|
-
'query': string;
|
|
20
|
-
/**
|
|
21
|
-
* A token to fetch a certain page of query results when there are multiple pages of query results available. The value of this token must be fetched from the `pagination.nextToken` field of the `Query` object, and the `query` field for this object must also be set to the `query` field of the same `Query` object. A `Query` object can be retrieved from either the `getQueries` or `getQuery` operation. In the absence of this token value, the first page of query results will be requested.
|
|
22
|
-
*/
|
|
23
|
-
'paginationToken'?: string;
|
|
24
|
-
}
|
|
@@ -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
|
-
* A list of error responses returned when a request is unsuccessful.
|
|
14
|
-
*/
|
|
15
|
-
export interface ErrorList {
|
|
16
|
-
/**
|
|
17
|
-
* Error response returned when the request is unsuccessful.
|
|
18
|
-
*/
|
|
19
|
-
'errors': Array<Error>;
|
|
20
|
-
}
|
|
@@ -1,24 +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
|
-
* The response for the `getDocument` operation.
|
|
14
|
-
*/
|
|
15
|
-
export interface GetDocumentResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier for the Data Kiosk document. This identifier is unique only in combination with a selling partner account ID.
|
|
18
|
-
*/
|
|
19
|
-
'documentId': string;
|
|
20
|
-
/**
|
|
21
|
-
* A presigned URL that can be used to retrieve the Data Kiosk document. This URL expires after 5 minutes. If the Data Kiosk document is compressed, the `Content-Encoding` header will indicate the compression algorithm. **Note:** Most HTTP clients are capable of automatically decompressing downloaded files based on the `Content-Encoding` header.
|
|
22
|
-
*/
|
|
23
|
-
'documentUrl': string;
|
|
24
|
-
}
|
|
@@ -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 request has results that are not included in this response, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass the `nextToken` as the `paginationToken` query parameter in the subsequent `getQueries` request. All other parameters must be provided with the same values that were provided with the request that generated this token, with the exception of `pageSize` which can be modified between calls to `getQueries`. When there are no more pages to fetch, the `nextToken` field will be absent.
|
|
14
|
-
*/
|
|
15
|
-
export interface GetQueriesResponsePagination {
|
|
16
|
-
/**
|
|
17
|
-
* A token that can be used to fetch the next page of results.
|
|
18
|
-
*/
|
|
19
|
-
'nextToken'?: string;
|
|
20
|
-
}
|
|
@@ -1,23 +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 { GetQueriesResponsePagination } from './get-queries-response-pagination';
|
|
13
|
-
import type { Query } from './query';
|
|
14
|
-
/**
|
|
15
|
-
* The response for the `getQueries` operation.
|
|
16
|
-
*/
|
|
17
|
-
export interface GetQueriesResponse {
|
|
18
|
-
/**
|
|
19
|
-
* A list of queries.
|
|
20
|
-
*/
|
|
21
|
-
'queries': Array<Query>;
|
|
22
|
-
'pagination'?: GetQueriesResponsePagination;
|
|
23
|
-
}
|