@sp-api-sdk/orders-api-v0 4.1.2 → 5.1.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/dist/cjs/api-model/api/{orders-v0-api.js → orders-api.js} +114 -114
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/api-model/models/index.js +0 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{orders-v0-api.js → orders-api.js} +109 -109
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/api-model/models/index.js +0 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{orders-v0-api.d.ts → orders-api.d.ts} +177 -177
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/api-model/models/amazon-programs.d.ts +2 -2
- package/dist/types/api-model/models/index.d.ts +0 -1
- package/dist/types/api-model/models/order-item.d.ts +0 -7
- package/dist/types/api-model/models/orders-list.d.ts +1 -1
- package/dist/types/api-model/models/package-detail.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cjs/api-model/models/export-info.js +0 -15
- package/dist/es/api-model/models/export-info.js +0 -14
- package/dist/types/api-model/models/export-info.d.ts +0 -31
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Contains the list of programs that
|
|
13
|
+
* Contains the list of programs that Amazon associates with an item. Possible programs are: - **Subscribe and Save**: Offers recurring, scheduled deliveries to Amazon customers and Amazon Business customers for their frequently ordered products. - **FBM Ship+**: Unlocks expedited shipping without the extra cost. Helps you to provide accurate and fast delivery dates to Amazon customers. You also receive protection from late deliveries, a discount on expedited shipping rates, and cash back when you ship.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AmazonPrograms
|
|
16
16
|
*/
|
|
17
17
|
export interface AmazonPrograms {
|
|
18
18
|
/**
|
|
19
|
-
* A list of the programs that
|
|
19
|
+
* A list of the programs that Amazon associates with the order item. **Possible values**: `SUBSCRIBE_AND_SAVE`, `FBM_SHIP_PLUS`
|
|
20
20
|
* @type {Array<string>}
|
|
21
21
|
* @memberof AmazonPrograms
|
|
22
22
|
*/
|
|
@@ -18,7 +18,6 @@ export * from './delivery-preferences';
|
|
|
18
18
|
export * from './easy-ship-shipment-status';
|
|
19
19
|
export * from './electronic-invoice-status';
|
|
20
20
|
export * from './exception-dates';
|
|
21
|
-
export * from './export-info';
|
|
22
21
|
export * from './fulfillment-instruction';
|
|
23
22
|
export * from './get-order-address-response';
|
|
24
23
|
export * from './get-order-buyer-info-response';
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import type { AmazonPrograms } from './amazon-programs';
|
|
13
13
|
import type { AssociatedItem } from './associated-item';
|
|
14
14
|
import type { BuyerRequestedCancel } from './buyer-requested-cancel';
|
|
15
|
-
import type { ExportInfo } from './export-info';
|
|
16
15
|
import type { ItemBuyerInfo } from './item-buyer-info';
|
|
17
16
|
import type { Measurement } from './measurement';
|
|
18
17
|
import type { Money } from './money';
|
|
@@ -267,12 +266,6 @@ export interface OrderItem {
|
|
|
267
266
|
* @memberof OrderItem
|
|
268
267
|
*/
|
|
269
268
|
'AmazonPrograms'?: AmazonPrograms;
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @type {ExportInfo}
|
|
273
|
-
* @memberof OrderItem
|
|
274
|
-
*/
|
|
275
|
-
'ExportInfo'?: ExportInfo;
|
|
276
269
|
}
|
|
277
270
|
export declare const OrderItemDeemedResellerCategoryEnum: {
|
|
278
271
|
readonly Ioss: "IOSS";
|
|
@@ -29,7 +29,7 @@ export interface OrdersList {
|
|
|
29
29
|
*/
|
|
30
30
|
'NextToken'?: string;
|
|
31
31
|
/**
|
|
32
|
-
* Use this date to select orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller.
|
|
32
|
+
* Use this date to select orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. Use [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format for all dates.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof OrdersList
|
|
35
35
|
*/
|
|
@@ -29,7 +29,7 @@ export interface PackageDetail {
|
|
|
29
29
|
*/
|
|
30
30
|
'carrierCode': string;
|
|
31
31
|
/**
|
|
32
|
-
* Carrier
|
|
32
|
+
* Carrier name that will deliver the package. Required when `carrierCode` is \"Other\"
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof PackageDetail
|
|
35
35
|
*/
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import {
|
|
2
|
+
import { OrdersApi } from './api-model';
|
|
3
3
|
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class OrdersApiClient extends
|
|
4
|
+
export declare class OrdersApiClient extends OrdersApi {
|
|
5
5
|
constructor(configuration: ClientConfiguration);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/orders-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. Note: For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "5.1.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.15",
|
|
22
|
+
"axios": "^1.10.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"orders api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b36600f33d62a2b6c3a9035968a93bc83e9838a9"
|
|
44
44
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Orders
|
|
6
|
-
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Orders
|
|
5
|
-
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v0
|
|
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,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Orders
|
|
3
|
-
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
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 { Money } from './money';
|
|
13
|
-
/**
|
|
14
|
-
* Contains information that is related to the export of an order item.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ExportInfo
|
|
17
|
-
*/
|
|
18
|
-
export interface ExportInfo {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Money}
|
|
22
|
-
* @memberof ExportInfo
|
|
23
|
-
*/
|
|
24
|
-
'ExportCharge'?: Money;
|
|
25
|
-
/**
|
|
26
|
-
* Holds the `ExportCharge` collection model that is associated with the specified order item.\\n\\n**Possible values**: `AMAZON_FACILITATED`: Import/export charge is withheld by Amazon and remitted to the customs authority by the carrier on behalf of the buyer/seller.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ExportInfo
|
|
29
|
-
*/
|
|
30
|
-
'ExportChargeModel'?: string;
|
|
31
|
-
}
|