@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,58 @@
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
+ import { ChannelDetails } from './channel-details';
14
+ import { Package } from './package';
15
+ import { RequestedDocumentSpecification } from './requested-document-specification';
16
+ /**
17
+ * The request schema for the directPurchaseShipment operation. When the channel type is Amazon, the shipTo address is not required and will be ignored.
18
+ * @export
19
+ * @interface DirectPurchaseRequest
20
+ */
21
+ export interface DirectPurchaseRequest {
22
+ /**
23
+ *
24
+ * @type {Address}
25
+ * @memberof DirectPurchaseRequest
26
+ */
27
+ 'shipTo'?: Address;
28
+ /**
29
+ *
30
+ * @type {Address}
31
+ * @memberof DirectPurchaseRequest
32
+ */
33
+ 'shipFrom'?: Address;
34
+ /**
35
+ *
36
+ * @type {Address}
37
+ * @memberof DirectPurchaseRequest
38
+ */
39
+ 'returnTo'?: Address;
40
+ /**
41
+ * A list of packages to be shipped through a shipping service offering.
42
+ * @type {Array<Package>}
43
+ * @memberof DirectPurchaseRequest
44
+ */
45
+ 'packages'?: Array<Package>;
46
+ /**
47
+ *
48
+ * @type {ChannelDetails}
49
+ * @memberof DirectPurchaseRequest
50
+ */
51
+ 'channelDetails': ChannelDetails;
52
+ /**
53
+ *
54
+ * @type {RequestedDocumentSpecification}
55
+ * @memberof DirectPurchaseRequest
56
+ */
57
+ 'labelSpecifications'?: RequestedDocumentSpecification;
58
+ }
@@ -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 { DirectPurchaseResult } from './direct-purchase-result';
13
+ /**
14
+ * The response schema for the directPurchaseShipment operation.
15
+ * @export
16
+ * @interface DirectPurchaseResponse
17
+ */
18
+ export interface DirectPurchaseResponse {
19
+ /**
20
+ *
21
+ * @type {DirectPurchaseResult}
22
+ * @memberof DirectPurchaseResponse
23
+ */
24
+ 'payload'?: DirectPurchaseResult;
25
+ }
@@ -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 { PackageDocumentDetail } from './package-document-detail';
13
+ /**
14
+ * The payload for the directPurchaseShipment operation.
15
+ * @export
16
+ * @interface DirectPurchaseResult
17
+ */
18
+ export interface DirectPurchaseResult {
19
+ /**
20
+ * The unique shipment identifier provided by a shipping service.
21
+ * @type {string}
22
+ * @memberof DirectPurchaseResult
23
+ */
24
+ 'shipmentId': string;
25
+ /**
26
+ * A list of post-purchase details about a package that will be shipped using a shipping service.
27
+ * @type {Array<PackageDocumentDetail>}
28
+ * @memberof DirectPurchaseResult
29
+ */
30
+ 'packageDocumentDetailList'?: Array<PackageDocumentDetail>;
31
+ }
@@ -0,0 +1,22 @@
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 file format of the document.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const DocumentFormat: {
18
+ readonly Pdf: "PDF";
19
+ readonly Png: "PNG";
20
+ readonly Zpl: "ZPL";
21
+ };
22
+ export type DocumentFormat = typeof DocumentFormat[keyof typeof DocumentFormat];
@@ -0,0 +1,41 @@
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 size dimensions of the label.
14
+ * @export
15
+ * @interface DocumentSize
16
+ */
17
+ export interface DocumentSize {
18
+ /**
19
+ * The width of the document measured in the units specified.
20
+ * @type {number}
21
+ * @memberof DocumentSize
22
+ */
23
+ 'width': number;
24
+ /**
25
+ * The length of the document measured in the units specified.
26
+ * @type {number}
27
+ * @memberof DocumentSize
28
+ */
29
+ 'length': number;
30
+ /**
31
+ * The unit of measurement.
32
+ * @type {string}
33
+ * @memberof DocumentSize
34
+ */
35
+ 'unit': DocumentSizeUnitEnum;
36
+ }
37
+ export declare const DocumentSizeUnitEnum: {
38
+ readonly Inch: "INCH";
39
+ readonly Centimeter: "CENTIMETER";
40
+ };
41
+ export type DocumentSizeUnitEnum = typeof DocumentSizeUnitEnum[keyof typeof DocumentSizeUnitEnum];
@@ -0,0 +1,23 @@
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 type of shipping document.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const DocumentType: {
18
+ readonly Packslip: "PACKSLIP";
19
+ readonly Label: "LABEL";
20
+ readonly Receipt: "RECEIPT";
21
+ readonly CustomForm: "CUSTOM_FORM";
22
+ };
23
+ export type DocumentType = typeof DocumentType[keyof typeof DocumentType];
@@ -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 list of error responses returned when a request is unsuccessful.
14
+ * @export
15
+ * @interface ErrorList
16
+ */
17
+ export interface ErrorList {
18
+ /**
19
+ *
20
+ * @type {Array<Error>}
21
+ * @memberof ErrorList
22
+ */
23
+ 'errors': Array<Error>;
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
+ * The tracking event type.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const EventCode: {
18
+ readonly ReadyForReceive: "ReadyForReceive";
19
+ readonly PickupDone: "PickupDone";
20
+ readonly Delivered: "Delivered";
21
+ readonly Departed: "Departed";
22
+ readonly DeliveryAttempted: "DeliveryAttempted";
23
+ readonly Lost: "Lost";
24
+ readonly OutForDelivery: "OutForDelivery";
25
+ readonly ArrivedAtCarrierFacility: "ArrivedAtCarrierFacility";
26
+ readonly Rejected: "Rejected";
27
+ readonly Undeliverable: "Undeliverable";
28
+ readonly PickupCancelled: "PickupCancelled";
29
+ };
30
+ export type EventCode = typeof EventCode[keyof typeof EventCode];
@@ -0,0 +1,38 @@
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 { EventCode } from './event-code';
13
+ import { Location } from './location';
14
+ /**
15
+ * A tracking event.
16
+ * @export
17
+ * @interface Event
18
+ */
19
+ export interface Event {
20
+ /**
21
+ *
22
+ * @type {EventCode}
23
+ * @memberof Event
24
+ */
25
+ 'eventCode': EventCode;
26
+ /**
27
+ *
28
+ * @type {Location}
29
+ * @memberof Event
30
+ */
31
+ 'location'?: Location;
32
+ /**
33
+ * The ISO 8601 formatted timestamp of the event.
34
+ * @type {string}
35
+ * @memberof Event
36
+ */
37
+ 'eventTime': string;
38
+ }
@@ -0,0 +1,32 @@
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 { DateRange } from './date-range';
13
+ import { OperatingHours } from './operating-hours';
14
+ /**
15
+ * Defines exceptions to standard operating hours for certain date ranges.
16
+ * @export
17
+ * @interface ExceptionOperatingHours
18
+ */
19
+ export interface ExceptionOperatingHours {
20
+ /**
21
+ *
22
+ * @type {DateRange}
23
+ * @memberof ExceptionOperatingHours
24
+ */
25
+ 'dateRange'?: DateRange;
26
+ /**
27
+ *
28
+ * @type {OperatingHours}
29
+ * @memberof ExceptionOperatingHours
30
+ */
31
+ 'operatingHours'?: OperatingHours;
32
+ }
@@ -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
+ * Object representing an excluded benefit that is excluded for an ShippingOffering/Rate.
14
+ * @export
15
+ * @interface ExcludedBenefit
16
+ */
17
+ export interface ExcludedBenefit {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExcludedBenefit
22
+ */
23
+ 'benefit': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExcludedBenefit
28
+ */
29
+ 'reasonCode': string;
30
+ }
@@ -0,0 +1,38 @@
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
+ import { ClientReferenceDetail } from './client-reference-detail';
14
+ /**
15
+ * The request schema Call to generate the collection form.
16
+ * @export
17
+ * @interface GenerateCollectionFormRequest
18
+ */
19
+ export interface GenerateCollectionFormRequest {
20
+ /**
21
+ * Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
22
+ * @type {Array<ClientReferenceDetail>}
23
+ * @memberof GenerateCollectionFormRequest
24
+ */
25
+ 'clientReferenceDetails'?: Array<ClientReferenceDetail>;
26
+ /**
27
+ * The carrier identifier for the offering, provided by the carrier.
28
+ * @type {string}
29
+ * @memberof GenerateCollectionFormRequest
30
+ */
31
+ 'carrierId': string;
32
+ /**
33
+ *
34
+ * @type {Address}
35
+ * @memberof GenerateCollectionFormRequest
36
+ */
37
+ 'shipFromAddress'?: Address;
38
+ }
@@ -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 { CollectionsFormDocument } from './collections-form-document';
13
+ /**
14
+ * The Response for the GenerateCollectionFormResponse operation.
15
+ * @export
16
+ * @interface GenerateCollectionFormResponse
17
+ */
18
+ export interface GenerateCollectionFormResponse {
19
+ /**
20
+ *
21
+ * @type {CollectionsFormDocument}
22
+ * @memberof GenerateCollectionFormResponse
23
+ */
24
+ 'collectionsFormDocument'?: CollectionsFormDocument;
25
+ }
@@ -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
+ * Generation Status.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const GenerationStatus: {
18
+ readonly Completed: "Completed";
19
+ readonly InProgress: "InProgress";
20
+ };
21
+ export type GenerationStatus = typeof GenerationStatus[keyof typeof GenerationStatus];
@@ -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
+ * Defines the latitude and longitude of the access point.
14
+ * @export
15
+ * @interface Geocode
16
+ */
17
+ export interface Geocode {
18
+ /**
19
+ * The latitude of access point.
20
+ * @type {string}
21
+ * @memberof Geocode
22
+ */
23
+ 'latitude'?: string;
24
+ /**
25
+ * The longitude of access point.
26
+ * @type {string}
27
+ * @memberof Geocode
28
+ */
29
+ 'longitude'?: 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 { GetAccessPointsResult } from './get-access-points-result';
13
+ /**
14
+ * The response schema for the GetAccessPoints operation.
15
+ * @export
16
+ * @interface GetAccessPointsResponse
17
+ */
18
+ export interface GetAccessPointsResponse {
19
+ /**
20
+ *
21
+ * @type {GetAccessPointsResult}
22
+ * @memberof GetAccessPointsResponse
23
+ */
24
+ 'payload'?: GetAccessPointsResult;
25
+ }
@@ -0,0 +1,27 @@
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 { AccessPoint } from './access-point';
13
+ /**
14
+ * The payload for the GetAccessPoints API.
15
+ * @export
16
+ * @interface GetAccessPointsResult
17
+ */
18
+ export interface GetAccessPointsResult {
19
+ /**
20
+ * Map of type of access point to list of access points
21
+ * @type {{ [key: string]: Array<AccessPoint>; }}
22
+ * @memberof GetAccessPointsResult
23
+ */
24
+ 'accessPointsMap': {
25
+ [key: string]: Array<AccessPoint>;
26
+ };
27
+ }
@@ -0,0 +1,26 @@
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 schema for the getAdditionalInputs operation.
14
+ * @export
15
+ * @interface GetAdditionalInputsResponse
16
+ */
17
+ export interface GetAdditionalInputsResponse {
18
+ /**
19
+ * The JSON schema to use to provide additional inputs when required to purchase a shipping offering.
20
+ * @type {{ [key: string]: object; }}
21
+ * @memberof GetAdditionalInputsResponse
22
+ */
23
+ 'payload'?: {
24
+ [key: string]: object;
25
+ };
26
+ }
@@ -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 { LinkableCarrier } from './linkable-carrier';
13
+ /**
14
+ * The Response for the GetCarrierAccountFormInputsResponse operation.
15
+ * @export
16
+ * @interface GetCarrierAccountFormInputsResponse
17
+ */
18
+ export interface GetCarrierAccountFormInputsResponse {
19
+ /**
20
+ * A list of LinkableCarrier
21
+ * @type {Array<LinkableCarrier>}
22
+ * @memberof GetCarrierAccountFormInputsResponse
23
+ */
24
+ 'linkableCarriersList'?: Array<LinkableCarrier>;
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 the GetCarrierAccounts operation.
15
+ * @export
16
+ * @interface GetCarrierAccountsRequest
17
+ */
18
+ export interface GetCarrierAccountsRequest {
19
+ /**
20
+ * Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
21
+ * @type {Array<ClientReferenceDetail>}
22
+ * @memberof GetCarrierAccountsRequest
23
+ */
24
+ 'clientReferenceDetails'?: Array<ClientReferenceDetail>;
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 { ActiveAccount } from './active-account';
13
+ /**
14
+ * The Response for the GetCarrierAccountsResponse operation.
15
+ * @export
16
+ * @interface GetCarrierAccountsResponse
17
+ */
18
+ export interface GetCarrierAccountsResponse {
19
+ /**
20
+ * A list of ActiveAccount
21
+ * @type {Array<ActiveAccount>}
22
+ * @memberof GetCarrierAccountsResponse
23
+ */
24
+ 'activeAccounts': Array<ActiveAccount>;
25
+ }