@sp-api-sdk/shipping-api-v2 1.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.
Files changed (372) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/dist/cjs/index.js +18 -0
  4. package/dist/cjs/src/api-model/api/shipping-api.js +1203 -0
  5. package/dist/cjs/src/api-model/api.js +30 -0
  6. package/dist/cjs/src/api-model/base.js +66 -0
  7. package/dist/cjs/src/api-model/common.js +145 -0
  8. package/dist/cjs/src/api-model/configuration.js +91 -0
  9. package/dist/cjs/src/api-model/index.js +32 -0
  10. package/dist/cjs/src/api-model/models/access-point-details.js +15 -0
  11. package/dist/cjs/src/api-model/models/access-point-type.js +31 -0
  12. package/dist/cjs/src/api-model/models/access-point.js +20 -0
  13. package/dist/cjs/src/api-model/models/accessibility-attributes.js +15 -0
  14. package/dist/cjs/src/api-model/models/account-status.js +27 -0
  15. package/dist/cjs/src/api-model/models/account-type.js +26 -0
  16. package/dist/cjs/src/api-model/models/active-account.js +15 -0
  17. package/dist/cjs/src/api-model/models/address.js +15 -0
  18. package/dist/cjs/src/api-model/models/amazon-order-details.js +15 -0
  19. package/dist/cjs/src/api-model/models/amazon-shipment-details.js +15 -0
  20. package/dist/cjs/src/api-model/models/available-value-added-service-group.js +15 -0
  21. package/dist/cjs/src/api-model/models/benefits.js +15 -0
  22. package/dist/cjs/src/api-model/models/cancel-shipment-response.js +15 -0
  23. package/dist/cjs/src/api-model/models/carrier-account-attribute.js +15 -0
  24. package/dist/cjs/src/api-model/models/carrier-account-input.js +15 -0
  25. package/dist/cjs/src/api-model/models/carrier.js +15 -0
  26. package/dist/cjs/src/api-model/models/channel-details.js +15 -0
  27. package/dist/cjs/src/api-model/models/channel-type.js +25 -0
  28. package/dist/cjs/src/api-model/models/charge-component.js +20 -0
  29. package/dist/cjs/src/api-model/models/client-reference-detail.js +20 -0
  30. package/dist/cjs/src/api-model/models/collect-on-delivery.js +15 -0
  31. package/dist/cjs/src/api-model/models/collection-forms-history-record.js +15 -0
  32. package/dist/cjs/src/api-model/models/collections-form-document.js +15 -0
  33. package/dist/cjs/src/api-model/models/currency.js +15 -0
  34. package/dist/cjs/src/api-model/models/dangerous-goods-details.js +36 -0
  35. package/dist/cjs/src/api-model/models/date-range.js +15 -0
  36. package/dist/cjs/src/api-model/models/dimensions.js +20 -0
  37. package/dist/cjs/src/api-model/models/direct-fulfillment-item-identifiers.js +15 -0
  38. package/dist/cjs/src/api-model/models/direct-purchase-request.js +15 -0
  39. package/dist/cjs/src/api-model/models/direct-purchase-response.js +15 -0
  40. package/dist/cjs/src/api-model/models/direct-purchase-result.js +15 -0
  41. package/dist/cjs/src/api-model/models/document-format.js +26 -0
  42. package/dist/cjs/src/api-model/models/document-size.js +20 -0
  43. package/dist/cjs/src/api-model/models/document-type.js +27 -0
  44. package/dist/cjs/src/api-model/models/error-list.js +15 -0
  45. package/dist/cjs/src/api-model/models/event-code.js +34 -0
  46. package/dist/cjs/src/api-model/models/event.js +15 -0
  47. package/dist/cjs/src/api-model/models/exception-operating-hours.js +15 -0
  48. package/dist/cjs/src/api-model/models/excluded-benefit.js +15 -0
  49. package/dist/cjs/src/api-model/models/generate-collection-form-request.js +15 -0
  50. package/dist/cjs/src/api-model/models/generate-collection-form-response.js +15 -0
  51. package/dist/cjs/src/api-model/models/generation-status.js +25 -0
  52. package/dist/cjs/src/api-model/models/geocode.js +15 -0
  53. package/dist/cjs/src/api-model/models/get-access-points-response.js +15 -0
  54. package/dist/cjs/src/api-model/models/get-access-points-result.js +15 -0
  55. package/dist/cjs/src/api-model/models/get-additional-inputs-response.js +15 -0
  56. package/dist/cjs/src/api-model/models/get-carrier-account-form-inputs-response.js +15 -0
  57. package/dist/cjs/src/api-model/models/get-carrier-accounts-request.js +15 -0
  58. package/dist/cjs/src/api-model/models/get-carrier-accounts-response.js +15 -0
  59. package/dist/cjs/src/api-model/models/get-collection-form-history-request.js +15 -0
  60. package/dist/cjs/src/api-model/models/get-collection-form-history-response.js +15 -0
  61. package/dist/cjs/src/api-model/models/get-collection-form-response.js +15 -0
  62. package/dist/cjs/src/api-model/models/get-rates-request.js +15 -0
  63. package/dist/cjs/src/api-model/models/get-rates-response.js +15 -0
  64. package/dist/cjs/src/api-model/models/get-rates-result.js +15 -0
  65. package/dist/cjs/src/api-model/models/get-shipment-documents-response.js +15 -0
  66. package/dist/cjs/src/api-model/models/get-shipment-documents-result.js +15 -0
  67. package/dist/cjs/src/api-model/models/get-tracking-response.js +15 -0
  68. package/dist/cjs/src/api-model/models/get-tracking-result.js +15 -0
  69. package/dist/cjs/src/api-model/models/get-unmanifested-shipments-request.js +15 -0
  70. package/dist/cjs/src/api-model/models/get-unmanifested-shipments-response.js +15 -0
  71. package/dist/cjs/src/api-model/models/index.js +130 -0
  72. package/dist/cjs/src/api-model/models/ineligibility-reason-code.js +33 -0
  73. package/dist/cjs/src/api-model/models/ineligibility-reason.js +15 -0
  74. package/dist/cjs/src/api-model/models/ineligible-rate.js +15 -0
  75. package/dist/cjs/src/api-model/models/input-type.js +25 -0
  76. package/dist/cjs/src/api-model/models/invoice-details.js +15 -0
  77. package/dist/cjs/src/api-model/models/item.js +15 -0
  78. package/dist/cjs/src/api-model/models/link-carrier-account-request.js +15 -0
  79. package/dist/cjs/src/api-model/models/link-carrier-account-response.js +15 -0
  80. package/dist/cjs/src/api-model/models/linkable-account-type.js +15 -0
  81. package/dist/cjs/src/api-model/models/linkable-carrier.js +15 -0
  82. package/dist/cjs/src/api-model/models/liquid-volume.js +25 -0
  83. package/dist/cjs/src/api-model/models/location.js +15 -0
  84. package/dist/cjs/src/api-model/models/model-error.js +15 -0
  85. package/dist/cjs/src/api-model/models/one-click-shipment-request.js +15 -0
  86. package/dist/cjs/src/api-model/models/one-click-shipment-response.js +15 -0
  87. package/dist/cjs/src/api-model/models/one-click-shipment-result.js +15 -0
  88. package/dist/cjs/src/api-model/models/one-click-shipment-value-added-service.js +15 -0
  89. package/dist/cjs/src/api-model/models/operating-hours.js +15 -0
  90. package/dist/cjs/src/api-model/models/package-document-detail.js +15 -0
  91. package/dist/cjs/src/api-model/models/package-document.js +15 -0
  92. package/dist/cjs/src/api-model/models/package.js +15 -0
  93. package/dist/cjs/src/api-model/models/payment-type.js +25 -0
  94. package/dist/cjs/src/api-model/models/print-option.js +15 -0
  95. package/dist/cjs/src/api-model/models/promise.js +15 -0
  96. package/dist/cjs/src/api-model/models/purchase-shipment-request.js +15 -0
  97. package/dist/cjs/src/api-model/models/purchase-shipment-response.js +15 -0
  98. package/dist/cjs/src/api-model/models/purchase-shipment-result.js +15 -0
  99. package/dist/cjs/src/api-model/models/rate-item-id.js +51 -0
  100. package/dist/cjs/src/api-model/models/rate-item-type.js +26 -0
  101. package/dist/cjs/src/api-model/models/rate-item.js +15 -0
  102. package/dist/cjs/src/api-model/models/rate.js +15 -0
  103. package/dist/cjs/src/api-model/models/requested-document-specification.js +15 -0
  104. package/dist/cjs/src/api-model/models/requested-value-added-service.js +15 -0
  105. package/dist/cjs/src/api-model/models/service-selection.js +15 -0
  106. package/dist/cjs/src/api-model/models/service.js +15 -0
  107. package/dist/cjs/src/api-model/models/shipment-type.js +25 -0
  108. package/dist/cjs/src/api-model/models/shipper-instruction.js +15 -0
  109. package/dist/cjs/src/api-model/models/status.js +32 -0
  110. package/dist/cjs/src/api-model/models/supported-document-detail.js +15 -0
  111. package/dist/cjs/src/api-model/models/supported-document-specification.js +15 -0
  112. package/dist/cjs/src/api-model/models/tax-detail.js +15 -0
  113. package/dist/cjs/src/api-model/models/tax-type.js +24 -0
  114. package/dist/cjs/src/api-model/models/time-of-day.js +15 -0
  115. package/dist/cjs/src/api-model/models/time-window.js +15 -0
  116. package/dist/cjs/src/api-model/models/tracking-summary.js +15 -0
  117. package/dist/cjs/src/api-model/models/unlink-carrier-account-request.js +15 -0
  118. package/dist/cjs/src/api-model/models/unlink-carrier-account-response.js +15 -0
  119. package/dist/cjs/src/api-model/models/unmanifested-carrier-information.js +15 -0
  120. package/dist/cjs/src/api-model/models/unmanifested-shipment-location.js +15 -0
  121. package/dist/cjs/src/api-model/models/validation-metadata.js +15 -0
  122. package/dist/cjs/src/api-model/models/value-added-service-details.js +15 -0
  123. package/dist/cjs/src/api-model/models/value-added-service.js +15 -0
  124. package/dist/cjs/src/api-model/models/weight.js +22 -0
  125. package/dist/cjs/src/client.js +133 -0
  126. package/dist/es/index.js +2 -0
  127. package/dist/es/src/api-model/api/shipping-api.js +1193 -0
  128. package/dist/es/src/api-model/api.js +14 -0
  129. package/dist/es/src/api-model/base.js +58 -0
  130. package/dist/es/src/api-model/common.js +133 -0
  131. package/dist/es/src/api-model/configuration.js +87 -0
  132. package/dist/es/src/api-model/index.js +16 -0
  133. package/dist/es/src/api-model/models/access-point-details.js +14 -0
  134. package/dist/es/src/api-model/models/access-point-type.js +28 -0
  135. package/dist/es/src/api-model/models/access-point.js +17 -0
  136. package/dist/es/src/api-model/models/accessibility-attributes.js +14 -0
  137. package/dist/es/src/api-model/models/account-status.js +24 -0
  138. package/dist/es/src/api-model/models/account-type.js +23 -0
  139. package/dist/es/src/api-model/models/active-account.js +14 -0
  140. package/dist/es/src/api-model/models/address.js +14 -0
  141. package/dist/es/src/api-model/models/amazon-order-details.js +14 -0
  142. package/dist/es/src/api-model/models/amazon-shipment-details.js +14 -0
  143. package/dist/es/src/api-model/models/available-value-added-service-group.js +14 -0
  144. package/dist/es/src/api-model/models/benefits.js +14 -0
  145. package/dist/es/src/api-model/models/cancel-shipment-response.js +14 -0
  146. package/dist/es/src/api-model/models/carrier-account-attribute.js +14 -0
  147. package/dist/es/src/api-model/models/carrier-account-input.js +14 -0
  148. package/dist/es/src/api-model/models/carrier.js +14 -0
  149. package/dist/es/src/api-model/models/channel-details.js +14 -0
  150. package/dist/es/src/api-model/models/channel-type.js +22 -0
  151. package/dist/es/src/api-model/models/charge-component.js +17 -0
  152. package/dist/es/src/api-model/models/client-reference-detail.js +17 -0
  153. package/dist/es/src/api-model/models/collect-on-delivery.js +14 -0
  154. package/dist/es/src/api-model/models/collection-forms-history-record.js +14 -0
  155. package/dist/es/src/api-model/models/collections-form-document.js +14 -0
  156. package/dist/es/src/api-model/models/currency.js +14 -0
  157. package/dist/es/src/api-model/models/dangerous-goods-details.js +33 -0
  158. package/dist/es/src/api-model/models/date-range.js +14 -0
  159. package/dist/es/src/api-model/models/dimensions.js +17 -0
  160. package/dist/es/src/api-model/models/direct-fulfillment-item-identifiers.js +14 -0
  161. package/dist/es/src/api-model/models/direct-purchase-request.js +14 -0
  162. package/dist/es/src/api-model/models/direct-purchase-response.js +14 -0
  163. package/dist/es/src/api-model/models/direct-purchase-result.js +14 -0
  164. package/dist/es/src/api-model/models/document-format.js +23 -0
  165. package/dist/es/src/api-model/models/document-size.js +17 -0
  166. package/dist/es/src/api-model/models/document-type.js +24 -0
  167. package/dist/es/src/api-model/models/error-list.js +14 -0
  168. package/dist/es/src/api-model/models/event-code.js +31 -0
  169. package/dist/es/src/api-model/models/event.js +14 -0
  170. package/dist/es/src/api-model/models/exception-operating-hours.js +14 -0
  171. package/dist/es/src/api-model/models/excluded-benefit.js +14 -0
  172. package/dist/es/src/api-model/models/generate-collection-form-request.js +14 -0
  173. package/dist/es/src/api-model/models/generate-collection-form-response.js +14 -0
  174. package/dist/es/src/api-model/models/generation-status.js +22 -0
  175. package/dist/es/src/api-model/models/geocode.js +14 -0
  176. package/dist/es/src/api-model/models/get-access-points-response.js +14 -0
  177. package/dist/es/src/api-model/models/get-access-points-result.js +14 -0
  178. package/dist/es/src/api-model/models/get-additional-inputs-response.js +14 -0
  179. package/dist/es/src/api-model/models/get-carrier-account-form-inputs-response.js +14 -0
  180. package/dist/es/src/api-model/models/get-carrier-accounts-request.js +14 -0
  181. package/dist/es/src/api-model/models/get-carrier-accounts-response.js +14 -0
  182. package/dist/es/src/api-model/models/get-collection-form-history-request.js +14 -0
  183. package/dist/es/src/api-model/models/get-collection-form-history-response.js +14 -0
  184. package/dist/es/src/api-model/models/get-collection-form-response.js +14 -0
  185. package/dist/es/src/api-model/models/get-rates-request.js +14 -0
  186. package/dist/es/src/api-model/models/get-rates-response.js +14 -0
  187. package/dist/es/src/api-model/models/get-rates-result.js +14 -0
  188. package/dist/es/src/api-model/models/get-shipment-documents-response.js +14 -0
  189. package/dist/es/src/api-model/models/get-shipment-documents-result.js +14 -0
  190. package/dist/es/src/api-model/models/get-tracking-response.js +14 -0
  191. package/dist/es/src/api-model/models/get-tracking-result.js +14 -0
  192. package/dist/es/src/api-model/models/get-unmanifested-shipments-request.js +14 -0
  193. package/dist/es/src/api-model/models/get-unmanifested-shipments-response.js +14 -0
  194. package/dist/es/src/api-model/models/index.js +114 -0
  195. package/dist/es/src/api-model/models/ineligibility-reason-code.js +30 -0
  196. package/dist/es/src/api-model/models/ineligibility-reason.js +14 -0
  197. package/dist/es/src/api-model/models/ineligible-rate.js +14 -0
  198. package/dist/es/src/api-model/models/input-type.js +22 -0
  199. package/dist/es/src/api-model/models/invoice-details.js +14 -0
  200. package/dist/es/src/api-model/models/item.js +14 -0
  201. package/dist/es/src/api-model/models/link-carrier-account-request.js +14 -0
  202. package/dist/es/src/api-model/models/link-carrier-account-response.js +14 -0
  203. package/dist/es/src/api-model/models/linkable-account-type.js +14 -0
  204. package/dist/es/src/api-model/models/linkable-carrier.js +14 -0
  205. package/dist/es/src/api-model/models/liquid-volume.js +22 -0
  206. package/dist/es/src/api-model/models/location.js +14 -0
  207. package/dist/es/src/api-model/models/model-error.js +14 -0
  208. package/dist/es/src/api-model/models/one-click-shipment-request.js +14 -0
  209. package/dist/es/src/api-model/models/one-click-shipment-response.js +14 -0
  210. package/dist/es/src/api-model/models/one-click-shipment-result.js +14 -0
  211. package/dist/es/src/api-model/models/one-click-shipment-value-added-service.js +14 -0
  212. package/dist/es/src/api-model/models/operating-hours.js +14 -0
  213. package/dist/es/src/api-model/models/package-document-detail.js +14 -0
  214. package/dist/es/src/api-model/models/package-document.js +14 -0
  215. package/dist/es/src/api-model/models/package.js +14 -0
  216. package/dist/es/src/api-model/models/payment-type.js +22 -0
  217. package/dist/es/src/api-model/models/print-option.js +14 -0
  218. package/dist/es/src/api-model/models/promise.js +14 -0
  219. package/dist/es/src/api-model/models/purchase-shipment-request.js +14 -0
  220. package/dist/es/src/api-model/models/purchase-shipment-response.js +14 -0
  221. package/dist/es/src/api-model/models/purchase-shipment-result.js +14 -0
  222. package/dist/es/src/api-model/models/rate-item-id.js +48 -0
  223. package/dist/es/src/api-model/models/rate-item-type.js +23 -0
  224. package/dist/es/src/api-model/models/rate-item.js +14 -0
  225. package/dist/es/src/api-model/models/rate.js +14 -0
  226. package/dist/es/src/api-model/models/requested-document-specification.js +14 -0
  227. package/dist/es/src/api-model/models/requested-value-added-service.js +14 -0
  228. package/dist/es/src/api-model/models/service-selection.js +14 -0
  229. package/dist/es/src/api-model/models/service.js +14 -0
  230. package/dist/es/src/api-model/models/shipment-type.js +22 -0
  231. package/dist/es/src/api-model/models/shipper-instruction.js +14 -0
  232. package/dist/es/src/api-model/models/status.js +29 -0
  233. package/dist/es/src/api-model/models/supported-document-detail.js +14 -0
  234. package/dist/es/src/api-model/models/supported-document-specification.js +14 -0
  235. package/dist/es/src/api-model/models/tax-detail.js +14 -0
  236. package/dist/es/src/api-model/models/tax-type.js +21 -0
  237. package/dist/es/src/api-model/models/time-of-day.js +14 -0
  238. package/dist/es/src/api-model/models/time-window.js +14 -0
  239. package/dist/es/src/api-model/models/tracking-summary.js +14 -0
  240. package/dist/es/src/api-model/models/unlink-carrier-account-request.js +14 -0
  241. package/dist/es/src/api-model/models/unlink-carrier-account-response.js +14 -0
  242. package/dist/es/src/api-model/models/unmanifested-carrier-information.js +14 -0
  243. package/dist/es/src/api-model/models/unmanifested-shipment-location.js +14 -0
  244. package/dist/es/src/api-model/models/validation-metadata.js +14 -0
  245. package/dist/es/src/api-model/models/value-added-service-details.js +14 -0
  246. package/dist/es/src/api-model/models/value-added-service.js +14 -0
  247. package/dist/es/src/api-model/models/weight.js +19 -0
  248. package/dist/es/src/client.js +129 -0
  249. package/dist/types/index.d.ts +2 -0
  250. package/dist/types/src/api-model/api/shipping-api.d.ts +1014 -0
  251. package/dist/types/src/api-model/api.d.ts +12 -0
  252. package/dist/types/src/api-model/base.d.ts +54 -0
  253. package/dist/types/src/api-model/common.d.ts +66 -0
  254. package/dist/types/src/api-model/configuration.d.ts +83 -0
  255. package/dist/types/src/api-model/index.d.ts +14 -0
  256. package/dist/types/src/api-model/models/access-point-details.d.ts +24 -0
  257. package/dist/types/src/api-model/models/access-point-type.d.ts +27 -0
  258. package/dist/types/src/api-model/models/access-point.d.ts +90 -0
  259. package/dist/types/src/api-model/models/accessibility-attributes.d.ts +30 -0
  260. package/dist/types/src/api-model/models/account-status.d.ts +23 -0
  261. package/dist/types/src/api-model/models/account-type.d.ts +22 -0
  262. package/dist/types/src/api-model/models/active-account.d.ts +30 -0
  263. package/dist/types/src/api-model/models/address.d.ts +91 -0
  264. package/dist/types/src/api-model/models/amazon-order-details.d.ts +24 -0
  265. package/dist/types/src/api-model/models/amazon-shipment-details.d.ts +24 -0
  266. package/dist/types/src/api-model/models/available-value-added-service-group.d.ts +43 -0
  267. package/dist/types/src/api-model/models/benefits.d.ts +31 -0
  268. package/dist/types/src/api-model/models/cancel-shipment-response.d.ts +26 -0
  269. package/dist/types/src/api-model/models/carrier-account-attribute.d.ts +36 -0
  270. package/dist/types/src/api-model/models/carrier-account-input.d.ts +68 -0
  271. package/dist/types/src/api-model/models/carrier.d.ts +30 -0
  272. package/dist/types/src/api-model/models/channel-details.d.ts +39 -0
  273. package/dist/types/src/api-model/models/channel-type.d.ts +21 -0
  274. package/dist/types/src/api-model/models/charge-component.d.ts +36 -0
  275. package/dist/types/src/api-model/models/client-reference-detail.d.ts +35 -0
  276. package/dist/types/src/api-model/models/collect-on-delivery.d.ts +25 -0
  277. package/dist/types/src/api-model/models/collection-forms-history-record.d.ts +50 -0
  278. package/dist/types/src/api-model/models/collections-form-document.d.ts +30 -0
  279. package/dist/types/src/api-model/models/currency.d.ts +30 -0
  280. package/dist/types/src/api-model/models/dangerous-goods-details.d.ts +64 -0
  281. package/dist/types/src/api-model/models/date-range.d.ts +30 -0
  282. package/dist/types/src/api-model/models/dimensions.d.ts +47 -0
  283. package/dist/types/src/api-model/models/direct-fulfillment-item-identifiers.d.ts +30 -0
  284. package/dist/types/src/api-model/models/direct-purchase-request.d.ts +58 -0
  285. package/dist/types/src/api-model/models/direct-purchase-response.d.ts +25 -0
  286. package/dist/types/src/api-model/models/direct-purchase-result.d.ts +31 -0
  287. package/dist/types/src/api-model/models/document-format.d.ts +22 -0
  288. package/dist/types/src/api-model/models/document-size.d.ts +41 -0
  289. package/dist/types/src/api-model/models/document-type.d.ts +23 -0
  290. package/dist/types/src/api-model/models/error-list.d.ts +24 -0
  291. package/dist/types/src/api-model/models/event-code.d.ts +30 -0
  292. package/dist/types/src/api-model/models/event.d.ts +38 -0
  293. package/dist/types/src/api-model/models/exception-operating-hours.d.ts +32 -0
  294. package/dist/types/src/api-model/models/excluded-benefit.d.ts +30 -0
  295. package/dist/types/src/api-model/models/generate-collection-form-request.d.ts +38 -0
  296. package/dist/types/src/api-model/models/generate-collection-form-response.d.ts +25 -0
  297. package/dist/types/src/api-model/models/generation-status.d.ts +21 -0
  298. package/dist/types/src/api-model/models/geocode.d.ts +30 -0
  299. package/dist/types/src/api-model/models/get-access-points-response.d.ts +25 -0
  300. package/dist/types/src/api-model/models/get-access-points-result.d.ts +27 -0
  301. package/dist/types/src/api-model/models/get-additional-inputs-response.d.ts +26 -0
  302. package/dist/types/src/api-model/models/get-carrier-account-form-inputs-response.d.ts +25 -0
  303. package/dist/types/src/api-model/models/get-carrier-accounts-request.d.ts +25 -0
  304. package/dist/types/src/api-model/models/get-carrier-accounts-response.d.ts +25 -0
  305. package/dist/types/src/api-model/models/get-collection-form-history-request.d.ts +51 -0
  306. package/dist/types/src/api-model/models/get-collection-form-history-response.d.ts +31 -0
  307. package/dist/types/src/api-model/models/get-collection-form-response.d.ts +25 -0
  308. package/dist/types/src/api-model/models/get-rates-request.d.ts +99 -0
  309. package/dist/types/src/api-model/models/get-rates-response.d.ts +25 -0
  310. package/dist/types/src/api-model/models/get-rates-result.d.ts +38 -0
  311. package/dist/types/src/api-model/models/get-shipment-documents-response.d.ts +25 -0
  312. package/dist/types/src/api-model/models/get-shipment-documents-result.d.ts +31 -0
  313. package/dist/types/src/api-model/models/get-tracking-response.d.ts +25 -0
  314. package/dist/types/src/api-model/models/get-tracking-result.d.ts +50 -0
  315. package/dist/types/src/api-model/models/get-unmanifested-shipments-request.d.ts +25 -0
  316. package/dist/types/src/api-model/models/get-unmanifested-shipments-response.d.ts +25 -0
  317. package/dist/types/src/api-model/models/index.d.ts +114 -0
  318. package/dist/types/src/api-model/models/ineligibility-reason-code.d.ts +29 -0
  319. package/dist/types/src/api-model/models/ineligibility-reason.d.ts +31 -0
  320. package/dist/types/src/api-model/models/ineligible-rate.d.ts +49 -0
  321. package/dist/types/src/api-model/models/input-type.d.ts +21 -0
  322. package/dist/types/src/api-model/models/invoice-details.d.ts +30 -0
  323. package/dist/types/src/api-model/models/item.d.ts +96 -0
  324. package/dist/types/src/api-model/models/link-carrier-account-request.d.ts +44 -0
  325. package/dist/types/src/api-model/models/link-carrier-account-response.d.ts +25 -0
  326. package/dist/types/src/api-model/models/linkable-account-type.d.ts +32 -0
  327. package/dist/types/src/api-model/models/linkable-carrier.d.ts +31 -0
  328. package/dist/types/src/api-model/models/liquid-volume.d.ts +40 -0
  329. package/dist/types/src/api-model/models/location.d.ts +42 -0
  330. package/dist/types/src/api-model/models/model-error.d.ts +36 -0
  331. package/dist/types/src/api-model/models/one-click-shipment-request.d.ts +99 -0
  332. package/dist/types/src/api-model/models/one-click-shipment-response.d.ts +25 -0
  333. package/dist/types/src/api-model/models/one-click-shipment-result.d.ts +59 -0
  334. package/dist/types/src/api-model/models/one-click-shipment-value-added-service.d.ts +31 -0
  335. package/dist/types/src/api-model/models/operating-hours.d.ts +37 -0
  336. package/dist/types/src/api-model/models/package-document-detail.d.ts +37 -0
  337. package/dist/types/src/api-model/models/package-document.d.ts +38 -0
  338. package/dist/types/src/api-model/models/package.d.ts +71 -0
  339. package/dist/types/src/api-model/models/payment-type.d.ts +21 -0
  340. package/dist/types/src/api-model/models/print-option.d.ts +43 -0
  341. package/dist/types/src/api-model/models/promise.d.ts +31 -0
  342. package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +52 -0
  343. package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +25 -0
  344. package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +38 -0
  345. package/dist/types/src/api-model/models/rate-item-id.d.ts +47 -0
  346. package/dist/types/src/api-model/models/rate-item-type.d.ts +22 -0
  347. package/dist/types/src/api-model/models/rate-item.d.ts +45 -0
  348. package/dist/types/src/api-model/models/rate.d.ts +110 -0
  349. package/dist/types/src/api-model/models/requested-document-specification.d.ts +57 -0
  350. package/dist/types/src/api-model/models/requested-value-added-service.d.ts +24 -0
  351. package/dist/types/src/api-model/models/service-selection.d.ts +24 -0
  352. package/dist/types/src/api-model/models/service.d.ts +30 -0
  353. package/dist/types/src/api-model/models/shipment-type.d.ts +21 -0
  354. package/dist/types/src/api-model/models/shipper-instruction.d.ts +24 -0
  355. package/dist/types/src/api-model/models/status.d.ts +28 -0
  356. package/dist/types/src/api-model/models/supported-document-detail.d.ts +31 -0
  357. package/dist/types/src/api-model/models/supported-document-specification.d.ts +39 -0
  358. package/dist/types/src/api-model/models/tax-detail.d.ts +31 -0
  359. package/dist/types/src/api-model/models/tax-type.d.ts +20 -0
  360. package/dist/types/src/api-model/models/time-of-day.d.ts +36 -0
  361. package/dist/types/src/api-model/models/time-window.d.ts +30 -0
  362. package/dist/types/src/api-model/models/tracking-summary.d.ts +25 -0
  363. package/dist/types/src/api-model/models/unlink-carrier-account-request.d.ts +25 -0
  364. package/dist/types/src/api-model/models/unlink-carrier-account-response.d.ts +24 -0
  365. package/dist/types/src/api-model/models/unmanifested-carrier-information.d.ts +37 -0
  366. package/dist/types/src/api-model/models/unmanifested-shipment-location.d.ts +31 -0
  367. package/dist/types/src/api-model/models/validation-metadata.d.ts +36 -0
  368. package/dist/types/src/api-model/models/value-added-service-details.d.ts +25 -0
  369. package/dist/types/src/api-model/models/value-added-service.d.ts +37 -0
  370. package/dist/types/src/api-model/models/weight.d.ts +37 -0
  371. package/dist/types/src/client.d.ts +6 -0
  372. package/package.json +44 -0
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { DocumentFormat } from './document-format';
13
+ import { DocumentSize } from './document-size';
14
+ import { DocumentType } from './document-type';
15
+ /**
16
+ * The document specifications requested. For calls to the purchaseShipment operation, the shipment purchase fails if the specified document specifications are not among those returned in the response to the getRates operation.
17
+ * @export
18
+ * @interface RequestedDocumentSpecification
19
+ */
20
+ export interface RequestedDocumentSpecification {
21
+ /**
22
+ *
23
+ * @type {DocumentFormat}
24
+ * @memberof RequestedDocumentSpecification
25
+ */
26
+ 'format': DocumentFormat;
27
+ /**
28
+ *
29
+ * @type {DocumentSize}
30
+ * @memberof RequestedDocumentSpecification
31
+ */
32
+ 'size': DocumentSize;
33
+ /**
34
+ * The dots per inch (DPI) value used in printing. This value represents a measure of the resolution of the document.
35
+ * @type {number}
36
+ * @memberof RequestedDocumentSpecification
37
+ */
38
+ 'dpi'?: number;
39
+ /**
40
+ * Indicates the position of the label on the paper. Should be the same value as returned in getRates response.
41
+ * @type {string}
42
+ * @memberof RequestedDocumentSpecification
43
+ */
44
+ 'pageLayout'?: string;
45
+ /**
46
+ * When true, files should be stitched together. Otherwise, files should be returned separately. Defaults to false.
47
+ * @type {boolean}
48
+ * @memberof RequestedDocumentSpecification
49
+ */
50
+ 'needFileJoining': boolean;
51
+ /**
52
+ * A list of the document types requested.
53
+ * @type {Array<DocumentType>}
54
+ * @memberof RequestedDocumentSpecification
55
+ */
56
+ 'requestedDocumentTypes': Array<DocumentType>;
57
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * A value-added service to be applied to a shipping service purchase.
14
+ * @export
15
+ * @interface RequestedValueAddedService
16
+ */
17
+ export interface RequestedValueAddedService {
18
+ /**
19
+ * The identifier of the selected value-added service. Must be among those returned in the response to the getRates operation.
20
+ * @type {string}
21
+ * @memberof RequestedValueAddedService
22
+ */
23
+ 'id': string;
24
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * Service Selection Criteria.
14
+ * @export
15
+ * @interface ServiceSelection
16
+ */
17
+ export interface ServiceSelection {
18
+ /**
19
+ * A list of ServiceId.
20
+ * @type {Array<string>}
21
+ * @memberof ServiceSelection
22
+ */
23
+ 'serviceId': Array<string>;
24
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * Service Related Info
14
+ * @export
15
+ * @interface Service
16
+ */
17
+ export interface Service {
18
+ /**
19
+ * An identifier for the shipping service.
20
+ * @type {string}
21
+ * @memberof Service
22
+ */
23
+ 'id': string;
24
+ /**
25
+ * The name of the shipping service.
26
+ * @type {string}
27
+ * @memberof Service
28
+ */
29
+ 'name': string;
30
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * Shipment type.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const ShipmentType: {
18
+ readonly Forward: "FORWARD";
19
+ readonly Returns: "RETURNS";
20
+ };
21
+ export type ShipmentType = typeof ShipmentType[keyof typeof ShipmentType];
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * The shipper instruction.
14
+ * @export
15
+ * @interface ShipperInstruction
16
+ */
17
+ export interface ShipperInstruction {
18
+ /**
19
+ * The delivery notes for the shipment
20
+ * @type {string}
21
+ * @memberof ShipperInstruction
22
+ */
23
+ 'deliveryNotes'?: string;
24
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * The status of the package being shipped.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const Status: {
18
+ readonly PreTransit: "PreTransit";
19
+ readonly InTransit: "InTransit";
20
+ readonly Delivered: "Delivered";
21
+ readonly Lost: "Lost";
22
+ readonly OutForDelivery: "OutForDelivery";
23
+ readonly Rejected: "Rejected";
24
+ readonly Undeliverable: "Undeliverable";
25
+ readonly DeliveryAttempted: "DeliveryAttempted";
26
+ readonly PickupCancelled: "PickupCancelled";
27
+ };
28
+ export type Status = typeof Status[keyof typeof Status];
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { DocumentType } from './document-type';
13
+ /**
14
+ * The supported document types for a service offering.
15
+ * @export
16
+ * @interface SupportedDocumentDetail
17
+ */
18
+ export interface SupportedDocumentDetail {
19
+ /**
20
+ *
21
+ * @type {DocumentType}
22
+ * @memberof SupportedDocumentDetail
23
+ */
24
+ 'name': DocumentType;
25
+ /**
26
+ * When true, the supported document type is required.
27
+ * @type {boolean}
28
+ * @memberof SupportedDocumentDetail
29
+ */
30
+ 'isMandatory': boolean;
31
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { DocumentFormat } from './document-format';
13
+ import { DocumentSize } from './document-size';
14
+ import { PrintOption } from './print-option';
15
+ /**
16
+ * Document specification that is supported for a service offering.
17
+ * @export
18
+ * @interface SupportedDocumentSpecification
19
+ */
20
+ export interface SupportedDocumentSpecification {
21
+ /**
22
+ *
23
+ * @type {DocumentFormat}
24
+ * @memberof SupportedDocumentSpecification
25
+ */
26
+ 'format': DocumentFormat;
27
+ /**
28
+ *
29
+ * @type {DocumentSize}
30
+ * @memberof SupportedDocumentSpecification
31
+ */
32
+ 'size': DocumentSize;
33
+ /**
34
+ * A list of the format options for a label.
35
+ * @type {Array<PrintOption>}
36
+ * @memberof SupportedDocumentSpecification
37
+ */
38
+ 'printOptions': Array<PrintOption>;
39
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { TaxType } from './tax-type';
13
+ /**
14
+ * Indicates the tax specifications associated with the shipment for customs compliance purposes in certain regions.
15
+ * @export
16
+ * @interface TaxDetail
17
+ */
18
+ export interface TaxDetail {
19
+ /**
20
+ *
21
+ * @type {TaxType}
22
+ * @memberof TaxDetail
23
+ */
24
+ 'taxType': TaxType;
25
+ /**
26
+ * The shipper\'s tax registration number associated with the shipment for customs compliance purposes in certain regions.
27
+ * @type {string}
28
+ * @memberof TaxDetail
29
+ */
30
+ 'taxRegistrationNumber': string;
31
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * Indicates the type of tax.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const TaxType: {
18
+ readonly Gst: "GST";
19
+ };
20
+ export type TaxType = typeof TaxType[keyof typeof TaxType];
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * Denotes time of the day, used for defining opening or closing time of access points
14
+ * @export
15
+ * @interface TimeOfDay
16
+ */
17
+ export interface TimeOfDay {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TimeOfDay
22
+ */
23
+ 'hourOfDay'?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TimeOfDay
28
+ */
29
+ 'minuteOfHour'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof TimeOfDay
34
+ */
35
+ 'secondOfMinute'?: number;
36
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * The start and end time that specifies the time interval of an event.
14
+ * @export
15
+ * @interface TimeWindow
16
+ */
17
+ export interface TimeWindow {
18
+ /**
19
+ * The start time of the time window.
20
+ * @type {string}
21
+ * @memberof TimeWindow
22
+ */
23
+ 'start'?: string;
24
+ /**
25
+ * The end time of the time window.
26
+ * @type {string}
27
+ * @memberof TimeWindow
28
+ */
29
+ 'end'?: string;
30
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { Status } from './status';
13
+ /**
14
+ * A package status summary.
15
+ * @export
16
+ * @interface TrackingSummary
17
+ */
18
+ export interface TrackingSummary {
19
+ /**
20
+ *
21
+ * @type {Status}
22
+ * @memberof TrackingSummary
23
+ */
24
+ 'status'?: Status;
25
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { ClientReferenceDetail } from './client-reference-detail';
13
+ /**
14
+ * The request schema for remove the Carrier Account associated with the provided merchant.
15
+ * @export
16
+ * @interface UnlinkCarrierAccountRequest
17
+ */
18
+ export interface UnlinkCarrierAccountRequest {
19
+ /**
20
+ * Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
21
+ * @type {Array<ClientReferenceDetail>}
22
+ * @memberof UnlinkCarrierAccountRequest
23
+ */
24
+ 'clientReferenceDetails'?: Array<ClientReferenceDetail>;
25
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * The Response for the UnlinkCarrierAccountResponse operation.
14
+ * @export
15
+ * @interface UnlinkCarrierAccountResponse
16
+ */
17
+ export interface UnlinkCarrierAccountResponse {
18
+ /**
19
+ * Is Carrier unlinked from Merchant
20
+ * @type {boolean}
21
+ * @memberof UnlinkCarrierAccountResponse
22
+ */
23
+ 'isUnlinked'?: boolean;
24
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { UnmanifestedShipmentLocation } from './unmanifested-shipment-location';
13
+ /**
14
+ * UnmanifestedCarrierInformation like carrierId CarrierName and Location
15
+ * @export
16
+ * @interface UnmanifestedCarrierInformation
17
+ */
18
+ export interface UnmanifestedCarrierInformation {
19
+ /**
20
+ * The carrier identifier for the offering, provided by the carrier.
21
+ * @type {string}
22
+ * @memberof UnmanifestedCarrierInformation
23
+ */
24
+ 'carrierId'?: string;
25
+ /**
26
+ * The carrier name for the offering.
27
+ * @type {string}
28
+ * @memberof UnmanifestedCarrierInformation
29
+ */
30
+ 'carrierName'?: string;
31
+ /**
32
+ * A list of UnmanifestedShipmentLocation
33
+ * @type {Array<UnmanifestedShipmentLocation>}
34
+ * @memberof UnmanifestedCarrierInformation
35
+ */
36
+ 'unmanifestedShipmentLocationList'?: Array<UnmanifestedShipmentLocation>;
37
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * UnmanifestedShipmentLocation info
15
+ * @export
16
+ * @interface UnmanifestedShipmentLocation
17
+ */
18
+ export interface UnmanifestedShipmentLocation {
19
+ /**
20
+ *
21
+ * @type {Address}
22
+ * @memberof UnmanifestedShipmentLocation
23
+ */
24
+ 'address'?: Address;
25
+ /**
26
+ * Its Last Manifest Date.
27
+ * @type {string}
28
+ * @memberof UnmanifestedShipmentLocation
29
+ */
30
+ 'lastManifestDate'?: string;
31
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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
+ * ValidationMetadata Details
14
+ * @export
15
+ * @interface ValidationMetadata
16
+ */
17
+ export interface ValidationMetadata {
18
+ /**
19
+ * errorMessage for the error.
20
+ * @type {string}
21
+ * @memberof ValidationMetadata
22
+ */
23
+ 'errorMessage'?: string;
24
+ /**
25
+ * validationStrategy for the error.
26
+ * @type {string}
27
+ * @memberof ValidationMetadata
28
+ */
29
+ 'validationStrategy'?: string;
30
+ /**
31
+ * Value.
32
+ * @type {string}
33
+ * @memberof ValidationMetadata
34
+ */
35
+ 'value'?: string;
36
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { CollectOnDelivery } from './collect-on-delivery';
13
+ /**
14
+ * A collection of supported value-added services.
15
+ * @export
16
+ * @interface ValueAddedServiceDetails
17
+ */
18
+ export interface ValueAddedServiceDetails {
19
+ /**
20
+ *
21
+ * @type {CollectOnDelivery}
22
+ * @memberof ValueAddedServiceDetails
23
+ */
24
+ 'collectOnDelivery'?: CollectOnDelivery;
25
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Amazon Shipping API
3
+ * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ * Contact: swa-api-core@amazon.com
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 { Currency } from './currency';
13
+ /**
14
+ * A value-added service available for purchase with a shipment service offering.
15
+ * @export
16
+ * @interface ValueAddedService
17
+ */
18
+ export interface ValueAddedService {
19
+ /**
20
+ * The identifier for the value-added service.
21
+ * @type {string}
22
+ * @memberof ValueAddedService
23
+ */
24
+ 'id': string;
25
+ /**
26
+ * The name of the value-added service.
27
+ * @type {string}
28
+ * @memberof ValueAddedService
29
+ */
30
+ 'name': string;
31
+ /**
32
+ *
33
+ * @type {Currency}
34
+ * @memberof ValueAddedService
35
+ */
36
+ 'cost': Currency;
37
+ }