peddler 5.3.1 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +74 -11
  3. data/lib/peddler/api.rb +30 -6
  4. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/order_attribute.rb +20 -0
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_execution_error.rb +24 -0
  6. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_listing.rb +24 -0
  7. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order.rb +60 -0
  8. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_creation_data.rb +23 -0
  9. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_reference.rb +18 -0
  10. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment.rb +43 -0
  11. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_label_page_types.rb +20 -0
  12. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +100 -0
  13. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/address.rb +4 -1
  14. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/distance.rb +20 -0
  15. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/geocodes.rb +23 -0
  16. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/handover_location.rb +23 -0
  17. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/ship_label_metadata.rb +4 -0
  18. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment_info.rb +3 -0
  19. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipping_options.rb +4 -0
  20. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11.rb +1 -1
  21. data/lib/peddler/apis/feeds_2021_06_30.rb +8 -2
  22. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/amount.rb +2 -2
  23. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_document.rb +2 -2
  24. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_information.rb +2 -1
  25. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_preferences.rb +1 -1
  26. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_window.rb +3 -4
  27. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +9 -7
  28. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_settings.rb +5 -1
  29. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_sku.rb +1 -1
  30. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order.rb +2 -2
  31. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_shipment.rb +6 -6
  32. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_package.rb +3 -4
  33. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_inventory_response.rb +1 -1
  34. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_sku_result.rb +12 -3
  35. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/origin.rb +2 -1
  36. data/lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_event.rb +1 -2
  37. data/lib/peddler/apis/listings_restrictions_2021_08_01/restriction_list.rb +1 -1
  38. data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +4 -1
  39. data/lib/peddler/apis/notifications_v1/aggregation_filter.rb +2 -2
  40. data/lib/peddler/apis/notifications_v1/destination.rb +1 -1
  41. data/lib/peddler/apis/notifications_v1/event_bridge_resource.rb +2 -2
  42. data/lib/peddler/apis/notifications_v1/event_filter.rb +6 -6
  43. data/lib/peddler/apis/notifications_v1/marketplace_filter.rb +1 -1
  44. data/lib/peddler/apis/notifications_v1/marketplace_ids.rb +2 -2
  45. data/lib/peddler/apis/notifications_v1/order_change_type_filter.rb +2 -1
  46. data/lib/peddler/apis/notifications_v1/order_change_types.rb +2 -2
  47. data/lib/peddler/apis/notifications_v1/processing_directive.rb +18 -7
  48. data/lib/peddler/apis/notifications_v1/send_test_notification_request.rb +20 -0
  49. data/lib/peddler/apis/notifications_v1/send_test_notification_response.rb +20 -0
  50. data/lib/peddler/apis/notifications_v1/test_notification.rb +22 -0
  51. data/lib/peddler/apis/notifications_v1.rb +45 -17
  52. data/lib/peddler/apis/orders_2026_01_01/associated_order_item.rb +27 -0
  53. data/lib/peddler/apis/orders_2026_01_01/fulfillment_order.rb +19 -0
  54. data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +3 -0
  55. data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +1 -1
  56. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +5 -5
  57. data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +1 -1
  58. data/lib/peddler/apis/orders_2026_01_01/item_tax.rb +20 -0
  59. data/lib/peddler/apis/orders_2026_01_01/item_tax_calculation_breakdown.rb +21 -0
  60. data/lib/peddler/apis/orders_2026_01_01/item_tax_collection.rb +24 -0
  61. data/lib/peddler/apis/orders_2026_01_01/order.rb +13 -1
  62. data/lib/peddler/apis/orders_2026_01_01/order_item.rb +7 -0
  63. data/lib/peddler/apis/orders_2026_01_01/order_payment.rb +17 -0
  64. data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +5 -0
  65. data/lib/peddler/apis/orders_2026_01_01/order_proceeds_breakdown.rb +30 -0
  66. data/lib/peddler/apis/orders_2026_01_01/order_tax.rb +20 -0
  67. data/lib/peddler/apis/orders_2026_01_01/order_tax_invoicing.rb +34 -0
  68. data/lib/peddler/apis/orders_2026_01_01/order_tax_registration.rb +39 -0
  69. data/lib/peddler/apis/orders_2026_01_01/package_status.rb +4 -3
  70. data/lib/peddler/apis/orders_2026_01_01/pagination.rb +5 -5
  71. data/lib/peddler/apis/orders_2026_01_01/payment_execution.rb +39 -0
  72. data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +10 -11
  73. data/lib/peddler/apis/orders_2026_01_01/serial_number_requirement.rb +19 -0
  74. data/lib/peddler/apis/orders_2026_01_01/tax_registration_attribute.rb +22 -0
  75. data/lib/peddler/apis/orders_2026_01_01.rb +15 -13
  76. data/lib/peddler/apis/orders_v0/address.rb +3 -3
  77. data/lib/peddler/apis/orders_v0/address_extended_fields.rb +9 -2
  78. data/lib/peddler/apis/orders_v0/approved_alternative_details.rb +20 -0
  79. data/lib/peddler/apis/orders_v0/approved_attribute.rb +23 -0
  80. data/lib/peddler/apis/orders_v0/buyer_info.rb +3 -0
  81. data/lib/peddler/apis/orders_v0/geo_coordinates.rb +20 -0
  82. data/lib/peddler/apis/orders_v0/interim_status_detail.rb +24 -0
  83. data/lib/peddler/apis/orders_v0/order_buyer_info.rb +3 -0
  84. data/lib/peddler/apis/orders_v0/regulated_order_verification_status.rb +5 -0
  85. data/lib/peddler/apis/orders_v0/valid_interim_status_code.rb +21 -0
  86. data/lib/peddler/apis/orders_v0/valid_verification_detail.rb +2 -1
  87. data/lib/peddler/apis/orders_v0/verification_details.rb +8 -0
  88. data/lib/peddler/apis/orders_v0.rb +6 -2
  89. data/lib/peddler/apis/product_pricing_2022_05_01/competitive_summary_response_body.rb +3 -0
  90. data/lib/peddler/apis/product_pricing_2022_05_01/item.rb +17 -0
  91. data/lib/peddler/apis/product_pricing_2022_05_01/points.rb +1 -1
  92. data/lib/peddler/apis/product_pricing_2022_05_01/similar_items.rb +17 -0
  93. data/lib/peddler/apis/product_type_definitions_2020_09_01/error_list.rb +1 -1
  94. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type.rb +1 -1
  95. data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type_list.rb +1 -1
  96. data/lib/peddler/apis/product_type_definitions_2020_09_01/schema_link.rb +2 -1
  97. data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +12 -8
  98. data/lib/peddler/apis/replenishment_2022_11_07/deliveries_condition.rb +22 -0
  99. data/lib/peddler/apis/replenishment_2022_11_07/forecast_deliveries.rb +26 -0
  100. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request.rb +8 -3
  101. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request_filters.rb +48 -0
  102. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +14 -10
  103. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request.rb +2 -2
  104. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request_filters.rb +17 -4
  105. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +37 -23
  106. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request.rb +2 -2
  107. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request_filters.rb +7 -3
  108. data/lib/peddler/apis/replenishment_2022_11_07/list_offers_response_offer.rb +27 -1
  109. data/lib/peddler/apis/replenishment_2022_11_07/offer_program_configuration.rb +1 -1
  110. data/lib/peddler/apis/replenishment_2022_11_07/time_interval.rb +10 -6
  111. data/lib/peddler/apis/reports_2021_06_30.rb +8 -2
  112. data/lib/peddler/apis/seller_wallet_2024_03_01/balance.rb +6 -6
  113. data/lib/peddler/apis/seller_wallet_2024_03_01/balance_listing.rb +2 -2
  114. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb +5 -5
  115. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account_listing.rb +2 -2
  116. data/lib/peddler/apis/seller_wallet_2024_03_01/delete_transfer_schedule.rb +3 -2
  117. data/lib/peddler/apis/seller_wallet_2024_03_01/fee.rb +4 -7
  118. data/lib/peddler/apis/seller_wallet_2024_03_01/fx_rate_details.rb +6 -6
  119. data/lib/peddler/apis/seller_wallet_2024_03_01/payee_contact_information.rb +5 -5
  120. data/lib/peddler/apis/seller_wallet_2024_03_01/payment_preference.rb +2 -3
  121. data/lib/peddler/apis/seller_wallet_2024_03_01/schedule_expression.rb +4 -5
  122. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb +13 -14
  123. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_account.rb +8 -8
  124. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_initiation_request.rb +8 -7
  125. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_instrument_details.rb +6 -7
  126. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_listing.rb +6 -5
  127. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_rate_preview.rb +4 -3
  128. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule.rb +11 -12
  129. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_failures.rb +3 -3
  130. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_information.rb +5 -6
  131. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_listing.rb +6 -5
  132. data/lib/peddler/apis/seller_wallet_2024_03_01/transfer_schedule_request.rb +11 -13
  133. data/lib/peddler/apis/seller_wallet_2024_03_01.rb +30 -28
  134. data/lib/peddler/apis/services_v1/associated_item.rb +3 -0
  135. data/lib/peddler/apis/services_v1/linked_asset.rb +24 -0
  136. data/lib/peddler/apis/services_v1/money_amount.rb +20 -0
  137. data/lib/peddler/apis/services_v1/payment.rb +20 -0
  138. data/lib/peddler/apis/services_v1/service_job.rb +9 -0
  139. data/lib/peddler/apis/services_v1.rb +11 -5
  140. data/lib/peddler/apis/shipment_invoicing_v0/payment_information.rb +6 -6
  141. data/lib/peddler/apis/shipment_invoicing_v0/payment_information_list.rb +1 -1
  142. data/lib/peddler/apis/uploads_2020_11_01.rb +1 -1
  143. data/lib/peddler/data_kiosk/economics20240315.json +6 -6
  144. data/lib/peddler/data_kiosk/sales_and_traffic20231115.json +6 -6
  145. data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +6 -6
  146. data/lib/peddler/data_kiosk/vendor_analytics20240930.json +6 -6
  147. data/lib/peddler/errors.rb +1 -0
  148. data/lib/peddler/notifications/order_change/notification.rb +4 -3
  149. data/lib/peddler/notifications/order_change/order_change_notification.rb +2 -2
  150. data/lib/peddler/notifications/order_change/order_change_trigger.rb +4 -4
  151. data/lib/peddler/notifications/order_change/order_item.rb +7 -7
  152. data/lib/peddler/notifications/order_change/summary.rb +17 -17
  153. data/lib/peddler/version.rb +1 -1
  154. data/sig/peddler/api.rbs +3 -1
  155. data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +167 -0
  156. data/sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs +85 -28
  157. data/sig/peddler/apis/feeds_2021_06_30.rbs +1 -1
  158. data/sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs +11 -8
  159. data/sig/peddler/apis/listings_restrictions_2021_08_01.rbs +1 -1
  160. data/sig/peddler/apis/notifications_v1.rbs +61 -7
  161. data/sig/peddler/apis/orders_2026_01_01.rbs +272 -39
  162. data/sig/peddler/apis/orders_v0.rbs +115 -36
  163. data/sig/peddler/apis/product_pricing_2022_05_01.rbs +40 -7
  164. data/sig/peddler/apis/product_type_definitions_2020_09_01.rbs +1 -1
  165. data/sig/peddler/apis/replenishment_2022_11_07.rbs +117 -42
  166. data/sig/peddler/apis/reports_2021_06_30.rbs +1 -1
  167. data/sig/peddler/apis/services_v1.rbs +71 -15
  168. data/sig/peddler/errors.rbs +3 -0
  169. metadata +51 -5
@@ -1,6 +1,23 @@
1
1
  module Peddler
2
2
  module APIs
3
3
  class Replenishment20221107 < API
4
+ class DeliveriesCondition < Data
5
+ def self.new: (?condition: String?, ?next30_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
6
+ | (String?, Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
7
+ def self.[]: (?condition: String?, ?next30_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
8
+ | (String?, Integer?) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
9
+
10
+ def self.members: () -> [ :condition, :next30_days_deliveries ]
11
+
12
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::DeliveriesCondition
13
+
14
+ attr_reader condition: String?
15
+ attr_reader next30_days_deliveries: Integer?
16
+
17
+ def members: () -> [ :condition, :next30_days_deliveries ]
18
+ def to_h: () -> { condition: String?, next30_days_deliveries: Integer? }
19
+ end
20
+
4
21
  class DiscountFunding < Data
5
22
  def self.new: (?percentage: Array[Float]?) -> Peddler::APIs::Replenishment20221107::DiscountFunding
6
23
  | (Array[Float]?) -> Peddler::APIs::Replenishment20221107::DiscountFunding
@@ -51,25 +68,65 @@ module Peddler
51
68
  def to_h: () -> { errors: Array[Peddler::APIs::Replenishment20221107::Error] }
52
69
  end
53
70
 
71
+ class ForecastDeliveries < Data
72
+ def self.new: (?next15_days_deliveries: Integer?, ?next30_days_deliveries: Integer?, ?next60_days_deliveries: Integer?, ?next90_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::ForecastDeliveries
73
+ | (Integer?, Integer?, Integer?, Integer?) -> Peddler::APIs::Replenishment20221107::ForecastDeliveries
74
+ def self.[]: (?next15_days_deliveries: Integer?, ?next30_days_deliveries: Integer?, ?next60_days_deliveries: Integer?, ?next90_days_deliveries: Integer?) -> Peddler::APIs::Replenishment20221107::ForecastDeliveries
75
+ | (Integer?, Integer?, Integer?, Integer?) -> Peddler::APIs::Replenishment20221107::ForecastDeliveries
76
+
77
+ def self.members: () -> [ :next15_days_deliveries, :next30_days_deliveries, :next60_days_deliveries, :next90_days_deliveries ]
78
+
79
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ForecastDeliveries
80
+
81
+ attr_reader next15_days_deliveries: Integer?
82
+ attr_reader next30_days_deliveries: Integer?
83
+ attr_reader next60_days_deliveries: Integer?
84
+ attr_reader next90_days_deliveries: Integer?
85
+
86
+ def members: () -> [ :next15_days_deliveries, :next30_days_deliveries, :next60_days_deliveries, :next90_days_deliveries ]
87
+ def to_h: () -> { next15_days_deliveries: Integer?, next30_days_deliveries: Integer?, next60_days_deliveries: Integer?, next90_days_deliveries: Integer? }
88
+ end
89
+
54
90
  class GetSellingPartnerMetricsRequest < Data
55
- def self.new: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?metrics: Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
56
- | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
57
- def self.[]: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?metrics: Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
58
- | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
91
+ def self.new: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?filters: Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?, ?metrics: Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
92
+ | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?, Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
93
+ def self.[]: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?filters: Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?, ?metrics: Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
94
+ | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?, Array[untyped]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
59
95
 
60
- def self.members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :metrics ]
96
+ def self.members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :filters, :metrics ]
61
97
 
62
98
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequest
63
99
 
64
100
  attr_reader aggregation_frequency: String?
101
+ attr_reader filters: Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?
65
102
  attr_reader marketplace_id: String
66
103
  attr_reader metrics: Array[untyped]?
67
104
  attr_reader program_types: Array[untyped]
68
105
  attr_reader time_interval: Peddler::APIs::Replenishment20221107::TimeInterval
69
106
  attr_reader time_period_type: String
70
107
 
71
- def members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :metrics ]
72
- def to_h: () -> { marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, aggregation_frequency: String?, metrics: Array[untyped]? }
108
+ def members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :filters, :metrics ]
109
+ def to_h: () -> { marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, aggregation_frequency: String?, filters: Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters?, metrics: Array[untyped]? }
110
+ end
111
+
112
+ class GetSellingPartnerMetricsRequestFilters < Data
113
+ def self.new: (?asins: Array[String]?, ?brand_names: Array[String]?, ?fulfillment_channel_types: Array[untyped]?, ?product_groups: Array[String]?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters
114
+ | (Array[String]?, Array[String]?, Array[untyped]?, Array[String]?, Array[String]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters
115
+ def self.[]: (?asins: Array[String]?, ?brand_names: Array[String]?, ?fulfillment_channel_types: Array[untyped]?, ?product_groups: Array[String]?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters
116
+ | (Array[String]?, Array[String]?, Array[untyped]?, Array[String]?, Array[String]?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters
117
+
118
+ def self.members: () -> [ :asins, :brand_names, :fulfillment_channel_types, :product_groups, :skus ]
119
+
120
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsRequestFilters
121
+
122
+ attr_reader asins: Array[String]?
123
+ attr_reader brand_names: Array[String]?
124
+ attr_reader fulfillment_channel_types: Array[untyped]?
125
+ attr_reader product_groups: Array[String]?
126
+ attr_reader skus: Array[String]?
127
+
128
+ def members: () -> [ :asins, :brand_names, :fulfillment_channel_types, :product_groups, :skus ]
129
+ def to_h: () -> { asins: Array[String]?, brand_names: Array[String]?, fulfillment_channel_types: Array[untyped]?, product_groups: Array[String]?, skus: Array[String]? }
73
130
  end
74
131
 
75
132
  class GetSellingPartnerMetricsResponse < Data
@@ -89,12 +146,12 @@ module Peddler
89
146
  end
90
147
 
91
148
  class GetSellingPartnerMetricsResponseMetric < Data
92
- def self.new: (?active_subscriptions: Float?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?established_subscriber_life_time_value_from_otp: Float?, ?established_subscriber_life_time_value_from_sns: Float?, ?growing_subscriber_life_time_value_from_otp: Float?, ?growing_subscriber_life_time_value_from_sns: Float?, ?lost_revenue_due_to_oos: Float?, ?lost_subscriber_life_time_value_from_otp: Float?, ?lost_subscriber_life_time_value_from_sns: Float?, ?non_subscriber_average_reorders: Float?, ?non_subscriber_average_revenue: Float?, ?non_subscriber_life_time_value_from_otp: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_from_active_subscriptions_with_single_delivery: Float?, ?revenue_from_cancelled_subscriptions_after_single_delivery: Float?, ?revenue_from_subscriptions_with_multiple_deliveries: Float?, ?revenue_penetration_for0_percent_seller_funding: Float?, ?revenue_penetration_for10_percent_seller_funding: Float?, ?revenue_penetration_for5_percent_seller_funding: Float?, ?revenue_penetration_for5_plus_percent_seller_funding: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?signup_conversion_for0_percent_seller_funding: Float?, ?signup_conversion_for10_percent_seller_funding: Float?, ?signup_conversion_for5_percent_seller_funding: Float?, ?signup_conversion_for5_plus_percent_seller_funding: Float?, ?subscriber_average_reorders: Float?, ?subscriber_average_revenue: Float?, ?subscriber_retention_for30_days: Float?, ?subscriber_retention_for90_days: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
93
- | (Float?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
94
- def self.[]: (?active_subscriptions: Float?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?established_subscriber_life_time_value_from_otp: Float?, ?established_subscriber_life_time_value_from_sns: Float?, ?growing_subscriber_life_time_value_from_otp: Float?, ?growing_subscriber_life_time_value_from_sns: Float?, ?lost_revenue_due_to_oos: Float?, ?lost_subscriber_life_time_value_from_otp: Float?, ?lost_subscriber_life_time_value_from_sns: Float?, ?non_subscriber_average_reorders: Float?, ?non_subscriber_average_revenue: Float?, ?non_subscriber_life_time_value_from_otp: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_from_active_subscriptions_with_single_delivery: Float?, ?revenue_from_cancelled_subscriptions_after_single_delivery: Float?, ?revenue_from_subscriptions_with_multiple_deliveries: Float?, ?revenue_penetration_for0_percent_seller_funding: Float?, ?revenue_penetration_for10_percent_seller_funding: Float?, ?revenue_penetration_for5_percent_seller_funding: Float?, ?revenue_penetration_for5_plus_percent_seller_funding: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?signup_conversion_for0_percent_seller_funding: Float?, ?signup_conversion_for10_percent_seller_funding: Float?, ?signup_conversion_for5_percent_seller_funding: Float?, ?signup_conversion_for5_plus_percent_seller_funding: Float?, ?subscriber_average_reorders: Float?, ?subscriber_average_revenue: Float?, ?subscriber_retention_for30_days: Float?, ?subscriber_retention_for90_days: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
95
- | (Float?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
149
+ def self.new: (?active_subscriptions: Float?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?established_subscriber_life_time_value_from_otp: Float?, ?established_subscriber_life_time_value_from_sns: Float?, ?growing_subscriber_life_time_value_from_otp: Float?, ?growing_subscriber_life_time_value_from_sns: Float?, ?lost_revenue_due_to_oos: Float?, ?lost_subscriber_life_time_value_from_otp: Float?, ?lost_subscriber_life_time_value_from_sns: Float?, ?non_subscriber_average_reorders: Float?, ?non_subscriber_average_revenue: Float?, ?non_subscriber_life_time_value_from_otp: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_from_active_subscriptions_with_single_delivery: Float?, ?revenue_from_cancelled_subscriptions_after_single_delivery: Float?, ?revenue_from_subscriptions_with_multiple_deliveries: Float?, ?revenue_penetration: Float?, ?revenue_penetration_for0_percent_seller_funding: Float?, ?revenue_penetration_for10_percent_seller_funding: Float?, ?revenue_penetration_for5_percent_seller_funding: Float?, ?revenue_penetration_for5_plus_percent_seller_funding: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?signup_conversion_for0_percent_seller_funding: Float?, ?signup_conversion_for10_percent_seller_funding: Float?, ?signup_conversion_for5_percent_seller_funding: Float?, ?signup_conversion_for5_plus_percent_seller_funding: Float?, ?subscriber_average_reorders: Float?, ?subscriber_average_revenue: Float?, ?subscriber_retention_for30_days: Float?, ?subscriber_retention_for90_days: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
150
+ | (Float?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
151
+ def self.[]: (?active_subscriptions: Float?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?established_subscriber_life_time_value_from_otp: Float?, ?established_subscriber_life_time_value_from_sns: Float?, ?growing_subscriber_life_time_value_from_otp: Float?, ?growing_subscriber_life_time_value_from_sns: Float?, ?lost_revenue_due_to_oos: Float?, ?lost_subscriber_life_time_value_from_otp: Float?, ?lost_subscriber_life_time_value_from_sns: Float?, ?non_subscriber_average_reorders: Float?, ?non_subscriber_average_revenue: Float?, ?non_subscriber_life_time_value_from_otp: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_from_active_subscriptions_with_single_delivery: Float?, ?revenue_from_cancelled_subscriptions_after_single_delivery: Float?, ?revenue_from_subscriptions_with_multiple_deliveries: Float?, ?revenue_penetration: Float?, ?revenue_penetration_for0_percent_seller_funding: Float?, ?revenue_penetration_for10_percent_seller_funding: Float?, ?revenue_penetration_for5_percent_seller_funding: Float?, ?revenue_penetration_for5_plus_percent_seller_funding: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?signup_conversion_for0_percent_seller_funding: Float?, ?signup_conversion_for10_percent_seller_funding: Float?, ?signup_conversion_for5_percent_seller_funding: Float?, ?signup_conversion_for5_plus_percent_seller_funding: Float?, ?subscriber_average_reorders: Float?, ?subscriber_average_revenue: Float?, ?subscriber_retention_for30_days: Float?, ?subscriber_retention_for90_days: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
152
+ | (Float?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
96
153
 
97
- def self.members: () -> [ :active_subscriptions, :coupons_revenue_penetration, :currency_code, :established_subscriber_life_time_value_from_otp, :established_subscriber_life_time_value_from_sns, :growing_subscriber_life_time_value_from_otp, :growing_subscriber_life_time_value_from_sns, :lost_revenue_due_to_oos, :lost_subscriber_life_time_value_from_otp, :lost_subscriber_life_time_value_from_sns, :non_subscriber_average_reorders, :non_subscriber_average_revenue, :non_subscriber_life_time_value_from_otp, :not_delivered_due_to_oos, :revenue_from_active_subscriptions_with_single_delivery, :revenue_from_cancelled_subscriptions_after_single_delivery, :revenue_from_subscriptions_with_multiple_deliveries, :revenue_penetration_for0_percent_seller_funding, :revenue_penetration_for10_percent_seller_funding, :revenue_penetration_for5_percent_seller_funding, :revenue_penetration_for5_plus_percent_seller_funding, :share_of_coupon_subscriptions, :shipped_subscription_units, :signup_conversion_for0_percent_seller_funding, :signup_conversion_for10_percent_seller_funding, :signup_conversion_for5_percent_seller_funding, :signup_conversion_for5_plus_percent_seller_funding, :subscriber_average_reorders, :subscriber_average_revenue, :subscriber_retention_for30_days, :subscriber_retention_for90_days, :time_interval, :total_subscriptions_revenue ]
154
+ def self.members: () -> [ :active_subscriptions, :coupons_revenue_penetration, :currency_code, :established_subscriber_life_time_value_from_otp, :established_subscriber_life_time_value_from_sns, :growing_subscriber_life_time_value_from_otp, :growing_subscriber_life_time_value_from_sns, :lost_revenue_due_to_oos, :lost_subscriber_life_time_value_from_otp, :lost_subscriber_life_time_value_from_sns, :non_subscriber_average_reorders, :non_subscriber_average_revenue, :non_subscriber_life_time_value_from_otp, :not_delivered_due_to_oos, :revenue_from_active_subscriptions_with_single_delivery, :revenue_from_cancelled_subscriptions_after_single_delivery, :revenue_from_subscriptions_with_multiple_deliveries, :revenue_penetration, :revenue_penetration_for0_percent_seller_funding, :revenue_penetration_for10_percent_seller_funding, :revenue_penetration_for5_percent_seller_funding, :revenue_penetration_for5_plus_percent_seller_funding, :share_of_coupon_subscriptions, :shipped_subscription_units, :signup_conversion_for0_percent_seller_funding, :signup_conversion_for10_percent_seller_funding, :signup_conversion_for5_percent_seller_funding, :signup_conversion_for5_plus_percent_seller_funding, :subscriber_average_reorders, :subscriber_average_revenue, :subscriber_retention_for30_days, :subscriber_retention_for90_days, :time_interval, :total_subscriptions_revenue ]
98
155
 
99
156
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::GetSellingPartnerMetricsResponseMetric
100
157
 
@@ -115,6 +172,7 @@ module Peddler
115
172
  attr_reader revenue_from_active_subscriptions_with_single_delivery: Float?
116
173
  attr_reader revenue_from_cancelled_subscriptions_after_single_delivery: Float?
117
174
  attr_reader revenue_from_subscriptions_with_multiple_deliveries: Float?
175
+ attr_reader revenue_penetration: Float?
118
176
  attr_reader revenue_penetration_for0_percent_seller_funding: Float?
119
177
  attr_reader revenue_penetration_for10_percent_seller_funding: Float?
120
178
  attr_reader revenue_penetration_for5_percent_seller_funding: Float?
@@ -132,8 +190,8 @@ module Peddler
132
190
  attr_reader time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?
133
191
  attr_reader total_subscriptions_revenue: Float?
134
192
 
135
- def members: () -> [ :active_subscriptions, :coupons_revenue_penetration, :currency_code, :established_subscriber_life_time_value_from_otp, :established_subscriber_life_time_value_from_sns, :growing_subscriber_life_time_value_from_otp, :growing_subscriber_life_time_value_from_sns, :lost_revenue_due_to_oos, :lost_subscriber_life_time_value_from_otp, :lost_subscriber_life_time_value_from_sns, :non_subscriber_average_reorders, :non_subscriber_average_revenue, :non_subscriber_life_time_value_from_otp, :not_delivered_due_to_oos, :revenue_from_active_subscriptions_with_single_delivery, :revenue_from_cancelled_subscriptions_after_single_delivery, :revenue_from_subscriptions_with_multiple_deliveries, :revenue_penetration_for0_percent_seller_funding, :revenue_penetration_for10_percent_seller_funding, :revenue_penetration_for5_percent_seller_funding, :revenue_penetration_for5_plus_percent_seller_funding, :share_of_coupon_subscriptions, :shipped_subscription_units, :signup_conversion_for0_percent_seller_funding, :signup_conversion_for10_percent_seller_funding, :signup_conversion_for5_percent_seller_funding, :signup_conversion_for5_plus_percent_seller_funding, :subscriber_average_reorders, :subscriber_average_revenue, :subscriber_retention_for30_days, :subscriber_retention_for90_days, :time_interval, :total_subscriptions_revenue ]
136
- def to_h: () -> { active_subscriptions: Float?, coupons_revenue_penetration: Float?, currency_code: String?, established_subscriber_life_time_value_from_otp: Float?, established_subscriber_life_time_value_from_sns: Float?, growing_subscriber_life_time_value_from_otp: Float?, growing_subscriber_life_time_value_from_sns: Float?, lost_revenue_due_to_oos: Float?, lost_subscriber_life_time_value_from_otp: Float?, lost_subscriber_life_time_value_from_sns: Float?, non_subscriber_average_reorders: Float?, non_subscriber_average_revenue: Float?, non_subscriber_life_time_value_from_otp: Float?, not_delivered_due_to_oos: Float?, revenue_from_active_subscriptions_with_single_delivery: Float?, revenue_from_cancelled_subscriptions_after_single_delivery: Float?, revenue_from_subscriptions_with_multiple_deliveries: Float?, revenue_penetration_for0_percent_seller_funding: Float?, revenue_penetration_for10_percent_seller_funding: Float?, revenue_penetration_for5_percent_seller_funding: Float?, revenue_penetration_for5_plus_percent_seller_funding: Float?, share_of_coupon_subscriptions: Float?, shipped_subscription_units: Float?, signup_conversion_for0_percent_seller_funding: Float?, signup_conversion_for10_percent_seller_funding: Float?, signup_conversion_for5_percent_seller_funding: Float?, signup_conversion_for5_plus_percent_seller_funding: Float?, subscriber_average_reorders: Float?, subscriber_average_revenue: Float?, subscriber_retention_for30_days: Float?, subscriber_retention_for90_days: Float?, time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, total_subscriptions_revenue: Float? }
193
+ def members: () -> [ :active_subscriptions, :coupons_revenue_penetration, :currency_code, :established_subscriber_life_time_value_from_otp, :established_subscriber_life_time_value_from_sns, :growing_subscriber_life_time_value_from_otp, :growing_subscriber_life_time_value_from_sns, :lost_revenue_due_to_oos, :lost_subscriber_life_time_value_from_otp, :lost_subscriber_life_time_value_from_sns, :non_subscriber_average_reorders, :non_subscriber_average_revenue, :non_subscriber_life_time_value_from_otp, :not_delivered_due_to_oos, :revenue_from_active_subscriptions_with_single_delivery, :revenue_from_cancelled_subscriptions_after_single_delivery, :revenue_from_subscriptions_with_multiple_deliveries, :revenue_penetration, :revenue_penetration_for0_percent_seller_funding, :revenue_penetration_for10_percent_seller_funding, :revenue_penetration_for5_percent_seller_funding, :revenue_penetration_for5_plus_percent_seller_funding, :share_of_coupon_subscriptions, :shipped_subscription_units, :signup_conversion_for0_percent_seller_funding, :signup_conversion_for10_percent_seller_funding, :signup_conversion_for5_percent_seller_funding, :signup_conversion_for5_plus_percent_seller_funding, :subscriber_average_reorders, :subscriber_average_revenue, :subscriber_retention_for30_days, :subscriber_retention_for90_days, :time_interval, :total_subscriptions_revenue ]
194
+ def to_h: () -> { active_subscriptions: Float?, coupons_revenue_penetration: Float?, currency_code: String?, established_subscriber_life_time_value_from_otp: Float?, established_subscriber_life_time_value_from_sns: Float?, growing_subscriber_life_time_value_from_otp: Float?, growing_subscriber_life_time_value_from_sns: Float?, lost_revenue_due_to_oos: Float?, lost_subscriber_life_time_value_from_otp: Float?, lost_subscriber_life_time_value_from_sns: Float?, non_subscriber_average_reorders: Float?, non_subscriber_average_revenue: Float?, non_subscriber_life_time_value_from_otp: Float?, not_delivered_due_to_oos: Float?, revenue_from_active_subscriptions_with_single_delivery: Float?, revenue_from_cancelled_subscriptions_after_single_delivery: Float?, revenue_from_subscriptions_with_multiple_deliveries: Float?, revenue_penetration: Float?, revenue_penetration_for0_percent_seller_funding: Float?, revenue_penetration_for10_percent_seller_funding: Float?, revenue_penetration_for5_percent_seller_funding: Float?, revenue_penetration_for5_plus_percent_seller_funding: Float?, share_of_coupon_subscriptions: Float?, shipped_subscription_units: Float?, signup_conversion_for0_percent_seller_funding: Float?, signup_conversion_for10_percent_seller_funding: Float?, signup_conversion_for5_percent_seller_funding: Float?, signup_conversion_for5_plus_percent_seller_funding: Float?, subscriber_average_reorders: Float?, subscriber_average_revenue: Float?, subscriber_retention_for30_days: Float?, subscriber_retention_for90_days: Float?, time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, total_subscriptions_revenue: Float? }
137
195
  end
138
196
 
139
197
  class ListOfferMetricsRequest < Data
@@ -155,24 +213,28 @@ module Peddler
155
213
  end
156
214
 
157
215
  class ListOfferMetricsRequestFilters < Data
158
- def self.new: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?asins: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
159
- | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
160
- def self.[]: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?asins: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
161
- | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
216
+ def self.new: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?asins: Array[String]?, ?brand_names: Array[String]?, ?fulfillment_channel_types: Array[untyped]?, ?product_groups: Array[String]?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
217
+ | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[String]?, Array[String]?, Array[untyped]?, Array[String]?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
218
+ def self.[]: (marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, ?aggregation_frequency: String?, ?asins: Array[String]?, ?brand_names: Array[String]?, ?fulfillment_channel_types: Array[untyped]?, ?product_groups: Array[String]?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
219
+ | (String, Array[untyped], Peddler::APIs::Replenishment20221107::TimeInterval, String, String?, Array[String]?, Array[String]?, Array[untyped]?, Array[String]?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
162
220
 
163
- def self.members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :asins ]
221
+ def self.members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :asins, :brand_names, :fulfillment_channel_types, :product_groups, :skus ]
164
222
 
165
223
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsRequestFilters
166
224
 
167
225
  attr_reader aggregation_frequency: String?
168
226
  attr_reader asins: Array[String]?
227
+ attr_reader brand_names: Array[String]?
228
+ attr_reader fulfillment_channel_types: Array[untyped]?
169
229
  attr_reader marketplace_id: String
230
+ attr_reader product_groups: Array[String]?
170
231
  attr_reader program_types: Array[untyped]
232
+ attr_reader skus: Array[String]?
171
233
  attr_reader time_interval: Peddler::APIs::Replenishment20221107::TimeInterval
172
234
  attr_reader time_period_type: String
173
235
 
174
- def members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :asins ]
175
- def to_h: () -> { marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, aggregation_frequency: String?, asins: Array[String]? }
236
+ def members: () -> [ :marketplace_id, :program_types, :time_interval, :time_period_type, :aggregation_frequency, :asins, :brand_names, :fulfillment_channel_types, :product_groups, :skus ]
237
+ def to_h: () -> { marketplace_id: String, program_types: Array[untyped], time_interval: Peddler::APIs::Replenishment20221107::TimeInterval, time_period_type: String, aggregation_frequency: String?, asins: Array[String]?, brand_names: Array[String]?, fulfillment_channel_types: Array[untyped]?, product_groups: Array[String]?, skus: Array[String]? }
176
238
  end
177
239
 
178
240
  class ListOfferMetricsRequestPagination < Data
@@ -227,19 +289,21 @@ module Peddler
227
289
  end
228
290
 
229
291
  class ListOfferMetricsResponseOffer < Data
230
- def self.new: (?active_subscriptions: Float?, ?asin: String?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?lost_revenue_due_to_oos: Float?, ?next30_day_shipped_subscription_units: Float?, ?next30_day_total_subscriptions_revenue: Float?, ?next60_day_shipped_subscription_units: Float?, ?next60_day_total_subscriptions_revenue: Float?, ?next90_day_shipped_subscription_units: Float?, ?next90_day_total_subscriptions_revenue: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_penetration: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
231
- | (Float?, String?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
232
- def self.[]: (?active_subscriptions: Float?, ?asin: String?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?lost_revenue_due_to_oos: Float?, ?next30_day_shipped_subscription_units: Float?, ?next30_day_total_subscriptions_revenue: Float?, ?next60_day_shipped_subscription_units: Float?, ?next60_day_total_subscriptions_revenue: Float?, ?next90_day_shipped_subscription_units: Float?, ?next90_day_total_subscriptions_revenue: Float?, ?not_delivered_due_to_oos: Float?, ?revenue_penetration: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
233
- | (Float?, String?, Float?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
292
+ def self.new: (?active_subscriptions: Float?, ?asin: String?, ?brand_name: String?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?fulfillment_channel_type: String?, ?lost_revenue_due_to_oos: Float?, ?next30_day_shipped_subscription_units: Float?, ?next30_day_total_subscriptions_revenue: Float?, ?next60_day_shipped_subscription_units: Float?, ?next60_day_total_subscriptions_revenue: Float?, ?next90_day_shipped_subscription_units: Float?, ?next90_day_total_subscriptions_revenue: Float?, ?not_delivered_due_to_oos: Float?, ?product_group: String?, ?revenue_penetration: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?sku: String?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
293
+ | (Float?, String?, String?, Float?, String?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, String?, Float?, Float?, Float?, String?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
294
+ def self.[]: (?active_subscriptions: Float?, ?asin: String?, ?brand_name: String?, ?coupons_revenue_penetration: Float?, ?currency_code: String?, ?fulfillment_channel_type: String?, ?lost_revenue_due_to_oos: Float?, ?next30_day_shipped_subscription_units: Float?, ?next30_day_total_subscriptions_revenue: Float?, ?next60_day_shipped_subscription_units: Float?, ?next60_day_total_subscriptions_revenue: Float?, ?next90_day_shipped_subscription_units: Float?, ?next90_day_total_subscriptions_revenue: Float?, ?not_delivered_due_to_oos: Float?, ?product_group: String?, ?revenue_penetration: Float?, ?share_of_coupon_subscriptions: Float?, ?shipped_subscription_units: Float?, ?sku: String?, ?time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, ?total_subscriptions_revenue: Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
295
+ | (Float?, String?, String?, Float?, String?, String?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, Float?, String?, Float?, Float?, Float?, String?, Peddler::APIs::Replenishment20221107::TimeInterval?, Float?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
234
296
 
235
- def self.members: () -> [ :active_subscriptions, :asin, :coupons_revenue_penetration, :currency_code, :lost_revenue_due_to_oos, :next30_day_shipped_subscription_units, :next30_day_total_subscriptions_revenue, :next60_day_shipped_subscription_units, :next60_day_total_subscriptions_revenue, :next90_day_shipped_subscription_units, :next90_day_total_subscriptions_revenue, :not_delivered_due_to_oos, :revenue_penetration, :share_of_coupon_subscriptions, :shipped_subscription_units, :time_interval, :total_subscriptions_revenue ]
297
+ def self.members: () -> [ :active_subscriptions, :asin, :brand_name, :coupons_revenue_penetration, :currency_code, :fulfillment_channel_type, :lost_revenue_due_to_oos, :next30_day_shipped_subscription_units, :next30_day_total_subscriptions_revenue, :next60_day_shipped_subscription_units, :next60_day_total_subscriptions_revenue, :next90_day_shipped_subscription_units, :next90_day_total_subscriptions_revenue, :not_delivered_due_to_oos, :product_group, :revenue_penetration, :share_of_coupon_subscriptions, :shipped_subscription_units, :sku, :time_interval, :total_subscriptions_revenue ]
236
298
 
237
299
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer
238
300
 
239
301
  attr_reader active_subscriptions: Float?
240
302
  attr_reader asin: String?
303
+ attr_reader brand_name: String?
241
304
  attr_reader coupons_revenue_penetration: Float?
242
305
  attr_reader currency_code: String?
306
+ attr_reader fulfillment_channel_type: String?
243
307
  attr_reader lost_revenue_due_to_oos: Float?
244
308
  attr_reader next30_day_shipped_subscription_units: Float?
245
309
  attr_reader next30_day_total_subscriptions_revenue: Float?
@@ -248,14 +312,16 @@ module Peddler
248
312
  attr_reader next90_day_shipped_subscription_units: Float?
249
313
  attr_reader next90_day_total_subscriptions_revenue: Float?
250
314
  attr_reader not_delivered_due_to_oos: Float?
315
+ attr_reader product_group: String?
251
316
  attr_reader revenue_penetration: Float?
252
317
  attr_reader share_of_coupon_subscriptions: Float?
253
318
  attr_reader shipped_subscription_units: Float?
319
+ attr_reader sku: String?
254
320
  attr_reader time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?
255
321
  attr_reader total_subscriptions_revenue: Float?
256
322
 
257
- def members: () -> [ :active_subscriptions, :asin, :coupons_revenue_penetration, :currency_code, :lost_revenue_due_to_oos, :next30_day_shipped_subscription_units, :next30_day_total_subscriptions_revenue, :next60_day_shipped_subscription_units, :next60_day_total_subscriptions_revenue, :next90_day_shipped_subscription_units, :next90_day_total_subscriptions_revenue, :not_delivered_due_to_oos, :revenue_penetration, :share_of_coupon_subscriptions, :shipped_subscription_units, :time_interval, :total_subscriptions_revenue ]
258
- def to_h: () -> { active_subscriptions: Float?, asin: String?, coupons_revenue_penetration: Float?, currency_code: String?, lost_revenue_due_to_oos: Float?, next30_day_shipped_subscription_units: Float?, next30_day_total_subscriptions_revenue: Float?, next60_day_shipped_subscription_units: Float?, next60_day_total_subscriptions_revenue: Float?, next90_day_shipped_subscription_units: Float?, next90_day_total_subscriptions_revenue: Float?, not_delivered_due_to_oos: Float?, revenue_penetration: Float?, share_of_coupon_subscriptions: Float?, shipped_subscription_units: Float?, time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, total_subscriptions_revenue: Float? }
323
+ def members: () -> [ :active_subscriptions, :asin, :brand_name, :coupons_revenue_penetration, :currency_code, :fulfillment_channel_type, :lost_revenue_due_to_oos, :next30_day_shipped_subscription_units, :next30_day_total_subscriptions_revenue, :next60_day_shipped_subscription_units, :next60_day_total_subscriptions_revenue, :next90_day_shipped_subscription_units, :next90_day_total_subscriptions_revenue, :not_delivered_due_to_oos, :product_group, :revenue_penetration, :share_of_coupon_subscriptions, :shipped_subscription_units, :sku, :time_interval, :total_subscriptions_revenue ]
324
+ def to_h: () -> { active_subscriptions: Float?, asin: String?, brand_name: String?, coupons_revenue_penetration: Float?, currency_code: String?, fulfillment_channel_type: String?, lost_revenue_due_to_oos: Float?, next30_day_shipped_subscription_units: Float?, next30_day_total_subscriptions_revenue: Float?, next60_day_shipped_subscription_units: Float?, next60_day_total_subscriptions_revenue: Float?, next90_day_shipped_subscription_units: Float?, next90_day_total_subscriptions_revenue: Float?, not_delivered_due_to_oos: Float?, product_group: String?, revenue_penetration: Float?, share_of_coupon_subscriptions: Float?, shipped_subscription_units: Float?, sku: String?, time_interval: Peddler::APIs::Replenishment20221107::TimeInterval?, total_subscriptions_revenue: Float? }
259
325
  end
260
326
 
261
327
  class ListOffersRequest < Data
@@ -277,16 +343,17 @@ module Peddler
277
343
  end
278
344
 
279
345
  class ListOffersRequestFilters < Data
280
- def self.new: (marketplace_id: String, program_types: Array[untyped], ?asins: Array[String]?, ?eligibilities: Array[untyped]?, ?preferences: Peddler::APIs::Replenishment20221107::Preference?, ?promotions: Peddler::APIs::Replenishment20221107::Promotion?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
281
- | (String, Array[untyped], Array[String]?, Array[untyped]?, Peddler::APIs::Replenishment20221107::Preference?, Peddler::APIs::Replenishment20221107::Promotion?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
282
- def self.[]: (marketplace_id: String, program_types: Array[untyped], ?asins: Array[String]?, ?eligibilities: Array[untyped]?, ?preferences: Peddler::APIs::Replenishment20221107::Preference?, ?promotions: Peddler::APIs::Replenishment20221107::Promotion?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
283
- | (String, Array[untyped], Array[String]?, Array[untyped]?, Peddler::APIs::Replenishment20221107::Preference?, Peddler::APIs::Replenishment20221107::Promotion?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
346
+ def self.new: (marketplace_id: String, program_types: Array[untyped], ?asins: Array[String]?, ?deliveries_conditions: Array[String]?, ?eligibilities: Array[untyped]?, ?preferences: Peddler::APIs::Replenishment20221107::Preference?, ?promotions: Peddler::APIs::Replenishment20221107::Promotion?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
347
+ | (String, Array[untyped], Array[String]?, Array[String]?, Array[untyped]?, Peddler::APIs::Replenishment20221107::Preference?, Peddler::APIs::Replenishment20221107::Promotion?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
348
+ def self.[]: (marketplace_id: String, program_types: Array[untyped], ?asins: Array[String]?, ?deliveries_conditions: Array[String]?, ?eligibilities: Array[untyped]?, ?preferences: Peddler::APIs::Replenishment20221107::Preference?, ?promotions: Peddler::APIs::Replenishment20221107::Promotion?, ?skus: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
349
+ | (String, Array[untyped], Array[String]?, Array[String]?, Array[untyped]?, Peddler::APIs::Replenishment20221107::Preference?, Peddler::APIs::Replenishment20221107::Promotion?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
284
350
 
285
- def self.members: () -> [ :marketplace_id, :program_types, :asins, :eligibilities, :preferences, :promotions, :skus ]
351
+ def self.members: () -> [ :marketplace_id, :program_types, :asins, :deliveries_conditions, :eligibilities, :preferences, :promotions, :skus ]
286
352
 
287
353
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ListOffersRequestFilters
288
354
 
289
355
  attr_reader asins: Array[String]?
356
+ attr_reader deliveries_conditions: Array[String]?
290
357
  attr_reader eligibilities: Array[untyped]?
291
358
  attr_reader marketplace_id: String
292
359
  attr_reader preferences: Peddler::APIs::Replenishment20221107::Preference?
@@ -294,8 +361,8 @@ module Peddler
294
361
  attr_reader promotions: Peddler::APIs::Replenishment20221107::Promotion?
295
362
  attr_reader skus: Array[String]?
296
363
 
297
- def members: () -> [ :marketplace_id, :program_types, :asins, :eligibilities, :preferences, :promotions, :skus ]
298
- def to_h: () -> { marketplace_id: String, program_types: Array[untyped], asins: Array[String]?, eligibilities: Array[untyped]?, preferences: Peddler::APIs::Replenishment20221107::Preference?, promotions: Peddler::APIs::Replenishment20221107::Promotion?, skus: Array[String]? }
364
+ def members: () -> [ :marketplace_id, :program_types, :asins, :deliveries_conditions, :eligibilities, :preferences, :promotions, :skus ]
365
+ def to_h: () -> { marketplace_id: String, program_types: Array[untyped], asins: Array[String]?, deliveries_conditions: Array[String]?, eligibilities: Array[untyped]?, preferences: Peddler::APIs::Replenishment20221107::Preference?, promotions: Peddler::APIs::Replenishment20221107::Promotion?, skus: Array[String]? }
299
366
  end
300
367
 
301
368
  class ListOffersRequestPagination < Data
@@ -350,25 +417,33 @@ module Peddler
350
417
  end
351
418
 
352
419
  class ListOffersResponseOffer < Data
353
- def self.new: (?asin: String?, ?eligibility: String?, ?marketplace_id: String?, ?offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, ?program_type: String?, ?sku: String?, ?vendor_codes: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
354
- | (String?, String?, String?, Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, String?, String?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
355
- def self.[]: (?asin: String?, ?eligibility: String?, ?marketplace_id: String?, ?offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, ?program_type: String?, ?sku: String?, ?vendor_codes: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
356
- | (String?, String?, String?, Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, String?, String?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
420
+ def self.new: (?asin: String?, ?deliveries_conditions: Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?, ?eligibility: String?, ?forecast_deliveries: Peddler::APIs::Replenishment20221107::ForecastDeliveries?, ?fulfillment_network_id_type: String?, ?inventory: Integer?, ?marketplace_id: String?, ?offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, ?price: Float?, ?price_currency_code: String?, ?program_type: String?, ?sku: String?, ?stock_risk: String?, ?subscriptions: Integer?, ?vendor_codes: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
421
+ | (String?, Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?, String?, Peddler::APIs::Replenishment20221107::ForecastDeliveries?, String?, Integer?, String?, Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, Float?, String?, String?, String?, String?, Integer?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
422
+ def self.[]: (?asin: String?, ?deliveries_conditions: Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?, ?eligibility: String?, ?forecast_deliveries: Peddler::APIs::Replenishment20221107::ForecastDeliveries?, ?fulfillment_network_id_type: String?, ?inventory: Integer?, ?marketplace_id: String?, ?offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, ?price: Float?, ?price_currency_code: String?, ?program_type: String?, ?sku: String?, ?stock_risk: String?, ?subscriptions: Integer?, ?vendor_codes: Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
423
+ | (String?, Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?, String?, Peddler::APIs::Replenishment20221107::ForecastDeliveries?, String?, Integer?, String?, Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, Float?, String?, String?, String?, String?, Integer?, Array[String]?) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
357
424
 
358
- def self.members: () -> [ :asin, :eligibility, :marketplace_id, :offer_program_configuration, :program_type, :sku, :vendor_codes ]
425
+ def self.members: () -> [ :asin, :deliveries_conditions, :eligibility, :forecast_deliveries, :fulfillment_network_id_type, :inventory, :marketplace_id, :offer_program_configuration, :price, :price_currency_code, :program_type, :sku, :stock_risk, :subscriptions, :vendor_codes ]
359
426
 
360
427
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ListOffersResponseOffer
361
428
 
362
429
  attr_reader asin: String?
430
+ attr_reader deliveries_conditions: Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?
363
431
  attr_reader eligibility: String?
432
+ attr_reader forecast_deliveries: Peddler::APIs::Replenishment20221107::ForecastDeliveries?
433
+ attr_reader fulfillment_network_id_type: String?
434
+ attr_reader inventory: Integer?
364
435
  attr_reader marketplace_id: String?
365
436
  attr_reader offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?
437
+ attr_reader price: Float?
438
+ attr_reader price_currency_code: String?
366
439
  attr_reader program_type: String?
367
440
  attr_reader sku: String?
441
+ attr_reader stock_risk: String?
442
+ attr_reader subscriptions: Integer?
368
443
  attr_reader vendor_codes: Array[String]?
369
444
 
370
- def members: () -> [ :asin, :eligibility, :marketplace_id, :offer_program_configuration, :program_type, :sku, :vendor_codes ]
371
- def to_h: () -> { asin: String?, eligibility: String?, marketplace_id: String?, offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, program_type: String?, sku: String?, vendor_codes: Array[String]? }
445
+ def members: () -> [ :asin, :deliveries_conditions, :eligibility, :forecast_deliveries, :fulfillment_network_id_type, :inventory, :marketplace_id, :offer_program_configuration, :price, :price_currency_code, :program_type, :sku, :stock_risk, :subscriptions, :vendor_codes ]
446
+ def to_h: () -> { asin: String?, deliveries_conditions: Array[Peddler::APIs::Replenishment20221107::DeliveriesCondition]?, eligibility: String?, forecast_deliveries: Peddler::APIs::Replenishment20221107::ForecastDeliveries?, fulfillment_network_id_type: String?, inventory: Integer?, marketplace_id: String?, offer_program_configuration: Peddler::APIs::Replenishment20221107::OfferProgramConfiguration?, price: Float?, price_currency_code: String?, program_type: String?, sku: String?, stock_risk: String?, subscriptions: Integer?, vendor_codes: Array[String]? }
372
447
  end
373
448
 
374
449
  class OfferProgramConfiguration < Data
@@ -217,7 +217,7 @@ module Peddler
217
217
  def create_report_schedule: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
218
218
  def get_report: (String, ?rate_limit: Float) -> Peddler::Response
219
219
 
220
- def get_report_document: (String, ?rate_limit: Float) -> Peddler::Response
220
+ def get_report_document: (String, ?enable_content_encoding_url_header: bool?, ?rate_limit: Float) -> Peddler::Response
221
221
  def get_report_schedule: (String, ?rate_limit: Float) -> Peddler::Response
222
222
  def get_report_schedules: (Array[String], ?rate_limit: Float) -> Peddler::Response
223
223
  def get_reports: (?report_types: Array[String]?, ?processing_statuses: Array[String]?, ?marketplace_ids: Array[String]?, ?page_size: Integer?, ?created_since: String?, ?created_until: String?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
@@ -189,12 +189,12 @@ module Peddler
189
189
  end
190
190
 
191
191
  class AssociatedItem < Data
192
- def self.new: (?asin: String?, ?brand_name: String?, ?item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, ?item_status: String?, ?order_id: String?, ?quantity: Integer?, ?title: String?) -> Peddler::APIs::ServicesV1::AssociatedItem
193
- | (String?, String?, Peddler::APIs::ServicesV1::ItemDelivery?, String?, String?, Integer?, String?) -> Peddler::APIs::ServicesV1::AssociatedItem
194
- def self.[]: (?asin: String?, ?brand_name: String?, ?item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, ?item_status: String?, ?order_id: String?, ?quantity: Integer?, ?title: String?) -> Peddler::APIs::ServicesV1::AssociatedItem
195
- | (String?, String?, Peddler::APIs::ServicesV1::ItemDelivery?, String?, String?, Integer?, String?) -> Peddler::APIs::ServicesV1::AssociatedItem
192
+ def self.new: (?asin: String?, ?brand_name: String?, ?item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, ?item_status: String?, ?linked_assets: Array[Peddler::APIs::ServicesV1::LinkedAsset]?, ?order_id: String?, ?quantity: Integer?, ?title: String?) -> Peddler::APIs::ServicesV1::AssociatedItem
193
+ | (String?, String?, Peddler::APIs::ServicesV1::ItemDelivery?, String?, Array[Peddler::APIs::ServicesV1::LinkedAsset]?, String?, Integer?, String?) -> Peddler::APIs::ServicesV1::AssociatedItem
194
+ def self.[]: (?asin: String?, ?brand_name: String?, ?item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, ?item_status: String?, ?linked_assets: Array[Peddler::APIs::ServicesV1::LinkedAsset]?, ?order_id: String?, ?quantity: Integer?, ?title: String?) -> Peddler::APIs::ServicesV1::AssociatedItem
195
+ | (String?, String?, Peddler::APIs::ServicesV1::ItemDelivery?, String?, Array[Peddler::APIs::ServicesV1::LinkedAsset]?, String?, Integer?, String?) -> Peddler::APIs::ServicesV1::AssociatedItem
196
196
 
197
- def self.members: () -> [ :asin, :brand_name, :item_delivery, :item_status, :order_id, :quantity, :title ]
197
+ def self.members: () -> [ :asin, :brand_name, :item_delivery, :item_status, :linked_assets, :order_id, :quantity, :title ]
198
198
 
199
199
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::AssociatedItem
200
200
 
@@ -202,12 +202,13 @@ module Peddler
202
202
  attr_reader brand_name: String?
203
203
  attr_reader item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?
204
204
  attr_reader item_status: String?
205
+ attr_reader linked_assets: Array[Peddler::APIs::ServicesV1::LinkedAsset]?
205
206
  attr_reader order_id: String?
206
207
  attr_reader quantity: Integer?
207
208
  attr_reader title: String?
208
209
 
209
- def members: () -> [ :asin, :brand_name, :item_delivery, :item_status, :order_id, :quantity, :title ]
210
- def to_h: () -> { asin: String?, brand_name: String?, item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, item_status: String?, order_id: String?, quantity: Integer?, title: String? }
210
+ def members: () -> [ :asin, :brand_name, :item_delivery, :item_status, :linked_assets, :order_id, :quantity, :title ]
211
+ def to_h: () -> { asin: String?, brand_name: String?, item_delivery: Peddler::APIs::ServicesV1::ItemDelivery?, item_status: String?, linked_assets: Array[Peddler::APIs::ServicesV1::LinkedAsset]?, order_id: String?, quantity: Integer?, title: String? }
211
212
  end
212
213
 
213
214
  class AvailabilityRecord < Data
@@ -644,6 +645,58 @@ module Peddler
644
645
  def to_h: () -> { jobs: Array[Peddler::APIs::ServicesV1::ServiceJob]?, next_page_token: String?, previous_page_token: String?, total_result_size: Integer? }
645
646
  end
646
647
 
648
+ class LinkedAsset < Data
649
+ def self.new: (?additional_attributes: Hash[untyped, untyped]?, ?asset_name: String?, ?asset_type: String?) -> Peddler::APIs::ServicesV1::LinkedAsset
650
+ | (Hash[untyped, untyped]?, String?, String?) -> Peddler::APIs::ServicesV1::LinkedAsset
651
+ def self.[]: (?additional_attributes: Hash[untyped, untyped]?, ?asset_name: String?, ?asset_type: String?) -> Peddler::APIs::ServicesV1::LinkedAsset
652
+ | (Hash[untyped, untyped]?, String?, String?) -> Peddler::APIs::ServicesV1::LinkedAsset
653
+
654
+ def self.members: () -> [ :additional_attributes, :asset_name, :asset_type ]
655
+
656
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::LinkedAsset
657
+
658
+ attr_reader additional_attributes: Hash[untyped, untyped]?
659
+ attr_reader asset_name: String?
660
+ attr_reader asset_type: String?
661
+
662
+ def members: () -> [ :additional_attributes, :asset_name, :asset_type ]
663
+ def to_h: () -> { additional_attributes: Hash[untyped, untyped]?, asset_name: String?, asset_type: String? }
664
+ end
665
+
666
+ class MoneyAmount < Data
667
+ def self.new: (currency: String, value: Float) -> Peddler::APIs::ServicesV1::MoneyAmount
668
+ | (String, Float) -> Peddler::APIs::ServicesV1::MoneyAmount
669
+ def self.[]: (currency: String, value: Float) -> Peddler::APIs::ServicesV1::MoneyAmount
670
+ | (String, Float) -> Peddler::APIs::ServicesV1::MoneyAmount
671
+
672
+ def self.members: () -> [ :currency, :value ]
673
+
674
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::MoneyAmount
675
+
676
+ attr_reader currency: String
677
+ attr_reader value: Float
678
+
679
+ def members: () -> [ :currency, :value ]
680
+ def to_h: () -> { currency: String, value: Float }
681
+ end
682
+
683
+ class Payment < Data
684
+ def self.new: (?amount: Peddler::APIs::ServicesV1::MoneyAmount?, ?instrument: String?) -> Peddler::APIs::ServicesV1::Payment
685
+ | (Peddler::APIs::ServicesV1::MoneyAmount?, String?) -> Peddler::APIs::ServicesV1::Payment
686
+ def self.[]: (?amount: Peddler::APIs::ServicesV1::MoneyAmount?, ?instrument: String?) -> Peddler::APIs::ServicesV1::Payment
687
+ | (Peddler::APIs::ServicesV1::MoneyAmount?, String?) -> Peddler::APIs::ServicesV1::Payment
688
+
689
+ def self.members: () -> [ :amount, :instrument ]
690
+
691
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::Payment
692
+
693
+ attr_reader amount: Peddler::APIs::ServicesV1::MoneyAmount?
694
+ attr_reader instrument: String?
695
+
696
+ def members: () -> [ :amount, :instrument ]
697
+ def to_h: () -> { amount: Peddler::APIs::ServicesV1::MoneyAmount?, instrument: String? }
698
+ end
699
+
647
700
  class Poa < Data
648
701
  def self.new: (?appointment_time: Peddler::APIs::ServicesV1::AppointmentTime?, ?poa_type: String?, ?technicians: Array[Peddler::APIs::ServicesV1::Technician]?, ?upload_time: Time?, ?uploading_technician: String?) -> Peddler::APIs::ServicesV1::Poa
649
702
  | (Peddler::APIs::ServicesV1::AppointmentTime?, String?, Array[Peddler::APIs::ServicesV1::Technician]?, Time?, String?) -> Peddler::APIs::ServicesV1::Poa
@@ -859,12 +912,12 @@ module Peddler
859
912
  end
860
913
 
861
914
  class ServiceJob < Data
862
- def self.new: (?appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, ?associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, ?buyer: Peddler::APIs::ServicesV1::Buyer?, ?create_time: Time?, ?marketplace_id: String?, ?preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, ?scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, ?seller: Peddler::APIs::ServicesV1::Seller?, ?service_job_id: String?, ?service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, ?service_job_status: String?, ?service_location: Peddler::APIs::ServicesV1::ServiceLocation?, ?service_order_id: String?, ?store_id: String?) -> Peddler::APIs::ServicesV1::ServiceJob
863
- | (Array[Peddler::APIs::ServicesV1::Appointment]?, Array[Peddler::APIs::ServicesV1::AssociatedItem]?, Peddler::APIs::ServicesV1::Buyer?, Time?, String?, Array[Peddler::APIs::ServicesV1::AppointmentTime]?, Peddler::APIs::ServicesV1::ScopeOfWork?, Peddler::APIs::ServicesV1::Seller?, String?, Peddler::APIs::ServicesV1::ServiceJobProvider?, String?, Peddler::APIs::ServicesV1::ServiceLocation?, String?, String?) -> Peddler::APIs::ServicesV1::ServiceJob
864
- def self.[]: (?appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, ?associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, ?buyer: Peddler::APIs::ServicesV1::Buyer?, ?create_time: Time?, ?marketplace_id: String?, ?preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, ?scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, ?seller: Peddler::APIs::ServicesV1::Seller?, ?service_job_id: String?, ?service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, ?service_job_status: String?, ?service_location: Peddler::APIs::ServicesV1::ServiceLocation?, ?service_order_id: String?, ?store_id: String?) -> Peddler::APIs::ServicesV1::ServiceJob
865
- | (Array[Peddler::APIs::ServicesV1::Appointment]?, Array[Peddler::APIs::ServicesV1::AssociatedItem]?, Peddler::APIs::ServicesV1::Buyer?, Time?, String?, Array[Peddler::APIs::ServicesV1::AppointmentTime]?, Peddler::APIs::ServicesV1::ScopeOfWork?, Peddler::APIs::ServicesV1::Seller?, String?, Peddler::APIs::ServicesV1::ServiceJobProvider?, String?, Peddler::APIs::ServicesV1::ServiceLocation?, String?, String?) -> Peddler::APIs::ServicesV1::ServiceJob
915
+ def self.new: (?appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, ?associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, ?buyer: Peddler::APIs::ServicesV1::Buyer?, ?create_time: Time?, ?marketplace_id: String?, ?payments: Array[Peddler::APIs::ServicesV1::Payment]?, ?preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, ?product_order_ids: Array[String]?, ?scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, ?seller: Peddler::APIs::ServicesV1::Seller?, ?service_job_id: String?, ?service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, ?service_job_status: String?, ?service_location: Peddler::APIs::ServicesV1::ServiceLocation?, ?service_order_id: String?, ?store_id: String?, ?tracking_ids: Array[String]?) -> Peddler::APIs::ServicesV1::ServiceJob
916
+ | (Array[Peddler::APIs::ServicesV1::Appointment]?, Array[Peddler::APIs::ServicesV1::AssociatedItem]?, Peddler::APIs::ServicesV1::Buyer?, Time?, String?, Array[Peddler::APIs::ServicesV1::Payment]?, Array[Peddler::APIs::ServicesV1::AppointmentTime]?, Array[String]?, Peddler::APIs::ServicesV1::ScopeOfWork?, Peddler::APIs::ServicesV1::Seller?, String?, Peddler::APIs::ServicesV1::ServiceJobProvider?, String?, Peddler::APIs::ServicesV1::ServiceLocation?, String?, String?, Array[String]?) -> Peddler::APIs::ServicesV1::ServiceJob
917
+ def self.[]: (?appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, ?associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, ?buyer: Peddler::APIs::ServicesV1::Buyer?, ?create_time: Time?, ?marketplace_id: String?, ?payments: Array[Peddler::APIs::ServicesV1::Payment]?, ?preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, ?product_order_ids: Array[String]?, ?scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, ?seller: Peddler::APIs::ServicesV1::Seller?, ?service_job_id: String?, ?service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, ?service_job_status: String?, ?service_location: Peddler::APIs::ServicesV1::ServiceLocation?, ?service_order_id: String?, ?store_id: String?, ?tracking_ids: Array[String]?) -> Peddler::APIs::ServicesV1::ServiceJob
918
+ | (Array[Peddler::APIs::ServicesV1::Appointment]?, Array[Peddler::APIs::ServicesV1::AssociatedItem]?, Peddler::APIs::ServicesV1::Buyer?, Time?, String?, Array[Peddler::APIs::ServicesV1::Payment]?, Array[Peddler::APIs::ServicesV1::AppointmentTime]?, Array[String]?, Peddler::APIs::ServicesV1::ScopeOfWork?, Peddler::APIs::ServicesV1::Seller?, String?, Peddler::APIs::ServicesV1::ServiceJobProvider?, String?, Peddler::APIs::ServicesV1::ServiceLocation?, String?, String?, Array[String]?) -> Peddler::APIs::ServicesV1::ServiceJob
866
919
 
867
- def self.members: () -> [ :appointments, :associated_items, :buyer, :create_time, :marketplace_id, :preferred_appointment_times, :scope_of_work, :seller, :service_job_id, :service_job_provider, :service_job_status, :service_location, :service_order_id, :store_id ]
920
+ def self.members: () -> [ :appointments, :associated_items, :buyer, :create_time, :marketplace_id, :payments, :preferred_appointment_times, :product_order_ids, :scope_of_work, :seller, :service_job_id, :service_job_provider, :service_job_status, :service_location, :service_order_id, :store_id, :tracking_ids ]
868
921
 
869
922
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::ServiceJob
870
923
 
@@ -873,7 +926,9 @@ module Peddler
873
926
  attr_reader buyer: Peddler::APIs::ServicesV1::Buyer?
874
927
  attr_reader create_time: Time?
875
928
  attr_reader marketplace_id: String?
929
+ attr_reader payments: Array[Peddler::APIs::ServicesV1::Payment]?
876
930
  attr_reader preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?
931
+ attr_reader product_order_ids: Array[String]?
877
932
  attr_reader scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?
878
933
  attr_reader seller: Peddler::APIs::ServicesV1::Seller?
879
934
  attr_reader service_job_id: String?
@@ -882,9 +937,10 @@ module Peddler
882
937
  attr_reader service_location: Peddler::APIs::ServicesV1::ServiceLocation?
883
938
  attr_reader service_order_id: String?
884
939
  attr_reader store_id: String?
940
+ attr_reader tracking_ids: Array[String]?
885
941
 
886
- def members: () -> [ :appointments, :associated_items, :buyer, :create_time, :marketplace_id, :preferred_appointment_times, :scope_of_work, :seller, :service_job_id, :service_job_provider, :service_job_status, :service_location, :service_order_id, :store_id ]
887
- def to_h: () -> { appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, buyer: Peddler::APIs::ServicesV1::Buyer?, create_time: Time?, marketplace_id: String?, preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, seller: Peddler::APIs::ServicesV1::Seller?, service_job_id: String?, service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, service_job_status: String?, service_location: Peddler::APIs::ServicesV1::ServiceLocation?, service_order_id: String?, store_id: String? }
942
+ def members: () -> [ :appointments, :associated_items, :buyer, :create_time, :marketplace_id, :payments, :preferred_appointment_times, :product_order_ids, :scope_of_work, :seller, :service_job_id, :service_job_provider, :service_job_status, :service_location, :service_order_id, :store_id, :tracking_ids ]
943
+ def to_h: () -> { appointments: Array[Peddler::APIs::ServicesV1::Appointment]?, associated_items: Array[Peddler::APIs::ServicesV1::AssociatedItem]?, buyer: Peddler::APIs::ServicesV1::Buyer?, create_time: Time?, marketplace_id: String?, payments: Array[Peddler::APIs::ServicesV1::Payment]?, preferred_appointment_times: Array[Peddler::APIs::ServicesV1::AppointmentTime]?, product_order_ids: Array[String]?, scope_of_work: Peddler::APIs::ServicesV1::ScopeOfWork?, seller: Peddler::APIs::ServicesV1::Seller?, service_job_id: String?, service_job_provider: Peddler::APIs::ServicesV1::ServiceJobProvider?, service_job_status: String?, service_location: Peddler::APIs::ServicesV1::ServiceLocation?, service_order_id: String?, store_id: String?, tracking_ids: Array[String]? }
888
944
  end
889
945
 
890
946
  class ServiceJobProvider < Data
@@ -1134,7 +1190,7 @@ module Peddler
1134
1190
  def get_range_slot_capacity: (String, Hash[untyped, untyped], Array[String], ?next_page_token: String?, ?rate_limit: Float) -> Peddler::Response
1135
1191
  def get_service_job_by_service_job_id: (String, ?rate_limit: Float) -> Peddler::Response
1136
1192
 
1137
- def get_service_jobs: (Array[String], ?service_order_ids: Array[String]?, ?service_job_status: Array[String]?, ?page_token: String?, ?page_size: Integer?, ?sort_field: String?, ?sort_order: String?, ?created_after: String?, ?created_before: String?, ?last_updated_after: String?, ?last_updated_before: String?, ?schedule_start_date: String?, ?schedule_end_date: String?, ?asins: Array[String]?, ?required_skills: Array[String]?, ?store_ids: Array[String]?, ?rate_limit: Float) -> Peddler::Response
1193
+ def get_service_jobs: (Array[String], ?service_order_ids: Array[String]?, ?product_order_ids: Array[String]?, ?tracking_ids: Array[String]?, ?service_job_status: Array[String]?, ?page_token: String?, ?page_size: Integer?, ?sort_field: String?, ?sort_order: String?, ?created_after: String?, ?created_before: String?, ?last_updated_after: String?, ?last_updated_before: String?, ?schedule_start_date: String?, ?schedule_end_date: String?, ?asins: Array[String]?, ?required_skills: Array[String]?, ?store_ids: Array[String]?, ?rate_limit: Float) -> Peddler::Response
1138
1194
 
1139
1195
  def reschedule_appointment_for_service_job_by_service_job_id: (String, String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
1140
1196
 
@@ -5,6 +5,9 @@ module Peddler
5
5
  class AccessDenied < Error
6
6
  end
7
7
 
8
+ class InternalFailure < Error
9
+ end
10
+
8
11
  class InvalidGrant < Error
9
12
  end
10
13