@sp-api-sdk/feeds-api-2021-06-30 3.3.0 → 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 +698 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/feeds-api.d.ts → index.d.cts} +407 -29
- package/dist/index.d.ts +692 -0
- package/dist/index.js +653 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/feeds-api.js +0 -459
- 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-feed-document-response.js +0 -15
- package/dist/cjs/api-model/models/create-feed-document-specification.js +0 -15
- package/dist/cjs/api-model/models/create-feed-response.js +0 -15
- package/dist/cjs/api-model/models/create-feed-specification.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/feed-document.js +0 -19
- package/dist/cjs/api-model/models/feed.js +0 -23
- package/dist/cjs/api-model/models/get-feeds-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/client.js +0 -56
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/feeds-api.js +0 -449
- 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-feed-document-response.js +0 -14
- package/dist/es/api-model/models/create-feed-document-specification.js +0 -14
- package/dist/es/api-model/models/create-feed-response.js +0 -14
- package/dist/es/api-model/models/create-feed-specification.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/feed-document.js +0 -16
- package/dist/es/api-model/models/feed.js +0 -20
- package/dist/es/api-model/models/get-feeds-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/client.js +0 -52
- 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-feed-document-response.d.ts +0 -24
- package/dist/types/api-model/models/create-feed-document-specification.d.ts +0 -20
- package/dist/types/api-model/models/create-feed-response.d.ts +0 -20
- package/dist/types/api-model/models/create-feed-specification.d.ts +0 -34
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/feed-document.d.ts +0 -32
- package/dist/types/api-model/models/feed.d.ts +0 -56
- package/dist/types/api-model/models/get-feeds-response.d.ts +0 -25
- 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/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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
|
-
* Specifies the content type for the createFeedDocument operation.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateFeedDocumentSpecification {
|
|
16
|
-
/**
|
|
17
|
-
* The content type of the feed.
|
|
18
|
-
*/
|
|
19
|
-
'contentType': string;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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
|
-
* Response schema.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateFeedResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
18
|
-
*/
|
|
19
|
-
'feedId': string;
|
|
20
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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 feed.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateFeedSpecification {
|
|
16
|
-
/**
|
|
17
|
-
* The feed type.
|
|
18
|
-
*/
|
|
19
|
-
'feedType': string;
|
|
20
|
-
/**
|
|
21
|
-
* A list of identifiers for marketplaces that you want the feed to be applied to.
|
|
22
|
-
*/
|
|
23
|
-
'marketplaceIds': Array<string>;
|
|
24
|
-
/**
|
|
25
|
-
* The document identifier returned by the createFeedDocument operation. Upload the feed document contents before calling the createFeed operation.
|
|
26
|
-
*/
|
|
27
|
-
'inputFeedDocumentId': string;
|
|
28
|
-
/**
|
|
29
|
-
* Additional options to control the feed. These vary by feed type.
|
|
30
|
-
*/
|
|
31
|
-
'feedOptions'?: {
|
|
32
|
-
[key: string]: string;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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
|
-
* An error response returned when the request is unsuccessful.
|
|
18
|
-
*/
|
|
19
|
-
'errors': Array<Error>;
|
|
20
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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 for the feed document.
|
|
14
|
-
*/
|
|
15
|
-
export interface FeedDocument {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier for the feed document. This identifier is unique only in combination with a seller ID.
|
|
18
|
-
*/
|
|
19
|
-
'feedDocumentId': string;
|
|
20
|
-
/**
|
|
21
|
-
* A presigned URL for the feed document. If `compressionAlgorithm` is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes.
|
|
22
|
-
*/
|
|
23
|
-
'url': string;
|
|
24
|
-
/**
|
|
25
|
-
* If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 7. Download the feed processing report](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided.
|
|
26
|
-
*/
|
|
27
|
-
'compressionAlgorithm'?: FeedDocumentCompressionAlgorithmEnum;
|
|
28
|
-
}
|
|
29
|
-
export declare const FeedDocumentCompressionAlgorithmEnum: {
|
|
30
|
-
readonly Gzip: "GZIP";
|
|
31
|
-
};
|
|
32
|
-
export type FeedDocumentCompressionAlgorithmEnum = typeof FeedDocumentCompressionAlgorithmEnum[keyof typeof FeedDocumentCompressionAlgorithmEnum];
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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
|
-
* Detailed information about the feed.
|
|
14
|
-
*/
|
|
15
|
-
export interface Feed {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
18
|
-
*/
|
|
19
|
-
'feedId': string;
|
|
20
|
-
/**
|
|
21
|
-
* The feed type.
|
|
22
|
-
*/
|
|
23
|
-
'feedType': string;
|
|
24
|
-
/**
|
|
25
|
-
* A list of identifiers for the marketplaces that the feed is applied to.
|
|
26
|
-
*/
|
|
27
|
-
'marketplaceIds'?: Array<string>;
|
|
28
|
-
/**
|
|
29
|
-
* The date and time when the feed was created, in ISO 8601 date time format.
|
|
30
|
-
*/
|
|
31
|
-
'createdTime': string;
|
|
32
|
-
/**
|
|
33
|
-
* The processing status of the feed.
|
|
34
|
-
*/
|
|
35
|
-
'processingStatus': FeedProcessingStatusEnum;
|
|
36
|
-
/**
|
|
37
|
-
* The date and time when feed processing started, in ISO 8601 date time format.
|
|
38
|
-
*/
|
|
39
|
-
'processingStartTime'?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The date and time when feed processing completed, in ISO 8601 date time format.
|
|
42
|
-
*/
|
|
43
|
-
'processingEndTime'?: string;
|
|
44
|
-
/**
|
|
45
|
-
* The identifier for the feed document. This identifier is unique only in combination with a seller ID.
|
|
46
|
-
*/
|
|
47
|
-
'resultFeedDocumentId'?: string;
|
|
48
|
-
}
|
|
49
|
-
export declare const FeedProcessingStatusEnum: {
|
|
50
|
-
readonly Cancelled: "CANCELLED";
|
|
51
|
-
readonly Done: "DONE";
|
|
52
|
-
readonly Fatal: "FATAL";
|
|
53
|
-
readonly InProgress: "IN_PROGRESS";
|
|
54
|
-
readonly InQueue: "IN_QUEUE";
|
|
55
|
-
};
|
|
56
|
-
export type FeedProcessingStatusEnum = typeof FeedProcessingStatusEnum[keyof typeof FeedProcessingStatusEnum];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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 { Feed } from './feed';
|
|
13
|
-
/**
|
|
14
|
-
* Response schema.
|
|
15
|
-
*/
|
|
16
|
-
export interface GetFeedsResponse {
|
|
17
|
-
/**
|
|
18
|
-
* A list of feeds.
|
|
19
|
-
*/
|
|
20
|
-
'feeds': Array<Feed>;
|
|
21
|
-
/**
|
|
22
|
-
* Returned when the number of results exceeds pageSize. To get the next page of results, call the getFeeds operation with this token as the only parameter.
|
|
23
|
-
*/
|
|
24
|
-
'nextToken'?: string;
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './create-feed-document-response';
|
|
2
|
-
export * from './create-feed-document-specification';
|
|
3
|
-
export * from './create-feed-response';
|
|
4
|
-
export * from './create-feed-specification';
|
|
5
|
-
export * from './error-list';
|
|
6
|
-
export * from './feed';
|
|
7
|
-
export * from './feed-document';
|
|
8
|
-
export * from './get-feeds-response';
|
|
9
|
-
export * from './model-error';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Feeds
|
|
3
|
-
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2021-06-30
|
|
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
|
-
* An 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
|
-
}
|
package/dist/types/client.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import { FeedsApi } from './api-model';
|
|
3
|
-
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class FeedsApiClient extends FeedsApi {
|
|
5
|
-
constructor(configuration: ClientConfiguration);
|
|
6
|
-
}
|
package/dist/types/index.d.ts
DELETED