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.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/lib/peddler/acronyms.rb +1 -0
  4. data/lib/peddler/api.rb +35 -62
  5. data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +11 -11
  6. data/lib/peddler/apis/aplus_content_2020_11_01.rb +10 -10
  7. data/lib/peddler/apis/application_integrations_2024_04_01.rb +3 -3
  8. data/lib/peddler/apis/application_management_2023_11_30.rb +1 -1
  9. data/lib/peddler/apis/catalog_items_2020_12_01.rb +2 -2
  10. data/lib/peddler/apis/catalog_items_2022_04_01.rb +2 -2
  11. data/lib/peddler/apis/catalog_items_v0.rb +1 -1
  12. data/lib/peddler/apis/data_kiosk_2023_11_15.rb +5 -5
  13. data/lib/peddler/apis/delivery_by_amazon_2022_07_01/error.rb +23 -0
  14. data/lib/peddler/apis/delivery_by_amazon_2022_07_01/error_list.rb +18 -0
  15. data/lib/peddler/apis/delivery_by_amazon_2022_07_01/get_invoice_status_response.rb +26 -0
  16. data/lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_request.rb +31 -0
  17. data/lib/peddler/apis/delivery_by_amazon_2022_07_01/submit_invoice_response.rb +17 -0
  18. data/lib/peddler/apis/delivery_by_amazon_2022_07_01.rb +59 -0
  19. data/lib/peddler/apis/easy_ship_2022_03_23.rb +5 -5
  20. data/lib/peddler/apis/external_fulfillment_shipments_2024_09_11/shipment.rb +3 -0
  21. data/lib/peddler/apis/fba_inbound_eligibility_v1.rb +1 -1
  22. data/lib/peddler/apis/fba_inventory_v1.rb +1 -1
  23. data/lib/peddler/apis/feeds_2021_06_30.rb +6 -6
  24. data/lib/peddler/apis/finances_2024_06_19/amazon_pay_context.rb +2 -2
  25. data/lib/peddler/apis/finances_2024_06_19/breakdown.rb +3 -4
  26. data/lib/peddler/apis/finances_2024_06_19/context.rb +11 -11
  27. data/lib/peddler/apis/finances_2024_06_19/contexts.rb +1 -1
  28. data/lib/peddler/apis/finances_2024_06_19/deferred_context.rb +1 -1
  29. data/lib/peddler/apis/finances_2024_06_19/error.rb +1 -1
  30. data/lib/peddler/apis/finances_2024_06_19/error_list.rb +1 -1
  31. data/lib/peddler/apis/finances_2024_06_19/item.rb +3 -3
  32. data/lib/peddler/apis/finances_2024_06_19/item_related_identifier.rb +1 -1
  33. data/lib/peddler/apis/finances_2024_06_19/item_related_identifiers.rb +1 -1
  34. data/lib/peddler/apis/finances_2024_06_19/items.rb +1 -1
  35. data/lib/peddler/apis/finances_2024_06_19/marketplace_details.rb +2 -3
  36. data/lib/peddler/apis/finances_2024_06_19/payments_context.rb +5 -5
  37. data/lib/peddler/apis/finances_2024_06_19/product_context.rb +4 -4
  38. data/lib/peddler/apis/finances_2024_06_19/related_identifier.rb +2 -2
  39. data/lib/peddler/apis/finances_2024_06_19/selling_partner_metadata.rb +3 -3
  40. data/lib/peddler/apis/finances_2024_06_19/time_range_context.rb +3 -3
  41. data/lib/peddler/apis/finances_2024_06_19/transaction.rb +8 -10
  42. data/lib/peddler/apis/finances_2024_06_19/transactions.rb +1 -1
  43. data/lib/peddler/apis/finances_2024_06_19/transactions_payload.rb +4 -2
  44. data/lib/peddler/apis/finances_2024_06_19.rb +24 -13
  45. data/lib/peddler/apis/finances_v0/adhoc_disbursement_event.rb +1 -3
  46. data/lib/peddler/apis/finances_v0/adjustment_event.rb +11 -18
  47. data/lib/peddler/apis/finances_v0/adjustment_item.rb +3 -3
  48. data/lib/peddler/apis/finances_v0/affordability_expense_event.rb +6 -7
  49. data/lib/peddler/apis/finances_v0/capacity_reservation_billing_event.rb +1 -1
  50. data/lib/peddler/apis/finances_v0/charge_component.rb +37 -35
  51. data/lib/peddler/apis/finances_v0/charge_refund_event.rb +2 -6
  52. data/lib/peddler/apis/finances_v0/coupon_payment_event.rb +1 -1
  53. data/lib/peddler/apis/finances_v0/debt_recovery_event.rb +1 -5
  54. data/lib/peddler/apis/finances_v0/debt_recovery_item.rb +4 -4
  55. data/lib/peddler/apis/finances_v0/direct_payment.rb +7 -7
  56. data/lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event.rb +23 -0
  57. data/lib/peddler/apis/finances_v0/ebt_refund_reimbursement_only_event_list.rb +18 -0
  58. data/lib/peddler/apis/finances_v0/failed_adhoc_disbursement_event.rb +3 -9
  59. data/lib/peddler/apis/finances_v0/failed_adhoc_disbursement_event_list.rb +1 -1
  60. data/lib/peddler/apis/finances_v0/fba_liquidation_event.rb +1 -1
  61. data/lib/peddler/apis/finances_v0/financial_event_group.rb +5 -7
  62. data/lib/peddler/apis/finances_v0/financial_events.rb +4 -1
  63. data/lib/peddler/apis/finances_v0/list_financial_event_groups_payload.rb +1 -1
  64. data/lib/peddler/apis/finances_v0/list_financial_event_groups_response.rb +3 -3
  65. data/lib/peddler/apis/finances_v0/list_financial_events_payload.rb +1 -1
  66. data/lib/peddler/apis/finances_v0/list_financial_events_response.rb +3 -3
  67. data/lib/peddler/apis/finances_v0/loan_servicing_event.rb +3 -3
  68. data/lib/peddler/apis/finances_v0/network_commingling_transaction_event.rb +3 -3
  69. data/lib/peddler/apis/finances_v0/pay_with_amazon_event.rb +5 -5
  70. data/lib/peddler/apis/finances_v0/product_ads_payment_event.rb +4 -4
  71. data/lib/peddler/apis/finances_v0/removal_shipment_adjustment_event.rb +2 -2
  72. data/lib/peddler/apis/finances_v0/removal_shipment_adjustment_event_list.rb +1 -1
  73. data/lib/peddler/apis/finances_v0/removal_shipment_event.rb +2 -2
  74. data/lib/peddler/apis/finances_v0/removal_shipment_item.rb +5 -6
  75. data/lib/peddler/apis/finances_v0/removal_shipment_item_adjustment.rb +8 -9
  76. data/lib/peddler/apis/finances_v0/removal_shipment_item_list.rb +1 -1
  77. data/lib/peddler/apis/finances_v0/rental_transaction_event.rb +17 -16
  78. data/lib/peddler/apis/finances_v0/retrocharge_event.rb +2 -2
  79. data/lib/peddler/apis/finances_v0/retrocharge_event_list.rb +1 -1
  80. data/lib/peddler/apis/finances_v0/safet_reimbursement_event_list.rb +1 -1
  81. data/lib/peddler/apis/finances_v0/safet_reimbursement_item_list.rb +1 -1
  82. data/lib/peddler/apis/finances_v0/seller_deal_payment_event.rb +2 -2
  83. data/lib/peddler/apis/finances_v0/seller_review_enrollment_payment_event.rb +1 -1
  84. data/lib/peddler/apis/finances_v0/solution_provider_credit_event.rb +1 -1
  85. data/lib/peddler/apis/finances_v0/solution_provider_credit_event_list.rb +1 -1
  86. data/lib/peddler/apis/finances_v0/tax_withheld_component.rb +2 -3
  87. data/lib/peddler/apis/finances_v0/tax_withholding_event.rb +1 -1
  88. data/lib/peddler/apis/finances_v0/tax_withholding_event_list.rb +1 -1
  89. data/lib/peddler/apis/finances_v0/tax_withholding_period.rb +1 -1
  90. data/lib/peddler/apis/finances_v0/value_added_service_charge_event.rb +1 -3
  91. data/lib/peddler/apis/finances_v0.rb +60 -47
  92. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/delivery_window_option.rb +2 -1
  93. data/lib/peddler/apis/fulfillment_inbound_2024_03_20/selected_delivery_window.rb +2 -1
  94. data/lib/peddler/apis/fulfillment_inbound_2024_03_20.rb +90 -142
  95. data/lib/peddler/apis/fulfillment_inbound_v0.rb +6 -6
  96. data/lib/peddler/apis/fulfillment_outbound_2020_07_01.rb +14 -17
  97. data/lib/peddler/apis/invoices_2024_06_19.rb +7 -7
  98. data/lib/peddler/apis/listings_items_2020_09_01.rb +3 -3
  99. data/lib/peddler/apis/listings_items_2021_08_01.rb +5 -5
  100. data/lib/peddler/apis/listings_restrictions_2021_08_01.rb +1 -1
  101. data/lib/peddler/apis/merchant_fulfillment_v0.rb +5 -5
  102. data/lib/peddler/apis/messaging_v1.rb +11 -11
  103. data/lib/peddler/apis/notifications_v1.rb +8 -8
  104. data/lib/peddler/apis/orders_v0/buyer_info.rb +0 -3
  105. data/lib/peddler/apis/orders_v0/order_buyer_info.rb +0 -3
  106. data/lib/peddler/apis/orders_v0.rb +12 -15
  107. data/lib/peddler/apis/product_fees_v0.rb +3 -3
  108. data/lib/peddler/apis/product_pricing_2022_05_01.rb +2 -2
  109. data/lib/peddler/apis/product_pricing_v0.rb +6 -6
  110. data/lib/peddler/apis/product_type_definitions_2020_09_01.rb +2 -2
  111. data/lib/peddler/apis/replenishment_2022_11_07/get_selling_partner_metrics_response_metric.rb +66 -22
  112. data/lib/peddler/apis/replenishment_2022_11_07/list_offer_metrics_response_offer.rb +13 -13
  113. data/lib/peddler/apis/replenishment_2022_11_07.rb +3 -3
  114. data/lib/peddler/apis/reports_2021_06_30.rb +9 -9
  115. data/lib/peddler/apis/sales_v1.rb +1 -1
  116. data/lib/peddler/apis/seller_wallet_2024_03_01/bank_account.rb +23 -18
  117. data/lib/peddler/apis/seller_wallet_2024_03_01/payee_contact_information.rb +54 -0
  118. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction.rb +7 -3
  119. data/lib/peddler/apis/seller_wallet_2024_03_01/transaction_initiation_request.rb +3 -3
  120. data/lib/peddler/apis/seller_wallet_2024_03_01.rb +7 -2
  121. data/lib/peddler/apis/sellers_v1.rb +2 -2
  122. data/lib/peddler/apis/services_v1.rb +17 -17
  123. data/lib/peddler/apis/shipment_invoicing_v0.rb +3 -3
  124. data/lib/peddler/apis/shipping_v1.rb +9 -9
  125. data/lib/peddler/apis/shipping_v2.rb +19 -19
  126. data/lib/peddler/apis/solicitations_v1.rb +2 -2
  127. data/lib/peddler/apis/tokens_2021_03_01.rb +1 -1
  128. data/lib/peddler/apis/transfers_2024_06_01.rb +2 -2
  129. data/lib/peddler/apis/uploads_2020_11_01.rb +1 -1
  130. data/lib/peddler/apis/vendor_direct_fulfillment_inventory_v1.rb +1 -1
  131. data/lib/peddler/apis/vendor_direct_fulfillment_orders_2021_12_28.rb +3 -3
  132. data/lib/peddler/apis/vendor_direct_fulfillment_orders_v1.rb +3 -3
  133. data/lib/peddler/apis/vendor_direct_fulfillment_payments_v1.rb +1 -1
  134. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_2021_12_28.rb +11 -11
  135. data/lib/peddler/apis/vendor_direct_fulfillment_shipping_v1.rb +9 -9
  136. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_2021_12_28.rb +1 -1
  137. data/lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb +1 -1
  138. data/lib/peddler/apis/vendor_invoices_v1.rb +1 -1
  139. data/lib/peddler/apis/vendor_orders_v1.rb +4 -4
  140. data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +16 -0
  141. data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +32 -0
  142. data/lib/peddler/apis/vendor_shipments_v1.rb +5 -5
  143. data/lib/peddler/apis/vendor_transaction_status_v1.rb +1 -1
  144. data/lib/peddler/data_kiosk/economics20240315/analytics_economics20240315.rb +5 -0
  145. data/lib/peddler/data_kiosk/economics20240315.json +340 -7
  146. data/lib/peddler/data_kiosk/vendor_analytics20240930/traffic.rb +5 -0
  147. data/lib/peddler/data_kiosk/vendor_analytics20240930.json +12 -0
  148. data/lib/peddler/response.rb +1 -1
  149. data/lib/peddler/version.rb +1 -1
  150. data/lib/peddler.rb +2 -0
  151. data/sig/peddler/api.rbs +13 -23
  152. data/sig/peddler/apis/delivery_by_amazon_2022_07_01.rbs +85 -0
  153. data/sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs +8 -7
  154. data/sig/peddler/apis/finances_2024_06_19.rbs +1 -1
  155. data/sig/peddler/apis/finances_v0.rbs +30 -7
  156. data/sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs +45 -45
  157. data/sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs +1 -1
  158. data/sig/peddler/apis/orders_v0.rbs +15 -17
  159. data/sig/peddler/apis/replenishment_2022_11_07.rbs +18 -7
  160. data/sig/peddler/apis/seller_wallet_2024_03_01.rbs +49 -42
  161. data/sig/peddler/apis/vendor_shipments_v1.rbs +30 -41
  162. data/sig/peddler/data_kiosk/economics20240315.rbs +8 -7
  163. data/sig/peddler/data_kiosk/vendor_analytics20240930.rbs +8 -7
  164. data/sig/peddler.rbs +4 -0
  165. metadata +13 -5
  166. data/lib/peddler/apis/seller_wallet_2024_03_01/account_holder_address.rb +0 -36
  167. data/lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb +0 -25
  168. data/lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb +0 -18
@@ -7,6 +7,29 @@
7
7
  "mutationType": null,
8
8
  "subscriptionType": null,
9
9
  "types": [
10
+ {
11
+ "kind": "ENUM",
12
+ "name": "ActionType",
13
+ "description": "Supported action types in economic simulations. Economic results will only be\nreturned for products eligible for the selected actions.",
14
+ "fields": null,
15
+ "inputFields": null,
16
+ "interfaces": null,
17
+ "enumValues": [
18
+ {
19
+ "name": "AWD",
20
+ "description": "Amazon Warehousing and Distribution - simulate business impact of using AWD services.\nProvides upstream supply chain solutions including bulk storage and automatic replenishment.\nFor details, refer to [Amazon Warehousing and Distribution](https://sellercentral.amazon.com/help/hub/reference/external/GF6ZC8VEBM7HCEGV).",
21
+ "isDeprecated": false,
22
+ "deprecationReason": null
23
+ },
24
+ {
25
+ "name": "SIPP",
26
+ "description": "Ships in Product Packaging program - simulate business impact of adding products to this program.\nReduces packaging waste and costs by shipping items in their original packaging.\nFor details, refer to [Ships in Product Packaging](https://sellercentral.amazon.com/help/hub/reference/external/GDTDMAWM8FG2CX6U).",
27
+ "isDeprecated": false,
28
+ "deprecationReason": null
29
+ }
30
+ ],
31
+ "possibleTypes": null
32
+ },
10
33
  {
11
34
  "kind": "OBJECT",
12
35
  "name": "AdSummary",
@@ -200,6 +223,45 @@
200
223
  "enumValues": null,
201
224
  "possibleTypes": null
202
225
  },
226
+ {
227
+ "kind": "INPUT_OBJECT",
228
+ "name": "AmountInput",
229
+ "description": "Monetary amount with the corresponding currency code.",
230
+ "fields": null,
231
+ "inputFields": [
232
+ {
233
+ "name": "amount",
234
+ "description": "The amount.",
235
+ "type": {
236
+ "kind": "NON_NULL",
237
+ "name": null,
238
+ "ofType": {
239
+ "kind": "SCALAR",
240
+ "name": "Float",
241
+ "ofType": null
242
+ }
243
+ },
244
+ "defaultValue": null
245
+ },
246
+ {
247
+ "name": "currencyCode",
248
+ "description": "Currency code of the amount in ISO 4217 format.",
249
+ "type": {
250
+ "kind": "NON_NULL",
251
+ "name": null,
252
+ "ofType": {
253
+ "kind": "SCALAR",
254
+ "name": "String",
255
+ "ofType": null
256
+ }
257
+ },
258
+ "defaultValue": null
259
+ }
260
+ ],
261
+ "interfaces": null,
262
+ "enumValues": null,
263
+ "possibleTypes": null
264
+ },
203
265
  {
204
266
  "kind": "OBJECT",
205
267
  "name": "Analytics_Economics_2024_03_15",
@@ -312,7 +374,7 @@
312
374
  },
313
375
  {
314
376
  "name": "endDate",
315
- "description": "The end date of the seller economics preview data to retrieve. The end date must be no more than 30 days after today.",
377
+ "description": "The end date of the seller economics preview data to retrieve. The end date must be no more than 120 days after today.",
316
378
  "type": {
317
379
  "kind": "NON_NULL",
318
380
  "name": null,
@@ -394,6 +456,109 @@
394
456
  },
395
457
  "isDeprecated": false,
396
458
  "deprecationReason": null
459
+ },
460
+ {
461
+ "name": "economicsSimulation",
462
+ "description": "A query that simulates seller economics data for specified items, aggregated\nby a date range between startDate and endDate. The data includes estimated\nsales, fees, and costs, which vary based on the action type during the\nselected period.",
463
+ "args": [
464
+ {
465
+ "name": "actionTypes",
466
+ "description": "Specifies which action types to simulate.",
467
+ "type": {
468
+ "kind": "NON_NULL",
469
+ "name": null,
470
+ "ofType": {
471
+ "kind": "LIST",
472
+ "name": null,
473
+ "ofType": {
474
+ "kind": "NON_NULL",
475
+ "name": null,
476
+ "ofType": {
477
+ "kind": "ENUM",
478
+ "name": "ActionType",
479
+ "ofType": null
480
+ }
481
+ }
482
+ }
483
+ },
484
+ "defaultValue": null
485
+ },
486
+ {
487
+ "name": "endDate",
488
+ "description": "The end date of the seller economics simulation data to retrieve. The end date must be no more than 90 days after today.",
489
+ "type": {
490
+ "kind": "NON_NULL",
491
+ "name": null,
492
+ "ofType": {
493
+ "kind": "SCALAR",
494
+ "name": "Date",
495
+ "ofType": null
496
+ }
497
+ },
498
+ "defaultValue": null
499
+ },
500
+ {
501
+ "name": "marketplaceId",
502
+ "description": "The marketplace identifiers to retrieve seller simulation economics data for.",
503
+ "type": {
504
+ "kind": "NON_NULL",
505
+ "name": null,
506
+ "ofType": {
507
+ "kind": "SCALAR",
508
+ "name": "String",
509
+ "ofType": null
510
+ }
511
+ },
512
+ "defaultValue": null
513
+ },
514
+ {
515
+ "name": "products",
516
+ "description": "List of products to include in the economics simulation. Maximum 100\nproducts per request. Each product must contain required identifiers for fee calculations.",
517
+ "type": {
518
+ "kind": "NON_NULL",
519
+ "name": null,
520
+ "ofType": {
521
+ "kind": "LIST",
522
+ "name": null,
523
+ "ofType": {
524
+ "kind": "NON_NULL",
525
+ "name": null,
526
+ "ofType": {
527
+ "kind": "INPUT_OBJECT",
528
+ "name": "Product",
529
+ "ofType": null
530
+ }
531
+ }
532
+ }
533
+ },
534
+ "defaultValue": null
535
+ },
536
+ {
537
+ "name": "startDate",
538
+ "description": "The start date of the seller economics simulation data to retrieve. The start date must be not earlier than today.",
539
+ "type": {
540
+ "kind": "NON_NULL",
541
+ "name": null,
542
+ "ofType": {
543
+ "kind": "SCALAR",
544
+ "name": "Date",
545
+ "ofType": null
546
+ }
547
+ },
548
+ "defaultValue": null
549
+ }
550
+ ],
551
+ "type": {
552
+ "kind": "LIST",
553
+ "name": null,
554
+ "ofType": {
555
+ "kind": "OBJECT",
556
+ "name": "Economics",
557
+ "ofType": null
558
+ }
559
+ },
560
+ "isDeprecated": false,
561
+ "deprecationReason": null
397
562
  }
398
563
  ],
399
564
  "inputFields": null,
@@ -1307,6 +1472,80 @@
1307
1472
  ],
1308
1473
  "possibleTypes": null
1309
1474
  },
1475
+ {
1476
+ "kind": "INPUT_OBJECT",
1477
+ "name": "Product",
1478
+ "description": "A product entity with various Amazon identifiers and input context.\nThis type contains the core identifiers used across Amazon's fulfillment and catalog systems\n@example\n{\n idType: ASIN\n idValue: \"B08N5WRWNW\"\n inputContext: { ... }\n}",
1479
+ "fields": null,
1480
+ "inputFields": [
1481
+ {
1482
+ "name": "identifier",
1483
+ "description": "The product identifier.",
1484
+ "type": {
1485
+ "kind": "NON_NULL",
1486
+ "name": null,
1487
+ "ofType": {
1488
+ "kind": "INPUT_OBJECT",
1489
+ "name": "ProductIdentifier",
1490
+ "ofType": null
1491
+ }
1492
+ },
1493
+ "defaultValue": null
1494
+ },
1495
+ {
1496
+ "name": "inputContext",
1497
+ "description": "Context information about how this product data was input/sourced.",
1498
+ "type": {
1499
+ "kind": "INPUT_OBJECT",
1500
+ "name": "ProductInputContext",
1501
+ "ofType": null
1502
+ },
1503
+ "defaultValue": null
1504
+ }
1505
+ ],
1506
+ "interfaces": null,
1507
+ "enumValues": null,
1508
+ "possibleTypes": null
1509
+ },
1510
+ {
1511
+ "kind": "INPUT_OBJECT",
1512
+ "name": "ProductIdentifier",
1513
+ "description": "The product identifier.",
1514
+ "fields": null,
1515
+ "inputFields": [
1516
+ {
1517
+ "name": "type",
1518
+ "description": "The type of the product identifier.",
1519
+ "type": {
1520
+ "kind": "NON_NULL",
1521
+ "name": null,
1522
+ "ofType": {
1523
+ "kind": "ENUM",
1524
+ "name": "ProductIdentifierType",
1525
+ "ofType": null
1526
+ }
1527
+ },
1528
+ "defaultValue": null
1529
+ },
1530
+ {
1531
+ "name": "value",
1532
+ "description": "The value of the product identifier.",
1533
+ "type": {
1534
+ "kind": "NON_NULL",
1535
+ "name": null,
1536
+ "ofType": {
1537
+ "kind": "SCALAR",
1538
+ "name": "String",
1539
+ "ofType": null
1540
+ }
1541
+ },
1542
+ "defaultValue": null
1543
+ }
1544
+ ],
1545
+ "interfaces": null,
1546
+ "enumValues": null,
1547
+ "possibleTypes": null
1548
+ },
1310
1549
  {
1311
1550
  "kind": "ENUM",
1312
1551
  "name": "ProductIdentifierGranularity",
@@ -1321,12 +1560,6 @@
1321
1560
  "isDeprecated": false,
1322
1561
  "deprecationReason": null
1323
1562
  },
1324
- {
1325
- "name": "FNSKU",
1326
- "description": "Seller Economics data is aggregated by fulfillment network sku.",
1327
- "isDeprecated": false,
1328
- "deprecationReason": null
1329
- },
1330
1563
  {
1331
1564
  "name": "MSKU",
1332
1565
  "description": "Seller Economics data is aggregated by merchant sku.",
@@ -1342,6 +1575,106 @@
1342
1575
  ],
1343
1576
  "possibleTypes": null
1344
1577
  },
1578
+ {
1579
+ "kind": "ENUM",
1580
+ "name": "ProductIdentifierType",
1581
+ "description": "The productIdentifier types that are supported in economics simulation.",
1582
+ "fields": null,
1583
+ "inputFields": null,
1584
+ "interfaces": null,
1585
+ "enumValues": [
1586
+ {
1587
+ "name": "ASIN",
1588
+ "description": "Amazon Standard Identification Number - unique catalog identifier",
1589
+ "isDeprecated": false,
1590
+ "deprecationReason": null
1591
+ },
1592
+ {
1593
+ "name": "FNSKU",
1594
+ "description": "Fulfillment Network SKU - warehouse/fulfillment identifier",
1595
+ "isDeprecated": false,
1596
+ "deprecationReason": null
1597
+ },
1598
+ {
1599
+ "name": "MSKU",
1600
+ "description": "Merchant SKU - seller's unique identifier for this product",
1601
+ "isDeprecated": false,
1602
+ "deprecationReason": null
1603
+ }
1604
+ ],
1605
+ "possibleTypes": null
1606
+ },
1607
+ {
1608
+ "kind": "INPUT_OBJECT",
1609
+ "name": "ProductInputContext",
1610
+ "description": "Input context containing operational and financial parameters for product\nprocessing. This type captures the business context needed for seller economics calculations.\n@example\n{\n itemPrice: { amount: 29.99, currencyCode: \"USD\" }\n shippingCost: { amount: 1.99, currencyCode: \"USD\" }\n unitPerCarton: 12\n historicalAverageWeeklySales: 150\n sendToAWDQuantity: 500\n shipmentLeadTime: 2\n}",
1611
+ "fields": null,
1612
+ "inputFields": [
1613
+ {
1614
+ "name": "historicalAverageWeeklySales",
1615
+ "description": "Historical Weekly Sales (units). Default value calculated based on the average weekly sales in the past 90 days.",
1616
+ "type": {
1617
+ "kind": "SCALAR",
1618
+ "name": "Long",
1619
+ "ofType": null
1620
+ },
1621
+ "defaultValue": null
1622
+ },
1623
+ {
1624
+ "name": "itemPrice",
1625
+ "description": "The item price, will use default value of the listing if it is empty.",
1626
+ "type": {
1627
+ "kind": "INPUT_OBJECT",
1628
+ "name": "AmountInput",
1629
+ "ofType": null
1630
+ },
1631
+ "defaultValue": null
1632
+ },
1633
+ {
1634
+ "name": "sendToAWDQuantity",
1635
+ "description": "Send to AWD quantity - units allocated to Amazon Warehousing and Distribution.\nDefault value is 12 weeks of Historical Weekly Sales.",
1636
+ "type": {
1637
+ "kind": "SCALAR",
1638
+ "name": "Long",
1639
+ "ofType": null
1640
+ },
1641
+ "defaultValue": null
1642
+ },
1643
+ {
1644
+ "name": "shipmentLeadTime",
1645
+ "description": "Shipment lead time (weeks) - time required from shipment to delivery for supply planning. Default value is 1 week.",
1646
+ "type": {
1647
+ "kind": "SCALAR",
1648
+ "name": "Long",
1649
+ "ofType": null
1650
+ },
1651
+ "defaultValue": null
1652
+ },
1653
+ {
1654
+ "name": "shippingCost",
1655
+ "description": "The shipping cost, will use default value of the listing if it is empty.",
1656
+ "type": {
1657
+ "kind": "INPUT_OBJECT",
1658
+ "name": "AmountInput",
1659
+ "ofType": null
1660
+ },
1661
+ "defaultValue": null
1662
+ },
1663
+ {
1664
+ "name": "unitPerCarton",
1665
+ "description": "Units per carton - packaging configuration for AWD shipping and inventory\nmanagement. Default value is 20 units per carton.",
1666
+ "type": {
1667
+ "kind": "SCALAR",
1668
+ "name": "Long",
1669
+ "ofType": null
1670
+ },
1671
+ "defaultValue": null
1672
+ }
1673
+ ],
1674
+ "interfaces": null,
1675
+ "enumValues": null,
1676
+ "possibleTypes": null
1677
+ },
1345
1678
  {
1346
1679
  "kind": "OBJECT",
1347
1680
  "name": "Query",
@@ -11,6 +11,11 @@ module Peddler
11
11
  Traffic = Structure.new do
12
12
  # @return [String] Glance views where Retail is the featured offer (i.e., winning the buy box).
13
13
  attribute?(:glance_views, String, from: "glanceViews")
14
+
15
+ # @return [Float] The percentage of product page views where your offer loses the Featured Offer position (Buy
16
+ # Box) to others. It is equal to the number of glance views where you do not win the Featured Offer divided by
17
+ # the total number of glance views.
18
+ attribute?(:lost_featured_offer, Float, from: "lostFeaturedOffer")
14
19
  end
15
20
  end
16
21
  end
@@ -1805,6 +1805,18 @@
1805
1805
  },
1806
1806
  "isDeprecated": false,
1807
1807
  "deprecationReason": null
1808
+ },
1809
+ {
1810
+ "name": "lostFeaturedOffer",
1811
+ "description": "The percentage of product page views where your offer loses the Featured Offer\nposition (Buy Box) to others. It is equal to the number of glance views where\nyou do not win the Featured Offer divided by the total number of glance views.",
1812
+ "args": [],
1813
+ "type": {
1814
+ "kind": "SCALAR",
1815
+ "name": "Float",
1816
+ "ofType": null
1817
+ },
1818
+ "isDeprecated": false,
1819
+ "deprecationReason": null
1808
1820
  }
1809
1821
  ],
1810
1822
  "inputFields": null,
@@ -18,7 +18,7 @@ module Peddler
18
18
  # value specified by the sequence of keys
19
19
  #
20
20
  # @param [String] key one or more keys
21
- # @see https://ruby-doc.org/3.4/Hash.html#method-i-dig
21
+ # @see https://docs.ruby-lang.org/en/4.0/Hash.html#method-i-dig
22
22
  def_delegator :to_h, :dig
23
23
 
24
24
  class << self
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Peddler
4
- VERSION = "5.0.0"
4
+ VERSION = "5.1.0"
5
5
  end
data/lib/peddler.rb CHANGED
@@ -24,6 +24,7 @@ module Peddler
24
24
  def catalog_items_2022_04_01 = APIs::CatalogItems20220401
25
25
  def customer_feedback_2024_06_01 = APIs::CustomerFeedback20240601
26
26
  def data_kiosk_2023_11_15 = APIs::DataKiosk20231115
27
+ def delivery_by_amazon_2022_07_01 = APIs::DeliveryByAmazon20220701
27
28
  def easy_ship_2022_03_23 = APIs::EasyShip20220323
28
29
  def external_fulfillment_inventory_2024_09_11 = APIs::ExternalFulfillmentInventory20240911
29
30
  def external_fulfillment_returns_2024_09_11 = APIs::ExternalFulfillmentReturns20240911
@@ -84,6 +85,7 @@ module Peddler
84
85
  alias_method :catalog_items, :catalog_items_2022_04_01
85
86
  alias_method :customer_feedback, :customer_feedback_2024_06_01
86
87
  alias_method :data_kiosk, :data_kiosk_2023_11_15
88
+ alias_method :delivery_by_amazon, :delivery_by_amazon_2022_07_01
87
89
  alias_method :easy_ship, :easy_ship_2022_03_23
88
90
  alias_method :external_fulfillment_inventory, :external_fulfillment_inventory_2024_09_11
89
91
  alias_method :external_fulfillment_returns, :external_fulfillment_returns_2024_09_11
data/sig/peddler/api.rbs CHANGED
@@ -8,44 +8,34 @@ module Peddler
8
8
 
9
9
  @access_token: String
10
10
  @endpoint: Endpoint
11
-
12
- @http: HTTP::Client?
11
+ @http: HTTP::Client
13
12
  @retries: Integer
14
13
  @sandbox: bool
15
14
 
16
15
  attr_reader access_token: String
17
16
  attr_reader endpoint: Endpoint
18
-
19
17
  attr_reader retries: Integer
20
18
 
21
- def initialize: (String aws_region, String access_token, ?retries: Integer) -> void
22
-
23
- def cannot_sandbox!: () -> void
19
+ def initialize: (String aws_region, String access_token, ?retries: Integer, ?http: HTTP::Client) -> void
24
20
 
25
- def delete: (String path, ?parser: untyped, **untyped) -> Response
26
21
  def endpoint_uri: () -> URI::HTTPS
27
-
28
- def get: (String path, ?parser: untyped, **untyped) -> Response
29
- def http: () -> HTTP::Client
30
- def must_sandbox!: () -> void
31
-
32
- def patch: (String path, ?parser: untyped, **untyped) -> Response
33
- def post: (String path, ?parser: untyped, **untyped) -> Response
34
- def put: (String path, ?parser: untyped, **untyped) -> Response
35
- def retriable: (**untyped) ?{ () -> untyped } -> self
36
22
  def sandbox: () -> self
37
23
  def sandbox?: () -> bool
38
-
39
- def use: (*untyped, **untyped) ?{ () -> untyped } -> self
40
- def via: (*untyped, **untyped) ?{ () -> untyped } -> self
24
+ def http: (?rate_limit: Float?) -> HTTP::Client
41
25
 
42
26
  private
43
27
 
44
- def meter: (Float? requests_per_second) -> self
45
-
28
+ def get: (String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
29
+ def post: (String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
30
+ def put: (String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
31
+ def delete: (String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
32
+ def patch: (String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
33
+ def request: (Symbol method, String path, ?rate_limit: Float?, ?parser: untyped, **untyped) -> Response
34
+ def cannot_sandbox!: () -> void
35
+ def must_sandbox!: () -> void
36
+ def user_agent: () -> String
37
+ def timestamp: () -> String
46
38
  def percent_encode: (String component) -> String
47
39
  def stringify_array: (Array[untyped]? val) -> String?
48
- def timestamp: () -> String
49
- def user_agent: () -> String
50
40
  end
51
41
  end
@@ -0,0 +1,85 @@
1
+ module Peddler
2
+ module APIs
3
+ class DeliveryByAmazon20220701 < API
4
+ class Error < Data
5
+ def self.new: (code: String?, message: String?, ?details: String?) -> Peddler::APIs::DeliveryByAmazon20220701::Error
6
+ | (String?, String?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::Error
7
+ def self.[]: (code: String?, message: String?, ?details: String?) -> Peddler::APIs::DeliveryByAmazon20220701::Error
8
+ | (String?, String?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::Error
9
+
10
+ def self.members: () -> [ :code, :message, :details ]
11
+
12
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::DeliveryByAmazon20220701::Error
13
+
14
+ attr_reader code: String?
15
+ attr_reader details: String?
16
+ attr_reader message: String?
17
+
18
+ def members: () -> [ :code, :message, :details ]
19
+ def to_h: () -> { code: String?, message: String?, details: String? }
20
+ end
21
+
22
+ class ErrorList < Array[Error]
23
+ def self.parse: (Array[untyped]) -> ErrorList
24
+ end
25
+
26
+ class GetInvoiceStatusResponse < Data
27
+ def self.new: (?amazon_order_id: String?, ?amazon_shipment_id: String?, ?errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?, ?invoice_status: String?) -> Peddler::APIs::DeliveryByAmazon20220701::GetInvoiceStatusResponse
28
+ | (String?, String?, Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::GetInvoiceStatusResponse
29
+ def self.[]: (?amazon_order_id: String?, ?amazon_shipment_id: String?, ?errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?, ?invoice_status: String?) -> Peddler::APIs::DeliveryByAmazon20220701::GetInvoiceStatusResponse
30
+ | (String?, String?, Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::GetInvoiceStatusResponse
31
+
32
+ def self.members: () -> [ :amazon_order_id, :amazon_shipment_id, :errors, :invoice_status ]
33
+
34
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::DeliveryByAmazon20220701::GetInvoiceStatusResponse
35
+
36
+ attr_reader amazon_order_id: String?
37
+ attr_reader amazon_shipment_id: String?
38
+ attr_reader errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?
39
+ attr_reader invoice_status: String?
40
+
41
+ def members: () -> [ :amazon_order_id, :amazon_shipment_id, :errors, :invoice_status ]
42
+ def to_h: () -> { amazon_order_id: String?, amazon_shipment_id: String?, errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?, invoice_status: String? }
43
+ end
44
+
45
+ class SubmitInvoiceRequest < Data
46
+ def self.new: (content_md5_value: String?, invoice_content: String?, invoice_type: String?, marketplace_id: String?, program_type: String?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceRequest
47
+ | (String?, String?, String?, String?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceRequest
48
+ def self.[]: (content_md5_value: String?, invoice_content: String?, invoice_type: String?, marketplace_id: String?, program_type: String?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceRequest
49
+ | (String?, String?, String?, String?, String?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceRequest
50
+
51
+ def self.members: () -> [ :content_md5_value, :invoice_content, :invoice_type, :marketplace_id, :program_type ]
52
+
53
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceRequest
54
+
55
+ attr_reader content_md5_value: String?
56
+ attr_reader invoice_content: String?
57
+ attr_reader invoice_type: String?
58
+ attr_reader marketplace_id: String?
59
+ attr_reader program_type: String?
60
+
61
+ def members: () -> [ :content_md5_value, :invoice_content, :invoice_type, :marketplace_id, :program_type ]
62
+ def to_h: () -> { content_md5_value: String?, invoice_content: String?, invoice_type: String?, marketplace_id: String?, program_type: String? }
63
+ end
64
+
65
+ class SubmitInvoiceResponse < Data
66
+ def self.new: (?errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceResponse
67
+ | (Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceResponse
68
+ def self.[]: (?errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceResponse
69
+ | (Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceResponse
70
+
71
+ def self.members: () -> [ :errors ]
72
+
73
+ def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::DeliveryByAmazon20220701::SubmitInvoiceResponse
74
+
75
+ attr_reader errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]?
76
+
77
+ def members: () -> [ :errors ]
78
+ def to_h: () -> { errors: Array[Peddler::APIs::DeliveryByAmazon20220701::Error]? }
79
+ end
80
+
81
+ def get_invoice_status: (String, String, String, ?order_id: String?, ?shipment_id: String?, ?rate_limit: Float) -> Peddler::Response
82
+ def submit_invoice: (Hash[untyped, untyped], ?order_id: String?, ?shipment_id: String?, ?rate_limit: Float) -> Peddler::Response
83
+ end
84
+ end
85
+ end
@@ -692,12 +692,12 @@ module Peddler
692
692
  end
693
693
 
694
694
  class Shipment < Data
695
- def self.new: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, ?earliest_pack_date_time: String?, ?invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, ?packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, ?party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
696
- | (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, String?, String?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
697
- def self.[]: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, ?earliest_pack_date_time: String?, ?invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, ?packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, ?party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
698
- | (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, String?, String?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
695
+ def self.new: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, ?earliest_pack_date_time: String?, ?invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, ?packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, ?party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, ?reason: String?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
696
+ | (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, String?, String?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
697
+ def self.[]: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, ?earliest_pack_date_time: String?, ?invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, ?packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, ?party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, ?reason: String?, ?sub_status: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
698
+ | (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, String?, String?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, String?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
699
699
 
700
- def self.members: () -> [ :charges, :creation_date_time, :id, :last_updated_date_time, :line_items, :location_id, :marketplace_attributes, :shipment_info, :shipment_requirements, :shipping_info, :status, :earliest_pack_date_time, :invoice_info, :packages, :party_info_list, :sub_status ]
700
+ def self.members: () -> [ :charges, :creation_date_time, :id, :last_updated_date_time, :line_items, :location_id, :marketplace_attributes, :shipment_info, :shipment_requirements, :shipping_info, :status, :earliest_pack_date_time, :invoice_info, :packages, :party_info_list, :reason, :sub_status ]
701
701
 
702
702
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Shipment
703
703
 
@@ -712,14 +712,15 @@ module Peddler
712
712
  attr_reader marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?
713
713
  attr_reader packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?
714
714
  attr_reader party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?
715
+ attr_reader reason: String?
715
716
  attr_reader shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?
716
717
  attr_reader shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?
717
718
  attr_reader shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?
718
719
  attr_reader status: String?
719
720
  attr_reader sub_status: String?
720
721
 
721
- def members: () -> [ :charges, :creation_date_time, :id, :last_updated_date_time, :line_items, :location_id, :marketplace_attributes, :shipment_info, :shipment_requirements, :shipping_info, :status, :earliest_pack_date_time, :invoice_info, :packages, :party_info_list, :sub_status ]
722
- def to_h: () -> { charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, earliest_pack_date_time: String?, invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, sub_status: String? }
722
+ def members: () -> [ :charges, :creation_date_time, :id, :last_updated_date_time, :line_items, :location_id, :marketplace_attributes, :shipment_info, :shipment_requirements, :shipping_info, :status, :earliest_pack_date_time, :invoice_info, :packages, :party_info_list, :reason, :sub_status ]
723
+ def to_h: () -> { charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]?, creation_date_time: String?, id: String?, last_updated_date_time: String?, line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem]?, location_id: String?, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes?, shipment_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentInfo?, shipment_requirements: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentRequirements?, shipping_info: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingInfo?, status: String?, earliest_pack_date_time: String?, invoice_info: Peddler::APIs::ExternalFulfillmentShipments20240911::InvoiceInfo?, packages: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Package]?, party_info_list: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::PartyIdentificationInfo]?, reason: String?, sub_status: String? }
723
724
  end
724
725
 
725
726
  class ShipmentAcknowledgementRequest < Data