peddler 5.0.0.pre.3 → 5.0.0.pre.4

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 (853) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +209 -36
  3. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/address.rb +1 -1
  4. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/destination_details.rb +2 -2
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inbound_eligibility.rb +1 -1
  6. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inbound_order.rb +1 -1
  7. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inbound_preferences.rb +3 -3
  8. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inbound_shipment.rb +6 -6
  9. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inbound_shipment_summary.rb +1 -1
  10. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inventory_details.rb +1 -1
  11. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inventory_listing.rb +4 -3
  12. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/inventory_summary.rb +2 -2
  13. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/measurement_data.rb +1 -1
  14. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/prep_details.rb +2 -2
  15. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/prep_instruction.rb +2 -2
  16. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/product_quantity.rb +4 -4
  17. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_listing.rb +4 -3
  18. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/transportation_details.rb +1 -1
  19. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +14 -14
  20. data/lib/peddler/apis/aplus_content_2020_11_01/decorator.rb +3 -3
  21. data/lib/peddler/apis/aplus_content_2020_11_01/image_component.rb +1 -1
  22. data/lib/peddler/apis/aplus_content_2020_11_01/plain_text_item.rb +1 -1
  23. data/lib/peddler/apis/aplus_content_2020_11_01/standard_comparison_product_block.rb +1 -1
  24. data/lib/peddler/apis/aplus_content_2020_11_01/text_item.rb +1 -1
  25. data/lib/peddler/apis/aplus_content_2020_11_01.rb +38 -38
  26. data/lib/peddler/apis/catalog_items_2020_12_01/item_identifiers_by_marketplace.rb +1 -1
  27. data/lib/peddler/apis/catalog_items_2020_12_01/item_search_results.rb +2 -2
  28. data/lib/peddler/apis/catalog_items_2020_12_01/item_variations_by_marketplace.rb +1 -1
  29. data/lib/peddler/apis/catalog_items_2020_12_01.rb +8 -8
  30. data/lib/peddler/apis/catalog_items_2022_04_01/brand_refinement.rb +1 -1
  31. data/lib/peddler/apis/catalog_items_2022_04_01/classification_refinement.rb +1 -1
  32. data/lib/peddler/apis/catalog_items_2022_04_01/item_browse_classifications_by_marketplace.rb +2 -2
  33. data/lib/peddler/apis/catalog_items_2022_04_01/item_dimensions_by_marketplace.rb +1 -1
  34. data/lib/peddler/apis/catalog_items_2022_04_01/item_identifiers_by_marketplace.rb +2 -2
  35. data/lib/peddler/apis/catalog_items_2022_04_01/item_images_by_marketplace.rb +1 -1
  36. data/lib/peddler/apis/catalog_items_2022_04_01/item_product_type_by_marketplace.rb +1 -1
  37. data/lib/peddler/apis/catalog_items_2022_04_01/item_relationship.rb +1 -1
  38. data/lib/peddler/apis/catalog_items_2022_04_01/item_relationships_by_marketplace.rb +1 -1
  39. data/lib/peddler/apis/catalog_items_2022_04_01/item_sales_ranks_by_marketplace.rb +3 -3
  40. data/lib/peddler/apis/catalog_items_2022_04_01/item_search_results.rb +4 -4
  41. data/lib/peddler/apis/catalog_items_2022_04_01/item_summary_by_marketplace.rb +5 -5
  42. data/lib/peddler/apis/catalog_items_2022_04_01/item_variation_theme.rb +2 -2
  43. data/lib/peddler/apis/catalog_items_2022_04_01/item_vendor_details_by_marketplace.rb +1 -1
  44. data/lib/peddler/apis/catalog_items_2022_04_01.rb +14 -12
  45. data/lib/peddler/apis/catalog_items_v0.rb +1 -1
  46. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_all_occurrence.rb +1 -1
  47. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_all_star_rating_impact.rb +2 -2
  48. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_response.rb +1 -1
  49. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_return_topics_response.rb +1 -1
  50. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_return_trends_response.rb +1 -1
  51. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_topic.rb +3 -3
  52. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_topic_metrics.rb +2 -2
  53. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_topics.rb +8 -8
  54. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_topics_response.rb +2 -2
  55. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_trends.rb +6 -6
  56. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_review_trends_response.rb +2 -2
  57. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_star_rating_impact.rb +1 -1
  58. data/lib/peddler/apis/customer_feedback_2024_06_01/browse_node_subtopic.rb +1 -1
  59. data/lib/peddler/apis/customer_feedback_2024_06_01/child_asin_metrics.rb +4 -4
  60. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_browse_node_metrics.rb +2 -2
  61. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_subtopic.rb +1 -1
  62. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_topic.rb +6 -6
  63. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_topic_metrics.rb +3 -3
  64. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_topics.rb +8 -8
  65. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_topics_response.rb +1 -1
  66. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_trend_point.rb +2 -2
  67. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_trends.rb +4 -4
  68. data/lib/peddler/apis/customer_feedback_2024_06_01/item_review_trends_response.rb +1 -1
  69. data/lib/peddler/apis/customer_feedback_2024_06_01.rb +14 -14
  70. data/lib/peddler/apis/data_kiosk_2023_11_15/create_query_response.rb +1 -1
  71. data/lib/peddler/apis/data_kiosk_2023_11_15/create_query_specification.rb +5 -5
  72. data/lib/peddler/apis/data_kiosk_2023_11_15/get_document_response.rb +4 -4
  73. data/lib/peddler/apis/data_kiosk_2023_11_15/get_queries_response.rb +5 -5
  74. data/lib/peddler/apis/data_kiosk_2023_11_15/query.rb +11 -11
  75. data/lib/peddler/apis/data_kiosk_2023_11_15.rb +9 -7
  76. data/lib/peddler/apis/easy_ship_2022_03_23/create_scheduled_packages_response.rb +1 -1
  77. data/lib/peddler/apis/easy_ship_2022_03_23.rb +2 -2
  78. data/lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_request.rb +3 -3
  79. data/lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_request_params.rb +1 -1
  80. data/lib/peddler/apis/external_fulfillment_inventory_2024_09_11/inventory_response_body.rb +2 -2
  81. data/lib/peddler/apis/external_fulfillment_returns_2024_09_11/return.rb +2 -2
  82. data/lib/peddler/apis/external_fulfillment_returns_2024_09_11/returns_response.rb +3 -3
  83. data/lib/peddler/apis/external_fulfillment_returns_2024_09_11.rb +12 -12
  84. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/address.rb +1 -1
  85. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/document_v2.rb +4 -6
  86. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/line_item.rb +1 -1
  87. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/marketplace_attributes.rb +2 -2
  88. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/package_line_item.rb +6 -6
  89. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/package_ship_label.rb +1 -1
  90. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/pagination.rb +3 -3
  91. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/recommended_package_line_item.rb +1 -1
  92. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment.rb +4 -4
  93. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment_acknowledgement_request.rb +1 -1
  94. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment_info.rb +3 -3
  95. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment_line_item.rb +10 -10
  96. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipping_info.rb +2 -2
  97. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11.rb +7 -7
  98. data/lib/peddler/apis/fba_inbound_eligibility_v1.rb +1 -1
  99. data/lib/peddler/apis/fba_inventory_v1/granularity.rb +1 -1
  100. data/lib/peddler/apis/fba_inventory_v1/inventory_details.rb +3 -2
  101. data/lib/peddler/apis/fba_inventory_v1/pagination.rb +2 -2
  102. data/lib/peddler/apis/fba_inventory_v1/reserved_quantity.rb +2 -2
  103. data/lib/peddler/apis/fba_inventory_v1.rb +7 -7
  104. data/lib/peddler/apis/feeds_2021_06_30/create_feed_specification.rb +1 -1
  105. data/lib/peddler/apis/feeds_2021_06_30/feed.rb +1 -1
  106. data/lib/peddler/apis/feeds_2021_06_30/feed_document.rb +6 -6
  107. data/lib/peddler/apis/feeds_2021_06_30/get_feeds_response.rb +1 -1
  108. data/lib/peddler/apis/feeds_2021_06_30.rb +10 -10
  109. data/lib/peddler/apis/finances_2024_06_19/item.rb +1 -1
  110. data/lib/peddler/apis/finances_2024_06_19/marketplace_details.rb +2 -2
  111. data/lib/peddler/apis/finances_2024_06_19/selling_partner_metadata.rb +2 -2
  112. data/lib/peddler/apis/finances_2024_06_19/transaction.rb +2 -2
  113. data/lib/peddler/apis/finances_2024_06_19/transactions_payload.rb +1 -1
  114. data/lib/peddler/apis/finances_2024_06_19.rb +11 -11
  115. data/lib/peddler/apis/finances_v0/adjustment_event.rb +7 -7
  116. data/lib/peddler/apis/finances_v0/adjustment_item.rb +2 -2
  117. data/lib/peddler/apis/finances_v0/affordability_expense_event.rb +1 -1
  118. data/lib/peddler/apis/finances_v0/debt_recovery_item.rb +2 -2
  119. data/lib/peddler/apis/finances_v0/direct_payment.rb +5 -5
  120. data/lib/peddler/apis/finances_v0/fba_liquidation_event.rb +1 -1
  121. data/lib/peddler/apis/finances_v0/fee_component.rb +3 -3
  122. data/lib/peddler/apis/finances_v0/financial_event_group.rb +6 -6
  123. data/lib/peddler/apis/finances_v0/imaging_services_fee_event.rb +1 -1
  124. data/lib/peddler/apis/finances_v0/list_financial_event_groups_payload.rb +1 -1
  125. data/lib/peddler/apis/finances_v0/list_financial_events_payload.rb +1 -1
  126. data/lib/peddler/apis/finances_v0/network_commingling_transaction_event.rb +1 -1
  127. data/lib/peddler/apis/finances_v0/pay_with_amazon_event.rb +1 -1
  128. data/lib/peddler/apis/finances_v0/removal_shipment_adjustment_event.rb +1 -1
  129. data/lib/peddler/apis/finances_v0/removal_shipment_item.rb +4 -4
  130. data/lib/peddler/apis/finances_v0/removal_shipment_item_adjustment.rb +3 -3
  131. data/lib/peddler/apis/finances_v0/rental_transaction_event.rb +10 -10
  132. data/lib/peddler/apis/finances_v0/seller_review_enrollment_payment_event.rb +1 -1
  133. data/lib/peddler/apis/finances_v0/service_fee_event.rb +2 -2
  134. data/lib/peddler/apis/finances_v0/shipment_event.rb +5 -5
  135. data/lib/peddler/apis/finances_v0/shipment_item.rb +6 -6
  136. data/lib/peddler/apis/finances_v0/solution_provider_credit_event.rb +2 -2
  137. data/lib/peddler/apis/finances_v0/tax_withheld_component.rb +1 -1
  138. data/lib/peddler/apis/finances_v0/trial_shipment_event.rb +1 -1
  139. data/lib/peddler/apis/finances_v0.rb +24 -23
  140. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/box.rb +1 -1
  141. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/box_input.rb +1 -1
  142. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/box_update_input.rb +3 -3
  143. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/compliance_detail.rb +1 -1
  144. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_transportation_options_request.rb +1 -1
  145. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/content_update_preview.rb +2 -2
  146. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/create_inbound_plan_request.rb +1 -1
  147. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/create_marketplace_item_labels_request.rb +2 -2
  148. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/delivery_window_option.rb +7 -7
  149. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/document_download.rb +2 -2
  150. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/freight_information.rb +1 -1
  151. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_placement_options_request.rb +1 -1
  152. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_self_ship_appointment_slots_request.rb +2 -2
  153. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/inbound_plan.rb +11 -11
  154. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/inbound_plan_summary.rb +5 -5
  155. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb +3 -3
  156. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item_input.rb +2 -2
  157. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/package_grouping_input.rb +4 -4
  158. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/packing_configuration.rb +1 -1
  159. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/packing_option.rb +3 -3
  160. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/placement_option.rb +3 -3
  161. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/placement_option_summary.rb +1 -1
  162. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/prep_instruction.rb +5 -5
  163. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/quote.rb +2 -2
  164. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/selected_delivery_window.rb +1 -1
  165. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/self_ship_appointment_slots_availability.rb +1 -1
  166. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/set_prep_details_request.rb +1 -1
  167. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment.rb +6 -6
  168. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_destination.rb +3 -3
  169. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_summary.rb +3 -3
  170. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_transportation_configuration.rb +1 -1
  171. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/shipping_configuration.rb +2 -2
  172. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_item.rb +6 -6
  173. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_item_input.rb +2 -2
  174. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/transportation_option.rb +3 -3
  175. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/window_input.rb +3 -3
  176. data/lib/peddler/apis/fulfillment_inbound_2024_03_20.rb +41 -45
  177. data/lib/peddler/apis/fulfillment_inbound_v0/address.rb +3 -3
  178. data/lib/peddler/apis/fulfillment_inbound_v0/bill_of_lading_download_url.rb +1 -1
  179. data/lib/peddler/apis/fulfillment_inbound_v0/get_shipment_items_result.rb +1 -1
  180. data/lib/peddler/apis/fulfillment_inbound_v0/get_shipments_result.rb +1 -1
  181. data/lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_info.rb +3 -3
  182. data/lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_item.rb +4 -4
  183. data/lib/peddler/apis/fulfillment_inbound_v0.rb +39 -38
  184. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/address.rb +1 -1
  185. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/cod_settings.rb +1 -1
  186. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_item.rb +6 -6
  187. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_request.rb +19 -19
  188. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_document.rb +1 -1
  189. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_preferences.rb +1 -1
  190. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_window.rb +2 -2
  191. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +2 -2
  192. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_settings.rb +3 -3
  193. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_sku.rb +1 -1
  194. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order.rb +4 -4
  195. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order_item.rb +8 -8
  196. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview.rb +3 -4
  197. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_item.rb +2 -2
  198. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_shipment.rb +4 -4
  199. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment.rb +8 -7
  200. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_item.rb +1 -1
  201. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_package.rb +3 -3
  202. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_inventory_result.rb +1 -1
  203. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_sku_result.rb +1 -1
  204. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_item.rb +2 -2
  205. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_request.rb +7 -6
  206. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_package_tracking_details_response.rb +1 -1
  207. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/list_all_fulfillment_orders_result.rb +1 -1
  208. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/package_tracking_details.rb +1 -1
  209. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/reason_code_details.rb +1 -1
  210. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/return_authorization.rb +2 -2
  211. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/scheduled_delivery_info.rb +1 -1
  212. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/submit_fulfillment_order_status_update_response.rb +1 -1
  213. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_event.rb +1 -1
  214. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/unfulfillable_preview_item.rb +2 -2
  215. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_item.rb +4 -4
  216. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_request.rb +8 -8
  217. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/variable_precision_address.rb +1 -1
  218. data/lib/peddler/apis/fulfillment_outbound_2020_07_01.rb +18 -18
  219. data/lib/peddler/apis/invoices_2024_06_19/export.rb +3 -3
  220. data/lib/peddler/apis/invoices_2024_06_19/export_invoices_request.rb +7 -7
  221. data/lib/peddler/apis/invoices_2024_06_19/get_invoices_exports_response.rb +2 -2
  222. data/lib/peddler/apis/invoices_2024_06_19/get_invoices_response.rb +2 -2
  223. data/lib/peddler/apis/invoices_2024_06_19/invoice.rb +7 -7
  224. data/lib/peddler/apis/invoices_2024_06_19/invoices_attributes.rb +3 -3
  225. data/lib/peddler/apis/invoices_2024_06_19/invoices_document.rb +1 -1
  226. data/lib/peddler/apis/invoices_2024_06_19/transaction_identifier.rb +1 -1
  227. data/lib/peddler/apis/invoices_2024_06_19.rb +22 -22
  228. data/lib/peddler/apis/listings_items_2020_09_01/patch_operation.rb +1 -1
  229. data/lib/peddler/apis/listings_items_2020_09_01.rb +6 -6
  230. data/lib/peddler/apis/listings_items_2021_08_01/issue.rb +2 -2
  231. data/lib/peddler/apis/listings_items_2021_08_01/issue_enforcement_action.rb +2 -2
  232. data/lib/peddler/apis/listings_items_2021_08_01/issue_enforcements.rb +1 -1
  233. data/lib/peddler/apis/listings_items_2021_08_01/issue_exemption.rb +4 -4
  234. data/lib/peddler/apis/listings_items_2021_08_01/item_relationship.rb +1 -1
  235. data/lib/peddler/apis/listings_items_2021_08_01/item_search_results.rb +2 -2
  236. data/lib/peddler/apis/listings_items_2021_08_01/item_summary_by_marketplace.rb +1 -1
  237. data/lib/peddler/apis/listings_items_2021_08_01/item_variation_theme.rb +1 -1
  238. data/lib/peddler/apis/listings_items_2021_08_01/listings_item_submission_response.rb +1 -1
  239. data/lib/peddler/apis/listings_items_2021_08_01/patch_operation.rb +2 -2
  240. data/lib/peddler/apis/listings_items_2021_08_01.rb +32 -32
  241. data/lib/peddler/apis/listings_restrictions_2021_08_01/restriction.rb +1 -1
  242. data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +2 -2
  243. data/lib/peddler/apis/merchant_fulfillment_v0/create_shipment_request.rb +1 -1
  244. data/lib/peddler/apis/merchant_fulfillment_v0/item.rb +1 -1
  245. data/lib/peddler/apis/merchant_fulfillment_v0/package_dimensions.rb +4 -4
  246. data/lib/peddler/apis/merchant_fulfillment_v0/rejected_shipping_service.rb +1 -1
  247. data/lib/peddler/apis/merchant_fulfillment_v0/shipment.rb +4 -4
  248. data/lib/peddler/apis/merchant_fulfillment_v0/shipment_request_details.rb +3 -3
  249. data/lib/peddler/apis/merchant_fulfillment_v0/shipping_service.rb +1 -1
  250. data/lib/peddler/apis/merchant_fulfillment_v0/shipping_service_options.rb +6 -5
  251. data/lib/peddler/apis/messaging_v1/attachment.rb +3 -3
  252. data/lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb +2 -2
  253. data/lib/peddler/apis/messaging_v1/create_confirm_customization_details_request.rb +2 -2
  254. data/lib/peddler/apis/messaging_v1/create_confirm_delivery_details_request.rb +2 -2
  255. data/lib/peddler/apis/messaging_v1/create_confirm_order_details_request.rb +2 -2
  256. data/lib/peddler/apis/messaging_v1/create_confirm_service_details_request.rb +2 -2
  257. data/lib/peddler/apis/messaging_v1/create_digital_access_key_request.rb +2 -2
  258. data/lib/peddler/apis/messaging_v1/create_legal_disclosure_request.rb +2 -2
  259. data/lib/peddler/apis/messaging_v1/create_unexpected_problem_request.rb +2 -2
  260. data/lib/peddler/apis/messaging_v1/create_warranty_request.rb +2 -2
  261. data/lib/peddler/apis/messaging_v1.rb +24 -24
  262. data/lib/peddler/apis/notifications_v1/create_destination_request.rb +1 -1
  263. data/lib/peddler/apis/notifications_v1/destination_resource_specification.rb +2 -2
  264. data/lib/peddler/apis/notifications_v1/event_bridge_resource.rb +3 -3
  265. data/lib/peddler/apis/notifications_v1/event_bridge_resource_specification.rb +1 -1
  266. data/lib/peddler/apis/notifications_v1/event_filter.rb +3 -3
  267. data/lib/peddler/apis/notifications_v1.rb +4 -4
  268. data/lib/peddler/apis/orders_v0/address.rb +3 -4
  269. data/lib/peddler/apis/orders_v0/automated_shipping_settings.rb +1 -1
  270. data/lib/peddler/apis/orders_v0/buyer_info.rb +2 -2
  271. data/lib/peddler/apis/orders_v0/delivery_preferences.rb +1 -1
  272. data/lib/peddler/apis/orders_v0/exception_dates.rb +1 -1
  273. data/lib/peddler/apis/orders_v0/order.rb +44 -46
  274. data/lib/peddler/apis/orders_v0/order_address.rb +2 -2
  275. data/lib/peddler/apis/orders_v0/order_buyer_info.rb +2 -2
  276. data/lib/peddler/apis/orders_v0/order_item.rb +17 -16
  277. data/lib/peddler/apis/orders_v0/order_items_buyer_info_list.rb +1 -1
  278. data/lib/peddler/apis/orders_v0/order_items_list.rb +1 -1
  279. data/lib/peddler/apis/orders_v0/order_regulated_info.rb +1 -1
  280. data/lib/peddler/apis/orders_v0/orders_list.rb +6 -6
  281. data/lib/peddler/apis/orders_v0/package_detail.rb +3 -3
  282. data/lib/peddler/apis/orders_v0/payment_execution_detail_item.rb +6 -11
  283. data/lib/peddler/apis/orders_v0/prescription_detail.rb +6 -6
  284. data/lib/peddler/apis/orders_v0/regulated_information.rb +1 -1
  285. data/lib/peddler/apis/orders_v0/regulated_information_field.rb +1 -1
  286. data/lib/peddler/apis/orders_v0/regulated_order_verification_status.rb +5 -5
  287. data/lib/peddler/apis/orders_v0/shipping_constraints.rb +2 -2
  288. data/lib/peddler/apis/orders_v0/update_verification_status_request_body.rb +1 -1
  289. data/lib/peddler/apis/orders_v0/valid_verification_detail.rb +4 -4
  290. data/lib/peddler/apis/orders_v0.rb +64 -64
  291. data/lib/peddler/apis/product_fees_v0.rb +1 -1
  292. data/lib/peddler/apis/product_pricing_2022_05_01/batch_request.rb +1 -1
  293. data/lib/peddler/apis/product_pricing_2022_05_01/competitive_summary_request.rb +4 -4
  294. data/lib/peddler/apis/product_pricing_2022_05_01/competitive_summary_response.rb +2 -2
  295. data/lib/peddler/apis/product_pricing_2022_05_01/competitive_summary_response_body.rb +2 -2
  296. data/lib/peddler/apis/product_pricing_2022_05_01/featured_buying_option.rb +5 -4
  297. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer.rb +1 -1
  298. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer_expected_price.rb +2 -2
  299. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer_expected_price_request.rb +1 -1
  300. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer_expected_price_response.rb +1 -1
  301. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer_expected_price_response_body.rb +1 -1
  302. data/lib/peddler/apis/product_pricing_2022_05_01/featured_offer_expected_price_result.rb +5 -5
  303. data/lib/peddler/apis/product_pricing_2022_05_01/lowest_priced_offer.rb +2 -2
  304. data/lib/peddler/apis/product_pricing_2022_05_01/lowest_priced_offers_input.rb +2 -2
  305. data/lib/peddler/apis/product_pricing_2022_05_01/offer.rb +2 -2
  306. data/lib/peddler/apis/product_pricing_2022_05_01/offer_identifier.rb +1 -1
  307. data/lib/peddler/apis/product_pricing_2022_05_01/price.rb +1 -1
  308. data/lib/peddler/apis/product_pricing_2022_05_01/reference_price.rb +2 -2
  309. data/lib/peddler/apis/product_pricing_2022_05_01/segment_details.rb +2 -2
  310. data/lib/peddler/apis/product_pricing_2022_05_01/segmented_featured_offer.rb +2 -2
  311. data/lib/peddler/apis/product_pricing_2022_05_01.rb +1 -1
  312. data/lib/peddler/apis/product_pricing_v0/batch_offers_request_params.rb +1 -1
  313. data/lib/peddler/apis/product_pricing_v0/buy_box_price_type.rb +3 -3
  314. data/lib/peddler/apis/product_pricing_v0/competitive_price_type.rb +7 -7
  315. data/lib/peddler/apis/product_pricing_v0/detailed_shipping_time_type.rb +5 -5
  316. data/lib/peddler/apis/product_pricing_v0/get_offers_result.rb +1 -1
  317. data/lib/peddler/apis/product_pricing_v0/http_response_headers.rb +1 -1
  318. data/lib/peddler/apis/product_pricing_v0/item_offers_request.rb +1 -1
  319. data/lib/peddler/apis/product_pricing_v0/item_offers_request_params.rb +2 -2
  320. data/lib/peddler/apis/product_pricing_v0/listing_offers_request.rb +1 -1
  321. data/lib/peddler/apis/product_pricing_v0/listing_offers_request_params.rb +2 -2
  322. data/lib/peddler/apis/product_pricing_v0/lowest_price_type.rb +1 -1
  323. data/lib/peddler/apis/product_pricing_v0/offer_count_type.rb +1 -1
  324. data/lib/peddler/apis/product_pricing_v0/offer_detail.rb +5 -5
  325. data/lib/peddler/apis/product_pricing_v0/offer_type.rb +4 -4
  326. data/lib/peddler/apis/product_pricing_v0/price_type.rb +1 -1
  327. data/lib/peddler/apis/product_pricing_v0/prime_information_type.rb +1 -1
  328. data/lib/peddler/apis/product_pricing_v0/summary.rb +8 -8
  329. data/lib/peddler/apis/product_pricing_v0.rb +21 -21
  330. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type_definition.rb +3 -3
  331. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type_version.rb +2 -2
  332. data/lib/peddler/apis/product_type_definitions_2020_09_01/schema_link.rb +1 -1
  333. data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +12 -12
  334. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request.rb +4 -4
  335. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +20 -20
  336. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request.rb +2 -2
  337. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request_filters.rb +3 -3
  338. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request_pagination.rb +1 -1
  339. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +14 -14
  340. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request.rb +2 -2
  341. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request_filters.rb +4 -4
  342. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request_pagination.rb +1 -1
  343. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_response_offer.rb +3 -3
  344. data/lib/peddler/apis/replenishment_2022_11_07/offer_program_configuration.rb +1 -1
  345. data/lib/peddler/apis/replenishment_2022_11_07/offer_program_configuration_preferences.rb +1 -1
  346. data/lib/peddler/apis/replenishment_2022_11_07/offer_program_configuration_promotions.rb +2 -2
  347. data/lib/peddler/apis/replenishment_2022_11_07/preference.rb +1 -1
  348. data/lib/peddler/apis/replenishment_2022_11_07/time_interval.rb +4 -4
  349. data/lib/peddler/apis/reports_2021_06_30/create_report_response.rb +1 -1
  350. data/lib/peddler/apis/reports_2021_06_30/create_report_schedule_response.rb +1 -1
  351. data/lib/peddler/apis/reports_2021_06_30/create_report_schedule_specification.rb +3 -3
  352. data/lib/peddler/apis/reports_2021_06_30/create_report_specification.rb +6 -6
  353. data/lib/peddler/apis/reports_2021_06_30/get_reports_response.rb +1 -1
  354. data/lib/peddler/apis/reports_2021_06_30/report.rb +6 -6
  355. data/lib/peddler/apis/reports_2021_06_30/report_document.rb +6 -6
  356. data/lib/peddler/apis/reports_2021_06_30/report_schedule.rb +5 -5
  357. data/lib/peddler/apis/reports_2021_06_30.rb +15 -15
  358. data/lib/peddler/apis/sales_v1/order_metrics_interval.rb +3 -3
  359. data/lib/peddler/apis/sales_v1.rb +29 -28
  360. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb +4 -4
  361. data/lib/peddler/apis/seller_wallet_2024_03_01/create_transaction_response.rb +1 -1
  362. data/lib/peddler/apis/seller_wallet_2024_03_01/fx_rate_details.rb +1 -1
  363. data/lib/peddler/apis/seller_wallet_2024_03_01/payment_preference.rb +1 -1
  364. data/lib/peddler/apis/seller_wallet_2024_03_01/schedule_expression.rb +1 -1
  365. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb +4 -4
  366. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_account.rb +1 -1
  367. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_initiation_request.rb +7 -7
  368. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_instrument_details.rb +3 -3
  369. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_listing.rb +2 -1
  370. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule.rb +5 -5
  371. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_information.rb +1 -1
  372. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_listing.rb +2 -1
  373. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_request.rb +4 -4
  374. data/lib/peddler/apis/seller_wallet_2024_03_01.rb +27 -27
  375. data/lib/peddler/apis/sellers_v1/business.rb +2 -2
  376. data/lib/peddler/apis/sellers_v1/participation.rb +1 -1
  377. data/lib/peddler/apis/sellers_v1.rb +2 -3
  378. data/lib/peddler/apis/services_v1/appointment_slot_report.rb +1 -1
  379. data/lib/peddler/apis/services_v1/create_reservation_record.rb +1 -1
  380. data/lib/peddler/apis/services_v1/create_reservation_response.rb +1 -1
  381. data/lib/peddler/apis/services_v1/date_time_range.rb +2 -2
  382. data/lib/peddler/apis/services_v1/fixed_slot.rb +4 -4
  383. data/lib/peddler/apis/services_v1/fixed_slot_capacity.rb +1 -1
  384. data/lib/peddler/apis/services_v1/fixed_slot_capacity_query.rb +2 -2
  385. data/lib/peddler/apis/services_v1/fulfillment_document.rb +2 -2
  386. data/lib/peddler/apis/services_v1/item_delivery.rb +1 -1
  387. data/lib/peddler/apis/services_v1/job_listing.rb +2 -2
  388. data/lib/peddler/apis/services_v1/range_slot_capacity_query.rb +1 -1
  389. data/lib/peddler/apis/services_v1/recurrence.rb +1 -1
  390. data/lib/peddler/apis/services_v1/reservation.rb +2 -2
  391. data/lib/peddler/apis/services_v1/service_job.rb +1 -1
  392. data/lib/peddler/apis/services_v1/service_upload_document.rb +1 -1
  393. data/lib/peddler/apis/services_v1/set_appointment_fulfillment_data_request.rb +1 -1
  394. data/lib/peddler/apis/services_v1/set_appointment_response.rb +3 -3
  395. data/lib/peddler/apis/services_v1/update_reservation_record.rb +1 -1
  396. data/lib/peddler/apis/services_v1/update_reservation_response.rb +1 -1
  397. data/lib/peddler/apis/services_v1/update_schedule_response.rb +1 -1
  398. data/lib/peddler/apis/services_v1.rb +25 -25
  399. data/lib/peddler/apis/shipment_invoicing_v0/shipment_item.rb +1 -1
  400. data/lib/peddler/apis/shipment_invoicing_v0/submit_invoice_request.rb +2 -2
  401. data/lib/peddler/apis/shipment_invoicing_v0.rb +3 -3
  402. data/lib/peddler/apis/shipping_v1/container_item.rb +2 -2
  403. data/lib/peddler/apis/shipping_v1/time_range.rb +1 -1
  404. data/lib/peddler/apis/shipping_v2/access_point.rb +1 -1
  405. data/lib/peddler/apis/shipping_v2/address.rb +1 -1
  406. data/lib/peddler/apis/shipping_v2/amazon_shipment_details.rb +1 -1
  407. data/lib/peddler/apis/shipping_v2/available_value_added_service_group.rb +1 -1
  408. data/lib/peddler/apis/shipping_v2/direct_fulfillment_item_identifiers.rb +3 -3
  409. data/lib/peddler/apis/shipping_v2/direct_purchase_request.rb +3 -3
  410. data/lib/peddler/apis/shipping_v2/goods_owner.rb +1 -1
  411. data/lib/peddler/apis/shipping_v2/item.rb +2 -2
  412. data/lib/peddler/apis/shipping_v2/ndr_request_data.rb +1 -1
  413. data/lib/peddler/apis/shipping_v2/purchase_shipment_request.rb +3 -3
  414. data/lib/peddler/apis/shipping_v2/rate.rb +2 -2
  415. data/lib/peddler/apis/shipping_v2/requested_value_added_service.rb +1 -1
  416. data/lib/peddler/apis/shipping_v2/tax_detail.rb +1 -1
  417. data/lib/peddler/apis/shipping_v2/tracking_detail_codes.rb +2 -2
  418. data/lib/peddler/apis/shipping_v2.rb +30 -30
  419. data/lib/peddler/apis/solicitations_v1.rb +4 -4
  420. data/lib/peddler/apis/supply_sources_2020_07_01/address.rb +1 -1
  421. data/lib/peddler/apis/supply_sources_2020_07_01/curbside_pickup_configuration.rb +1 -1
  422. data/lib/peddler/apis/supply_sources_2020_07_01/in_store_pickup_configuration.rb +1 -1
  423. data/lib/peddler/apis/supply_sources_2020_07_01/supply_source_configuration.rb +1 -1
  424. data/lib/peddler/apis/tokens_2021_03_01/create_restricted_data_token_response.rb +2 -2
  425. data/lib/peddler/apis/tokens_2021_03_01/restricted_resource.rb +10 -10
  426. data/lib/peddler/apis/transfers_2024_06_01/initiate_payout_request.rb +3 -3
  427. data/lib/peddler/apis/transfers_2024_06_01/initiate_payout_response.rb +1 -1
  428. data/lib/peddler/apis/transfers_2024_06_01/payment_method_details.rb +3 -3
  429. data/lib/peddler/apis/transfers_2024_06_01.rb +3 -3
  430. data/lib/peddler/apis/uploads_2020_11_01.rb +9 -9
  431. data/lib/peddler/apis/vehicles_2024_11_01/vehicle.rb +1 -1
  432. data/lib/peddler/apis/vehicles_2024_11_01/vehicles_response.rb +1 -1
  433. data/lib/peddler/apis/vehicles_2024_11_01.rb +1 -1
  434. data/lib/peddler/apis/vendor_direct_fulfillment_inventory_v1/inventory_update.rb +3 -3
  435. data/lib/peddler/apis/vendor_direct_fulfillment_inventory_v1/item_details.rb +2 -2
  436. data/lib/peddler/apis/vendor_direct_fulfillment_inventory_v1/transaction_reference.rb +1 -1
  437. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/acknowledgement_status.rb +2 -2
  438. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/address.rb +10 -10
  439. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/buyer_customized_info_detail.rb +3 -2
  440. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/error_list.rb +1 -1
  441. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/order_acknowledgement_item.rb +1 -1
  442. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/order_details.rb +2 -2
  443. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/order_item.rb +4 -4
  444. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/order_item_acknowledgement.rb +1 -1
  445. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/pagination.rb +2 -2
  446. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/party_identification.rb +1 -1
  447. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/shipment_details.rb +2 -2
  448. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28/transaction_id.rb +1 -1
  449. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rb +7 -7
  450. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/acknowledgement_status.rb +2 -2
  451. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/address.rb +10 -10
  452. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/order_acknowledgement_item.rb +1 -1
  453. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/order_details.rb +2 -2
  454. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/order_item.rb +1 -1
  455. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/order_item_acknowledgement.rb +1 -1
  456. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/pagination.rb +2 -2
  457. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/party_identification.rb +1 -1
  458. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/shipment_details.rb +2 -2
  459. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1/transaction_id.rb +1 -1
  460. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1.rb +7 -7
  461. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1/address.rb +1 -1
  462. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1/invoice_detail.rb +2 -2
  463. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1/invoice_item.rb +1 -1
  464. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1/tax_detail.rb +1 -1
  465. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1/transaction_reference.rb +1 -1
  466. data/lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/party_identification.rb +1 -1
  467. data/lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/scenario.rb +1 -1
  468. data/lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/transaction.rb +1 -1
  469. data/lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.rb +1 -1
  470. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/address.rb +2 -2
  471. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/container.rb +2 -2
  472. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/error_list.rb +1 -1
  473. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/item.rb +3 -3
  474. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/item_quantity.rb +2 -2
  475. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/label_data.rb +4 -4
  476. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/package.rb +1 -1
  477. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/packed_item.rb +4 -4
  478. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/pagination.rb +3 -3
  479. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/shipment_confirmation.rb +2 -2
  480. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/shipment_details.rb +6 -5
  481. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/shipment_schedule.rb +6 -6
  482. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/shipment_status_update.rb +1 -1
  483. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/status_update_details.rb +8 -8
  484. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/submit_shipment_confirmations_request.rb +1 -1
  485. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/submit_shipment_status_updates_request.rb +1 -1
  486. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28/transaction_reference.rb +1 -1
  487. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rb +16 -16
  488. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/address.rb +1 -1
  489. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/container.rb +1 -1
  490. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/item.rb +3 -3
  491. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/item_quantity.rb +2 -2
  492. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/label_data.rb +4 -4
  493. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/packed_item.rb +3 -3
  494. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/pagination.rb +2 -2
  495. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/shipment_confirmation.rb +2 -2
  496. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/shipment_details.rb +6 -6
  497. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/shipment_status_update.rb +1 -1
  498. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/status_update_details.rb +9 -9
  499. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/submit_shipment_confirmations_request.rb +1 -1
  500. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/submit_shipment_status_updates_request.rb +1 -1
  501. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1/transaction_reference.rb +1 -1
  502. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1.rb +13 -13
  503. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_2021_12_28/transaction.rb +2 -2
  504. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_2021_12_28.rb +1 -1
  505. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_v1/transaction.rb +2 -2
  506. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb +1 -1
  507. data/lib/peddler/apis/vendor_invoices_v1/address.rb +1 -1
  508. data/lib/peddler/apis/vendor_invoices_v1/credit_note_details.rb +2 -2
  509. data/lib/peddler/apis/vendor_invoices_v1/invoice.rb +7 -7
  510. data/lib/peddler/apis/vendor_invoices_v1/invoice_item.rb +7 -7
  511. data/lib/peddler/apis/vendor_invoices_v1/payment_terms.rb +2 -2
  512. data/lib/peddler/apis/vendor_invoices_v1/submit_invoices_request.rb +1 -1
  513. data/lib/peddler/apis/vendor_invoices_v1/transaction_id.rb +1 -1
  514. data/lib/peddler/apis/vendor_orders_v1/address.rb +1 -1
  515. data/lib/peddler/apis/vendor_orders_v1/import_details.rb +8 -8
  516. data/lib/peddler/apis/vendor_orders_v1/order_acknowledgement_item.rb +6 -6
  517. data/lib/peddler/apis/vendor_orders_v1/order_details.rb +10 -10
  518. data/lib/peddler/apis/vendor_orders_v1/order_item.rb +1 -1
  519. data/lib/peddler/apis/vendor_orders_v1/order_item_status.rb +1 -1
  520. data/lib/peddler/apis/vendor_orders_v1/order_status.rb +3 -3
  521. data/lib/peddler/apis/vendor_orders_v1/ordered_quantity_details.rb +1 -1
  522. data/lib/peddler/apis/vendor_orders_v1/pagination.rb +2 -2
  523. data/lib/peddler/apis/vendor_orders_v1/party_identification.rb +1 -1
  524. data/lib/peddler/apis/vendor_orders_v1/transaction_id.rb +1 -1
  525. data/lib/peddler/apis/vendor_orders_v1.rb +30 -28
  526. data/lib/peddler/apis/vendor_shipments_v1/address.rb +1 -1
  527. data/lib/peddler/apis/vendor_shipments_v1/carrier_details.rb +4 -4
  528. data/lib/peddler/apis/vendor_shipments_v1/carton.rb +1 -1
  529. data/lib/peddler/apis/vendor_shipments_v1/carton_reference_details.rb +2 -2
  530. data/lib/peddler/apis/vendor_shipments_v1/collect_freight_pickup_details.rb +3 -3
  531. data/lib/peddler/apis/vendor_shipments_v1/container_identification.rb +1 -1
  532. data/lib/peddler/apis/vendor_shipments_v1/container_item.rb +1 -1
  533. data/lib/peddler/apis/vendor_shipments_v1/containers.rb +1 -1
  534. data/lib/peddler/apis/vendor_shipments_v1/expiry.rb +2 -2
  535. data/lib/peddler/apis/vendor_shipments_v1/import_details.rb +3 -3
  536. data/lib/peddler/apis/vendor_shipments_v1/item.rb +2 -2
  537. data/lib/peddler/apis/vendor_shipments_v1/item_details.rb +6 -6
  538. data/lib/peddler/apis/vendor_shipments_v1/item_quantity.rb +2 -2
  539. data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +5 -5
  540. data/lib/peddler/apis/vendor_shipments_v1/packed_items.rb +2 -2
  541. data/lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb +2 -2
  542. data/lib/peddler/apis/vendor_shipments_v1/pagination.rb +2 -2
  543. data/lib/peddler/apis/vendor_shipments_v1/purchase_order_items.rb +2 -2
  544. data/lib/peddler/apis/vendor_shipments_v1/purchase_orders.rb +3 -3
  545. data/lib/peddler/apis/vendor_shipments_v1/route.rb +1 -1
  546. data/lib/peddler/apis/vendor_shipments_v1/shipment.rb +18 -18
  547. data/lib/peddler/apis/vendor_shipments_v1/shipment_confirmation.rb +12 -12
  548. data/lib/peddler/apis/vendor_shipments_v1/shipment_information.rb +3 -3
  549. data/lib/peddler/apis/vendor_shipments_v1/shipment_measurements.rb +2 -2
  550. data/lib/peddler/apis/vendor_shipments_v1/total_weight.rb +1 -1
  551. data/lib/peddler/apis/vendor_shipments_v1/transaction_reference.rb +1 -1
  552. data/lib/peddler/apis/vendor_shipments_v1/transport_label.rb +1 -1
  553. data/lib/peddler/apis/vendor_shipments_v1/transport_shipment_measurements.rb +1 -1
  554. data/lib/peddler/apis/vendor_shipments_v1/transportation_details.rb +4 -4
  555. data/lib/peddler/apis/vendor_shipments_v1/transportation_details_for_shipment_confirmation.rb +9 -8
  556. data/lib/peddler/apis/vendor_shipments_v1.rb +26 -25
  557. data/lib/peddler/apis/vendor_transaction_status_v1/transaction.rb +1 -1
  558. data/lib/peddler/apis/vendor_transaction_status_v1.rb +1 -1
  559. data/lib/peddler/data_kiosk/economics20240315/ad_summary.rb +20 -0
  560. data/lib/peddler/data_kiosk/economics20240315/aggregated_detail.rb +47 -0
  561. data/lib/peddler/data_kiosk/economics20240315/amount.rb +20 -0
  562. data/lib/peddler/data_kiosk/economics20240315/analytics_economics20240315.rb +28 -0
  563. data/lib/peddler/data_kiosk/economics20240315/economics.rb +62 -0
  564. data/lib/peddler/data_kiosk/economics20240315/economics_property.rb +20 -0
  565. data/lib/peddler/data_kiosk/economics20240315/fba_per_unit_cost.rb +19 -0
  566. data/lib/peddler/data_kiosk/economics20240315/fee.rb +47 -0
  567. data/lib/peddler/data_kiosk/economics20240315/fee_component.rb +26 -0
  568. data/lib/peddler/data_kiosk/economics20240315/fee_summary.rb +23 -0
  569. data/lib/peddler/data_kiosk/economics20240315/mfn_per_unit_cost.rb +24 -0
  570. data/lib/peddler/data_kiosk/economics20240315/net_proceeds.rb +23 -0
  571. data/lib/peddler/data_kiosk/economics20240315/per_unit_cost.rb +31 -0
  572. data/lib/peddler/data_kiosk/economics20240315/sales.rb +42 -0
  573. data/lib/peddler/data_kiosk/economics20240315.json +2585 -0
  574. data/lib/peddler/data_kiosk/economics20240315.rb +17 -0
  575. data/lib/peddler/data_kiosk/sales_and_traffic20231115/amount.rb +20 -0
  576. data/lib/peddler/data_kiosk/sales_and_traffic20231115/analytics_salesandtraffic20231115.rb +23 -0
  577. data/lib/peddler/data_kiosk/sales_and_traffic20231115/by_asin_sales.rb +37 -0
  578. data/lib/peddler/data_kiosk/sales_and_traffic20231115/by_asin_traffic.rb +150 -0
  579. data/lib/peddler/data_kiosk/sales_and_traffic20231115/by_date_sales.rb +89 -0
  580. data/lib/peddler/data_kiosk/sales_and_traffic20231115/by_date_traffic.rb +119 -0
  581. data/lib/peddler/data_kiosk/sales_and_traffic20231115/sales_and_traffic_by_asin.rb +42 -0
  582. data/lib/peddler/data_kiosk/sales_and_traffic20231115/sales_and_traffic_by_date.rb +30 -0
  583. data/lib/peddler/data_kiosk/sales_and_traffic20231115.json +2783 -0
  584. data/lib/peddler/data_kiosk/sales_and_traffic20231115.rb +17 -0
  585. data/lib/peddler/data_kiosk/sales_and_traffic20240424/amount.rb +20 -0
  586. data/lib/peddler/data_kiosk/sales_and_traffic20240424/analytics_salesandtraffic20240424.rb +28 -0
  587. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +37 -0
  588. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_traffic.rb +150 -0
  589. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +89 -0
  590. data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_traffic.rb +119 -0
  591. data/lib/peddler/data_kiosk/sales_and_traffic20240424/sales_and_traffic_by_asin.rb +42 -0
  592. data/lib/peddler/data_kiosk/sales_and_traffic20240424/sales_and_traffic_by_date.rb +30 -0
  593. data/lib/peddler/data_kiosk/sales_and_traffic20240424/sales_and_traffic_trends.rb +44 -0
  594. data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +3088 -0
  595. data/lib/peddler/data_kiosk/sales_and_traffic20240424.rb +17 -0
  596. data/lib/peddler/data_kiosk/vendor_analytics20240930/amount.rb +20 -0
  597. data/lib/peddler/data_kiosk/vendor_analytics20240930/analytics_vendoranalytics20240930.rb +22 -0
  598. data/lib/peddler/data_kiosk/vendor_analytics20240930/costs.rb +40 -0
  599. data/lib/peddler/data_kiosk/vendor_analytics20240930/customer_return_topics.rb +24 -0
  600. data/lib/peddler/data_kiosk/vendor_analytics20240930/customer_review_topics.rb +58 -0
  601. data/lib/peddler/data_kiosk/vendor_analytics20240930/customer_reviews.rb +21 -0
  602. data/lib/peddler/data_kiosk/vendor_analytics20240930/customer_satisfaction.rb +23 -0
  603. data/lib/peddler/data_kiosk/vendor_analytics20240930/forecasted_demand_statistic.rb +30 -0
  604. data/lib/peddler/data_kiosk/vendor_analytics20240930/forecasted_demand_weekly.rb +26 -0
  605. data/lib/peddler/data_kiosk/vendor_analytics20240930/group_by_attributes.rb +92 -0
  606. data/lib/peddler/data_kiosk/vendor_analytics20240930/manufacturing_view.rb +31 -0
  607. data/lib/peddler/data_kiosk/vendor_analytics20240930/manufacturing_view_metrics.rb +38 -0
  608. data/lib/peddler/data_kiosk/vendor_analytics20240930/manufacturing_view_metrics_grouped_by.rb +21 -0
  609. data/lib/peddler/data_kiosk/vendor_analytics20240930/orders.rb +28 -0
  610. data/lib/peddler/data_kiosk/vendor_analytics20240930/product_availability.rb +51 -0
  611. data/lib/peddler/data_kiosk/vendor_analytics20240930/shipped_orders.rb +22 -0
  612. data/lib/peddler/data_kiosk/vendor_analytics20240930/sourcing.rb +46 -0
  613. data/lib/peddler/data_kiosk/vendor_analytics20240930/sourcing_view.rb +31 -0
  614. data/lib/peddler/data_kiosk/vendor_analytics20240930/sourcing_view_metrics.rb +29 -0
  615. data/lib/peddler/data_kiosk/vendor_analytics20240930/sourcing_view_metrics_grouped_by.rb +21 -0
  616. data/lib/peddler/data_kiosk/vendor_analytics20240930/traffic.rb +17 -0
  617. data/lib/peddler/data_kiosk/vendor_analytics20240930/units_with_value.rb +20 -0
  618. data/lib/peddler/data_kiosk/vendor_analytics20240930.json +2938 -0
  619. data/lib/peddler/data_kiosk/vendor_analytics20240930.rb +17 -0
  620. data/lib/peddler/feeds/listings_feed_message_schema/feed.rb +9 -9
  621. data/lib/peddler/feeds/listings_feed_message_schema/patch.rb +1 -1
  622. data/lib/peddler/feeds/listings_feed_processing_report_schema/feed.rb +3 -3
  623. data/lib/peddler/feeds/listings_feed_processing_report_schema/header.rb +1 -1
  624. data/lib/peddler/feeds/listings_feed_processing_report_schema/issue.rb +2 -2
  625. data/lib/peddler/feeds/listings_feed_processing_report_schema/item_summary.rb +1 -1
  626. data/lib/peddler/feeds/listings_feed_processing_report_schema/report.rb +3 -3
  627. data/lib/peddler/feeds/listings_feed_processing_report_schema/summary.rb +1 -1
  628. data/lib/peddler/feeds/listings_feed_schema/header.rb +3 -3
  629. data/lib/peddler/feeds/listings_feed_schema/message.rb +10 -10
  630. data/lib/peddler/feeds/listings_feed_schema/patch.rb +1 -1
  631. data/lib/peddler/feeds/listings_feed_schema/report.rb +3 -3
  632. data/lib/peddler/helpers/data_kiosk_2023_11_15.rb +34 -0
  633. data/lib/peddler/notifications/b2b_any_offer_changed/b2b_any_offer_changed_notification.rb +1 -1
  634. data/lib/peddler/notifications/b2b_any_offer_changed/notification.rb +3 -3
  635. data/lib/peddler/notifications/b2b_any_offer_changed/offer.rb +2 -2
  636. data/lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb +1 -1
  637. data/lib/peddler/notifications/b2b_any_offer_changed/shipping_time.rb +4 -4
  638. data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +4 -4
  639. data/lib/peddler/notifications/branded_item_content_change/payload.rb +5 -5
  640. data/lib/peddler/notifications/data_kiosk_query_processing_finished/payload.rb +11 -11
  641. data/lib/peddler/notifications/detail_page_traffic_event/detail_page_traffic_event.rb +1 -1
  642. data/lib/peddler/notifications/feed_processing_finished/feed_processing_finished_notification.rb +2 -2
  643. data/lib/peddler/notifications/item_inventory_event_change/item_inventory_event_change.rb +3 -3
  644. data/lib/peddler/notifications/item_sales_event_change/item_sales_event_change.rb +2 -2
  645. data/lib/peddler/notifications/listings_item_issues_change/payload.rb +4 -4
  646. data/lib/peddler/notifications/listings_item_issues_change_notification_2023_12_13/payload.rb +8 -8
  647. data/lib/peddler/notifications/listings_item_mfn_quantity_change/payload.rb +2 -2
  648. data/lib/peddler/notifications/listings_item_status_change/payload.rb +3 -3
  649. data/lib/peddler/notifications/order_change/notification.rb +1 -1
  650. data/lib/peddler/notifications/order_change/order_change_notification.rb +1 -1
  651. data/lib/peddler/notifications/order_change/order_change_trigger.rb +1 -1
  652. data/lib/peddler/notifications/order_change/order_item.rb +2 -2
  653. data/lib/peddler/notifications/order_change/summary.rb +10 -10
  654. data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +1 -1
  655. data/lib/peddler/notifications/pricing_health/summary.rb +2 -2
  656. data/lib/peddler/notifications/report_processing_finished/report_processing_finished_notification.rb +3 -3
  657. data/lib/peddler/notifications/transaction_update/notification.rb +2 -2
  658. data/lib/peddler/reports/account_health_report_2020_11_18/account_health_rating.rb +1 -1
  659. data/lib/peddler/reports/account_health_report_2020_11_18/on_time_delivery_rate.rb +2 -2
  660. data/lib/peddler/reports/account_health_report_2020_11_18/performance_metric.rb +8 -8
  661. data/lib/peddler/reports/account_health_report_2020_11_18/pre_fulfillment_cancellation_rate.rb +1 -1
  662. data/lib/peddler/reports/account_health_report_2020_11_18/unit_on_time_delivery_rate.rb +1 -1
  663. data/lib/peddler/reports/account_health_report_2020_11_18/valid_tracking_rate.rb +1 -1
  664. data/lib/peddler/reports/account_health_report_2020_11_18/warning_state.rb +1 -1
  665. data/lib/peddler/reports/b2b_product_opportunities_recommended_for_you_report_2020_11_19/recommendation.rb +12 -12
  666. data/lib/peddler/reports/end_user_data/asin_metrics.rb +2 -2
  667. data/lib/peddler/reports/end_user_data/report_options.rb +1 -1
  668. data/lib/peddler/reports/end_user_data/report_specification.rb +6 -6
  669. data/lib/peddler/reports/marketplace_asin_page_view_metrics/report_options.rb +2 -2
  670. data/lib/peddler/reports/marketplace_asin_page_view_metrics/report_specification.rb +4 -4
  671. data/lib/peddler/reports/promotion/details_by_product.rb +1 -1
  672. data/lib/peddler/reports/promotion/details_by_promotion.rb +1 -1
  673. data/lib/peddler/reports/promotion/report_options.rb +2 -2
  674. data/lib/peddler/reports/promotion/report_specification.rb +1 -1
  675. data/lib/peddler/reports/seller_coupon/coupon_details.rb +8 -8
  676. data/lib/peddler/reports/seller_coupon/report_options.rb +2 -2
  677. data/lib/peddler/reports/seller_sales_and_traffic/report.rb +1 -1
  678. data/lib/peddler/reports/seller_sales_and_traffic/report_options.rb +4 -4
  679. data/lib/peddler/reports/seller_sales_and_traffic/report_specification.rb +15 -15
  680. data/lib/peddler/reports/seller_sales_and_traffic/sales_and_traffic_by_asin.rb +4 -4
  681. data/lib/peddler/reports/seller_sales_and_traffic/sales_and_traffic_by_date.rb +1 -1
  682. data/lib/peddler/reports/seller_sales_and_traffic/sales_by_asin.rb +5 -5
  683. data/lib/peddler/reports/seller_sales_and_traffic/sales_by_date.rb +25 -25
  684. data/lib/peddler/reports/seller_sales_and_traffic/traffic_by_asin.rb +48 -48
  685. data/lib/peddler/reports/seller_sales_and_traffic/traffic_by_date.rb +35 -35
  686. data/lib/peddler/reports/selling_partner_market_basket_analysis/details_by_asin.rb +5 -5
  687. data/lib/peddler/reports/selling_partner_market_basket_analysis/report_specification.rb +6 -6
  688. data/lib/peddler/reports/selling_partner_repeat_purchase/data_by_asin.rb +2 -2
  689. data/lib/peddler/reports/selling_partner_repeat_purchase/report_options.rb +1 -1
  690. data/lib/peddler/reports/selling_partner_repeat_purchase/report_specification.rb +6 -6
  691. data/lib/peddler/reports/selling_partner_search_catalog_performance/report_options.rb +2 -2
  692. data/lib/peddler/reports/selling_partner_search_catalog_performance/report_specification.rb +6 -6
  693. data/lib/peddler/reports/selling_partner_search_catalog_performance/search_catalog_performance_cart_add_data.rb +4 -4
  694. data/lib/peddler/reports/selling_partner_search_catalog_performance/search_catalog_performance_click_data.rb +3 -3
  695. data/lib/peddler/reports/selling_partner_search_catalog_performance/search_catalog_performance_impression_data.rb +5 -5
  696. data/lib/peddler/reports/selling_partner_search_catalog_performance/search_catalog_performance_purchase_data.rb +4 -4
  697. data/lib/peddler/reports/selling_partner_search_query_performance/report_options.rb +1 -1
  698. data/lib/peddler/reports/selling_partner_search_query_performance/report_specification.rb +6 -6
  699. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_data.rb +1 -1
  700. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_performance_cart_add_data.rb +7 -7
  701. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_performance_click_data.rb +5 -5
  702. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_performance_data.rb +1 -1
  703. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_performance_impression_data.rb +3 -3
  704. data/lib/peddler/reports/selling_partner_search_query_performance/search_query_performance_purchase_data.rb +5 -5
  705. data/lib/peddler/reports/selling_partner_search_terms/details_by_department_and_search_term.rb +8 -8
  706. data/lib/peddler/reports/selling_partner_search_terms/report_options.rb +1 -1
  707. data/lib/peddler/reports/selling_partner_search_terms/report_specification.rb +5 -5
  708. data/lib/peddler/reports/vendor_coupon/asin_details.rb +1 -1
  709. data/lib/peddler/reports/vendor_coupon/coupon_details.rb +7 -7
  710. data/lib/peddler/reports/vendor_coupon/details_by_campaign.rb +6 -6
  711. data/lib/peddler/reports/vendor_coupon/report_options.rb +2 -2
  712. data/lib/peddler/reports/vendor_forecasting/forecast_by_asin.rb +9 -9
  713. data/lib/peddler/reports/vendor_forecasting/report.rb +1 -1
  714. data/lib/peddler/reports/vendor_forecasting/report_specification.rb +2 -2
  715. data/lib/peddler/reports/vendor_inventory/inventory_aggregate.rb +29 -29
  716. data/lib/peddler/reports/vendor_inventory/inventory_by_asin.rb +26 -26
  717. data/lib/peddler/reports/vendor_inventory/report.rb +1 -1
  718. data/lib/peddler/reports/vendor_inventory/report_options.rb +1 -1
  719. data/lib/peddler/reports/vendor_inventory/report_specification.rb +7 -7
  720. data/lib/peddler/reports/vendor_net_pure_product_margin/net_pure_product_margin_aggregate_details.rb +2 -2
  721. data/lib/peddler/reports/vendor_net_pure_product_margin/net_pure_product_margin_details_by_asin.rb +2 -2
  722. data/lib/peddler/reports/vendor_net_pure_product_margin/report.rb +1 -1
  723. data/lib/peddler/reports/vendor_net_pure_product_margin/report_options.rb +1 -1
  724. data/lib/peddler/reports/vendor_net_pure_product_margin/report_specification.rb +6 -6
  725. data/lib/peddler/reports/vendor_real_time_inventory/report_data.rb +2 -2
  726. data/lib/peddler/reports/vendor_real_time_inventory/report_specification.rb +2 -2
  727. data/lib/peddler/reports/vendor_real_time_sales/report_data.rb +2 -2
  728. data/lib/peddler/reports/vendor_real_time_sales/report_specification.rb +2 -2
  729. data/lib/peddler/reports/vendor_real_time_traffic/report_specification.rb +3 -3
  730. data/lib/peddler/reports/vendor_sales/report.rb +1 -1
  731. data/lib/peddler/reports/vendor_sales/report_options.rb +1 -1
  732. data/lib/peddler/reports/vendor_sales/report_specification.rb +7 -7
  733. data/lib/peddler/reports/vendor_sales/sales_aggregate.rb +3 -3
  734. data/lib/peddler/reports/vendor_sales/sales_by_asin.rb +3 -3
  735. data/lib/peddler/reports/vendor_traffic/report.rb +1 -1
  736. data/lib/peddler/reports/vendor_traffic/report_specification.rb +6 -6
  737. data/lib/peddler/version.rb +1 -1
  738. data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +37 -74
  739. data/sig/peddler/apis/aplus_content_2020_11_01.rbs +54 -110
  740. data/sig/peddler/apis/application_integrations_2024_04_01.rbs +6 -12
  741. data/sig/peddler/apis/application_management_2023_11_30.rbs +2 -4
  742. data/sig/peddler/apis/catalog_items_2020_12_01.rbs +18 -36
  743. data/sig/peddler/apis/catalog_items_2022_04_01.rbs +28 -59
  744. data/sig/peddler/apis/catalog_items_v0.rbs +3 -6
  745. data/sig/peddler/apis/customer_feedback_2024_06_01.rbs +39 -78
  746. data/sig/peddler/apis/data_kiosk_2023_11_15.rbs +7 -14
  747. data/sig/peddler/apis/easy_ship_2022_03_23.rbs +21 -42
  748. data/sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs +11 -22
  749. data/sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs +12 -24
  750. data/sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs +49 -98
  751. data/sig/peddler/apis/fba_inbound_eligibility_v1.rbs +2 -6
  752. data/sig/peddler/apis/fba_inventory_v1.rbs +17 -34
  753. data/sig/peddler/apis/feeds_2021_06_30.rbs +9 -18
  754. data/sig/peddler/apis/finances_2024_06_19.rbs +18 -36
  755. data/sig/peddler/apis/finances_v0.rbs +49 -98
  756. data/sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs +125 -250
  757. data/sig/peddler/apis/fulfillment_inbound_v0.rbs +21 -44
  758. data/sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs +72 -154
  759. data/sig/peddler/apis/invoices_2024_06_19.rbs +16 -32
  760. data/sig/peddler/apis/listings_items_2020_09_01.rbs +7 -14
  761. data/sig/peddler/apis/listings_items_2021_08_01.rbs +25 -50
  762. data/sig/peddler/apis/listings_restrictions_2021_08_01.rbs +5 -10
  763. data/sig/peddler/apis/merchant_fulfillment_v0.rbs +36 -88
  764. data/sig/peddler/apis/messaging_v1.rbs +28 -56
  765. data/sig/peddler/apis/notifications_v1.rbs +24 -48
  766. data/sig/peddler/apis/orders_v0.rbs +55 -123
  767. data/sig/peddler/apis/product_fees_v0.rbs +13 -30
  768. data/sig/peddler/apis/product_pricing_2022_05_01.rbs +35 -70
  769. data/sig/peddler/apis/product_pricing_v0.rbs +40 -87
  770. data/sig/peddler/apis/product_type_definitions_2020_09_01.rbs +7 -17
  771. data/sig/peddler/apis/replenishment_2022_11_07.rbs +26 -52
  772. data/sig/peddler/apis/reports_2021_06_30.rbs +11 -22
  773. data/sig/peddler/apis/sales_v1.rbs +3 -6
  774. data/sig/peddler/apis/seller_wallet_2024_03_01.rbs +24 -48
  775. data/sig/peddler/apis/sellers_v1.rbs +9 -21
  776. data/sig/peddler/apis/services_v1.rbs +60 -122
  777. data/sig/peddler/apis/shipment_invoicing_v0.rbs +14 -28
  778. data/sig/peddler/apis/shipping_v1.rbs +41 -82
  779. data/sig/peddler/apis/shipping_v2.rbs +96 -210
  780. data/sig/peddler/apis/solicitations_v1.rbs +7 -14
  781. data/sig/peddler/apis/supply_sources_2020_07_01.rbs +22 -56
  782. data/sig/peddler/apis/tokens_2021_03_01.rbs +5 -10
  783. data/sig/peddler/apis/transfers_2024_06_01.rbs +7 -14
  784. data/sig/peddler/apis/uploads_2020_11_01.rbs +3 -6
  785. data/sig/peddler/apis/vehicles_2024_11_01.rbs +8 -16
  786. data/sig/peddler/apis/vendor_direct_fulfillment_inventory_v1.rbs +6 -16
  787. data/sig/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rbs +22 -49
  788. data/sig/peddler/apis/vendor_direct_fulfillment_orders_v1.rbs +22 -47
  789. data/sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs +13 -26
  790. data/sig/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.rbs +12 -24
  791. data/sig/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rbs +33 -68
  792. data/sig/peddler/apis/vendor_direct_fulfillment_shipping_v1.rbs +35 -72
  793. data/sig/peddler/apis/vendor_direct_fulfillment_transactions_2021_12_28.rbs +4 -8
  794. data/sig/peddler/apis/vendor_direct_fulfillment_transactions_v1.rbs +4 -8
  795. data/sig/peddler/apis/vendor_invoices_v1.rbs +17 -34
  796. data/sig/peddler/apis/vendor_orders_v1.rbs +24 -50
  797. data/sig/peddler/apis/vendor_shipments_v1.rbs +53 -106
  798. data/sig/peddler/apis/vendor_transaction_status_v1.rbs +4 -8
  799. data/sig/peddler/data_kiosk/economics20240315.rbs +272 -0
  800. data/sig/peddler/data_kiosk/sales_and_traffic20231115.rbs +220 -0
  801. data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +245 -0
  802. data/sig/peddler/data_kiosk/vendor_analytics20240930.rbs +444 -0
  803. data/sig/peddler/feeds/listings_feed_message_schema.rbs +2 -4
  804. data/sig/peddler/feeds/listings_feed_processing_report_schema.rbs +6 -12
  805. data/sig/peddler/feeds/listings_feed_schema.rbs +5 -10
  806. data/sig/peddler/helpers/data_kiosk_2023_11_15.rbs +13 -0
  807. data/sig/peddler/notifications/any_offer_changed.rbs +14 -33
  808. data/sig/peddler/notifications/b2b_any_offer_changed.rbs +13 -30
  809. data/sig/peddler/notifications/branded_item_content_change.rbs +2 -4
  810. data/sig/peddler/notifications/data_kiosk_query_processing_finished.rbs +2 -4
  811. data/sig/peddler/notifications/detail_page_traffic_event.rbs +4 -8
  812. data/sig/peddler/notifications/fba_inventory_availability_change.rbs +2 -4
  813. data/sig/peddler/notifications/fba_outbound_shipment_status.rbs +3 -6
  814. data/sig/peddler/notifications/fee_promotion.rbs +17 -34
  815. data/sig/peddler/notifications/feed_processing_finished.rbs +3 -6
  816. data/sig/peddler/notifications/fulfillment_order_status.rbs +6 -12
  817. data/sig/peddler/notifications/item_inventory_event_change.rbs +4 -8
  818. data/sig/peddler/notifications/item_product_type_change.rbs +2 -4
  819. data/sig/peddler/notifications/item_sales_event_change.rbs +4 -8
  820. data/sig/peddler/notifications/listings_item_issues_change.rbs +2 -4
  821. data/sig/peddler/notifications/listings_item_issues_change_notification_2023_12_13.rbs +2 -4
  822. data/sig/peddler/notifications/listings_item_mfn_quantity_change.rbs +2 -4
  823. data/sig/peddler/notifications/listings_item_status_change.rbs +2 -4
  824. data/sig/peddler/notifications/mfn_order_status_change.rbs +2 -4
  825. data/sig/peddler/notifications/order_change.rbs +5 -12
  826. data/sig/peddler/notifications/order_status_change.rbs +3 -6
  827. data/sig/peddler/notifications/pricing_health.rbs +11 -22
  828. data/sig/peddler/notifications/product_type_definitions_change.rbs +2 -4
  829. data/sig/peddler/notifications/report_processing_finished.rbs +3 -6
  830. data/sig/peddler/notifications/transaction_update.rbs +6 -12
  831. data/sig/peddler/reports/account_health_report_2020_11_18.rbs +17 -34
  832. data/sig/peddler/reports/b2b_product_opportunities_not_yet_on_amazon_report_2020_11_19.rbs +2 -4
  833. data/sig/peddler/reports/b2b_product_opportunities_recommended_for_you_report_2020_11_19.rbs +1 -5
  834. data/sig/peddler/reports/end_user_data.rbs +5 -10
  835. data/sig/peddler/reports/marketplace_asin_page_view_metrics.rbs +4 -8
  836. data/sig/peddler/reports/promotion.rbs +5 -10
  837. data/sig/peddler/reports/seller_coupon.rbs +5 -10
  838. data/sig/peddler/reports/seller_sales_and_traffic.rbs +9 -18
  839. data/sig/peddler/reports/selling_partner_market_basket_analysis.rbs +4 -8
  840. data/sig/peddler/reports/selling_partner_repeat_purchase.rbs +4 -8
  841. data/sig/peddler/reports/selling_partner_search_catalog_performance.rbs +8 -16
  842. data/sig/peddler/reports/selling_partner_search_query_performance.rbs +9 -18
  843. data/sig/peddler/reports/selling_partner_search_terms.rbs +4 -8
  844. data/sig/peddler/reports/vendor_coupon.rbs +4 -12
  845. data/sig/peddler/reports/vendor_forecasting.rbs +4 -8
  846. data/sig/peddler/reports/vendor_inventory.rbs +5 -10
  847. data/sig/peddler/reports/vendor_net_pure_product_margin.rbs +5 -10
  848. data/sig/peddler/reports/vendor_real_time_inventory.rbs +3 -6
  849. data/sig/peddler/reports/vendor_real_time_sales.rbs +4 -8
  850. data/sig/peddler/reports/vendor_real_time_traffic.rbs +3 -6
  851. data/sig/peddler/reports/vendor_sales.rbs +5 -10
  852. data/sig/peddler/reports/vendor_traffic.rbs +5 -10
  853. metadata +70 -3
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is generated. Do not edit.
4
+
5
+ module Peddler
6
+ module DataKiosk
7
+ module VendorAnalytics20240930
8
+ class << self
9
+ # @return [Hash] GraphQL schema introspection data
10
+ def schema
11
+ path = File.expand_path("vendor_analytics20240930.json", __dir__.to_s)
12
+ JSON.load_file(path)
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -10,18 +10,18 @@ module Peddler
10
10
  # Selling Partner Listings Message (v2)
11
11
  Feed = Structure.new do
12
12
  # @return [Integer] Identifier for the message that is unique within this feed submission. Response messages are
13
- # correlated to this identifier.
13
+ # correlated to this identifier.
14
14
  attribute(:message_id, Integer, from: "messageId")
15
15
 
16
16
  # @return [String] Type of operation to perform for the listings data submission in this message. "UPDATE"
17
- # indicates the full set of item attributes are provided and any existing attributes data will be replaced with
18
- # the provided attributes. "PARTIAL_UPDATE" indicates only the provided item attributes will be updated with the
19
- # provided attribute data. "PATCH" indicates the provided JSON Patch operations will be used to update the
20
- # applicable attributes. "DELETE" indicates the listings item will be deleted.
17
+ # indicates the full set of item attributes are provided and any existing attributes data will be replaced
18
+ # with the provided attributes. "PARTIAL_UPDATE" indicates only the provided item attributes will be updated
19
+ # with the provided attribute data. "PATCH" indicates the provided JSON Patch operations will be used to
20
+ # update the applicable attributes. "DELETE" indicates the listings item will be deleted.
21
21
  attribute(:operation_type, String, from: "operationType")
22
22
 
23
23
  # @return [String] Selling Partner SKU (stock keeping unit) identifier for the listing. SKU uniquely identifies
24
- # a listing for a Selling Partner.
24
+ # a listing for a Selling Partner.
25
25
  attribute(:sku, String)
26
26
 
27
27
  # @return [Hash] Attributes data for the listings data submission.
@@ -34,9 +34,9 @@ module Peddler
34
34
  attribute?(:product_type, String, from: "productType")
35
35
 
36
36
  # @return [String] Name of the requirements type for the listings data submission in this message. "LISTING"
37
- # indicates requirements inclusive of product facts and sales terms. "LISTING_PRODUCT_ONLY" indicates
38
- # requirements inclusive of product facts only. "LISTING_OFFER_ONLY" indicates requirements inclusive of sales
39
- # terms only.
37
+ # indicates requirements inclusive of product facts and sales terms. "LISTING_PRODUCT_ONLY" indicates
38
+ # requirements inclusive of product facts only. "LISTING_OFFER_ONLY" indicates requirements inclusive of sales
39
+ # terms only.
40
40
  attribute?(:requirements, String)
41
41
  end
42
42
  end
@@ -10,7 +10,7 @@ module Peddler
10
10
  # Individual JSON Patch operation.
11
11
  Patch = Structure.new do
12
12
  # @return [String] Type of JSON Patch operation. Supported JSON Patch operations include add, replace, merge,
13
- # and delete. See https://tools.ietf.org/html/rfc6902.
13
+ # and delete. See https://tools.ietf.org/html/rfc6902.
14
14
  attribute(:op, String)
15
15
 
16
16
  # @return [String] JSON Pointer path of the attribute to patch. See https://tools.ietf.org/html/rfc6902.
@@ -16,12 +16,12 @@ module Peddler
16
16
  attribute(:issues, [Issue])
17
17
 
18
18
  # @return [Summary] Aggregate counts of errors, warnings, and statuses related to the acceptance of feed
19
- # messages. When requested, Item Summary includes aggregate counts of items, errors, and warnings related to the
20
- # listing items created or updated by this feed submission.
19
+ # messages. When requested, Item Summary includes aggregate counts of items, errors, and warnings related to
20
+ # the listing items created or updated by this feed submission.
21
21
  attribute(:summary, Summary)
22
22
 
23
23
  # @return [Array<Object>] A set of listings items and their specific data sets that originates from the feed
24
- # request’s "includedData" header parameter.
24
+ # request’s "includedData" header parameter.
25
25
  attribute?(:items, Array)
26
26
  end
27
27
  end
@@ -16,7 +16,7 @@ module Peddler
16
16
  attribute(:seller_id, String, from: "sellerId")
17
17
 
18
18
  # @return [String] Version of the JSON Selling Partner Listings Feeds specification used for the feed
19
- # submission.
19
+ # submission.
20
20
  attribute(:version, String)
21
21
 
22
22
  # @return [Report] The report information for the feed submission.
@@ -22,8 +22,8 @@ module Peddler
22
22
  attribute?(:code, String)
23
23
 
24
24
  # @return [Integer] Identifier for the message that is unique within this feed submission. Correlated to
25
- # Identifiers provided in the submitted feed. Not provided if the error is not related to a message (e.g. feed
26
- # formatting issue).
25
+ # Identifiers provided in the submitted feed. Not provided if the error is not related to a message (e.g. feed
26
+ # formatting issue).
27
27
  attribute?(:message_id, Integer, from: "messageId")
28
28
  end
29
29
  end
@@ -14,7 +14,7 @@ module Peddler
14
14
  attribute(:errors, Integer)
15
15
 
16
16
  # @return [Integer] Number of listing items created or updated by this feed submission and included in the Items
17
- # section of this report.
17
+ # section of this report.
18
18
  attribute(:items, Integer)
19
19
 
20
20
  # @return [Integer] Number of warnings across all listing items created or updated by this feed submission.
@@ -13,9 +13,9 @@ module Peddler
13
13
  attribute(:api_version, String, from: "apiVersion")
14
14
 
15
15
  # @return [Array<String>] When "includedData" elements are in the feed submission, the processing report that
16
- # generates for the feed submission includes the listings items output from the Selling Partner Listings Items
17
- # API with the "includedData" elements from the request. The report includes issues that prevent the acceptance
18
- # of messages regardless of the "includedData" elements in the feed request.
16
+ # generates for the feed submission includes the listings items output from the Selling Partner Listings Items
17
+ # API with the "includedData" elements from the request. The report includes issues that prevent the
18
+ # acceptance of messages regardless of the "includedData" elements in the feed request.
19
19
  attribute(:included_data, [String], from: "includedData")
20
20
  end
21
21
  end
@@ -27,7 +27,7 @@ module Peddler
27
27
  attribute(:warnings, Integer)
28
28
 
29
29
  # @return [ItemSummary] Aggregate counts of items, errors, and warnings related to the listing items created or
30
- # updated by this feed submission and included in the Items section of this report.
30
+ # updated by this feed submission and included in the Items section of this report.
31
31
  attribute?(:item_summary, ItemSummary, from: "itemSummary")
32
32
  end
33
33
  end
@@ -13,12 +13,12 @@ module Peddler
13
13
  attribute(:seller_id, String, from: "sellerId")
14
14
 
15
15
  # @return [String] Version of the JSON Selling Partner Listings Feeds specification used for the feed
16
- # submission.
16
+ # submission.
17
17
  attribute(:version, String)
18
18
 
19
19
  # @return [String] Locale for issue localization. When not provided, the default language code of the first
20
- # marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a
21
- # localization is not available in the specified locale.
20
+ # marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a
21
+ # localization is not available in the specified locale.
22
22
  attribute?(:issue_locale, String, from: "issueLocale")
23
23
 
24
24
  # @return [Report] The report information for the feed submission.
@@ -10,19 +10,19 @@ module Peddler
10
10
  # Message containing an individual listings data submission.
11
11
  Message = Structure.new do
12
12
  # @return [Integer] Identifier for the message that is unique within this feed submission. Response messages are
13
- # correlated to this identifier.
13
+ # correlated to this identifier.
14
14
  attribute(:message_id, Integer, from: "messageId")
15
15
 
16
16
  # @return [String] Type of operation to perform for the listings data submission in this message. "UPDATE"
17
- # indicates the full set of item attributes are provided and any existing attributes data will be replaced with
18
- # the provided attributes. "PARTIAL_UPDATE" indicates only the provided item attributes will be updated with the
19
- # provided attribute data. "PATCH" indicates the provided JSON Patch operations will be used to update the
20
- # applicable attributes. "DELETE" indicates the listings item will be deleted. "PARTIAL_UPDATE" is equivalent to
21
- # using "PATCH" with the "replace" op.
17
+ # indicates the full set of item attributes are provided and any existing attributes data will be replaced
18
+ # with the provided attributes. "PARTIAL_UPDATE" indicates only the provided item attributes will be updated
19
+ # with the provided attribute data. "PATCH" indicates the provided JSON Patch operations will be used to
20
+ # update the applicable attributes. "DELETE" indicates the listings item will be deleted. "PARTIAL_UPDATE" is
21
+ # equivalent to using "PATCH" with the "replace" op.
22
22
  attribute(:operation_type, String, from: "operationType")
23
23
 
24
24
  # @return [String] Selling Partner SKU (stock keeping unit) identifier for the listing. SKU uniquely identifies
25
- # a listing for a Selling Partner.
25
+ # a listing for a Selling Partner.
26
26
  attribute(:sku, String)
27
27
 
28
28
  # @return [Hash] Attributes data for the listings data submission.
@@ -35,9 +35,9 @@ module Peddler
35
35
  attribute?(:product_type, String, from: "productType")
36
36
 
37
37
  # @return [String] Name of the requirements type for the listings data submission in this message. "LISTING"
38
- # indicates requirements inclusive of product facts and sales terms. "LISTING_PRODUCT_ONLY" indicates
39
- # requirements inclusive of product facts only. "LISTING_OFFER_ONLY" indicates requirements inclusive of sales
40
- # terms only.
38
+ # indicates requirements inclusive of product facts and sales terms. "LISTING_PRODUCT_ONLY" indicates
39
+ # requirements inclusive of product facts only. "LISTING_OFFER_ONLY" indicates requirements inclusive of sales
40
+ # terms only.
41
41
  attribute?(:requirements, String)
42
42
  end
43
43
  end
@@ -10,7 +10,7 @@ module Peddler
10
10
  # Individual JSON Patch operation.
11
11
  Patch = Structure.new do
12
12
  # @return [String] Type of JSON Patch operation. Supported JSON Patch operations include add, replace, merge,
13
- # and delete. See https://tools.ietf.org/html/rfc6902.
13
+ # and delete. See https://tools.ietf.org/html/rfc6902.
14
14
  attribute(:op, String)
15
15
 
16
16
  # @return [String] JSON Pointer path of the attribute to patch. See https://tools.ietf.org/html/rfc6902.
@@ -13,9 +13,9 @@ module Peddler
13
13
  attribute(:api_version, String, from: "apiVersion")
14
14
 
15
15
  # @return [Array<String>] When "includedData" elements are in the feed submission, the processing report that
16
- # generates for the feed submission includes the listings items output from the Selling Partner Listings Items
17
- # API with the "includedData" elements from the request. The report includes issues that prevent the acceptance
18
- # of messages regardless of the "includedData" elements in the feed request.
16
+ # generates for the feed submission includes the listings items output from the Selling Partner Listings Items
17
+ # API with the "includedData" elements from the request. The report includes issues that prevent the
18
+ # acceptance of messages regardless of the "includedData" elements in the feed request.
19
19
  attribute(:included_data, [String], from: "includedData")
20
20
  end
21
21
  end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "http"
4
+
5
+ module Peddler
6
+ module Helpers
7
+ module DataKiosk20231115
8
+ # Convenience method to download a Data Kiosk document by its document ID or URL.
9
+ # This method can handle both document IDs and direct download URLs.
10
+ #
11
+ # @param document_id_or_url [String] The document identifier or download URL
12
+ # @return [Peddler::Response] The API response containing the document content
13
+ def download_query_document(document_id_or_url)
14
+ # If it looks like a URL, use direct download
15
+ if document_id_or_url.start_with?("http")
16
+ return download_query_document_from_url(document_id_or_url)
17
+ end
18
+
19
+ # Otherwise, treat it as a document ID and get the download URL first
20
+ response = get_document(document_id_or_url)
21
+ document_url = response.parse.document_url
22
+
23
+ download_query_document_from_url(document_url)
24
+ end
25
+
26
+ private
27
+
28
+ def download_query_document_from_url(document_url)
29
+ http_response = HTTP.use(:auto_inflate).get(document_url)
30
+ Response.wrap(http_response)
31
+ end
32
+ end
33
+ end
34
+ end
@@ -12,7 +12,7 @@ module Peddler
12
12
  attribute(:offer_change_trigger, String, from: "offerChangeTrigger")
13
13
 
14
14
  # @return [Array<Offer>] The top 20 competitive B2B offers for the item and condition that triggered the
15
- # notification.
15
+ # notification.
16
16
  attribute(:offers, [Offer])
17
17
 
18
18
  # @return [String] The seller identifier for the offer.
@@ -10,14 +10,14 @@ module Peddler
10
10
  # Notification envelope with metadata
11
11
  Notification = Structure.new do
12
12
  # @return [String] The date and time in ISO 8601 format in UTC time that the event which triggered the
13
- # notification occurred.
13
+ # notification occurred.
14
14
  attribute(:event_time, String, from: "eventTime")
15
15
 
16
16
  # @return [String]
17
17
  attribute(:notification_metadata, String, from: "notificationMetadata")
18
18
 
19
19
  # @return [String] The notification type. Combined with the payload version this controls the structure of the
20
- # payload object.
20
+ # payload object.
21
21
  attribute(:notification_type, String, from: "notificationType")
22
22
 
23
23
  # @return [String] The notification version. This controls the structure of the notification.
@@ -27,7 +27,7 @@ module Peddler
27
27
  attribute(:payload, Payload)
28
28
 
29
29
  # @return [String] The payload version. Combined with the notification type this controls the structure of the
30
- # payload object.
30
+ # payload object.
31
31
  attribute(:payload_version, String, from: "payloadVersion")
32
32
  end
33
33
  end
@@ -30,14 +30,14 @@ module Peddler
30
30
  attribute?(:condition_notes, String, from: "conditionNotes")
31
31
 
32
32
  # @return [:boolean] True when the offer is currently in the Buy Box. There can be up to two Buy Box winners at
33
- # any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.
33
+ # any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.
34
34
  attribute?(:buy_box_winner, :boolean, from: "isBuyBoxWinner")
35
35
 
36
36
  # @return [:boolean] True when the seller of the item is eligible to win the Buy Box.
37
37
  attribute?(:featured_merchant, :boolean, from: "isFeaturedMerchant")
38
38
 
39
39
  # @return [Array<QuantityDiscountPriceType>] Contains a list of pricing information that includes special
40
- # pricing when buying in bulk.
40
+ # pricing when buying in bulk.
41
41
  attribute?(:quantity_discount_price, [QuantityDiscountPriceType], from: "quantityDiscountPrice")
42
42
 
43
43
  # @return [String]
@@ -9,7 +9,7 @@ module Peddler
9
9
  module B2BAnyOfferChanged
10
10
  PrimeInformation = Structure.new do
11
11
  # @return [:boolean] Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace
12
- # where it is listed.
12
+ # where it is listed.
13
13
  attribute(:offer_national_prime, :boolean, from: "isOfferNationalPrime")
14
14
 
15
15
  # @return [:boolean] Indicates whether the offer is an Amazon Prime offer.
@@ -9,19 +9,19 @@ module Peddler
9
9
  module B2BAnyOfferChanged
10
10
  ShippingTime = Structure.new do
11
11
  # @return [String] Indicates whether the item is available for shipping now, or on a known or unknown date in
12
- # the future.
12
+ # the future.
13
13
  attribute?(:availability_type, String, from: "availabilityType")
14
14
 
15
15
  # @return [String] The date when the item will be available for shipping. Only displayed for items that are not
16
- # currently available for shipping.
16
+ # currently available for shipping.
17
17
  attribute?(:available_date, String, from: "availableDate")
18
18
 
19
19
  # @return [Integer] The maximum time, in hours, that the item will likely be shipped after the order has been
20
- # placed.
20
+ # placed.
21
21
  attribute?(:maximum_hours, Integer, from: "maximumHours")
22
22
 
23
23
  # @return [Integer] The minimum time, in hours, that the item will likely be shipped after the order has been
24
- # placed.
24
+ # placed.
25
25
  attribute?(:minimum_hours, Integer, from: "minimumHours")
26
26
  end
27
27
  end
@@ -9,19 +9,19 @@ module Peddler
9
9
  module B2BAnyOfferChanged
10
10
  Summary = Structure.new do
11
11
  # @return [Array<OfferCount>] A list that contains the total number of B2B offers that are eligible for the Buy
12
- # Box for the given conditions and fulfillment channels.
12
+ # Box for the given conditions and fulfillment channels.
13
13
  attribute(:buy_box_eligible_offers, [OfferCount], from: "buyBoxEligibleOffers")
14
14
 
15
15
  # @return [Array<BuyBoxPrice>] A list that contains the Buy Box price of the item for the given conditions,
16
- # quantity tiers, and discount types.
16
+ # quantity tiers, and discount types.
17
17
  attribute(:buy_box_prices, [BuyBoxPrice], from: "buyBoxPrices")
18
18
 
19
19
  # @return [Array<LowestPrice>] A list that contains the lowest prices of the item for the given conditions,
20
- # fulfillment channels, quantity tiers, and discount types.
20
+ # fulfillment channels, quantity tiers, and discount types.
21
21
  attribute(:lowest_prices, [LowestPrice], from: "lowestPrices")
22
22
 
23
23
  # @return [Array<OfferCount>] A list that contains the total number of B2B offers for the item for the given
24
- # conditions and fulfillment channels.
24
+ # conditions and fulfillment channels.
25
25
  attribute(:number_of_offers, [OfferCount], from: "numberOfOffers")
26
26
  end
27
27
  end
@@ -13,11 +13,11 @@ module Peddler
13
13
  attribute(:asin, String, from: "Asin")
14
14
 
15
15
  # @return [Array<String>] The array of item attributes which changed. Possible values include bullet_point,
16
- # item_name, product_description, and image-related attributes shown in the examples. NOTE: the attributes that
17
- # contain the word 'image' all mean the same thing right now, which is that one or more images changed on the
18
- # product detail page. In a future release we may update them to mean that individual image attribute changed,
19
- # but for now if any image changes all the image attributes will be present in the notification. Attribute
20
- # names, descriptions, and requirements are available in the Product Type Definitions API.
16
+ # item_name, product_description, and image-related attributes shown in the examples. NOTE: the attributes
17
+ # that contain the word 'image' all mean the same thing right now, which is that one or more images changed on
18
+ # the product detail page. In a future release we may update them to mean that individual image attribute
19
+ # changed, but for now if any image changes all the image attributes will be present in the notification.
20
+ # Attribute names, descriptions, and requirements are available in the Product Type Definitions API.
21
21
  attribute(:attributes_changed, [String], from: "AttributesChanged")
22
22
 
23
23
  # @return [String]
@@ -10,7 +10,7 @@ module Peddler
10
10
  # Notification payload data
11
11
  Payload = Structure.new do
12
12
  # @return [String] The merchant customer identifier or vendor group identifier of the selling partner account on
13
- # whose behalf the query was submitted.
13
+ # whose behalf the query was submitted.
14
14
  attribute(:account_id, String, from: "accountId")
15
15
 
16
16
  # @return [String] The processing status of the query.
@@ -23,22 +23,22 @@ module Peddler
23
23
  attribute(:query_id, String, from: "queryId")
24
24
 
25
25
  # @return [String] The data document identifier. This document identifier is only present when there is data
26
- # available as a result of the query. This identifier is unique only in combination with the `accountId`. Pass
27
- # this identifier into the `getDocument` operation to get the information required to retrieve the data
28
- # document's contents.
26
+ # available as a result of the query. This identifier is unique only in combination with the `accountId`. Pass
27
+ # this identifier into the `getDocument` operation to get the information required to retrieve the data
28
+ # document's contents.
29
29
  attribute?(:data_document_id, String, from: "dataDocumentId")
30
30
 
31
31
  # @return [String] The error document identifier. This document identifier is only present when an error occurs
32
- # during query processing. This identifier is unique only in combination with the `accountId`. Pass this
33
- # identifier into the `getDocument` operation to get the information required to retrieve the error document's
34
- # contents.
32
+ # during query processing. This identifier is unique only in combination with the `accountId`. Pass this
33
+ # identifier into the `getDocument` operation to get the information required to retrieve the error document's
34
+ # contents.
35
35
  attribute?(:error_document_id, String, from: "errorDocumentId")
36
36
 
37
37
  # @return [Hash] When a query produces results that are not included in the data document, pagination occurs.
38
- # This means that results are divided into pages. To retrieve the next page, you must pass a
39
- # `CreateQuerySpecification` object with `paginationToken` set to this object's `nextToken` and with `query` set
40
- # to this object's `query` in the subsequent `createQuery` request. When there are no more pages to fetch, the
41
- # `nextToken` field will be absent.
38
+ # This means that results are divided into pages. To retrieve the next page, you must pass a
39
+ # `CreateQuerySpecification` object with `paginationToken` set to this object's `nextToken` and with `query`
40
+ # set to this object's `query` in the subsequent `createQuery` request. When there are no more pages to fetch,
41
+ # the `nextToken` field will be absent.
42
42
  attribute?(:pagination, Hash)
43
43
  end
44
44
  end
@@ -10,7 +10,7 @@ module Peddler
10
10
  module DetailPageTrafficEvent
11
11
  DetailPageTrafficEvent = Structure.new do
12
12
  # @return [String] The merchant customer ID or vendor group ID of the partner account this notification is sent
13
- # to.
13
+ # to.
14
14
  attribute(:account_id, String, from: "accountId")
15
15
 
16
16
  # @return [String] The Amazon Standard Identification Number of the product.
@@ -10,7 +10,7 @@ module Peddler
10
10
  # Nested notification data
11
11
  FeedProcessingFinishedNotification = Structure.new do
12
12
  # @return [String] The merchant customer identifier or vendor group identifier of the selling partner account on
13
- # whose behalf the feed was submitted.
13
+ # whose behalf the feed was submitted.
14
14
  attribute(:account_id, String, from: "accountId")
15
15
 
16
16
  # @return [String] The feed identifier.
@@ -26,7 +26,7 @@ module Peddler
26
26
  attribute?(:result_feed_document_id, String, from: "resultFeedDocumentId")
27
27
 
28
28
  # @return [String] The merchant customer identifier of the selling partner account on whose behalf the feed was
29
- # submitted. This field will be null when the feed was submitted on behalf of a vendor group identifier.
29
+ # submitted. This field will be null when the feed was submitted on behalf of a vendor group identifier.
30
30
  attribute?(:seller_id, String, from: "sellerId")
31
31
  end
32
32
  end
@@ -10,7 +10,7 @@ module Peddler
10
10
  module ItemInventoryEventChange
11
11
  ItemInventoryEventChange = Structure.new do
12
12
  # @return [String] The merchant customer ID or vendor group ID of the partner account this notification is sent
13
- # to.
13
+ # to.
14
14
  attribute(:account_id, String, from: "accountId")
15
15
 
16
16
  # @return [String] The Amazon Standard Identification Number of the product.
@@ -20,8 +20,8 @@ module Peddler
20
20
  attribute(:end_time, Time, from: "endTime")
21
21
 
22
22
  # @return [Integer] The number of units available to be sold on the website, based on units in Amazon
23
- # fulfillment centers that are in sellable condition, minus units in customer shopping carts or otherwise bound
24
- # for other orders (for example, subscribe-and-save orders).
23
+ # fulfillment centers that are in sellable condition, minus units in customer shopping carts or otherwise
24
+ # bound for other orders (for example, subscribe-and-save orders).
25
25
  attribute(:highly_available_inventory, Integer, from: "highlyAvailableInventory")
26
26
 
27
27
  # @return [String] The marketplace identifier of the inventory data.
@@ -10,7 +10,7 @@ module Peddler
10
10
  module ItemSalesEventChange
11
11
  ItemSalesEventChange = Structure.new do
12
12
  # @return [String] The merchant customer ID or vendor group ID of the partner account this notification is sent
13
- # to.
13
+ # to.
14
14
  attribute(:account_id, String, from: "accountId")
15
15
 
16
16
  # @return [String] The Amazon Standard Identification Number of the product.
@@ -29,7 +29,7 @@ module Peddler
29
29
  attribute(:ordered_revenue, Float, from: "orderedRevenue")
30
30
 
31
31
  # @return [Integer] The number of units ordered by Amazon customers in the specified time frame. This number can
32
- # be negative if there are more cancellations than orders.
32
+ # be negative if there are more cancellations than orders.
33
33
  attribute(:ordered_units, Integer, from: "orderedUnits")
34
34
 
35
35
  # @return [Time] The start of the date-time range of the sales data in ISO 8601 format in UTC time.
@@ -10,22 +10,22 @@ module Peddler
10
10
  # Notification payload data
11
11
  Payload = Structure.new do
12
12
  # @return [String] Selling partner identifier, such as a merchant account or vendor code, of the affected
13
- # listings item.
13
+ # listings item.
14
14
  attribute(:seller_id, String, from: "SellerId")
15
15
 
16
16
  # @return [Array<String>] Array of severities for the issues currently associated with the affected listings
17
- # item. When no issues are affecting the listings item, "NONE" is provided instead.
17
+ # item. When no issues are affecting the listings item, "NONE" is provided instead.
18
18
  attribute(:severities, [String], from: "Severities")
19
19
 
20
20
  # @return [String] Identifier of the affected listings item.
21
21
  attribute(:sku, String, from: "Sku")
22
22
 
23
23
  # @return [String] The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated
24
- # with the listings item.
24
+ # with the listings item.
25
25
  attribute?(:asin, String, from: "Asin")
26
26
 
27
27
  # @return [Array<String>] Array of enforcement actions taken by Amazon for the issues associated with the
28
- # affected listings item.
28
+ # affected listings item.
29
29
  attribute?(:enforcement_actions, [String], from: "EnforcementActions")
30
30
 
31
31
  # @return [String] Amazon marketplace identifier of the affected listings item.
@@ -10,26 +10,26 @@ module Peddler
10
10
  # Notification payload data
11
11
  Payload = Structure.new do
12
12
  # @return [String] Selling partner identifier, such as a merchant account or vendor code, of the affected
13
- # listings item.
13
+ # listings item.
14
14
  attribute(:seller_id, String, from: "SellerId")
15
15
 
16
16
  # @return [Array<String>] Array of severities for the issues currently associated with the affected listings
17
- # item. When no issues are affecting the listings item, "NONE" is provided instead.
17
+ # item. When no issues are affecting the listings item, "NONE" is provided instead.
18
18
  attribute(:severities, [String], from: "Severities")
19
19
 
20
20
  # @return [String] Identifier of the affected listings item.
21
21
  attribute(:sku, String, from: "Sku")
22
22
 
23
23
  # @return [String] The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated
24
- # with the listings item.
24
+ # with the listings item.
25
25
  attribute?(:asin, String, from: "Asin")
26
26
 
27
27
  # @return [Array<String>] Array of enforcement actions taken by Amazon for the issues associated with the
28
- # affected listings item. Possible values: 'LISTING_SUPPRESSED' - This enforcement takes down the current
29
- # listing item's buyability. 'ATTRIBUTE_SUPPRESSED' - An attribute's value on the listing item is invalid, which
30
- # causes it to be rejected by Amazon. 'CATALOG_ITEM_REMOVED' - This catalog item is inactive on Amazon, and all
31
- # offers against it in the applicable marketplace are non-buyable. 'SEARCH_SUPPRESSED' - This value indicates
32
- # that the catalog item is hidden from search results.
28
+ # affected listings item. Possible values: 'LISTING_SUPPRESSED' - This enforcement takes down the current
29
+ # listing item's buyability. 'ATTRIBUTE_SUPPRESSED' - An attribute's value on the listing item is invalid,
30
+ # which causes it to be rejected by Amazon. 'CATALOG_ITEM_REMOVED' - This catalog item is inactive on Amazon,
31
+ # and all offers against it in the applicable marketplace are non-buyable. 'SEARCH_SUPPRESSED' - This value
32
+ # indicates that the catalog item is hidden from search results.
33
33
  attribute?(:enforcement_actions, [String], from: "EnforcementActions")
34
34
 
35
35
  # @return [String] Amazon marketplace identifier of the affected listings item.
@@ -10,11 +10,11 @@ module Peddler
10
10
  # Notification payload data
11
11
  Payload = Structure.new do
12
12
  # @return [String] The Fulfillment channel code representing the MFN (seller-fulfilled) fulfillment program,
13
- # network, or channel where the quantity is applicable.
13
+ # network, or channel where the quantity is applicable.
14
14
  attribute(:fulfillment_channel_code, String, from: "FulfillmentChannelCode")
15
15
 
16
16
  # @return [Integer] The available quantity for MFN (seller-fulfillment) with the fulfillment program, network,
17
- # or channel.
17
+ # or channel.
18
18
  attribute(:quantity, Integer, from: "Quantity")
19
19
 
20
20
  # @return [String] Selling partner identifier, such as a merchant ID, of the affected listings item.
@@ -17,12 +17,12 @@ module Peddler
17
17
  attribute(:sku, String, from: "Sku")
18
18
 
19
19
  # @return [Array<String>] Array of status states currently associated with the affected listings item. The
20
- # absence of a value indicates the status state is not currently applicable to the listings item. For example,
21
- # if "BUYABLE" is not present, the listings item is not currently buyable.
20
+ # absence of a value indicates the status state is not currently applicable to the listings item. For example,
21
+ # if "BUYABLE" is not present, the listings item is not currently buyable.
22
22
  attribute(:status, [String], from: "Status")
23
23
 
24
24
  # @return [String] The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated
25
- # with the listings item.
25
+ # with the listings item.
26
26
  attribute?(:asin, String, from: "Asin")
27
27
 
28
28
  # @return [Time] Timestamp of when the listings item was created, formatted as ISO8601 date-time.
@@ -16,7 +16,7 @@ module Peddler
16
16
  attribute(:notification_metadata, Hash, from: "NotificationMetadata")
17
17
 
18
18
  # @return [String] The type of this notification, used to differentiate different notifications. Combined with
19
- # payload version, this controls the structure of the payload object.
19
+ # payload version, this controls the structure of the payload object.
20
20
  attribute(:notification_type, String, from: "NotificationType")
21
21
 
22
22
  # @return [String] The notification version.
@@ -19,7 +19,7 @@ module Peddler
19
19
  attribute(:order_change_trigger, OrderChangeTrigger, from: "OrderChangeTrigger")
20
20
 
21
21
  # @return [String] The type of order change that caused the notification to be sent. Possible values are
22
- # BuyerRequestedChange and OrderStatusChange.
22
+ # BuyerRequestedChange and OrderStatusChange.
23
23
  attribute(:order_change_type, String, from: "OrderChangeType")
24
24
 
25
25
  # @return [String] The selling partner identifier.