@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,30 @@
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 CustomerInvoice
16
+ */
17
+ export interface CustomerInvoice {
18
+ /**
19
+ * The purchase order number for this order.
20
+ * @type {string}
21
+ * @memberof CustomerInvoice
22
+ */
23
+ purchaseOrderNumber: string;
24
+ /**
25
+ * The Base64encoded customer invoice.
26
+ * @type {string}
27
+ * @memberof CustomerInvoice
28
+ */
29
+ content: string;
30
+ }
@@ -0,0 +1,50 @@
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
+ * Physical dimensional measurements of a container.
14
+ * @export
15
+ * @interface Dimensions
16
+ */
17
+ export interface Dimensions {
18
+ /**
19
+ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
20
+ * @type {string}
21
+ * @memberof Dimensions
22
+ */
23
+ length: string;
24
+ /**
25
+ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
26
+ * @type {string}
27
+ * @memberof Dimensions
28
+ */
29
+ width: string;
30
+ /**
31
+ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
32
+ * @type {string}
33
+ * @memberof Dimensions
34
+ */
35
+ height: string;
36
+ /**
37
+ * The unit of measure for dimensions.
38
+ * @type {string}
39
+ * @memberof Dimensions
40
+ */
41
+ unitOfMeasure: DimensionsUnitOfMeasureEnum;
42
+ }
43
+ /**
44
+ * @export
45
+ * @enum {string}
46
+ */
47
+ export declare enum DimensionsUnitOfMeasureEnum {
48
+ In = "IN",
49
+ Cm = "CM"
50
+ }
@@ -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 { CustomerInvoice } from './customer-invoice';
13
+ /**
14
+ * The response schema for the getCustomerInvoice operation.
15
+ * @export
16
+ * @interface GetCustomerInvoiceResponse
17
+ */
18
+ export interface GetCustomerInvoiceResponse {
19
+ /**
20
+ *
21
+ * @type {CustomerInvoice}
22
+ * @memberof GetCustomerInvoiceResponse
23
+ */
24
+ payload?: CustomerInvoice;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetCustomerInvoiceResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -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 { CustomerInvoiceList } from './customer-invoice-list';
13
+ /**
14
+ * The response schema for the getCustomerInvoices operation.
15
+ * @export
16
+ * @interface GetCustomerInvoicesResponse
17
+ */
18
+ export interface GetCustomerInvoicesResponse {
19
+ /**
20
+ *
21
+ * @type {CustomerInvoiceList}
22
+ * @memberof GetCustomerInvoicesResponse
23
+ */
24
+ payload?: CustomerInvoiceList;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetCustomerInvoicesResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -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 { PackingSlipList } from './packing-slip-list';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetPackingSlipListResponse
17
+ */
18
+ export interface GetPackingSlipListResponse {
19
+ /**
20
+ *
21
+ * @type {PackingSlipList}
22
+ * @memberof GetPackingSlipListResponse
23
+ */
24
+ payload?: PackingSlipList;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetPackingSlipListResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -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 { PackingSlip } from './packing-slip';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetPackingSlipResponse
17
+ */
18
+ export interface GetPackingSlipResponse {
19
+ /**
20
+ *
21
+ * @type {PackingSlip}
22
+ * @memberof GetPackingSlipResponse
23
+ */
24
+ payload?: PackingSlip;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetPackingSlipResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -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 { ShippingLabelList } from './shipping-label-list';
13
+ /**
14
+ * The response schema for the getShippingLabels operation.
15
+ * @export
16
+ * @interface GetShippingLabelListResponse
17
+ */
18
+ export interface GetShippingLabelListResponse {
19
+ /**
20
+ *
21
+ * @type {ShippingLabelList}
22
+ * @memberof GetShippingLabelListResponse
23
+ */
24
+ payload?: ShippingLabelList;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetShippingLabelListResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -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 { ShippingLabel } from './shipping-label';
13
+ /**
14
+ * The response schema for the getShippingLabel operation.
15
+ * @export
16
+ * @interface GetShippingLabelResponse
17
+ */
18
+ export interface GetShippingLabelResponse {
19
+ /**
20
+ *
21
+ * @type {ShippingLabel}
22
+ * @memberof GetShippingLabelResponse
23
+ */
24
+ payload?: ShippingLabel;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof GetShippingLabelResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,37 @@
1
+ export * from './address';
2
+ export * from './container';
3
+ export * from './customer-invoice';
4
+ export * from './customer-invoice-list';
5
+ export * from './dimensions';
6
+ export * from './get-customer-invoice-response';
7
+ export * from './get-customer-invoices-response';
8
+ export * from './get-packing-slip-list-response';
9
+ export * from './get-packing-slip-response';
10
+ export * from './get-shipping-label-list-response';
11
+ export * from './get-shipping-label-response';
12
+ export * from './item';
13
+ export * from './item-quantity';
14
+ export * from './label-data';
15
+ export * from './model-error';
16
+ export * from './packed-item';
17
+ export * from './packing-slip';
18
+ export * from './packing-slip-list';
19
+ export * from './pagination';
20
+ export * from './party-identification';
21
+ export * from './shipment-confirmation';
22
+ export * from './shipment-details';
23
+ export * from './shipment-status-update';
24
+ export * from './shipping-label';
25
+ export * from './shipping-label-list';
26
+ export * from './shipping-label-request';
27
+ export * from './status-update-details';
28
+ export * from './status-update-details-shipment-schedule';
29
+ export * from './submit-shipment-confirmations-request';
30
+ export * from './submit-shipment-confirmations-response';
31
+ export * from './submit-shipment-status-updates-request';
32
+ export * from './submit-shipment-status-updates-response';
33
+ export * from './submit-shipping-labels-request';
34
+ export * from './submit-shipping-labels-response';
35
+ export * from './tax-registration-details';
36
+ export * from './transaction-reference';
37
+ export * from './weight';
@@ -0,0 +1,30 @@
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
+ * Details of item quantity.
14
+ * @export
15
+ * @interface ItemQuantity
16
+ */
17
+ export interface ItemQuantity {
18
+ /**
19
+ * Quantity of units shipped for a specific item at a shipment level. If the item is present only in certain packages or pallets within the shipment, please provide this at the appropriate package or pallet level.
20
+ * @type {number}
21
+ * @memberof ItemQuantity
22
+ */
23
+ amount: number;
24
+ /**
25
+ * Unit of measure for the shipped quantity.
26
+ * @type {string}
27
+ * @memberof ItemQuantity
28
+ */
29
+ unitOfMeasure: string;
30
+ }
@@ -0,0 +1,43 @@
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 { ItemQuantity } from './item-quantity';
13
+ /**
14
+ * Details of the item being shipped.
15
+ * @export
16
+ * @interface Item
17
+ */
18
+ export interface Item {
19
+ /**
20
+ * Item Sequence Number for the item. This must be the same value as sent in order for a given item.
21
+ * @type {number}
22
+ * @memberof Item
23
+ */
24
+ itemSequenceNumber: number;
25
+ /**
26
+ * Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
27
+ * @type {string}
28
+ * @memberof Item
29
+ */
30
+ buyerProductIdentifier?: string;
31
+ /**
32
+ * The vendor selected product identification of the item. Should be the same as was sent in the purchase order, like SKU Number.
33
+ * @type {string}
34
+ * @memberof Item
35
+ */
36
+ vendorProductIdentifier?: string;
37
+ /**
38
+ *
39
+ * @type {ItemQuantity}
40
+ * @memberof Item
41
+ */
42
+ shippedQuantity: ItemQuantity;
43
+ }
@@ -0,0 +1,48 @@
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
+ * Details of the shipment label.
14
+ * @export
15
+ * @interface LabelData
16
+ */
17
+ export interface LabelData {
18
+ /**
19
+ * Identifier for the package. The first package will be 001, the second 002, and so on. This number is used as a reference to refer to this package from the pallet level.
20
+ * @type {string}
21
+ * @memberof LabelData
22
+ */
23
+ packageIdentifier?: string;
24
+ /**
25
+ * Package tracking identifier from the shipping carrier.
26
+ * @type {string}
27
+ * @memberof LabelData
28
+ */
29
+ trackingNumber?: string;
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.
32
+ * @type {string}
33
+ * @memberof LabelData
34
+ */
35
+ shipMethod?: string;
36
+ /**
37
+ * Shipping method name for internal reference.
38
+ * @type {string}
39
+ * @memberof LabelData
40
+ */
41
+ shipMethodName?: string;
42
+ /**
43
+ * This field will contain the Base64encoded string of the shipment label content.
44
+ * @type {string}
45
+ * @memberof LabelData
46
+ */
47
+ content: string;
48
+ }
@@ -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
+ * Error response returned when the request is unsuccessful.
14
+ * @export
15
+ * @interface ModelError
16
+ */
17
+ export interface ModelError {
18
+ /**
19
+ * An error code that identifies the type of error that occurred.
20
+ * @type {string}
21
+ * @memberof ModelError
22
+ */
23
+ code: string;
24
+ /**
25
+ * A message that describes the error condition.
26
+ * @type {string}
27
+ * @memberof ModelError
28
+ */
29
+ message: string;
30
+ /**
31
+ * Additional details that can help the caller understand or fix the issue.
32
+ * @type {string}
33
+ * @memberof ModelError
34
+ */
35
+ details?: string;
36
+ }