peddler 5.0.0 → 5.1.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.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/peddler/acronyms.rb +1 -0
- data/lib/peddler/api.rb +35 -62
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +11 -11
- data/lib/peddler/apis/aplus_content_2020_11_01.rb +10 -10
- data/lib/peddler/apis/application_integrations_2024_04_01.rb +3 -3
- data/lib/peddler/apis/application_management_2023_11_30.rb +1 -1
- data/lib/peddler/apis/catalog_items_2020_12_01.rb +2 -2
- data/lib/peddler/apis/catalog_items_2022_04_01.rb +2 -2
- data/lib/peddler/apis/catalog_items_v0.rb +1 -1
- data/lib/peddler/apis/data_kiosk_2023_11_15.rb +5 -5
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01/error.rb +23 -0
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01/error_list.rb +18 -0
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01/get_invoice_status_response.rb +26 -0
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_request.rb +31 -0
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_response.rb +17 -0
- data/lib/peddler/apis/delivery_by_amazon_2022_07_01.rb +59 -0
- data/lib/peddler/apis/easy_ship_2022_03_23.rb +5 -5
- data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment.rb +3 -0
- data/lib/peddler/apis/fba_inbound_eligibility_v1.rb +1 -1
- data/lib/peddler/apis/fba_inventory_v1.rb +1 -1
- data/lib/peddler/apis/feeds_2021_06_30.rb +6 -6
- data/lib/peddler/apis/finances_2024_06_19/amazon_pay_context.rb +2 -2
- data/lib/peddler/apis/finances_2024_06_19/breakdown.rb +3 -4
- data/lib/peddler/apis/finances_2024_06_19/context.rb +11 -11
- data/lib/peddler/apis/finances_2024_06_19/contexts.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/deferred_context.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/error.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/error_list.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/item.rb +3 -3
- data/lib/peddler/apis/finances_2024_06_19/item_related_identifier.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/item_related_identifiers.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/items.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/marketplace_details.rb +2 -3
- data/lib/peddler/apis/finances_2024_06_19/payments_context.rb +5 -5
- data/lib/peddler/apis/finances_2024_06_19/product_context.rb +4 -4
- data/lib/peddler/apis/finances_2024_06_19/related_identifier.rb +2 -2
- data/lib/peddler/apis/finances_2024_06_19/selling_partner_metadata.rb +3 -3
- data/lib/peddler/apis/finances_2024_06_19/time_range_context.rb +3 -3
- data/lib/peddler/apis/finances_2024_06_19/transaction.rb +8 -10
- data/lib/peddler/apis/finances_2024_06_19/transactions.rb +1 -1
- data/lib/peddler/apis/finances_2024_06_19/transactions_payload.rb +4 -2
- data/lib/peddler/apis/finances_2024_06_19.rb +24 -13
- data/lib/peddler/apis/finances_v0/adhoc_disbursement_event.rb +1 -3
- data/lib/peddler/apis/finances_v0/adjustment_event.rb +11 -18
- data/lib/peddler/apis/finances_v0/adjustment_item.rb +3 -3
- data/lib/peddler/apis/finances_v0/affordability_expense_event.rb +6 -7
- data/lib/peddler/apis/finances_v0/capacity_reservation_billing_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/charge_component.rb +37 -35
- data/lib/peddler/apis/finances_v0/charge_refund_event.rb +2 -6
- data/lib/peddler/apis/finances_v0/coupon_payment_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/debt_recovery_event.rb +1 -5
- data/lib/peddler/apis/finances_v0/debt_recovery_item.rb +4 -4
- data/lib/peddler/apis/finances_v0/direct_payment.rb +7 -7
- data/lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event.rb +23 -0
- data/lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event_list.rb +18 -0
- data/lib/peddler/apis/finances_v0/failed_adhoc_disbursement_event.rb +3 -9
- data/lib/peddler/apis/finances_v0/failed_adhoc_disbursement_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/fba_liquidation_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/financial_event_group.rb +5 -7
- data/lib/peddler/apis/finances_v0/financial_events.rb +4 -1
- data/lib/peddler/apis/finances_v0/list_financial_event_groups_payload.rb +1 -1
- data/lib/peddler/apis/finances_v0/list_financial_event_groups_response.rb +3 -3
- data/lib/peddler/apis/finances_v0/list_financial_events_payload.rb +1 -1
- data/lib/peddler/apis/finances_v0/list_financial_events_response.rb +3 -3
- data/lib/peddler/apis/finances_v0/loan_servicing_event.rb +3 -3
- data/lib/peddler/apis/finances_v0/network_commingling_transaction_event.rb +3 -3
- data/lib/peddler/apis/finances_v0/pay_with_amazon_event.rb +5 -5
- data/lib/peddler/apis/finances_v0/product_ads_payment_event.rb +4 -4
- data/lib/peddler/apis/finances_v0/removal_shipment_adjustment_event.rb +2 -2
- data/lib/peddler/apis/finances_v0/removal_shipment_adjustment_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/removal_shipment_event.rb +2 -2
- data/lib/peddler/apis/finances_v0/removal_shipment_item.rb +5 -6
- data/lib/peddler/apis/finances_v0/removal_shipment_item_adjustment.rb +8 -9
- data/lib/peddler/apis/finances_v0/removal_shipment_item_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/rental_transaction_event.rb +17 -16
- data/lib/peddler/apis/finances_v0/retrocharge_event.rb +2 -2
- data/lib/peddler/apis/finances_v0/retrocharge_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/safet_reimbursement_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/safet_reimbursement_item_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/seller_deal_payment_event.rb +2 -2
- data/lib/peddler/apis/finances_v0/seller_review_enrollment_payment_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/solution_provider_credit_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/solution_provider_credit_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/tax_withheld_component.rb +2 -3
- data/lib/peddler/apis/finances_v0/tax_withholding_event.rb +1 -1
- data/lib/peddler/apis/finances_v0/tax_withholding_event_list.rb +1 -1
- data/lib/peddler/apis/finances_v0/tax_withholding_period.rb +1 -1
- data/lib/peddler/apis/finances_v0/value_added_service_charge_event.rb +1 -3
- data/lib/peddler/apis/finances_v0.rb +60 -47
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20/delivery_window_option.rb +2 -1
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20/selected_delivery_window.rb +2 -1
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20.rb +90 -142
- data/lib/peddler/apis/fulfillment_inbound_v0.rb +6 -6
- data/lib/peddler/apis/fulfillment_outbound_2020_07_01.rb +14 -17
- data/lib/peddler/apis/invoices_2024_06_19.rb +7 -7
- data/lib/peddler/apis/listings_items_2020_09_01.rb +3 -3
- data/lib/peddler/apis/listings_items_2021_08_01.rb +5 -5
- data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +1 -1
- data/lib/peddler/apis/merchant_fulfillment_v0.rb +5 -5
- data/lib/peddler/apis/messaging_v1.rb +11 -11
- data/lib/peddler/apis/notifications_v1.rb +8 -8
- data/lib/peddler/apis/orders_v0/buyer_info.rb +0 -3
- data/lib/peddler/apis/orders_v0/order_buyer_info.rb +0 -3
- data/lib/peddler/apis/orders_v0.rb +12 -15
- data/lib/peddler/apis/product_fees_v0.rb +3 -3
- data/lib/peddler/apis/product_pricing_2022_05_01.rb +2 -2
- data/lib/peddler/apis/product_pricing_v0.rb +6 -6
- data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +2 -2
- data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +66 -22
- data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +13 -13
- data/lib/peddler/apis/replenishment_2022_11_07.rb +3 -3
- data/lib/peddler/apis/reports_2021_06_30.rb +9 -9
- data/lib/peddler/apis/sales_v1.rb +1 -1
- data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb +23 -18
- data/lib/peddler/apis/seller_wallet_2024_03_01/payee_contact_information.rb +54 -0
- data/lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb +7 -3
- data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_initiation_request.rb +3 -3
- data/lib/peddler/apis/seller_wallet_2024_03_01.rb +7 -2
- data/lib/peddler/apis/sellers_v1.rb +2 -2
- data/lib/peddler/apis/services_v1.rb +17 -17
- data/lib/peddler/apis/shipment_invoicing_v0.rb +3 -3
- data/lib/peddler/apis/shipping_v1.rb +9 -9
- data/lib/peddler/apis/shipping_v2.rb +19 -19
- data/lib/peddler/apis/solicitations_v1.rb +2 -2
- data/lib/peddler/apis/tokens_2021_03_01.rb +1 -1
- data/lib/peddler/apis/transfers_2024_06_01.rb +2 -2
- data/lib/peddler/apis/uploads_2020_11_01.rb +1 -1
- data/lib/peddler/apis/vendor_direct_fulfillment_inventory_v1.rb +1 -1
- data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rb +3 -3
- data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1.rb +3 -3
- data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1.rb +1 -1
- data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rb +11 -11
- data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1.rb +9 -9
- data/lib/peddler/apis/vendor_direct_fulfillment_transactions_2021_12_28.rb +1 -1
- data/lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb +1 -1
- data/lib/peddler/apis/vendor_invoices_v1.rb +1 -1
- data/lib/peddler/apis/vendor_orders_v1.rb +4 -4
- data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +16 -0
- data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +32 -0
- data/lib/peddler/apis/vendor_shipments_v1.rb +5 -5
- data/lib/peddler/apis/vendor_transaction_status_v1.rb +1 -1
- data/lib/peddler/data_kiosk/economics20240315/analytics_economics20240315.rb +5 -0
- data/lib/peddler/data_kiosk/economics20240315.json +340 -7
- data/lib/peddler/data_kiosk/vendor_analytics20240930/traffic.rb +5 -0
- data/lib/peddler/data_kiosk/vendor_analytics20240930.json +12 -0
- data/lib/peddler/response.rb +1 -1
- data/lib/peddler/version.rb +1 -1
- data/lib/peddler.rb +2 -0
- data/sig/peddler/api.rbs +13 -23
- data/sig/peddler/apis/delivery_by_amazon_2022_07_01.rbs +85 -0
- data/sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs +8 -7
- data/sig/peddler/apis/finances_2024_06_19.rbs +1 -1
- data/sig/peddler/apis/finances_v0.rbs +30 -7
- data/sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs +45 -45
- data/sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs +1 -1
- data/sig/peddler/apis/orders_v0.rbs +15 -17
- data/sig/peddler/apis/replenishment_2022_11_07.rbs +18 -7
- data/sig/peddler/apis/seller_wallet_2024_03_01.rbs +49 -42
- data/sig/peddler/apis/vendor_shipments_v1.rbs +30 -41
- data/sig/peddler/data_kiosk/economics20240315.rbs +8 -7
- data/sig/peddler/data_kiosk/vendor_analytics20240930.rbs +8 -7
- data/sig/peddler.rbs +4 -0
- metadata +13 -5
- data/lib/peddler/apis/seller_wallet_2024_03_01/account_holder_address.rb +0 -36
- data/lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb +0 -25
- data/lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb +0 -18
|
@@ -1,28 +1,6 @@
|
|
|
1
1
|
module Peddler
|
|
2
2
|
module APIs
|
|
3
3
|
class SellerWallet20240301 < API
|
|
4
|
-
class AccountHolderAddress < Data
|
|
5
|
-
def self.new: (address_line1: String?, city: String?, country_code: String?, postal_code: String?, state: String?, ?address_line2: String?, ?country: String?) -> Peddler::APIs::SellerWallet20240301::AccountHolderAddress
|
|
6
|
-
| (String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::AccountHolderAddress
|
|
7
|
-
def self.[]: (address_line1: String?, city: String?, country_code: String?, postal_code: String?, state: String?, ?address_line2: String?, ?country: String?) -> Peddler::APIs::SellerWallet20240301::AccountHolderAddress
|
|
8
|
-
| (String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::AccountHolderAddress
|
|
9
|
-
|
|
10
|
-
def self.members: () -> [ :address_line1, :city, :country_code, :postal_code, :state, :address_line2, :country ]
|
|
11
|
-
|
|
12
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::AccountHolderAddress
|
|
13
|
-
|
|
14
|
-
attr_reader address_line1: String?
|
|
15
|
-
attr_reader address_line2: String?
|
|
16
|
-
attr_reader city: String?
|
|
17
|
-
attr_reader country: String?
|
|
18
|
-
attr_reader country_code: String?
|
|
19
|
-
attr_reader postal_code: String?
|
|
20
|
-
attr_reader state: String?
|
|
21
|
-
|
|
22
|
-
def members: () -> [ :address_line1, :city, :country_code, :postal_code, :state, :address_line2, :country ]
|
|
23
|
-
def to_h: () -> { address_line1: String?, city: String?, country_code: String?, postal_code: String?, state: String?, address_line2: String?, country: String? }
|
|
24
|
-
end
|
|
25
|
-
|
|
26
4
|
class Balance < Data
|
|
27
5
|
def self.new: (account_id: String?, balance_amount: Float?, balance_currency: String?, last_update_date: Time?, ?balance_type: String?) -> Peddler::APIs::SellerWallet20240301::Balance
|
|
28
6
|
| (String?, Float?, String?, Time?, String?) -> Peddler::APIs::SellerWallet20240301::Balance
|
|
@@ -60,12 +38,12 @@ module Peddler
|
|
|
60
38
|
end
|
|
61
39
|
|
|
62
40
|
class BankAccount < Data
|
|
63
|
-
def self.new: (account_country_code: String?, account_currency: String?,
|
|
41
|
+
def self.new: (account_country_code: String?, account_currency: String?, bank_account_number_tail: String?, bank_account_ownership_type: String?, ?account_holder_name: String?, ?account_id: String?, ?bank_account_holder_status: String?, ?bank_account_number_format: String?, ?bank_name: String?, ?bank_number_format: String?, ?routing_number: String?) -> Peddler::APIs::SellerWallet20240301::BankAccount
|
|
64
42
|
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::BankAccount
|
|
65
|
-
def self.[]: (account_country_code: String?, account_currency: String?,
|
|
43
|
+
def self.[]: (account_country_code: String?, account_currency: String?, bank_account_number_tail: String?, bank_account_ownership_type: String?, ?account_holder_name: String?, ?account_id: String?, ?bank_account_holder_status: String?, ?bank_account_number_format: String?, ?bank_name: String?, ?bank_number_format: String?, ?routing_number: String?) -> Peddler::APIs::SellerWallet20240301::BankAccount
|
|
66
44
|
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::BankAccount
|
|
67
45
|
|
|
68
|
-
def self.members: () -> [ :account_country_code, :account_currency, :
|
|
46
|
+
def self.members: () -> [ :account_country_code, :account_currency, :bank_account_number_tail, :bank_account_ownership_type, :account_holder_name, :account_id, :bank_account_holder_status, :bank_account_number_format, :bank_name, :bank_number_format, :routing_number ]
|
|
69
47
|
|
|
70
48
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::BankAccount
|
|
71
49
|
|
|
@@ -81,8 +59,8 @@ module Peddler
|
|
|
81
59
|
attr_reader bank_number_format: String?
|
|
82
60
|
attr_reader routing_number: String?
|
|
83
61
|
|
|
84
|
-
def members: () -> [ :account_country_code, :account_currency, :
|
|
85
|
-
def to_h: () -> { account_country_code: String?, account_currency: String?,
|
|
62
|
+
def members: () -> [ :account_country_code, :account_currency, :bank_account_number_tail, :bank_account_ownership_type, :account_holder_name, :account_id, :bank_account_holder_status, :bank_account_number_format, :bank_name, :bank_number_format, :routing_number ]
|
|
63
|
+
def to_h: () -> { account_country_code: String?, account_currency: String?, bank_account_number_tail: String?, bank_account_ownership_type: String?, account_holder_name: String?, account_id: String?, bank_account_holder_status: String?, bank_account_number_format: String?, bank_name: String?, bank_number_format: String?, routing_number: String? }
|
|
86
64
|
end
|
|
87
65
|
|
|
88
66
|
class BankAccountListing < Data
|
|
@@ -208,6 +186,34 @@ module Peddler
|
|
|
208
186
|
def to_h: () -> { base_rate: Float?, effective_fx_rate: Float?, fx_rate_id: String?, rate_direction: String? }
|
|
209
187
|
end
|
|
210
188
|
|
|
189
|
+
class PayeeContactInformation < Data
|
|
190
|
+
def self.new: (address_line1: String?, city: String?, country_code: String?, email_address: String?, payee_entity_type: String?, payee_first_name: String?, payee_last_name: String?, phone_number: String?, postal_code: String?, state: String?, ?address_line2: String?, ?country: String?, ?payee_middle_name: String?) -> Peddler::APIs::SellerWallet20240301::PayeeContactInformation
|
|
191
|
+
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::PayeeContactInformation
|
|
192
|
+
def self.[]: (address_line1: String?, city: String?, country_code: String?, email_address: String?, payee_entity_type: String?, payee_first_name: String?, payee_last_name: String?, phone_number: String?, postal_code: String?, state: String?, ?address_line2: String?, ?country: String?, ?payee_middle_name: String?) -> Peddler::APIs::SellerWallet20240301::PayeeContactInformation
|
|
193
|
+
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::SellerWallet20240301::PayeeContactInformation
|
|
194
|
+
|
|
195
|
+
def self.members: () -> [ :address_line1, :city, :country_code, :email_address, :payee_entity_type, :payee_first_name, :payee_last_name, :phone_number, :postal_code, :state, :address_line2, :country, :payee_middle_name ]
|
|
196
|
+
|
|
197
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::PayeeContactInformation
|
|
198
|
+
|
|
199
|
+
attr_reader address_line1: String?
|
|
200
|
+
attr_reader address_line2: String?
|
|
201
|
+
attr_reader city: String?
|
|
202
|
+
attr_reader country: String?
|
|
203
|
+
attr_reader country_code: String?
|
|
204
|
+
attr_reader email_address: String?
|
|
205
|
+
attr_reader payee_entity_type: String?
|
|
206
|
+
attr_reader payee_first_name: String?
|
|
207
|
+
attr_reader payee_last_name: String?
|
|
208
|
+
attr_reader payee_middle_name: String?
|
|
209
|
+
attr_reader phone_number: String?
|
|
210
|
+
attr_reader postal_code: String?
|
|
211
|
+
attr_reader state: String?
|
|
212
|
+
|
|
213
|
+
def members: () -> [ :address_line1, :city, :country_code, :email_address, :payee_entity_type, :payee_first_name, :payee_last_name, :phone_number, :postal_code, :state, :address_line2, :country, :payee_middle_name ]
|
|
214
|
+
def to_h: () -> { address_line1: String?, city: String?, country_code: String?, email_address: String?, payee_entity_type: String?, payee_first_name: String?, payee_last_name: String?, phone_number: String?, postal_code: String?, state: String?, address_line2: String?, country: String?, payee_middle_name: String? }
|
|
215
|
+
end
|
|
216
|
+
|
|
211
217
|
class PaymentPreference < Data
|
|
212
218
|
def self.new: (payment_preference_payment_type: String?, value: Float?) -> Peddler::APIs::SellerWallet20240301::PaymentPreference
|
|
213
219
|
| (String?, Float?) -> Peddler::APIs::SellerWallet20240301::PaymentPreference
|
|
@@ -243,15 +249,16 @@ module Peddler
|
|
|
243
249
|
end
|
|
244
250
|
|
|
245
251
|
class Transaction < Data
|
|
246
|
-
def self.new: (last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?,
|
|
247
|
-
| (Time?, String?, Peddler::APIs::SellerWallet20240301::TransactionAccount?, String?, Peddler::Money?, Time?, String?,
|
|
248
|
-
def self.[]: (last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?,
|
|
249
|
-
| (Time?, String?, Peddler::APIs::SellerWallet20240301::TransactionAccount?, String?, Peddler::Money?, Time?, String?,
|
|
252
|
+
def self.new: (account_id: String?, last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?, transaction_status: String?, transaction_type: String?, transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?, ?expected_completion_date: Time?, ?requester_name: String?, ?transaction_actual_completion_date: Time?, ?transaction_failure_reason: String?, ?transaction_final_amount: Peddler::Money?, ?transaction_source_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?) -> Peddler::APIs::SellerWallet20240301::Transaction
|
|
253
|
+
| (String?, Time?, String?, Peddler::APIs::SellerWallet20240301::TransactionAccount?, String?, Peddler::Money?, Time?, String?, String?, String?, Peddler::APIs::SellerWallet20240301::TransferRatePreview?, Time?, String?, Time?, String?, Peddler::Money?, Peddler::APIs::SellerWallet20240301::TransactionAccount?) -> Peddler::APIs::SellerWallet20240301::Transaction
|
|
254
|
+
def self.[]: (account_id: String?, last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?, transaction_status: String?, transaction_type: String?, transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?, ?expected_completion_date: Time?, ?requester_name: String?, ?transaction_actual_completion_date: Time?, ?transaction_failure_reason: String?, ?transaction_final_amount: Peddler::Money?, ?transaction_source_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?) -> Peddler::APIs::SellerWallet20240301::Transaction
|
|
255
|
+
| (String?, Time?, String?, Peddler::APIs::SellerWallet20240301::TransactionAccount?, String?, Peddler::Money?, Time?, String?, String?, String?, Peddler::APIs::SellerWallet20240301::TransferRatePreview?, Time?, String?, Time?, String?, Peddler::Money?, Peddler::APIs::SellerWallet20240301::TransactionAccount?) -> Peddler::APIs::SellerWallet20240301::Transaction
|
|
250
256
|
|
|
251
|
-
def self.members: () -> [ :last_update_date, :transaction_description, :transaction_destination_account, :transaction_id, :transaction_request_amount, :transaction_request_date, :transaction_requester_source, :
|
|
257
|
+
def self.members: () -> [ :account_id, :last_update_date, :transaction_description, :transaction_destination_account, :transaction_id, :transaction_request_amount, :transaction_request_date, :transaction_requester_source, :transaction_status, :transaction_type, :transfer_rate_details, :expected_completion_date, :requester_name, :transaction_actual_completion_date, :transaction_failure_reason, :transaction_final_amount, :transaction_source_account ]
|
|
252
258
|
|
|
253
259
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::Transaction
|
|
254
260
|
|
|
261
|
+
attr_reader account_id: String?
|
|
255
262
|
attr_reader expected_completion_date: Time?
|
|
256
263
|
attr_reader last_update_date: Time?
|
|
257
264
|
attr_reader requester_name: String?
|
|
@@ -269,8 +276,8 @@ module Peddler
|
|
|
269
276
|
attr_reader transaction_type: String?
|
|
270
277
|
attr_reader transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?
|
|
271
278
|
|
|
272
|
-
def members: () -> [ :last_update_date, :transaction_description, :transaction_destination_account, :transaction_id, :transaction_request_amount, :transaction_request_date, :transaction_requester_source, :
|
|
273
|
-
def to_h: () -> { last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?,
|
|
279
|
+
def members: () -> [ :account_id, :last_update_date, :transaction_description, :transaction_destination_account, :transaction_id, :transaction_request_amount, :transaction_request_date, :transaction_requester_source, :transaction_status, :transaction_type, :transfer_rate_details, :expected_completion_date, :requester_name, :transaction_actual_completion_date, :transaction_failure_reason, :transaction_final_amount, :transaction_source_account ]
|
|
280
|
+
def to_h: () -> { account_id: String?, last_update_date: Time?, transaction_description: String?, transaction_destination_account: Peddler::APIs::SellerWallet20240301::TransactionAccount?, transaction_id: String?, transaction_request_amount: Peddler::Money?, transaction_request_date: Time?, transaction_requester_source: String?, transaction_status: String?, transaction_type: String?, transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?, expected_completion_date: Time?, requester_name: String?, transaction_actual_completion_date: Time?, transaction_failure_reason: String?, transaction_final_amount: Peddler::Money?, transaction_source_account: Peddler::APIs::SellerWallet20240301::TransactionAccount? }
|
|
274
281
|
end
|
|
275
282
|
|
|
276
283
|
class TransactionAccount < Data
|
|
@@ -296,27 +303,27 @@ module Peddler
|
|
|
296
303
|
end
|
|
297
304
|
|
|
298
305
|
class TransactionInitiationRequest < Data
|
|
299
|
-
def self.new: (destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, ?customer_payment_reference: String?, ?
|
|
300
|
-
| (Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, Time?, String?, Peddler::Money?, String?, Peddler::APIs::SellerWallet20240301::
|
|
301
|
-
def self.[]: (destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, ?customer_payment_reference: String?, ?
|
|
302
|
-
| (Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, Time?, String?, Peddler::Money?, String?, Peddler::APIs::SellerWallet20240301::
|
|
306
|
+
def self.new: (destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, ?customer_payment_reference: String?, ?destination_account_id: String?, ?payee_contact_information: Peddler::APIs::SellerWallet20240301::PayeeContactInformation?, ?transaction_description: String?, ?transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?) -> Peddler::APIs::SellerWallet20240301::TransactionInitiationRequest
|
|
307
|
+
| (Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, Time?, String?, Peddler::Money?, String?, String?, Peddler::APIs::SellerWallet20240301::PayeeContactInformation?, String?, Peddler::APIs::SellerWallet20240301::TransferRatePreview?) -> Peddler::APIs::SellerWallet20240301::TransactionInitiationRequest
|
|
308
|
+
def self.[]: (destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, ?customer_payment_reference: String?, ?destination_account_id: String?, ?payee_contact_information: Peddler::APIs::SellerWallet20240301::PayeeContactInformation?, ?transaction_description: String?, ?transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?) -> Peddler::APIs::SellerWallet20240301::TransactionInitiationRequest
|
|
309
|
+
| (Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, Time?, String?, Peddler::Money?, String?, String?, Peddler::APIs::SellerWallet20240301::PayeeContactInformation?, String?, Peddler::APIs::SellerWallet20240301::TransferRatePreview?) -> Peddler::APIs::SellerWallet20240301::TransactionInitiationRequest
|
|
303
310
|
|
|
304
|
-
def self.members: () -> [ :destination_transaction_instrument, :request_time, :source_account_id, :source_amount, :customer_payment_reference, :
|
|
311
|
+
def self.members: () -> [ :destination_transaction_instrument, :request_time, :source_account_id, :source_amount, :customer_payment_reference, :destination_account_id, :payee_contact_information, :transaction_description, :transfer_rate_details ]
|
|
305
312
|
|
|
306
313
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SellerWallet20240301::TransactionInitiationRequest
|
|
307
314
|
|
|
308
315
|
attr_reader customer_payment_reference: String?
|
|
309
|
-
attr_reader destination_account_holder_address: Peddler::APIs::SellerWallet20240301::AccountHolderAddress?
|
|
310
316
|
attr_reader destination_account_id: String?
|
|
311
317
|
attr_reader destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?
|
|
318
|
+
attr_reader payee_contact_information: Peddler::APIs::SellerWallet20240301::PayeeContactInformation?
|
|
312
319
|
attr_reader request_time: Time?
|
|
313
320
|
attr_reader source_account_id: String?
|
|
314
321
|
attr_reader source_amount: Peddler::Money?
|
|
315
322
|
attr_reader transaction_description: String?
|
|
316
323
|
attr_reader transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview?
|
|
317
324
|
|
|
318
|
-
def members: () -> [ :destination_transaction_instrument, :request_time, :source_account_id, :source_amount, :customer_payment_reference, :
|
|
319
|
-
def to_h: () -> { destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, customer_payment_reference: String?,
|
|
325
|
+
def members: () -> [ :destination_transaction_instrument, :request_time, :source_account_id, :source_amount, :customer_payment_reference, :destination_account_id, :payee_contact_information, :transaction_description, :transfer_rate_details ]
|
|
326
|
+
def to_h: () -> { destination_transaction_instrument: Peddler::APIs::SellerWallet20240301::TransactionInstrumentDetails?, request_time: Time?, source_account_id: String?, source_amount: Peddler::Money?, customer_payment_reference: String?, destination_account_id: String?, payee_contact_information: Peddler::APIs::SellerWallet20240301::PayeeContactInformation?, transaction_description: String?, transfer_rate_details: Peddler::APIs::SellerWallet20240301::TransferRatePreview? }
|
|
320
327
|
end
|
|
321
328
|
|
|
322
329
|
class TransactionInstrumentDetails < Data
|
|
@@ -426,21 +426,25 @@ module Peddler
|
|
|
426
426
|
end
|
|
427
427
|
|
|
428
428
|
class PackageItemDetails < Data
|
|
429
|
-
def self.new: (?expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, ?lot_number: String?, ?purchase_order_number: String?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
430
|
-
| (Peddler::APIs::VendorShipmentsV1::Expiry?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
431
|
-
def self.[]: (?expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, ?lot_number: String?, ?purchase_order_number: String?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
432
|
-
| (Peddler::APIs::VendorShipmentsV1::Expiry?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
429
|
+
def self.new: (?country_of_origin: String?, ?expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, ?lot_number: String?, ?lot_number_source_reference: String?, ?lot_number_source_type: String?, ?purchase_order_number: String?, ?regulation_references: Peddler::APIs::VendorShipmentsV1::RegulationReferences?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
430
|
+
| (String?, Peddler::APIs::VendorShipmentsV1::Expiry?, String?, String?, String?, String?, Peddler::APIs::VendorShipmentsV1::RegulationReferences?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
431
|
+
def self.[]: (?country_of_origin: String?, ?expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, ?lot_number: String?, ?lot_number_source_reference: String?, ?lot_number_source_type: String?, ?purchase_order_number: String?, ?regulation_references: Peddler::APIs::VendorShipmentsV1::RegulationReferences?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
432
|
+
| (String?, Peddler::APIs::VendorShipmentsV1::Expiry?, String?, String?, String?, String?, Peddler::APIs::VendorShipmentsV1::RegulationReferences?) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
433
433
|
|
|
434
|
-
def self.members: () -> [ :expiry, :lot_number, :purchase_order_number ]
|
|
434
|
+
def self.members: () -> [ :country_of_origin, :expiry, :lot_number, :lot_number_source_reference, :lot_number_source_type, :purchase_order_number, :regulation_references ]
|
|
435
435
|
|
|
436
436
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::PackageItemDetails
|
|
437
437
|
|
|
438
|
+
attr_reader country_of_origin: String?
|
|
438
439
|
attr_reader expiry: Peddler::APIs::VendorShipmentsV1::Expiry?
|
|
439
440
|
attr_reader lot_number: String?
|
|
441
|
+
attr_reader lot_number_source_reference: String?
|
|
442
|
+
attr_reader lot_number_source_type: String?
|
|
440
443
|
attr_reader purchase_order_number: String?
|
|
444
|
+
attr_reader regulation_references: Peddler::APIs::VendorShipmentsV1::RegulationReferences?
|
|
441
445
|
|
|
442
|
-
def members: () -> [ :expiry, :lot_number, :purchase_order_number ]
|
|
443
|
-
def to_h: () -> { expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, lot_number: String?, purchase_order_number: String? }
|
|
446
|
+
def members: () -> [ :country_of_origin, :expiry, :lot_number, :lot_number_source_reference, :lot_number_source_type, :purchase_order_number, :regulation_references ]
|
|
447
|
+
def to_h: () -> { country_of_origin: String?, expiry: Peddler::APIs::VendorShipmentsV1::Expiry?, lot_number: String?, lot_number_source_reference: String?, lot_number_source_type: String?, purchase_order_number: String?, regulation_references: Peddler::APIs::VendorShipmentsV1::RegulationReferences? }
|
|
444
448
|
end
|
|
445
449
|
|
|
446
450
|
class PackedItems < Data
|
|
@@ -463,24 +467,6 @@ module Peddler
|
|
|
463
467
|
def to_h: () -> { buyer_product_identifier: String?, item_details: Peddler::APIs::VendorShipmentsV1::PackageItemDetails?, item_sequence_number: String?, packed_quantity: Peddler::APIs::VendorShipmentsV1::ItemQuantity?, vendor_product_identifier: String? }
|
|
464
468
|
end
|
|
465
469
|
|
|
466
|
-
class PackedQuantity < Data
|
|
467
|
-
def self.new: (amount: Integer?, unit_of_measure: String?, ?unit_size: Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
468
|
-
| (Integer?, String?, Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
469
|
-
def self.[]: (amount: Integer?, unit_of_measure: String?, ?unit_size: Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
470
|
-
| (Integer?, String?, Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
471
|
-
|
|
472
|
-
def self.members: () -> [ :amount, :unit_of_measure, :unit_size ]
|
|
473
|
-
|
|
474
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
475
|
-
|
|
476
|
-
attr_reader amount: Integer?
|
|
477
|
-
attr_reader unit_of_measure: String?
|
|
478
|
-
attr_reader unit_size: Integer?
|
|
479
|
-
|
|
480
|
-
def members: () -> [ :amount, :unit_of_measure, :unit_size ]
|
|
481
|
-
def to_h: () -> { amount: Integer?, unit_of_measure: String?, unit_size: Integer? }
|
|
482
|
-
end
|
|
483
|
-
|
|
484
470
|
class Pagination < Data
|
|
485
471
|
def self.new: (?next_token: String?) -> Peddler::APIs::VendorShipmentsV1::Pagination
|
|
486
472
|
| (String?) -> Peddler::APIs::VendorShipmentsV1::Pagination
|
|
@@ -537,22 +523,6 @@ module Peddler
|
|
|
537
523
|
def to_h: () -> { party_id: String?, address: Peddler::APIs::VendorShipmentsV1::Address?, tax_registration_details: Array[Peddler::APIs::VendorShipmentsV1::TaxRegistrationDetails]? }
|
|
538
524
|
end
|
|
539
525
|
|
|
540
|
-
class PurchaseOrderItemDetails < Data
|
|
541
|
-
def self.new: (?maximum_retail_price: Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
542
|
-
| (Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
543
|
-
def self.[]: (?maximum_retail_price: Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
544
|
-
| (Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
545
|
-
|
|
546
|
-
def self.members: () -> [ :maximum_retail_price ]
|
|
547
|
-
|
|
548
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
549
|
-
|
|
550
|
-
attr_reader maximum_retail_price: Peddler::Money?
|
|
551
|
-
|
|
552
|
-
def members: () -> [ :maximum_retail_price ]
|
|
553
|
-
def to_h: () -> { maximum_retail_price: Peddler::Money? }
|
|
554
|
-
end
|
|
555
|
-
|
|
556
526
|
class PurchaseOrderItems < Data
|
|
557
527
|
def self.new: (item_sequence_number: String?, shipped_quantity: Peddler::APIs::VendorShipmentsV1::ItemQuantity?, ?buyer_product_identifier: String?, ?maximum_retail_price: Peddler::Money?, ?vendor_product_identifier: String?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItems
|
|
558
528
|
| (String?, Peddler::APIs::VendorShipmentsV1::ItemQuantity?, String?, Peddler::Money?, String?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItems
|
|
@@ -592,6 +562,25 @@ module Peddler
|
|
|
592
562
|
def to_h: () -> { items: Array[Peddler::APIs::VendorShipmentsV1::PurchaseOrderItems]?, purchase_order_date: Time?, purchase_order_number: String?, ship_window: String? }
|
|
593
563
|
end
|
|
594
564
|
|
|
565
|
+
class RegulationReferences < Data
|
|
566
|
+
def self.new: (?due_diligence_exemption_code: String?, ?due_diligence_information: String?, ?due_diligence_reference: String?, ?due_diligence_verification: String?) -> Peddler::APIs::VendorShipmentsV1::RegulationReferences
|
|
567
|
+
| (String?, String?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::RegulationReferences
|
|
568
|
+
def self.[]: (?due_diligence_exemption_code: String?, ?due_diligence_information: String?, ?due_diligence_reference: String?, ?due_diligence_verification: String?) -> Peddler::APIs::VendorShipmentsV1::RegulationReferences
|
|
569
|
+
| (String?, String?, String?, String?) -> Peddler::APIs::VendorShipmentsV1::RegulationReferences
|
|
570
|
+
|
|
571
|
+
def self.members: () -> [ :due_diligence_exemption_code, :due_diligence_information, :due_diligence_reference, :due_diligence_verification ]
|
|
572
|
+
|
|
573
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::RegulationReferences
|
|
574
|
+
|
|
575
|
+
attr_reader due_diligence_exemption_code: String?
|
|
576
|
+
attr_reader due_diligence_information: String?
|
|
577
|
+
attr_reader due_diligence_reference: String?
|
|
578
|
+
attr_reader due_diligence_verification: String?
|
|
579
|
+
|
|
580
|
+
def members: () -> [ :due_diligence_exemption_code, :due_diligence_information, :due_diligence_reference, :due_diligence_verification ]
|
|
581
|
+
def to_h: () -> { due_diligence_exemption_code: String?, due_diligence_information: String?, due_diligence_reference: String?, due_diligence_verification: String? }
|
|
582
|
+
end
|
|
583
|
+
|
|
595
584
|
class Route < Data
|
|
596
585
|
def self.new: (stops: Array[Peddler::APIs::VendorShipmentsV1::Stop]?) -> Peddler::APIs::VendorShipmentsV1::Route
|
|
597
586
|
| (Array[Peddler::APIs::VendorShipmentsV1::Stop]?) -> Peddler::APIs::VendorShipmentsV1::Route
|
|
@@ -58,20 +58,21 @@ module Peddler
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
class AnalyticsEconomics20240315 < Data
|
|
61
|
-
def self.new: (?economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
62
|
-
| (Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
63
|
-
def self.[]: (?economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
64
|
-
| (Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
61
|
+
def self.new: (?economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_simulation: Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
62
|
+
| (Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
63
|
+
def self.[]: (?economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?, ?economics_simulation: Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
64
|
+
| (Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?, Array[Peddler::DataKiosk::Economics20240315::Economics]?) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
65
65
|
|
|
66
|
-
def self.members: () -> [ :economics, :economics_preview ]
|
|
66
|
+
def self.members: () -> [ :economics, :economics_preview, :economics_simulation ]
|
|
67
67
|
|
|
68
68
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::DataKiosk::Economics20240315::AnalyticsEconomics20240315
|
|
69
69
|
|
|
70
70
|
attr_reader economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?
|
|
71
71
|
attr_reader economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?
|
|
72
|
+
attr_reader economics_simulation: Array[Peddler::DataKiosk::Economics20240315::Economics]?
|
|
72
73
|
|
|
73
|
-
def members: () -> [ :economics, :economics_preview ]
|
|
74
|
-
def to_h: () -> { economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]? }
|
|
74
|
+
def members: () -> [ :economics, :economics_preview, :economics_simulation ]
|
|
75
|
+
def to_h: () -> { economics: Array[Peddler::DataKiosk::Economics20240315::Economics]?, economics_preview: Array[Peddler::DataKiosk::Economics20240315::Economics]?, economics_simulation: Array[Peddler::DataKiosk::Economics20240315::Economics]? }
|
|
75
76
|
end
|
|
76
77
|
|
|
77
78
|
class Economics < Data
|
|
@@ -406,19 +406,20 @@ module Peddler
|
|
|
406
406
|
end
|
|
407
407
|
|
|
408
408
|
class Traffic < Data
|
|
409
|
-
def self.new: (?glance_views: String?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
410
|
-
| (String?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
411
|
-
def self.[]: (?glance_views: String?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
412
|
-
| (String?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
409
|
+
def self.new: (?glance_views: String?, ?lost_featured_offer: Float?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
410
|
+
| (String?, Float?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
411
|
+
def self.[]: (?glance_views: String?, ?lost_featured_offer: Float?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
412
|
+
| (String?, Float?) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
413
413
|
|
|
414
|
-
def self.members: () -> [ :glance_views ]
|
|
414
|
+
def self.members: () -> [ :glance_views, :lost_featured_offer ]
|
|
415
415
|
|
|
416
416
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::DataKiosk::VendorAnalytics20240930::Traffic
|
|
417
417
|
|
|
418
418
|
attr_reader glance_views: String?
|
|
419
|
+
attr_reader lost_featured_offer: Float?
|
|
419
420
|
|
|
420
|
-
def members: () -> [ :glance_views ]
|
|
421
|
-
def to_h: () -> { glance_views: String? }
|
|
421
|
+
def members: () -> [ :glance_views, :lost_featured_offer ]
|
|
422
|
+
def to_h: () -> { glance_views: String?, lost_featured_offer: Float? }
|
|
422
423
|
end
|
|
423
424
|
|
|
424
425
|
class UnitsWithValue < Data
|
data/sig/peddler.rbs
CHANGED
|
@@ -31,6 +31,10 @@ module Peddler
|
|
|
31
31
|
|
|
32
32
|
def self.data_kiosk_2023_11_15: () -> singleton(APIs::DataKiosk20231115)
|
|
33
33
|
|
|
34
|
+
def self.delivery_by_amazon: () -> singleton(APIs::DeliveryByAmazon20220701)
|
|
35
|
+
|
|
36
|
+
def self.delivery_by_amazon_2022_07_01: () -> singleton(APIs::DeliveryByAmazon20220701)
|
|
37
|
+
|
|
34
38
|
def self.easy_ship: () -> singleton(APIs::EasyShip20220323)
|
|
35
39
|
|
|
36
40
|
def self.easy_ship_2022_03_23: () -> singleton(APIs::EasyShip20220323)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: peddler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hakan Ensari
|
|
@@ -310,6 +310,12 @@ files:
|
|
|
310
310
|
- lib/peddler/apis/data_kiosk_2023_11_15/get_queries_response.rb
|
|
311
311
|
- lib/peddler/apis/data_kiosk_2023_11_15/query.rb
|
|
312
312
|
- lib/peddler/apis/data_kiosk_2023_11_15/query_list.rb
|
|
313
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01.rb
|
|
314
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01/error.rb
|
|
315
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01/error_list.rb
|
|
316
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01/get_invoice_status_response.rb
|
|
317
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_request.rb
|
|
318
|
+
- lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_response.rb
|
|
313
319
|
- lib/peddler/apis/easy_ship_2022_03_23.rb
|
|
314
320
|
- lib/peddler/apis/easy_ship_2022_03_23/create_scheduled_package_request.rb
|
|
315
321
|
- lib/peddler/apis/easy_ship_2022_03_23/create_scheduled_packages_request.rb
|
|
@@ -511,6 +517,8 @@ files:
|
|
|
511
517
|
- lib/peddler/apis/finances_v0/debt_recovery_item_list.rb
|
|
512
518
|
- lib/peddler/apis/finances_v0/direct_payment.rb
|
|
513
519
|
- lib/peddler/apis/finances_v0/direct_payment_list.rb
|
|
520
|
+
- lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event.rb
|
|
521
|
+
- lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event_list.rb
|
|
514
522
|
- lib/peddler/apis/finances_v0/error.rb
|
|
515
523
|
- lib/peddler/apis/finances_v0/error_list.rb
|
|
516
524
|
- lib/peddler/apis/finances_v0/failed_adhoc_disbursement_event.rb
|
|
@@ -1285,7 +1293,6 @@ files:
|
|
|
1285
1293
|
- lib/peddler/apis/sales_v1/order_metrics_interval.rb
|
|
1286
1294
|
- lib/peddler/apis/sales_v1/order_metrics_list.rb
|
|
1287
1295
|
- lib/peddler/apis/seller_wallet_2024_03_01.rb
|
|
1288
|
-
- lib/peddler/apis/seller_wallet_2024_03_01/account_holder_address.rb
|
|
1289
1296
|
- lib/peddler/apis/seller_wallet_2024_03_01/balance.rb
|
|
1290
1297
|
- lib/peddler/apis/seller_wallet_2024_03_01/balance_listing.rb
|
|
1291
1298
|
- lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb
|
|
@@ -1296,6 +1303,7 @@ files:
|
|
|
1296
1303
|
- lib/peddler/apis/seller_wallet_2024_03_01/error_list.rb
|
|
1297
1304
|
- lib/peddler/apis/seller_wallet_2024_03_01/fee.rb
|
|
1298
1305
|
- lib/peddler/apis/seller_wallet_2024_03_01/fx_rate_details.rb
|
|
1306
|
+
- lib/peddler/apis/seller_wallet_2024_03_01/payee_contact_information.rb
|
|
1299
1307
|
- lib/peddler/apis/seller_wallet_2024_03_01/payment_preference.rb
|
|
1300
1308
|
- lib/peddler/apis/seller_wallet_2024_03_01/schedule_expression.rb
|
|
1301
1309
|
- lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb
|
|
@@ -1916,13 +1924,12 @@ files:
|
|
|
1916
1924
|
- lib/peddler/apis/vendor_shipments_v1/location.rb
|
|
1917
1925
|
- lib/peddler/apis/vendor_shipments_v1/package_item_details.rb
|
|
1918
1926
|
- lib/peddler/apis/vendor_shipments_v1/packed_items.rb
|
|
1919
|
-
- lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb
|
|
1920
1927
|
- lib/peddler/apis/vendor_shipments_v1/pagination.rb
|
|
1921
1928
|
- lib/peddler/apis/vendor_shipments_v1/pallet.rb
|
|
1922
1929
|
- lib/peddler/apis/vendor_shipments_v1/party_identification.rb
|
|
1923
|
-
- lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb
|
|
1924
1930
|
- lib/peddler/apis/vendor_shipments_v1/purchase_order_items.rb
|
|
1925
1931
|
- lib/peddler/apis/vendor_shipments_v1/purchase_orders.rb
|
|
1932
|
+
- lib/peddler/apis/vendor_shipments_v1/regulation_references.rb
|
|
1926
1933
|
- lib/peddler/apis/vendor_shipments_v1/route.rb
|
|
1927
1934
|
- lib/peddler/apis/vendor_shipments_v1/shipment.rb
|
|
1928
1935
|
- lib/peddler/apis/vendor_shipments_v1/shipment_confirmation.rb
|
|
@@ -2341,6 +2348,7 @@ files:
|
|
|
2341
2348
|
- sig/peddler/apis/catalog_items_v0.rbs
|
|
2342
2349
|
- sig/peddler/apis/customer_feedback_2024_06_01.rbs
|
|
2343
2350
|
- sig/peddler/apis/data_kiosk_2023_11_15.rbs
|
|
2351
|
+
- sig/peddler/apis/delivery_by_amazon_2022_07_01.rbs
|
|
2344
2352
|
- sig/peddler/apis/easy_ship_2022_03_23.rbs
|
|
2345
2353
|
- sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs
|
|
2346
2354
|
- sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs
|
|
@@ -2478,7 +2486,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
2478
2486
|
- !ruby/object:Gem::Version
|
|
2479
2487
|
version: '0'
|
|
2480
2488
|
requirements: []
|
|
2481
|
-
rubygems_version:
|
|
2489
|
+
rubygems_version: 4.0.3
|
|
2482
2490
|
specification_version: 4
|
|
2483
2491
|
summary: Amazon Selling Partner API (SP-API) in Ruby
|
|
2484
2492
|
test_files: []
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class SellerWallet20240301
|
|
10
|
-
# Address for bank account verification of the Payee. For example, this can be a person or business mailing
|
|
11
|
-
# address
|
|
12
|
-
AccountHolderAddress = Structure.new do
|
|
13
|
-
# @return [String] Address Line 1 of the public address
|
|
14
|
-
attribute(:address_line1, String, from: "addressLine1")
|
|
15
|
-
|
|
16
|
-
# @return [String] City name of the public address
|
|
17
|
-
attribute(:city, String)
|
|
18
|
-
|
|
19
|
-
# @return [String] The two digit country code, in ISO 3166 format.
|
|
20
|
-
attribute(:country_code, String, from: "countryCode")
|
|
21
|
-
|
|
22
|
-
# @return [String] Postal code of the public address
|
|
23
|
-
attribute(:postal_code, String, from: "postalCode")
|
|
24
|
-
|
|
25
|
-
# @return [String] State name of the public address. This is the state or region for China-based addresses.
|
|
26
|
-
attribute(:state, String)
|
|
27
|
-
|
|
28
|
-
# @return [String] Address Line 2 of the public address
|
|
29
|
-
attribute?(:address_line2, String, from: "addressLine2")
|
|
30
|
-
|
|
31
|
-
# @return [String] Country name of the public address
|
|
32
|
-
attribute?(:country, String)
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class VendorShipmentsV1
|
|
10
|
-
# Details of item quantity.
|
|
11
|
-
PackedQuantity = Structure.new do
|
|
12
|
-
# @return [Integer] Amount of units shipped for a specific item at a shipment level. If the item is present only
|
|
13
|
-
# in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet
|
|
14
|
-
# level.
|
|
15
|
-
attribute(:amount, Integer)
|
|
16
|
-
|
|
17
|
-
# @return [String] Unit of measure for the shipped quantity.
|
|
18
|
-
attribute(:unit_of_measure, String, from: "unitOfMeasure")
|
|
19
|
-
|
|
20
|
-
# @return [Integer] The case size, in the event that we ordered using cases. Otherwise, 1.
|
|
21
|
-
attribute?(:unit_size, Integer, from: "unitSize")
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class VendorShipmentsV1
|
|
10
|
-
# Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever
|
|
11
|
-
# is appropriate.
|
|
12
|
-
PurchaseOrderItemDetails = Structure.new do
|
|
13
|
-
# @return [Money] Maximum retail price of the item being shipped.
|
|
14
|
-
attribute?(:maximum_retail_price, Money, from: "maximumRetailPrice")
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|