peddler 5.3.1 → 5.5.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 (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +74 -11
  3. data/lib/peddler/api.rb +30 -6
  4. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/order_attribute.rb +20 -0
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_execution_error.rb +24 -0
  6. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_listing.rb +24 -0
  7. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order.rb +60 -0
  8. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_creation_data.rb +23 -0
  9. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_reference.rb +18 -0
  10. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment.rb +43 -0
  11. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_label_page_types.rb +20 -0
  12. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +100 -0
  13. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/address.rb +4 -1
  14. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/distance.rb +20 -0
  15. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/geocodes.rb +23 -0
  16. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/handover_location.rb +23 -0
  17. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/ship_label_metadata.rb +4 -0
  18. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment_info.rb +3 -0
  19. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipping_options.rb +4 -0
  20. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11.rb +1 -1
  21. data/lib/peddler/apis/feeds_2021_06_30.rb +8 -2
  22. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/amount.rb +2 -2
  23. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_document.rb +2 -2
  24. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_information.rb +2 -1
  25. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_preferences.rb +1 -1
  26. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_window.rb +3 -4
  27. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +9 -7
  28. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_settings.rb +5 -1
  29. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_sku.rb +1 -1
  30. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order.rb +2 -2
  31. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_shipment.rb +6 -6
  32. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_package.rb +3 -4
  33. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_inventory_response.rb +1 -1
  34. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_sku_result.rb +12 -3
  35. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/origin.rb +2 -1
  36. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_event.rb +1 -2
  37. data/lib/peddler/apis/listings_restrictions_2021_08_01/restriction_list.rb +1 -1
  38. data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +4 -1
  39. data/lib/peddler/apis/notifications_v1/aggregation_filter.rb +2 -2
  40. data/lib/peddler/apis/notifications_v1/destination.rb +1 -1
  41. data/lib/peddler/apis/notifications_v1/event_bridge_resource.rb +2 -2
  42. data/lib/peddler/apis/notifications_v1/event_filter.rb +6 -6
  43. data/lib/peddler/apis/notifications_v1/marketplace_filter.rb +1 -1
  44. data/lib/peddler/apis/notifications_v1/marketplace_ids.rb +2 -2
  45. data/lib/peddler/apis/notifications_v1/order_change_type_filter.rb +2 -1
  46. data/lib/peddler/apis/notifications_v1/order_change_types.rb +2 -2
  47. data/lib/peddler/apis/notifications_v1/processing_directive.rb +18 -7
  48. data/lib/peddler/apis/notifications_v1/send_test_notification_request.rb +20 -0
  49. data/lib/peddler/apis/notifications_v1/send_test_notification_response.rb +20 -0
  50. data/lib/peddler/apis/notifications_v1/test_notification.rb +22 -0
  51. data/lib/peddler/apis/notifications_v1.rb +45 -17
  52. data/lib/peddler/apis/orders_2026_01_01/associated_order_item.rb +27 -0
  53. data/lib/peddler/apis/orders_2026_01_01/fulfillment_order.rb +19 -0
  54. data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +3 -0
  55. data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +1 -1
  56. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +5 -5
  57. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +1 -1
  58. data/lib/peddler/apis/orders_2026_01_01/item_tax.rb +20 -0
  59. data/lib/peddler/apis/orders_2026_01_01/item_tax_calculation_breakdown.rb +21 -0
  60. data/lib/peddler/apis/orders_2026_01_01/item_tax_collection.rb +24 -0
  61. data/lib/peddler/apis/orders_2026_01_01/order.rb +13 -1
  62. data/lib/peddler/apis/orders_2026_01_01/order_item.rb +7 -0
  63. data/lib/peddler/apis/orders_2026_01_01/order_payment.rb +17 -0
  64. data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +5 -0
  65. data/lib/peddler/apis/orders_2026_01_01/order_proceeds_breakdown.rb +30 -0
  66. data/lib/peddler/apis/orders_2026_01_01/order_tax.rb +20 -0
  67. data/lib/peddler/apis/orders_2026_01_01/order_tax_invoicing.rb +34 -0
  68. data/lib/peddler/apis/orders_2026_01_01/order_tax_registration.rb +39 -0
  69. data/lib/peddler/apis/orders_2026_01_01/package_status.rb +4 -3
  70. data/lib/peddler/apis/orders_2026_01_01/pagination.rb +5 -5
  71. data/lib/peddler/apis/orders_2026_01_01/payment_execution.rb +39 -0
  72. data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +10 -11
  73. data/lib/peddler/apis/orders_2026_01_01/serial_number_requirement.rb +19 -0
  74. data/lib/peddler/apis/orders_2026_01_01/tax_registration_attribute.rb +22 -0
  75. data/lib/peddler/apis/orders_2026_01_01.rb +15 -13
  76. data/lib/peddler/apis/orders_v0/address.rb +3 -3
  77. data/lib/peddler/apis/orders_v0/address_extended_fields.rb +9 -2
  78. data/lib/peddler/apis/orders_v0/approved_alternative_details.rb +20 -0
  79. data/lib/peddler/apis/orders_v0/approved_attribute.rb +23 -0
  80. data/lib/peddler/apis/orders_v0/buyer_info.rb +3 -0
  81. data/lib/peddler/apis/orders_v0/geo_coordinates.rb +20 -0
  82. data/lib/peddler/apis/orders_v0/interim_status_detail.rb +24 -0
  83. data/lib/peddler/apis/orders_v0/order_buyer_info.rb +3 -0
  84. data/lib/peddler/apis/orders_v0/regulated_order_verification_status.rb +5 -0
  85. data/lib/peddler/apis/orders_v0/valid_interim_status_code.rb +21 -0
  86. data/lib/peddler/apis/orders_v0/valid_verification_detail.rb +2 -1
  87. data/lib/peddler/apis/orders_v0/verification_details.rb +8 -0
  88. data/lib/peddler/apis/orders_v0.rb +6 -2
  89. data/lib/peddler/apis/product_pricing_2022_05_01/competitive_summary_response_body.rb +3 -0
  90. data/lib/peddler/apis/product_pricing_2022_05_01/item.rb +17 -0
  91. data/lib/peddler/apis/product_pricing_2022_05_01/points.rb +1 -1
  92. data/lib/peddler/apis/product_pricing_2022_05_01/similar_items.rb +17 -0
  93. data/lib/peddler/apis/product_type_definitions_2020_09_01/error_list.rb +1 -1
  94. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type.rb +1 -1
  95. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type_list.rb +1 -1
  96. data/lib/peddler/apis/product_type_definitions_2020_09_01/schema_link.rb +2 -1
  97. data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +12 -8
  98. data/lib/peddler/apis/replenishment_2022_11_07/deliveries_condition.rb +22 -0
  99. data/lib/peddler/apis/replenishment_2022_11_07/forecast_deliveries.rb +26 -0
  100. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request.rb +8 -3
  101. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request_filters.rb +48 -0
  102. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +14 -10
  103. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request.rb +2 -2
  104. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request_filters.rb +17 -4
  105. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +37 -23
  106. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request.rb +2 -2
  107. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request_filters.rb +7 -3
  108. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_response_offer.rb +27 -1
  109. data/lib/peddler/apis/replenishment_2022_11_07/offer_program_configuration.rb +1 -1
  110. data/lib/peddler/apis/replenishment_2022_11_07/time_interval.rb +10 -6
  111. data/lib/peddler/apis/reports_2021_06_30.rb +8 -2
  112. data/lib/peddler/apis/seller_wallet_2024_03_01/balance.rb +6 -6
  113. data/lib/peddler/apis/seller_wallet_2024_03_01/balance_listing.rb +2 -2
  114. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb +5 -5
  115. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account_listing.rb +2 -2
  116. data/lib/peddler/apis/seller_wallet_2024_03_01/delete_transfer_schedule.rb +3 -2
  117. data/lib/peddler/apis/seller_wallet_2024_03_01/fee.rb +4 -7
  118. data/lib/peddler/apis/seller_wallet_2024_03_01/fx_rate_details.rb +6 -6
  119. data/lib/peddler/apis/seller_wallet_2024_03_01/payee_contact_information.rb +5 -5
  120. data/lib/peddler/apis/seller_wallet_2024_03_01/payment_preference.rb +2 -3
  121. data/lib/peddler/apis/seller_wallet_2024_03_01/schedule_expression.rb +4 -5
  122. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb +13 -14
  123. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_account.rb +8 -8
  124. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_initiation_request.rb +8 -7
  125. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_instrument_details.rb +6 -7
  126. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_listing.rb +6 -5
  127. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_rate_preview.rb +4 -3
  128. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule.rb +11 -12
  129. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_failures.rb +3 -3
  130. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_information.rb +5 -6
  131. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_listing.rb +6 -5
  132. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_request.rb +11 -13
  133. data/lib/peddler/apis/seller_wallet_2024_03_01.rb +30 -28
  134. data/lib/peddler/apis/services_v1/associated_item.rb +3 -0
  135. data/lib/peddler/apis/services_v1/linked_asset.rb +24 -0
  136. data/lib/peddler/apis/services_v1/money_amount.rb +20 -0
  137. data/lib/peddler/apis/services_v1/payment.rb +20 -0
  138. data/lib/peddler/apis/services_v1/service_job.rb +9 -0
  139. data/lib/peddler/apis/services_v1.rb +11 -5
  140. data/lib/peddler/apis/shipment_invoicing_v0/payment_information.rb +6 -6
  141. data/lib/peddler/apis/shipment_invoicing_v0/payment_information_list.rb +1 -1
  142. data/lib/peddler/apis/uploads_2020_11_01.rb +1 -1
  143. data/lib/peddler/data_kiosk/economics20240315.json +6 -6
  144. data/lib/peddler/data_kiosk/sales_and_traffic20231115.json +6 -6
  145. data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +6 -6
  146. data/lib/peddler/data_kiosk/vendor_analytics20240930.json +6 -6
  147. data/lib/peddler/errors.rb +1 -0
  148. data/lib/peddler/notifications/order_change/notification.rb +4 -3
  149. data/lib/peddler/notifications/order_change/order_change_notification.rb +2 -2
  150. data/lib/peddler/notifications/order_change/order_change_trigger.rb +4 -4
  151. data/lib/peddler/notifications/order_change/order_item.rb +7 -7
  152. data/lib/peddler/notifications/order_change/summary.rb +17 -17
  153. data/lib/peddler/version.rb +1 -1
  154. data/sig/peddler/api.rbs +3 -1
  155. data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +167 -0
  156. data/sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs +85 -28
  157. data/sig/peddler/apis/feeds_2021_06_30.rbs +1 -1
  158. data/sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs +11 -8
  159. data/sig/peddler/apis/listings_restrictions_2021_08_01.rbs +1 -1
  160. data/sig/peddler/apis/notifications_v1.rbs +61 -7
  161. data/sig/peddler/apis/orders_2026_01_01.rbs +272 -39
  162. data/sig/peddler/apis/orders_v0.rbs +115 -36
  163. data/sig/peddler/apis/product_pricing_2022_05_01.rbs +40 -7
  164. data/sig/peddler/apis/product_type_definitions_2020_09_01.rbs +1 -1
  165. data/sig/peddler/apis/replenishment_2022_11_07.rbs +117 -42
  166. data/sig/peddler/apis/reports_2021_06_30.rbs +1 -1
  167. data/sig/peddler/apis/services_v1.rbs +71 -15
  168. data/sig/peddler/errors.rbs +3 -0
  169. metadata +51 -5
@@ -453,6 +453,23 @@ module Peddler
453
453
  def to_h: () -> { weight: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageWeight, dimensions: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageDimensions?, volume: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageVolume? }
454
454
  end
455
455
 
456
+ class OrderAttribute < Data
457
+ def self.new: (order_preference: String, order_preference_value: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
458
+ | (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
459
+ def self.[]: (order_preference: String, order_preference_value: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
460
+ | (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
461
+
462
+ def self.members: () -> [ :order_preference, :order_preference_value ]
463
+
464
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
465
+
466
+ attr_reader order_preference: String
467
+ attr_reader order_preference_value: String
468
+
469
+ def members: () -> [ :order_preference, :order_preference_value ]
470
+ def to_h: () -> { order_preference: String, order_preference_value: String }
471
+ end
472
+
456
473
  class OrderIneligibilityReason < Data
457
474
  def self.new: (code: String, description: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderIneligibilityReason
458
475
  | (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderIneligibilityReason
@@ -470,6 +487,128 @@ module Peddler
470
487
  def to_h: () -> { code: String, description: String }
471
488
  end
472
489
 
490
+ class OutboundExecutionError < Data
491
+ def self.new: (failure_code: String, failure_reasons: Array[String], ?sku: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
492
+ | (String, Array[String], String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
493
+ def self.[]: (failure_code: String, failure_reasons: Array[String], ?sku: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
494
+ | (String, Array[String], String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
495
+
496
+ def self.members: () -> [ :failure_code, :failure_reasons, :sku ]
497
+
498
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
499
+
500
+ attr_reader failure_code: String
501
+ attr_reader failure_reasons: Array[String]
502
+ attr_reader sku: String?
503
+
504
+ def members: () -> [ :failure_code, :failure_reasons, :sku ]
505
+ def to_h: () -> { failure_code: String, failure_reasons: Array[String], sku: String? }
506
+ end
507
+
508
+ class OutboundListing < Data
509
+ def self.new: (?next_token: String?, ?outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
510
+ | (String?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
511
+ def self.[]: (?next_token: String?, ?outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
512
+ | (String?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
513
+
514
+ def self.members: () -> [ :next_token, :outbound_orders ]
515
+
516
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
517
+
518
+ attr_reader next_token: String?
519
+ attr_reader outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?
520
+
521
+ def members: () -> [ :next_token, :outbound_orders ]
522
+ def to_h: () -> { next_token: String?, outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]? }
523
+ end
524
+
525
+ class OutboundOrder < Data
526
+ def self.new: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
527
+ | (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
528
+ def self.[]: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
529
+ | (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
530
+
531
+ def self.members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]
532
+
533
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
534
+
535
+ attr_reader confirmed_on: Time?
536
+ attr_reader created_at: Time?
537
+ attr_reader eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
538
+ attr_reader eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
539
+ attr_reader execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?
540
+ attr_reader order_id: String
541
+ attr_reader order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?
542
+ attr_reader order_status: String
543
+ attr_reader outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment]
544
+ attr_reader packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
545
+ attr_reader products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
546
+ attr_reader shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
547
+ attr_reader shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
548
+ attr_reader updated_at: Time?
549
+
550
+ def members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]
551
+ def to_h: () -> { order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], confirmed_on: Time?, created_at: Time?, eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }
552
+ end
553
+
554
+ class OutboundOrderCreationData < Data
555
+ def self.new: (?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
556
+ | (Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
557
+ def self.[]: (?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
558
+ | (Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
559
+
560
+ def self.members: () -> [ :order_preferences, :packages_to_outbound, :products_to_outbound ]
561
+
562
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
563
+
564
+ attr_reader order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?
565
+ attr_reader packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
566
+ attr_reader products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
567
+
568
+ def members: () -> [ :order_preferences, :packages_to_outbound, :products_to_outbound ]
569
+ def to_h: () -> { order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]? }
570
+ end
571
+
572
+ class OutboundOrderReference < Data
573
+ def self.new: (order_id: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
574
+ | (String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
575
+ def self.[]: (order_id: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
576
+ | (String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
577
+
578
+ def self.members: () -> [ :order_id ]
579
+
580
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
581
+
582
+ attr_reader order_id: String
583
+
584
+ def members: () -> [ :order_id ]
585
+ def to_h: () -> { order_id: String }
586
+ end
587
+
588
+ class OutboundShipment < Data
589
+ def self.new: (destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, ?created_at: Time?, ?shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
590
+ | (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, String, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
591
+ def self.[]: (destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, ?created_at: Time?, ?shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
592
+ | (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, String, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
593
+
594
+ def self.members: () -> [ :destination_address, :order_id, :origin_address, :shipment_id, :shipment_status, :created_at, :shipment_package_quantities, :shipment_product_quantities, :updated_at ]
595
+
596
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
597
+
598
+ attr_reader created_at: Time?
599
+ attr_reader destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address
600
+ attr_reader order_id: String
601
+ attr_reader origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address
602
+ attr_reader shipment_id: String
603
+ attr_reader shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
604
+ attr_reader shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
605
+ attr_reader shipment_status: String
606
+ attr_reader updated_at: Time?
607
+
608
+ def members: () -> [ :destination_address, :order_id, :origin_address, :shipment_id, :shipment_status, :created_at, :shipment_package_quantities, :shipment_product_quantities, :updated_at ]
609
+ def to_h: () -> { destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, created_at: Time?, shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }
610
+ end
611
+
473
612
  class OutboundShipmentSummary < Data
474
613
  def self.new: (order_id: String, shipment_id: String, shipment_status: String, ?created_at: Time?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipmentSummary
475
614
  | (String, String, String, Time?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipmentSummary
@@ -760,6 +899,23 @@ module Peddler
760
899
  def to_h: () -> { expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity? }
761
900
  end
762
901
 
902
+ class ShipmentLabelPageTypes < Data
903
+ def self.new: (label_status: String, ?page_types: Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
904
+ | (String, Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
905
+ def self.[]: (label_status: String, ?page_types: Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
906
+ | (String, Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
907
+
908
+ def self.members: () -> [ :label_status, :page_types ]
909
+
910
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
911
+
912
+ attr_reader label_status: String
913
+ attr_reader page_types: Array[untyped]?
914
+
915
+ def members: () -> [ :label_status, :page_types ]
916
+ def to_h: () -> { label_status: String, page_types: Array[untyped]? }
917
+ end
918
+
763
919
  class ShipmentLabels < Data
764
920
  def self.new: (label_status: String, ?label_download_url: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabels
765
921
  | (String, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabels
@@ -832,22 +988,33 @@ module Peddler
832
988
  def check_inbound_eligibility: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
833
989
  def confirm_inbound: (String, ?rate_limit: Float) -> Peddler::Response
834
990
 
991
+ def confirm_outbound: (String, ?rate_limit: Float) -> Peddler::Response
992
+
835
993
  def confirm_replenishment_order: (String) -> Peddler::Response
836
994
  def create_inbound: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
837
995
 
996
+ def create_outbound: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
997
+
838
998
  def create_replenishment_order: (Hash[untyped, untyped]) -> Peddler::Response
839
999
  def get_inbound: (String, ?rate_limit: Float) -> Peddler::Response
840
1000
 
841
1001
  def get_inbound_shipment: (String, ?sku_quantities: String?, ?rate_limit: Float) -> Peddler::Response
842
1002
  def get_inbound_shipment_labels: (String, ?page_type: String?, ?format_type: String?, ?rate_limit: Float) -> Peddler::Response
1003
+ def get_label_page_types: (String, ?rate_limit: Float) -> Peddler::Response
1004
+
1005
+ def get_outbound: (String, ?rate_limit: Float) -> Peddler::Response
843
1006
 
844
1007
  def get_replenishment_order: (String) -> Peddler::Response
845
1008
  def list_inbound_shipments: (?sort_by: String?, ?sort_order: String?, ?shipment_status: String?, ?updated_after: String?, ?updated_before: String?, ?max_results: Integer?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
846
1009
  def list_inventory: (?sku: String?, ?sort_order: String?, ?details: String?, ?next_token: String?, ?max_results: Integer?, ?rate_limit: Float) -> Peddler::Response
1010
+ def list_outbounds: (?updated_after: String?, ?updated_before: String?, ?sort_order: String?, ?max_results: Integer?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
1011
+
847
1012
  def list_replenishment_orders: (?updated_after: String?, ?updated_before: String?, ?sort_order: String?, ?max_results: Integer?, ?next_token: String?) -> Peddler::Response
848
1013
  def update_inbound: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
849
1014
 
850
1015
  def update_inbound_shipment_transport_details: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
1016
+
1017
+ def update_outbound: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
851
1018
  end
852
1019
  end
853
1020
  end
@@ -2,12 +2,12 @@ module Peddler
2
2
  module APIs
3
3
  class ExternalFulfillmentShipments20240911 < API
4
4
  class Address < Data
5
- def self.new: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
6
- | (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
7
- def self.[]: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
8
- | (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
5
+ def self.new: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?geocodes: Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
6
+ | (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
7
+ def self.[]: (postal_code: String, ?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?copy_emails: Array[String]?, ?country_code: String?, ?district: String?, ?email: String?, ?geocodes: Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?, ?municipality: String?, ?name: String?, ?phone_number: String?, ?state: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
8
+ | (String, String?, String?, String?, String?, String?, Array[String]?, String?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?, String?, String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
9
9
 
10
- def self.members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
10
+ def self.members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :geocodes, :municipality, :name, :phone_number, :state ]
11
11
 
12
12
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Address
13
13
 
@@ -20,14 +20,15 @@ module Peddler
20
20
  attr_reader country_code: String?
21
21
  attr_reader district: String?
22
22
  attr_reader email: String?
23
+ attr_reader geocodes: Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?
23
24
  attr_reader municipality: String?
24
25
  attr_reader name: String?
25
26
  attr_reader phone_number: String?
26
27
  attr_reader postal_code: String
27
28
  attr_reader state: String?
28
29
 
29
- def members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :municipality, :name, :phone_number, :state ]
30
- def to_h: () -> { postal_code: String, address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, copy_emails: Array[String]?, country_code: String?, district: String?, email: String?, municipality: String?, name: String?, phone_number: String?, state: String? }
30
+ def members: () -> [ :postal_code, :address_line1, :address_line2, :address_line3, :address_type, :city, :copy_emails, :country_code, :district, :email, :geocodes, :municipality, :name, :phone_number, :state ]
31
+ def to_h: () -> { postal_code: String, address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, copy_emails: Array[String]?, country_code: String?, district: String?, email: String?, geocodes: Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes?, municipality: String?, name: String?, phone_number: String?, state: String? }
31
32
  end
32
33
 
33
34
  class Amount < Data
@@ -187,6 +188,23 @@ module Peddler
187
188
  def to_h: () -> { dimension_unit: String, value: String }
188
189
  end
189
190
 
191
+ class Distance < Data
192
+ def self.new: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
193
+ | (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
194
+ def self.[]: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
195
+ | (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
196
+
197
+ def self.members: () -> [ :distance_unit, :value ]
198
+
199
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
200
+
201
+ attr_reader distance_unit: String
202
+ attr_reader value: String
203
+
204
+ def members: () -> [ :distance_unit, :value ]
205
+ def to_h: () -> { distance_unit: String, value: String }
206
+ end
207
+
190
208
  class Document < Data
191
209
  def self.new: (?content: String?, ?format: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Document
192
210
  | (String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Document
@@ -254,6 +272,24 @@ module Peddler
254
272
  def to_h: () -> { errors: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Error] }
255
273
  end
256
274
 
275
+ class Geocodes < Data
276
+ def self.new: (latitude: String, longitude: String, ?elevation: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
277
+ | (String, String, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
278
+ def self.[]: (latitude: String, longitude: String, ?elevation: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
279
+ | (String, String, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
280
+
281
+ def self.members: () -> [ :latitude, :longitude, :elevation ]
282
+
283
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
284
+
285
+ attr_reader elevation: String?
286
+ attr_reader latitude: String
287
+ attr_reader longitude: String
288
+
289
+ def members: () -> [ :latitude, :longitude, :elevation ]
290
+ def to_h: () -> { latitude: String, longitude: String, elevation: String? }
291
+ end
292
+
257
293
  class GiftAttributes < Data
258
294
  def self.new: (gift_message_presence: String, gift_wrap_requirement: String, ?gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, ?gift_wrap_label: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes
259
295
  | (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes
@@ -273,6 +309,24 @@ module Peddler
273
309
  def to_h: () -> { gift_message_presence: String, gift_wrap_requirement: String, gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, gift_wrap_label: String? }
274
310
  end
275
311
 
312
+ class HandoverLocation < Data
313
+ def self.new: (?address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, ?map_url: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
314
+ | (Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
315
+ def self.[]: (?address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, ?map_url: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
316
+ | (Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
317
+
318
+ def self.members: () -> [ :address, :distance, :map_url ]
319
+
320
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
321
+
322
+ attr_reader address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?
323
+ attr_reader distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?
324
+ attr_reader map_url: String?
325
+
326
+ def members: () -> [ :address, :distance, :map_url ]
327
+ def to_h: () -> { address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, map_url: String? }
328
+ end
329
+
276
330
  class InvoiceInfo < Data
277
331
  def self.new: (creation_date_time: String, invoice_id: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo
278
332
  | (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo
@@ -639,23 +693,24 @@ module Peddler
639
693
  end
640
694
 
641
695
  class ShipLabelMetadata < Data
642
- def self.new: (carrier_name: String, tracking_id: String, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?shipping_option_id: String?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
643
- | (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
644
- def self.[]: (carrier_name: String, tracking_id: String, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?shipping_option_id: String?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
645
- | (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
696
+ def self.new: (carrier_name: String, tracking_id: String, ?handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?shipping_option_id: String?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
697
+ | (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
698
+ def self.[]: (carrier_name: String, tracking_id: String, ?handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?shipping_option_id: String?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
699
+ | (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
646
700
 
647
- def self.members: () -> [ :carrier_name, :tracking_id, :pickup_window, :shipping_option_id, :time_slot ]
701
+ def self.members: () -> [ :carrier_name, :tracking_id, :handover_location, :pickup_window, :shipping_option_id, :time_slot ]
648
702
 
649
703
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata
650
704
 
651
705
  attr_reader carrier_name: String
706
+ attr_reader handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?
652
707
  attr_reader pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?
653
708
  attr_reader shipping_option_id: String?
654
709
  attr_reader time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?
655
710
  attr_reader tracking_id: String
656
711
 
657
- def members: () -> [ :carrier_name, :tracking_id, :pickup_window, :shipping_option_id, :time_slot ]
658
- def to_h: () -> { carrier_name: String, tracking_id: String, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, shipping_option_id: String?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }
712
+ def members: () -> [ :carrier_name, :tracking_id, :handover_location, :pickup_window, :shipping_option_id, :time_slot ]
713
+ def to_h: () -> { carrier_name: String, tracking_id: String, handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, shipping_option_id: String?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }
659
714
  end
660
715
 
661
716
  class ShipLabelsInput < Data
@@ -741,12 +796,12 @@ module Peddler
741
796
  end
742
797
 
743
798
  class ShipmentInfo < Data
744
- def self.new: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
745
- | (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
746
- def self.[]: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
747
- | (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
799
+ def self.new: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?payment_method: String?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
800
+ | (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
801
+ def self.[]: (buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, ?order_placed_timestamp: String?, ?order_states_eligible_for_rejection: Array[String]?, ?original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, ?payment_method: String?, ?processing_source: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
802
+ | (String, Integer, String, String, String?, Array[String]?, Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
748
803
 
749
- def self.members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :processing_source ]
804
+ def self.members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]
750
805
 
751
806
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo
752
807
 
@@ -755,12 +810,13 @@ module Peddler
755
810
  attr_reader order_placed_timestamp: String?
756
811
  attr_reader order_states_eligible_for_rejection: Array[String]?
757
812
  attr_reader original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?
813
+ attr_reader payment_method: String?
758
814
  attr_reader priority: String
759
815
  attr_reader processing_source: String?
760
816
  attr_reader shipment_type: String
761
817
 
762
- def members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :processing_source ]
763
- def to_h: () -> { buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, order_placed_timestamp: String?, order_states_eligible_for_rejection: Array[String]?, original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, processing_source: String? }
818
+ def members: () -> [ :buyer_order_id, :number_of_units, :priority, :shipment_type, :order_placed_timestamp, :order_states_eligible_for_rejection, :original_shipment_info, :payment_method, :processing_source ]
819
+ def to_h: () -> { buyer_order_id: String, number_of_units: Integer, priority: String, shipment_type: String, order_placed_timestamp: String?, order_states_eligible_for_rejection: Array[String]?, original_shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo?, payment_method: String?, processing_source: String? }
764
820
  end
765
821
 
766
822
  class ShipmentLineItem < Data
@@ -849,23 +905,24 @@ module Peddler
849
905
  end
850
906
 
851
907
  class ShippingOptions < Data
852
- def self.new: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
853
- | (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
854
- def self.[]: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
855
- | (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
908
+ def self.new: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
909
+ | (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
910
+ def self.[]: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
911
+ | (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
856
912
 
857
- def self.members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]
913
+ def self.members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :handover_location, :pickup_window, :time_slot ]
858
914
 
859
915
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
860
916
 
861
917
  attr_reader carrier_name: String?
918
+ attr_reader handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?
862
919
  attr_reader pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?
863
920
  attr_reader ship_by: String
864
921
  attr_reader shipping_option_id: String
865
922
  attr_reader time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?
866
923
 
867
- def members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]
868
- def to_h: () -> { ship_by: String, shipping_option_id: String, carrier_name: String?, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }
924
+ def members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :handover_location, :pickup_window, :time_slot ]
925
+ def to_h: () -> { ship_by: String, shipping_option_id: String, carrier_name: String?, handover_location: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation?, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }
869
926
  end
870
927
 
871
928
  class ShippingOptionsResponse < Data
@@ -171,7 +171,7 @@ module Peddler
171
171
  def create_feed_document: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
172
172
  def get_feed: (String, ?rate_limit: Float) -> Peddler::Response
173
173
 
174
- def get_feed_document: (String, ?rate_limit: Float) -> Peddler::Response
174
+ def get_feed_document: (String, ?enable_content_encoding_url_header: bool?, ?rate_limit: Float) -> Peddler::Response
175
175
  def get_feeds: (?feed_types: Array[String]?, ?marketplace_ids: Array[String]?, ?page_size: Integer?, ?processing_statuses: Array[String]?, ?created_since: String?, ?created_until: String?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
176
176
  end
177
177
  end
@@ -877,24 +877,27 @@ module Peddler
877
877
  end
878
878
 
879
879
  class GetFeatureSKUResult < Data
880
- def self.new: (feature_name: String, eligible: bool, marketplace_id: String, ?ineligible_reasons: Array[String]?, ?sku_info: Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
881
- | (String, bool, String, Array[String]?, Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
882
- def self.[]: (feature_name: String, eligible: bool, marketplace_id: String, ?ineligible_reasons: Array[String]?, ?sku_info: Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
883
- | (String, bool, String, Array[String]?, Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
880
+ def self.new: (feature_name: String, eligible: bool, marketplace_id: String, ?asin: String?, ?fn_sku: String?, ?ineligible_reasons: Array[String]?, ?seller_sku: String?, ?sku_count: Float?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
881
+ | (String, bool, String, String?, String?, Array[String]?, String?, Float?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
882
+ def self.[]: (feature_name: String, eligible: bool, marketplace_id: String, ?asin: String?, ?fn_sku: String?, ?ineligible_reasons: Array[String]?, ?seller_sku: String?, ?sku_count: Float?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
883
+ | (String, bool, String, String?, String?, Array[String]?, String?, Float?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
884
884
 
885
- def self.members: () -> [ :feature_name, :eligible, :marketplace_id, :ineligible_reasons, :sku_info ]
885
+ def self.members: () -> [ :feature_name, :eligible, :marketplace_id, :asin, :fn_sku, :ineligible_reasons, :seller_sku, :sku_count ]
886
886
 
887
887
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentOutbound20200701::GetFeatureSKUResult
888
888
 
889
+ attr_reader asin: String?
889
890
  attr_reader eligible: bool
890
891
  attr_reader feature_name: String
892
+ attr_reader fn_sku: String?
891
893
  attr_reader ineligible_reasons: Array[String]?
892
894
  attr_reader marketplace_id: String
893
- attr_reader sku_info: Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU?
895
+ attr_reader seller_sku: String?
896
+ attr_reader sku_count: Float?
894
897
 
895
898
  def eligible?: () -> bool
896
- def members: () -> [ :feature_name, :eligible, :marketplace_id, :ineligible_reasons, :sku_info ]
897
- def to_h: () -> { feature_name: String, eligible: bool, marketplace_id: String, ineligible_reasons: Array[String]?, sku_info: Peddler::APIs::FulfillmentOutbound20200701::FeatureSKU? }
899
+ def members: () -> [ :feature_name, :eligible, :marketplace_id, :asin, :fn_sku, :ineligible_reasons, :seller_sku, :sku_count ]
900
+ def to_h: () -> { feature_name: String, eligible: bool, marketplace_id: String, asin: String?, fn_sku: String?, ineligible_reasons: Array[String]?, seller_sku: String?, sku_count: Float? }
898
901
  end
899
902
 
900
903
  class GetFeaturesResponse < Data
@@ -94,7 +94,7 @@ module Peddler
94
94
  def to_h: () -> { restrictions: Array[Peddler::APIs::ListingsRestrictions20210801::Restriction] }
95
95
  end
96
96
 
97
- def get_listings_restrictions: (String, String, Array[String], ?condition_type: String?, ?reason_locale: String?, ?rate_limit: Float) -> Peddler::Response
97
+ def get_listings_restrictions: (String, String, Array[String], ?condition_type: String?, ?reason_locale: String?, ?product_type: String?, ?rate_limit: Float) -> Peddler::Response
98
98
  end
99
99
  end
100
100
  end
@@ -375,19 +375,54 @@ module Peddler
375
375
  end
376
376
 
377
377
  class ProcessingDirective < Data
378
- def self.new: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
379
- | (Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
380
- def self.[]: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
381
- | (Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
378
+ def self.new: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?, ?filter_expression: String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
379
+ | (Peddler::APIs::NotificationsV1::EventFilter?, String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
380
+ def self.[]: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?, ?filter_expression: String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
381
+ | (Peddler::APIs::NotificationsV1::EventFilter?, String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
382
382
 
383
- def self.members: () -> [ :event_filter ]
383
+ def self.members: () -> [ :event_filter, :filter_expression ]
384
384
 
385
385
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::ProcessingDirective
386
386
 
387
387
  attr_reader event_filter: Peddler::APIs::NotificationsV1::EventFilter?
388
+ attr_reader filter_expression: String?
388
389
 
389
- def members: () -> [ :event_filter ]
390
- def to_h: () -> { event_filter: Peddler::APIs::NotificationsV1::EventFilter? }
390
+ def members: () -> [ :event_filter, :filter_expression ]
391
+ def to_h: () -> { event_filter: Peddler::APIs::NotificationsV1::EventFilter?, filter_expression: String? }
392
+ end
393
+
394
+ class SendTestNotificationRequest < Data
395
+ def self.new: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
396
+ | (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
397
+ def self.[]: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
398
+ | (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
399
+
400
+ def self.members: () -> [ :destination_id, :test_notification ]
401
+
402
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
403
+
404
+ attr_reader destination_id: String?
405
+ attr_reader test_notification: Peddler::APIs::NotificationsV1::TestNotification?
406
+
407
+ def members: () -> [ :destination_id, :test_notification ]
408
+ def to_h: () -> { destination_id: String?, test_notification: Peddler::APIs::NotificationsV1::TestNotification? }
409
+ end
410
+
411
+ class SendTestNotificationResponse < Data
412
+ def self.new: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
413
+ | (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
414
+ def self.[]: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
415
+ | (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
416
+
417
+ def self.members: () -> [ :errors, :payload ]
418
+
419
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
420
+
421
+ attr_reader errors: Array[Peddler::APIs::NotificationsV1::Error]?
422
+ attr_reader payload: String?
423
+
424
+ def members: () -> [ :errors, :payload ]
425
+ def to_h: () -> { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: String? }
391
426
  end
392
427
 
393
428
  class SqsResource < Data
@@ -425,6 +460,23 @@ module Peddler
425
460
  def to_h: () -> { destination_id: String, payload_version: String, subscription_id: String, processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective? }
426
461
  end
427
462
 
463
+ class TestNotification < Data
464
+ def self.new: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
465
+ | (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification
466
+ def self.[]: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
467
+ | (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification
468
+
469
+ def self.members: () -> [ :payload_version, :test_scenario ]
470
+
471
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::TestNotification
472
+
473
+ attr_reader payload_version: String
474
+ attr_reader test_scenario: String?
475
+
476
+ def members: () -> [ :payload_version, :test_scenario ]
477
+ def to_h: () -> { payload_version: String, test_scenario: String? }
478
+ end
479
+
428
480
  def create_destination: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
429
481
  def create_subscription: (Hash[untyped, untyped], String, ?rate_limit: Float) -> Peddler::Response
430
482
 
@@ -436,6 +488,8 @@ module Peddler
436
488
  def get_subscription: (String, ?payload_version: String?, ?rate_limit: Float) -> Peddler::Response
437
489
 
438
490
  def get_subscription_by_id: (String, String, ?rate_limit: Float) -> Peddler::Response
491
+
492
+ def send_test_notification: (Hash[untyped, untyped], String, ?rate_limit: Float) -> Peddler::Response
439
493
  end
440
494
  end
441
495
  end