peddler 5.1.0 → 5.3.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 (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -3
  3. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_ineligible_reason.rb +24 -0
  4. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_product.rb +24 -0
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment_summary.rb +30 -0
  6. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order.rb +48 -0
  7. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_creation_data.rb +21 -0
  8. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_listing.rb +24 -0
  9. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_reference.rb +18 -0
  10. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_preferences.rb +17 -0
  11. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +70 -0
  12. data/lib/peddler/apis/finances_2024_06_19.rb +4 -4
  13. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb +2 -1
  14. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +2 -0
  15. data/lib/peddler/apis/invoices_2024_06_19/carrier_details_context.rb +38 -0
  16. data/lib/peddler/apis/invoices_2024_06_19/government_invoice_request.rb +36 -0
  17. data/lib/peddler/apis/invoices_2024_06_19/government_invoice_status_response.rb +23 -0
  18. data/lib/peddler/apis/invoices_2024_06_19/govt_invoice_document_response.rb +17 -0
  19. data/lib/peddler/apis/invoices_2024_06_19/invoice_document.rb +18 -0
  20. data/lib/peddler/apis/invoices_2024_06_19/invoice_error.rb +20 -0
  21. data/lib/peddler/apis/invoices_2024_06_19.rb +66 -0
  22. data/lib/peddler/apis/messaging_v1.rb +0 -20
  23. data/lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb +29 -0
  24. data/lib/peddler/apis/orders_2026_01_01/alias.rb +22 -0
  25. data/lib/peddler/apis/orders_2026_01_01/associated_order.rb +22 -0
  26. data/lib/peddler/apis/orders_2026_01_01/business_hour.rb +22 -0
  27. data/lib/peddler/apis/orders_2026_01_01/buyer.rb +28 -0
  28. data/lib/peddler/apis/orders_2026_01_01/customer_address.rb +66 -0
  29. data/lib/peddler/apis/orders_2026_01_01/date_time_range.rb +23 -0
  30. data/lib/peddler/apis/orders_2026_01_01/delivery_preference.rb +28 -0
  31. data/lib/peddler/apis/orders_2026_01_01/error.rb +23 -0
  32. data/lib/peddler/apis/orders_2026_01_01/error_list.rb +17 -0
  33. data/lib/peddler/apis/orders_2026_01_01/exception_date.rb +25 -0
  34. data/lib/peddler/apis/orders_2026_01_01/get_order_response.rb +17 -0
  35. data/lib/peddler/apis/orders_2026_01_01/gift_option.rb +20 -0
  36. data/lib/peddler/apis/orders_2026_01_01/hour_minute.rb +20 -0
  37. data/lib/peddler/apis/orders_2026_01_01/item_cancellation.rb +17 -0
  38. data/lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb +22 -0
  39. data/lib/peddler/apis/orders_2026_01_01/item_condition.rb +30 -0
  40. data/lib/peddler/apis/orders_2026_01_01/item_customization.rb +17 -0
  41. data/lib/peddler/apis/orders_2026_01_01/item_expense.rb +17 -0
  42. data/lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb +29 -0
  43. data/lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb +19 -0
  44. data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +17 -0
  45. data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +18 -0
  46. data/lib/peddler/apis/orders_2026_01_01/item_points_cost.rb +18 -0
  47. data/lib/peddler/apis/orders_2026_01_01/item_price.rb +24 -0
  48. data/lib/peddler/apis/orders_2026_01_01/item_proceeds.rb +20 -0
  49. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +25 -0
  50. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +23 -0
  51. data/lib/peddler/apis/orders_2026_01_01/item_product.rb +36 -0
  52. data/lib/peddler/apis/orders_2026_01_01/item_promotion.rb +17 -0
  53. data/lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb +17 -0
  54. data/lib/peddler/apis/orders_2026_01_01/item_shipping.rb +24 -0
  55. data/lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb +30 -0
  56. data/lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb +30 -0
  57. data/lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb +21 -0
  58. data/lib/peddler/apis/orders_2026_01_01/measurement.rb +21 -0
  59. data/lib/peddler/apis/orders_2026_01_01/merchant_address.rb +44 -0
  60. data/lib/peddler/apis/orders_2026_01_01/order.rb +63 -0
  61. data/lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb +37 -0
  62. data/lib/peddler/apis/orders_2026_01_01/order_item.rb +48 -0
  63. data/lib/peddler/apis/orders_2026_01_01/order_package.rb +47 -0
  64. data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +17 -0
  65. data/lib/peddler/apis/orders_2026_01_01/package_item.rb +23 -0
  66. data/lib/peddler/apis/orders_2026_01_01/package_status.rb +32 -0
  67. data/lib/peddler/apis/orders_2026_01_01/pagination.rb +22 -0
  68. data/lib/peddler/apis/orders_2026_01_01/points_granted.rb +20 -0
  69. data/lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb +21 -0
  70. data/lib/peddler/apis/orders_2026_01_01/recipient.rb +21 -0
  71. data/lib/peddler/apis/orders_2026_01_01/sales_channel.rb +26 -0
  72. data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +35 -0
  73. data/lib/peddler/apis/orders_2026_01_01/time_window.rb +20 -0
  74. data/lib/peddler/apis/orders_2026_01_01.rb +93 -0
  75. data/lib/peddler/apis/orders_v0.rb +2 -2
  76. data/lib/peddler/apis/product_pricing_v0/get_offers_result.rb +3 -3
  77. data/lib/peddler/apis/vendor_shipments_v1/item_details.rb +16 -0
  78. data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +0 -16
  79. data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +9 -11
  80. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +37 -0
  81. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +40 -8
  82. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_traffic.rb +19 -6
  83. data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +273 -13
  84. data/lib/peddler/notifications/any_offer_changed/notification.rb +3 -3
  85. data/lib/peddler/notifications/b2b_any_offer_changed/b2b_any_offer_changed_notification.rb +6 -6
  86. data/lib/peddler/notifications/b2b_any_offer_changed/buy_box_price.rb +12 -9
  87. data/lib/peddler/notifications/b2b_any_offer_changed/lowest_price.rb +11 -8
  88. data/lib/peddler/notifications/b2b_any_offer_changed/notification.rb +10 -13
  89. data/lib/peddler/notifications/b2b_any_offer_changed/notification_metadata.rb +8 -8
  90. data/lib/peddler/notifications/b2b_any_offer_changed/offer.rb +25 -23
  91. data/lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb +9 -9
  92. data/lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb +4 -4
  93. data/lib/peddler/notifications/b2b_any_offer_changed/payload.rb +2 -2
  94. data/lib/peddler/notifications/b2b_any_offer_changed/points.rb +16 -0
  95. data/lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb +4 -4
  96. data/lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb +3 -3
  97. data/lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb +4 -4
  98. data/lib/peddler/notifications/b2b_any_offer_changed/shipping_time.rb +9 -9
  99. data/lib/peddler/notifications/b2b_any_offer_changed/ships_from.rb +4 -1
  100. data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +8 -8
  101. data/lib/peddler/version.rb +1 -1
  102. data/lib/peddler.rb +2 -1
  103. data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +153 -0
  104. data/sig/peddler/apis/invoices_2024_06_19.rbs +115 -0
  105. data/sig/peddler/apis/messaging_v1.rbs +0 -34
  106. data/sig/peddler/apis/orders_2026_01_01.rbs +940 -0
  107. data/sig/peddler/apis/product_pricing_v0.rbs +7 -7
  108. data/sig/peddler/apis/vendor_shipments_v1.rbs +18 -18
  109. data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +41 -21
  110. data/sig/peddler/notifications/any_offer_changed.rbs +7 -7
  111. data/sig/peddler/notifications/b2b_any_offer_changed.rbs +58 -38
  112. data/sig/peddler.rbs +3 -1
  113. metadata +69 -12
  114. data/lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb +0 -19
  115. data/lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb +0 -17
  116. data/lib/peddler/notifications/mfn_order_status_change/notification.rb +0 -32
  117. data/lib/peddler/notifications/mfn_order_status_change/payload.rb +0 -17
  118. data/lib/peddler/notifications/mfn_order_status_change.rb +0 -18
  119. data/lib/peddler/notifications/order_status_change/notification.rb +0 -32
  120. data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +0 -48
  121. data/lib/peddler/notifications/order_status_change/payload.rb +0 -17
  122. data/lib/peddler/notifications/order_status_change.rb +0 -18
  123. data/sig/peddler/notifications/mfn_order_status_change.rbs +0 -44
  124. data/sig/peddler/notifications/order_status_change.rbs +0 -70
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.3.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
@@ -981,8 +995,6 @@ files:
981
995
  - lib/peddler/apis/merchant_fulfillment_v0/weight.rb
982
996
  - lib/peddler/apis/messaging_v1.rb
983
997
  - lib/peddler/apis/messaging_v1/attachment.rb
984
- - lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb
985
- - lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb
986
998
  - lib/peddler/apis/messaging_v1/create_confirm_customization_details_request.rb
987
999
  - lib/peddler/apis/messaging_v1/create_confirm_customization_details_response.rb
988
1000
  - lib/peddler/apis/messaging_v1/create_confirm_delivery_details_request.rb
@@ -1038,6 +1050,58 @@ files:
1038
1050
  - lib/peddler/apis/notifications_v1/processing_directive.rb
1039
1051
  - lib/peddler/apis/notifications_v1/sqs_resource.rb
1040
1052
  - lib/peddler/apis/notifications_v1/subscription.rb
1053
+ - lib/peddler/apis/orders_2026_01_01.rb
1054
+ - lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb
1055
+ - lib/peddler/apis/orders_2026_01_01/alias.rb
1056
+ - lib/peddler/apis/orders_2026_01_01/associated_order.rb
1057
+ - lib/peddler/apis/orders_2026_01_01/business_hour.rb
1058
+ - lib/peddler/apis/orders_2026_01_01/buyer.rb
1059
+ - lib/peddler/apis/orders_2026_01_01/customer_address.rb
1060
+ - lib/peddler/apis/orders_2026_01_01/date_time_range.rb
1061
+ - lib/peddler/apis/orders_2026_01_01/delivery_preference.rb
1062
+ - lib/peddler/apis/orders_2026_01_01/error.rb
1063
+ - lib/peddler/apis/orders_2026_01_01/error_list.rb
1064
+ - lib/peddler/apis/orders_2026_01_01/exception_date.rb
1065
+ - lib/peddler/apis/orders_2026_01_01/get_order_response.rb
1066
+ - lib/peddler/apis/orders_2026_01_01/gift_option.rb
1067
+ - lib/peddler/apis/orders_2026_01_01/hour_minute.rb
1068
+ - lib/peddler/apis/orders_2026_01_01/item_cancellation.rb
1069
+ - lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb
1070
+ - lib/peddler/apis/orders_2026_01_01/item_condition.rb
1071
+ - lib/peddler/apis/orders_2026_01_01/item_customization.rb
1072
+ - lib/peddler/apis/orders_2026_01_01/item_expense.rb
1073
+ - lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb
1074
+ - lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb
1075
+ - lib/peddler/apis/orders_2026_01_01/item_packing.rb
1076
+ - lib/peddler/apis/orders_2026_01_01/item_picking.rb
1077
+ - lib/peddler/apis/orders_2026_01_01/item_points_cost.rb
1078
+ - lib/peddler/apis/orders_2026_01_01/item_price.rb
1079
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds.rb
1080
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb
1081
+ - lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb
1082
+ - lib/peddler/apis/orders_2026_01_01/item_product.rb
1083
+ - lib/peddler/apis/orders_2026_01_01/item_promotion.rb
1084
+ - lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb
1085
+ - lib/peddler/apis/orders_2026_01_01/item_shipping.rb
1086
+ - lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb
1087
+ - lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb
1088
+ - lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb
1089
+ - lib/peddler/apis/orders_2026_01_01/measurement.rb
1090
+ - lib/peddler/apis/orders_2026_01_01/merchant_address.rb
1091
+ - lib/peddler/apis/orders_2026_01_01/order.rb
1092
+ - lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb
1093
+ - lib/peddler/apis/orders_2026_01_01/order_item.rb
1094
+ - lib/peddler/apis/orders_2026_01_01/order_package.rb
1095
+ - lib/peddler/apis/orders_2026_01_01/order_proceeds.rb
1096
+ - lib/peddler/apis/orders_2026_01_01/package_item.rb
1097
+ - lib/peddler/apis/orders_2026_01_01/package_status.rb
1098
+ - lib/peddler/apis/orders_2026_01_01/pagination.rb
1099
+ - lib/peddler/apis/orders_2026_01_01/points_granted.rb
1100
+ - lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb
1101
+ - lib/peddler/apis/orders_2026_01_01/recipient.rb
1102
+ - lib/peddler/apis/orders_2026_01_01/sales_channel.rb
1103
+ - lib/peddler/apis/orders_2026_01_01/search_orders_response.rb
1104
+ - lib/peddler/apis/orders_2026_01_01/time_window.rb
1041
1105
  - lib/peddler/apis/orders_v0.rb
1042
1106
  - lib/peddler/apis/orders_v0/address.rb
1043
1107
  - lib/peddler/apis/orders_v0/address_extended_fields.rb
@@ -2073,6 +2137,7 @@ files:
2073
2137
  - lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb
2074
2138
  - lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb
2075
2139
  - lib/peddler/notifications/b2b_any_offer_changed/payload.rb
2140
+ - lib/peddler/notifications/b2b_any_offer_changed/points.rb
2076
2141
  - lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb
2077
2142
  - lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb
2078
2143
  - lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb
@@ -2154,9 +2219,6 @@ files:
2154
2219
  - lib/peddler/notifications/listings_item_status_change.rb
2155
2220
  - lib/peddler/notifications/listings_item_status_change/notification.rb
2156
2221
  - 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
2222
  - lib/peddler/notifications/order_change.rb
2161
2223
  - lib/peddler/notifications/order_change/notification.rb
2162
2224
  - lib/peddler/notifications/order_change/order_change_notification.rb
@@ -2164,10 +2226,6 @@ files:
2164
2226
  - lib/peddler/notifications/order_change/order_item.rb
2165
2227
  - lib/peddler/notifications/order_change/payload.rb
2166
2228
  - 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
2229
  - lib/peddler/notifications/pricing_health.rb
2172
2230
  - lib/peddler/notifications/pricing_health/buy_box_price.rb
2173
2231
  - lib/peddler/notifications/pricing_health/merchant_offer.rb
@@ -2368,6 +2426,7 @@ files:
2368
2426
  - sig/peddler/apis/merchant_fulfillment_v0.rbs
2369
2427
  - sig/peddler/apis/messaging_v1.rbs
2370
2428
  - sig/peddler/apis/notifications_v1.rbs
2429
+ - sig/peddler/apis/orders_2026_01_01.rbs
2371
2430
  - sig/peddler/apis/orders_v0.rbs
2372
2431
  - sig/peddler/apis/product_fees_v0.rbs
2373
2432
  - sig/peddler/apis/product_pricing_2022_05_01.rbs
@@ -2436,9 +2495,7 @@ files:
2436
2495
  - sig/peddler/notifications/listings_item_issues_change_notification_2023_12_13.rbs
2437
2496
  - sig/peddler/notifications/listings_item_mfn_quantity_change.rbs
2438
2497
  - sig/peddler/notifications/listings_item_status_change.rbs
2439
- - sig/peddler/notifications/mfn_order_status_change.rbs
2440
2498
  - sig/peddler/notifications/order_change.rbs
2441
- - sig/peddler/notifications/order_status_change.rbs
2442
2499
  - sig/peddler/notifications/pricing_health.rbs
2443
2500
  - sig/peddler/notifications/product_type_definitions_change.rbs
2444
2501
  - sig/peddler/notifications/report_processing_finished.rbs
@@ -1,19 +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 APIs
9
- class MessagingV1
10
- # The request schema for the createAmazonMotors operation.
11
- CreateAmazonMotorsRequest = Structure.new do
12
- # @return [Array<Attachment>] Attachments to include in the message to the buyer. If any text is included in the
13
- # attachment, the text must be written in the buyer's language of preference, which can be retrieved from the
14
- # GetAttributes operation.
15
- attribute?(:attachments, [Attachment])
16
- end
17
- end
18
- end
19
- 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 APIs
9
- class MessagingV1
10
- # The response schema for the createAmazonMotors operation.
11
- CreateAmazonMotorsResponse = Structure.new do
12
- # @return [Array<Error>]
13
- attribute?(:errors, [Error])
14
- end
15
- end
16
- end
17
- 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 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