peddler 5.1.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_ineligible_reason.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_product.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment_summary.rb +30 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order.rb +48 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_creation_data.rb +21 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_listing.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_reference.rb +18 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_preferences.rb +17 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +70 -0
- data/lib/peddler/apis/finances_2024_06_19.rb +4 -4
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb +2 -1
- data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +2 -0
- data/lib/peddler/apis/invoices_2024_06_19/carrier_details_context.rb +38 -0
- data/lib/peddler/apis/invoices_2024_06_19/government_invoice_request.rb +36 -0
- data/lib/peddler/apis/invoices_2024_06_19/government_invoice_status_response.rb +23 -0
- data/lib/peddler/apis/invoices_2024_06_19/govt_invoice_document_response.rb +17 -0
- data/lib/peddler/apis/invoices_2024_06_19/invoice_document.rb +18 -0
- data/lib/peddler/apis/invoices_2024_06_19/invoice_error.rb +20 -0
- data/lib/peddler/apis/invoices_2024_06_19.rb +66 -0
- data/lib/peddler/apis/messaging_v1.rb +0 -20
- data/lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb +29 -0
- data/lib/peddler/apis/orders_2026_01_01/alias.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/associated_order.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/business_hour.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/buyer.rb +28 -0
- data/lib/peddler/apis/orders_2026_01_01/customer_address.rb +66 -0
- data/lib/peddler/apis/orders_2026_01_01/date_time_range.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/delivery_preference.rb +28 -0
- data/lib/peddler/apis/orders_2026_01_01/error.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/error_list.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/exception_date.rb +25 -0
- data/lib/peddler/apis/orders_2026_01_01/get_order_response.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/gift_option.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/hour_minute.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/item_cancellation.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/item_condition.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_customization.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_expense.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb +29 -0
- data/lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb +19 -0
- data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +18 -0
- data/lib/peddler/apis/orders_2026_01_01/item_points_cost.rb +18 -0
- data/lib/peddler/apis/orders_2026_01_01/item_price.rb +24 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +25 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/item_product.rb +36 -0
- data/lib/peddler/apis/orders_2026_01_01/item_promotion.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_shipping.rb +24 -0
- data/lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/measurement.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/merchant_address.rb +44 -0
- data/lib/peddler/apis/orders_2026_01_01/order.rb +63 -0
- data/lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb +37 -0
- data/lib/peddler/apis/orders_2026_01_01/order_item.rb +48 -0
- data/lib/peddler/apis/orders_2026_01_01/order_package.rb +47 -0
- data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/package_item.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/package_status.rb +32 -0
- data/lib/peddler/apis/orders_2026_01_01/pagination.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/points_granted.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/recipient.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/sales_channel.rb +26 -0
- data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +35 -0
- data/lib/peddler/apis/orders_2026_01_01/time_window.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01.rb +93 -0
- data/lib/peddler/apis/orders_v0.rb +2 -2
- data/lib/peddler/apis/product_pricing_v0/get_offers_result.rb +3 -3
- data/lib/peddler/apis/vendor_shipments_v1/item_details.rb +16 -0
- data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +0 -16
- data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +9 -11
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +37 -0
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +40 -8
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_traffic.rb +19 -6
- data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +273 -13
- data/lib/peddler/notifications/any_offer_changed/notification.rb +3 -3
- data/lib/peddler/notifications/b2b_any_offer_changed/b2b_any_offer_changed_notification.rb +6 -6
- data/lib/peddler/notifications/b2b_any_offer_changed/buy_box_price.rb +12 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/lowest_price.rb +11 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/notification.rb +10 -13
- data/lib/peddler/notifications/b2b_any_offer_changed/notification_metadata.rb +8 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/offer.rb +25 -23
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/payload.rb +2 -2
- data/lib/peddler/notifications/b2b_any_offer_changed/points.rb +16 -0
- data/lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb +3 -3
- data/lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/shipping_time.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/ships_from.rb +4 -1
- data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +8 -8
- data/lib/peddler/version.rb +1 -1
- data/lib/peddler.rb +2 -1
- data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +153 -0
- data/sig/peddler/apis/invoices_2024_06_19.rbs +115 -0
- data/sig/peddler/apis/messaging_v1.rbs +0 -34
- data/sig/peddler/apis/orders_2026_01_01.rbs +940 -0
- data/sig/peddler/apis/product_pricing_v0.rbs +7 -7
- data/sig/peddler/apis/vendor_shipments_v1.rbs +18 -18
- data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +41 -21
- data/sig/peddler/notifications/any_offer_changed.rbs +7 -7
- data/sig/peddler/notifications/b2b_any_offer_changed.rbs +58 -38
- data/sig/peddler.rbs +3 -1
- metadata +69 -12
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb +0 -19
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb +0 -17
- data/lib/peddler/notifications/mfn_order_status_change/notification.rb +0 -32
- data/lib/peddler/notifications/mfn_order_status_change/payload.rb +0 -17
- data/lib/peddler/notifications/mfn_order_status_change.rb +0 -18
- data/lib/peddler/notifications/order_status_change/notification.rb +0 -32
- data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +0 -48
- data/lib/peddler/notifications/order_status_change/payload.rb +0 -17
- data/lib/peddler/notifications/order_status_change.rb +0 -18
- data/sig/peddler/notifications/mfn_order_status_change.rbs +0 -44
- data/sig/peddler/notifications/order_status_change.rbs +0 -70
|
@@ -18,6 +18,29 @@ module Peddler
|
|
|
18
18
|
def to_h: () -> { description: String?, value: String? }
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
class CarrierDetailsContext < Data
|
|
22
|
+
def self.new: (?address: String?, ?context_type: String?, ?federal_tax_id: String?, ?name: String?, ?region_code: String?, ?region_tax_id: String?, ?vehicle_license_plate: String?, ?vehicle_registration_region_code: String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
|
|
23
|
+
| (String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
|
|
24
|
+
def self.[]: (?address: String?, ?context_type: String?, ?federal_tax_id: String?, ?name: String?, ?region_code: String?, ?region_tax_id: String?, ?vehicle_license_plate: String?, ?vehicle_registration_region_code: String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
|
|
25
|
+
| (String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
|
|
26
|
+
|
|
27
|
+
def self.members: () -> [ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]
|
|
28
|
+
|
|
29
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
|
|
30
|
+
|
|
31
|
+
attr_reader address: String?
|
|
32
|
+
attr_reader context_type: String?
|
|
33
|
+
attr_reader federal_tax_id: String?
|
|
34
|
+
attr_reader name: String?
|
|
35
|
+
attr_reader region_code: String?
|
|
36
|
+
attr_reader region_tax_id: String?
|
|
37
|
+
attr_reader vehicle_license_plate: String?
|
|
38
|
+
attr_reader vehicle_registration_region_code: String?
|
|
39
|
+
|
|
40
|
+
def members: () -> [ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]
|
|
41
|
+
def to_h: () -> { address: String?, context_type: String?, federal_tax_id: String?, name: String?, region_code: String?, region_tax_id: String?, vehicle_license_plate: String?, vehicle_registration_region_code: String? }
|
|
42
|
+
end
|
|
43
|
+
|
|
21
44
|
class Error < Data
|
|
22
45
|
def self.new: (code: String?, message: String?, ?details: String?) -> Peddler::APIs::Invoices20240619::Error
|
|
23
46
|
| (String?, String?, String?) -> Peddler::APIs::Invoices20240619::Error
|
|
@@ -212,6 +235,61 @@ module Peddler
|
|
|
212
235
|
def to_h: () -> { invoices: Array[Peddler::APIs::Invoices20240619::Invoice]?, next_token: String? }
|
|
213
236
|
end
|
|
214
237
|
|
|
238
|
+
class GovernmentInvoiceRequest < Data
|
|
239
|
+
def self.new: (invoice_type: String?, marketplace_id: String?, shipment_id: String?, transaction_type: String?, ?contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, ?inbound_plan_id: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
|
|
240
|
+
| (String?, String?, String?, String?, Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
|
|
241
|
+
def self.[]: (invoice_type: String?, marketplace_id: String?, shipment_id: String?, transaction_type: String?, ?contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, ?inbound_plan_id: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
|
|
242
|
+
| (String?, String?, String?, String?, Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
|
|
243
|
+
|
|
244
|
+
def self.members: () -> [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
|
|
245
|
+
|
|
246
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceRequest
|
|
247
|
+
|
|
248
|
+
attr_reader contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?
|
|
249
|
+
attr_reader inbound_plan_id: String?
|
|
250
|
+
attr_reader invoice_type: String?
|
|
251
|
+
attr_reader marketplace_id: String?
|
|
252
|
+
attr_reader shipment_id: String?
|
|
253
|
+
attr_reader transaction_type: String?
|
|
254
|
+
|
|
255
|
+
def members: () -> [ :invoice_type, :marketplace_id, :shipment_id, :transaction_type, :contexts, :inbound_plan_id ]
|
|
256
|
+
def to_h: () -> { invoice_type: String?, marketplace_id: String?, shipment_id: String?, transaction_type: String?, contexts: Array[Peddler::APIs::Invoices20240619::CarrierDetailsContext]?, inbound_plan_id: String? }
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class GovernmentInvoiceStatusResponse < Data
|
|
260
|
+
def self.new: (?invoice_errors: Array[Peddler::APIs::Invoices20240619::InvoiceError]?, ?invoice_external_document_id: String?, ?status: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceStatusResponse
|
|
261
|
+
| (Array[Peddler::APIs::Invoices20240619::InvoiceError]?, String?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceStatusResponse
|
|
262
|
+
def self.[]: (?invoice_errors: Array[Peddler::APIs::Invoices20240619::InvoiceError]?, ?invoice_external_document_id: String?, ?status: String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceStatusResponse
|
|
263
|
+
| (Array[Peddler::APIs::Invoices20240619::InvoiceError]?, String?, String?) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceStatusResponse
|
|
264
|
+
|
|
265
|
+
def self.members: () -> [ :invoice_errors, :invoice_external_document_id, :status ]
|
|
266
|
+
|
|
267
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::GovernmentInvoiceStatusResponse
|
|
268
|
+
|
|
269
|
+
attr_reader invoice_errors: Array[Peddler::APIs::Invoices20240619::InvoiceError]?
|
|
270
|
+
attr_reader invoice_external_document_id: String?
|
|
271
|
+
attr_reader status: String?
|
|
272
|
+
|
|
273
|
+
def members: () -> [ :invoice_errors, :invoice_external_document_id, :status ]
|
|
274
|
+
def to_h: () -> { invoice_errors: Array[Peddler::APIs::Invoices20240619::InvoiceError]?, invoice_external_document_id: String?, status: String? }
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class GovtInvoiceDocumentResponse < Data
|
|
278
|
+
def self.new: (?invoice_document: Peddler::APIs::Invoices20240619::InvoiceDocument?) -> Peddler::APIs::Invoices20240619::GovtInvoiceDocumentResponse
|
|
279
|
+
| (Peddler::APIs::Invoices20240619::InvoiceDocument?) -> Peddler::APIs::Invoices20240619::GovtInvoiceDocumentResponse
|
|
280
|
+
def self.[]: (?invoice_document: Peddler::APIs::Invoices20240619::InvoiceDocument?) -> Peddler::APIs::Invoices20240619::GovtInvoiceDocumentResponse
|
|
281
|
+
| (Peddler::APIs::Invoices20240619::InvoiceDocument?) -> Peddler::APIs::Invoices20240619::GovtInvoiceDocumentResponse
|
|
282
|
+
|
|
283
|
+
def self.members: () -> [ :invoice_document ]
|
|
284
|
+
|
|
285
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::GovtInvoiceDocumentResponse
|
|
286
|
+
|
|
287
|
+
attr_reader invoice_document: Peddler::APIs::Invoices20240619::InvoiceDocument?
|
|
288
|
+
|
|
289
|
+
def members: () -> [ :invoice_document ]
|
|
290
|
+
def to_h: () -> { invoice_document: Peddler::APIs::Invoices20240619::InvoiceDocument? }
|
|
291
|
+
end
|
|
292
|
+
|
|
215
293
|
class Invoice < Data
|
|
216
294
|
def self.new: (?date: Time?, ?error_code: String?, ?external_invoice_id: String?, ?gov_response: String?, ?id: String?, ?invoice_type: String?, ?series: String?, ?status: String?, ?transaction_ids: Array[Peddler::APIs::Invoices20240619::TransactionIdentifier]?, ?transaction_type: String?) -> Peddler::APIs::Invoices20240619::Invoice
|
|
217
295
|
| (Time?, String?, String?, String?, String?, String?, String?, String?, Array[Peddler::APIs::Invoices20240619::TransactionIdentifier]?, String?) -> Peddler::APIs::Invoices20240619::Invoice
|
|
@@ -237,6 +315,39 @@ module Peddler
|
|
|
237
315
|
def to_h: () -> { date: Time?, error_code: String?, external_invoice_id: String?, gov_response: String?, id: String?, invoice_type: String?, series: String?, status: String?, transaction_ids: Array[Peddler::APIs::Invoices20240619::TransactionIdentifier]?, transaction_type: String? }
|
|
238
316
|
end
|
|
239
317
|
|
|
318
|
+
class InvoiceDocument < Data
|
|
319
|
+
def self.new: (?invoice_document_url: String?) -> Peddler::APIs::Invoices20240619::InvoiceDocument
|
|
320
|
+
| (String?) -> Peddler::APIs::Invoices20240619::InvoiceDocument
|
|
321
|
+
def self.[]: (?invoice_document_url: String?) -> Peddler::APIs::Invoices20240619::InvoiceDocument
|
|
322
|
+
| (String?) -> Peddler::APIs::Invoices20240619::InvoiceDocument
|
|
323
|
+
|
|
324
|
+
def self.members: () -> [ :invoice_document_url ]
|
|
325
|
+
|
|
326
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::InvoiceDocument
|
|
327
|
+
|
|
328
|
+
attr_reader invoice_document_url: String?
|
|
329
|
+
|
|
330
|
+
def members: () -> [ :invoice_document_url ]
|
|
331
|
+
def to_h: () -> { invoice_document_url: String? }
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
class InvoiceError < Data
|
|
335
|
+
def self.new: (?description: String?, ?error_code: String?) -> Peddler::APIs::Invoices20240619::InvoiceError
|
|
336
|
+
| (String?, String?) -> Peddler::APIs::Invoices20240619::InvoiceError
|
|
337
|
+
def self.[]: (?description: String?, ?error_code: String?) -> Peddler::APIs::Invoices20240619::InvoiceError
|
|
338
|
+
| (String?, String?) -> Peddler::APIs::Invoices20240619::InvoiceError
|
|
339
|
+
|
|
340
|
+
def self.members: () -> [ :description, :error_code ]
|
|
341
|
+
|
|
342
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Invoices20240619::InvoiceError
|
|
343
|
+
|
|
344
|
+
attr_reader description: String?
|
|
345
|
+
attr_reader error_code: String?
|
|
346
|
+
|
|
347
|
+
def members: () -> [ :description, :error_code ]
|
|
348
|
+
def to_h: () -> { description: String?, error_code: String? }
|
|
349
|
+
end
|
|
350
|
+
|
|
240
351
|
class InvoicesAttributes < Data
|
|
241
352
|
def self.new: (?invoice_status_options: Array[Peddler::APIs::Invoices20240619::AttributeOption]?, ?invoice_type_options: Array[Peddler::APIs::Invoices20240619::AttributeOption]?, ?transaction_identifier_name_options: Array[Peddler::APIs::Invoices20240619::AttributeOption]?, ?transaction_type_options: Array[Peddler::APIs::Invoices20240619::AttributeOption]?) -> Peddler::APIs::Invoices20240619::InvoicesAttributes
|
|
242
353
|
| (Array[Peddler::APIs::Invoices20240619::AttributeOption]?, Array[Peddler::APIs::Invoices20240619::AttributeOption]?, Array[Peddler::APIs::Invoices20240619::AttributeOption]?, Array[Peddler::APIs::Invoices20240619::AttributeOption]?) -> Peddler::APIs::Invoices20240619::InvoicesAttributes
|
|
@@ -290,8 +401,12 @@ module Peddler
|
|
|
290
401
|
def to_h: () -> { id: String?, name: String? }
|
|
291
402
|
end
|
|
292
403
|
|
|
404
|
+
def create_government_invoice: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
293
405
|
def create_invoices_export: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
294
406
|
|
|
407
|
+
def get_government_invoice_document: (String, String, String, String, ?inbound_plan_id: String?, ?file_format: String?, ?rate_limit: Float) -> Peddler::Response
|
|
408
|
+
def get_government_invoice_status: (String, String, String, String, ?inbound_plan_id: String?, ?rate_limit: Float) -> Peddler::Response
|
|
409
|
+
|
|
295
410
|
def get_invoice: (String, String, ?rate_limit: Float) -> Peddler::Response
|
|
296
411
|
def get_invoices: (String, ?transaction_identifier_name: String?, ?page_size: Integer?, ?date_end: String?, ?transaction_type: String?, ?transaction_identifier_id: String?, ?date_start: String?, ?series: String?, ?next_token: String?, ?sort_order: String?, ?invoice_type: String?, ?statuses: Array[String]?, ?external_invoice_id: String?, ?sort_by: String?, ?rate_limit: Float) -> Peddler::Response
|
|
297
412
|
def get_invoices_attributes: (String, ?rate_limit: Float) -> Peddler::Response
|
|
@@ -18,38 +18,6 @@ module Peddler
|
|
|
18
18
|
def to_h: () -> { file_name: String?, upload_destination_id: String? }
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
class CreateAmazonMotorsRequest < Data
|
|
22
|
-
def self.new: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
23
|
-
| (Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
24
|
-
def self.[]: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
25
|
-
| (Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
26
|
-
|
|
27
|
-
def self.members: () -> [ :attachments ]
|
|
28
|
-
|
|
29
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
30
|
-
|
|
31
|
-
attr_reader attachments: Array[Peddler::APIs::MessagingV1::Attachment]?
|
|
32
|
-
|
|
33
|
-
def members: () -> [ :attachments ]
|
|
34
|
-
def to_h: () -> { attachments: Array[Peddler::APIs::MessagingV1::Attachment]? }
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class CreateAmazonMotorsResponse < Data
|
|
38
|
-
def self.new: (?errors: Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
39
|
-
| (Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
40
|
-
def self.[]: (?errors: Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
41
|
-
| (Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
42
|
-
|
|
43
|
-
def self.members: () -> [ :errors ]
|
|
44
|
-
|
|
45
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
46
|
-
|
|
47
|
-
attr_reader errors: Array[Peddler::APIs::MessagingV1::Error]?
|
|
48
|
-
|
|
49
|
-
def members: () -> [ :errors ]
|
|
50
|
-
def to_h: () -> { errors: Array[Peddler::APIs::MessagingV1::Error]? }
|
|
51
|
-
end
|
|
52
|
-
|
|
53
21
|
class CreateConfirmCustomizationDetailsRequest < Data
|
|
54
22
|
def self.new: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?, ?text: String?) -> Peddler::APIs::MessagingV1::CreateConfirmCustomizationDetailsRequest
|
|
55
23
|
| (Array[Peddler::APIs::MessagingV1::Attachment]?, String?) -> Peddler::APIs::MessagingV1::CreateConfirmCustomizationDetailsRequest
|
|
@@ -470,8 +438,6 @@ module Peddler
|
|
|
470
438
|
end
|
|
471
439
|
|
|
472
440
|
def confirm_customization_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
473
|
-
|
|
474
|
-
def create_amazon_motors: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
475
441
|
def create_confirm_delivery_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
476
442
|
|
|
477
443
|
def create_confirm_order_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|