@amazon-sp-api-release/amazon-sp-api-sdk-js 1.6.1-alpha.0 → 1.7.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 (501) hide show
  1. package/helper/DefaultRateLimitMap.mjs +6 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
  4. package/src/awd_v2024_05_09/api/AwdApi.d.ts +74 -0
  5. package/src/awd_v2024_05_09/api/AwdApi.d.ts.map +1 -1
  6. package/src/awd_v2024_05_09/api/AwdApi.js +201 -0
  7. package/src/awd_v2024_05_09/index.d.ts +12 -1
  8. package/src/awd_v2024_05_09/index.d.ts.map +1 -1
  9. package/src/awd_v2024_05_09/index.js +78 -1
  10. package/src/awd_v2024_05_09/model/ConfirmationMode.d.ts +24 -0
  11. package/src/awd_v2024_05_09/model/ConfirmationMode.d.ts.map +1 -0
  12. package/src/awd_v2024_05_09/model/ConfirmationMode.js +42 -0
  13. package/src/awd_v2024_05_09/model/DistributionIneligibleReason.d.ts +33 -0
  14. package/src/awd_v2024_05_09/model/DistributionIneligibleReason.d.ts.map +1 -0
  15. package/src/awd_v2024_05_09/model/DistributionIneligibleReason.js +83 -0
  16. package/src/awd_v2024_05_09/model/DistributionProduct.d.ts +34 -0
  17. package/src/awd_v2024_05_09/model/DistributionProduct.d.ts.map +1 -0
  18. package/src/awd_v2024_05_09/model/DistributionProduct.js +84 -0
  19. package/src/awd_v2024_05_09/model/OutboundShipmentStatus.d.ts +54 -0
  20. package/src/awd_v2024_05_09/model/OutboundShipmentStatus.d.ts.map +1 -0
  21. package/src/awd_v2024_05_09/model/OutboundShipmentStatus.js +78 -0
  22. package/src/awd_v2024_05_09/model/OutboundShipmentSummary.d.ts +42 -0
  23. package/src/awd_v2024_05_09/model/OutboundShipmentSummary.d.ts.map +1 -0
  24. package/src/awd_v2024_05_09/model/OutboundShipmentSummary.js +101 -0
  25. package/src/awd_v2024_05_09/model/ReplenishmentOrder.d.ts +75 -0
  26. package/src/awd_v2024_05_09/model/ReplenishmentOrder.d.ts.map +1 -0
  27. package/src/awd_v2024_05_09/model/ReplenishmentOrder.js +144 -0
  28. package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.d.ts +29 -0
  29. package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.d.ts.map +1 -0
  30. package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.js +72 -0
  31. package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.d.ts +29 -0
  32. package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.d.ts.map +1 -0
  33. package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.js +72 -0
  34. package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.d.ts +25 -0
  35. package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.d.ts.map +1 -0
  36. package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.js +65 -0
  37. package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.d.ts +59 -0
  38. package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.d.ts.map +1 -0
  39. package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.js +84 -0
  40. package/src/awd_v2024_05_09/model/ReplenishmentPreferences.d.ts +22 -0
  41. package/src/awd_v2024_05_09/model/ReplenishmentPreferences.d.ts.map +1 -0
  42. package/src/awd_v2024_05_09/model/ReplenishmentPreferences.js +63 -0
  43. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts +6 -0
  44. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts.map +1 -1
  45. package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.js +8 -0
  46. package/src/finances_2024_06_19/ApiClient.js +1 -1
  47. package/src/finances_2024_06_19/api/DefaultApi.d.ts +18 -8
  48. package/src/finances_2024_06_19/api/DefaultApi.d.ts.map +1 -1
  49. package/src/finances_2024_06_19/api/DefaultApi.js +17 -16
  50. package/src/finances_2024_06_19/index.js +2 -2
  51. package/src/finances_2024_06_19/model/AmazonPayContext.d.ts +2 -2
  52. package/src/finances_2024_06_19/model/AmazonPayContext.js +3 -3
  53. package/src/finances_2024_06_19/model/Breakdown.js +2 -2
  54. package/src/finances_2024_06_19/model/BusinessContext.js +1 -1
  55. package/src/finances_2024_06_19/model/Context.d.ts +12 -12
  56. package/src/finances_2024_06_19/model/Context.js +26 -26
  57. package/src/finances_2024_06_19/model/Currency.d.ts +1 -1
  58. package/src/finances_2024_06_19/model/Currency.js +2 -2
  59. package/src/finances_2024_06_19/model/DeferredContext.d.ts +1 -1
  60. package/src/finances_2024_06_19/model/DeferredContext.js +3 -3
  61. package/src/finances_2024_06_19/model/Error.d.ts +1 -1
  62. package/src/finances_2024_06_19/model/Error.js +2 -2
  63. package/src/finances_2024_06_19/model/ErrorList.d.ts +1 -1
  64. package/src/finances_2024_06_19/model/ErrorList.js +3 -3
  65. package/src/finances_2024_06_19/model/Item.d.ts +3 -3
  66. package/src/finances_2024_06_19/model/Item.js +5 -5
  67. package/src/finances_2024_06_19/model/ItemRelatedIdentifier.d.ts +1 -1
  68. package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +2 -2
  69. package/src/finances_2024_06_19/model/ListTransactionsResponse.js +1 -1
  70. package/src/finances_2024_06_19/model/MarketplaceDetails.d.ts +1 -1
  71. package/src/finances_2024_06_19/model/MarketplaceDetails.js +2 -2
  72. package/src/finances_2024_06_19/model/PaymentsContext.d.ts +4 -4
  73. package/src/finances_2024_06_19/model/PaymentsContext.js +6 -6
  74. package/src/finances_2024_06_19/model/ProductContext.d.ts +4 -4
  75. package/src/finances_2024_06_19/model/ProductContext.js +5 -5
  76. package/src/finances_2024_06_19/model/RelatedIdentifier.d.ts +2 -2
  77. package/src/finances_2024_06_19/model/RelatedIdentifier.js +3 -3
  78. package/src/finances_2024_06_19/model/SellingPartnerMetadata.d.ts +2 -2
  79. package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +4 -4
  80. package/src/finances_2024_06_19/model/TimeRangeContext.d.ts +2 -2
  81. package/src/finances_2024_06_19/model/TimeRangeContext.js +4 -4
  82. package/src/finances_2024_06_19/model/Transaction.d.ts +6 -6
  83. package/src/finances_2024_06_19/model/Transaction.js +8 -8
  84. package/src/finances_2024_06_19/model/TransactionsPayload.d.ts +2 -2
  85. package/src/finances_2024_06_19/model/TransactionsPayload.js +3 -3
  86. package/src/finances_v0/ApiClient.js +1 -1
  87. package/src/finances_v0/api/DefaultApi.d.ts +36 -36
  88. package/src/finances_v0/api/DefaultApi.js +37 -37
  89. package/src/finances_v0/index.d.ts +2 -1
  90. package/src/finances_v0/index.d.ts.map +1 -1
  91. package/src/finances_v0/index.js +9 -2
  92. package/src/finances_v0/model/AdhocDisbursementEvent.d.ts +2 -2
  93. package/src/finances_v0/model/AdhocDisbursementEvent.js +3 -3
  94. package/src/finances_v0/model/AdjustmentEvent.d.ts +2 -2
  95. package/src/finances_v0/model/AdjustmentEvent.js +3 -3
  96. package/src/finances_v0/model/AdjustmentItem.d.ts +1 -1
  97. package/src/finances_v0/model/AdjustmentItem.js +2 -2
  98. package/src/finances_v0/model/AffordabilityExpenseEvent.d.ts +3 -3
  99. package/src/finances_v0/model/AffordabilityExpenseEvent.js +4 -4
  100. package/src/finances_v0/model/CapacityReservationBillingEvent.d.ts +2 -2
  101. package/src/finances_v0/model/CapacityReservationBillingEvent.js +3 -3
  102. package/src/finances_v0/model/ChargeComponent.js +2 -2
  103. package/src/finances_v0/model/ChargeInstrument.js +1 -1
  104. package/src/finances_v0/model/ChargeRefundEvent.d.ts +3 -3
  105. package/src/finances_v0/model/ChargeRefundEvent.js +4 -4
  106. package/src/finances_v0/model/ChargeRefundTransaction.js +1 -1
  107. package/src/finances_v0/model/CouponPaymentEvent.d.ts +1 -1
  108. package/src/finances_v0/model/CouponPaymentEvent.js +2 -2
  109. package/src/finances_v0/model/Currency.d.ts +1 -1
  110. package/src/finances_v0/model/Currency.js +2 -2
  111. package/src/finances_v0/model/DebtRecoveryEvent.d.ts +1 -1
  112. package/src/finances_v0/model/DebtRecoveryEvent.js +2 -2
  113. package/src/finances_v0/model/DebtRecoveryItem.d.ts +2 -2
  114. package/src/finances_v0/model/DebtRecoveryItem.js +3 -3
  115. package/src/finances_v0/model/DirectPayment.d.ts +1 -1
  116. package/src/finances_v0/model/DirectPayment.js +2 -2
  117. package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.d.ts +34 -0
  118. package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.d.ts.map +1 -0
  119. package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.js +79 -0
  120. package/src/finances_v0/model/Error.js +1 -1
  121. package/src/finances_v0/model/FBALiquidationEvent.d.ts +1 -1
  122. package/src/finances_v0/model/FBALiquidationEvent.js +2 -2
  123. package/src/finances_v0/model/FailedAdhocDisbursementEvent.d.ts +4 -4
  124. package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +5 -5
  125. package/src/finances_v0/model/FeeComponent.js +1 -1
  126. package/src/finances_v0/model/FinancialEventGroup.d.ts +4 -4
  127. package/src/finances_v0/model/FinancialEventGroup.js +5 -5
  128. package/src/finances_v0/model/FinancialEvents.d.ts +13 -6
  129. package/src/finances_v0/model/FinancialEvents.d.ts.map +1 -1
  130. package/src/finances_v0/model/FinancialEvents.js +17 -8
  131. package/src/finances_v0/model/ImagingServicesFeeEvent.d.ts +1 -1
  132. package/src/finances_v0/model/ImagingServicesFeeEvent.js +2 -2
  133. package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +2 -2
  134. package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +2 -2
  135. package/src/finances_v0/model/ListFinancialEventsPayload.js +2 -2
  136. package/src/finances_v0/model/ListFinancialEventsResponse.js +2 -2
  137. package/src/finances_v0/model/LoanServicingEvent.d.ts +1 -1
  138. package/src/finances_v0/model/LoanServicingEvent.js +2 -2
  139. package/src/finances_v0/model/NetworkComminglingTransactionEvent.d.ts +2 -2
  140. package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +3 -3
  141. package/src/finances_v0/model/PayWithAmazonEvent.d.ts +4 -4
  142. package/src/finances_v0/model/PayWithAmazonEvent.js +5 -5
  143. package/src/finances_v0/model/ProductAdsPaymentEvent.d.ts +3 -3
  144. package/src/finances_v0/model/ProductAdsPaymentEvent.js +4 -4
  145. package/src/finances_v0/model/Promotion.js +1 -1
  146. package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.d.ts +3 -3
  147. package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +4 -4
  148. package/src/finances_v0/model/RemovalShipmentEvent.d.ts +4 -4
  149. package/src/finances_v0/model/RemovalShipmentEvent.js +5 -5
  150. package/src/finances_v0/model/RemovalShipmentItem.d.ts +1 -1
  151. package/src/finances_v0/model/RemovalShipmentItem.js +2 -2
  152. package/src/finances_v0/model/RemovalShipmentItemAdjustment.d.ts +2 -2
  153. package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +3 -3
  154. package/src/finances_v0/model/RentalTransactionEvent.d.ts +3 -3
  155. package/src/finances_v0/model/RentalTransactionEvent.js +4 -4
  156. package/src/finances_v0/model/RetrochargeEvent.d.ts +2 -2
  157. package/src/finances_v0/model/RetrochargeEvent.js +3 -3
  158. package/src/finances_v0/model/SAFETReimbursementEvent.d.ts +2 -2
  159. package/src/finances_v0/model/SAFETReimbursementEvent.js +3 -3
  160. package/src/finances_v0/model/SAFETReimbursementItem.js +1 -1
  161. package/src/finances_v0/model/SellerDealPaymentEvent.d.ts +3 -3
  162. package/src/finances_v0/model/SellerDealPaymentEvent.js +4 -4
  163. package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.d.ts +1 -1
  164. package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +2 -2
  165. package/src/finances_v0/model/ServiceFeeEvent.js +1 -1
  166. package/src/finances_v0/model/ShipmentEvent.d.ts +1 -1
  167. package/src/finances_v0/model/ShipmentEvent.js +2 -2
  168. package/src/finances_v0/model/ShipmentItem.js +1 -1
  169. package/src/finances_v0/model/SolutionProviderCreditEvent.d.ts +1 -1
  170. package/src/finances_v0/model/SolutionProviderCreditEvent.js +2 -2
  171. package/src/finances_v0/model/TDSReimbursementEvent.d.ts +1 -1
  172. package/src/finances_v0/model/TDSReimbursementEvent.js +2 -2
  173. package/src/finances_v0/model/TaxWithheldComponent.d.ts +1 -1
  174. package/src/finances_v0/model/TaxWithheldComponent.js +2 -2
  175. package/src/finances_v0/model/TaxWithholdingEvent.d.ts +1 -1
  176. package/src/finances_v0/model/TaxWithholdingEvent.js +3 -3
  177. package/src/finances_v0/model/TaxWithholdingPeriod.d.ts +2 -2
  178. package/src/finances_v0/model/TaxWithholdingPeriod.js +4 -4
  179. package/src/finances_v0/model/TrialShipmentEvent.d.ts +1 -1
  180. package/src/finances_v0/model/TrialShipmentEvent.js +2 -2
  181. package/src/finances_v0/model/ValueAddedServiceChargeEvent.d.ts +2 -2
  182. package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +3 -3
  183. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts +90 -90
  184. package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +90 -90
  185. package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.d.ts +1 -1
  186. package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +2 -2
  187. package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.d.ts +1 -1
  188. package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +2 -2
  189. package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.d.ts +4 -14
  190. package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.d.ts.map +1 -1
  191. package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +11 -12
  192. package/src/invoices_v2024_06_19/api/InvoicesApi.d.ts +71 -0
  193. package/src/invoices_v2024_06_19/api/InvoicesApi.d.ts.map +1 -1
  194. package/src/invoices_v2024_06_19/api/InvoicesApi.js +206 -0
  195. package/src/invoices_v2024_06_19/index.d.ts +8 -1
  196. package/src/invoices_v2024_06_19/index.d.ts.map +1 -1
  197. package/src/invoices_v2024_06_19/index.js +49 -0
  198. package/src/invoices_v2024_06_19/model/CarrierDetailsContext.d.ts +64 -0
  199. package/src/invoices_v2024_06_19/model/CarrierDetailsContext.d.ts.map +1 -0
  200. package/src/invoices_v2024_06_19/model/CarrierDetailsContext.js +119 -0
  201. package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.d.ts +29 -0
  202. package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.d.ts.map +1 -0
  203. package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.js +48 -0
  204. package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.d.ts +44 -0
  205. package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.d.ts.map +1 -0
  206. package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.js +112 -0
  207. package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.d.ts +35 -0
  208. package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.d.ts.map +1 -0
  209. package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.js +80 -0
  210. package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.d.ts +22 -0
  211. package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.d.ts.map +1 -0
  212. package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.js +63 -0
  213. package/src/invoices_v2024_06_19/model/InvoiceDocument.d.ts +22 -0
  214. package/src/invoices_v2024_06_19/model/InvoiceDocument.d.ts.map +1 -0
  215. package/src/invoices_v2024_06_19/model/InvoiceDocument.js +63 -0
  216. package/src/invoices_v2024_06_19/model/InvoiceError.d.ts +28 -0
  217. package/src/invoices_v2024_06_19/model/InvoiceError.d.ts.map +1 -0
  218. package/src/invoices_v2024_06_19/model/InvoiceError.js +71 -0
  219. package/src/messaging_v1/api/MessagingApi.d.ts +0 -18
  220. package/src/messaging_v1/api/MessagingApi.d.ts.map +1 -1
  221. package/src/messaging_v1/api/MessagingApi.js +0 -64
  222. package/src/messaging_v1/index.d.ts +1 -3
  223. package/src/messaging_v1/index.d.ts.map +1 -1
  224. package/src/messaging_v1/index.js +0 -14
  225. package/src/orders_v0/api/OrdersV0Api.d.ts +19 -10
  226. package/src/orders_v0/api/OrdersV0Api.d.ts.map +1 -1
  227. package/src/orders_v0/api/OrdersV0Api.js +54 -9
  228. package/src/orders_v0/index.d.ts +10 -1
  229. package/src/orders_v0/index.d.ts.map +1 -1
  230. package/src/orders_v0/index.js +63 -0
  231. package/src/orders_v0/model/BuyerInfo.d.ts +0 -6
  232. package/src/orders_v0/model/BuyerInfo.d.ts.map +1 -1
  233. package/src/orders_v0/model/BuyerInfo.js +0 -8
  234. package/src/orders_v0/model/ExportInfo.d.ts +28 -0
  235. package/src/orders_v0/model/ExportInfo.d.ts.map +1 -0
  236. package/src/orders_v0/model/ExportInfo.js +71 -0
  237. package/src/orders_v0/model/FulfillmentInstructions.d.ts +32 -0
  238. package/src/orders_v0/model/FulfillmentInstructions.d.ts.map +1 -0
  239. package/src/orders_v0/model/FulfillmentInstructions.js +74 -0
  240. package/src/orders_v0/model/FulfillmentLocation.d.ts +22 -0
  241. package/src/orders_v0/model/FulfillmentLocation.d.ts.map +1 -0
  242. package/src/orders_v0/model/FulfillmentLocation.js +63 -0
  243. package/src/orders_v0/model/FulfillmentPlan.d.ts +69 -0
  244. package/src/orders_v0/model/FulfillmentPlan.d.ts.map +1 -0
  245. package/src/orders_v0/model/FulfillmentPlan.js +188 -0
  246. package/src/orders_v0/model/FulfillmentPlanConstraintType.d.ts +24 -0
  247. package/src/orders_v0/model/FulfillmentPlanConstraintType.d.ts.map +1 -0
  248. package/src/orders_v0/model/FulfillmentPlanConstraintType.js +42 -0
  249. package/src/orders_v0/model/FulfillmentPlanItem.d.ts +28 -0
  250. package/src/orders_v0/model/FulfillmentPlanItem.d.ts.map +1 -0
  251. package/src/orders_v0/model/FulfillmentPlanItem.js +75 -0
  252. package/src/orders_v0/model/FulfillmentPlanShippingConstraints.d.ts +27 -0
  253. package/src/orders_v0/model/FulfillmentPlanShippingConstraints.d.ts.map +1 -0
  254. package/src/orders_v0/model/FulfillmentPlanShippingConstraints.js +70 -0
  255. package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.d.ts +29 -0
  256. package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.d.ts.map +1 -0
  257. package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.js +72 -0
  258. package/src/orders_v0/model/OrderBuyerInfo.d.ts +0 -6
  259. package/src/orders_v0/model/OrderBuyerInfo.d.ts.map +1 -1
  260. package/src/orders_v0/model/OrderBuyerInfo.js +0 -8
  261. package/src/orders_v0/model/OrderItem.d.ts +6 -0
  262. package/src/orders_v0/model/OrderItem.d.ts.map +1 -1
  263. package/src/orders_v0/model/OrderItem.js +8 -0
  264. package/src/orders_v0/model/ShippingInstructions.d.ts +34 -0
  265. package/src/orders_v0/model/ShippingInstructions.d.ts.map +1 -0
  266. package/src/orders_v0/model/ShippingInstructions.js +79 -0
  267. package/src/orders_v2026_01_01/ApiClient.d.ts +260 -0
  268. package/src/orders_v2026_01_01/ApiClient.d.ts.map +1 -0
  269. package/src/orders_v2026_01_01/ApiClient.js +827 -0
  270. package/src/orders_v2026_01_01/api/GetOrderApi.d.ts +49 -0
  271. package/src/orders_v2026_01_01/api/GetOrderApi.d.ts.map +1 -0
  272. package/src/orders_v2026_01_01/api/GetOrderApi.js +116 -0
  273. package/src/orders_v2026_01_01/api/SearchOrdersApi.d.ts +83 -0
  274. package/src/orders_v2026_01_01/api/SearchOrdersApi.d.ts.map +1 -0
  275. package/src/orders_v2026_01_01/api/SearchOrdersApi.js +135 -0
  276. package/src/orders_v2026_01_01/index.d.ts +59 -0
  277. package/src/orders_v2026_01_01/index.d.ts.map +1 -0
  278. package/src/orders_v2026_01_01/index.js +420 -0
  279. package/src/orders_v2026_01_01/model/AddressExtendedFields.d.ts +40 -0
  280. package/src/orders_v2026_01_01/model/AddressExtendedFields.d.ts.map +1 -0
  281. package/src/orders_v2026_01_01/model/AddressExtendedFields.js +87 -0
  282. package/src/orders_v2026_01_01/model/Alias.d.ts +27 -0
  283. package/src/orders_v2026_01_01/model/Alias.d.ts.map +1 -0
  284. package/src/orders_v2026_01_01/model/Alias.js +75 -0
  285. package/src/orders_v2026_01_01/model/AssociatedOrder.d.ts +28 -0
  286. package/src/orders_v2026_01_01/model/AssociatedOrder.d.ts.map +1 -0
  287. package/src/orders_v2026_01_01/model/AssociatedOrder.js +71 -0
  288. package/src/orders_v2026_01_01/model/BusinessHour.d.ts +44 -0
  289. package/src/orders_v2026_01_01/model/BusinessHour.d.ts.map +1 -0
  290. package/src/orders_v2026_01_01/model/BusinessHour.js +121 -0
  291. package/src/orders_v2026_01_01/model/Buyer.d.ts +40 -0
  292. package/src/orders_v2026_01_01/model/Buyer.d.ts.map +1 -0
  293. package/src/orders_v2026_01_01/model/Buyer.js +87 -0
  294. package/src/orders_v2026_01_01/model/ConstraintType.d.ts +19 -0
  295. package/src/orders_v2026_01_01/model/ConstraintType.d.ts.map +1 -0
  296. package/src/orders_v2026_01_01/model/ConstraintType.js +36 -0
  297. package/src/orders_v2026_01_01/model/CustomerAddress.d.ts +100 -0
  298. package/src/orders_v2026_01_01/model/CustomerAddress.d.ts.map +1 -0
  299. package/src/orders_v2026_01_01/model/CustomerAddress.js +167 -0
  300. package/src/orders_v2026_01_01/model/DateTimeRange.d.ts +28 -0
  301. package/src/orders_v2026_01_01/model/DateTimeRange.d.ts.map +1 -0
  302. package/src/orders_v2026_01_01/model/DateTimeRange.js +71 -0
  303. package/src/orders_v2026_01_01/model/DeliveryPreference.d.ts +40 -0
  304. package/src/orders_v2026_01_01/model/DeliveryPreference.d.ts.map +1 -0
  305. package/src/orders_v2026_01_01/model/DeliveryPreference.js +87 -0
  306. package/src/orders_v2026_01_01/model/Error.d.ts +33 -0
  307. package/src/orders_v2026_01_01/model/Error.d.ts.map +1 -0
  308. package/src/orders_v2026_01_01/model/Error.js +83 -0
  309. package/src/orders_v2026_01_01/model/ErrorList.d.ts +26 -0
  310. package/src/orders_v2026_01_01/model/ErrorList.d.ts.map +1 -0
  311. package/src/orders_v2026_01_01/model/ErrorList.js +66 -0
  312. package/src/orders_v2026_01_01/model/ExceptionDate.d.ts +45 -0
  313. package/src/orders_v2026_01_01/model/ExceptionDate.d.ts.map +1 -0
  314. package/src/orders_v2026_01_01/model/ExceptionDate.js +99 -0
  315. package/src/orders_v2026_01_01/model/FulfillmentStatus.d.ts +49 -0
  316. package/src/orders_v2026_01_01/model/FulfillmentStatus.d.ts.map +1 -0
  317. package/src/orders_v2026_01_01/model/FulfillmentStatus.js +72 -0
  318. package/src/orders_v2026_01_01/model/GetOrderResponse.d.ts +26 -0
  319. package/src/orders_v2026_01_01/model/GetOrderResponse.d.ts.map +1 -0
  320. package/src/orders_v2026_01_01/model/GetOrderResponse.js +65 -0
  321. package/src/orders_v2026_01_01/model/GiftOption.d.ts +28 -0
  322. package/src/orders_v2026_01_01/model/GiftOption.d.ts.map +1 -0
  323. package/src/orders_v2026_01_01/model/GiftOption.js +71 -0
  324. package/src/orders_v2026_01_01/model/HourMinute.d.ts +28 -0
  325. package/src/orders_v2026_01_01/model/HourMinute.d.ts.map +1 -0
  326. package/src/orders_v2026_01_01/model/HourMinute.js +71 -0
  327. package/src/orders_v2026_01_01/model/ItemCancellation.d.ts +22 -0
  328. package/src/orders_v2026_01_01/model/ItemCancellation.d.ts.map +1 -0
  329. package/src/orders_v2026_01_01/model/ItemCancellation.js +63 -0
  330. package/src/orders_v2026_01_01/model/ItemCancellationRequest.d.ts +28 -0
  331. package/src/orders_v2026_01_01/model/ItemCancellationRequest.d.ts.map +1 -0
  332. package/src/orders_v2026_01_01/model/ItemCancellationRequest.js +71 -0
  333. package/src/orders_v2026_01_01/model/ItemCondition.d.ts +34 -0
  334. package/src/orders_v2026_01_01/model/ItemCondition.d.ts.map +1 -0
  335. package/src/orders_v2026_01_01/model/ItemCondition.js +79 -0
  336. package/src/orders_v2026_01_01/model/ItemCustomization.d.ts +22 -0
  337. package/src/orders_v2026_01_01/model/ItemCustomization.d.ts.map +1 -0
  338. package/src/orders_v2026_01_01/model/ItemCustomization.js +63 -0
  339. package/src/orders_v2026_01_01/model/ItemExpense.d.ts +22 -0
  340. package/src/orders_v2026_01_01/model/ItemExpense.d.ts.map +1 -0
  341. package/src/orders_v2026_01_01/model/ItemExpense.js +63 -0
  342. package/src/orders_v2026_01_01/model/ItemFulfillment.d.ts +46 -0
  343. package/src/orders_v2026_01_01/model/ItemFulfillment.d.ts.map +1 -0
  344. package/src/orders_v2026_01_01/model/ItemFulfillment.js +95 -0
  345. package/src/orders_v2026_01_01/model/ItemInternationalShipping.d.ts +22 -0
  346. package/src/orders_v2026_01_01/model/ItemInternationalShipping.d.ts.map +1 -0
  347. package/src/orders_v2026_01_01/model/ItemInternationalShipping.js +63 -0
  348. package/src/orders_v2026_01_01/model/ItemPacking.d.ts +22 -0
  349. package/src/orders_v2026_01_01/model/ItemPacking.d.ts.map +1 -0
  350. package/src/orders_v2026_01_01/model/ItemPacking.js +63 -0
  351. package/src/orders_v2026_01_01/model/ItemPicking.d.ts +22 -0
  352. package/src/orders_v2026_01_01/model/ItemPicking.d.ts.map +1 -0
  353. package/src/orders_v2026_01_01/model/ItemPicking.js +63 -0
  354. package/src/orders_v2026_01_01/model/ItemPointsCost.d.ts +22 -0
  355. package/src/orders_v2026_01_01/model/ItemPointsCost.d.ts.map +1 -0
  356. package/src/orders_v2026_01_01/model/ItemPointsCost.js +63 -0
  357. package/src/orders_v2026_01_01/model/ItemPrice.d.ts +28 -0
  358. package/src/orders_v2026_01_01/model/ItemPrice.d.ts.map +1 -0
  359. package/src/orders_v2026_01_01/model/ItemPrice.js +71 -0
  360. package/src/orders_v2026_01_01/model/ItemProceeds.d.ts +29 -0
  361. package/src/orders_v2026_01_01/model/ItemProceeds.d.ts.map +1 -0
  362. package/src/orders_v2026_01_01/model/ItemProceeds.js +72 -0
  363. package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.d.ts +35 -0
  364. package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.d.ts.map +1 -0
  365. package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.js +80 -0
  366. package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.d.ts +28 -0
  367. package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.d.ts.map +1 -0
  368. package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.js +71 -0
  369. package/src/orders_v2026_01_01/model/ItemProduct.d.ts +58 -0
  370. package/src/orders_v2026_01_01/model/ItemProduct.d.ts.map +1 -0
  371. package/src/orders_v2026_01_01/model/ItemProduct.js +111 -0
  372. package/src/orders_v2026_01_01/model/ItemPromotion.d.ts +23 -0
  373. package/src/orders_v2026_01_01/model/ItemPromotion.d.ts.map +1 -0
  374. package/src/orders_v2026_01_01/model/ItemPromotion.js +64 -0
  375. package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.d.ts +22 -0
  376. package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.d.ts.map +1 -0
  377. package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.js +63 -0
  378. package/src/orders_v2026_01_01/model/ItemShipping.d.ts +34 -0
  379. package/src/orders_v2026_01_01/model/ItemShipping.d.ts.map +1 -0
  380. package/src/orders_v2026_01_01/model/ItemShipping.js +79 -0
  381. package/src/orders_v2026_01_01/model/ItemShippingConstraints.d.ts +42 -0
  382. package/src/orders_v2026_01_01/model/ItemShippingConstraints.d.ts.map +1 -0
  383. package/src/orders_v2026_01_01/model/ItemShippingConstraints.js +91 -0
  384. package/src/orders_v2026_01_01/model/ItemSubstitutionOption.d.ts +46 -0
  385. package/src/orders_v2026_01_01/model/ItemSubstitutionOption.d.ts.map +1 -0
  386. package/src/orders_v2026_01_01/model/ItemSubstitutionOption.js +95 -0
  387. package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.d.ts +43 -0
  388. package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.d.ts.map +1 -0
  389. package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.js +99 -0
  390. package/src/orders_v2026_01_01/model/Measurement.d.ts +59 -0
  391. package/src/orders_v2026_01_01/model/Measurement.d.ts.map +1 -0
  392. package/src/orders_v2026_01_01/model/Measurement.js +226 -0
  393. package/src/orders_v2026_01_01/model/MerchantAddress.d.ts +76 -0
  394. package/src/orders_v2026_01_01/model/MerchantAddress.d.ts.map +1 -0
  395. package/src/orders_v2026_01_01/model/MerchantAddress.js +135 -0
  396. package/src/orders_v2026_01_01/model/Money.d.ts +27 -0
  397. package/src/orders_v2026_01_01/model/Money.d.ts.map +1 -0
  398. package/src/orders_v2026_01_01/model/Money.js +75 -0
  399. package/src/orders_v2026_01_01/model/Order.d.ts +86 -0
  400. package/src/orders_v2026_01_01/model/Order.d.ts.map +1 -0
  401. package/src/orders_v2026_01_01/model/Order.js +173 -0
  402. package/src/orders_v2026_01_01/model/OrderFulfillment.d.ts +49 -0
  403. package/src/orders_v2026_01_01/model/OrderFulfillment.d.ts.map +1 -0
  404. package/src/orders_v2026_01_01/model/OrderFulfillment.js +96 -0
  405. package/src/orders_v2026_01_01/model/OrderItem.d.ts +72 -0
  406. package/src/orders_v2026_01_01/model/OrderItem.d.ts.map +1 -0
  407. package/src/orders_v2026_01_01/model/OrderItem.js +141 -0
  408. package/src/orders_v2026_01_01/model/OrderPackage.d.ts +74 -0
  409. package/src/orders_v2026_01_01/model/OrderPackage.d.ts.map +1 -0
  410. package/src/orders_v2026_01_01/model/OrderPackage.js +130 -0
  411. package/src/orders_v2026_01_01/model/OrderProceeds.d.ts +22 -0
  412. package/src/orders_v2026_01_01/model/OrderProceeds.d.ts.map +1 -0
  413. package/src/orders_v2026_01_01/model/OrderProceeds.js +63 -0
  414. package/src/orders_v2026_01_01/model/PackageItem.d.ts +33 -0
  415. package/src/orders_v2026_01_01/model/PackageItem.d.ts.map +1 -0
  416. package/src/orders_v2026_01_01/model/PackageItem.js +83 -0
  417. package/src/orders_v2026_01_01/model/PackageStatus.d.ts +45 -0
  418. package/src/orders_v2026_01_01/model/PackageStatus.d.ts.map +1 -0
  419. package/src/orders_v2026_01_01/model/PackageStatus.js +116 -0
  420. package/src/orders_v2026_01_01/model/Pagination.d.ts +22 -0
  421. package/src/orders_v2026_01_01/model/Pagination.d.ts.map +1 -0
  422. package/src/orders_v2026_01_01/model/Pagination.js +63 -0
  423. package/src/orders_v2026_01_01/model/PointsGranted.d.ts +28 -0
  424. package/src/orders_v2026_01_01/model/PointsGranted.d.ts.map +1 -0
  425. package/src/orders_v2026_01_01/model/PointsGranted.js +71 -0
  426. package/src/orders_v2026_01_01/model/PreferredDeliveryTime.d.ts +30 -0
  427. package/src/orders_v2026_01_01/model/PreferredDeliveryTime.d.ts.map +1 -0
  428. package/src/orders_v2026_01_01/model/PreferredDeliveryTime.js +73 -0
  429. package/src/orders_v2026_01_01/model/Recipient.d.ts +28 -0
  430. package/src/orders_v2026_01_01/model/Recipient.d.ts.map +1 -0
  431. package/src/orders_v2026_01_01/model/Recipient.js +71 -0
  432. package/src/orders_v2026_01_01/model/SalesChannel.d.ts +37 -0
  433. package/src/orders_v2026_01_01/model/SalesChannel.d.ts.map +1 -0
  434. package/src/orders_v2026_01_01/model/SalesChannel.js +81 -0
  435. package/src/orders_v2026_01_01/model/SearchOrdersResponse.d.ts +44 -0
  436. package/src/orders_v2026_01_01/model/SearchOrdersResponse.d.ts.map +1 -0
  437. package/src/orders_v2026_01_01/model/SearchOrdersResponse.js +90 -0
  438. package/src/orders_v2026_01_01/model/TimeWindow.d.ts +27 -0
  439. package/src/orders_v2026_01_01/model/TimeWindow.d.ts.map +1 -0
  440. package/src/orders_v2026_01_01/model/TimeWindow.js +70 -0
  441. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.d.ts +86 -20
  442. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.d.ts.map +1 -1
  443. package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +108 -20
  444. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.d.ts +8 -8
  445. package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +8 -8
  446. package/src/replenishment_v2022_11_07/model/Metric.d.ts +10 -0
  447. package/src/replenishment_v2022_11_07/model/Metric.d.ts.map +1 -1
  448. package/src/replenishment_v2022_11_07/model/Metric.js +12 -0
  449. package/src/sellerWallet_2024_03_01/api/TransactionsApi.d.ts +4 -4
  450. package/src/sellerWallet_2024_03_01/api/TransactionsApi.js +4 -4
  451. package/src/sellerWallet_2024_03_01/index.d.ts +3 -2
  452. package/src/sellerWallet_2024_03_01/index.d.ts.map +1 -1
  453. package/src/sellerWallet_2024_03_01/index.js +14 -7
  454. package/src/sellerWallet_2024_03_01/model/BankAccount.d.ts +22 -12
  455. package/src/sellerWallet_2024_03_01/model/BankAccount.d.ts.map +1 -1
  456. package/src/sellerWallet_2024_03_01/model/BankAccount.js +6 -12
  457. package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.d.ts +0 -5
  458. package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.d.ts.map +1 -1
  459. package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.js +0 -6
  460. package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.d.ts +62 -0
  461. package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.d.ts.map +1 -0
  462. package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.js +179 -0
  463. package/src/sellerWallet_2024_03_01/model/PayeeEntityType.d.ts +29 -0
  464. package/src/sellerWallet_2024_03_01/model/PayeeEntityType.d.ts.map +1 -0
  465. package/src/sellerWallet_2024_03_01/model/PayeeEntityType.js +48 -0
  466. package/src/sellerWallet_2024_03_01/model/Transaction.d.ts +8 -3
  467. package/src/sellerWallet_2024_03_01/model/Transaction.d.ts.map +1 -1
  468. package/src/sellerWallet_2024_03_01/model/Transaction.js +11 -3
  469. package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.d.ts +4 -4
  470. package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.d.ts.map +1 -1
  471. package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.js +5 -5
  472. package/src/vendorshipments_v1/api/VendorShippingApi.d.ts +18 -2
  473. package/src/vendorshipments_v1/api/VendorShippingApi.d.ts.map +1 -1
  474. package/src/vendorshipments_v1/api/VendorShippingApi.js +52 -2
  475. package/src/vendorshipments_v1/index.d.ts +5 -1
  476. package/src/vendorshipments_v1/index.d.ts.map +1 -1
  477. package/src/vendorshipments_v1/index.js +28 -0
  478. package/src/vendorshipments_v1/model/ItemDetails.d.ts +34 -0
  479. package/src/vendorshipments_v1/model/ItemDetails.d.ts.map +1 -1
  480. package/src/vendorshipments_v1/model/ItemDetails.js +63 -0
  481. package/src/vendorshipments_v1/model/RegulationReferences.d.ts +40 -0
  482. package/src/vendorshipments_v1/model/RegulationReferences.d.ts.map +1 -0
  483. package/src/vendorshipments_v1/model/RegulationReferences.js +87 -0
  484. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.d.ts +26 -0
  485. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.d.ts.map +1 -0
  486. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.js +65 -0
  487. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.d.ts +29 -0
  488. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.d.ts.map +1 -0
  489. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.js +72 -0
  490. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.d.ts +22 -0
  491. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.d.ts.map +1 -0
  492. package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.js +63 -0
  493. package/src/messaging_v1/model/CreateAmazonMotorsRequest.d.ts +0 -23
  494. package/src/messaging_v1/model/CreateAmazonMotorsRequest.d.ts.map +0 -1
  495. package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +0 -64
  496. package/src/messaging_v1/model/CreateAmazonMotorsResponse.d.ts +0 -23
  497. package/src/messaging_v1/model/CreateAmazonMotorsResponse.d.ts.map +0 -1
  498. package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +0 -64
  499. package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.d.ts +0 -45
  500. package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.d.ts.map +0 -1
  501. package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.js +0 -121
@@ -17,7 +17,7 @@ export class DeliveryWindowOption {
17
17
  * Contains information pertaining to a delivery window option.
18
18
  * @alias module:fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption
19
19
  * @class
20
- * @param availabilityType {String} Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
20
+ * @param availabilityType {String} The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
21
21
  * @param deliveryWindowOptionId {String} Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
22
22
  * @param endDate {Date} The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
23
23
  * @param startDate {Date} The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
@@ -24,7 +24,7 @@ export class DeliveryWindowOption {
24
24
  * Contains information pertaining to a delivery window option.
25
25
  * @alias module:fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption
26
26
  * @class
27
- * @param availabilityType {String} Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
27
+ * @param availabilityType {String} The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
28
28
  * @param deliveryWindowOptionId {String} Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
29
29
  * @param endDate {Date} The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
30
30
  * @param startDate {Date} The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
@@ -70,7 +70,7 @@ export class DeliveryWindowOption {
70
70
  }
71
71
 
72
72
  /**
73
- * Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
73
+ * The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
74
74
  * @member {String} availabilityType
75
75
  * @type {String}
76
76
  */
@@ -17,7 +17,7 @@ export class SelectedDeliveryWindow {
17
17
  * Selected delivery window attributes.
18
18
  * @alias module:fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow
19
19
  * @class
20
- * @param availabilityType {String} Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
20
+ * @param availabilityType {String} The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
21
21
  * @param deliveryWindowOptionId {String} Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
22
22
  * @param endDate {Date} The end timestamp of the window.
23
23
  * @param startDate {Date} The start timestamp of the window.
@@ -24,7 +24,7 @@ export class SelectedDeliveryWindow {
24
24
  * Selected delivery window attributes.
25
25
  * @alias module:fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow
26
26
  * @class
27
- * @param availabilityType {String} Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
27
+ * @param availabilityType {String} The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
28
28
  * @param deliveryWindowOptionId {String} Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
29
29
  * @param endDate {Date} The end timestamp of the window.
30
30
  * @param startDate {Date} The start timestamp of the window.
@@ -68,7 +68,7 @@ export class SelectedDeliveryWindow {
68
68
  }
69
69
 
70
70
  /**
71
- * Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
71
+ * The type of delivery window availability. Values: `AVAILABLE`, `BLOCKED`, `CONGESTED`, `DISCOUNTED`
72
72
  * @member {String} availabilityType
73
73
  * @type {String}
74
74
  */
@@ -152,26 +152,16 @@ export class FbaOutboundApi {
152
152
  getFulfillmentPreview(body: GetFulfillmentPreviewRequest): Promise<GetFulfillmentPreviewResponse>;
153
153
  /**
154
154
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
155
- * @param {Object} [opts] Optional parameters
156
- * @param {Number} [opts.packageNumber] The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
157
- * @param {String} [opts.amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
155
+ * @param {Number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
158
156
  * @return {Promise<GetPackageTrackingDetailsResponse>}
159
157
  */
160
- getPackageTrackingDetailsWithHttpInfo(opts?: {
161
- packageNumber?: number;
162
- amazonFulfillmentTrackingNumber?: string;
163
- }): Promise<GetPackageTrackingDetailsResponse>;
158
+ getPackageTrackingDetailsWithHttpInfo(packageNumber: number): Promise<GetPackageTrackingDetailsResponse>;
164
159
  /**
165
160
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
166
- * @param {Object} [opts] Optional parameters
167
- * @param {Number} [opts.packageNumber] The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
168
- * @param {String} [opts.amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
161
+ * @param {Number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
169
162
  * @return {Promise<GetPackageTrackingDetailsResponse>}
170
163
  */
171
- getPackageTrackingDetails(opts?: {
172
- packageNumber?: number;
173
- amazonFulfillmentTrackingNumber?: string;
174
- }): Promise<GetPackageTrackingDetailsResponse>;
164
+ getPackageTrackingDetails(packageNumber: number): Promise<GetPackageTrackingDetailsResponse>;
175
165
  /**
176
166
  * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the &#x60;nextToken&#x60; parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
177
167
  * @param {Object} [opts] Optional parameters
@@ -1 +1 @@
1
- {"version":3,"file":"FbaOutboundApi.d.ts","sourceRoot":"","sources":["FbaOutboundApi.js"],"names":[],"mappings":"AAqCA;;;;EAIE;AACF;IAIE;;;;;;QAMI;IACJ,wBAHY,SAAS,EAMpB;IAFC,eAAgD;IAIlD;;SAEK;IACL,wCAwBC;IAED;;;SAGK;IACL,uCAEC;IAED;;;;SAIK;IACL,sEAFc,OAAO,CAAC,8BAA8B,CAAC,CA6BpD;IAED;;;;SAIK;IACL,0DAFc,OAAO,CAAC,8BAA8B,CAAC,CAOpD;IAED;;;;SAIK;IACL,yCAHa,6BAA6B,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CA4BpD;IAED;;;;SAIK;IACL,6BAHa,6BAA6B,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOpD;IAED;;;;;SAKK;IACL,4EAHa,8BAA8B,GAC7B,OAAO,CAAC,+BAA+B,CAAC,CAkCrD;IAED;;;;;SAKK;IACL,gEAHa,8BAA8B,GAC7B,OAAO,CAAC,+BAA+B,CAAC,CAOrD;IAED;;;;SAIK;IACL,iCAHa,wBAAwB,GACvB,OAAO,CAAC,yBAAyB,CAAC,CA4B/C;IAED;;;;SAIK;IACL,qBAHa,wBAAwB,GACvB,OAAO,CAAC,yBAAyB,CAAC,CAO/C;IAED;;;;;;;;SAQK;IACL,mFAJK;QAAsB,SAAS;QACX,cAAc,GAA1B,IAAI;KACZ,GAAS,OAAO,CAAC,2BAA2B,CAAC,CAsCjD;IAED;;;;;;;;SAQK;IACL,uEAJK;QAAsB,SAAS;QACX,cAAc,GAA1B,IAAI;KACZ,GAAS,OAAO,CAAC,2BAA2B,CAAC,CAOjD;IAED;;;;;;SAMK;IACL,0FAFc,OAAO,CAAC,qBAAqB,CAAC,CAyC3C;IAED;;;;;;SAMK;IACL,8EAFc,OAAO,CAAC,qBAAqB,CAAC,CAO3C;IAED;;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C,6BAA6B,CAAC,CAiCnD;IAED;;;;;;;;SAQK;IACL,gDALK;QAAsB,aAAa;QACb,wBAAwB;QACxB,QAAQ;KAC9B,GAAS,OAAO,CAAC,6BAA6B,CAAC,CAOnD;IAED;;;;;SAKK;IACL,uFAHa,yCAAyC,GACxC,OAAO,CAAC,0CAA0C,CAAC,CAkChE;IAED;;;;;SAKK;IACL,2EAHa,yCAAyC,GACxC,OAAO,CAAC,0CAA0C,CAAC,CAOhE;IAED;;;;;SAKK;IACL,2EAHa,6BAA6B,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAkCpD;IAED;;;;;SAKK;IACL,+DAHa,6BAA6B,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOpD;;CACF;+CApxB8C,4CAA4C;8CAC7C,2CAA2C;+CAC1C,4CAA4C;+CAC5C,4CAA4C;gDAC3C,6CAA6C;yCACpD,sCAAsC;0CACrC,uCAAuC;4CACrC,yCAAyC;sCAC/C,mCAAmC;oCACrC,iCAAiC;4CACzB,yCAAyC;6CACxC,0CAA0C;8CACzC,2CAA2C;kDACvC,+CAA+C;iDAChD,8CAA8C;8CACjD,2CAA2C;0DAC/B,uDAAuD;2DACtD,wDAAwD;8CACrE,2CAA2C;+CAC1C,4CAA4C;0BApBjE,iBAAiB"}
@@ -546,20 +546,21 @@ export class FbaOutboundApi {
546
546
 
547
547
  /**
548
548
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
549
- * @param {Object} [opts] Optional parameters
550
- * @param {Number} [opts.packageNumber] The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
551
- * @param {String} [opts.amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
549
+ * @param {Number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
552
550
  * @return {Promise<GetPackageTrackingDetailsResponse>}
553
551
  */
554
- getPackageTrackingDetailsWithHttpInfo (opts) {
555
- opts = opts || {}
552
+ getPackageTrackingDetailsWithHttpInfo (packageNumber) {
556
553
  const postBody = null
557
554
 
555
+ // verify the required parameter 'packageNumber' is set
556
+ if (packageNumber === undefined || packageNumber === null) {
557
+ throw new Error("Missing the required parameter 'packageNumber' when calling getPackageTrackingDetails")
558
+ }
559
+
558
560
  const pathParams = {
559
561
  }
560
562
  const queryParams = {
561
- packageNumber: opts.packageNumber,
562
- amazonFulfillmentTrackingNumber: opts.amazonFulfillmentTrackingNumber
563
+ packageNumber
563
564
  }
564
565
  const headerParams = {
565
566
  }
@@ -579,13 +580,11 @@ export class FbaOutboundApi {
579
580
 
580
581
  /**
581
582
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
582
- * @param {Object} [opts] Optional parameters
583
- * @param {Number} [opts.packageNumber] The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
584
- * @param {String} [opts.amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
583
+ * @param {Number} packageNumber The unencrypted package identifier. You can obtain this value from the &#x60;getFulfillmentOrder&#x60; operation.
585
584
  * @return {Promise<GetPackageTrackingDetailsResponse>}
586
585
  */
587
- getPackageTrackingDetails (opts) {
588
- return this.getPackageTrackingDetailsWithHttpInfo(opts)
586
+ getPackageTrackingDetails (packageNumber) {
587
+ return this.getPackageTrackingDetailsWithHttpInfo(packageNumber)
589
588
  .then(function (response_and_data) {
590
589
  return response_and_data.data
591
590
  })
@@ -22,6 +22,18 @@ export class InvoicesApi {
22
22
  * @param {String} operation name
23
23
  */
24
24
  getRateLimiter(operation: string): any;
25
+ /**
26
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
27
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
28
+ * @return {Promise<void>}
29
+ */
30
+ createGovernmentInvoiceWithHttpInfo(body: GovernmentInvoiceRequest): Promise<void>;
31
+ /**
32
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
33
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
34
+ * @return {Promise<void>}
35
+ */
36
+ createGovernmentInvoice(body: GovernmentInvoiceRequest): Promise<void>;
25
37
  /**
26
38
  * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
27
39
  * @param {ExportInvoicesRequest} body Information required to create the export request.
@@ -34,6 +46,62 @@ export class InvoicesApi {
34
46
  * @return {Promise<ExportInvoicesResponse>}
35
47
  */
36
48
  createInvoicesExport(body: ExportInvoicesRequest): Promise<ExportInvoicesResponse>;
49
+ /**
50
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
51
+ * @param {String} marketplaceId The invoices returned will match the marketplace that you specify.
52
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
53
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
54
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
55
+ * @param {Object} [opts] Optional parameters
56
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
57
+ * @param {String} [opts.fileFormat] Requested file format. Default is XML
58
+ * @return {Promise<GovtInvoiceDocumentResponse>}
59
+ */
60
+ getGovernmentInvoiceDocumentWithHttpInfo(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, opts?: {
61
+ inboundPlanId?: string;
62
+ fileFormat?: string;
63
+ }): Promise<GovtInvoiceDocumentResponse>;
64
+ /**
65
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
66
+ * @param {String} marketplaceId The invoices returned will match the marketplace that you specify.
67
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
68
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
69
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
70
+ * @param {Object} [opts] Optional parameters
71
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
72
+ * @param {String} [opts.fileFormat] Requested file format. Default is XML
73
+ * @return {Promise<GovtInvoiceDocumentResponse>}
74
+ */
75
+ getGovernmentInvoiceDocument(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, opts?: {
76
+ inboundPlanId?: string;
77
+ fileFormat?: string;
78
+ }): Promise<GovtInvoiceDocumentResponse>;
79
+ /**
80
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
81
+ * @param {String} marketplaceId The invoices status will match the marketplace that you specify.
82
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
83
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
84
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
85
+ * @param {Object} [opts] Optional parameters
86
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
87
+ * @return {Promise<GovernmentInvoiceStatusResponse>}
88
+ */
89
+ getGovernmentInvoiceStatusWithHttpInfo(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, opts?: {
90
+ inboundPlanId?: string;
91
+ }): Promise<GovernmentInvoiceStatusResponse>;
92
+ /**
93
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
94
+ * @param {String} marketplaceId The invoices status will match the marketplace that you specify.
95
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
96
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
97
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
98
+ * @param {Object} [opts] Optional parameters
99
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
100
+ * @return {Promise<GovernmentInvoiceStatusResponse>}
101
+ */
102
+ getGovernmentInvoiceStatus(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, opts?: {
103
+ inboundPlanId?: string;
104
+ }): Promise<GovernmentInvoiceStatusResponse>;
37
105
  /**
38
106
  * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the &#x60;createInvoicesExport&#x60; operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
39
107
  * @param {String} marketplaceId The marketplace from which you want the invoice.
@@ -190,8 +258,11 @@ export class InvoicesApi {
190
258
  }): Promise<GetInvoicesExportsResponse>;
191
259
  #private;
192
260
  }
261
+ import { GovernmentInvoiceRequest } from '../model/GovernmentInvoiceRequest.js';
193
262
  import { ExportInvoicesRequest } from '../model/ExportInvoicesRequest.js';
194
263
  import { ExportInvoicesResponse } from '../model/ExportInvoicesResponse.js';
264
+ import { GovtInvoiceDocumentResponse } from '../model/GovtInvoiceDocumentResponse.js';
265
+ import { GovernmentInvoiceStatusResponse } from '../model/GovernmentInvoiceStatusResponse.js';
195
266
  import { GetInvoiceResponse } from '../model/GetInvoiceResponse.js';
196
267
  import { GetInvoicesResponse } from '../model/GetInvoicesResponse.js';
197
268
  import { GetInvoicesAttributesResponse } from '../model/GetInvoicesAttributesResponse.js';
@@ -1 +1 @@
1
- {"version":3,"file":"InvoicesApi.d.ts","sourceRoot":"","sources":["InvoicesApi.js"],"names":[],"mappings":"AA0BA;;;;EAIE;AACF;IAIE;;;;;;QAMI;IACJ,wBAHY,SAAS,EAMpB;IAFC,eAAgD;IAIlD;;SAEK;IACL,wCAiBC;IAED;;;SAGK;IACL,uCAEC;IAED;;;;SAIK;IACL,uCAHa,qBAAqB,GACpB,OAAO,CAAC,sBAAsB,CAAC,CA4B5C;IAED;;;;SAIK;IACL,2BAHa,qBAAqB,GACpB,OAAO,CAAC,sBAAsB,CAAC,CAO5C;IAED;;;;;SAKK;IACL,kEAFc,OAAO,CAAC,kBAAkB,CAAC,CAmCxC;IAED;;;;;SAKK;IACL,sDAFc,OAAO,CAAC,kBAAkB,CAAC,CAOxC;IAED;;;;;;;;;;;;;;;;;;SAkBK;IACL,sDAfK;QAAsB,yBAAyB;QACzB,QAAQ;QACV,OAAO,GAAnB,IAAI;QACU,eAAe;QACf,uBAAuB;QACzB,SAAS,GAArB,IAAI;QACU,MAAM;QACN,SAAS;QACT,SAAS;QACT,WAAW;QACT,QAAQ,GAAxB,QAAQ;QACM,iBAAiB;QACjB,MAAM;KAC5B,GAAS,OAAO,CAAC,mBAAmB,CAAC,CA2CzC;IAED;;;;;;;;;;;;;;;;;;SAkBK;IACL,0CAfK;QAAsB,yBAAyB;QACzB,QAAQ;QACV,OAAO,GAAnB,IAAI;QACU,eAAe;QACf,uBAAuB;QACzB,SAAS,GAArB,IAAI;QACU,MAAM;QACN,SAAS;QACT,SAAS;QACT,WAAW;QACT,QAAQ,GAAxB,QAAQ;QACM,iBAAiB;QACjB,MAAM;KAC5B,GAAS,OAAO,CAAC,mBAAmB,CAAC,CAOzC;IAED;;;;SAIK;IACL,0DAFc,OAAO,CAAC,6BAA6B,CAAC,CA6BnD;I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c,OAAO,CAAC,6BAA6B,CAAC,CAOnD;IAED;;;;SAIK;IACL,6DAFc,OAAO,CAAC,2BAA2B,CAAC,CA6BjD;IAED;;;;SAIK;IACL,iDAFc,OAAO,CAAC,2BAA2B,CAAC,CAOjD;IAED;;;;SAIK;IACL,iDAFc,OAAO,CAAC,yBAAyB,CAAC,CA6B/C;IAED;;;;SAIK;IACL,qCAFc,OAAO,CAAC,yBAAyB,CAAC,CAO/C;IAED;;;;;;;;;;SAUK;IACL,6DAPK;QAAoB,SAAS,GAArB,IAAI;QACU,SAAS;QACT,QAAQ;QACV,OAAO,GAAnB,IAAI;QACU,MAAM;KAC5B,GAAS,OAAO,CAAC,0BAA0B,CAAC,CAmChD;IAED;;;;;;;;;;SAUK;IACL,iDAPK;QAAoB,SAAS,GAArB,IAAI;QACU,SAAS;QACT,QAAQ;QACV,OAAO,GAAnB,IAAI;QACU,MAAM;KAC5B,GAAS,OAAO,CAAC,0BAA0B,CAAC,CAOhD;;CACF;yCAxoBwC,sCAAsC;sCARzC,mCAAmC;uCAClC,oCAAoC;4CAS/B,yCAAyC;gDADrC,6CAA6C;mCAP1D,gCAAgC;oCAK/B,iCAAiC;8CAJvB,2CAA2C;4CAC7C,yCAAyC;0CAC3C,uCAAuC;2CACtC,wCAAwC;0BARzD,iBAAiB"}
@@ -21,6 +21,9 @@ import { GetInvoicesDocumentResponse } from '../model/GetInvoicesDocumentRespons
21
21
  import { GetInvoicesExportResponse } from '../model/GetInvoicesExportResponse.js'
22
22
  import { GetInvoicesExportsResponse } from '../model/GetInvoicesExportsResponse.js'
23
23
  import { GetInvoicesResponse } from '../model/GetInvoicesResponse.js'
24
+ import { GovernmentInvoiceRequest } from '../model/GovernmentInvoiceRequest.js'
25
+ import { GovernmentInvoiceStatusResponse } from '../model/GovernmentInvoiceStatusResponse.js'
26
+ import { GovtInvoiceDocumentResponse } from '../model/GovtInvoiceDocumentResponse.js'
24
27
  import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
25
28
  import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
26
29
 
@@ -52,7 +55,10 @@ export class InvoicesApi {
52
55
  this.#defaultRateLimiterMap = new Map()
53
56
  const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
54
57
  const operations = [
58
+ 'InvoicesApi-createGovernmentInvoice',
55
59
  'InvoicesApi-createInvoicesExport',
60
+ 'InvoicesApi-getGovernmentInvoiceDocument',
61
+ 'InvoicesApi-getGovernmentInvoiceStatus',
56
62
  'InvoicesApi-getInvoice',
57
63
  'InvoicesApi-getInvoices',
58
64
  'InvoicesApi-getInvoicesAttributes',
@@ -75,6 +81,51 @@ export class InvoicesApi {
75
81
  return this.#defaultRateLimiterMap.get(operation)
76
82
  }
77
83
 
84
+ /**
85
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
86
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
87
+ * @return {Promise<void>}
88
+ */
89
+ createGovernmentInvoiceWithHttpInfo (body) {
90
+ const postBody = body
91
+
92
+ // verify the required parameter 'body' is set
93
+ if (body === undefined || body === null) {
94
+ throw new Error("Missing the required parameter 'body' when calling createGovernmentInvoice")
95
+ }
96
+
97
+ const pathParams = {
98
+ }
99
+ const queryParams = {
100
+ }
101
+ const headerParams = {
102
+ }
103
+ const formParams = {
104
+ }
105
+
106
+ const contentTypes = ['application/json']
107
+ const accepts = ['application/json']
108
+ const returnType = null
109
+
110
+ return this.apiClient.callApi('InvoicesApi-createGovernmentInvoice',
111
+ '/tax/invoices/2024-06-19/governmentInvoiceRequests', 'POST',
112
+ pathParams, queryParams, headerParams, formParams, postBody,
113
+ contentTypes, accepts, returnType, this.getRateLimiter('InvoicesApi-createGovernmentInvoice')
114
+ )
115
+ }
116
+
117
+ /**
118
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
119
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
120
+ * @return {Promise<void>}
121
+ */
122
+ createGovernmentInvoice (body) {
123
+ return this.createGovernmentInvoiceWithHttpInfo(body)
124
+ .then(function (response_and_data) {
125
+ return response_and_data.data
126
+ })
127
+ }
128
+
78
129
  /**
79
130
  * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
80
131
  * @param {ExportInvoicesRequest} body Information required to create the export request.
@@ -120,6 +171,161 @@ export class InvoicesApi {
120
171
  })
121
172
  }
122
173
 
174
+ /**
175
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
176
+ * @param {String} marketplaceId The invoices returned will match the marketplace that you specify.
177
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
178
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
179
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
180
+ * @param {Object} [opts] Optional parameters
181
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
182
+ * @param {String} [opts.fileFormat] Requested file format. Default is XML
183
+ * @return {Promise<GovtInvoiceDocumentResponse>}
184
+ */
185
+ getGovernmentInvoiceDocumentWithHttpInfo (marketplaceId, transactionType, shipmentId, invoiceType, opts) {
186
+ opts = opts || {}
187
+ const postBody = null
188
+
189
+ // verify the required parameter 'marketplaceId' is set
190
+ if (marketplaceId === undefined || marketplaceId === null) {
191
+ throw new Error("Missing the required parameter 'marketplaceId' when calling getGovernmentInvoiceDocument")
192
+ }
193
+
194
+ // verify the required parameter 'transactionType' is set
195
+ if (transactionType === undefined || transactionType === null) {
196
+ throw new Error("Missing the required parameter 'transactionType' when calling getGovernmentInvoiceDocument")
197
+ }
198
+
199
+ // verify the required parameter 'shipmentId' is set
200
+ if (shipmentId === undefined || shipmentId === null) {
201
+ throw new Error("Missing the required parameter 'shipmentId' when calling getGovernmentInvoiceDocument")
202
+ }
203
+
204
+ // verify the required parameter 'invoiceType' is set
205
+ if (invoiceType === undefined || invoiceType === null) {
206
+ throw new Error("Missing the required parameter 'invoiceType' when calling getGovernmentInvoiceDocument")
207
+ }
208
+
209
+ const pathParams = {
210
+ shipmentId
211
+ }
212
+ const queryParams = {
213
+ marketplaceId,
214
+ transactionType,
215
+ invoiceType,
216
+ inboundPlanId: opts.inboundPlanId,
217
+ fileFormat: opts.fileFormat
218
+ }
219
+ const headerParams = {
220
+ }
221
+ const formParams = {
222
+ }
223
+
224
+ const contentTypes = []
225
+ const accepts = ['application/json']
226
+ const returnType = GovtInvoiceDocumentResponse
227
+
228
+ return this.apiClient.callApi('InvoicesApi-getGovernmentInvoiceDocument',
229
+ '/tax/invoices/2024-06-19/governmentInvoiceRequests/{shipmentId}', 'GET',
230
+ pathParams, queryParams, headerParams, formParams, postBody,
231
+ contentTypes, accepts, returnType, this.getRateLimiter('InvoicesApi-getGovernmentInvoiceDocument')
232
+ )
233
+ }
234
+
235
+ /**
236
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
237
+ * @param {String} marketplaceId The invoices returned will match the marketplace that you specify.
238
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
239
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
240
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
241
+ * @param {Object} [opts] Optional parameters
242
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
243
+ * @param {String} [opts.fileFormat] Requested file format. Default is XML
244
+ * @return {Promise<GovtInvoiceDocumentResponse>}
245
+ */
246
+ getGovernmentInvoiceDocument (marketplaceId, transactionType, shipmentId, invoiceType, opts) {
247
+ return this.getGovernmentInvoiceDocumentWithHttpInfo(marketplaceId, transactionType, shipmentId, invoiceType, opts)
248
+ .then(function (response_and_data) {
249
+ return response_and_data.data
250
+ })
251
+ }
252
+
253
+ /**
254
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
255
+ * @param {String} marketplaceId The invoices status will match the marketplace that you specify.
256
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
257
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
258
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
259
+ * @param {Object} [opts] Optional parameters
260
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
261
+ * @return {Promise<GovernmentInvoiceStatusResponse>}
262
+ */
263
+ getGovernmentInvoiceStatusWithHttpInfo (marketplaceId, transactionType, shipmentId, invoiceType, opts) {
264
+ opts = opts || {}
265
+ const postBody = null
266
+
267
+ // verify the required parameter 'marketplaceId' is set
268
+ if (marketplaceId === undefined || marketplaceId === null) {
269
+ throw new Error("Missing the required parameter 'marketplaceId' when calling getGovernmentInvoiceStatus")
270
+ }
271
+
272
+ // verify the required parameter 'transactionType' is set
273
+ if (transactionType === undefined || transactionType === null) {
274
+ throw new Error("Missing the required parameter 'transactionType' when calling getGovernmentInvoiceStatus")
275
+ }
276
+
277
+ // verify the required parameter 'shipmentId' is set
278
+ if (shipmentId === undefined || shipmentId === null) {
279
+ throw new Error("Missing the required parameter 'shipmentId' when calling getGovernmentInvoiceStatus")
280
+ }
281
+
282
+ // verify the required parameter 'invoiceType' is set
283
+ if (invoiceType === undefined || invoiceType === null) {
284
+ throw new Error("Missing the required parameter 'invoiceType' when calling getGovernmentInvoiceStatus")
285
+ }
286
+
287
+ const pathParams = {
288
+ }
289
+ const queryParams = {
290
+ marketplaceId,
291
+ transactionType,
292
+ shipmentId,
293
+ invoiceType,
294
+ inboundPlanId: opts.inboundPlanId
295
+ }
296
+ const headerParams = {
297
+ }
298
+ const formParams = {
299
+ }
300
+
301
+ const contentTypes = []
302
+ const accepts = ['application/json']
303
+ const returnType = GovernmentInvoiceStatusResponse
304
+
305
+ return this.apiClient.callApi('InvoicesApi-getGovernmentInvoiceStatus',
306
+ '/tax/invoices/2024-06-19/governmentInvoiceRequests', 'GET',
307
+ pathParams, queryParams, headerParams, formParams, postBody,
308
+ contentTypes, accepts, returnType, this.getRateLimiter('InvoicesApi-getGovernmentInvoiceStatus')
309
+ )
310
+ }
311
+
312
+ /**
313
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
314
+ * @param {String} marketplaceId The invoices status will match the marketplace that you specify.
315
+ * @param {String} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check &#39;transactionType&#39; options using &#39;getInvoicesAttributes&#39; operation.
316
+ * @param {String} shipmentId The unique shipment identifier to get an invoice for.
317
+ * @param {String} invoiceType Marketplace specific classification of the invoice type. Check &#39;invoiceType&#39; options using &#39;getInvoicesAttributes&#39; operation.
318
+ * @param {Object} [opts] Optional parameters
319
+ * @param {String} [opts.inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
320
+ * @return {Promise<GovernmentInvoiceStatusResponse>}
321
+ */
322
+ getGovernmentInvoiceStatus (marketplaceId, transactionType, shipmentId, invoiceType, opts) {
323
+ return this.getGovernmentInvoiceStatusWithHttpInfo(marketplaceId, transactionType, shipmentId, invoiceType, opts)
324
+ .then(function (response_and_data) {
325
+ return response_and_data.data
326
+ })
327
+ }
328
+
123
329
  /**
124
330
  * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the &#x60;createInvoicesExport&#x60; operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
125
331
  * @param {String} marketplaceId The marketplace from which you want the invoice.
@@ -1,5 +1,6 @@
1
1
  import { ApiClient } from './ApiClient.js';
2
2
  import { AttributeOption } from './model/AttributeOption.js';
3
+ import { CarrierDetailsContext } from './model/CarrierDetailsContext.js';
3
4
  import { Error } from './model/Error.js';
4
5
  import { ErrorList } from './model/ErrorList.js';
5
6
  import { Export } from './model/Export.js';
@@ -13,10 +14,16 @@ import { GetInvoicesDocumentResponse } from './model/GetInvoicesDocumentResponse
13
14
  import { GetInvoicesExportResponse } from './model/GetInvoicesExportResponse.js';
14
15
  import { GetInvoicesExportsResponse } from './model/GetInvoicesExportsResponse.js';
15
16
  import { GetInvoicesResponse } from './model/GetInvoicesResponse.js';
17
+ import { GovernmentInvoiceCreationStatus } from './model/GovernmentInvoiceCreationStatus.js';
18
+ import { GovernmentInvoiceRequest } from './model/GovernmentInvoiceRequest.js';
19
+ import { GovernmentInvoiceStatusResponse } from './model/GovernmentInvoiceStatusResponse.js';
20
+ import { GovtInvoiceDocumentResponse } from './model/GovtInvoiceDocumentResponse.js';
16
21
  import { Invoice } from './model/Invoice.js';
22
+ import { InvoiceDocument } from './model/InvoiceDocument.js';
23
+ import { InvoiceError } from './model/InvoiceError.js';
17
24
  import { InvoicesAttributes } from './model/InvoicesAttributes.js';
18
25
  import { InvoicesDocument } from './model/InvoicesDocument.js';
19
26
  import { TransactionIdentifier } from './model/TransactionIdentifier.js';
20
27
  import { InvoicesApi } from './api/InvoicesApi.js';
21
- export { ApiClient, AttributeOption, Error, ErrorList, Export, ExportInvoicesRequest, ExportInvoicesResponse, ExportStatus, FileFormat, GetInvoiceResponse, GetInvoicesAttributesResponse, GetInvoicesDocumentResponse, GetInvoicesExportResponse, GetInvoicesExportsResponse, GetInvoicesResponse, Invoice, InvoicesAttributes, InvoicesDocument, TransactionIdentifier, InvoicesApi };
28
+ export { ApiClient, AttributeOption, CarrierDetailsContext, Error, ErrorList, Export, ExportInvoicesRequest, ExportInvoicesResponse, ExportStatus, FileFormat, GetInvoiceResponse, GetInvoicesAttributesResponse, GetInvoicesDocumentResponse, GetInvoicesExportResponse, GetInvoicesExportsResponse, GetInvoicesResponse, GovernmentInvoiceCreationStatus, GovernmentInvoiceRequest, GovernmentInvoiceStatusResponse, GovtInvoiceDocumentResponse, Invoice, InvoiceDocument, InvoiceError, InvoicesAttributes, InvoicesDocument, TransactionIdentifier, InvoicesApi };
22
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"0BAa0B,gBAAgB;gCACV,4BAA4B;sBACtC,kBAAkB;0BACd,sBAAsB;uBACzB,mBAAmB;sCACJ,kCAAkC;uCACjC,mCAAmC;6BAC7C,yBAAyB;2BAC3B,uBAAuB;mCACf,+BAA+B;8CACpB,0CAA0C;4CAC5C,wCAAwC;0CAC1C,sCAAsC;2CACrC,uCAAuC;oCAC9C,gCAAgC;wBAC5C,oBAAoB;mCACT,+BAA+B;iCACjC,6BAA6B;sCACxB,kCAAkC;4BAC5C,sBAAsB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"0BAa0B,gBAAgB;gCACV,4BAA4B;sCACtB,kCAAkC;sBAClD,kBAAkB;0BACd,sBAAsB;uBACzB,mBAAmB;sCACJ,kCAAkC;uCACjC,mCAAmC;6BAC7C,yBAAyB;2BAC3B,uBAAuB;mCACf,+BAA+B;8CACpB,0CAA0C;4CAC5C,wCAAwC;0CAC1C,sCAAsC;2CACrC,uCAAuC;oCAC9C,gCAAgC;gDACpB,4CAA4C;yCACnD,qCAAqC;gDAC9B,4CAA4C;4CAChD,wCAAwC;wBAC5D,oBAAoB;gCACZ,4BAA4B;6BAC/B,yBAAyB;mCACnB,+BAA+B;iCACjC,6BAA6B;sCACxB,kCAAkC;4BAC5C,sBAAsB"}
@@ -13,6 +13,7 @@
13
13
 
14
14
  import { ApiClient } from './ApiClient.js'
15
15
  import { AttributeOption } from './model/AttributeOption.js'
16
+ import { CarrierDetailsContext } from './model/CarrierDetailsContext.js'
16
17
  import { Error } from './model/Error.js'
17
18
  import { ErrorList } from './model/ErrorList.js'
18
19
  import { Export } from './model/Export.js'
@@ -26,7 +27,13 @@ import { GetInvoicesDocumentResponse } from './model/GetInvoicesDocumentResponse
26
27
  import { GetInvoicesExportResponse } from './model/GetInvoicesExportResponse.js'
27
28
  import { GetInvoicesExportsResponse } from './model/GetInvoicesExportsResponse.js'
28
29
  import { GetInvoicesResponse } from './model/GetInvoicesResponse.js'
30
+ import { GovernmentInvoiceCreationStatus } from './model/GovernmentInvoiceCreationStatus.js'
31
+ import { GovernmentInvoiceRequest } from './model/GovernmentInvoiceRequest.js'
32
+ import { GovernmentInvoiceStatusResponse } from './model/GovernmentInvoiceStatusResponse.js'
33
+ import { GovtInvoiceDocumentResponse } from './model/GovtInvoiceDocumentResponse.js'
29
34
  import { Invoice } from './model/Invoice.js'
35
+ import { InvoiceDocument } from './model/InvoiceDocument.js'
36
+ import { InvoiceError } from './model/InvoiceError.js'
30
37
  import { InvoicesAttributes } from './model/InvoicesAttributes.js'
31
38
  import { InvoicesDocument } from './model/InvoicesDocument.js'
32
39
  import { TransactionIdentifier } from './model/TransactionIdentifier.js'
@@ -51,6 +58,12 @@ export {
51
58
  */
52
59
  AttributeOption,
53
60
 
61
+ /**
62
+ * The CarrierDetailsContext model constructor.
63
+ * @property {module:invoices_v2024_06_19/model/CarrierDetailsContext}
64
+ */
65
+ CarrierDetailsContext,
66
+
54
67
  /**
55
68
  * The Error model constructor.
56
69
  * @property {module:invoices_v2024_06_19/model/Error}
@@ -129,12 +142,48 @@ export {
129
142
  */
130
143
  GetInvoicesResponse,
131
144
 
145
+ /**
146
+ * The GovernmentInvoiceCreationStatus model constructor.
147
+ * @property {module:invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus}
148
+ */
149
+ GovernmentInvoiceCreationStatus,
150
+
151
+ /**
152
+ * The GovernmentInvoiceRequest model constructor.
153
+ * @property {module:invoices_v2024_06_19/model/GovernmentInvoiceRequest}
154
+ */
155
+ GovernmentInvoiceRequest,
156
+
157
+ /**
158
+ * The GovernmentInvoiceStatusResponse model constructor.
159
+ * @property {module:invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse}
160
+ */
161
+ GovernmentInvoiceStatusResponse,
162
+
163
+ /**
164
+ * The GovtInvoiceDocumentResponse model constructor.
165
+ * @property {module:invoices_v2024_06_19/model/GovtInvoiceDocumentResponse}
166
+ */
167
+ GovtInvoiceDocumentResponse,
168
+
132
169
  /**
133
170
  * The Invoice model constructor.
134
171
  * @property {module:invoices_v2024_06_19/model/Invoice}
135
172
  */
136
173
  Invoice,
137
174
 
175
+ /**
176
+ * The InvoiceDocument model constructor.
177
+ * @property {module:invoices_v2024_06_19/model/InvoiceDocument}
178
+ */
179
+ InvoiceDocument,
180
+
181
+ /**
182
+ * The InvoiceError model constructor.
183
+ * @property {module:invoices_v2024_06_19/model/InvoiceError}
184
+ */
185
+ InvoiceError,
186
+
138
187
  /**
139
188
  * The InvoicesAttributes model constructor.
140
189
  * @property {module:invoices_v2024_06_19/model/InvoicesAttributes}