@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
@@ -0,0 +1,64 @@
1
+ /**
2
+ * The CarrierDetailsContext model module.
3
+ * @module invoices_v2024_06_19/model/CarrierDetailsContext
4
+ * @version 2024-06-19
5
+ */
6
+ export class CarrierDetailsContext {
7
+ /**
8
+ * Constructs a <code>CarrierDetailsContext</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {CarrierDetailsContext} obj Optional instance to populate.
12
+ * @return {CarrierDetailsContext} The populated <code>CarrierDetailsContext</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: CarrierDetailsContext): CarrierDetailsContext;
15
+ /**
16
+ * The name of the carrier, as registered in state and federal tax authorities.
17
+ * @member {String} name
18
+ * @type {String}
19
+ */
20
+ name: string;
21
+ /**
22
+ * The address of the carrier, as registered in state and federal tax authorities.
23
+ * @member {String} address
24
+ * @type {String}
25
+ */
26
+ address: string;
27
+ /**
28
+ * Type of additional information.
29
+ * @member {String} contextType
30
+ * @type {String}
31
+ */
32
+ contextType: string;
33
+ /**
34
+ * Tax Identification number of the carrier.
35
+ * @member {String} federalTaxId
36
+ * @type {String}
37
+ */
38
+ federalTaxId: string;
39
+ /**
40
+ * The code of the federal subdivision in which the carrier is registered.
41
+ * @member {String} regionCode
42
+ * @type {String}
43
+ */
44
+ regionCode: string;
45
+ /**
46
+ * The regional tax registration number of the carrier.
47
+ * @member {String} regionTaxId
48
+ * @type {String}
49
+ */
50
+ regionTaxId: string;
51
+ /**
52
+ * The identifier for the carrier vehicle as printed in its registration plate.
53
+ * @member {String} vehicleLicensePlate
54
+ * @type {String}
55
+ */
56
+ vehicleLicensePlate: string;
57
+ /**
58
+ * The code of the federal subdivision in which the carrier vehicle is registered.
59
+ * @member {String} vehicleRegistrationRegionCode
60
+ * @type {String}
61
+ */
62
+ vehicleRegistrationRegionCode: string;
63
+ }
64
+ //# sourceMappingURL=CarrierDetailsContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarrierDetailsContext.d.ts","sourceRoot":"","sources":["CarrierDetailsContext.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,qBAAqB,GACpB,qBAAqB,CA0BhC;IAGH;;;;OAIG;IACH,aAAoC;IAEpC;;;;OAIG;IACH,gBAAuC;IAEvC;;;;OAIG;IACH,oBAA2C;IAE3C;;;;OAIG;IACH,qBAA4C;IAE5C;;;;OAIG;IACH,mBAA0C;IAE1C;;;;OAIG;IACH,oBAA2C;IAE3C;;;;OAIG;IACH,4BAAmD;IAEnD;;;;OAIG;IACH,sCAA6D;CAxD5D"}
@@ -0,0 +1,119 @@
1
+ /**
2
+ * The Selling Partner API for Invoices.
3
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
4
+ *
5
+ * The version of the OpenAPI document: 2024-06-19
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+
16
+ /**
17
+ * The CarrierDetailsContext model module.
18
+ * @module invoices_v2024_06_19/model/CarrierDetailsContext
19
+ * @version 2024-06-19
20
+ */
21
+ export class CarrierDetailsContext {
22
+ /**
23
+ * Constructs a new <code>CarrierDetailsContext</code>.
24
+ * Additional information about a carrier.
25
+ * @alias module:invoices_v2024_06_19/model/CarrierDetailsContext
26
+ * @class
27
+ */
28
+ constructor () {
29
+ }
30
+
31
+ /**
32
+ * Constructs a <code>CarrierDetailsContext</code> from a plain JavaScript object, optionally creating a new instance.
33
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
34
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
35
+ * @param {CarrierDetailsContext} obj Optional instance to populate.
36
+ * @return {CarrierDetailsContext} The populated <code>CarrierDetailsContext</code> instance.
37
+ */
38
+ static constructFromObject (data, obj) {
39
+ if (data) {
40
+ switch (typeof data) {
41
+ case 'string':
42
+ obj = String(data)
43
+ break
44
+ case 'number':
45
+ obj = Number(data)
46
+ break
47
+ case 'boolean':
48
+ obj = Boolean(data)
49
+ break
50
+ }
51
+ obj = obj || new CarrierDetailsContext()
52
+ if (data.hasOwnProperty('name')) { obj.name = ApiClient.convertToType(data.name, 'String') }
53
+ if (data.hasOwnProperty('address')) { obj.address = ApiClient.convertToType(data.address, 'String') }
54
+ if (data.hasOwnProperty('contextType')) { obj.contextType = ApiClient.convertToType(data.contextType, 'String') }
55
+ if (data.hasOwnProperty('federalTaxId')) { obj.federalTaxId = ApiClient.convertToType(data.federalTaxId, 'String') }
56
+ if (data.hasOwnProperty('regionCode')) { obj.regionCode = ApiClient.convertToType(data.regionCode, 'String') }
57
+ if (data.hasOwnProperty('regionTaxId')) { obj.regionTaxId = ApiClient.convertToType(data.regionTaxId, 'String') }
58
+ if (data.hasOwnProperty('vehicleLicensePlate')) { obj.vehicleLicensePlate = ApiClient.convertToType(data.vehicleLicensePlate, 'String') }
59
+ if (data.hasOwnProperty('vehicleRegistrationRegionCode')) { obj.vehicleRegistrationRegionCode = ApiClient.convertToType(data.vehicleRegistrationRegionCode, 'String') }
60
+ }
61
+ return obj
62
+ }
63
+ }
64
+
65
+ /**
66
+ * The name of the carrier, as registered in state and federal tax authorities.
67
+ * @member {String} name
68
+ * @type {String}
69
+ */
70
+ CarrierDetailsContext.prototype.name = undefined
71
+
72
+ /**
73
+ * The address of the carrier, as registered in state and federal tax authorities.
74
+ * @member {String} address
75
+ * @type {String}
76
+ */
77
+ CarrierDetailsContext.prototype.address = undefined
78
+
79
+ /**
80
+ * Type of additional information.
81
+ * @member {String} contextType
82
+ * @type {String}
83
+ */
84
+ CarrierDetailsContext.prototype.contextType = undefined
85
+
86
+ /**
87
+ * Tax Identification number of the carrier.
88
+ * @member {String} federalTaxId
89
+ * @type {String}
90
+ */
91
+ CarrierDetailsContext.prototype.federalTaxId = undefined
92
+
93
+ /**
94
+ * The code of the federal subdivision in which the carrier is registered.
95
+ * @member {String} regionCode
96
+ * @type {String}
97
+ */
98
+ CarrierDetailsContext.prototype.regionCode = undefined
99
+
100
+ /**
101
+ * The regional tax registration number of the carrier.
102
+ * @member {String} regionTaxId
103
+ * @type {String}
104
+ */
105
+ CarrierDetailsContext.prototype.regionTaxId = undefined
106
+
107
+ /**
108
+ * The identifier for the carrier vehicle as printed in its registration plate.
109
+ * @member {String} vehicleLicensePlate
110
+ * @type {String}
111
+ */
112
+ CarrierDetailsContext.prototype.vehicleLicensePlate = undefined
113
+
114
+ /**
115
+ * The code of the federal subdivision in which the carrier vehicle is registered.
116
+ * @member {String} vehicleRegistrationRegionCode
117
+ * @type {String}
118
+ */
119
+ CarrierDetailsContext.prototype.vehicleRegistrationRegionCode = undefined
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Enum class GovernmentInvoiceCreationStatus.
3
+ * @enum {String}
4
+ * @readonly
5
+ */
6
+ export class GovernmentInvoiceCreationStatus {
7
+ /**
8
+ * Returns a <code>GovernmentInvoiceCreationStatus</code> enum value from a Javascript object name.
9
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
10
+ * @return {GovernmentInvoiceCreationStatus} The enum <code>GovernmentInvoiceCreationStatus</code> value.
11
+ */
12
+ static constructFromObject(object: any): GovernmentInvoiceCreationStatus;
13
+ /**
14
+ * value: "PROCESSING"
15
+ * @const
16
+ */
17
+ PROCESSING: string;
18
+ /**
19
+ * value: "SUCCESS"
20
+ * @const
21
+ */
22
+ SUCCESS: string;
23
+ /**
24
+ * value: "ERROR"
25
+ * @const
26
+ */
27
+ ERROR: string;
28
+ }
29
+ //# sourceMappingURL=GovernmentInvoiceCreationStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovernmentInvoiceCreationStatus.d.ts","sourceRoot":"","sources":["GovernmentInvoiceCreationStatus.js"],"names":[],"mappings":"AAeA;;;;EAIE;AACF;IAmBE;;;;QAII;IACJ,yCAFa,+BAA+B,CAI3C;IAzBD;;;aAGS;IACT,mBAA2B;IAE3B;;;aAGS;IACT,gBAAqB;IAErB;;;aAGS;IACT,cAAiB;CAUlB"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The Selling Partner API for Invoices.
3
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
4
+ *
5
+ * The version of the OpenAPI document: 2024-06-19
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+
16
+ /**
17
+ * Enum class GovernmentInvoiceCreationStatus.
18
+ * @enum {String}
19
+ * @readonly
20
+ */
21
+ export class GovernmentInvoiceCreationStatus {
22
+ /**
23
+ * value: "PROCESSING"
24
+ * @const
25
+ */
26
+ 'PROCESSING' = 'PROCESSING'
27
+
28
+ /**
29
+ * value: "SUCCESS"
30
+ * @const
31
+ */
32
+ 'SUCCESS' = 'SUCCESS'
33
+
34
+ /**
35
+ * value: "ERROR"
36
+ * @const
37
+ */
38
+ 'ERROR' = 'ERROR'
39
+
40
+ /**
41
+ * Returns a <code>GovernmentInvoiceCreationStatus</code> enum value from a Javascript object name.
42
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
43
+ * @return {GovernmentInvoiceCreationStatus} The enum <code>GovernmentInvoiceCreationStatus</code> value.
44
+ */
45
+ static constructFromObject (object) {
46
+ return object
47
+ }
48
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * The GovernmentInvoiceRequest model module.
3
+ * @module invoices_v2024_06_19/model/GovernmentInvoiceRequest
4
+ * @version 2024-06-19
5
+ */
6
+ export class GovernmentInvoiceRequest {
7
+ /**
8
+ * Constructs a <code>GovernmentInvoiceRequest</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {GovernmentInvoiceRequest} obj Optional instance to populate.
12
+ * @return {GovernmentInvoiceRequest} The populated <code>GovernmentInvoiceRequest</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: GovernmentInvoiceRequest): GovernmentInvoiceRequest;
15
+ /**
16
+ * Constructs a new <code>GovernmentInvoiceRequest</code>.
17
+ * Information required to create the government invoice.
18
+ * @alias module:invoices_v2024_06_19/model/GovernmentInvoiceRequest
19
+ * @class
20
+ * @param invoiceType {String} Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
21
+ * @param marketplaceId {String} The government invoices creation request will match the national authoritative source of the given marketplace.
22
+ * @param shipmentId {String} The unique shipment identifier to get an invoice for.
23
+ * @param transactionType {String} Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
24
+ */
25
+ constructor(invoiceType: string, marketplaceId: string, shipmentId: string, transactionType: string);
26
+ invoiceType: string;
27
+ marketplaceId: string;
28
+ shipmentId: string;
29
+ transactionType: string;
30
+ /**
31
+ * Object that contains additional invoice creation information
32
+ * @member {[CarrierDetailsContext]} contexts
33
+ * @type {[CarrierDetailsContext]}
34
+ */
35
+ contexts: [CarrierDetailsContext];
36
+ /**
37
+ * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
38
+ * @member {String} inboundPlanId
39
+ * @type {String}
40
+ */
41
+ inboundPlanId: string;
42
+ }
43
+ import { CarrierDetailsContext } from './CarrierDetailsContext.js';
44
+ //# sourceMappingURL=GovernmentInvoiceRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovernmentInvoiceRequest.d.ts","sourceRoot":"","sources":["GovernmentInvoiceRequest.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAkBE;;;;;;OAMG;IACH,2CAHW,wBAAwB,GACvB,wBAAwB,CAwBnC;IA9CD;;;;;;;;;OASG;IACH,qGAKC;IAJC,oBAA8B;IAC9B,sBAAkC;IAClC,mBAA4B;IAC5B,wBAAsC;IAmC1C;;;;OAIG;IACH,UAFU,CAAC,qBAAqB,CAAC,CAEU;IAE3C;;;;OAIG;IACH,sBAAgD;CAd/C;sCAvDqC,4BAA4B"}
@@ -0,0 +1,112 @@
1
+ /**
2
+ * The Selling Partner API for Invoices.
3
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
4
+ *
5
+ * The version of the OpenAPI document: 2024-06-19
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { CarrierDetailsContext } from './CarrierDetailsContext.js'
16
+
17
+ /**
18
+ * The GovernmentInvoiceRequest model module.
19
+ * @module invoices_v2024_06_19/model/GovernmentInvoiceRequest
20
+ * @version 2024-06-19
21
+ */
22
+ export class GovernmentInvoiceRequest {
23
+ /**
24
+ * Constructs a new <code>GovernmentInvoiceRequest</code>.
25
+ * Information required to create the government invoice.
26
+ * @alias module:invoices_v2024_06_19/model/GovernmentInvoiceRequest
27
+ * @class
28
+ * @param invoiceType {String} Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
29
+ * @param marketplaceId {String} The government invoices creation request will match the national authoritative source of the given marketplace.
30
+ * @param shipmentId {String} The unique shipment identifier to get an invoice for.
31
+ * @param transactionType {String} Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
32
+ */
33
+ constructor (invoiceType, marketplaceId, shipmentId, transactionType) {
34
+ this.invoiceType = invoiceType
35
+ this.marketplaceId = marketplaceId
36
+ this.shipmentId = shipmentId
37
+ this.transactionType = transactionType
38
+ }
39
+
40
+ /**
41
+ * Constructs a <code>GovernmentInvoiceRequest</code> from a plain JavaScript object, optionally creating a new instance.
42
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
43
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
44
+ * @param {GovernmentInvoiceRequest} obj Optional instance to populate.
45
+ * @return {GovernmentInvoiceRequest} The populated <code>GovernmentInvoiceRequest</code> instance.
46
+ */
47
+ static constructFromObject (data, obj) {
48
+ if (data) {
49
+ switch (typeof data) {
50
+ case 'string':
51
+ obj = String(data)
52
+ break
53
+ case 'number':
54
+ obj = Number(data)
55
+ break
56
+ case 'boolean':
57
+ obj = Boolean(data)
58
+ break
59
+ }
60
+ obj = obj || new GovernmentInvoiceRequest()
61
+ if (data.hasOwnProperty('contexts')) { obj.contexts = ApiClient.convertToType(data.contexts, [CarrierDetailsContext]) }
62
+ if (data.hasOwnProperty('inboundPlanId')) { obj.inboundPlanId = ApiClient.convertToType(data.inboundPlanId, 'String') }
63
+ if (data.hasOwnProperty('invoiceType')) { obj.invoiceType = ApiClient.convertToType(data.invoiceType, 'String') }
64
+ if (data.hasOwnProperty('marketplaceId')) { obj.marketplaceId = ApiClient.convertToType(data.marketplaceId, 'String') }
65
+ if (data.hasOwnProperty('shipmentId')) { obj.shipmentId = ApiClient.convertToType(data.shipmentId, 'String') }
66
+ if (data.hasOwnProperty('transactionType')) { obj.transactionType = ApiClient.convertToType(data.transactionType, 'String') }
67
+ }
68
+ return obj
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Object that contains additional invoice creation information
74
+ * @member {[CarrierDetailsContext]} contexts
75
+ * @type {[CarrierDetailsContext]}
76
+ */
77
+ GovernmentInvoiceRequest.prototype.contexts = undefined
78
+
79
+ /**
80
+ * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
81
+ * @member {String} inboundPlanId
82
+ * @type {String}
83
+ */
84
+ GovernmentInvoiceRequest.prototype.inboundPlanId = undefined
85
+
86
+ /**
87
+ * Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
88
+ * @member {String} invoiceType
89
+ * @type {String}
90
+ */
91
+ GovernmentInvoiceRequest.prototype.invoiceType = undefined
92
+
93
+ /**
94
+ * The government invoices creation request will match the national authoritative source of the given marketplace.
95
+ * @member {String} marketplaceId
96
+ * @type {String}
97
+ */
98
+ GovernmentInvoiceRequest.prototype.marketplaceId = undefined
99
+
100
+ /**
101
+ * The unique shipment identifier to get an invoice for.
102
+ * @member {String} shipmentId
103
+ * @type {String}
104
+ */
105
+ GovernmentInvoiceRequest.prototype.shipmentId = undefined
106
+
107
+ /**
108
+ * Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
109
+ * @member {String} transactionType
110
+ * @type {String}
111
+ */
112
+ GovernmentInvoiceRequest.prototype.transactionType = undefined
@@ -0,0 +1,35 @@
1
+ /**
2
+ * The GovernmentInvoiceStatusResponse model module.
3
+ * @module invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
4
+ * @version 2024-06-19
5
+ */
6
+ export class GovernmentInvoiceStatusResponse {
7
+ /**
8
+ * Constructs a <code>GovernmentInvoiceStatusResponse</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {GovernmentInvoiceStatusResponse} obj Optional instance to populate.
12
+ * @return {GovernmentInvoiceStatusResponse} The populated <code>GovernmentInvoiceStatusResponse</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: GovernmentInvoiceStatusResponse): GovernmentInvoiceStatusResponse;
15
+ /**
16
+ * The errors that occurred during invoice creation.
17
+ * @member {[InvoiceError]} invoiceErrors
18
+ * @type {[InvoiceError]}
19
+ */
20
+ invoiceErrors: [InvoiceError];
21
+ /**
22
+ * Government Invoice ID of a successfully authorized invoice.
23
+ * @member {String} invoiceExternalDocumentId
24
+ * @type {String}
25
+ */
26
+ invoiceExternalDocumentId: string;
27
+ /**
28
+ * @member {GovernmentInvoiceCreationStatus} status
29
+ * @type {GovernmentInvoiceCreationStatus}
30
+ */
31
+ status: GovernmentInvoiceCreationStatus;
32
+ }
33
+ import { InvoiceError } from './InvoiceError.js';
34
+ import { GovernmentInvoiceCreationStatus } from './GovernmentInvoiceCreationStatus.js';
35
+ //# sourceMappingURL=GovernmentInvoiceStatusResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovernmentInvoiceStatusResponse.d.ts","sourceRoot":"","sources":["GovernmentInvoiceStatusResponse.js"],"names":[],"mappings":"AAiBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,+BAA+B,GAC9B,+BAA+B,CAqB1C;IAGH;;;;OAIG;IACH,eAFU,CAAC,YAAY,CAAC,CAE+B;IAEvD;;;;OAIG;IACH,kCAAmE;IAEnE;;;OAGG;IACH,QAFU,+BAA+B,CAEO;CApB/C;6BA5C4B,mBAAmB;gDADA,sCAAsC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * The Selling Partner API for Invoices.
3
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
4
+ *
5
+ * The version of the OpenAPI document: 2024-06-19
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { GovernmentInvoiceCreationStatus } from './GovernmentInvoiceCreationStatus.js'
16
+ import { InvoiceError } from './InvoiceError.js'
17
+
18
+ /**
19
+ * The GovernmentInvoiceStatusResponse model module.
20
+ * @module invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
21
+ * @version 2024-06-19
22
+ */
23
+ export class GovernmentInvoiceStatusResponse {
24
+ /**
25
+ * Constructs a new <code>GovernmentInvoiceStatusResponse</code>.
26
+ * Success.
27
+ * @alias module:invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
28
+ * @class
29
+ */
30
+ constructor () {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>GovernmentInvoiceStatusResponse</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {GovernmentInvoiceStatusResponse} obj Optional instance to populate.
38
+ * @return {GovernmentInvoiceStatusResponse} The populated <code>GovernmentInvoiceStatusResponse</code> instance.
39
+ */
40
+ static constructFromObject (data, obj) {
41
+ if (data) {
42
+ switch (typeof data) {
43
+ case 'string':
44
+ obj = String(data)
45
+ break
46
+ case 'number':
47
+ obj = Number(data)
48
+ break
49
+ case 'boolean':
50
+ obj = Boolean(data)
51
+ break
52
+ }
53
+ obj = obj || new GovernmentInvoiceStatusResponse()
54
+ if (data.hasOwnProperty('invoiceErrors')) { obj.invoiceErrors = ApiClient.convertToType(data.invoiceErrors, [InvoiceError]) }
55
+ if (data.hasOwnProperty('invoiceExternalDocumentId')) { obj.invoiceExternalDocumentId = ApiClient.convertToType(data.invoiceExternalDocumentId, 'String') }
56
+ if (data.hasOwnProperty('status')) { obj.status = GovernmentInvoiceCreationStatus.constructFromObject(data.status) }
57
+ }
58
+ return obj
59
+ }
60
+ }
61
+
62
+ /**
63
+ * The errors that occurred during invoice creation.
64
+ * @member {[InvoiceError]} invoiceErrors
65
+ * @type {[InvoiceError]}
66
+ */
67
+ GovernmentInvoiceStatusResponse.prototype.invoiceErrors = undefined
68
+
69
+ /**
70
+ * Government Invoice ID of a successfully authorized invoice.
71
+ * @member {String} invoiceExternalDocumentId
72
+ * @type {String}
73
+ */
74
+ GovernmentInvoiceStatusResponse.prototype.invoiceExternalDocumentId = undefined
75
+
76
+ /**
77
+ * @member {GovernmentInvoiceCreationStatus} status
78
+ * @type {GovernmentInvoiceCreationStatus}
79
+ */
80
+ GovernmentInvoiceStatusResponse.prototype.status = undefined
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The GovtInvoiceDocumentResponse model module.
3
+ * @module invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
4
+ * @version 2024-06-19
5
+ */
6
+ export class GovtInvoiceDocumentResponse {
7
+ /**
8
+ * Constructs a <code>GovtInvoiceDocumentResponse</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {GovtInvoiceDocumentResponse} obj Optional instance to populate.
12
+ * @return {GovtInvoiceDocumentResponse} The populated <code>GovtInvoiceDocumentResponse</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: GovtInvoiceDocumentResponse): GovtInvoiceDocumentResponse;
15
+ /**
16
+ * @member {InvoiceDocument} invoiceDocument
17
+ * @type {InvoiceDocument}
18
+ */
19
+ invoiceDocument: InvoiceDocument;
20
+ }
21
+ import { InvoiceDocument } from './InvoiceDocument.js';
22
+ //# sourceMappingURL=GovtInvoiceDocumentResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GovtInvoiceDocumentResponse.d.ts","sourceRoot":"","sources":["GovtInvoiceDocumentResponse.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,2BAA2B,GAC1B,2BAA2B,CAmBtC;IAGH;;;OAGG;IACH,iBAFU,eAAe,CAE4B;CANpD;gCA1C+B,sBAAsB"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * The Selling Partner API for Invoices.
3
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
4
+ *
5
+ * The version of the OpenAPI document: 2024-06-19
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ *
12
+ */
13
+
14
+ import { ApiClient } from '../ApiClient.js'
15
+ import { InvoiceDocument } from './InvoiceDocument.js'
16
+
17
+ /**
18
+ * The GovtInvoiceDocumentResponse model module.
19
+ * @module invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
20
+ * @version 2024-06-19
21
+ */
22
+ export class GovtInvoiceDocumentResponse {
23
+ /**
24
+ * Constructs a new <code>GovtInvoiceDocumentResponse</code>.
25
+ * Success.
26
+ * @alias module:invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
27
+ * @class
28
+ */
29
+ constructor () {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>GovtInvoiceDocumentResponse</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {GovtInvoiceDocumentResponse} obj Optional instance to populate.
37
+ * @return {GovtInvoiceDocumentResponse} The populated <code>GovtInvoiceDocumentResponse</code> instance.
38
+ */
39
+ static constructFromObject (data, obj) {
40
+ if (data) {
41
+ switch (typeof data) {
42
+ case 'string':
43
+ obj = String(data)
44
+ break
45
+ case 'number':
46
+ obj = Number(data)
47
+ break
48
+ case 'boolean':
49
+ obj = Boolean(data)
50
+ break
51
+ }
52
+ obj = obj || new GovtInvoiceDocumentResponse()
53
+ if (data.hasOwnProperty('invoiceDocument')) { obj.invoiceDocument = InvoiceDocument.constructFromObject(data.invoiceDocument) }
54
+ }
55
+ return obj
56
+ }
57
+ }
58
+
59
+ /**
60
+ * @member {InvoiceDocument} invoiceDocument
61
+ * @type {InvoiceDocument}
62
+ */
63
+ GovtInvoiceDocumentResponse.prototype.invoiceDocument = undefined
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The InvoiceDocument model module.
3
+ * @module invoices_v2024_06_19/model/InvoiceDocument
4
+ * @version 2024-06-19
5
+ */
6
+ export class InvoiceDocument {
7
+ /**
8
+ * Constructs a <code>InvoiceDocument</code> from a plain JavaScript object, optionally creating a new instance.
9
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
10
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
11
+ * @param {InvoiceDocument} obj Optional instance to populate.
12
+ * @return {InvoiceDocument} The populated <code>InvoiceDocument</code> instance.
13
+ */
14
+ static constructFromObject(data: any, obj: InvoiceDocument): InvoiceDocument;
15
+ /**
16
+ * A pre-signed URL to download the invoice document in its original format. This URL expires after 30 seconds.
17
+ * @member {String} invoiceDocumentUrl
18
+ * @type {String}
19
+ */
20
+ invoiceDocumentUrl: string;
21
+ }
22
+ //# sourceMappingURL=InvoiceDocument.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvoiceDocument.d.ts","sourceRoot":"","sources":["InvoiceDocument.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,eAAe,GACd,eAAe,CAmB1B;IAGH;;;;OAIG;IACH,2BAA4C;CAP3C"}