@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 2.2.1 → 2.3.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.
Files changed (34) hide show
  1. package/dist/cjs/src/api-model/api/vendor-shipping-api.js +64 -64
  2. package/dist/es/src/api-model/api/vendor-shipping-api.js +64 -64
  3. package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +78 -78
  4. package/dist/types/src/api-model/common.d.ts +0 -1
  5. package/dist/types/src/api-model/models/container.d.ts +1 -1
  6. package/dist/types/src/api-model/models/customer-invoice-list.d.ts +2 -2
  7. package/dist/types/src/api-model/models/customer-invoice.d.ts +2 -2
  8. package/dist/types/src/api-model/models/get-customer-invoice-response.d.ts +1 -1
  9. package/dist/types/src/api-model/models/get-customer-invoices-response.d.ts +1 -1
  10. package/dist/types/src/api-model/models/get-packing-slip-list-response.d.ts +1 -1
  11. package/dist/types/src/api-model/models/get-packing-slip-response.d.ts +1 -1
  12. package/dist/types/src/api-model/models/get-shipping-label-list-response.d.ts +1 -1
  13. package/dist/types/src/api-model/models/get-shipping-label-response.d.ts +1 -1
  14. package/dist/types/src/api-model/models/item.d.ts +1 -1
  15. package/dist/types/src/api-model/models/label-data.d.ts +1 -1
  16. package/dist/types/src/api-model/models/packed-item.d.ts +2 -2
  17. package/dist/types/src/api-model/models/packing-slip-list.d.ts +1 -1
  18. package/dist/types/src/api-model/models/pagination.d.ts +2 -2
  19. package/dist/types/src/api-model/models/party-identification.d.ts +1 -1
  20. package/dist/types/src/api-model/models/shipment-confirmation.d.ts +1 -1
  21. package/dist/types/src/api-model/models/shipment-status-update.d.ts +1 -1
  22. package/dist/types/src/api-model/models/shipping-label-list.d.ts +2 -2
  23. package/dist/types/src/api-model/models/shipping-label-request.d.ts +1 -1
  24. package/dist/types/src/api-model/models/shipping-label.d.ts +1 -1
  25. package/dist/types/src/api-model/models/status-update-details-shipment-schedule.d.ts +4 -4
  26. package/dist/types/src/api-model/models/status-update-details.d.ts +4 -4
  27. package/dist/types/src/api-model/models/submit-shipment-confirmations-request.d.ts +2 -2
  28. package/dist/types/src/api-model/models/submit-shipment-confirmations-response.d.ts +1 -1
  29. package/dist/types/src/api-model/models/submit-shipment-status-updates-request.d.ts +2 -2
  30. package/dist/types/src/api-model/models/submit-shipment-status-updates-response.d.ts +1 -1
  31. package/dist/types/src/api-model/models/submit-shipping-labels-request.d.ts +2 -2
  32. package/dist/types/src/api-model/models/submit-shipping-labels-response.d.ts +1 -1
  33. package/dist/types/src/api-model/models/transaction-reference.d.ts +1 -1
  34. package/package.json +3 -3
@@ -12,7 +12,7 @@
12
12
  import type { CustomerInvoice } from './customer-invoice';
13
13
  import type { Pagination } from './pagination';
14
14
  /**
15
- *
15
+ * Represents a list of customer invoices, potentially paginated.
16
16
  * @export
17
17
  * @interface CustomerInvoiceList
18
18
  */
@@ -24,7 +24,7 @@ export interface CustomerInvoiceList {
24
24
  */
25
25
  'pagination'?: Pagination;
26
26
  /**
27
- *
27
+ * Represents a customer invoice within the `CustomerInvoiceList`.
28
28
  * @type {Array<CustomerInvoice>}
29
29
  * @memberof CustomerInvoiceList
30
30
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Represents a customer invoice associated with a purchase order.
14
14
  * @export
15
15
  * @interface CustomerInvoice
16
16
  */
@@ -22,7 +22,7 @@ export interface CustomerInvoice {
22
22
  */
23
23
  'purchaseOrderNumber': string;
24
24
  /**
25
- * The Base64encoded customer invoice.
25
+ * The `Base64encoded` customer invoice.
26
26
  * @type {string}
27
27
  * @memberof CustomerInvoice
28
28
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { CustomerInvoice } from './customer-invoice';
13
13
  /**
14
- * The response schema for the getCustomerInvoice operation.
14
+ * The response schema for the `getCustomerInvoice` operation.
15
15
  * @export
16
16
  * @interface GetCustomerInvoiceResponse
17
17
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { CustomerInvoiceList } from './customer-invoice-list';
13
13
  /**
14
- * The response schema for the getCustomerInvoices operation.
14
+ * The response schema for the `getCustomerInvoices` operation.
15
15
  * @export
16
16
  * @interface GetCustomerInvoicesResponse
17
17
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { PackingSlipList } from './packing-slip-list';
13
13
  /**
14
- *
14
+ * Response payload with the list of packing slips.
15
15
  * @export
16
16
  * @interface GetPackingSlipListResponse
17
17
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { PackingSlip } from './packing-slip';
13
13
  /**
14
- *
14
+ * Response payload with packing slip.
15
15
  * @export
16
16
  * @interface GetPackingSlipResponse
17
17
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ShippingLabelList } from './shipping-label-list';
13
13
  /**
14
- * The response schema for the getShippingLabels operation.
14
+ * The response schema for the `getShippingLabels` operation.
15
15
  * @export
16
16
  * @interface GetShippingLabelListResponse
17
17
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ShippingLabel } from './shipping-label';
13
13
  /**
14
- * The response schema for the getShippingLabel operation.
14
+ * The response schema for the `getShippingLabel` operation.
15
15
  * @export
16
16
  * @interface GetShippingLabelResponse
17
17
  */
@@ -23,7 +23,7 @@ export interface Item {
23
23
  */
24
24
  'itemSequenceNumber': number;
25
25
  /**
26
- * Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
26
+ * Buyer\'s Standard Identification Number (ASIN) of an item. Either `buyerProductIdentifier` or `vendorProductIdentifier` is required.
27
27
  * @type {string}
28
28
  * @memberof Item
29
29
  */
@@ -28,7 +28,7 @@ export interface LabelData {
28
28
  */
29
29
  'trackingNumber'?: string;
30
30
  /**
31
- * Ship method to be used for shipping the order. Amazon defines Ship Method Codes indicating shipping carrier and shipment service level. Ship Method Codes are case and format sensitive. The same ship method code should returned on the shipment confirmation. Note that the Ship Method Codes are vendor specific and will be provided to each vendor during the implementation.
31
+ * Ship method to be used for shipping the order. Amazon defines ship method codes indicating shipping carrier and shipment service level. Ship method codes are case and format sensitive. The same ship method code should returned on the shipment confirmation. Note that the ship method codes are vendor specific and will be provided to each vendor during the implementation.
32
32
  * @type {string}
33
33
  * @memberof LabelData
34
34
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ItemQuantity } from './item-quantity';
13
13
  /**
14
- *
14
+ * Represents an item that has been packed into a container for shipping.
15
15
  * @export
16
16
  * @interface PackedItem
17
17
  */
@@ -23,7 +23,7 @@ export interface PackedItem {
23
23
  */
24
24
  'itemSequenceNumber': number;
25
25
  /**
26
- * Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
26
+ * Buyer\'s Standard Identification Number (ASIN) of an item. Either `buyerProductIdentifier` or `vendorProductIdentifier` is required.
27
27
  * @type {string}
28
28
  * @memberof PackedItem
29
29
  */
@@ -24,7 +24,7 @@ export interface PackingSlipList {
24
24
  */
25
25
  'pagination'?: Pagination;
26
26
  /**
27
- *
27
+ * An array of packing slip objects.
28
28
  * @type {Array<PackingSlip>}
29
29
  * @memberof PackingSlipList
30
30
  */
@@ -10,13 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * The pagination elements required to retrieve the remaining data.
14
14
  * @export
15
15
  * @interface Pagination
16
16
  */
17
17
  export interface Pagination {
18
18
  /**
19
- * A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return.
19
+ * A generated string used to pass information to your next request. If `NextToken` is returned, pass the value of `NextToken` to the next request. If `NextToken` is not returned, there are no more order items to return.
20
20
  * @type {string}
21
21
  * @memberof Pagination
22
22
  */
@@ -12,7 +12,7 @@
12
12
  import type { Address } from './address';
13
13
  import type { TaxRegistrationDetails } from './tax-registration-details';
14
14
  /**
15
- *
15
+ * Name, address and tax details of a party.
16
16
  * @export
17
17
  * @interface PartyIdentification
18
18
  */
@@ -14,7 +14,7 @@ import type { Item } from './item';
14
14
  import type { PartyIdentification } from './party-identification';
15
15
  import type { ShipmentDetails } from './shipment-details';
16
16
  /**
17
- *
17
+ * Represents the confirmation details of a shipment, including the purchase order number and other shipment details.
18
18
  * @export
19
19
  * @interface ShipmentConfirmation
20
20
  */
@@ -12,7 +12,7 @@
12
12
  import type { PartyIdentification } from './party-identification';
13
13
  import type { StatusUpdateDetails } from './status-update-details';
14
14
  /**
15
- *
15
+ * Represents an update to the status of a shipment.
16
16
  * @export
17
17
  * @interface ShipmentStatusUpdate
18
18
  */
@@ -12,7 +12,7 @@
12
12
  import type { Pagination } from './pagination';
13
13
  import type { ShippingLabel } from './shipping-label';
14
14
  /**
15
- *
15
+ * Response payload with the list of shipping labels
16
16
  * @export
17
17
  * @interface ShippingLabelList
18
18
  */
@@ -24,7 +24,7 @@ export interface ShippingLabelList {
24
24
  */
25
25
  'pagination'?: Pagination;
26
26
  /**
27
- *
27
+ * An array containing the details of the generated shipping labels.
28
28
  * @type {Array<ShippingLabel>}
29
29
  * @memberof ShippingLabelList
30
30
  */
@@ -12,7 +12,7 @@
12
12
  import type { Container } from './container';
13
13
  import type { PartyIdentification } from './party-identification';
14
14
  /**
15
- *
15
+ * Represents the request payload for creating a shipping label, containing the purchase order number, selling party, ship from party, and a list of containers or packages in the shipment.
16
16
  * @export
17
17
  * @interface ShippingLabelRequest
18
18
  */
@@ -12,7 +12,7 @@
12
12
  import type { LabelData } from './label-data';
13
13
  import type { PartyIdentification } from './party-identification';
14
14
  /**
15
- *
15
+ * Shipping label information for an order, including the purchase order number, selling party, ship from party, label format, and package details.
16
16
  * @export
17
17
  * @interface ShippingLabel
18
18
  */
@@ -10,25 +10,25 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Details for the scheduled delivery timeline for a shipment, including the estimated delivery date and time, as well as the start and end times of the appointment window for delivery.
14
14
  * @export
15
15
  * @interface StatusUpdateDetailsShipmentSchedule
16
16
  */
17
17
  export interface StatusUpdateDetailsShipmentSchedule {
18
18
  /**
19
- * Date on which the shipment is expected to reach the customer delivery location. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
19
+ * Date on which the shipment is expected to reach the customer delivery location. This field is expected to be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format, with UTC time zone or UTC offset. For example, `2020-07-16T23:00:00Z` or `2020-07-16T23:00:00+01:00`.
20
20
  * @type {string}
21
21
  * @memberof StatusUpdateDetailsShipmentSchedule
22
22
  */
23
23
  'estimatedDeliveryDateTime'?: string;
24
24
  /**
25
- * This field indicates the date and time at the start of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
25
+ * This field indicates the date and time at the start of the appointment window scheduled to deliver the shipment. This field is expected to be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format, with UTC time zone or UTC offset. For example, `2020-07-16T23:00:00Z` or `2020-07-16T23:00:00+01:00`.
26
26
  * @type {string}
27
27
  * @memberof StatusUpdateDetailsShipmentSchedule
28
28
  */
29
29
  'apptWindowStartDateTime'?: string;
30
30
  /**
31
- * This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
31
+ * This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format, with UTC time zone or UTC offset. For example, `2020-07-16T23:00:00Z` or `2020-07-16T23:00:00+01:00`.
32
32
  * @type {string}
33
33
  * @memberof StatusUpdateDetailsShipmentSchedule
34
34
  */
@@ -18,25 +18,25 @@ import type { StatusUpdateDetailsShipmentSchedule } from './status-update-detail
18
18
  */
19
19
  export interface StatusUpdateDetails {
20
20
  /**
21
- * This is required to be provided for every package and should match with the trackingNumber sent for the shipment confirmation.
21
+ * This is required to be provided for every package and should match with the `trackingNumber` sent for the shipment confirmation.
22
22
  * @type {string}
23
23
  * @memberof StatusUpdateDetails
24
24
  */
25
25
  'trackingNumber': string;
26
26
  /**
27
- * Indicates the shipment status code of the package that provides transportation information for Amazon tracking systems and ultimately for the final customer. For more information, refer to the [Additional Fields Explanation](https://developer-docs.amazon.com/sp-api/docs/vendor-direct-fulfillment-shipping-api-use-case-guide#additional-fields-explanation).
27
+ * Indicates the shipment status code for the package that provides transportation information for Amazon tracking systems and ultimately for the final customer. For more information, refer to the [Additional Fields Explanation](https://developer-docs.amazon.com/sp-api/docs/vendor-direct-fulfillment-shipping-api-use-case-guide#additional-fields-explanation).
28
28
  * @type {string}
29
29
  * @memberof StatusUpdateDetails
30
30
  */
31
31
  'statusCode': string;
32
32
  /**
33
- * Provides a reason code for the status of the package that will provide additional information about the transportation status. For more information, refer to the [Additional Fields Explanation](https://developer-docs.amazon.com/sp-api/docs/vendor-direct-fulfillment-shipping-api-use-case-guide#additional-fields-explanation).
33
+ * Provides a reason code for the status for the package that will provide additional information about the transportation status. For more information, refer to the [Additional Fields Explanation](https://developer-docs.amazon.com/sp-api/docs/vendor-direct-fulfillment-shipping-api-use-case-guide#additional-fields-explanation).
34
34
  * @type {string}
35
35
  * @memberof StatusUpdateDetails
36
36
  */
37
37
  'reasonCode': string;
38
38
  /**
39
- * The date and time when the shipment status was updated. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
39
+ * The date and time when the shipment status was updated. This field is expected to be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format, with UTC time zone or UTC offset. For example, `2020-07-16T23:00:00Z` or `2020-07-16T23:00:00+01:00`.
40
40
  * @type {string}
41
41
  * @memberof StatusUpdateDetails
42
42
  */
@@ -11,13 +11,13 @@
11
11
  */
12
12
  import type { ShipmentConfirmation } from './shipment-confirmation';
13
13
  /**
14
- *
14
+ * The request schema for the `submitShipmentConfirmations` operation.
15
15
  * @export
16
16
  * @interface SubmitShipmentConfirmationsRequest
17
17
  */
18
18
  export interface SubmitShipmentConfirmationsRequest {
19
19
  /**
20
- *
20
+ * Array of `ShipmentConfirmation` objects, each representing confirmation details for a specific shipment.
21
21
  * @type {Array<ShipmentConfirmation>}
22
22
  * @memberof SubmitShipmentConfirmationsRequest
23
23
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { TransactionReference } from './transaction-reference';
13
13
  /**
14
- * The response schema for the submitShipmentConfirmations operation.
14
+ * The response schema for the `submitShipmentConfirmations` operation.
15
15
  * @export
16
16
  * @interface SubmitShipmentConfirmationsResponse
17
17
  */
@@ -11,13 +11,13 @@
11
11
  */
12
12
  import type { ShipmentStatusUpdate } from './shipment-status-update';
13
13
  /**
14
- *
14
+ * Represents the request payload for submitting updates to the status of shipments, containing an array of one or more `ShipmentStatusUpdate` objects.
15
15
  * @export
16
16
  * @interface SubmitShipmentStatusUpdatesRequest
17
17
  */
18
18
  export interface SubmitShipmentStatusUpdatesRequest {
19
19
  /**
20
- *
20
+ * Contains a list of one or more `ShipmentStatusUpdate` objects, each representing an update to the status of a specific shipment.
21
21
  * @type {Array<ShipmentStatusUpdate>}
22
22
  * @memberof SubmitShipmentStatusUpdatesRequest
23
23
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { TransactionReference } from './transaction-reference';
13
13
  /**
14
- * The response schema for the submitShipmentStatusUpdates operation.
14
+ * The response schema for the `submitShipmentStatusUpdates` operation.
15
15
  * @export
16
16
  * @interface SubmitShipmentStatusUpdatesResponse
17
17
  */
@@ -11,13 +11,13 @@
11
11
  */
12
12
  import type { ShippingLabelRequest } from './shipping-label-request';
13
13
  /**
14
- *
14
+ * The request schema for the `submitShippingLabelRequest` operation.
15
15
  * @export
16
16
  * @interface SubmitShippingLabelsRequest
17
17
  */
18
18
  export interface SubmitShippingLabelsRequest {
19
19
  /**
20
- *
20
+ * An array of shipping label requests to be processed.
21
21
  * @type {Array<ShippingLabelRequest>}
22
22
  * @memberof SubmitShippingLabelsRequest
23
23
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { TransactionReference } from './transaction-reference';
13
13
  /**
14
- * The response schema for the submitShippingLabelRequest operation.
14
+ * The response schema for the `submitShippingLabelRequest` operation.
15
15
  * @export
16
16
  * @interface SubmitShippingLabelsResponse
17
17
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Response containing the transaction ID.
14
14
  * @export
15
15
  * @interface TransactionReference
16
16
  */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor's shipping data.",
5
- "version": "2.2.1",
5
+ "version": "2.3.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.9",
21
+ "@sp-api-sdk/common": "2.0.11",
22
22
  "axios": "^1.7.2"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "vendor direct fulfillment shipping api"
42
42
  ],
43
- "gitHead": "cce8c720364baf071322463e8e3ed29c322cc93a"
43
+ "gitHead": "6f3dfd53cad528b970ec29dfd12b0105b351464b"
44
44
  }