@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 1.7.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 (153) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -0
  3. package/dist/cjs/index.js +6 -0
  4. package/dist/cjs/src/api-model/api/customer-invoices-api.js +213 -0
  5. package/dist/cjs/src/api-model/api/vendor-shipping-api.js +329 -0
  6. package/dist/cjs/src/api-model/api/vendor-shipping-labels-api.js +271 -0
  7. package/dist/cjs/src/api-model/api.js +19 -0
  8. package/dist/cjs/src/api-model/base.js +62 -0
  9. package/dist/cjs/src/api-model/common.js +137 -0
  10. package/dist/cjs/src/api-model/configuration.js +42 -0
  11. package/dist/cjs/src/api-model/index.js +19 -0
  12. package/dist/cjs/src/api-model/models/address.js +15 -0
  13. package/dist/cjs/src/api-model/models/container.js +25 -0
  14. package/dist/cjs/src/api-model/models/customer-invoice-list.js +15 -0
  15. package/dist/cjs/src/api-model/models/customer-invoice.js +15 -0
  16. package/dist/cjs/src/api-model/models/dimensions.js +25 -0
  17. package/dist/cjs/src/api-model/models/get-customer-invoice-response.js +15 -0
  18. package/dist/cjs/src/api-model/models/get-customer-invoices-response.js +15 -0
  19. package/dist/cjs/src/api-model/models/get-packing-slip-list-response.js +15 -0
  20. package/dist/cjs/src/api-model/models/get-packing-slip-response.js +15 -0
  21. package/dist/cjs/src/api-model/models/get-shipping-label-list-response.js +15 -0
  22. package/dist/cjs/src/api-model/models/get-shipping-label-response.js +15 -0
  23. package/dist/cjs/src/api-model/models/index.js +40 -0
  24. package/dist/cjs/src/api-model/models/item-quantity.js +15 -0
  25. package/dist/cjs/src/api-model/models/item.js +15 -0
  26. package/dist/cjs/src/api-model/models/label-data.js +15 -0
  27. package/dist/cjs/src/api-model/models/model-error.js +15 -0
  28. package/dist/cjs/src/api-model/models/package.js +15 -0
  29. package/dist/cjs/src/api-model/models/packed-item.js +15 -0
  30. package/dist/cjs/src/api-model/models/packing-slip-list.js +15 -0
  31. package/dist/cjs/src/api-model/models/packing-slip.js +24 -0
  32. package/dist/cjs/src/api-model/models/pagination.js +15 -0
  33. package/dist/cjs/src/api-model/models/party-identification.js +15 -0
  34. package/dist/cjs/src/api-model/models/shipment-confirmation.js +15 -0
  35. package/dist/cjs/src/api-model/models/shipment-details.js +25 -0
  36. package/dist/cjs/src/api-model/models/shipment-status-update.js +15 -0
  37. package/dist/cjs/src/api-model/models/shipping-label-list.js +15 -0
  38. package/dist/cjs/src/api-model/models/shipping-label-request.js +15 -0
  39. package/dist/cjs/src/api-model/models/shipping-label.js +25 -0
  40. package/dist/cjs/src/api-model/models/status-update-details-shipment-schedule.js +15 -0
  41. package/dist/cjs/src/api-model/models/status-update-details.js +15 -0
  42. package/dist/cjs/src/api-model/models/submit-shipment-confirmations-request.js +15 -0
  43. package/dist/cjs/src/api-model/models/submit-shipment-confirmations-response.js +15 -0
  44. package/dist/cjs/src/api-model/models/submit-shipment-status-updates-request.js +15 -0
  45. package/dist/cjs/src/api-model/models/submit-shipment-status-updates-response.js +15 -0
  46. package/dist/cjs/src/api-model/models/submit-shipping-labels-request.js +15 -0
  47. package/dist/cjs/src/api-model/models/submit-shipping-labels-response.js +15 -0
  48. package/dist/cjs/src/api-model/models/tax-registration-details.js +25 -0
  49. package/dist/cjs/src/api-model/models/transaction-reference.js +15 -0
  50. package/dist/cjs/src/api-model/models/weight.js +25 -0
  51. package/dist/cjs/src/client.js +83 -0
  52. package/dist/cjs/src/error.js +10 -0
  53. package/dist/es/index.js +3 -0
  54. package/dist/es/src/api-model/api/customer-invoices-api.js +205 -0
  55. package/dist/es/src/api-model/api/vendor-shipping-api.js +321 -0
  56. package/dist/es/src/api-model/api/vendor-shipping-labels-api.js +263 -0
  57. package/dist/es/src/api-model/api.js +16 -0
  58. package/dist/es/src/api-model/base.js +56 -0
  59. package/dist/es/src/api-model/common.js +125 -0
  60. package/dist/es/src/api-model/configuration.js +38 -0
  61. package/dist/es/src/api-model/index.js +16 -0
  62. package/dist/es/src/api-model/models/address.js +14 -0
  63. package/dist/es/src/api-model/models/container.js +22 -0
  64. package/dist/es/src/api-model/models/customer-invoice-list.js +14 -0
  65. package/dist/es/src/api-model/models/customer-invoice.js +14 -0
  66. package/dist/es/src/api-model/models/dimensions.js +22 -0
  67. package/dist/es/src/api-model/models/get-customer-invoice-response.js +14 -0
  68. package/dist/es/src/api-model/models/get-customer-invoices-response.js +14 -0
  69. package/dist/es/src/api-model/models/get-packing-slip-list-response.js +14 -0
  70. package/dist/es/src/api-model/models/get-packing-slip-response.js +14 -0
  71. package/dist/es/src/api-model/models/get-shipping-label-list-response.js +14 -0
  72. package/dist/es/src/api-model/models/get-shipping-label-response.js +14 -0
  73. package/dist/es/src/api-model/models/index.js +37 -0
  74. package/dist/es/src/api-model/models/item-quantity.js +14 -0
  75. package/dist/es/src/api-model/models/item.js +14 -0
  76. package/dist/es/src/api-model/models/label-data.js +14 -0
  77. package/dist/es/src/api-model/models/model-error.js +14 -0
  78. package/dist/es/src/api-model/models/package.js +14 -0
  79. package/dist/es/src/api-model/models/packed-item.js +14 -0
  80. package/dist/es/src/api-model/models/packing-slip-list.js +14 -0
  81. package/dist/es/src/api-model/models/packing-slip.js +21 -0
  82. package/dist/es/src/api-model/models/pagination.js +14 -0
  83. package/dist/es/src/api-model/models/party-identification.js +14 -0
  84. package/dist/es/src/api-model/models/shipment-confirmation.js +14 -0
  85. package/dist/es/src/api-model/models/shipment-details.js +22 -0
  86. package/dist/es/src/api-model/models/shipment-status-update.js +14 -0
  87. package/dist/es/src/api-model/models/shipping-label-list.js +14 -0
  88. package/dist/es/src/api-model/models/shipping-label-request.js +14 -0
  89. package/dist/es/src/api-model/models/shipping-label.js +22 -0
  90. package/dist/es/src/api-model/models/status-update-details-shipment-schedule.js +14 -0
  91. package/dist/es/src/api-model/models/status-update-details.js +14 -0
  92. package/dist/es/src/api-model/models/submit-shipment-confirmations-request.js +14 -0
  93. package/dist/es/src/api-model/models/submit-shipment-confirmations-response.js +14 -0
  94. package/dist/es/src/api-model/models/submit-shipment-status-updates-request.js +14 -0
  95. package/dist/es/src/api-model/models/submit-shipment-status-updates-response.js +14 -0
  96. package/dist/es/src/api-model/models/submit-shipping-labels-request.js +14 -0
  97. package/dist/es/src/api-model/models/submit-shipping-labels-response.js +14 -0
  98. package/dist/es/src/api-model/models/tax-registration-details.js +22 -0
  99. package/dist/es/src/api-model/models/transaction-reference.js +14 -0
  100. package/dist/es/src/api-model/models/weight.js +22 -0
  101. package/dist/es/src/client.js +79 -0
  102. package/dist/es/src/error.js +6 -0
  103. package/dist/types/index.d.ts +3 -0
  104. package/dist/types/src/api-model/api/customer-invoices-api.d.ts +171 -0
  105. package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +259 -0
  106. package/dist/types/src/api-model/api/vendor-shipping-labels-api.d.ts +215 -0
  107. package/dist/types/src/api-model/api.d.ts +14 -0
  108. package/dist/types/src/api-model/base.d.ts +55 -0
  109. package/dist/types/src/api-model/common.d.ts +65 -0
  110. package/dist/types/src/api-model/configuration.d.ts +83 -0
  111. package/dist/types/src/api-model/index.d.ts +14 -0
  112. package/dist/types/src/api-model/models/address.d.ts +84 -0
  113. package/dist/types/src/api-model/models/container.d.ts +101 -0
  114. package/dist/types/src/api-model/models/customer-invoice-list.d.ts +32 -0
  115. package/dist/types/src/api-model/models/customer-invoice.d.ts +30 -0
  116. package/dist/types/src/api-model/models/dimensions.d.ts +50 -0
  117. package/dist/types/src/api-model/models/get-customer-invoice-response.d.ts +31 -0
  118. package/dist/types/src/api-model/models/get-customer-invoices-response.d.ts +31 -0
  119. package/dist/types/src/api-model/models/get-packing-slip-list-response.d.ts +31 -0
  120. package/dist/types/src/api-model/models/get-packing-slip-response.d.ts +31 -0
  121. package/dist/types/src/api-model/models/get-shipping-label-list-response.d.ts +31 -0
  122. package/dist/types/src/api-model/models/get-shipping-label-response.d.ts +31 -0
  123. package/dist/types/src/api-model/models/index.d.ts +37 -0
  124. package/dist/types/src/api-model/models/item-quantity.d.ts +30 -0
  125. package/dist/types/src/api-model/models/item.d.ts +43 -0
  126. package/dist/types/src/api-model/models/label-data.d.ts +48 -0
  127. package/dist/types/src/api-model/models/model-error.d.ts +36 -0
  128. package/dist/types/src/api-model/models/package.d.ts +62 -0
  129. package/dist/types/src/api-model/models/packed-item.d.ts +43 -0
  130. package/dist/types/src/api-model/models/packing-slip-list.d.ts +32 -0
  131. package/dist/types/src/api-model/models/packing-slip.d.ts +43 -0
  132. package/dist/types/src/api-model/models/pagination.d.ts +24 -0
  133. package/dist/types/src/api-model/models/party-identification.d.ts +38 -0
  134. package/dist/types/src/api-model/models/shipment-confirmation.d.ts +58 -0
  135. package/dist/types/src/api-model/models/shipment-details.d.ts +56 -0
  136. package/dist/types/src/api-model/models/shipment-status-update.d.ts +44 -0
  137. package/dist/types/src/api-model/models/shipping-label-list.d.ts +32 -0
  138. package/dist/types/src/api-model/models/shipping-label-request.d.ts +44 -0
  139. package/dist/types/src/api-model/models/shipping-label.d.ts +58 -0
  140. package/dist/types/src/api-model/models/status-update-details-shipment-schedule.d.ts +36 -0
  141. package/dist/types/src/api-model/models/status-update-details.d.ts +56 -0
  142. package/dist/types/src/api-model/models/submit-shipment-confirmations-request.d.ts +25 -0
  143. package/dist/types/src/api-model/models/submit-shipment-confirmations-response.d.ts +31 -0
  144. package/dist/types/src/api-model/models/submit-shipment-status-updates-request.d.ts +25 -0
  145. package/dist/types/src/api-model/models/submit-shipment-status-updates-response.d.ts +31 -0
  146. package/dist/types/src/api-model/models/submit-shipping-labels-request.d.ts +25 -0
  147. package/dist/types/src/api-model/models/submit-shipping-labels-response.d.ts +31 -0
  148. package/dist/types/src/api-model/models/tax-registration-details.d.ts +51 -0
  149. package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
  150. package/dist/types/src/api-model/models/weight.d.ts +38 -0
  151. package/dist/types/src/client.d.ts +13 -0
  152. package/dist/types/src/error.d.ts +3 -0
  153. package/package.json +53 -0
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { Container } from './container';
13
+ import { PartyIdentification } from './party-identification';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ShippingLabelRequest
18
+ */
19
+ export interface ShippingLabelRequest {
20
+ /**
21
+ * Purchase order number of the order for which to create a shipping label.
22
+ * @type {string}
23
+ * @memberof ShippingLabelRequest
24
+ */
25
+ purchaseOrderNumber: string;
26
+ /**
27
+ *
28
+ * @type {PartyIdentification}
29
+ * @memberof ShippingLabelRequest
30
+ */
31
+ sellingParty: PartyIdentification;
32
+ /**
33
+ *
34
+ * @type {PartyIdentification}
35
+ * @memberof ShippingLabelRequest
36
+ */
37
+ shipFromParty: PartyIdentification;
38
+ /**
39
+ * A list of the packages in this shipment.
40
+ * @type {Array<Container>}
41
+ * @memberof ShippingLabelRequest
42
+ */
43
+ containers?: Array<Container>;
44
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { LabelData } from './label-data';
13
+ import { PartyIdentification } from './party-identification';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ShippingLabel
18
+ */
19
+ export interface ShippingLabel {
20
+ /**
21
+ * This field will contain the Purchase Order Number for this order.
22
+ * @type {string}
23
+ * @memberof ShippingLabel
24
+ */
25
+ purchaseOrderNumber: string;
26
+ /**
27
+ *
28
+ * @type {PartyIdentification}
29
+ * @memberof ShippingLabel
30
+ */
31
+ sellingParty: PartyIdentification;
32
+ /**
33
+ *
34
+ * @type {PartyIdentification}
35
+ * @memberof ShippingLabel
36
+ */
37
+ shipFromParty: PartyIdentification;
38
+ /**
39
+ * Format of the label.
40
+ * @type {string}
41
+ * @memberof ShippingLabel
42
+ */
43
+ labelFormat: ShippingLabelLabelFormatEnum;
44
+ /**
45
+ * Provides the details of the packages in this shipment.
46
+ * @type {Array<LabelData>}
47
+ * @memberof ShippingLabel
48
+ */
49
+ labelData: Array<LabelData>;
50
+ }
51
+ /**
52
+ * @export
53
+ * @enum {string}
54
+ */
55
+ export declare enum ShippingLabelLabelFormatEnum {
56
+ Png = "PNG",
57
+ Zpl = "ZPL"
58
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 StatusUpdateDetailsShipmentSchedule
16
+ */
17
+ export interface StatusUpdateDetailsShipmentSchedule {
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.
20
+ * @type {string}
21
+ * @memberof StatusUpdateDetailsShipmentSchedule
22
+ */
23
+ estimatedDeliveryDateTime?: string;
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.
26
+ * @type {string}
27
+ * @memberof StatusUpdateDetailsShipmentSchedule
28
+ */
29
+ apptWindowStartDateTime?: string;
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.
32
+ * @type {string}
33
+ * @memberof StatusUpdateDetailsShipmentSchedule
34
+ */
35
+ apptWindowEndDateTime?: string;
36
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { Address } from './address';
13
+ import { StatusUpdateDetailsShipmentSchedule } from './status-update-details-shipment-schedule';
14
+ /**
15
+ * Details for the shipment status update given by the vendor for the specific package.
16
+ * @export
17
+ * @interface StatusUpdateDetails
18
+ */
19
+ export interface StatusUpdateDetails {
20
+ /**
21
+ * This is required to be provided for every package and should match with the trackingNumber sent for the shipment confirmation.
22
+ * @type {string}
23
+ * @memberof StatusUpdateDetails
24
+ */
25
+ trackingNumber: string;
26
+ /**
27
+ * Indicates the shipment status code of the package that provides transportation information for Amazon tracking systems and ultimately for the final customer.
28
+ * @type {string}
29
+ * @memberof StatusUpdateDetails
30
+ */
31
+ statusCode: string;
32
+ /**
33
+ * Provides a reason code for the status of the package that will provide additional information about the transportation status.
34
+ * @type {string}
35
+ * @memberof StatusUpdateDetails
36
+ */
37
+ reasonCode: string;
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.
40
+ * @type {string}
41
+ * @memberof StatusUpdateDetails
42
+ */
43
+ statusDateTime: string;
44
+ /**
45
+ *
46
+ * @type {Address}
47
+ * @memberof StatusUpdateDetails
48
+ */
49
+ statusLocationAddress: Address;
50
+ /**
51
+ *
52
+ * @type {StatusUpdateDetailsShipmentSchedule}
53
+ * @memberof StatusUpdateDetails
54
+ */
55
+ shipmentSchedule?: StatusUpdateDetailsShipmentSchedule;
56
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { ShipmentConfirmation } from './shipment-confirmation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubmitShipmentConfirmationsRequest
17
+ */
18
+ export interface SubmitShipmentConfirmationsRequest {
19
+ /**
20
+ *
21
+ * @type {Array<ShipmentConfirmation>}
22
+ * @memberof SubmitShipmentConfirmationsRequest
23
+ */
24
+ shipmentConfirmations?: Array<ShipmentConfirmation>;
25
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { TransactionReference } from './transaction-reference';
13
+ /**
14
+ * The response schema for the submitShipmentConfirmations operation.
15
+ * @export
16
+ * @interface SubmitShipmentConfirmationsResponse
17
+ */
18
+ export interface SubmitShipmentConfirmationsResponse {
19
+ /**
20
+ *
21
+ * @type {TransactionReference}
22
+ * @memberof SubmitShipmentConfirmationsResponse
23
+ */
24
+ payload?: TransactionReference;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof SubmitShipmentConfirmationsResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { ShipmentStatusUpdate } from './shipment-status-update';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubmitShipmentStatusUpdatesRequest
17
+ */
18
+ export interface SubmitShipmentStatusUpdatesRequest {
19
+ /**
20
+ *
21
+ * @type {Array<ShipmentStatusUpdate>}
22
+ * @memberof SubmitShipmentStatusUpdatesRequest
23
+ */
24
+ shipmentStatusUpdates?: Array<ShipmentStatusUpdate>;
25
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { TransactionReference } from './transaction-reference';
13
+ /**
14
+ * The response schema for the submitShipmentStatusUpdates operation.
15
+ * @export
16
+ * @interface SubmitShipmentStatusUpdatesResponse
17
+ */
18
+ export interface SubmitShipmentStatusUpdatesResponse {
19
+ /**
20
+ *
21
+ * @type {TransactionReference}
22
+ * @memberof SubmitShipmentStatusUpdatesResponse
23
+ */
24
+ payload?: TransactionReference;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof SubmitShipmentStatusUpdatesResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { ShippingLabelRequest } from './shipping-label-request';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubmitShippingLabelsRequest
17
+ */
18
+ export interface SubmitShippingLabelsRequest {
19
+ /**
20
+ *
21
+ * @type {Array<ShippingLabelRequest>}
22
+ * @memberof SubmitShippingLabelsRequest
23
+ */
24
+ shippingLabelRequests?: Array<ShippingLabelRequest>;
25
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { TransactionReference } from './transaction-reference';
13
+ /**
14
+ * The response schema for the submitShippingLabelRequest operation.
15
+ * @export
16
+ * @interface SubmitShippingLabelsResponse
17
+ */
18
+ export interface SubmitShippingLabelsResponse {
19
+ /**
20
+ *
21
+ * @type {TransactionReference}
22
+ * @memberof SubmitShippingLabelsResponse
23
+ */
24
+ payload?: TransactionReference;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof SubmitShippingLabelsResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { Address } from './address';
13
+ /**
14
+ * Tax registration details of the entity.
15
+ * @export
16
+ * @interface TaxRegistrationDetails
17
+ */
18
+ export interface TaxRegistrationDetails {
19
+ /**
20
+ * Tax registration type for the entity.
21
+ * @type {string}
22
+ * @memberof TaxRegistrationDetails
23
+ */
24
+ taxRegistrationType?: TaxRegistrationDetailsTaxRegistrationTypeEnum;
25
+ /**
26
+ * Tax registration number for the party. For example, VAT ID.
27
+ * @type {string}
28
+ * @memberof TaxRegistrationDetails
29
+ */
30
+ taxRegistrationNumber: string;
31
+ /**
32
+ *
33
+ * @type {Address}
34
+ * @memberof TaxRegistrationDetails
35
+ */
36
+ taxRegistrationAddress?: Address;
37
+ /**
38
+ * Tax registration message that can be used for additional tax related details.
39
+ * @type {string}
40
+ * @memberof TaxRegistrationDetails
41
+ */
42
+ taxRegistrationMessages?: string;
43
+ }
44
+ /**
45
+ * @export
46
+ * @enum {string}
47
+ */
48
+ export declare enum TaxRegistrationDetailsTaxRegistrationTypeEnum {
49
+ Vat = "VAT",
50
+ Gst = "GST"
51
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Shipping
3
+ * The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
4
+ *
5
+ * The version of the OpenAPI document: v1
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 TransactionReference
16
+ */
17
+ export interface TransactionReference {
18
+ /**
19
+ * GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
20
+ * @type {string}
21
+ * @memberof TransactionReference
22
+ */
23
+ transactionId?: string;
24
+ }