@flowio/types 11.24.108 → 11.24.110

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.
@@ -1460,318 +1460,6 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
1460
1460
  | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
1461
1461
  }
1462
1462
 
1463
- declare namespace io.flow.flexe.v0.enums {
1464
- type FlexeAttachmentType =
1465
- | 'shipping_label'
1466
- | 'packing_slip'
1467
- | 'packing_slip_letter';
1468
- type FlexeNotification = 'receipt' | 'shipment';
1469
- type FlexeShipmentType =
1470
- | 'fulfillment_order'
1471
- | 'retail_fulfillment_order'
1472
- | 'carton_pick_delivery'
1473
- | 'delivery'
1474
- | 'container_delivery';
1475
- type FlexeStatus = 'in_transit' | 'completed';
1476
- }
1477
-
1478
- declare namespace io.flow.flexe.v0.models {
1479
- interface BillOfLading {
1480
- readonly type: string;
1481
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1482
- }
1483
-
1484
- interface BillTo {
1485
- readonly name: string;
1486
- readonly address_1: string;
1487
- readonly locality: string;
1488
- readonly region: string;
1489
- readonly postal_code: string;
1490
- readonly country: string;
1491
- readonly address_2?: string;
1492
- readonly address_3?: string;
1493
- }
1494
-
1495
- interface CartonPickDeliveryDetails {
1496
- readonly shipment_uuid?: string;
1497
- readonly carrier?: string;
1498
- readonly carrier_id?: string;
1499
- }
1500
-
1501
- interface ContainerDeliveryDetails {
1502
- readonly purchase_order: string;
1503
- readonly container_number?: string;
1504
- readonly seal_number?: string;
1505
- readonly vendor?: string;
1506
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1507
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1508
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1509
- readonly quantities_by_inventory: Record<
1510
- string,
1511
- io.flow.flexe.v0.models.QuantityByInventory
1512
- >;
1513
- }
1514
-
1515
- interface DeliveryDetails {
1516
- readonly shipment_uuid?: string;
1517
- readonly trailer_number?: string;
1518
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
1519
- readonly quantities_by_inventory: Record<
1520
- string,
1521
- io.flow.flexe.v0.models.QuantityByInventory
1522
- >;
1523
- }
1524
-
1525
- interface Error {
1526
- readonly url: string;
1527
- readonly client_request_id: string;
1528
- readonly generated_at: string;
1529
- readonly error: string;
1530
- }
1531
-
1532
- interface FlexeAttachment {
1533
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1534
- readonly display_name: string;
1535
- readonly url: string;
1536
- }
1537
-
1538
- interface FlexeEcommerceFulfillment {
1539
- readonly url: string;
1540
- readonly client_request_id: string;
1541
- readonly generated_at: string;
1542
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1543
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1544
- }
1545
-
1546
- interface FlexeEcommerceFulfillmentData {
1547
- readonly import_id: string;
1548
- readonly succeeded_uuids: string[];
1549
- readonly failed_uuids: string[];
1550
- readonly errors: string[];
1551
- }
1552
-
1553
- interface FlexeEcommerceFulfillmentErrors {
1554
- readonly status: string;
1555
- readonly title: string;
1556
- readonly detail: string;
1557
- readonly source?: string;
1558
- }
1559
-
1560
- interface FlexeEcommerceFulfillmentForm {
1561
- readonly reservation_id: number;
1562
- readonly client_request_id: string;
1563
- readonly request: io.flow.flexe.v0.models.Orders;
1564
- }
1565
-
1566
- interface FlexeInventoryData {
1567
- readonly sku: string;
1568
- readonly quantity: string;
1569
- readonly unit: string;
1570
- }
1571
-
1572
- interface FlexeRetailAttachment {
1573
- readonly display_name: string;
1574
- readonly url: string;
1575
- }
1576
-
1577
- interface FlexeRetailFulfillment {
1578
- readonly url: string;
1579
- readonly client_request_id: string;
1580
- readonly generated_at: string;
1581
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1582
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1583
- }
1584
-
1585
- interface FlexeRetailFulfillmentData {
1586
- readonly id: string;
1587
- readonly purchase_order_uuid: string;
1588
- readonly status: string;
1589
- }
1590
-
1591
- interface FlexeRetailFulfillmentErrors {
1592
- readonly type: string;
1593
- readonly message: string;
1594
- }
1595
-
1596
- interface FlexeRetailFulfillmentForm {
1597
- readonly reservation_id: number;
1598
- readonly client_request_id?: string;
1599
- readonly request: io.flow.flexe.v0.models.RetailOrder;
1600
- }
1601
-
1602
- interface FulfillmentOrderDetails {
1603
- readonly shipment_uuid: string;
1604
- readonly carrier?: string;
1605
- readonly carrier_id?: string;
1606
- }
1607
-
1608
- interface Gs1Us {
1609
- readonly number: string;
1610
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1611
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1612
- }
1613
-
1614
- interface Gs1UsShipTo {
1615
- readonly cid_number?: string;
1616
- readonly location_number?: string;
1617
- readonly free_on_board?: boolean;
1618
- }
1619
-
1620
- interface Inventory {
1621
- readonly url: string;
1622
- readonly client_request_id: string;
1623
- readonly generated_at: string;
1624
- readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1625
- }
1626
-
1627
- interface InventoryCount {
1628
- readonly amount: number;
1629
- readonly unit: string;
1630
- }
1631
-
1632
- interface InventoryData {
1633
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1634
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1635
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
1636
- }
1637
-
1638
- interface InventoryDetails {
1639
- readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1640
- }
1641
-
1642
- interface LadingQuantity {
1643
- readonly num_pallets: number;
1644
- }
1645
-
1646
- interface Order {
1647
- readonly shipment_uuid: string;
1648
- readonly purchase_order: string;
1649
- readonly carrier: string;
1650
- readonly service_type: string;
1651
- readonly carrier_assigned_id: string;
1652
- readonly name: string;
1653
- readonly address_1: string;
1654
- readonly address_2?: string;
1655
- readonly address_3?: string;
1656
- readonly city: string;
1657
- readonly state: string;
1658
- readonly postal_code: string;
1659
- readonly phone?: string;
1660
- readonly instructions?: string;
1661
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1662
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1663
- }
1664
-
1665
- interface Orders {
1666
- readonly orders: io.flow.flexe.v0.models.Order[];
1667
- }
1668
-
1669
- interface Pallet {
1670
- readonly pallet_id: string;
1671
- readonly sku: string;
1672
- readonly quantity: number;
1673
- readonly packaging: string;
1674
- }
1675
-
1676
- interface PurchaseOrder {
1677
- readonly retail_fulfillment_order_id: string;
1678
- readonly bill_of_lading_number: string;
1679
- readonly purchase_order_uuid: string;
1680
- readonly pickup_window_start: string;
1681
- readonly pickup_window_end: string;
1682
- readonly tags: string[];
1683
- }
1684
-
1685
- interface QuantityByInventory {
1686
- readonly received: io.flow.flexe.v0.models.InventoryData;
1687
- readonly expected?: io.flow.flexe.v0.models.InventoryData;
1688
- readonly damaged?: io.flow.flexe.v0.models.InventoryData;
1689
- }
1690
-
1691
- interface ReceiptNotification {
1692
- readonly shipment_id: string;
1693
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1694
- readonly reservation_id: string;
1695
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1696
- readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
1697
- readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1698
- }
1699
-
1700
- interface RetailFulfillmentOrderDetails {
1701
- readonly master_bill_of_lading_number: string;
1702
- readonly scac: string;
1703
- readonly pro_number: string;
1704
- readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
1705
- readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
1706
- }
1707
-
1708
- interface RetailInventoryData {
1709
- readonly sku: string;
1710
- readonly quantity: number;
1711
- readonly unit: string;
1712
- readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1713
- }
1714
-
1715
- interface RetailOrder {
1716
- readonly order: io.flow.flexe.v0.models.RetailOrderData;
1717
- }
1718
-
1719
- interface RetailOrderData {
1720
- readonly purchase_order_uuid: string;
1721
- readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
1722
- readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
1723
- readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
1724
- readonly ship_to: io.flow.flexe.v0.models.ShipTo;
1725
- readonly build_by?: string;
1726
- readonly instrunctions?: string;
1727
- readonly routing_details_id?: string;
1728
- readonly destination_type?: string;
1729
- }
1730
-
1731
- interface ShipTo {
1732
- readonly name: string;
1733
- readonly address_1: string;
1734
- readonly locality: string;
1735
- readonly region: string;
1736
- readonly postal_code: string;
1737
- readonly country: string;
1738
- readonly address_2?: string;
1739
- readonly address_3?: string;
1740
- }
1741
-
1742
- interface ShipWithin {
1743
- readonly start: string;
1744
- readonly end: string;
1745
- }
1746
-
1747
- interface ShipmentDeliveryDetails {
1748
- readonly shipment_uuid?: string;
1749
- }
1750
-
1751
- interface ShipmentNotification {
1752
- readonly shipment_id: string;
1753
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1754
- readonly reservation_id: string;
1755
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1756
- readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1757
- readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1758
- readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1759
- readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1760
- }
1761
-
1762
- interface Sku {
1763
- readonly sku: string;
1764
- readonly description: string;
1765
- readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
1766
- }
1767
-
1768
- interface SkuSummary {
1769
- readonly key: string;
1770
- readonly quantity: number;
1771
- readonly unit: string;
1772
- }
1773
- }
1774
-
1775
1463
  declare namespace io.flow.payment.v0.enums {
1776
1464
  type AddressVerificationResultFieldCode =
1777
1465
  | 'matched'
@@ -5268,6 +4956,16 @@ declare namespace io.flow.external.paypal.v1.enums {
5268
4956
  | 'CUSTOMER_NOT_PRESENT_ONETIME_PURCHASE_VAULTED';
5269
4957
  type ProductReceived = 'YES' | 'NO' | 'RETURNED';
5270
4958
  type RefundState = 'pending' | 'completed' | 'cancelled' | 'failed';
4959
+ type ReportingBalanceAffectingRecordsOnly = 'Y' | 'N';
4960
+ type ReportingTransactionField =
4961
+ | 'transaction_info'
4962
+ | 'payer_info'
4963
+ | 'shipping_info'
4964
+ | 'auction_info'
4965
+ | 'cart_info'
4966
+ | 'incentive_info'
4967
+ | 'store_info';
4968
+ type ReportingTransactionStatus = 'D' | 'P' | 'S' | 'V';
5271
4969
  type ReturnAcknowledgementType =
5272
4970
  | 'ITEM_RECEIVED'
5273
4971
  | 'ITEM_NOT_RECEIVED'
@@ -5690,6 +5388,31 @@ declare namespace io.flow.external.paypal.v1.models {
5690
5388
  readonly invoice_number: string;
5691
5389
  }
5692
5390
 
5391
+ interface ReportingTransaction {
5392
+ readonly transaction_details: io.flow.external.paypal.v1.models.ReportingTransactionDetails[];
5393
+ readonly links: io.flow.external.paypal.v1.models.Link[];
5394
+ }
5395
+
5396
+ interface ReportingTransactionDetails {
5397
+ readonly transaction_info: io.flow.external.paypal.v1.models.ReportingTransactionInfo;
5398
+ }
5399
+
5400
+ interface ReportingTransactionInfo {
5401
+ readonly paypal_account_id?: string;
5402
+ readonly transaction_id?: string;
5403
+ readonly paypal_reference_id?: string;
5404
+ readonly paypal_reference_id_type?: string;
5405
+ readonly transaction_event_code: string;
5406
+ readonly transaction_initiation_date: string;
5407
+ readonly transaction_updated_date: string;
5408
+ readonly transaction_status: io.flow.external.paypal.v1.enums.ReportingTransactionStatus;
5409
+ readonly transaction_subject?: string;
5410
+ readonly invoice_id: string;
5411
+ readonly custom_field?: string;
5412
+ readonly protection_eligibility?: string;
5413
+ readonly instrument_type?: string;
5414
+ }
5415
+
5693
5416
  interface ReturnDetails {
5694
5417
  readonly return_time?: string;
5695
5418
  readonly mode?: io.flow.external.paypal.v1.enums.ReturnMode;
@@ -6197,7 +5920,8 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
6197
5920
  | 'product_bundle'
6198
5921
  | 'shopify_location'
6199
5922
  | 'shopify_order'
6200
- | 'sync_product_catalog';
5923
+ | 'sync_product_catalog'
5924
+ | 'shopify_webhook';
6201
5925
  type ProductStatus = 'active' | 'archived' | 'draft';
6202
5926
  type ShopifyMarketsDangerousGoods =
6203
5927
  | 'aerosols'
@@ -7289,6 +7013,11 @@ declare namespace io.flow.shopify.external.v0.models {
7289
7013
  readonly weight?: io.flow.shopify.external.v0.models.GraphqlWeight;
7290
7014
  }
7291
7015
 
7016
+ interface GraphqlMetafield {
7017
+ readonly key: string;
7018
+ readonly value: string;
7019
+ }
7020
+
7292
7021
  interface GraphqlOption {
7293
7022
  readonly id: string;
7294
7023
  readonly values: string[];
@@ -7314,6 +7043,8 @@ declare namespace io.flow.shopify.external.v0.models {
7314
7043
  readonly createdAt: string;
7315
7044
  readonly updatedAt: string;
7316
7045
  readonly hasVariantsThatRequiresComponents?: boolean;
7046
+ readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
7047
+ readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
7317
7048
  }
7318
7049
 
7319
7050
  interface GraphqlProductImage {
@@ -7337,6 +7068,11 @@ declare namespace io.flow.shopify.external.v0.models {
7337
7068
  readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
7338
7069
  }
7339
7070
 
7071
+ interface GraphqlTaxonomyCategory {
7072
+ readonly name: string;
7073
+ readonly fullName: string;
7074
+ }
7075
+
7340
7076
  interface GraphqlVariantImage {
7341
7077
  readonly id: string;
7342
7078
  }
@@ -7454,6 +7190,7 @@ declare namespace io.flow.shopify.external.v0.models {
7454
7190
  readonly created_at: string;
7455
7191
  readonly updated_at: string;
7456
7192
  readonly has_variants_that_requires_components?: boolean;
7193
+ readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
7457
7194
  }
7458
7195
 
7459
7196
  interface ProductDelete {
@@ -11505,12 +11242,14 @@ declare namespace io.flow.ratecard.v0.models {
11505
11242
  readonly q: string;
11506
11243
  readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
11507
11244
  readonly position: number;
11245
+ readonly block_bulk_update?: boolean;
11508
11246
  }
11509
11247
 
11510
11248
  interface DimensionEstimateForm {
11511
11249
  readonly q: string;
11512
11250
  readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
11513
11251
  readonly position?: number;
11252
+ readonly block_bulk_update?: boolean;
11514
11253
  }
11515
11254
 
11516
11255
  interface DimensionEstimateVersion {
@@ -12737,7 +12476,71 @@ declare namespace io.flow.reference.v0.models {
12737
12476
  }
12738
12477
  }
12739
12478
 
12479
+ declare namespace io.flow.product.v0.models {
12480
+ interface Product {
12481
+ readonly organization_id: string;
12482
+ readonly number: string;
12483
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
12484
+ readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
12485
+ readonly item_numbers: string[];
12486
+ readonly updated_at: string;
12487
+ readonly deleted_at?: string;
12488
+ }
12489
+
12490
+ interface ProductTaxonomyCategory {
12491
+ readonly name: string;
12492
+ readonly full_name: string;
12493
+ }
12494
+
12495
+ interface ProductTaxonomyData {
12496
+ readonly key: string;
12497
+ readonly value: string[];
12498
+ }
12499
+ }
12500
+
12740
12501
  declare namespace io.flow.tracking.v0.enums {
12502
+ type SubstatusCode =
12503
+ | 'Delivered_001'
12504
+ | 'Delivered_002'
12505
+ | 'Delivered_003'
12506
+ | 'Delivered_004'
12507
+ | 'AvailableForPickup_001'
12508
+ | 'Exception_001'
12509
+ | 'Exception_002'
12510
+ | 'Exception_003'
12511
+ | 'Exception_004'
12512
+ | 'Exception_005'
12513
+ | 'Exception_006'
12514
+ | 'Exception_007'
12515
+ | 'Exception_008'
12516
+ | 'Exception_009'
12517
+ | 'Exception_010'
12518
+ | 'Exception_011'
12519
+ | 'Exception_012'
12520
+ | 'Exception_013'
12521
+ | 'AttemptFail_001'
12522
+ | 'AttemptFail_002'
12523
+ | 'AttemptFail_003'
12524
+ | 'InTransit_001'
12525
+ | 'InTransit_002'
12526
+ | 'InTransit_003'
12527
+ | 'InTransit_004'
12528
+ | 'InTransit_005'
12529
+ | 'InTransit_006'
12530
+ | 'InTransit_007'
12531
+ | 'InTransit_008'
12532
+ | 'InTransit_009'
12533
+ | 'InfoReceived_001'
12534
+ | 'OutForDelivery_001'
12535
+ | 'OutForDelivery_003'
12536
+ | 'OutForDelivery_004'
12537
+ | 'Pending_001'
12538
+ | 'Pending_002'
12539
+ | 'Pending_003'
12540
+ | 'Pending_004'
12541
+ | 'Pending_005'
12542
+ | 'Pending_006'
12543
+ | 'Expired_001';
12741
12544
  type TrackingStatus =
12742
12545
  | 'label_created'
12743
12546
  | 'pending'
@@ -13850,7 +13653,10 @@ declare namespace io.flow.billing.v0.enums {
13850
13653
  | 'virtual_card_capture'
13851
13654
  | 'virtual_card_refund'
13852
13655
  | 'failed_payout'
13853
- | 'tax_refund';
13656
+ | 'tax_refund'
13657
+ | 'order_fx'
13658
+ | 'ge_revenue_share'
13659
+ | 'tax_duty_delta';
13854
13660
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
13855
13661
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
13856
13662
  }
@@ -15762,6 +15568,40 @@ declare namespace io.flow.fraud.v0.unions {
15762
15568
  | io.flow.fraud.v0.models.FraudPaymentRequestReference;
15763
15569
  }
15764
15570
 
15571
+ declare namespace io.flow.sellability.v0.enums {
15572
+ type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
15573
+ }
15574
+
15575
+ declare namespace io.flow.sellability.v0.models {
15576
+ interface ProductSellability {
15577
+ readonly organization_id: string;
15578
+ readonly product_id?: string;
15579
+ readonly product_correlation_id: string;
15580
+ readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
15581
+ readonly in_review_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
15582
+ }
15583
+
15584
+ interface ProductSellabilityForm {
15585
+ readonly organization_id: string;
15586
+ readonly product_id?: string;
15587
+ readonly product_correlation_id: string;
15588
+ readonly name: string;
15589
+ readonly price: io.flow.sellability.v0.models.ProductSellabilityPrice;
15590
+ readonly description: string;
15591
+ readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
15592
+ }
15593
+
15594
+ interface ProductSellabilityPrice {
15595
+ readonly currency: string;
15596
+ readonly amount: number;
15597
+ }
15598
+
15599
+ interface SellablilityRegionResult {
15600
+ readonly type: io.flow.sellability.v0.enums.RuleEffectType;
15601
+ readonly regions: string[];
15602
+ }
15603
+ }
15604
+
15765
15605
  declare namespace io.flow.currency.v0.models {
15766
15606
  interface Rate {
15767
15607
  readonly id: string;
@@ -16087,6 +15927,7 @@ declare namespace io.flow.internal.v0.enums {
16087
15927
  | 'checkout_payments_api'
16088
15928
  | 'classic_authorise_api';
16089
15929
  type AldoItemType = 'physical' | 'digital';
15930
+ type AnshItemType = 'physical' | 'digital';
16090
15931
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
16091
15932
  type ApiCallReferenceId =
16092
15933
  | 'duty_rates_data_event'
@@ -16321,8 +16162,11 @@ declare namespace io.flow.internal.v0.enums {
16321
16162
  | 'duty'
16322
16163
  | 'trueup'
16323
16164
  | 'carrier_charge'
16165
+ | 'order_fx'
16324
16166
  | 'tax_refund'
16325
- | 'duty_refund';
16167
+ | 'duty_refund'
16168
+ | 'ge_revenue_share'
16169
+ | 'tax_duty_delta';
16326
16170
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
16327
16171
  type CalculatorEngine =
16328
16172
  | 'dtce_with_deminimis'
@@ -16408,7 +16252,8 @@ declare namespace io.flow.internal.v0.enums {
16408
16252
  | 'duties_fx_surcharge'
16409
16253
  | 'electronic_export_information_surcharge'
16410
16254
  | 'additional_handling'
16411
- | 'large_package_surcharge';
16255
+ | 'large_package_surcharge'
16256
+ | 'peak_surcharge';
16412
16257
  type ChargebackPaymentStatus = 'captured' | 'refunded';
16413
16258
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
16414
16259
  type CheckoutAssetType = 'stylesheet' | 'javascript';
@@ -16498,6 +16343,8 @@ declare namespace io.flow.internal.v0.enums {
16498
16343
  type EventType =
16499
16344
  | 'adjusted_estimates_upserted'
16500
16345
  | 'adjusted_estimates_deleted'
16346
+ | 'final_estimate_upserted'
16347
+ | 'final_estimate_deleted'
16501
16348
  | 'adyen_authorization_deleted'
16502
16349
  | 'adyen_authorization_upserted'
16503
16350
  | 'adyen_cancel_deleted'
@@ -16672,7 +16519,6 @@ declare namespace io.flow.internal.v0.enums {
16672
16519
  | 'harmonized_items_hs6_export'
16673
16520
  | 'unharmonized_items_export'
16674
16521
  | 'dutied_items_export'
16675
- | 'tariff_codes_export'
16676
16522
  | 'harmonization_phrase_suggestion_request_import'
16677
16523
  | 'harmonization_codes_import'
16678
16524
  | 'item_classification_created'
@@ -16798,6 +16644,10 @@ declare namespace io.flow.internal.v0.enums {
16798
16644
  | 'screening_status_change_deleted'
16799
16645
  | 'restrictions_dailyops_upserted'
16800
16646
  | 'restrictions_dailyops_deleted'
16647
+ | 'restriction_rule_upserted'
16648
+ | 'restriction_rule_deleted'
16649
+ | 'restriction_rule_effect_upserted'
16650
+ | 'restriction_rule_effect_deleted'
16801
16651
  | 'shopify_shop_upserted'
16802
16652
  | 'shopify_shop_deleted'
16803
16653
  | 'shopify_experience_short_id_upserted'
@@ -16823,6 +16673,18 @@ declare namespace io.flow.internal.v0.enums {
16823
16673
  | 'shopify_incoterm_summary_error_published'
16824
16674
  | 'shopify_markets_best_selling_product_upserted'
16825
16675
  | 'shopify_markets_best_selling_product_deleted'
16676
+ | 'shopify_product_create_upserted'
16677
+ | 'shopify_product_create_deleted'
16678
+ | 'shopify_product_update_upserted'
16679
+ | 'shopify_product_update_deleted'
16680
+ | 'shopify_product_delete_upserted'
16681
+ | 'shopify_product_delete_deleted'
16682
+ | 'shopify_inventory_item_create_upserted'
16683
+ | 'shopify_inventory_item_create_deleted'
16684
+ | 'shopify_inventory_item_update_upserted'
16685
+ | 'shopify_inventory_item_update_deleted'
16686
+ | 'shopify_inventory_item_delete_upserted'
16687
+ | 'shopify_inventory_item_delete_deleted'
16826
16688
  | 'shopify_monitoring_order_monitor_event_upserted'
16827
16689
  | 'shopify_monitoring_order_monitor_event_deleted'
16828
16690
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -16897,7 +16759,8 @@ declare namespace io.flow.internal.v0.enums {
16897
16759
  | 'product_bundle'
16898
16760
  | 'shopify_location'
16899
16761
  | 'shopify_order'
16900
- | 'sync_product_catalog';
16762
+ | 'sync_product_catalog'
16763
+ | 'shopify_webhook';
16901
16764
  type HarmonizationDecisionSource =
16902
16765
  | 'human'
16903
16766
  | 'legacy_model'
@@ -16925,6 +16788,7 @@ declare namespace io.flow.internal.v0.enums {
16925
16788
  type LabelBillingStrategy = 'quote' | 'carrier';
16926
16789
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
16927
16790
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
16791
+ type LabelEventSource = 'aftership' | 'carrier' | 'flow';
16928
16792
  type LabelRequestErrorHandlingResponsibility =
16929
16793
  | 'merchant'
16930
16794
  | 'merchant_integration'
@@ -17293,7 +17157,7 @@ declare namespace io.flow.internal.v0.enums {
17293
17157
  | 'vat'
17294
17158
  | 'duty';
17295
17159
  type ShopifyPromotionStatus = 'active' | 'inactive';
17296
- type ShopifyService = 'payment' | 'duty_tax_calculator';
17160
+ type ShopifyService = 'payment' | 'duty_tax_calculator' | 'sellability';
17297
17161
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
17298
17162
  type SnoozeNextActionWith = 'customer_service' | 'engineering';
17299
17163
  type SnoozeSourceType = 'task' | 'invariant';
@@ -18065,6 +17929,10 @@ declare namespace io.flow.internal.v0.models {
18065
17929
  readonly afterpay_refund: io.flow.internal.v0.models.AfterpayRefund;
18066
17930
  }
18067
17931
 
17932
+ interface AftershipWebhook {
17933
+ readonly placeholder?: boolean;
17934
+ }
17935
+
18068
17936
  interface AldoItem {
18069
17937
  readonly id: string;
18070
17938
  readonly number: string;
@@ -18132,6 +18000,23 @@ declare namespace io.flow.internal.v0.models {
18132
18000
  readonly labels: Record<string, string[]>;
18133
18001
  }
18134
18002
 
18003
+ interface AnshItem {
18004
+ readonly id: string;
18005
+ readonly number: string;
18006
+ readonly amount: io.flow.common.v0.models.Price;
18007
+ readonly description?: string;
18008
+ readonly type: io.flow.internal.v0.enums.AnshItemType;
18009
+ readonly added_on: string;
18010
+ }
18011
+
18012
+ interface AnshItemForm {
18013
+ readonly number: string;
18014
+ readonly amount: io.flow.common.v0.models.Price;
18015
+ readonly description?: string;
18016
+ readonly type: io.flow.internal.v0.enums.AnshItemType;
18017
+ readonly added_on: string;
18018
+ }
18019
+
18135
18020
  interface ApmContent {
18136
18021
  readonly processor_description: io.flow.internal.v0.unions.ContentItem;
18137
18022
  }
@@ -20558,10 +20443,6 @@ declare namespace io.flow.internal.v0.models {
20558
20443
  readonly pickup_name: string;
20559
20444
  }
20560
20445
 
20561
- interface DhlEcommerceWebhook {
20562
- readonly placeholder?: boolean;
20563
- }
20564
-
20565
20446
  interface Dict {
20566
20447
  readonly discriminator: 'dict';
20567
20448
  readonly label: io.flow.internal.v0.models.ContentLabel;
@@ -20708,6 +20589,8 @@ declare namespace io.flow.internal.v0.models {
20708
20589
  readonly reporting_category?: io.flow.internal.v0.enums.DisputeReportingCategory;
20709
20590
  readonly category?: io.flow.internal.v0.enums.DisputeCategory;
20710
20591
  readonly status?: io.flow.internal.v0.enums.DisputeStatus;
20592
+ readonly defense_outcome?: io.flow.internal.v0.enums.DisputeDefenseOutcome;
20593
+ readonly defended_at?: string;
20711
20594
  }
20712
20595
 
20713
20596
  interface DisputeRecord {
@@ -21402,6 +21285,29 @@ declare namespace io.flow.internal.v0.models {
21402
21285
  readonly negative_balance?: io.flow.internal.v0.models.Fee;
21403
21286
  }
21404
21287
 
21288
+ interface FinalEstimate {
21289
+ readonly id: string;
21290
+ readonly organization_id: string;
21291
+ readonly label_id: string;
21292
+ readonly estimate: io.flow.label.v0.models.ShippingLabelHopSummary;
21293
+ }
21294
+
21295
+ interface FinalEstimateDeleted {
21296
+ readonly discriminator: 'final_estimate_deleted';
21297
+ readonly event_id: string;
21298
+ readonly timestamp: string;
21299
+ readonly organization: string;
21300
+ readonly id: string;
21301
+ }
21302
+
21303
+ interface FinalEstimateUpserted {
21304
+ readonly discriminator: 'final_estimate_upserted';
21305
+ readonly event_id: string;
21306
+ readonly timestamp: string;
21307
+ readonly organization: string;
21308
+ readonly final_estimate: io.flow.internal.v0.models.FinalEstimate;
21309
+ }
21310
+
21405
21311
  interface FinanceBankAccount {
21406
21312
  readonly id: string;
21407
21313
  readonly accounts: io.flow.internal.v0.models.AccountSummary[];
@@ -21538,6 +21444,10 @@ declare namespace io.flow.internal.v0.models {
21538
21444
  readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
21539
21445
  }
21540
21446
 
21447
+ interface FlexeWebhook {
21448
+ readonly placeholder?: boolean;
21449
+ }
21450
+
21541
21451
  interface FlowAccount {
21542
21452
  readonly source: io.flow.internal.v0.models.AccountSource;
21543
21453
  readonly id: string;
@@ -22146,6 +22056,20 @@ declare namespace io.flow.internal.v0.models {
22146
22056
  readonly transaction_created_at: string;
22147
22057
  }
22148
22058
 
22059
+ interface GeRevenueShareTransaction {
22060
+ readonly discriminator: 'ge_revenue_share_transaction';
22061
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
22062
+ readonly ge_revenue_share: io.flow.internal.v0.models.Fee;
22063
+ readonly id: string;
22064
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
22065
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
22066
+ readonly posted_at?: string;
22067
+ readonly value: io.flow.common.v0.models.Price;
22068
+ readonly description: string;
22069
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
22070
+ readonly created_at: string;
22071
+ }
22072
+
22149
22073
  interface GenerateLoadMultipleOrgs {
22150
22074
  readonly discriminator: 'generate_load_multiple_orgs';
22151
22075
  readonly organization_ids: string[];
@@ -23512,6 +23436,7 @@ declare namespace io.flow.internal.v0.models {
23512
23436
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23513
23437
  readonly value: io.flow.common.v0.models.Price;
23514
23438
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23439
+ readonly paid_at?: string;
23515
23440
  readonly posted_at?: string;
23516
23441
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23517
23442
  readonly created_at: string;
@@ -24341,6 +24266,20 @@ declare namespace io.flow.internal.v0.models {
24341
24266
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
24342
24267
  }
24343
24268
 
24269
+ interface OrderFxTransaction {
24270
+ readonly discriminator: 'order_fx_transaction';
24271
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
24272
+ readonly fx: io.flow.internal.v0.models.Fee;
24273
+ readonly id: string;
24274
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
24275
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
24276
+ readonly posted_at?: string;
24277
+ readonly value: io.flow.common.v0.models.Price;
24278
+ readonly description: string;
24279
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
24280
+ readonly created_at: string;
24281
+ }
24282
+
24344
24283
  interface OrderNote {
24345
24284
  readonly id: string;
24346
24285
  readonly note: string;
@@ -26938,6 +26877,7 @@ declare namespace io.flow.internal.v0.models {
26938
26877
  readonly negative_keywords: string[];
26939
26878
  readonly value_threshold_usd?: number;
26940
26879
  readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
26880
+ readonly effects?: string[];
26941
26881
  }
26942
26882
 
26943
26883
  interface RestrictionRuleDecisionForm {
@@ -26946,6 +26886,40 @@ declare namespace io.flow.internal.v0.models {
26946
26886
  readonly product_id: string;
26947
26887
  }
26948
26888
 
26889
+ interface RestrictionRuleDeleted {
26890
+ readonly discriminator: 'restriction_rule_deleted';
26891
+ readonly event_id: string;
26892
+ readonly timestamp: string;
26893
+ readonly id: string;
26894
+ }
26895
+
26896
+ interface RestrictionRuleEffect {
26897
+ readonly id: string;
26898
+ readonly effect: io.flow.sellability.v0.enums.RuleEffectType;
26899
+ readonly regions: string[];
26900
+ readonly description?: string;
26901
+ }
26902
+
26903
+ interface RestrictionRuleEffectDeleted {
26904
+ readonly discriminator: 'restriction_rule_effect_deleted';
26905
+ readonly event_id: string;
26906
+ readonly timestamp: string;
26907
+ readonly id: string;
26908
+ }
26909
+
26910
+ interface RestrictionRuleEffectForm {
26911
+ readonly effect: io.flow.sellability.v0.enums.RuleEffectType;
26912
+ readonly regions: string[];
26913
+ readonly description?: string;
26914
+ }
26915
+
26916
+ interface RestrictionRuleEffectUpserted {
26917
+ readonly discriminator: 'restriction_rule_effect_upserted';
26918
+ readonly event_id: string;
26919
+ readonly timestamp: string;
26920
+ readonly restriction_rule_effect: io.flow.internal.v0.models.RestrictionRuleEffect;
26921
+ }
26922
+
26949
26923
  interface RestrictionRuleForm {
26950
26924
  readonly name: string;
26951
26925
  readonly description: string;
@@ -26955,6 +26929,7 @@ declare namespace io.flow.internal.v0.models {
26955
26929
  readonly negative_keywords: string[];
26956
26930
  readonly value_threshold_usd?: number;
26957
26931
  readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
26932
+ readonly effects?: string[];
26958
26933
  }
26959
26934
 
26960
26935
  interface RestrictionRuleMetadata {
@@ -26976,6 +26951,13 @@ declare namespace io.flow.internal.v0.models {
26976
26951
  readonly description: string;
26977
26952
  }
26978
26953
 
26954
+ interface RestrictionRuleUpserted {
26955
+ readonly discriminator: 'restriction_rule_upserted';
26956
+ readonly event_id: string;
26957
+ readonly timestamp: string;
26958
+ readonly restriction_rule: io.flow.internal.v0.models.RestrictionRule;
26959
+ }
26960
+
26979
26961
  interface RestrictionStatusMetadata {
26980
26962
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
26981
26963
  readonly count: number;
@@ -27305,6 +27287,13 @@ declare namespace io.flow.internal.v0.models {
27305
27287
  readonly customer_id: string;
27306
27288
  }
27307
27289
 
27290
+ interface ShawnRoundtableWorkshopRate {
27291
+ readonly origin_country: string;
27292
+ readonly destination_country: string;
27293
+ readonly weight: number;
27294
+ readonly amount: number;
27295
+ }
27296
+
27308
27297
  interface ShippedItemValue {
27309
27298
  readonly item: io.flow.common.v0.models.CatalogItemReference;
27310
27299
  readonly taxes: io.flow.common.v0.models.PriceWithBase;
@@ -27452,6 +27441,69 @@ declare namespace io.flow.internal.v0.models {
27452
27441
  readonly data: io.flow.internal.v0.models.ShopifyIncotermSummaryErrorData;
27453
27442
  }
27454
27443
 
27444
+ interface ShopifyInventoryItemCreateDeleted {
27445
+ readonly discriminator: 'shopify_inventory_item_create_deleted';
27446
+ readonly event_id: string;
27447
+ readonly timestamp: string;
27448
+ readonly organization: string;
27449
+ readonly id: string;
27450
+ }
27451
+
27452
+ interface ShopifyInventoryItemCreateUpserted {
27453
+ readonly discriminator: 'shopify_inventory_item_create_upserted';
27454
+ readonly event_id: string;
27455
+ readonly timestamp: string;
27456
+ readonly organization: string;
27457
+ readonly shopify_inventory_item_create: io.flow.internal.v0.models.ShopifyInventoryItemCreateWebhookEvent;
27458
+ }
27459
+
27460
+ interface ShopifyInventoryItemCreateWebhookEvent {
27461
+ readonly id: string;
27462
+ readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem;
27463
+ }
27464
+
27465
+ interface ShopifyInventoryItemDeleteDeleted {
27466
+ readonly discriminator: 'shopify_inventory_item_delete_deleted';
27467
+ readonly event_id: string;
27468
+ readonly timestamp: string;
27469
+ readonly organization: string;
27470
+ readonly id: string;
27471
+ }
27472
+
27473
+ interface ShopifyInventoryItemDeleteUpserted {
27474
+ readonly discriminator: 'shopify_inventory_item_delete_upserted';
27475
+ readonly event_id: string;
27476
+ readonly timestamp: string;
27477
+ readonly organization: string;
27478
+ readonly shopify_inventory_item_delete: io.flow.internal.v0.models.ShopifyInventoryItemDeleteWebhookEvent;
27479
+ }
27480
+
27481
+ interface ShopifyInventoryItemDeleteWebhookEvent {
27482
+ readonly id: string;
27483
+ readonly inventory_item_delete: io.flow.shopify.external.v0.models.ShopifyInventoryItemDelete;
27484
+ }
27485
+
27486
+ interface ShopifyInventoryItemUpdateDeleted {
27487
+ readonly discriminator: 'shopify_inventory_item_update_deleted';
27488
+ readonly event_id: string;
27489
+ readonly timestamp: string;
27490
+ readonly organization: string;
27491
+ readonly id: string;
27492
+ }
27493
+
27494
+ interface ShopifyInventoryItemUpdateUpserted {
27495
+ readonly discriminator: 'shopify_inventory_item_update_upserted';
27496
+ readonly event_id: string;
27497
+ readonly timestamp: string;
27498
+ readonly organization: string;
27499
+ readonly shopify_inventory_item_update: io.flow.internal.v0.models.ShopifyInventoryItemUpdateWebhookEvent;
27500
+ }
27501
+
27502
+ interface ShopifyInventoryItemUpdateWebhookEvent {
27503
+ readonly id: string;
27504
+ readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem;
27505
+ }
27506
+
27455
27507
  interface ShopifyMarketsBestSellingProduct {
27456
27508
  readonly id: string;
27457
27509
  }
@@ -27856,6 +27908,69 @@ declare namespace io.flow.internal.v0.models {
27856
27908
  readonly shopify_product_bundle: io.flow.internal.v0.models.ShopifyProductBundle;
27857
27909
  }
27858
27910
 
27911
+ interface ShopifyProductCreateDeleted {
27912
+ readonly discriminator: 'shopify_product_create_deleted';
27913
+ readonly event_id: string;
27914
+ readonly timestamp: string;
27915
+ readonly organization: string;
27916
+ readonly id: string;
27917
+ }
27918
+
27919
+ interface ShopifyProductCreateUpserted {
27920
+ readonly discriminator: 'shopify_product_create_upserted';
27921
+ readonly event_id: string;
27922
+ readonly timestamp: string;
27923
+ readonly organization: string;
27924
+ readonly shopify_product_create: io.flow.internal.v0.models.ShopifyProductCreateWebhookEvent;
27925
+ }
27926
+
27927
+ interface ShopifyProductCreateWebhookEvent {
27928
+ readonly id: string;
27929
+ readonly product: io.flow.shopify.external.v0.models.Product;
27930
+ }
27931
+
27932
+ interface ShopifyProductDeleteDeleted {
27933
+ readonly discriminator: 'shopify_product_delete_deleted';
27934
+ readonly event_id: string;
27935
+ readonly timestamp: string;
27936
+ readonly organization: string;
27937
+ readonly id: string;
27938
+ }
27939
+
27940
+ interface ShopifyProductDeleteUpserted {
27941
+ readonly discriminator: 'shopify_product_delete_upserted';
27942
+ readonly event_id: string;
27943
+ readonly timestamp: string;
27944
+ readonly organization: string;
27945
+ readonly shopify_product_delete: io.flow.internal.v0.models.ShopifyProductDeleteWebhookEvent;
27946
+ }
27947
+
27948
+ interface ShopifyProductDeleteWebhookEvent {
27949
+ readonly id: string;
27950
+ readonly product_delete: io.flow.shopify.external.v0.models.ProductDelete;
27951
+ }
27952
+
27953
+ interface ShopifyProductUpdateDeleted {
27954
+ readonly discriminator: 'shopify_product_update_deleted';
27955
+ readonly event_id: string;
27956
+ readonly timestamp: string;
27957
+ readonly organization: string;
27958
+ readonly id: string;
27959
+ }
27960
+
27961
+ interface ShopifyProductUpdateUpserted {
27962
+ readonly discriminator: 'shopify_product_update_upserted';
27963
+ readonly event_id: string;
27964
+ readonly timestamp: string;
27965
+ readonly organization: string;
27966
+ readonly shopify_product_update: io.flow.internal.v0.models.ShopifyProductUpdateWebhookEvent;
27967
+ }
27968
+
27969
+ interface ShopifyProductUpdateWebhookEvent {
27970
+ readonly id: string;
27971
+ readonly product: io.flow.shopify.external.v0.models.Product;
27972
+ }
27973
+
27859
27974
  interface ShopifyProductWrapper {
27860
27975
  readonly shopify_product: io.flow.shopify.external.v0.models.Product;
27861
27976
  readonly deleted_at?: string;
@@ -27978,6 +28093,11 @@ declare namespace io.flow.internal.v0.models {
27978
28093
  readonly shop_id: string;
27979
28094
  }
27980
28095
 
28096
+ interface ShopifyStripeEvent {
28097
+ readonly id: string;
28098
+ readonly request?: any /*object*/;
28099
+ }
28100
+
27981
28101
  interface ShopifyWebhook {
27982
28102
  readonly id: string;
27983
28103
  readonly shop_id: string;
@@ -28528,14 +28648,6 @@ declare namespace io.flow.internal.v0.models {
28528
28648
  readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
28529
28649
  }
28530
28650
 
28531
- interface TariffCodesExport {
28532
- readonly discriminator: 'tariff_codes_export';
28533
- readonly event_id: string;
28534
- readonly timestamp: string;
28535
- readonly organization: string;
28536
- readonly export_id: string;
28537
- }
28538
-
28539
28651
  interface TariffEligibility {
28540
28652
  readonly id: string;
28541
28653
  readonly data: io.flow.internal.v0.unions.TariffEligibilityData;
@@ -28634,6 +28746,19 @@ declare namespace io.flow.internal.v0.models {
28634
28746
  readonly category_code?: string;
28635
28747
  }
28636
28748
 
28749
+ interface TaxDutyDeltaTransaction {
28750
+ readonly discriminator: 'tax_duty_delta_transaction';
28751
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
28752
+ readonly id: string;
28753
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
28754
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
28755
+ readonly posted_at?: string;
28756
+ readonly value: io.flow.common.v0.models.Price;
28757
+ readonly description: string;
28758
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
28759
+ readonly created_at: string;
28760
+ }
28761
+
28637
28762
  interface TaxRemittanceTransaction {
28638
28763
  readonly discriminator: 'tax_remittance_transaction';
28639
28764
  readonly order: io.flow.internal.v0.models.BillingOrderSummary;
@@ -29006,6 +29131,10 @@ declare namespace io.flow.internal.v0.models {
29006
29131
  readonly tracking_events: io.flow.internal.v0.models.TrackingEvent[];
29007
29132
  }
29008
29133
 
29134
+ interface TrackingResync {
29135
+ readonly placeholder?: boolean;
29136
+ }
29137
+
29009
29138
  interface TrackingSubscription {
29010
29139
  readonly id: string;
29011
29140
  readonly organization_id: string;
@@ -29042,6 +29171,10 @@ declare namespace io.flow.internal.v0.models {
29042
29171
  readonly tracking: io.flow.tracking.v0.models.Tracking;
29043
29172
  }
29044
29173
 
29174
+ interface TrackingWebhook {
29175
+ readonly placeholder?: boolean;
29176
+ }
29177
+
29045
29178
  interface TransactionAdjustment {
29046
29179
  readonly id: string;
29047
29180
  readonly original_transaction: io.flow.internal.v0.models.TransactionReference;
@@ -29431,6 +29564,8 @@ declare namespace io.flow.internal.v0.unions {
29431
29564
  type Event =
29432
29565
  | io.flow.internal.v0.models.AdjustedEstimatesUpserted
29433
29566
  | io.flow.internal.v0.models.AdjustedEstimatesDeleted
29567
+ | io.flow.internal.v0.models.FinalEstimateUpserted
29568
+ | io.flow.internal.v0.models.FinalEstimateDeleted
29434
29569
  | io.flow.internal.v0.models.AdyenAuthorizationDeleted
29435
29570
  | io.flow.internal.v0.models.AdyenAuthorizationUpserted
29436
29571
  | io.flow.internal.v0.models.AdyenCancelDeleted
@@ -29605,7 +29740,6 @@ declare namespace io.flow.internal.v0.unions {
29605
29740
  | io.flow.internal.v0.models.HarmonizedItemsHs6Export
29606
29741
  | io.flow.internal.v0.models.UnharmonizedItemsExport
29607
29742
  | io.flow.internal.v0.models.DutiedItemsExport
29608
- | io.flow.internal.v0.models.TariffCodesExport
29609
29743
  | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport
29610
29744
  | io.flow.internal.v0.models.HarmonizationCodesImport
29611
29745
  | io.flow.internal.v0.models.ItemClassificationCreated
@@ -29731,6 +29865,10 @@ declare namespace io.flow.internal.v0.unions {
29731
29865
  | io.flow.internal.v0.models.ScreeningStatusChangeDeleted
29732
29866
  | io.flow.internal.v0.models.RestrictionsDailyopsUpserted
29733
29867
  | io.flow.internal.v0.models.RestrictionsDailyopsDeleted
29868
+ | io.flow.internal.v0.models.RestrictionRuleUpserted
29869
+ | io.flow.internal.v0.models.RestrictionRuleDeleted
29870
+ | io.flow.internal.v0.models.RestrictionRuleEffectUpserted
29871
+ | io.flow.internal.v0.models.RestrictionRuleEffectDeleted
29734
29872
  | io.flow.internal.v0.models.ShopifyShopUpserted
29735
29873
  | io.flow.internal.v0.models.ShopifyShopDeleted
29736
29874
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
@@ -29756,6 +29894,18 @@ declare namespace io.flow.internal.v0.unions {
29756
29894
  | io.flow.internal.v0.models.ShopifyIncotermSummaryErrorPublished
29757
29895
  | io.flow.internal.v0.models.ShopifyMarketsBestSellingProductUpserted
29758
29896
  | io.flow.internal.v0.models.ShopifyMarketsBestSellingProductDeleted
29897
+ | io.flow.internal.v0.models.ShopifyProductCreateUpserted
29898
+ | io.flow.internal.v0.models.ShopifyProductCreateDeleted
29899
+ | io.flow.internal.v0.models.ShopifyProductUpdateUpserted
29900
+ | io.flow.internal.v0.models.ShopifyProductUpdateDeleted
29901
+ | io.flow.internal.v0.models.ShopifyProductDeleteUpserted
29902
+ | io.flow.internal.v0.models.ShopifyProductDeleteDeleted
29903
+ | io.flow.internal.v0.models.ShopifyInventoryItemCreateUpserted
29904
+ | io.flow.internal.v0.models.ShopifyInventoryItemCreateDeleted
29905
+ | io.flow.internal.v0.models.ShopifyInventoryItemUpdateUpserted
29906
+ | io.flow.internal.v0.models.ShopifyInventoryItemUpdateDeleted
29907
+ | io.flow.internal.v0.models.ShopifyInventoryItemDeleteUpserted
29908
+ | io.flow.internal.v0.models.ShopifyInventoryItemDeleteDeleted
29759
29909
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
29760
29910
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
29761
29911
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -30006,7 +30156,10 @@ declare namespace io.flow.internal.v0.unions {
30006
30156
  | io.flow.internal.v0.models.TaxTransaction
30007
30157
  | io.flow.internal.v0.models.DutyTransaction
30008
30158
  | io.flow.internal.v0.models.TrueupTransaction
30009
- | io.flow.internal.v0.models.CarrierChargeTransaction;
30159
+ | io.flow.internal.v0.models.CarrierChargeTransaction
30160
+ | io.flow.internal.v0.models.OrderFxTransaction
30161
+ | io.flow.internal.v0.models.GeRevenueShareTransaction
30162
+ | io.flow.internal.v0.models.TaxDutyDeltaTransaction;
30010
30163
  type TransactionSummary =
30011
30164
  | io.flow.internal.v0.models.PaymentSummaryV2
30012
30165
  | io.flow.internal.v0.models.FraudSummary;
@@ -30180,6 +30333,7 @@ export type AfterpayRefundDeleted =
30180
30333
  io.flow.internal.v0.models.AfterpayRefundDeleted;
30181
30334
  export type AfterpayRefundUpserted =
30182
30335
  io.flow.internal.v0.models.AfterpayRefundUpserted;
30336
+ export type AftershipWebhook = io.flow.internal.v0.models.AftershipWebhook;
30183
30337
  export type AldoItem = io.flow.internal.v0.models.AldoItem;
30184
30338
  export type AldoItemForm = io.flow.internal.v0.models.AldoItemForm;
30185
30339
  export type AldoItemType = io.flow.internal.v0.enums.AldoItemType;
@@ -30197,6 +30351,9 @@ export type AllOrganizationsMembership =
30197
30351
  export type AllocationItemReference =
30198
30352
  io.flow.internal.v0.models.AllocationItemReference;
30199
30353
  export type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
30354
+ export type AnshItem = io.flow.internal.v0.models.AnshItem;
30355
+ export type AnshItemForm = io.flow.internal.v0.models.AnshItemForm;
30356
+ export type AnshItemType = io.flow.internal.v0.enums.AnshItemType;
30200
30357
  export type AnyDangerousGoods = io.flow.internal.v0.enums.AnyDangerousGoods;
30201
30358
  export type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId;
30202
30359
  export type ApmContent = io.flow.internal.v0.models.ApmContent;
@@ -30870,8 +31027,6 @@ export type DeminimisAdjustmentType =
30870
31027
  export type DestinationError = io.flow.internal.v0.models.DestinationError;
30871
31028
  export type Dhl = io.flow.internal.v0.models.Dhl;
30872
31029
  export type DhlEcommerce = io.flow.internal.v0.models.DhlEcommerce;
30873
- export type DhlEcommerceWebhook =
30874
- io.flow.internal.v0.models.DhlEcommerceWebhook;
30875
31030
  export type Dict = io.flow.internal.v0.models.Dict;
30876
31031
  export type DimensionEstimateOpsInput =
30877
31032
  io.flow.internal.v0.models.DimensionEstimateOpsInput;
@@ -31076,6 +31231,11 @@ export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
31076
31231
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
31077
31232
  export type Fees = io.flow.internal.v0.models.Fees;
31078
31233
  export type FeesSource = io.flow.internal.v0.enums.FeesSource;
31234
+ export type FinalEstimate = io.flow.internal.v0.models.FinalEstimate;
31235
+ export type FinalEstimateDeleted =
31236
+ io.flow.internal.v0.models.FinalEstimateDeleted;
31237
+ export type FinalEstimateUpserted =
31238
+ io.flow.internal.v0.models.FinalEstimateUpserted;
31079
31239
  export type FinanceBankAccount = io.flow.internal.v0.models.FinanceBankAccount;
31080
31240
  export type FinanceBankAccountOwner =
31081
31241
  io.flow.internal.v0.models.FinanceBankAccountOwner;
@@ -31104,6 +31264,7 @@ export type FiservMerchantModificationForm =
31104
31264
  io.flow.internal.v0.models.FiservMerchantModificationForm;
31105
31265
  export type FiservMerchantPutForm =
31106
31266
  io.flow.internal.v0.models.FiservMerchantPutForm;
31267
+ export type FlexeWebhook = io.flow.internal.v0.models.FlexeWebhook;
31107
31268
  export type FlowAccount = io.flow.internal.v0.models.FlowAccount;
31108
31269
  export type FlowApp = io.flow.internal.v0.enums.FlowApp;
31109
31270
  export type FlowBillingStatement =
@@ -31252,6 +31413,8 @@ export type FxRevenueRecognitionRate =
31252
31413
  io.flow.internal.v0.models.FxRevenueRecognitionRate;
31253
31414
  export type FxRevenueRecognitionSource =
31254
31415
  io.flow.internal.v0.models.FxRevenueRecognitionSource;
31416
+ export type GeRevenueShareTransaction =
31417
+ io.flow.internal.v0.models.GeRevenueShareTransaction;
31255
31418
  export type GenerateLoad = io.flow.internal.v0.unions.GenerateLoad;
31256
31419
  export type GenerateLoadMultipleOrgs =
31257
31420
  io.flow.internal.v0.models.GenerateLoadMultipleOrgs;
@@ -31457,6 +31620,7 @@ export type LabelCreationRequestForm =
31457
31620
  io.flow.internal.v0.models.LabelCreationRequestForm;
31458
31621
  export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
31459
31622
  export type LabelDestination = io.flow.internal.v0.models.LabelDestination;
31623
+ export type LabelEventSource = io.flow.internal.v0.enums.LabelEventSource;
31460
31624
  export type LabelGenerationSettings =
31461
31625
  io.flow.internal.v0.models.LabelGenerationSettings;
31462
31626
  export type LabelGenerationSettingsDeleted =
@@ -31851,6 +32015,7 @@ export type OrderFulfillmentDeleted =
31851
32015
  io.flow.internal.v0.models.OrderFulfillmentDeleted;
31852
32016
  export type OrderFulfillmentUpserted =
31853
32017
  io.flow.internal.v0.models.OrderFulfillmentUpserted;
32018
+ export type OrderFxTransaction = io.flow.internal.v0.models.OrderFxTransaction;
31854
32019
  export type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent;
31855
32020
  export type OrderNote = io.flow.internal.v0.models.OrderNote;
31856
32021
  export type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm;
@@ -32510,6 +32675,16 @@ export type RestrictionProductSummary =
32510
32675
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
32511
32676
  export type RestrictionRuleDecisionForm =
32512
32677
  io.flow.internal.v0.models.RestrictionRuleDecisionForm;
32678
+ export type RestrictionRuleDeleted =
32679
+ io.flow.internal.v0.models.RestrictionRuleDeleted;
32680
+ export type RestrictionRuleEffect =
32681
+ io.flow.internal.v0.models.RestrictionRuleEffect;
32682
+ export type RestrictionRuleEffectDeleted =
32683
+ io.flow.internal.v0.models.RestrictionRuleEffectDeleted;
32684
+ export type RestrictionRuleEffectForm =
32685
+ io.flow.internal.v0.models.RestrictionRuleEffectForm;
32686
+ export type RestrictionRuleEffectUpserted =
32687
+ io.flow.internal.v0.models.RestrictionRuleEffectUpserted;
32513
32688
  export type RestrictionRuleForm =
32514
32689
  io.flow.internal.v0.models.RestrictionRuleForm;
32515
32690
  export type RestrictionRuleMetadata =
@@ -32518,6 +32693,8 @@ export type RestrictionRuleOverride =
32518
32693
  io.flow.internal.v0.models.RestrictionRuleOverride;
32519
32694
  export type RestrictionRuleSummary =
32520
32695
  io.flow.internal.v0.models.RestrictionRuleSummary;
32696
+ export type RestrictionRuleUpserted =
32697
+ io.flow.internal.v0.models.RestrictionRuleUpserted;
32521
32698
  export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
32522
32699
  export type RestrictionStatusMetadata =
32523
32700
  io.flow.internal.v0.models.RestrictionStatusMetadata;
@@ -32594,6 +32771,8 @@ export type SessionRollout = io.flow.internal.v0.models.SessionRollout;
32594
32771
  export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
32595
32772
  export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
32596
32773
  export type SfExpress = io.flow.internal.v0.models.SfExpress;
32774
+ export type ShawnRoundtableWorkshopRate =
32775
+ io.flow.internal.v0.models.ShawnRoundtableWorkshopRate;
32597
32776
  export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
32598
32777
  export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
32599
32778
  export type ShippingMethodReference =
@@ -32640,6 +32819,24 @@ export type ShopifyIncotermSummaryErrorData =
32640
32819
  io.flow.internal.v0.models.ShopifyIncotermSummaryErrorData;
32641
32820
  export type ShopifyIncotermSummaryErrorPublished =
32642
32821
  io.flow.internal.v0.models.ShopifyIncotermSummaryErrorPublished;
32822
+ export type ShopifyInventoryItemCreateDeleted =
32823
+ io.flow.internal.v0.models.ShopifyInventoryItemCreateDeleted;
32824
+ export type ShopifyInventoryItemCreateUpserted =
32825
+ io.flow.internal.v0.models.ShopifyInventoryItemCreateUpserted;
32826
+ export type ShopifyInventoryItemCreateWebhookEvent =
32827
+ io.flow.internal.v0.models.ShopifyInventoryItemCreateWebhookEvent;
32828
+ export type ShopifyInventoryItemDeleteDeleted =
32829
+ io.flow.internal.v0.models.ShopifyInventoryItemDeleteDeleted;
32830
+ export type ShopifyInventoryItemDeleteUpserted =
32831
+ io.flow.internal.v0.models.ShopifyInventoryItemDeleteUpserted;
32832
+ export type ShopifyInventoryItemDeleteWebhookEvent =
32833
+ io.flow.internal.v0.models.ShopifyInventoryItemDeleteWebhookEvent;
32834
+ export type ShopifyInventoryItemUpdateDeleted =
32835
+ io.flow.internal.v0.models.ShopifyInventoryItemUpdateDeleted;
32836
+ export type ShopifyInventoryItemUpdateUpserted =
32837
+ io.flow.internal.v0.models.ShopifyInventoryItemUpdateUpserted;
32838
+ export type ShopifyInventoryItemUpdateWebhookEvent =
32839
+ io.flow.internal.v0.models.ShopifyInventoryItemUpdateWebhookEvent;
32643
32840
  export type ShopifyMarketsBestSellingProduct =
32644
32841
  io.flow.internal.v0.models.ShopifyMarketsBestSellingProduct;
32645
32842
  export type ShopifyMarketsBestSellingProductDeleted =
@@ -32770,6 +32967,24 @@ export type ShopifyProductBundleUnderlying =
32770
32967
  io.flow.internal.v0.models.ShopifyProductBundleUnderlying;
32771
32968
  export type ShopifyProductBundleUpserted =
32772
32969
  io.flow.internal.v0.models.ShopifyProductBundleUpserted;
32970
+ export type ShopifyProductCreateDeleted =
32971
+ io.flow.internal.v0.models.ShopifyProductCreateDeleted;
32972
+ export type ShopifyProductCreateUpserted =
32973
+ io.flow.internal.v0.models.ShopifyProductCreateUpserted;
32974
+ export type ShopifyProductCreateWebhookEvent =
32975
+ io.flow.internal.v0.models.ShopifyProductCreateWebhookEvent;
32976
+ export type ShopifyProductDeleteDeleted =
32977
+ io.flow.internal.v0.models.ShopifyProductDeleteDeleted;
32978
+ export type ShopifyProductDeleteUpserted =
32979
+ io.flow.internal.v0.models.ShopifyProductDeleteUpserted;
32980
+ export type ShopifyProductDeleteWebhookEvent =
32981
+ io.flow.internal.v0.models.ShopifyProductDeleteWebhookEvent;
32982
+ export type ShopifyProductUpdateDeleted =
32983
+ io.flow.internal.v0.models.ShopifyProductUpdateDeleted;
32984
+ export type ShopifyProductUpdateUpserted =
32985
+ io.flow.internal.v0.models.ShopifyProductUpdateUpserted;
32986
+ export type ShopifyProductUpdateWebhookEvent =
32987
+ io.flow.internal.v0.models.ShopifyProductUpdateWebhookEvent;
32773
32988
  export type ShopifyProductWrapper =
32774
32989
  io.flow.internal.v0.models.ShopifyProductWrapper;
32775
32990
  export type ShopifyPromoForm = io.flow.internal.v0.models.ShopifyPromoForm;
@@ -32821,6 +33036,7 @@ export type ShopifyShopStatistics =
32821
33036
  export type ShopifyShopUpserted =
32822
33037
  io.flow.internal.v0.models.ShopifyShopUpserted;
32823
33038
  export type ShopifyStoreDetail = io.flow.internal.v0.models.ShopifyStoreDetail;
33039
+ export type ShopifyStripeEvent = io.flow.internal.v0.models.ShopifyStripeEvent;
32824
33040
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
32825
33041
  export type ShopifyWebhookEvent =
32826
33042
  io.flow.internal.v0.models.ShopifyWebhookEvent;
@@ -32950,7 +33166,6 @@ export type SubscriptionTransaction =
32950
33166
  export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
32951
33167
  export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
32952
33168
  export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
32953
- export type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
32954
33169
  export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
32955
33170
  export type TariffEligibilityData =
32956
33171
  io.flow.internal.v0.unions.TariffEligibilityData;
@@ -32981,6 +33196,8 @@ export type TaxCalculationLineItem =
32981
33196
  io.flow.internal.v0.models.TaxCalculationLineItem;
32982
33197
  export type TaxCalculationLineItemForm =
32983
33198
  io.flow.internal.v0.models.TaxCalculationLineItemForm;
33199
+ export type TaxDutyDeltaTransaction =
33200
+ io.flow.internal.v0.models.TaxDutyDeltaTransaction;
32984
33201
  export type TaxParty = io.flow.internal.v0.enums.TaxParty;
32985
33202
  export type TaxRemittanceTransaction =
32986
33203
  io.flow.internal.v0.models.TaxRemittanceTransaction;
@@ -33074,6 +33291,7 @@ export type TrackingProcessingFailureClassification =
33074
33291
  io.flow.internal.v0.enums.TrackingProcessingFailureClassification;
33075
33292
  export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
33076
33293
  export type TrackingResponse = io.flow.internal.v0.models.TrackingResponse;
33294
+ export type TrackingResync = io.flow.internal.v0.models.TrackingResync;
33077
33295
  export type TrackingSubscription =
33078
33296
  io.flow.internal.v0.models.TrackingSubscription;
33079
33297
  export type TrackingSubscriptionDeleted =
@@ -33081,6 +33299,7 @@ export type TrackingSubscriptionDeleted =
33081
33299
  export type TrackingSubscriptionUpserted =
33082
33300
  io.flow.internal.v0.models.TrackingSubscriptionUpserted;
33083
33301
  export type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
33302
+ export type TrackingWebhook = io.flow.internal.v0.models.TrackingWebhook;
33084
33303
  export type Transaction = io.flow.internal.v0.unions.Transaction;
33085
33304
  export type TransactionAdjustment =
33086
33305
  io.flow.internal.v0.models.TransactionAdjustment;