peddler 5.1.0 → 5.2.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 (114) hide show
  1. checksums.yaml +4 -4
  2. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_ineligible_reason.rb +24 -0
  3. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_product.rb +24 -0
  4. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment_summary.rb +30 -0
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order.rb +48 -0
  6. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_creation_data.rb +21 -0
  7. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_listing.rb +24 -0
  8. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_reference.rb +18 -0
  9. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_preferences.rb +17 -0
  10. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +70 -0
  11. data/lib/peddler/apis/finances_2024_06_19.rb +4 -4
  12. data/lib/peddler/apis/invoices_2024_06_19/carrier_details_context.rb +38 -0
  13. data/lib/peddler/apis/invoices_2024_06_19/government_invoice_request.rb +36 -0
  14. data/lib/peddler/apis/invoices_2024_06_19/government_invoice_status_response.rb +23 -0
  15. data/lib/peddler/apis/invoices_2024_06_19/govt_invoice_document_response.rb +17 -0
  16. data/lib/peddler/apis/invoices_2024_06_19/invoice_document.rb +18 -0
  17. data/lib/peddler/apis/invoices_2024_06_19/invoice_error.rb +20 -0
  18. data/lib/peddler/apis/invoices_2024_06_19.rb +66 -0
  19. data/lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb +29 -0
  20. data/lib/peddler/apis/orders_2026_01_01/alias.rb +22 -0
  21. data/lib/peddler/apis/orders_2026_01_01/associated_order.rb +22 -0
  22. data/lib/peddler/apis/orders_2026_01_01/business_hour.rb +22 -0
  23. data/lib/peddler/apis/orders_2026_01_01/buyer.rb +28 -0
  24. data/lib/peddler/apis/orders_2026_01_01/customer_address.rb +66 -0
  25. data/lib/peddler/apis/orders_2026_01_01/date_time_range.rb +23 -0
  26. data/lib/peddler/apis/orders_2026_01_01/delivery_preference.rb +28 -0
  27. data/lib/peddler/apis/orders_2026_01_01/error.rb +23 -0
  28. data/lib/peddler/apis/orders_2026_01_01/error_list.rb +17 -0
  29. data/lib/peddler/apis/orders_2026_01_01/exception_date.rb +25 -0
  30. data/lib/peddler/apis/orders_2026_01_01/get_order_response.rb +17 -0
  31. data/lib/peddler/apis/orders_2026_01_01/gift_option.rb +20 -0
  32. data/lib/peddler/apis/orders_2026_01_01/hour_minute.rb +20 -0
  33. data/lib/peddler/apis/orders_2026_01_01/item_cancellation.rb +17 -0
  34. data/lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb +22 -0
  35. data/lib/peddler/apis/orders_2026_01_01/item_condition.rb +30 -0
  36. data/lib/peddler/apis/orders_2026_01_01/item_customization.rb +17 -0
  37. data/lib/peddler/apis/orders_2026_01_01/item_expense.rb +17 -0
  38. data/lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb +29 -0
  39. data/lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb +19 -0
  40. data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +17 -0
  41. data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +18 -0
  42. data/lib/peddler/apis/orders_2026_01_01/item_points_cost.rb +18 -0
  43. data/lib/peddler/apis/orders_2026_01_01/item_price.rb +24 -0
  44. data/lib/peddler/apis/orders_2026_01_01/item_proceeds.rb +20 -0
  45. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +25 -0
  46. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +23 -0
  47. data/lib/peddler/apis/orders_2026_01_01/item_product.rb +36 -0
  48. data/lib/peddler/apis/orders_2026_01_01/item_promotion.rb +17 -0
  49. data/lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb +17 -0
  50. data/lib/peddler/apis/orders_2026_01_01/item_shipping.rb +24 -0
  51. data/lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb +30 -0
  52. data/lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb +30 -0
  53. data/lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb +21 -0
  54. data/lib/peddler/apis/orders_2026_01_01/measurement.rb +21 -0
  55. data/lib/peddler/apis/orders_2026_01_01/merchant_address.rb +44 -0
  56. data/lib/peddler/apis/orders_2026_01_01/order.rb +63 -0
  57. data/lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb +37 -0
  58. data/lib/peddler/apis/orders_2026_01_01/order_item.rb +48 -0
  59. data/lib/peddler/apis/orders_2026_01_01/order_package.rb +47 -0
  60. data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +17 -0
  61. data/lib/peddler/apis/orders_2026_01_01/package_item.rb +23 -0
  62. data/lib/peddler/apis/orders_2026_01_01/package_status.rb +32 -0
  63. data/lib/peddler/apis/orders_2026_01_01/pagination.rb +22 -0
  64. data/lib/peddler/apis/orders_2026_01_01/points_granted.rb +20 -0
  65. data/lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb +21 -0
  66. data/lib/peddler/apis/orders_2026_01_01/recipient.rb +21 -0
  67. data/lib/peddler/apis/orders_2026_01_01/sales_channel.rb +26 -0
  68. data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +35 -0
  69. data/lib/peddler/apis/orders_2026_01_01/time_window.rb +20 -0
  70. data/lib/peddler/apis/orders_2026_01_01.rb +93 -0
  71. data/lib/peddler/apis/orders_v0/export_info.rb +23 -0
  72. data/lib/peddler/apis/orders_v0/fulfillment_instructions.rb +20 -0
  73. data/lib/peddler/apis/orders_v0/fulfillment_location.rb +17 -0
  74. data/lib/peddler/apis/orders_v0/fulfillment_plan.rb +41 -0
  75. data/lib/peddler/apis/orders_v0/fulfillment_plan_item.rb +20 -0
  76. data/lib/peddler/apis/orders_v0/fulfillment_plan_shipping_constraints.rb +20 -0
  77. data/lib/peddler/apis/orders_v0/get_order_fulfillment_instructions_response.rb +21 -0
  78. data/lib/peddler/apis/orders_v0/order_item.rb +3 -0
  79. data/lib/peddler/apis/orders_v0/shipping_instructions.rb +23 -0
  80. data/lib/peddler/apis/orders_v0.rb +14 -2
  81. data/lib/peddler/apis/vendor_shipments_v1/item_details.rb +16 -0
  82. data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +0 -16
  83. data/lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb +25 -0
  84. data/lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb +18 -0
  85. data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +9 -11
  86. data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_request.rb +17 -0
  87. data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_response.rb +20 -0
  88. data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_result.rb +17 -0
  89. data/lib/peddler/apis/vendor_shipments_v1.rb +12 -0
  90. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +16 -0
  91. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +28 -8
  92. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_traffic.rb +19 -6
  93. data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +153 -13
  94. data/lib/peddler/notifications/any_offer_changed/notification.rb +3 -3
  95. data/lib/peddler/version.rb +1 -1
  96. data/lib/peddler.rb +2 -1
  97. data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +153 -0
  98. data/sig/peddler/apis/invoices_2024_06_19.rbs +115 -0
  99. data/sig/peddler/apis/orders_2026_01_01.rbs +940 -0
  100. data/sig/peddler/apis/orders_v0.rbs +151 -7
  101. data/sig/peddler/apis/vendor_shipments_v1.rbs +103 -18
  102. data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +32 -21
  103. data/sig/peddler/notifications/any_offer_changed.rbs +7 -7
  104. data/sig/peddler.rbs +3 -1
  105. metadata +81 -10
  106. data/lib/peddler/notifications/mfn_order_status_change/notification.rb +0 -32
  107. data/lib/peddler/notifications/mfn_order_status_change/payload.rb +0 -17
  108. data/lib/peddler/notifications/mfn_order_status_change.rb +0 -18
  109. data/lib/peddler/notifications/order_status_change/notification.rb +0 -32
  110. data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +0 -48
  111. data/lib/peddler/notifications/order_status_change/payload.rb +0 -17
  112. data/lib/peddler/notifications/order_status_change.rb +0 -18
  113. data/sig/peddler/notifications/mfn_order_status_change.rbs +0 -44
  114. data/sig/peddler/notifications/order_status_change.rbs +0 -70
@@ -62,12 +62,12 @@ module Peddler
62
62
  end
63
63
 
64
64
  class Notification < Data
65
- def self.new: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String?, ?notification_version: String?) -> Peddler::Notifications::AnyOfferChanged::Notification
66
- | (String?, Hash[untyped, untyped]?, String?, Peddler::Notifications::AnyOfferChanged::Payload?, String?, String?) -> Peddler::Notifications::AnyOfferChanged::Notification
67
- def self.[]: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String?, ?notification_version: String?) -> Peddler::Notifications::AnyOfferChanged::Notification
68
- | (String?, Hash[untyped, untyped]?, String?, Peddler::Notifications::AnyOfferChanged::Payload?, String?, String?) -> Peddler::Notifications::AnyOfferChanged::Notification
65
+ def self.new: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String?) -> Peddler::Notifications::AnyOfferChanged::Notification
66
+ | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::AnyOfferChanged::Payload?, String?) -> Peddler::Notifications::AnyOfferChanged::Notification
67
+ def self.[]: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String?) -> Peddler::Notifications::AnyOfferChanged::Notification
68
+ | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::AnyOfferChanged::Payload?, String?) -> Peddler::Notifications::AnyOfferChanged::Notification
69
69
 
70
- def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :payload, :payload_version, :notification_version ]
70
+ def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
71
71
 
72
72
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::Notification
73
73
 
@@ -78,8 +78,8 @@ module Peddler
78
78
  attr_reader payload: Peddler::Notifications::AnyOfferChanged::Payload?
79
79
  attr_reader payload_version: String?
80
80
 
81
- def members: () -> [ :event_time, :notification_metadata, :notification_type, :payload, :payload_version, :notification_version ]
82
- def to_h: () -> { event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String?, notification_version: String? }
81
+ def members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
82
+ def to_h: () -> { event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::AnyOfferChanged::Payload?, payload_version: String? }
83
83
  end
84
84
 
85
85
  class NumberOfBuyBoxEligibleOffer < Data
data/sig/peddler.rbs CHANGED
@@ -105,7 +105,9 @@ module Peddler
105
105
 
106
106
  def self.notifications_v1: () -> singleton(APIs::NotificationsV1)
107
107
 
108
- def self.orders: () -> singleton(APIs::OrdersV0)
108
+ def self.orders: () -> singleton(APIs::Orders20260101)
109
+
110
+ def self.orders_2026_01_01: () -> singleton(APIs::Orders20260101)
109
111
 
110
112
  def self.orders_v0: () -> singleton(APIs::OrdersV0)
111
113
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
@@ -80,9 +80,11 @@ files:
80
80
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/address.rb
81
81
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/carrier_code.rb
82
82
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/destination_details.rb
83
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_ineligible_reason.rb
83
84
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_package.rb
84
85
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_package_contents.rb
85
86
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_package_quantity.rb
87
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_product.rb
86
88
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/error.rb
87
89
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/error_list.rb
88
90
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/expiration_details.rb
@@ -100,6 +102,7 @@ files:
100
102
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inventory_summary.rb
101
103
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/measurement_data.rb
102
104
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/order_ineligibility_reason.rb
105
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment_summary.rb
103
106
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/package_dimensions.rb
104
107
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/package_volume.rb
105
108
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/package_weight.rb
@@ -107,6 +110,11 @@ files:
107
110
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/prep_instruction.rb
108
111
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/product_attribute.rb
109
112
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/product_quantity.rb
113
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order.rb
114
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_creation_data.rb
115
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_listing.rb
116
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_reference.rb
117
+ - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_preferences.rb
110
118
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_labels.rb
111
119
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_listing.rb
112
120
  - lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/sku_eligibility.rb
@@ -851,6 +859,7 @@ files:
851
859
  - lib/peddler/apis/fulfillment_outbound_2020_07_01/weight.rb
852
860
  - lib/peddler/apis/invoices_2024_06_19.rb
853
861
  - lib/peddler/apis/invoices_2024_06_19/attribute_option.rb
862
+ - lib/peddler/apis/invoices_2024_06_19/carrier_details_context.rb
854
863
  - lib/peddler/apis/invoices_2024_06_19/error.rb
855
864
  - lib/peddler/apis/invoices_2024_06_19/error_list.rb
856
865
  - lib/peddler/apis/invoices_2024_06_19/export.rb
@@ -862,7 +871,12 @@ files:
862
871
  - lib/peddler/apis/invoices_2024_06_19/get_invoices_export_response.rb
863
872
  - lib/peddler/apis/invoices_2024_06_19/get_invoices_exports_response.rb
864
873
  - lib/peddler/apis/invoices_2024_06_19/get_invoices_response.rb
874
+ - lib/peddler/apis/invoices_2024_06_19/government_invoice_request.rb
875
+ - lib/peddler/apis/invoices_2024_06_19/government_invoice_status_response.rb
876
+ - lib/peddler/apis/invoices_2024_06_19/govt_invoice_document_response.rb
865
877
  - lib/peddler/apis/invoices_2024_06_19/invoice.rb
878
+ - lib/peddler/apis/invoices_2024_06_19/invoice_document.rb
879
+ - lib/peddler/apis/invoices_2024_06_19/invoice_error.rb
866
880
  - lib/peddler/apis/invoices_2024_06_19/invoices_attributes.rb
867
881
  - lib/peddler/apis/invoices_2024_06_19/invoices_document.rb
868
882
  - lib/peddler/apis/invoices_2024_06_19/transaction_identifier.rb
@@ -1038,6 +1052,58 @@ files:
1038
1052
  - lib/peddler/apis/notifications_v1/processing_directive.rb
1039
1053
  - lib/peddler/apis/notifications_v1/sqs_resource.rb
1040
1054
  - lib/peddler/apis/notifications_v1/subscription.rb
1055
+ - lib/peddler/apis/orders_2026_01_01.rb
1056
+ - lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb
1057
+ - lib/peddler/apis/orders_2026_01_01/alias.rb
1058
+ - lib/peddler/apis/orders_2026_01_01/associated_order.rb
1059
+ - lib/peddler/apis/orders_2026_01_01/business_hour.rb
1060
+ - lib/peddler/apis/orders_2026_01_01/buyer.rb
1061
+ - lib/peddler/apis/orders_2026_01_01/customer_address.rb
1062
+ - lib/peddler/apis/orders_2026_01_01/date_time_range.rb
1063
+ - lib/peddler/apis/orders_2026_01_01/delivery_preference.rb
1064
+ - lib/peddler/apis/orders_2026_01_01/error.rb
1065
+ - lib/peddler/apis/orders_2026_01_01/error_list.rb
1066
+ - lib/peddler/apis/orders_2026_01_01/exception_date.rb
1067
+ - lib/peddler/apis/orders_2026_01_01/get_order_response.rb
1068
+ - lib/peddler/apis/orders_2026_01_01/gift_option.rb
1069
+ - lib/peddler/apis/orders_2026_01_01/hour_minute.rb
1070
+ - lib/peddler/apis/orders_2026_01_01/item_cancellation.rb
1071
+ - lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb
1072
+ - lib/peddler/apis/orders_2026_01_01/item_condition.rb
1073
+ - lib/peddler/apis/orders_2026_01_01/item_customization.rb
1074
+ - lib/peddler/apis/orders_2026_01_01/item_expense.rb
1075
+ - lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb
1076
+ - lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb
1077
+ - lib/peddler/apis/orders_2026_01_01/item_packing.rb
1078
+ - lib/peddler/apis/orders_2026_01_01/item_picking.rb
1079
+ - lib/peddler/apis/orders_2026_01_01/item_points_cost.rb
1080
+ - lib/peddler/apis/orders_2026_01_01/item_price.rb
1081
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds.rb
1082
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb
1083
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb
1084
+ - lib/peddler/apis/orders_2026_01_01/item_product.rb
1085
+ - lib/peddler/apis/orders_2026_01_01/item_promotion.rb
1086
+ - lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb
1087
+ - lib/peddler/apis/orders_2026_01_01/item_shipping.rb
1088
+ - lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb
1089
+ - lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb
1090
+ - lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb
1091
+ - lib/peddler/apis/orders_2026_01_01/measurement.rb
1092
+ - lib/peddler/apis/orders_2026_01_01/merchant_address.rb
1093
+ - lib/peddler/apis/orders_2026_01_01/order.rb
1094
+ - lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb
1095
+ - lib/peddler/apis/orders_2026_01_01/order_item.rb
1096
+ - lib/peddler/apis/orders_2026_01_01/order_package.rb
1097
+ - lib/peddler/apis/orders_2026_01_01/order_proceeds.rb
1098
+ - lib/peddler/apis/orders_2026_01_01/package_item.rb
1099
+ - lib/peddler/apis/orders_2026_01_01/package_status.rb
1100
+ - lib/peddler/apis/orders_2026_01_01/pagination.rb
1101
+ - lib/peddler/apis/orders_2026_01_01/points_granted.rb
1102
+ - lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb
1103
+ - lib/peddler/apis/orders_2026_01_01/recipient.rb
1104
+ - lib/peddler/apis/orders_2026_01_01/sales_channel.rb
1105
+ - lib/peddler/apis/orders_2026_01_01/search_orders_response.rb
1106
+ - lib/peddler/apis/orders_2026_01_01/time_window.rb
1041
1107
  - lib/peddler/apis/orders_v0.rb
1042
1108
  - lib/peddler/apis/orders_v0/address.rb
1043
1109
  - lib/peddler/apis/orders_v0/address_extended_fields.rb
@@ -1058,9 +1124,16 @@ files:
1058
1124
  - lib/peddler/apis/orders_v0/error.rb
1059
1125
  - lib/peddler/apis/orders_v0/error_list.rb
1060
1126
  - lib/peddler/apis/orders_v0/exception_dates.rb
1127
+ - lib/peddler/apis/orders_v0/export_info.rb
1061
1128
  - lib/peddler/apis/orders_v0/fulfillment_instruction.rb
1129
+ - lib/peddler/apis/orders_v0/fulfillment_instructions.rb
1130
+ - lib/peddler/apis/orders_v0/fulfillment_location.rb
1131
+ - lib/peddler/apis/orders_v0/fulfillment_plan.rb
1132
+ - lib/peddler/apis/orders_v0/fulfillment_plan_item.rb
1133
+ - lib/peddler/apis/orders_v0/fulfillment_plan_shipping_constraints.rb
1062
1134
  - lib/peddler/apis/orders_v0/get_order_address_response.rb
1063
1135
  - lib/peddler/apis/orders_v0/get_order_buyer_info_response.rb
1136
+ - lib/peddler/apis/orders_v0/get_order_fulfillment_instructions_response.rb
1064
1137
  - lib/peddler/apis/orders_v0/get_order_items_buyer_info_response.rb
1065
1138
  - lib/peddler/apis/orders_v0/get_order_items_response.rb
1066
1139
  - lib/peddler/apis/orders_v0/get_order_regulated_info_response.rb
@@ -1098,6 +1171,7 @@ files:
1098
1171
  - lib/peddler/apis/orders_v0/regulated_order_verification_status.rb
1099
1172
  - lib/peddler/apis/orders_v0/rejection_reason.rb
1100
1173
  - lib/peddler/apis/orders_v0/shipping_constraints.rb
1174
+ - lib/peddler/apis/orders_v0/shipping_instructions.rb
1101
1175
  - lib/peddler/apis/orders_v0/substitution_option.rb
1102
1176
  - lib/peddler/apis/orders_v0/substitution_option_list.rb
1103
1177
  - lib/peddler/apis/orders_v0/substitution_preferences.rb
@@ -1924,9 +1998,11 @@ files:
1924
1998
  - lib/peddler/apis/vendor_shipments_v1/location.rb
1925
1999
  - lib/peddler/apis/vendor_shipments_v1/package_item_details.rb
1926
2000
  - lib/peddler/apis/vendor_shipments_v1/packed_items.rb
2001
+ - lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb
1927
2002
  - lib/peddler/apis/vendor_shipments_v1/pagination.rb
1928
2003
  - lib/peddler/apis/vendor_shipments_v1/pallet.rb
1929
2004
  - lib/peddler/apis/vendor_shipments_v1/party_identification.rb
2005
+ - lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb
1930
2006
  - lib/peddler/apis/vendor_shipments_v1/purchase_order_items.rb
1931
2007
  - lib/peddler/apis/vendor_shipments_v1/purchase_orders.rb
1932
2008
  - lib/peddler/apis/vendor_shipments_v1/regulation_references.rb
@@ -1938,6 +2014,9 @@ files:
1938
2014
  - lib/peddler/apis/vendor_shipments_v1/shipment_measurements.rb
1939
2015
  - lib/peddler/apis/vendor_shipments_v1/shipment_status_details.rb
1940
2016
  - lib/peddler/apis/vendor_shipments_v1/stop.rb
2017
+ - lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_request.rb
2018
+ - lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_response.rb
2019
+ - lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_result.rb
1941
2020
  - lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmations_request.rb
1942
2021
  - lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmations_response.rb
1943
2022
  - lib/peddler/apis/vendor_shipments_v1/submit_shipments.rb
@@ -2154,9 +2233,6 @@ files:
2154
2233
  - lib/peddler/notifications/listings_item_status_change.rb
2155
2234
  - lib/peddler/notifications/listings_item_status_change/notification.rb
2156
2235
  - lib/peddler/notifications/listings_item_status_change/payload.rb
2157
- - lib/peddler/notifications/mfn_order_status_change.rb
2158
- - lib/peddler/notifications/mfn_order_status_change/notification.rb
2159
- - lib/peddler/notifications/mfn_order_status_change/payload.rb
2160
2236
  - lib/peddler/notifications/order_change.rb
2161
2237
  - lib/peddler/notifications/order_change/notification.rb
2162
2238
  - lib/peddler/notifications/order_change/order_change_notification.rb
@@ -2164,10 +2240,6 @@ files:
2164
2240
  - lib/peddler/notifications/order_change/order_item.rb
2165
2241
  - lib/peddler/notifications/order_change/payload.rb
2166
2242
  - lib/peddler/notifications/order_change/summary.rb
2167
- - lib/peddler/notifications/order_status_change.rb
2168
- - lib/peddler/notifications/order_status_change/notification.rb
2169
- - lib/peddler/notifications/order_status_change/order_status_change_notification.rb
2170
- - lib/peddler/notifications/order_status_change/payload.rb
2171
2243
  - lib/peddler/notifications/pricing_health.rb
2172
2244
  - lib/peddler/notifications/pricing_health/buy_box_price.rb
2173
2245
  - lib/peddler/notifications/pricing_health/merchant_offer.rb
@@ -2368,6 +2440,7 @@ files:
2368
2440
  - sig/peddler/apis/merchant_fulfillment_v0.rbs
2369
2441
  - sig/peddler/apis/messaging_v1.rbs
2370
2442
  - sig/peddler/apis/notifications_v1.rbs
2443
+ - sig/peddler/apis/orders_2026_01_01.rbs
2371
2444
  - sig/peddler/apis/orders_v0.rbs
2372
2445
  - sig/peddler/apis/product_fees_v0.rbs
2373
2446
  - sig/peddler/apis/product_pricing_2022_05_01.rbs
@@ -2436,9 +2509,7 @@ files:
2436
2509
  - sig/peddler/notifications/listings_item_issues_change_notification_2023_12_13.rbs
2437
2510
  - sig/peddler/notifications/listings_item_mfn_quantity_change.rbs
2438
2511
  - sig/peddler/notifications/listings_item_status_change.rbs
2439
- - sig/peddler/notifications/mfn_order_status_change.rbs
2440
2512
  - sig/peddler/notifications/order_change.rbs
2441
- - sig/peddler/notifications/order_status_change.rbs
2442
2513
  - sig/peddler/notifications/pricing_health.rbs
2443
2514
  - sig/peddler/notifications/product_type_definitions_change.rbs
2444
2515
  - sig/peddler/notifications/report_processing_finished.rbs
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- require "structure"
6
-
7
- module Peddler
8
- module Notifications
9
- module MfnOrderStatusChange
10
- # The root schema comprises the entire JSON document.
11
- Notification = Structure.new do
12
- # @return [String]
13
- attribute(:event_time, String, from: "EventTime")
14
-
15
- # @return [Hash]
16
- attribute(:notification_metadata, Hash, from: "NotificationMetadata")
17
-
18
- # @return [String]
19
- attribute(:notification_type, String, from: "NotificationType")
20
-
21
- # @return [String]
22
- attribute(:notification_version, String, from: "NotificationVersion")
23
-
24
- # @return [Payload]
25
- attribute(:payload, Payload, from: "Payload")
26
-
27
- # @return [String]
28
- attribute(:payload_version, String, from: "PayloadVersion")
29
- end
30
- end
31
- end
32
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- require "structure"
6
-
7
- module Peddler
8
- module Notifications
9
- module MfnOrderStatusChange
10
- # Notification payload data
11
- Payload = Structure.new do
12
- # @return [Hash]
13
- attribute(:mfn_order_status_change_notification, Hash, from: "MFNOrderStatusChangeNotification")
14
- end
15
- end
16
- end
17
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- module Peddler
6
- module Notifications
7
- # The root schema
8
- #
9
- # The root schema comprises the entire JSON document.
10
- module MfnOrderStatusChange
11
- class << self
12
- def parse(hash)
13
- Notification.parse(hash)
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- require "structure"
6
-
7
- module Peddler
8
- module Notifications
9
- module OrderStatusChange
10
- # The root schema comprises the entire JSON document.
11
- Notification = Structure.new do
12
- # @return [String]
13
- attribute(:event_time, String, from: "EventTime")
14
-
15
- # @return [Hash]
16
- attribute(:notification_metadata, Hash, from: "NotificationMetadata")
17
-
18
- # @return [String]
19
- attribute(:notification_type, String, from: "NotificationType")
20
-
21
- # @return [String]
22
- attribute(:notification_version, String, from: "NotificationVersion")
23
-
24
- # @return [Payload]
25
- attribute(:payload, Payload, from: "Payload")
26
-
27
- # @return [String]
28
- attribute(:payload_version, String, from: "PayloadVersion")
29
- end
30
- end
31
- end
32
- end
@@ -1,48 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- require "structure"
6
-
7
- module Peddler
8
- module Notifications
9
- module OrderStatusChange
10
- # Nested notification data
11
- OrderStatusChangeNotification = Structure.new do
12
- # @return [String] An Amazon-defined order identifier in 3-7-7 format.
13
- attribute(:amazon_order_id, String, from: "AmazonOrderId")
14
-
15
- # @return [String] Fulfillment channel of the affected order, MFN or AFN.
16
- attribute(:fulfillment_channel, String, from: "FulfillmentChannel")
17
-
18
- # @return [String] Amazon marketplace identifier of the affected order.
19
- attribute(:marketplace_id, String, from: "MarketplaceId")
20
-
21
- # @return [String] The Amazon-defined order item identifier.
22
- attribute(:order_item_id, String, from: "OrderItemId")
23
-
24
- # @return [String] The current order status. The possible values include UpComing, Pending, Unshipped,
25
- # PartiallyShipped, PendingAvailability, Canceled, InvoiceUnconfirmed, Shipped, and Unfulfillable.
26
- attribute(:order_status, String, from: "OrderStatus")
27
-
28
- # @return [Integer] The number of items in the order.
29
- attribute(:quantity, Integer, from: "Quantity")
30
-
31
- # @return [String] The selling partner identifier.
32
- attribute(:seller_id, String, from: "SellerId")
33
-
34
- # @return [String] The seller-specific SKU identifier for an item.
35
- attribute(:seller_sku, String, from: "SellerSKU")
36
-
37
- # @return [String] The destination postal code.
38
- attribute?(:destination_postal_code, String, from: "DestinationPostalCode")
39
-
40
- # @return [String] The purchase date of the order in Epoch time.
41
- attribute?(:purchase_date, String, from: "PurchaseDate")
42
-
43
- # @return [String] The unique identifier of the supply source.
44
- attribute?(:supply_source_id, String, from: "SupplySourceId")
45
- end
46
- end
47
- end
48
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- require "structure"
6
-
7
- module Peddler
8
- module Notifications
9
- module OrderStatusChange
10
- # Notification payload that wraps nested notification data
11
- Payload = Structure.new do
12
- # @return [OrderStatusChangeNotification]
13
- attribute(:order_status_change_notification, OrderStatusChangeNotification, from: "OrderStatusChangeNotification")
14
- end
15
- end
16
- end
17
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is generated. Do not edit.
4
-
5
- module Peddler
6
- module Notifications
7
- # The root schema
8
- #
9
- # The root schema comprises the entire JSON document.
10
- module OrderStatusChange
11
- class << self
12
- def parse(hash)
13
- Notification.parse(hash)
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,44 +0,0 @@
1
- module Peddler
2
- module Notifications
3
- module MfnOrderStatusChange
4
- class Notification < Data
5
- def self.new: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::MfnOrderStatusChange::Payload?, payload_version: String?) -> Peddler::Notifications::MfnOrderStatusChange::Notification
6
- | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::MfnOrderStatusChange::Payload?, String?) -> Peddler::Notifications::MfnOrderStatusChange::Notification
7
- def self.[]: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::MfnOrderStatusChange::Payload?, payload_version: String?) -> Peddler::Notifications::MfnOrderStatusChange::Notification
8
- | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::MfnOrderStatusChange::Payload?, String?) -> Peddler::Notifications::MfnOrderStatusChange::Notification
9
-
10
- def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
11
-
12
- def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::MfnOrderStatusChange::Notification
13
-
14
- attr_reader event_time: String?
15
- attr_reader notification_metadata: Hash[untyped, untyped]?
16
- attr_reader notification_type: String?
17
- attr_reader notification_version: String?
18
- attr_reader payload: Peddler::Notifications::MfnOrderStatusChange::Payload?
19
- attr_reader payload_version: String?
20
-
21
- def members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
22
- def to_h: () -> { event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::MfnOrderStatusChange::Payload?, payload_version: String? }
23
- end
24
-
25
- class Payload < Data
26
- def self.new: (mfn_order_status_change_notification: Hash[untyped, untyped]?) -> Peddler::Notifications::MfnOrderStatusChange::Payload
27
- | (Hash[untyped, untyped]?) -> Peddler::Notifications::MfnOrderStatusChange::Payload
28
- def self.[]: (mfn_order_status_change_notification: Hash[untyped, untyped]?) -> Peddler::Notifications::MfnOrderStatusChange::Payload
29
- | (Hash[untyped, untyped]?) -> Peddler::Notifications::MfnOrderStatusChange::Payload
30
-
31
- def self.members: () -> [ :mfn_order_status_change_notification ]
32
-
33
- def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::MfnOrderStatusChange::Payload
34
-
35
- attr_reader mfn_order_status_change_notification: Hash[untyped, untyped]?
36
-
37
- def members: () -> [ :mfn_order_status_change_notification ]
38
- def to_h: () -> { mfn_order_status_change_notification: Hash[untyped, untyped]? }
39
- end
40
-
41
- def self.parse: (Hash[String | Symbol, untyped]) -> Peddler::Notifications::MfnOrderStatusChange::Notification
42
- end
43
- end
44
- end
@@ -1,70 +0,0 @@
1
- module Peddler
2
- module Notifications
3
- module OrderStatusChange
4
- class Notification < Data
5
- def self.new: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::OrderStatusChange::Payload?, payload_version: String?) -> Peddler::Notifications::OrderStatusChange::Notification
6
- | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::OrderStatusChange::Payload?, String?) -> Peddler::Notifications::OrderStatusChange::Notification
7
- def self.[]: (event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::OrderStatusChange::Payload?, payload_version: String?) -> Peddler::Notifications::OrderStatusChange::Notification
8
- | (String?, Hash[untyped, untyped]?, String?, String?, Peddler::Notifications::OrderStatusChange::Payload?, String?) -> Peddler::Notifications::OrderStatusChange::Notification
9
-
10
- def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
11
-
12
- def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::OrderStatusChange::Notification
13
-
14
- attr_reader event_time: String?
15
- attr_reader notification_metadata: Hash[untyped, untyped]?
16
- attr_reader notification_type: String?
17
- attr_reader notification_version: String?
18
- attr_reader payload: Peddler::Notifications::OrderStatusChange::Payload?
19
- attr_reader payload_version: String?
20
-
21
- def members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]
22
- def to_h: () -> { event_time: String?, notification_metadata: Hash[untyped, untyped]?, notification_type: String?, notification_version: String?, payload: Peddler::Notifications::OrderStatusChange::Payload?, payload_version: String? }
23
- end
24
-
25
- class OrderStatusChangeNotification < Data
26
- def self.new: (amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, ?destination_postal_code: String?, ?purchase_date: String?, ?supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
27
- | (String?, String?, String?, String?, String?, Integer?, String?, String?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
28
- def self.[]: (amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, ?destination_postal_code: String?, ?purchase_date: String?, ?supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
29
- | (String?, String?, String?, String?, String?, Integer?, String?, String?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
30
-
31
- def self.members: () -> [ :amazon_order_id, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :quantity, :seller_id, :seller_sku, :destination_postal_code, :purchase_date, :supply_source_id ]
32
-
33
- def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
34
-
35
- attr_reader amazon_order_id: String?
36
- attr_reader destination_postal_code: String?
37
- attr_reader fulfillment_channel: String?
38
- attr_reader marketplace_id: String?
39
- attr_reader order_item_id: String?
40
- attr_reader order_status: String?
41
- attr_reader purchase_date: String?
42
- attr_reader quantity: Integer?
43
- attr_reader seller_id: String?
44
- attr_reader seller_sku: String?
45
- attr_reader supply_source_id: String?
46
-
47
- def members: () -> [ :amazon_order_id, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :quantity, :seller_id, :seller_sku, :destination_postal_code, :purchase_date, :supply_source_id ]
48
- def to_h: () -> { amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, destination_postal_code: String?, purchase_date: String?, supply_source_id: String? }
49
- end
50
-
51
- class Payload < Data
52
- def self.new: (order_status_change_notification: Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification?) -> Peddler::Notifications::OrderStatusChange::Payload
53
- | (Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification?) -> Peddler::Notifications::OrderStatusChange::Payload
54
- def self.[]: (order_status_change_notification: Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification?) -> Peddler::Notifications::OrderStatusChange::Payload
55
- | (Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification?) -> Peddler::Notifications::OrderStatusChange::Payload
56
-
57
- def self.members: () -> [ :order_status_change_notification ]
58
-
59
- def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::OrderStatusChange::Payload
60
-
61
- attr_reader order_status_change_notification: Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification?
62
-
63
- def members: () -> [ :order_status_change_notification ]
64
- def to_h: () -> { order_status_change_notification: Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification? }
65
- end
66
-
67
- def self.parse: (Hash[String | Symbol, untyped]) -> Peddler::Notifications::OrderStatusChange::Notification
68
- end
69
- end
70
- end