peddler 5.4.0 → 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.
- checksums.yaml +4 -4
- data/README.md +20 -1
- data/lib/peddler/api.rb +28 -4
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/order_attribute.rb +20 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_execution_error.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_listing.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order.rb +60 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_creation_data.rb +23 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_order_reference.rb +18 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment.rb +43 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/shipment_label_page_types.rb +20 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +100 -0
- data/lib/peddler/apis/listings_restrictions_2021_08_01/restriction_list.rb +1 -1
- data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +4 -1
- data/lib/peddler/apis/notifications_v1/aggregation_filter.rb +2 -2
- data/lib/peddler/apis/notifications_v1/destination.rb +1 -1
- data/lib/peddler/apis/notifications_v1/event_bridge_resource.rb +2 -2
- data/lib/peddler/apis/notifications_v1/event_filter.rb +6 -6
- data/lib/peddler/apis/notifications_v1/marketplace_filter.rb +1 -1
- data/lib/peddler/apis/notifications_v1/marketplace_ids.rb +2 -2
- data/lib/peddler/apis/notifications_v1/order_change_type_filter.rb +2 -1
- data/lib/peddler/apis/notifications_v1/order_change_types.rb +2 -2
- data/lib/peddler/apis/notifications_v1/processing_directive.rb +18 -7
- data/lib/peddler/apis/notifications_v1/send_test_notification_request.rb +20 -0
- data/lib/peddler/apis/notifications_v1/send_test_notification_response.rb +20 -0
- data/lib/peddler/apis/notifications_v1/test_notification.rb +22 -0
- data/lib/peddler/apis/notifications_v1.rb +45 -17
- data/lib/peddler/apis/orders_2026_01_01/fulfillment_order.rb +19 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +5 -5
- data/lib/peddler/apis/orders_2026_01_01/order.rb +5 -0
- data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +5 -0
- data/lib/peddler/apis/orders_2026_01_01/order_proceeds_breakdown.rb +30 -0
- data/lib/peddler/apis/orders_v0/approved_alternative_details.rb +20 -0
- data/lib/peddler/apis/orders_v0/approved_attribute.rb +23 -0
- data/lib/peddler/apis/orders_v0/interim_status_detail.rb +24 -0
- data/lib/peddler/apis/orders_v0/regulated_order_verification_status.rb +5 -0
- data/lib/peddler/apis/orders_v0/valid_interim_status_code.rb +21 -0
- data/lib/peddler/apis/orders_v0/valid_verification_detail.rb +2 -1
- data/lib/peddler/apis/orders_v0/verification_details.rb +8 -0
- data/lib/peddler/apis/product_type_definitions_2020_09_01/error_list.rb +1 -1
- data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type.rb +1 -1
- data/lib/peddler/apis/product_type_definitions_2020_09_01/product_type_list.rb +1 -1
- data/lib/peddler/apis/product_type_definitions_2020_09_01/schema_link.rb +2 -1
- data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +12 -8
- data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request.rb +5 -0
- data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_request_filters.rb +48 -0
- data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +9 -9
- data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request.rb +2 -2
- data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_request_filters.rb +16 -3
- data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +8 -1
- data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request.rb +2 -2
- data/lib/peddler/apis/replenishment_2022_11_07/list_offers_request_filters.rb +2 -2
- data/lib/peddler/apis/replenishment_2022_11_07/time_interval.rb +10 -6
- data/lib/peddler/apis/services_v1/associated_item.rb +3 -0
- data/lib/peddler/apis/services_v1/linked_asset.rb +24 -0
- data/lib/peddler/apis/services_v1/service_job.rb +6 -0
- data/lib/peddler/apis/services_v1.rb +10 -4
- data/lib/peddler/apis/uploads_2020_11_01.rb +1 -1
- data/lib/peddler/notifications/order_change/notification.rb +4 -3
- data/lib/peddler/notifications/order_change/order_change_notification.rb +2 -2
- data/lib/peddler/notifications/order_change/order_change_trigger.rb +4 -4
- data/lib/peddler/notifications/order_change/order_item.rb +7 -7
- data/lib/peddler/notifications/order_change/summary.rb +17 -17
- data/lib/peddler/version.rb +1 -1
- data/sig/peddler/api.rbs +2 -0
- data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +167 -0
- data/sig/peddler/apis/listings_restrictions_2021_08_01.rbs +1 -1
- data/sig/peddler/apis/notifications_v1.rbs +61 -7
- data/sig/peddler/apis/orders_2026_01_01.rbs +59 -23
- data/sig/peddler/apis/orders_v0.rbs +73 -14
- data/sig/peddler/apis/product_type_definitions_2020_09_01.rbs +1 -1
- data/sig/peddler/apis/replenishment_2022_11_07.rbs +48 -21
- data/sig/peddler/apis/services_v1.rbs +36 -15
- metadata +21 -2
|
@@ -453,6 +453,23 @@ module Peddler
|
|
|
453
453
|
def to_h: () -> { weight: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageWeight, dimensions: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageDimensions?, volume: Peddler::APIs::AmazonWarehousingAndDistribution20240509::PackageVolume? }
|
|
454
454
|
end
|
|
455
455
|
|
|
456
|
+
class OrderAttribute < Data
|
|
457
|
+
def self.new: (order_preference: String, order_preference_value: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
|
|
458
|
+
| (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
|
|
459
|
+
def self.[]: (order_preference: String, order_preference_value: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
|
|
460
|
+
| (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
|
|
461
|
+
|
|
462
|
+
def self.members: () -> [ :order_preference, :order_preference_value ]
|
|
463
|
+
|
|
464
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute
|
|
465
|
+
|
|
466
|
+
attr_reader order_preference: String
|
|
467
|
+
attr_reader order_preference_value: String
|
|
468
|
+
|
|
469
|
+
def members: () -> [ :order_preference, :order_preference_value ]
|
|
470
|
+
def to_h: () -> { order_preference: String, order_preference_value: String }
|
|
471
|
+
end
|
|
472
|
+
|
|
456
473
|
class OrderIneligibilityReason < Data
|
|
457
474
|
def self.new: (code: String, description: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderIneligibilityReason
|
|
458
475
|
| (String, String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderIneligibilityReason
|
|
@@ -470,6 +487,128 @@ module Peddler
|
|
|
470
487
|
def to_h: () -> { code: String, description: String }
|
|
471
488
|
end
|
|
472
489
|
|
|
490
|
+
class OutboundExecutionError < Data
|
|
491
|
+
def self.new: (failure_code: String, failure_reasons: Array[String], ?sku: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
|
|
492
|
+
| (String, Array[String], String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
|
|
493
|
+
def self.[]: (failure_code: String, failure_reasons: Array[String], ?sku: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
|
|
494
|
+
| (String, Array[String], String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
|
|
495
|
+
|
|
496
|
+
def self.members: () -> [ :failure_code, :failure_reasons, :sku ]
|
|
497
|
+
|
|
498
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError
|
|
499
|
+
|
|
500
|
+
attr_reader failure_code: String
|
|
501
|
+
attr_reader failure_reasons: Array[String]
|
|
502
|
+
attr_reader sku: String?
|
|
503
|
+
|
|
504
|
+
def members: () -> [ :failure_code, :failure_reasons, :sku ]
|
|
505
|
+
def to_h: () -> { failure_code: String, failure_reasons: Array[String], sku: String? }
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
class OutboundListing < Data
|
|
509
|
+
def self.new: (?next_token: String?, ?outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
|
|
510
|
+
| (String?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
|
|
511
|
+
def self.[]: (?next_token: String?, ?outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
|
|
512
|
+
| (String?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
|
|
513
|
+
|
|
514
|
+
def self.members: () -> [ :next_token, :outbound_orders ]
|
|
515
|
+
|
|
516
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundListing
|
|
517
|
+
|
|
518
|
+
attr_reader next_token: String?
|
|
519
|
+
attr_reader outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]?
|
|
520
|
+
|
|
521
|
+
def members: () -> [ :next_token, :outbound_orders ]
|
|
522
|
+
def to_h: () -> { next_token: String?, outbound_orders: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder]? }
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
class OutboundOrder < Data
|
|
526
|
+
def self.new: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
|
|
527
|
+
| (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
|
|
528
|
+
def self.[]: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
|
|
529
|
+
| (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
|
|
530
|
+
|
|
531
|
+
def self.members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]
|
|
532
|
+
|
|
533
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
|
|
534
|
+
|
|
535
|
+
attr_reader confirmed_on: Time?
|
|
536
|
+
attr_reader created_at: Time?
|
|
537
|
+
attr_reader eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
|
|
538
|
+
attr_reader eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
|
|
539
|
+
attr_reader execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?
|
|
540
|
+
attr_reader order_id: String
|
|
541
|
+
attr_reader order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?
|
|
542
|
+
attr_reader order_status: String
|
|
543
|
+
attr_reader outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment]
|
|
544
|
+
attr_reader packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
|
|
545
|
+
attr_reader products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
|
|
546
|
+
attr_reader shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
|
|
547
|
+
attr_reader shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
|
|
548
|
+
attr_reader updated_at: Time?
|
|
549
|
+
|
|
550
|
+
def members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]
|
|
551
|
+
def to_h: () -> { order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], confirmed_on: Time?, created_at: Time?, eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
class OutboundOrderCreationData < Data
|
|
555
|
+
def self.new: (?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
|
|
556
|
+
| (Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
|
|
557
|
+
def self.[]: (?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
|
|
558
|
+
| (Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
|
|
559
|
+
|
|
560
|
+
def self.members: () -> [ :order_preferences, :packages_to_outbound, :products_to_outbound ]
|
|
561
|
+
|
|
562
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderCreationData
|
|
563
|
+
|
|
564
|
+
attr_reader order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?
|
|
565
|
+
attr_reader packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
|
|
566
|
+
attr_reader products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
|
|
567
|
+
|
|
568
|
+
def members: () -> [ :order_preferences, :packages_to_outbound, :products_to_outbound ]
|
|
569
|
+
def to_h: () -> { order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]? }
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
class OutboundOrderReference < Data
|
|
573
|
+
def self.new: (order_id: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
|
|
574
|
+
| (String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
|
|
575
|
+
def self.[]: (order_id: String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
|
|
576
|
+
| (String) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
|
|
577
|
+
|
|
578
|
+
def self.members: () -> [ :order_id ]
|
|
579
|
+
|
|
580
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrderReference
|
|
581
|
+
|
|
582
|
+
attr_reader order_id: String
|
|
583
|
+
|
|
584
|
+
def members: () -> [ :order_id ]
|
|
585
|
+
def to_h: () -> { order_id: String }
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
class OutboundShipment < Data
|
|
589
|
+
def self.new: (destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, ?created_at: Time?, ?shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
|
|
590
|
+
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, String, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
|
|
591
|
+
def self.[]: (destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, ?created_at: Time?, ?shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
|
|
592
|
+
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, String, String, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
|
|
593
|
+
|
|
594
|
+
def self.members: () -> [ :destination_address, :order_id, :origin_address, :shipment_id, :shipment_status, :created_at, :shipment_package_quantities, :shipment_product_quantities, :updated_at ]
|
|
595
|
+
|
|
596
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment
|
|
597
|
+
|
|
598
|
+
attr_reader created_at: Time?
|
|
599
|
+
attr_reader destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address
|
|
600
|
+
attr_reader order_id: String
|
|
601
|
+
attr_reader origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address
|
|
602
|
+
attr_reader shipment_id: String
|
|
603
|
+
attr_reader shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?
|
|
604
|
+
attr_reader shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?
|
|
605
|
+
attr_reader shipment_status: String
|
|
606
|
+
attr_reader updated_at: Time?
|
|
607
|
+
|
|
608
|
+
def members: () -> [ :destination_address, :order_id, :origin_address, :shipment_id, :shipment_status, :created_at, :shipment_package_quantities, :shipment_product_quantities, :updated_at ]
|
|
609
|
+
def to_h: () -> { destination_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, order_id: String, origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, shipment_id: String, shipment_status: String, created_at: Time?, shipment_package_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipment_product_quantities: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }
|
|
610
|
+
end
|
|
611
|
+
|
|
473
612
|
class OutboundShipmentSummary < Data
|
|
474
613
|
def self.new: (order_id: String, shipment_id: String, shipment_status: String, ?created_at: Time?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipmentSummary
|
|
475
614
|
| (String, String, String, Time?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipmentSummary
|
|
@@ -760,6 +899,23 @@ module Peddler
|
|
|
760
899
|
def to_h: () -> { expected_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity, sku: String, received_quantity: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InventoryQuantity? }
|
|
761
900
|
end
|
|
762
901
|
|
|
902
|
+
class ShipmentLabelPageTypes < Data
|
|
903
|
+
def self.new: (label_status: String, ?page_types: Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
|
|
904
|
+
| (String, Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
|
|
905
|
+
def self.[]: (label_status: String, ?page_types: Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
|
|
906
|
+
| (String, Array[untyped]?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
|
|
907
|
+
|
|
908
|
+
def self.members: () -> [ :label_status, :page_types ]
|
|
909
|
+
|
|
910
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabelPageTypes
|
|
911
|
+
|
|
912
|
+
attr_reader label_status: String
|
|
913
|
+
attr_reader page_types: Array[untyped]?
|
|
914
|
+
|
|
915
|
+
def members: () -> [ :label_status, :page_types ]
|
|
916
|
+
def to_h: () -> { label_status: String, page_types: Array[untyped]? }
|
|
917
|
+
end
|
|
918
|
+
|
|
763
919
|
class ShipmentLabels < Data
|
|
764
920
|
def self.new: (label_status: String, ?label_download_url: String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabels
|
|
765
921
|
| (String, String?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::ShipmentLabels
|
|
@@ -832,22 +988,33 @@ module Peddler
|
|
|
832
988
|
def check_inbound_eligibility: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
833
989
|
def confirm_inbound: (String, ?rate_limit: Float) -> Peddler::Response
|
|
834
990
|
|
|
991
|
+
def confirm_outbound: (String, ?rate_limit: Float) -> Peddler::Response
|
|
992
|
+
|
|
835
993
|
def confirm_replenishment_order: (String) -> Peddler::Response
|
|
836
994
|
def create_inbound: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
837
995
|
|
|
996
|
+
def create_outbound: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
997
|
+
|
|
838
998
|
def create_replenishment_order: (Hash[untyped, untyped]) -> Peddler::Response
|
|
839
999
|
def get_inbound: (String, ?rate_limit: Float) -> Peddler::Response
|
|
840
1000
|
|
|
841
1001
|
def get_inbound_shipment: (String, ?sku_quantities: String?, ?rate_limit: Float) -> Peddler::Response
|
|
842
1002
|
def get_inbound_shipment_labels: (String, ?page_type: String?, ?format_type: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1003
|
+
def get_label_page_types: (String, ?rate_limit: Float) -> Peddler::Response
|
|
1004
|
+
|
|
1005
|
+
def get_outbound: (String, ?rate_limit: Float) -> Peddler::Response
|
|
843
1006
|
|
|
844
1007
|
def get_replenishment_order: (String) -> Peddler::Response
|
|
845
1008
|
def list_inbound_shipments: (?sort_by: String?, ?sort_order: String?, ?shipment_status: String?, ?updated_after: String?, ?updated_before: String?, ?max_results: Integer?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
|
|
846
1009
|
def list_inventory: (?sku: String?, ?sort_order: String?, ?details: String?, ?next_token: String?, ?max_results: Integer?, ?rate_limit: Float) -> Peddler::Response
|
|
1010
|
+
def list_outbounds: (?updated_after: String?, ?updated_before: String?, ?sort_order: String?, ?max_results: Integer?, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1011
|
+
|
|
847
1012
|
def list_replenishment_orders: (?updated_after: String?, ?updated_before: String?, ?sort_order: String?, ?max_results: Integer?, ?next_token: String?) -> Peddler::Response
|
|
848
1013
|
def update_inbound: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
849
1014
|
|
|
850
1015
|
def update_inbound_shipment_transport_details: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
1016
|
+
|
|
1017
|
+
def update_outbound: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
851
1018
|
end
|
|
852
1019
|
end
|
|
853
1020
|
end
|
|
@@ -94,7 +94,7 @@ module Peddler
|
|
|
94
94
|
def to_h: () -> { restrictions: Array[Peddler::APIs::ListingsRestrictions20210801::Restriction] }
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
def get_listings_restrictions: (String, String, Array[String], ?condition_type: String?, ?reason_locale: String?, ?rate_limit: Float) -> Peddler::Response
|
|
97
|
+
def get_listings_restrictions: (String, String, Array[String], ?condition_type: String?, ?reason_locale: String?, ?product_type: String?, ?rate_limit: Float) -> Peddler::Response
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
end
|
|
@@ -375,19 +375,54 @@ module Peddler
|
|
|
375
375
|
end
|
|
376
376
|
|
|
377
377
|
class ProcessingDirective < Data
|
|
378
|
-
def self.new: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
379
|
-
| (Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
380
|
-
def self.[]: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
381
|
-
| (Peddler::APIs::NotificationsV1::EventFilter?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
378
|
+
def self.new: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?, ?filter_expression: String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
379
|
+
| (Peddler::APIs::NotificationsV1::EventFilter?, String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
380
|
+
def self.[]: (?event_filter: Peddler::APIs::NotificationsV1::EventFilter?, ?filter_expression: String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
381
|
+
| (Peddler::APIs::NotificationsV1::EventFilter?, String?) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
382
382
|
|
|
383
|
-
def self.members: () -> [ :event_filter ]
|
|
383
|
+
def self.members: () -> [ :event_filter, :filter_expression ]
|
|
384
384
|
|
|
385
385
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::ProcessingDirective
|
|
386
386
|
|
|
387
387
|
attr_reader event_filter: Peddler::APIs::NotificationsV1::EventFilter?
|
|
388
|
+
attr_reader filter_expression: String?
|
|
388
389
|
|
|
389
|
-
def members: () -> [ :event_filter ]
|
|
390
|
-
def to_h: () -> { event_filter: Peddler::APIs::NotificationsV1::EventFilter? }
|
|
390
|
+
def members: () -> [ :event_filter, :filter_expression ]
|
|
391
|
+
def to_h: () -> { event_filter: Peddler::APIs::NotificationsV1::EventFilter?, filter_expression: String? }
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
class SendTestNotificationRequest < Data
|
|
395
|
+
def self.new: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
|
|
396
|
+
| (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
|
|
397
|
+
def self.[]: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
|
|
398
|
+
| (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
|
|
399
|
+
|
|
400
|
+
def self.members: () -> [ :destination_id, :test_notification ]
|
|
401
|
+
|
|
402
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
|
|
403
|
+
|
|
404
|
+
attr_reader destination_id: String?
|
|
405
|
+
attr_reader test_notification: Peddler::APIs::NotificationsV1::TestNotification?
|
|
406
|
+
|
|
407
|
+
def members: () -> [ :destination_id, :test_notification ]
|
|
408
|
+
def to_h: () -> { destination_id: String?, test_notification: Peddler::APIs::NotificationsV1::TestNotification? }
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
class SendTestNotificationResponse < Data
|
|
412
|
+
def self.new: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
|
|
413
|
+
| (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
|
|
414
|
+
def self.[]: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
|
|
415
|
+
| (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
|
|
416
|
+
|
|
417
|
+
def self.members: () -> [ :errors, :payload ]
|
|
418
|
+
|
|
419
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
|
|
420
|
+
|
|
421
|
+
attr_reader errors: Array[Peddler::APIs::NotificationsV1::Error]?
|
|
422
|
+
attr_reader payload: String?
|
|
423
|
+
|
|
424
|
+
def members: () -> [ :errors, :payload ]
|
|
425
|
+
def to_h: () -> { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: String? }
|
|
391
426
|
end
|
|
392
427
|
|
|
393
428
|
class SqsResource < Data
|
|
@@ -425,6 +460,23 @@ module Peddler
|
|
|
425
460
|
def to_h: () -> { destination_id: String, payload_version: String, subscription_id: String, processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective? }
|
|
426
461
|
end
|
|
427
462
|
|
|
463
|
+
class TestNotification < Data
|
|
464
|
+
def self.new: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
|
|
465
|
+
| (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification
|
|
466
|
+
def self.[]: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
|
|
467
|
+
| (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification
|
|
468
|
+
|
|
469
|
+
def self.members: () -> [ :payload_version, :test_scenario ]
|
|
470
|
+
|
|
471
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::TestNotification
|
|
472
|
+
|
|
473
|
+
attr_reader payload_version: String
|
|
474
|
+
attr_reader test_scenario: String?
|
|
475
|
+
|
|
476
|
+
def members: () -> [ :payload_version, :test_scenario ]
|
|
477
|
+
def to_h: () -> { payload_version: String, test_scenario: String? }
|
|
478
|
+
end
|
|
479
|
+
|
|
428
480
|
def create_destination: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
429
481
|
def create_subscription: (Hash[untyped, untyped], String, ?rate_limit: Float) -> Peddler::Response
|
|
430
482
|
|
|
@@ -436,6 +488,8 @@ module Peddler
|
|
|
436
488
|
def get_subscription: (String, ?payload_version: String?, ?rate_limit: Float) -> Peddler::Response
|
|
437
489
|
|
|
438
490
|
def get_subscription_by_id: (String, String, ?rate_limit: Float) -> Peddler::Response
|
|
491
|
+
|
|
492
|
+
def send_test_notification: (Hash[untyped, untyped], String, ?rate_limit: Float) -> Peddler::Response
|
|
439
493
|
end
|
|
440
494
|
end
|
|
441
495
|
end
|
|
@@ -225,6 +225,22 @@ module Peddler
|
|
|
225
225
|
def to_h: () -> { exception_date: Date?, exception_date_type: String?, time_windows: Array[Peddler::APIs::Orders20260101::TimeWindow]? }
|
|
226
226
|
end
|
|
227
227
|
|
|
228
|
+
class FulfillmentOrder < Data
|
|
229
|
+
def self.new: (fulfillment_order_id: String) -> Peddler::APIs::Orders20260101::FulfillmentOrder
|
|
230
|
+
| (String) -> Peddler::APIs::Orders20260101::FulfillmentOrder
|
|
231
|
+
def self.[]: (fulfillment_order_id: String) -> Peddler::APIs::Orders20260101::FulfillmentOrder
|
|
232
|
+
| (String) -> Peddler::APIs::Orders20260101::FulfillmentOrder
|
|
233
|
+
|
|
234
|
+
def self.members: () -> [ :fulfillment_order_id ]
|
|
235
|
+
|
|
236
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::FulfillmentOrder
|
|
237
|
+
|
|
238
|
+
attr_reader fulfillment_order_id: String
|
|
239
|
+
|
|
240
|
+
def members: () -> [ :fulfillment_order_id ]
|
|
241
|
+
def to_h: () -> { fulfillment_order_id: String }
|
|
242
|
+
end
|
|
243
|
+
|
|
228
244
|
class GetOrderResponse < Data
|
|
229
245
|
def self.new: (order: Peddler::APIs::Orders20260101::Order) -> Peddler::APIs::Orders20260101::GetOrderResponse
|
|
230
246
|
| (Peddler::APIs::Orders20260101::Order) -> Peddler::APIs::Orders20260101::GetOrderResponse
|
|
@@ -478,21 +494,21 @@ module Peddler
|
|
|
478
494
|
end
|
|
479
495
|
|
|
480
496
|
class ItemProceedsBreakdown < Data
|
|
481
|
-
def self.new: (?detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]
|
|
482
|
-
| (Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]
|
|
483
|
-
def self.[]: (?detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]
|
|
484
|
-
| (Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]
|
|
497
|
+
def self.new: (subtotal: Peddler::Money, type: String, ?detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]?) -> Peddler::APIs::Orders20260101::ItemProceedsBreakdown
|
|
498
|
+
| (Peddler::Money, String, Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]?) -> Peddler::APIs::Orders20260101::ItemProceedsBreakdown
|
|
499
|
+
def self.[]: (subtotal: Peddler::Money, type: String, ?detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]?) -> Peddler::APIs::Orders20260101::ItemProceedsBreakdown
|
|
500
|
+
| (Peddler::Money, String, Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]?) -> Peddler::APIs::Orders20260101::ItemProceedsBreakdown
|
|
485
501
|
|
|
486
|
-
def self.members: () -> [ :
|
|
502
|
+
def self.members: () -> [ :subtotal, :type, :detailed_breakdowns ]
|
|
487
503
|
|
|
488
504
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemProceedsBreakdown
|
|
489
505
|
|
|
490
506
|
attr_reader detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]?
|
|
491
|
-
attr_reader subtotal: Peddler::Money
|
|
492
|
-
attr_reader type: String
|
|
507
|
+
attr_reader subtotal: Peddler::Money
|
|
508
|
+
attr_reader type: String
|
|
493
509
|
|
|
494
|
-
def members: () -> [ :
|
|
495
|
-
def to_h: () -> { detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]
|
|
510
|
+
def members: () -> [ :subtotal, :type, :detailed_breakdowns ]
|
|
511
|
+
def to_h: () -> { subtotal: Peddler::Money, type: String, detailed_breakdowns: Array[Peddler::APIs::Orders20260101::ItemProceedsDetailedBreakdown]? }
|
|
496
512
|
end
|
|
497
513
|
|
|
498
514
|
class ItemProceedsDetailedBreakdown < Data
|
|
@@ -734,12 +750,12 @@ module Peddler
|
|
|
734
750
|
end
|
|
735
751
|
|
|
736
752
|
class Order < Data
|
|
737
|
-
def self.new: (created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, ?associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, ?buyer: Peddler::APIs::Orders20260101::Buyer?, ?fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, ?order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, ?packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, ?payment: Peddler::APIs::Orders20260101::OrderPayment?, ?proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, ?programs: Array[String]?, ?recipient: Peddler::APIs::Orders20260101::Recipient?, ?tax: Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
738
|
-
| (Time, Time, String, Array[Peddler::APIs::Orders20260101::OrderItem], Peddler::APIs::Orders20260101::SalesChannel, Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, Peddler::APIs::Orders20260101::Buyer?, Peddler::APIs::Orders20260101::OrderFulfillment?, Array[Peddler::APIs::Orders20260101::Alias]?, Array[Peddler::APIs::Orders20260101::OrderPackage]?, Peddler::APIs::Orders20260101::OrderPayment?, Peddler::APIs::Orders20260101::OrderProceeds?, Array[String]?, Peddler::APIs::Orders20260101::Recipient?, Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
739
|
-
def self.[]: (created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, ?associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, ?buyer: Peddler::APIs::Orders20260101::Buyer?, ?fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, ?order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, ?packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, ?payment: Peddler::APIs::Orders20260101::OrderPayment?, ?proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, ?programs: Array[String]?, ?recipient: Peddler::APIs::Orders20260101::Recipient?, ?tax: Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
740
|
-
| (Time, Time, String, Array[Peddler::APIs::Orders20260101::OrderItem], Peddler::APIs::Orders20260101::SalesChannel, Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, Peddler::APIs::Orders20260101::Buyer?, Peddler::APIs::Orders20260101::OrderFulfillment?, Array[Peddler::APIs::Orders20260101::Alias]?, Array[Peddler::APIs::Orders20260101::OrderPackage]?, Peddler::APIs::Orders20260101::OrderPayment?, Peddler::APIs::Orders20260101::OrderProceeds?, Array[String]?, Peddler::APIs::Orders20260101::Recipient?, Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
753
|
+
def self.new: (created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, ?associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, ?buyer: Peddler::APIs::Orders20260101::Buyer?, ?fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, ?fulfillment_orders: Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?, ?order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, ?packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, ?payment: Peddler::APIs::Orders20260101::OrderPayment?, ?proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, ?programs: Array[String]?, ?recipient: Peddler::APIs::Orders20260101::Recipient?, ?tax: Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
754
|
+
| (Time, Time, String, Array[Peddler::APIs::Orders20260101::OrderItem], Peddler::APIs::Orders20260101::SalesChannel, Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, Peddler::APIs::Orders20260101::Buyer?, Peddler::APIs::Orders20260101::OrderFulfillment?, Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?, Array[Peddler::APIs::Orders20260101::Alias]?, Array[Peddler::APIs::Orders20260101::OrderPackage]?, Peddler::APIs::Orders20260101::OrderPayment?, Peddler::APIs::Orders20260101::OrderProceeds?, Array[String]?, Peddler::APIs::Orders20260101::Recipient?, Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
755
|
+
def self.[]: (created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, ?associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, ?buyer: Peddler::APIs::Orders20260101::Buyer?, ?fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, ?fulfillment_orders: Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?, ?order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, ?packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, ?payment: Peddler::APIs::Orders20260101::OrderPayment?, ?proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, ?programs: Array[String]?, ?recipient: Peddler::APIs::Orders20260101::Recipient?, ?tax: Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
756
|
+
| (Time, Time, String, Array[Peddler::APIs::Orders20260101::OrderItem], Peddler::APIs::Orders20260101::SalesChannel, Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, Peddler::APIs::Orders20260101::Buyer?, Peddler::APIs::Orders20260101::OrderFulfillment?, Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?, Array[Peddler::APIs::Orders20260101::Alias]?, Array[Peddler::APIs::Orders20260101::OrderPackage]?, Peddler::APIs::Orders20260101::OrderPayment?, Peddler::APIs::Orders20260101::OrderProceeds?, Array[String]?, Peddler::APIs::Orders20260101::Recipient?, Peddler::APIs::Orders20260101::OrderTax?) -> Peddler::APIs::Orders20260101::Order
|
|
741
757
|
|
|
742
|
-
def self.members: () -> [ :created_time, :last_updated_time, :order_id, :order_items, :sales_channel, :associated_orders, :buyer, :fulfillment, :order_aliases, :packages, :payment, :proceeds, :programs, :recipient, :tax ]
|
|
758
|
+
def self.members: () -> [ :created_time, :last_updated_time, :order_id, :order_items, :sales_channel, :associated_orders, :buyer, :fulfillment, :fulfillment_orders, :order_aliases, :packages, :payment, :proceeds, :programs, :recipient, :tax ]
|
|
743
759
|
|
|
744
760
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::Order
|
|
745
761
|
|
|
@@ -747,6 +763,7 @@ module Peddler
|
|
|
747
763
|
attr_reader buyer: Peddler::APIs::Orders20260101::Buyer?
|
|
748
764
|
attr_reader created_time: Time
|
|
749
765
|
attr_reader fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?
|
|
766
|
+
attr_reader fulfillment_orders: Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?
|
|
750
767
|
attr_reader last_updated_time: Time
|
|
751
768
|
attr_reader order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?
|
|
752
769
|
attr_reader order_id: String
|
|
@@ -759,8 +776,8 @@ module Peddler
|
|
|
759
776
|
attr_reader sales_channel: Peddler::APIs::Orders20260101::SalesChannel
|
|
760
777
|
attr_reader tax: Peddler::APIs::Orders20260101::OrderTax?
|
|
761
778
|
|
|
762
|
-
def members: () -> [ :created_time, :last_updated_time, :order_id, :order_items, :sales_channel, :associated_orders, :buyer, :fulfillment, :order_aliases, :packages, :payment, :proceeds, :programs, :recipient, :tax ]
|
|
763
|
-
def to_h: () -> { created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, buyer: Peddler::APIs::Orders20260101::Buyer?, fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, payment: Peddler::APIs::Orders20260101::OrderPayment?, proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, programs: Array[String]?, recipient: Peddler::APIs::Orders20260101::Recipient?, tax: Peddler::APIs::Orders20260101::OrderTax? }
|
|
779
|
+
def members: () -> [ :created_time, :last_updated_time, :order_id, :order_items, :sales_channel, :associated_orders, :buyer, :fulfillment, :fulfillment_orders, :order_aliases, :packages, :payment, :proceeds, :programs, :recipient, :tax ]
|
|
780
|
+
def to_h: () -> { created_time: Time, last_updated_time: Time, order_id: String, order_items: Array[Peddler::APIs::Orders20260101::OrderItem], sales_channel: Peddler::APIs::Orders20260101::SalesChannel, associated_orders: Array[Peddler::APIs::Orders20260101::AssociatedOrder]?, buyer: Peddler::APIs::Orders20260101::Buyer?, fulfillment: Peddler::APIs::Orders20260101::OrderFulfillment?, fulfillment_orders: Array[Peddler::APIs::Orders20260101::FulfillmentOrder]?, order_aliases: Array[Peddler::APIs::Orders20260101::Alias]?, packages: Array[Peddler::APIs::Orders20260101::OrderPackage]?, payment: Peddler::APIs::Orders20260101::OrderPayment?, proceeds: Peddler::APIs::Orders20260101::OrderProceeds?, programs: Array[String]?, recipient: Peddler::APIs::Orders20260101::Recipient?, tax: Peddler::APIs::Orders20260101::OrderTax? }
|
|
764
781
|
end
|
|
765
782
|
|
|
766
783
|
class OrderFulfillment < Data
|
|
@@ -851,19 +868,38 @@ module Peddler
|
|
|
851
868
|
end
|
|
852
869
|
|
|
853
870
|
class OrderProceeds < Data
|
|
854
|
-
def self.new: (?grand_total: Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
855
|
-
| (Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
856
|
-
def self.[]: (?grand_total: Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
857
|
-
| (Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
871
|
+
def self.new: (?breakdowns: Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?, ?grand_total: Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
872
|
+
| (Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?, Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
873
|
+
def self.[]: (?breakdowns: Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?, ?grand_total: Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
874
|
+
| (Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?, Peddler::Money?) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
858
875
|
|
|
859
|
-
def self.members: () -> [ :grand_total ]
|
|
876
|
+
def self.members: () -> [ :breakdowns, :grand_total ]
|
|
860
877
|
|
|
861
878
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::OrderProceeds
|
|
862
879
|
|
|
880
|
+
attr_reader breakdowns: Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?
|
|
863
881
|
attr_reader grand_total: Peddler::Money?
|
|
864
882
|
|
|
865
|
-
def members: () -> [ :grand_total ]
|
|
866
|
-
def to_h: () -> { grand_total: Peddler::Money? }
|
|
883
|
+
def members: () -> [ :breakdowns, :grand_total ]
|
|
884
|
+
def to_h: () -> { breakdowns: Array[Peddler::APIs::Orders20260101::OrderProceedsBreakdown]?, grand_total: Peddler::Money? }
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
class OrderProceedsBreakdown < Data
|
|
888
|
+
def self.new: (subtotal: Peddler::Money, type: String, ?status: String?) -> Peddler::APIs::Orders20260101::OrderProceedsBreakdown
|
|
889
|
+
| (Peddler::Money, String, String?) -> Peddler::APIs::Orders20260101::OrderProceedsBreakdown
|
|
890
|
+
def self.[]: (subtotal: Peddler::Money, type: String, ?status: String?) -> Peddler::APIs::Orders20260101::OrderProceedsBreakdown
|
|
891
|
+
| (Peddler::Money, String, String?) -> Peddler::APIs::Orders20260101::OrderProceedsBreakdown
|
|
892
|
+
|
|
893
|
+
def self.members: () -> [ :subtotal, :type, :status ]
|
|
894
|
+
|
|
895
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::OrderProceedsBreakdown
|
|
896
|
+
|
|
897
|
+
attr_reader status: String?
|
|
898
|
+
attr_reader subtotal: Peddler::Money
|
|
899
|
+
attr_reader type: String
|
|
900
|
+
|
|
901
|
+
def members: () -> [ :subtotal, :type, :status ]
|
|
902
|
+
def to_h: () -> { subtotal: Peddler::Money, type: String, status: String? }
|
|
867
903
|
end
|
|
868
904
|
|
|
869
905
|
class OrderTax < Data
|
|
@@ -67,6 +67,28 @@ module Peddler
|
|
|
67
67
|
def to_h: () -> { programs: Array[String] }
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
class ApprovedAlternativeDetails < Array[ApprovedAttribute]
|
|
71
|
+
def self.parse: (Array[untyped]) -> ApprovedAlternativeDetails
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
class ApprovedAttribute < Data
|
|
75
|
+
def self.new: (approved_value: String, attribute_name: String, original_value: String) -> Peddler::APIs::OrdersV0::ApprovedAttribute
|
|
76
|
+
| (String, String, String) -> Peddler::APIs::OrdersV0::ApprovedAttribute
|
|
77
|
+
def self.[]: (approved_value: String, attribute_name: String, original_value: String) -> Peddler::APIs::OrdersV0::ApprovedAttribute
|
|
78
|
+
| (String, String, String) -> Peddler::APIs::OrdersV0::ApprovedAttribute
|
|
79
|
+
|
|
80
|
+
def self.members: () -> [ :approved_value, :attribute_name, :original_value ]
|
|
81
|
+
|
|
82
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::ApprovedAttribute
|
|
83
|
+
|
|
84
|
+
attr_reader approved_value: String
|
|
85
|
+
attr_reader attribute_name: String
|
|
86
|
+
attr_reader original_value: String
|
|
87
|
+
|
|
88
|
+
def members: () -> [ :approved_value, :attribute_name, :original_value ]
|
|
89
|
+
def to_h: () -> { approved_value: String, attribute_name: String, original_value: String }
|
|
90
|
+
end
|
|
91
|
+
|
|
70
92
|
class AssociatedItem < Data
|
|
71
93
|
def self.new: (?association_type: String?, ?order_id: String?, ?order_item_id: String?) -> Peddler::APIs::OrdersV0::AssociatedItem
|
|
72
94
|
| (String?, String?, String?) -> Peddler::APIs::OrdersV0::AssociatedItem
|
|
@@ -479,6 +501,23 @@ module Peddler
|
|
|
479
501
|
def to_h: () -> { errors: Array[Peddler::APIs::OrdersV0::Error]?, payload: Peddler::APIs::OrdersV0::OrdersList? }
|
|
480
502
|
end
|
|
481
503
|
|
|
504
|
+
class InterimStatusDetail < Data
|
|
505
|
+
def self.new: (status_code: String, status_date_time: Time) -> Peddler::APIs::OrdersV0::InterimStatusDetail
|
|
506
|
+
| (String, Time) -> Peddler::APIs::OrdersV0::InterimStatusDetail
|
|
507
|
+
def self.[]: (status_code: String, status_date_time: Time) -> Peddler::APIs::OrdersV0::InterimStatusDetail
|
|
508
|
+
| (String, Time) -> Peddler::APIs::OrdersV0::InterimStatusDetail
|
|
509
|
+
|
|
510
|
+
def self.members: () -> [ :status_code, :status_date_time ]
|
|
511
|
+
|
|
512
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::InterimStatusDetail
|
|
513
|
+
|
|
514
|
+
attr_reader status_code: String
|
|
515
|
+
attr_reader status_date_time: Time
|
|
516
|
+
|
|
517
|
+
def members: () -> [ :status_code, :status_date_time ]
|
|
518
|
+
def to_h: () -> { status_code: String, status_date_time: Time }
|
|
519
|
+
end
|
|
520
|
+
|
|
482
521
|
class ItemBuyerInfo < Data
|
|
483
522
|
def self.new: (?buyer_customized_info: Peddler::APIs::OrdersV0::BuyerCustomizedInfoDetail?, ?gift_message_text: String?, ?gift_wrap_level: String?, ?gift_wrap_price: Peddler::Money?, ?gift_wrap_tax: Peddler::Money?) -> Peddler::APIs::OrdersV0::ItemBuyerInfo
|
|
484
523
|
| (Peddler::APIs::OrdersV0::BuyerCustomizedInfoDetail?, String?, String?, Peddler::Money?, Peddler::Money?) -> Peddler::APIs::OrdersV0::ItemBuyerInfo
|
|
@@ -1011,12 +1050,12 @@ module Peddler
|
|
|
1011
1050
|
end
|
|
1012
1051
|
|
|
1013
1052
|
class RegulatedOrderVerificationStatus < Data
|
|
1014
|
-
def self.new: (requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], ?external_reviewer_id: String?, ?rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, ?review_date: String?, ?valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1015
|
-
| (bool, String, Array[Peddler::APIs::OrdersV0::RejectionReason], String?, Peddler::APIs::OrdersV0::RejectionReason?, String?, Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1016
|
-
def self.[]: (requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], ?external_reviewer_id: String?, ?rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, ?review_date: String?, ?valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1017
|
-
| (bool, String, Array[Peddler::APIs::OrdersV0::RejectionReason], String?, Peddler::APIs::OrdersV0::RejectionReason?, String?, Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1053
|
+
def self.new: (requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], ?external_reviewer_id: String?, ?rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, ?review_date: String?, ?valid_interim_status_codes: Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?, ?valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1054
|
+
| (bool, String, Array[Peddler::APIs::OrdersV0::RejectionReason], String?, Peddler::APIs::OrdersV0::RejectionReason?, String?, Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?, Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1055
|
+
def self.[]: (requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], ?external_reviewer_id: String?, ?rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, ?review_date: String?, ?valid_interim_status_codes: Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?, ?valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1056
|
+
| (bool, String, Array[Peddler::APIs::OrdersV0::RejectionReason], String?, Peddler::APIs::OrdersV0::RejectionReason?, String?, Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?, Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1018
1057
|
|
|
1019
|
-
def self.members: () -> [ :requires_merchant_action, :status, :valid_rejection_reasons, :external_reviewer_id, :rejection_reason, :review_date, :valid_verification_details ]
|
|
1058
|
+
def self.members: () -> [ :requires_merchant_action, :status, :valid_rejection_reasons, :external_reviewer_id, :rejection_reason, :review_date, :valid_interim_status_codes, :valid_verification_details ]
|
|
1020
1059
|
|
|
1021
1060
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::RegulatedOrderVerificationStatus
|
|
1022
1061
|
|
|
@@ -1025,12 +1064,13 @@ module Peddler
|
|
|
1025
1064
|
attr_reader requires_merchant_action: bool
|
|
1026
1065
|
attr_reader review_date: String?
|
|
1027
1066
|
attr_reader status: String
|
|
1067
|
+
attr_reader valid_interim_status_codes: Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?
|
|
1028
1068
|
attr_reader valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason]
|
|
1029
1069
|
attr_reader valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]?
|
|
1030
1070
|
|
|
1031
|
-
def members: () -> [ :requires_merchant_action, :status, :valid_rejection_reasons, :external_reviewer_id, :rejection_reason, :review_date, :valid_verification_details ]
|
|
1071
|
+
def members: () -> [ :requires_merchant_action, :status, :valid_rejection_reasons, :external_reviewer_id, :rejection_reason, :review_date, :valid_interim_status_codes, :valid_verification_details ]
|
|
1032
1072
|
def requires_merchant_action?: () -> bool
|
|
1033
|
-
def to_h: () -> { requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], external_reviewer_id: String?, rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, review_date: String?, valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]? }
|
|
1073
|
+
def to_h: () -> { requires_merchant_action: bool, status: String, valid_rejection_reasons: Array[Peddler::APIs::OrdersV0::RejectionReason], external_reviewer_id: String?, rejection_reason: Peddler::APIs::OrdersV0::RejectionReason?, review_date: String?, valid_interim_status_codes: Array[Peddler::APIs::OrdersV0::ValidInterimStatusCode]?, valid_verification_details: Array[Peddler::APIs::OrdersV0::ValidVerificationDetail]? }
|
|
1034
1074
|
end
|
|
1035
1075
|
|
|
1036
1076
|
class RejectionReason < Data
|
|
@@ -1233,6 +1273,23 @@ module Peddler
|
|
|
1233
1273
|
def to_h: () -> { external_reviewer_id: String, rejection_reason_id: String?, status: String?, verification_details: Peddler::APIs::OrdersV0::VerificationDetails? }
|
|
1234
1274
|
end
|
|
1235
1275
|
|
|
1276
|
+
class ValidInterimStatusCode < Data
|
|
1277
|
+
def self.new: (status_code: String, status_description: String) -> Peddler::APIs::OrdersV0::ValidInterimStatusCode
|
|
1278
|
+
| (String, String) -> Peddler::APIs::OrdersV0::ValidInterimStatusCode
|
|
1279
|
+
def self.[]: (status_code: String, status_description: String) -> Peddler::APIs::OrdersV0::ValidInterimStatusCode
|
|
1280
|
+
| (String, String) -> Peddler::APIs::OrdersV0::ValidInterimStatusCode
|
|
1281
|
+
|
|
1282
|
+
def self.members: () -> [ :status_code, :status_description ]
|
|
1283
|
+
|
|
1284
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::ValidInterimStatusCode
|
|
1285
|
+
|
|
1286
|
+
attr_reader status_code: String
|
|
1287
|
+
attr_reader status_description: String
|
|
1288
|
+
|
|
1289
|
+
def members: () -> [ :status_code, :status_description ]
|
|
1290
|
+
def to_h: () -> { status_code: String, status_description: String }
|
|
1291
|
+
end
|
|
1292
|
+
|
|
1236
1293
|
class ValidVerificationDetail < Data
|
|
1237
1294
|
def self.new: (valid_verification_statuses: Array[untyped], verification_detail_type: String) -> Peddler::APIs::OrdersV0::ValidVerificationDetail
|
|
1238
1295
|
| (Array[untyped], String) -> Peddler::APIs::OrdersV0::ValidVerificationDetail
|
|
@@ -1251,19 +1308,21 @@ module Peddler
|
|
|
1251
1308
|
end
|
|
1252
1309
|
|
|
1253
1310
|
class VerificationDetails < Data
|
|
1254
|
-
def self.new: (?prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1255
|
-
| (Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1256
|
-
def self.[]: (?prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1257
|
-
| (Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1311
|
+
def self.new: (?approved_alternative_details: Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?, ?interim_status_detail: Peddler::APIs::OrdersV0::InterimStatusDetail?, ?prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1312
|
+
| (Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?, Peddler::APIs::OrdersV0::InterimStatusDetail?, Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1313
|
+
def self.[]: (?approved_alternative_details: Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?, ?interim_status_detail: Peddler::APIs::OrdersV0::InterimStatusDetail?, ?prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1314
|
+
| (Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?, Peddler::APIs::OrdersV0::InterimStatusDetail?, Peddler::APIs::OrdersV0::PrescriptionDetail?) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1258
1315
|
|
|
1259
|
-
def self.members: () -> [ :prescription_detail ]
|
|
1316
|
+
def self.members: () -> [ :approved_alternative_details, :interim_status_detail, :prescription_detail ]
|
|
1260
1317
|
|
|
1261
1318
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::VerificationDetails
|
|
1262
1319
|
|
|
1320
|
+
attr_reader approved_alternative_details: Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?
|
|
1321
|
+
attr_reader interim_status_detail: Peddler::APIs::OrdersV0::InterimStatusDetail?
|
|
1263
1322
|
attr_reader prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail?
|
|
1264
1323
|
|
|
1265
|
-
def members: () -> [ :prescription_detail ]
|
|
1266
|
-
def to_h: () -> { prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail? }
|
|
1324
|
+
def members: () -> [ :approved_alternative_details, :interim_status_detail, :prescription_detail ]
|
|
1325
|
+
def to_h: () -> { approved_alternative_details: Array[Peddler::APIs::OrdersV0::ApprovedAttribute]?, interim_status_detail: Peddler::APIs::OrdersV0::InterimStatusDetail?, prescription_detail: Peddler::APIs::OrdersV0::PrescriptionDetail? }
|
|
1267
1326
|
end
|
|
1268
1327
|
|
|
1269
1328
|
def confirm_shipment: (String, Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|