@sp-api-sdk/orders-api-v0 1.13.1 → 1.15.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.
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Selling Partner API for Orders
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface OrderItemsInner
16
+ */
17
+ export interface OrderItemsInner {
18
+ /**
19
+ * The unique identifier of the order item.
20
+ * @type {string}
21
+ * @memberof OrderItemsInner
22
+ */
23
+ 'orderItemId'?: string;
24
+ /**
25
+ * The quantity for which to update the shipment status.
26
+ * @type {number}
27
+ * @memberof OrderItemsInner
28
+ */
29
+ 'quantity'?: number;
30
+ }
@@ -30,7 +30,7 @@ export interface OrderRegulatedInfo {
30
30
  */
31
31
  'RegulatedInformation': RegulatedInformation;
32
32
  /**
33
- * Whether the order requires attaching a dosage information label when shipped.
33
+ * When true, the order requires attaching a dosage information label when shipped.
34
34
  * @type {boolean}
35
35
  * @memberof OrderRegulatedInfo
36
36
  */
@@ -42,7 +42,7 @@ export interface Order {
42
42
  */
43
43
  'PurchaseDate': string;
44
44
  /**
45
- * The date when the order was last updated. Note: LastUpdateDate is returned with an incorrect date for orders that were last updated before 2009-04-01.
45
+ * The date when the order was last updated. __Note__: LastUpdateDate is returned with an incorrect date for orders that were last updated before 2009-04-01.
46
46
  * @type {string}
47
47
  * @memberof Order
48
48
  */
@@ -144,13 +144,13 @@ export interface Order {
144
144
  */
145
145
  'OrderType'?: OrderOrderTypeEnum;
146
146
  /**
147
- * The start of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. Note: EarliestShipDate might not be returned for orders placed before February 1, 2013.
147
+ * The start of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. __Note__: EarliestShipDate might not be returned for orders placed before February 1, 2013.
148
148
  * @type {string}
149
149
  * @memberof Order
150
150
  */
151
151
  'EarliestShipDate'?: string;
152
152
  /**
153
- * The end of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. Note: LatestShipDate might not be returned for orders placed before February 1, 2013.
153
+ * The end of the time period within which you have committed to ship the order. In ISO 8601 date time format. Returned only for seller-fulfilled orders. __Note__: LatestShipDate might not be returned for orders placed before February 1, 2013.
154
154
  * @type {string}
155
155
  * @memberof Order
156
156
  */
@@ -22,19 +22,19 @@ export interface RegulatedInformationField {
22
22
  */
23
23
  'FieldId': string;
24
24
  /**
25
- * The human-readable name for the field.
25
+ * The name for the field.
26
26
  * @type {string}
27
27
  * @memberof RegulatedInformationField
28
28
  */
29
29
  'FieldLabel': string;
30
30
  /**
31
- * The type of field the field.
31
+ * The type of field.
32
32
  * @type {string}
33
33
  * @memberof RegulatedInformationField
34
34
  */
35
35
  'FieldType': RegulatedInformationFieldFieldTypeEnum;
36
36
  /**
37
- * The content of the field as collected in regulatory form. Note that FileAttachment type fields will contain an URL to download the attachment here.
37
+ * The content of the field as collected in regulatory form. Note that FileAttachment type fields will contain a URL to download the attachment here.
38
38
  * @type {string}
39
39
  * @memberof RegulatedInformationField
40
40
  */
@@ -24,7 +24,7 @@ export interface RegulatedOrderVerificationStatus {
24
24
  */
25
25
  'Status': VerificationStatus;
26
26
  /**
27
- * Whether the regulated information provided in the order requires a review by the merchant.
27
+ * When true, the regulated information provided in the order requires a review by the merchant.
28
28
  * @type {boolean}
29
29
  * @memberof RegulatedOrderVerificationStatus
30
30
  */
@@ -22,7 +22,7 @@ export interface RejectionReason {
22
22
  */
23
23
  'RejectionReasonId': string;
24
24
  /**
25
- * The human-readable description of this rejection reason.
25
+ * The description of this rejection reason.
26
26
  * @type {string}
27
27
  * @memberof RejectionReason
28
28
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * the status of the shipment of the order to be updated
13
+ * The shipment status to apply.
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
@@ -9,15 +9,16 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { OrderItemsInner } from './order-items-inner';
12
13
  import { ShipmentStatus } from './shipment-status';
13
14
  /**
14
- * Request to update the status of shipment of an order.
15
+ * The request body for the updateShipmentStatus operation.
15
16
  * @export
16
17
  * @interface UpdateShipmentStatusRequest
17
18
  */
18
19
  export interface UpdateShipmentStatusRequest {
19
20
  /**
20
- * the unobfuscated marketplace ID
21
+ * The unobfuscated marketplace identifier.
21
22
  * @type {string}
22
23
  * @memberof UpdateShipmentStatusRequest
23
24
  */
@@ -29,9 +30,9 @@ export interface UpdateShipmentStatusRequest {
29
30
  */
30
31
  'shipmentStatus': ShipmentStatus;
31
32
  /**
32
- * the list of order items and quantities when the seller wants to partially update the shipment status of the order
33
- * @type {Array<object>}
33
+ * For partial shipment status updates, the list of order items and quantities to be updated.
34
+ * @type {Array<OrderItemsInner>}
34
35
  * @memberof UpdateShipmentStatusRequest
35
36
  */
36
- 'orderItems'?: Array<object>;
37
+ 'orderItems'?: Array<OrderItemsInner>;
37
38
  }
package/package.json CHANGED
@@ -2,11 +2,10 @@
2
2
  "name": "@sp-api-sdk/orders-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.",
5
- "version": "1.13.1",
5
+ "version": "1.15.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
9
- "typedocMain": "./index.ts",
10
9
  "license": "MIT",
11
10
  "publishConfig": {
12
11
  "access": "public"
@@ -27,8 +26,8 @@
27
26
  "test": "jest"
28
27
  },
29
28
  "dependencies": {
30
- "@sp-api-sdk/auth": "^1.9.17",
31
- "@sp-api-sdk/common": "^1.9.3",
29
+ "@sp-api-sdk/auth": "^1.9.20",
30
+ "@sp-api-sdk/common": "^1.9.6",
32
31
  "axios": "^0.27.2"
33
32
  },
34
33
  "repository": {
@@ -50,5 +49,8 @@
50
49
  "sp sdk",
51
50
  "orders api"
52
51
  ],
53
- "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
52
+ "typedoc": {
53
+ "entryPoint": "./index.ts"
54
+ },
55
+ "gitHead": "c28c9ce8bfa10271bba79c0067c5c9f63a5f6dc0"
54
56
  }