@flowio/types 11.19.23 → 11.19.25

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.
@@ -1497,316 +1497,6 @@ declare namespace io.flow.experience.v0.unions {
1497
1497
  };
1498
1498
  type Promotion = io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount;
1499
1499
  }
1500
- declare namespace io.flow.ratecard.v0.models {
1501
- interface CrossdockRatecardFee {
1502
- readonly discriminator: 'crossdock_ratecard_fee';
1503
- readonly amount: io.flow.common.v0.models.Money;
1504
- }
1505
- interface DdpRatecardFee {
1506
- readonly discriminator: 'ddp_ratecard_fee';
1507
- readonly amount: number;
1508
- }
1509
- interface DimensionEstimate {
1510
- readonly id: string;
1511
- readonly q: string;
1512
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1513
- readonly position: number;
1514
- }
1515
- interface DimensionEstimateForm {
1516
- readonly q: string;
1517
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1518
- readonly position?: number;
1519
- }
1520
- interface DimensionEstimateVersion {
1521
- readonly id: string;
1522
- readonly timestamp: string;
1523
- readonly type: io.flow.common.v0.enums.ChangeType;
1524
- readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
1525
- }
1526
- interface DutiesTaxesPaidSurchargeRatecardFee {
1527
- readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
1528
- readonly amount: io.flow.common.v0.models.Money;
1529
- readonly starts_at?: string;
1530
- readonly ends_at?: string;
1531
- }
1532
- interface DutiesTaxesPaidSurchargeServiceFee {
1533
- readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
1534
- readonly amount: io.flow.common.v0.models.Money;
1535
- readonly starts_at?: string;
1536
- readonly ends_at?: string;
1537
- }
1538
- interface EmergencySituationSurchargeRatecardFee {
1539
- readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
1540
- readonly amount: io.flow.common.v0.models.Money;
1541
- }
1542
- interface EmergencySituationSurchargeServiceFee {
1543
- readonly discriminator: 'emergency_situation_surcharge_service_fee';
1544
- readonly amount: io.flow.common.v0.models.Money;
1545
- readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
1546
- readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
1547
- readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1548
- }
1549
- interface EstimatedDimensions {
1550
- readonly depth: io.flow.common.v0.models.Measurement;
1551
- readonly length: io.flow.common.v0.models.Measurement;
1552
- readonly weight: io.flow.common.v0.models.Measurement;
1553
- readonly width: io.flow.common.v0.models.Measurement;
1554
- }
1555
- interface FeeWeight {
1556
- readonly weight: number;
1557
- readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
1558
- }
1559
- interface FuelSurchargeRatecardFee {
1560
- readonly discriminator: 'fuel_surcharge_ratecard_fee';
1561
- readonly amount: io.flow.common.v0.models.Money;
1562
- }
1563
- interface FuelSurchargeServiceFee {
1564
- readonly discriminator: 'fuel_surcharge_service_fee';
1565
- readonly percent: number;
1566
- }
1567
- interface Hop {
1568
- readonly hop_number: number;
1569
- readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
1570
- }
1571
- interface HopEstimate {
1572
- readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
1573
- readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
1574
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1575
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1576
- readonly currency: string;
1577
- readonly amount: number;
1578
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1579
- readonly total: number;
1580
- }
1581
- interface OversizedShipmentRatecardFee {
1582
- readonly discriminator: 'oversized_shipment_ratecard_fee';
1583
- readonly weight_threshold: number;
1584
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1585
- readonly margin?: number;
1586
- readonly amount?: number;
1587
- }
1588
- interface PeakSurchargeByWeightServiceFee {
1589
- readonly discriminator: 'peak_surcharge_by_weight_service_fee';
1590
- readonly amount: io.flow.common.v0.models.Money;
1591
- readonly weight: io.flow.ratecard.v0.models.FeeWeight;
1592
- readonly regions?: string[];
1593
- readonly starts_at?: string;
1594
- readonly ends_at?: string;
1595
- }
1596
- interface PeakSurchargeRatecardFee {
1597
- readonly discriminator: 'peak_surcharge_ratecard_fee';
1598
- readonly amount: io.flow.common.v0.models.Money;
1599
- readonly starts_at?: string;
1600
- readonly ends_at?: string;
1601
- }
1602
- interface PeakSurchargeServiceFee {
1603
- readonly discriminator: 'peak_surcharge_service_fee';
1604
- readonly amount: io.flow.common.v0.models.Money;
1605
- readonly starts_at?: string;
1606
- readonly ends_at?: string;
1607
- }
1608
- interface Ratecard {
1609
- readonly id: string;
1610
- readonly number: string;
1611
- readonly direction: io.flow.label.v0.enums.Direction;
1612
- readonly effective_at: string;
1613
- readonly origination_zones: io.flow.common.v0.models.Zone[];
1614
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1615
- readonly published_at?: string;
1616
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1617
- }
1618
- interface RatecardCarrierSummary {
1619
- readonly id: string;
1620
- readonly name: string;
1621
- }
1622
- interface RatecardEstimateFormV1 {
1623
- readonly discriminator: 'ratecard_estimate_form_v1';
1624
- readonly origin?: string;
1625
- readonly destination?: string;
1626
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1627
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1628
- readonly service?: string;
1629
- readonly weight?: number;
1630
- readonly length?: number;
1631
- readonly width?: number;
1632
- readonly depth?: number;
1633
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1634
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1635
- }
1636
- interface RatecardEstimateFormV2 {
1637
- readonly discriminator: 'ratecard_estimate_form_v2';
1638
- readonly origin_address: io.flow.common.v0.models.Address;
1639
- readonly destination_address: io.flow.common.v0.models.Address;
1640
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1641
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1642
- readonly service?: string;
1643
- readonly weight?: number;
1644
- readonly length?: number;
1645
- readonly width?: number;
1646
- readonly depth?: number;
1647
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1648
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1649
- readonly center_id?: string;
1650
- }
1651
- interface RatecardEstimateSummaryForm {
1652
- readonly origin?: string;
1653
- readonly destination?: string;
1654
- readonly service?: string;
1655
- readonly center_key?: string;
1656
- }
1657
- interface RatecardEstimateV1 {
1658
- readonly discriminator: 'ratecard_estimate_v1';
1659
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1660
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1661
- readonly currency: string;
1662
- readonly amount: number;
1663
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1664
- readonly total: number;
1665
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1666
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1667
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1668
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1669
- }
1670
- interface RatecardEstimateV2 {
1671
- readonly discriminator: 'ratecard_estimate_v2';
1672
- readonly hops: io.flow.ratecard.v0.models.Hop[];
1673
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1674
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1675
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1676
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1677
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
1678
- }
1679
- interface RatecardEstimateV3 {
1680
- readonly discriminator: 'ratecard_estimate_v3';
1681
- readonly hops: io.flow.ratecard.v0.models.Hop[];
1682
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1683
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1684
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1685
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1686
- readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
1687
- }
1688
- interface RatecardForm {
1689
- readonly direction: io.flow.label.v0.enums.Direction;
1690
- readonly effective_at: string;
1691
- readonly origination_zones: io.flow.common.v0.models.Zone[];
1692
- readonly service: string;
1693
- readonly number?: string;
1694
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
1695
- }
1696
- interface RatecardLane {
1697
- readonly id: string;
1698
- readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
1699
- readonly currency: string;
1700
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1701
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1702
- readonly destination: io.flow.common.v0.models.Zone;
1703
- readonly dim_factor: number;
1704
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1705
- readonly origin: io.flow.common.v0.models.Zone;
1706
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1707
- readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
1708
- readonly rounding: io.flow.common.v0.models.Rounding;
1709
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1710
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1711
- }
1712
- interface RatecardLaneForm {
1713
- readonly ratecard_id: string;
1714
- readonly currency: string;
1715
- readonly destination: io.flow.common.v0.models.Zone;
1716
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1717
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1718
- readonly dim_factor: number;
1719
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1720
- readonly origin: io.flow.common.v0.models.Zone;
1721
- readonly rounding: io.flow.common.v0.models.Rounding;
1722
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1723
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1724
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1725
- }
1726
- interface RatecardLaneImportForm {
1727
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1728
- readonly service: string;
1729
- readonly currency: string;
1730
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1731
- readonly origin: io.flow.common.v0.models.Zone;
1732
- readonly destination: io.flow.common.v0.models.Zone;
1733
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1734
- readonly dim_factor: number;
1735
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1736
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1737
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1738
- }
1739
- interface RatecardLaneVersion {
1740
- readonly id: string;
1741
- readonly timestamp: string;
1742
- readonly type: io.flow.common.v0.enums.ChangeType;
1743
- readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
1744
- }
1745
- interface RatecardLanesImportRequestData {
1746
- readonly id: string;
1747
- readonly source_url: string;
1748
- readonly filename?: string;
1749
- }
1750
- interface RatecardRate {
1751
- readonly id: string;
1752
- readonly amount: number;
1753
- readonly weight: number;
1754
- }
1755
- interface RatecardRateForm {
1756
- readonly amount: number;
1757
- readonly weight: number;
1758
- }
1759
- interface RatecardRateVersion {
1760
- readonly id: string;
1761
- readonly timestamp: string;
1762
- readonly type: io.flow.common.v0.enums.ChangeType;
1763
- readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
1764
- }
1765
- interface RatecardReference {
1766
- readonly id: string;
1767
- }
1768
- interface RatecardRegionReference {
1769
- readonly id: string;
1770
- }
1771
- interface RatecardServiceSummary {
1772
- readonly id: string;
1773
- readonly name: string;
1774
- readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
1775
- }
1776
- interface RatecardSummary {
1777
- readonly id: string;
1778
- readonly number: string;
1779
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1780
- }
1781
- interface RatecardVersion {
1782
- readonly id: string;
1783
- readonly timestamp: string;
1784
- readonly type: io.flow.common.v0.enums.ChangeType;
1785
- readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
1786
- }
1787
- interface RemoteAreaRatecardFee {
1788
- readonly discriminator: 'remote_area_ratecard_fee';
1789
- readonly amount: io.flow.common.v0.models.Money;
1790
- }
1791
- interface RemoteAreaServiceFee {
1792
- readonly discriminator: 'remote_area_service_fee';
1793
- readonly amount: io.flow.common.v0.models.Money;
1794
- }
1795
- interface ReturnPackageRatecardFee {
1796
- readonly discriminator: 'return_package_ratecard_fee';
1797
- readonly amount: number;
1798
- }
1799
- interface ShipmentWindow {
1800
- readonly from: number;
1801
- readonly to: number;
1802
- }
1803
- }
1804
- declare namespace io.flow.ratecard.v0.unions {
1805
- type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
1806
- type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
1807
- type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
1808
- type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
1809
- }
1810
1500
  declare namespace io.flow.error.v0.enums {
1811
1501
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
1812
1502
  }
@@ -6897,395 +6587,767 @@ declare namespace io.flow.payment.gateway.v0.models {
6897
6587
  readonly order_number: string;
6898
6588
  readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
6899
6589
  }
6900
- interface PaymentAddress {
6901
- readonly contact: io.flow.common.v0.models.Contact;
6902
- readonly location: io.flow.common.v0.models.Address;
6590
+ interface PaymentAddress {
6591
+ readonly contact: io.flow.common.v0.models.Contact;
6592
+ readonly location: io.flow.common.v0.models.Address;
6593
+ }
6594
+ interface PaymentAuthorization {
6595
+ readonly id: string;
6596
+ readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
6597
+ readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
6598
+ readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
6599
+ readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
6600
+ readonly created_at: string;
6601
+ readonly updated_at: string;
6602
+ readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6603
+ readonly amount: number;
6604
+ readonly currency: string;
6605
+ }
6606
+ interface PaymentAuthorizationStatus {
6607
+ readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
6608
+ readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
6609
+ }
6610
+ interface PaymentCapture {
6611
+ readonly id: string;
6612
+ readonly amount: number;
6613
+ readonly currency: string;
6614
+ readonly created_at: string;
6615
+ readonly updated_at: string;
6616
+ readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
6617
+ }
6618
+ interface PaymentCaptureForm {
6619
+ readonly amount?: number;
6620
+ readonly currency?: string;
6621
+ }
6622
+ interface PaymentCaptureOptionAutomaticImmediate {
6623
+ readonly type: 'automatic_immediate';
6624
+ readonly placeholder?: string;
6625
+ }
6626
+ interface PaymentCaptureOptionManual {
6627
+ readonly type: 'manual';
6628
+ readonly placeholder?: string;
6629
+ }
6630
+ interface PaymentCaptureStatus {
6631
+ readonly status: io.flow.payment.v0.enums.CaptureStatus;
6632
+ readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6633
+ }
6634
+ interface PaymentDiscount {
6635
+ readonly amount: number;
6636
+ readonly name?: string;
6637
+ readonly code?: string;
6638
+ }
6639
+ interface PaymentDuty {
6640
+ readonly amount: number;
6641
+ readonly name?: string;
6642
+ }
6643
+ interface PaymentFailure {
6644
+ readonly authorization_id?: string;
6645
+ readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
6646
+ readonly failure_message: string;
6647
+ }
6648
+ interface PaymentInformation {
6649
+ readonly amount_refundable?: number;
6650
+ readonly amount_refunded?: number;
6651
+ readonly refundable_before?: string;
6652
+ readonly amount_capturable?: number;
6653
+ readonly amount_captured?: number;
6654
+ readonly capturable_before?: string;
6655
+ readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
6656
+ }
6657
+ interface PaymentMethodBrand {
6658
+ readonly id: string;
6659
+ readonly name: string;
6660
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6661
+ }
6662
+ interface PaymentMethodCardNumberCipher {
6663
+ readonly type: 'cipher';
6664
+ readonly cipher: string;
6665
+ }
6666
+ interface PaymentMethodCardNumberCleartext {
6667
+ readonly type: 'cleartext';
6668
+ readonly number: string;
6669
+ }
6670
+ interface PaymentMethodCardPciDetails {
6671
+ readonly type: 'card_pci_details';
6672
+ readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
6673
+ readonly expiration_month: number;
6674
+ readonly expiration_year: number;
6675
+ readonly name: string;
6676
+ }
6677
+ interface PaymentMethodCardToken {
6678
+ readonly type: 'token';
6679
+ readonly token: string;
6680
+ }
6681
+ interface PaymentMethodDataAuthorizeApplepay {
6682
+ readonly type: 'authorize_applepay';
6683
+ readonly token: string;
6684
+ }
6685
+ interface PaymentMethodDataAuthorizeCard {
6686
+ readonly type: 'authorize_card';
6687
+ readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6688
+ readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6689
+ readonly cvv?: string;
6690
+ }
6691
+ interface PaymentMethodDataAuthorizeGooglepay {
6692
+ readonly type: 'authorize_googlepay';
6693
+ readonly payment_data: any;
6694
+ }
6695
+ interface PaymentMethodDataAuthorizePaypal {
6696
+ readonly type: 'authorize_paypal';
6697
+ readonly payment_id: string;
6698
+ readonly payer_id: string;
6699
+ }
6700
+ interface PaymentMethodDataCompleteAuthorizationCard {
6701
+ readonly type: 'complete_authorization_card';
6702
+ readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
6703
+ }
6704
+ interface PaymentMethodDataInitAfterpay {
6705
+ readonly type: 'init_afterpay';
6706
+ readonly placeholder?: string;
6707
+ }
6708
+ interface PaymentMethodDataInitApplepay {
6709
+ readonly type: 'init_applepay';
6710
+ readonly placeholder?: string;
6711
+ }
6712
+ interface PaymentMethodDataInitGooglepay {
6713
+ readonly type: 'init_googlepay';
6714
+ readonly placeholder?: string;
6715
+ }
6716
+ interface PaymentMethodDataInitIdeal {
6717
+ readonly type: 'init_ideal';
6718
+ readonly issuer?: string;
6719
+ }
6720
+ interface PaymentMethodDataInitKlarna {
6721
+ readonly type: 'init_klarna';
6722
+ readonly placeholder?: string;
6723
+ }
6724
+ interface PaymentMethodDataInitPaypal {
6725
+ readonly type: 'init_paypal';
6726
+ readonly placeholder?: string;
6727
+ }
6728
+ interface PaymentMethodDataValidateApplepay {
6729
+ readonly type: 'validate_applepay';
6730
+ readonly validation_url: string;
6731
+ }
6732
+ interface PaymentMethodSummaryAfterpay {
6733
+ readonly type: 'afterpay';
6734
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6735
+ }
6736
+ interface PaymentMethodSummaryApplepay {
6737
+ readonly type: 'applepay';
6738
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6739
+ }
6740
+ interface PaymentMethodSummaryCard {
6741
+ readonly type: 'card';
6742
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6743
+ readonly last_four: string;
6744
+ readonly card_type: io.flow.payment.v0.enums.CardType;
6745
+ readonly id: string;
6746
+ }
6747
+ interface PaymentMethodSummaryGooglepay {
6748
+ readonly type: 'googlepay';
6749
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6750
+ }
6751
+ interface PaymentMethodSummaryIdeal {
6752
+ readonly type: 'ideal';
6753
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6754
+ readonly issuer: string;
6755
+ }
6756
+ interface PaymentMethodSummaryKlarna {
6757
+ readonly type: 'klarna';
6758
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6759
+ }
6760
+ interface PaymentMethodSummaryPaypal {
6761
+ readonly type: 'paypal';
6762
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6763
+ }
6764
+ interface PaymentOrderDetailsLineItem {
6765
+ readonly id: string;
6766
+ readonly description: string;
6767
+ readonly quantity: number;
6768
+ readonly amount: number;
6769
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6770
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6771
+ readonly product_url?: string;
6772
+ readonly image_url?: string;
6773
+ readonly category?: string;
6774
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6775
+ }
6776
+ interface PaymentPaymentMethod {
6777
+ readonly id: string;
6778
+ readonly name: string;
6779
+ readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
6780
+ readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
6781
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6782
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6783
+ readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6784
+ }
6785
+ interface PaymentRefund {
6786
+ readonly id: string;
6787
+ readonly amount: number;
6788
+ readonly currency: string;
6789
+ readonly created_at: string;
6790
+ readonly updated_at: string;
6791
+ readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
6792
+ }
6793
+ interface PaymentRefundForm {
6794
+ readonly amount?: number;
6795
+ readonly currency?: string;
6796
+ }
6797
+ interface PaymentRefundStatus {
6798
+ readonly status: io.flow.payment.v0.enums.RefundStatus;
6799
+ readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
6903
6800
  }
6904
- interface PaymentAuthorization {
6801
+ interface PaymentRequest {
6905
6802
  readonly id: string;
6906
- readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
6907
- readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
6908
- readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
6909
- readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
6803
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
6910
6804
  readonly created_at: string;
6911
6805
  readonly updated_at: string;
6912
- readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6806
+ readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
6807
+ readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
6808
+ readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
6913
6809
  readonly amount: number;
6914
6810
  readonly currency: string;
6811
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6812
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6813
+ readonly locale?: string;
6814
+ readonly return_url: string;
6815
+ readonly attributes?: Record<string, string>;
6816
+ readonly reference?: string;
6817
+ readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
6818
+ readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6819
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6915
6820
  }
6916
- interface PaymentAuthorizationStatus {
6917
- readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
6918
- readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
6821
+ interface PaymentRequestForm {
6822
+ readonly amount: number;
6823
+ readonly currency: string;
6824
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6825
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6826
+ readonly locale?: string;
6827
+ readonly return_url: string;
6828
+ readonly attributes?: Record<string, string>;
6829
+ readonly reference?: string;
6830
+ readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
6831
+ readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6832
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6919
6833
  }
6920
- interface PaymentCapture {
6834
+ interface PaymentRequestReference {
6835
+ readonly id: string;
6836
+ readonly reference?: string;
6837
+ }
6838
+ interface PaymentReversal {
6921
6839
  readonly id: string;
6922
6840
  readonly amount: number;
6923
6841
  readonly currency: string;
6924
6842
  readonly created_at: string;
6925
6843
  readonly updated_at: string;
6926
- readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
6844
+ readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
6927
6845
  }
6928
- interface PaymentCaptureForm {
6846
+ interface PaymentReversalForm {
6929
6847
  readonly amount?: number;
6930
6848
  readonly currency?: string;
6931
6849
  }
6932
- interface PaymentCaptureOptionAutomaticImmediate {
6933
- readonly type: 'automatic_immediate';
6934
- readonly placeholder?: string;
6935
- }
6936
- interface PaymentCaptureOptionManual {
6937
- readonly type: 'manual';
6938
- readonly placeholder?: string;
6939
- }
6940
- interface PaymentCaptureStatus {
6941
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
6942
- readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6850
+ interface PaymentReversalStatus {
6851
+ readonly status: io.flow.payment.v0.enums.ReversalStatus;
6852
+ readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
6943
6853
  }
6944
- interface PaymentDiscount {
6854
+ interface PaymentTax {
6945
6855
  readonly amount: number;
6946
6856
  readonly name?: string;
6947
- readonly code?: string;
6948
6857
  }
6949
- interface PaymentDuty {
6858
+ interface Shipping {
6859
+ readonly description: string;
6950
6860
  readonly amount: number;
6951
- readonly name?: string;
6861
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6862
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6863
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6952
6864
  }
6953
- interface PaymentFailure {
6954
- readonly authorization_id?: string;
6955
- readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
6956
- readonly failure_message: string;
6865
+ }
6866
+ declare namespace io.flow.payment.gateway.v0.unions {
6867
+ type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
6868
+ type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
6869
+ type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
6870
+ type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
6871
+ type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
6872
+ type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
6873
+ type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
6874
+ type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
6875
+ type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
6876
+ type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
6877
+ type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6878
+ }
6879
+ declare namespace io.flow.order.management.event.v0.models {
6880
+ interface FulfillmentItemAllocationDetails {
6881
+ readonly item_number: string;
6882
+ readonly line_number: number;
6883
+ readonly levies: io.flow.common.v0.models.PriceWithBase;
6884
+ readonly total: io.flow.common.v0.models.PriceWithBase;
6957
6885
  }
6958
- interface PaymentInformation {
6959
- readonly amount_refundable?: number;
6960
- readonly amount_refunded?: number;
6961
- readonly refundable_before?: string;
6962
- readonly amount_capturable?: number;
6963
- readonly amount_captured?: number;
6964
- readonly capturable_before?: string;
6965
- readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
6886
+ interface OrderPlaced {
6887
+ readonly discriminator: 'order_placed';
6888
+ readonly event_id: string;
6889
+ readonly timestamp: string;
6890
+ readonly organization: string;
6891
+ readonly order_number: string;
6892
+ readonly order: io.flow.experience.v0.models.Order;
6893
+ readonly allocation: io.flow.experience.v0.models.AllocationV2;
6966
6894
  }
6967
- interface PaymentMethodBrand {
6895
+ interface OrderPlacedV2 {
6896
+ readonly discriminator: 'order_placed_v2';
6897
+ readonly event_id: string;
6898
+ readonly timestamp: string;
6899
+ readonly organization: string;
6900
+ readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
6901
+ }
6902
+ interface ReadyToFulfill {
6903
+ readonly discriminator: 'ready_to_fulfill';
6904
+ readonly event_id: string;
6905
+ readonly timestamp: string;
6906
+ readonly organization: string;
6907
+ readonly order_number: string;
6908
+ readonly order: io.flow.experience.v0.models.Order;
6909
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6910
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6911
+ }
6912
+ interface ReadyToFulfillDetails {
6968
6913
  readonly id: string;
6969
- readonly name: string;
6970
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6914
+ readonly order_number: string;
6915
+ readonly order: io.flow.experience.v0.models.Order;
6916
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6917
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6971
6918
  }
6972
- interface PaymentMethodCardNumberCipher {
6973
- readonly type: 'cipher';
6974
- readonly cipher: string;
6919
+ interface ReadyToFulfillV2 {
6920
+ readonly discriminator: 'ready_to_fulfill_v2';
6921
+ readonly event_id: string;
6922
+ readonly timestamp: string;
6923
+ readonly organization: string;
6924
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
6975
6925
  }
6976
- interface PaymentMethodCardNumberCleartext {
6977
- readonly type: 'cleartext';
6978
- readonly number: string;
6926
+ }
6927
+ declare namespace io.flow.order.management.event.v0.unions {
6928
+ type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
6929
+ }
6930
+ declare namespace io.flow.ftp.v0.enums {
6931
+ type FtpFileSource = 'flow' | 'organization';
6932
+ }
6933
+ declare namespace io.flow.ftp.v0.models {
6934
+ interface FtpAccount {
6935
+ readonly server: io.flow.ftp.v0.models.FtpServer;
6936
+ readonly user: io.flow.ftp.v0.models.FtpUser;
6979
6937
  }
6980
- interface PaymentMethodCardPciDetails {
6981
- readonly type: 'card_pci_details';
6982
- readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
6983
- readonly expiration_month: number;
6984
- readonly expiration_year: number;
6938
+ interface FtpFile {
6939
+ readonly id: string;
6940
+ readonly source: io.flow.ftp.v0.enums.FtpFileSource;
6985
6941
  readonly name: string;
6942
+ readonly directory: string;
6943
+ readonly url: string;
6944
+ readonly created_at: string;
6986
6945
  }
6987
- interface PaymentMethodCardToken {
6988
- readonly type: 'token';
6989
- readonly token: string;
6946
+ interface FtpFileForm {
6947
+ readonly url: string;
6948
+ readonly directory: string;
6949
+ readonly name?: string;
6990
6950
  }
6991
- interface PaymentMethodDataAuthorizeApplepay {
6992
- readonly type: 'authorize_applepay';
6993
- readonly token: string;
6951
+ interface FtpFolder {
6952
+ readonly id: string;
6953
+ readonly path: string;
6954
+ readonly webhook: boolean;
6955
+ readonly description?: string;
6994
6956
  }
6995
- interface PaymentMethodDataAuthorizeCard {
6996
- readonly type: 'authorize_card';
6997
- readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6998
- readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6999
- readonly cvv?: string;
6957
+ interface FtpFolderForm {
6958
+ readonly path: string;
6959
+ readonly webhook: boolean;
6960
+ readonly description?: string;
7000
6961
  }
7001
- interface PaymentMethodDataAuthorizeGooglepay {
7002
- readonly type: 'authorize_googlepay';
7003
- readonly payment_data: any;
6962
+ interface FtpOrganizationSettings {
6963
+ readonly enabled: boolean;
6964
+ readonly emails: string[];
6965
+ readonly account?: io.flow.ftp.v0.models.FtpAccount;
7004
6966
  }
7005
- interface PaymentMethodDataAuthorizePaypal {
7006
- readonly type: 'authorize_paypal';
7007
- readonly payment_id: string;
7008
- readonly payer_id: string;
6967
+ interface FtpOrganizationSettingsForm {
6968
+ readonly enabled: boolean;
6969
+ readonly emails: string[];
7009
6970
  }
7010
- interface PaymentMethodDataCompleteAuthorizationCard {
7011
- readonly type: 'complete_authorization_card';
7012
- readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
6971
+ interface FtpServer {
6972
+ readonly hostname: string;
7013
6973
  }
7014
- interface PaymentMethodDataInitAfterpay {
7015
- readonly type: 'init_afterpay';
7016
- readonly placeholder?: string;
6974
+ interface FtpUser {
6975
+ readonly username: string;
6976
+ readonly password?: string;
6977
+ }
6978
+ }
6979
+ declare namespace io.flow.ratecard.v0.models {
6980
+ interface CrossdockRatecardFee {
6981
+ readonly discriminator: 'crossdock_ratecard_fee';
6982
+ readonly amount: io.flow.common.v0.models.Money;
6983
+ }
6984
+ interface DdpRatecardFee {
6985
+ readonly discriminator: 'ddp_ratecard_fee';
6986
+ readonly amount: number;
6987
+ }
6988
+ interface DimensionEstimate {
6989
+ readonly id: string;
6990
+ readonly q: string;
6991
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
6992
+ readonly position: number;
6993
+ }
6994
+ interface DimensionEstimateForm {
6995
+ readonly q: string;
6996
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
6997
+ readonly position?: number;
6998
+ }
6999
+ interface DimensionEstimateVersion {
7000
+ readonly id: string;
7001
+ readonly timestamp: string;
7002
+ readonly type: io.flow.common.v0.enums.ChangeType;
7003
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
7004
+ }
7005
+ interface DutiesTaxesPaidSurchargeRatecardFee {
7006
+ readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
7007
+ readonly amount: io.flow.common.v0.models.Money;
7008
+ readonly starts_at?: string;
7009
+ readonly ends_at?: string;
7017
7010
  }
7018
- interface PaymentMethodDataInitApplepay {
7019
- readonly type: 'init_applepay';
7020
- readonly placeholder?: string;
7011
+ interface DutiesTaxesPaidSurchargeServiceFee {
7012
+ readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
7013
+ readonly amount: io.flow.common.v0.models.Money;
7014
+ readonly starts_at?: string;
7015
+ readonly ends_at?: string;
7021
7016
  }
7022
- interface PaymentMethodDataInitGooglepay {
7023
- readonly type: 'init_googlepay';
7024
- readonly placeholder?: string;
7017
+ interface EmergencySituationSurchargeRatecardFee {
7018
+ readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
7019
+ readonly amount: io.flow.common.v0.models.Money;
7025
7020
  }
7026
- interface PaymentMethodDataInitIdeal {
7027
- readonly type: 'init_ideal';
7028
- readonly issuer?: string;
7021
+ interface EmergencySituationSurchargeServiceFee {
7022
+ readonly discriminator: 'emergency_situation_surcharge_service_fee';
7023
+ readonly amount: io.flow.common.v0.models.Money;
7024
+ readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
7025
+ readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
7026
+ readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7029
7027
  }
7030
- interface PaymentMethodDataInitKlarna {
7031
- readonly type: 'init_klarna';
7032
- readonly placeholder?: string;
7028
+ interface EstimatedDimensions {
7029
+ readonly depth: io.flow.common.v0.models.Measurement;
7030
+ readonly length: io.flow.common.v0.models.Measurement;
7031
+ readonly weight: io.flow.common.v0.models.Measurement;
7032
+ readonly width: io.flow.common.v0.models.Measurement;
7033
7033
  }
7034
- interface PaymentMethodDataInitPaypal {
7035
- readonly type: 'init_paypal';
7036
- readonly placeholder?: string;
7034
+ interface FeeWeight {
7035
+ readonly weight: number;
7036
+ readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
7037
7037
  }
7038
- interface PaymentMethodDataValidateApplepay {
7039
- readonly type: 'validate_applepay';
7040
- readonly validation_url: string;
7038
+ interface FuelSurchargeRatecardFee {
7039
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
7040
+ readonly amount: io.flow.common.v0.models.Money;
7041
7041
  }
7042
- interface PaymentMethodSummaryAfterpay {
7043
- readonly type: 'afterpay';
7044
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7042
+ interface FuelSurchargeServiceFee {
7043
+ readonly discriminator: 'fuel_surcharge_service_fee';
7044
+ readonly percent: number;
7045
7045
  }
7046
- interface PaymentMethodSummaryApplepay {
7047
- readonly type: 'applepay';
7048
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7046
+ interface Hop {
7047
+ readonly hop_number: number;
7048
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
7049
7049
  }
7050
- interface PaymentMethodSummaryCard {
7051
- readonly type: 'card';
7052
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7053
- readonly last_four: string;
7054
- readonly card_type: io.flow.payment.v0.enums.CardType;
7055
- readonly id: string;
7050
+ interface HopEstimate {
7051
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
7052
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
7053
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7054
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7055
+ readonly currency: string;
7056
+ readonly amount: number;
7057
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7058
+ readonly total: number;
7056
7059
  }
7057
- interface PaymentMethodSummaryGooglepay {
7058
- readonly type: 'googlepay';
7059
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7060
+ interface OversizedShipmentRatecardFee {
7061
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
7062
+ readonly weight_threshold: number;
7063
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7064
+ readonly margin?: number;
7065
+ readonly amount?: number;
7060
7066
  }
7061
- interface PaymentMethodSummaryIdeal {
7062
- readonly type: 'ideal';
7063
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7064
- readonly issuer: string;
7067
+ interface PeakSurchargeByWeightServiceFee {
7068
+ readonly discriminator: 'peak_surcharge_by_weight_service_fee';
7069
+ readonly amount: io.flow.common.v0.models.Money;
7070
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
7071
+ readonly regions?: string[];
7072
+ readonly starts_at?: string;
7073
+ readonly ends_at?: string;
7065
7074
  }
7066
- interface PaymentMethodSummaryKlarna {
7067
- readonly type: 'klarna';
7068
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7075
+ interface PeakSurchargeRatecardFee {
7076
+ readonly discriminator: 'peak_surcharge_ratecard_fee';
7077
+ readonly amount: io.flow.common.v0.models.Money;
7078
+ readonly starts_at?: string;
7079
+ readonly ends_at?: string;
7069
7080
  }
7070
- interface PaymentMethodSummaryPaypal {
7071
- readonly type: 'paypal';
7072
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7081
+ interface PeakSurchargeServiceFee {
7082
+ readonly discriminator: 'peak_surcharge_service_fee';
7083
+ readonly amount: io.flow.common.v0.models.Money;
7084
+ readonly starts_at?: string;
7085
+ readonly ends_at?: string;
7073
7086
  }
7074
- interface PaymentOrderDetailsLineItem {
7087
+ interface Ratecard {
7075
7088
  readonly id: string;
7076
- readonly description: string;
7077
- readonly quantity: number;
7078
- readonly amount: number;
7079
- readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
7080
- readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
7081
- readonly product_url?: string;
7082
- readonly image_url?: string;
7083
- readonly category?: string;
7084
- readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
7089
+ readonly number: string;
7090
+ readonly direction: io.flow.label.v0.enums.Direction;
7091
+ readonly effective_at: string;
7092
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
7093
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7094
+ readonly published_at?: string;
7095
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7085
7096
  }
7086
- interface PaymentPaymentMethod {
7097
+ interface RatecardCarrierSummary {
7087
7098
  readonly id: string;
7088
7099
  readonly name: string;
7089
- readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
7090
- readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
7091
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7092
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
7093
- readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
7094
7100
  }
7095
- interface PaymentRefund {
7096
- readonly id: string;
7097
- readonly amount: number;
7101
+ interface RatecardEstimateForm {
7102
+ readonly origin_address: io.flow.common.v0.models.Address;
7103
+ readonly destination_address: io.flow.common.v0.models.Address;
7104
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7105
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7106
+ readonly service?: string;
7107
+ readonly weight?: number;
7108
+ readonly length?: number;
7109
+ readonly width?: number;
7110
+ readonly depth?: number;
7111
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
7112
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7113
+ readonly center_id?: string;
7114
+ }
7115
+ interface RatecardEstimateSummaryForm {
7116
+ readonly origin?: string;
7117
+ readonly destination?: string;
7118
+ readonly service?: string;
7119
+ readonly center_key?: string;
7120
+ }
7121
+ interface RatecardEstimateV1 {
7122
+ readonly discriminator: 'ratecard_estimate_v1';
7123
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7124
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7098
7125
  readonly currency: string;
7099
- readonly created_at: string;
7100
- readonly updated_at: string;
7101
- readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
7126
+ readonly amount: number;
7127
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7128
+ readonly total: number;
7129
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7130
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7131
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7132
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7102
7133
  }
7103
- interface PaymentRefundForm {
7104
- readonly amount?: number;
7105
- readonly currency?: string;
7134
+ interface RatecardEstimateV2 {
7135
+ readonly discriminator: 'ratecard_estimate_v2';
7136
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
7137
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7138
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7139
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7140
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7141
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
7106
7142
  }
7107
- interface PaymentRefundStatus {
7108
- readonly status: io.flow.payment.v0.enums.RefundStatus;
7109
- readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
7143
+ interface RatecardEstimateV3 {
7144
+ readonly discriminator: 'ratecard_estimate_v3';
7145
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
7146
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7147
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7148
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7149
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7150
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
7110
7151
  }
7111
- interface PaymentRequest {
7152
+ interface RatecardForm {
7153
+ readonly direction: io.flow.label.v0.enums.Direction;
7154
+ readonly effective_at: string;
7155
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
7156
+ readonly service: string;
7157
+ readonly number?: string;
7158
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
7159
+ }
7160
+ interface RatecardLane {
7112
7161
  readonly id: string;
7113
- readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
7114
- readonly created_at: string;
7115
- readonly updated_at: string;
7116
- readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
7117
- readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
7118
- readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
7119
- readonly amount: number;
7162
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
7120
7163
  readonly currency: string;
7121
- readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7122
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7123
- readonly locale?: string;
7124
- readonly return_url: string;
7125
- readonly attributes?: Record<string, string>;
7126
- readonly reference?: string;
7127
- readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
7128
- readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
7129
- readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
7164
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7165
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7166
+ readonly destination: io.flow.common.v0.models.Zone;
7167
+ readonly dim_factor: number;
7168
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7169
+ readonly origin: io.flow.common.v0.models.Zone;
7170
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7171
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
7172
+ readonly rounding: io.flow.common.v0.models.Rounding;
7173
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7174
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7175
+ }
7176
+ interface RatecardLaneForm {
7177
+ readonly ratecard_id: string;
7178
+ readonly currency: string;
7179
+ readonly destination: io.flow.common.v0.models.Zone;
7180
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7181
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7182
+ readonly dim_factor: number;
7183
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7184
+ readonly origin: io.flow.common.v0.models.Zone;
7185
+ readonly rounding: io.flow.common.v0.models.Rounding;
7186
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
7187
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7188
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7189
+ }
7190
+ interface RatecardLaneImportForm {
7191
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7192
+ readonly service: string;
7193
+ readonly currency: string;
7194
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7195
+ readonly origin: io.flow.common.v0.models.Zone;
7196
+ readonly destination: io.flow.common.v0.models.Zone;
7197
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7198
+ readonly dim_factor: number;
7199
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7200
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7201
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
7130
7202
  }
7131
- interface PaymentRequestForm {
7132
- readonly amount: number;
7133
- readonly currency: string;
7134
- readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7135
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7136
- readonly locale?: string;
7137
- readonly return_url: string;
7138
- readonly attributes?: Record<string, string>;
7139
- readonly reference?: string;
7140
- readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
7141
- readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
7142
- readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
7203
+ interface RatecardLaneVersion {
7204
+ readonly id: string;
7205
+ readonly timestamp: string;
7206
+ readonly type: io.flow.common.v0.enums.ChangeType;
7207
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
7143
7208
  }
7144
- interface PaymentRequestReference {
7209
+ interface RatecardLanesImportRequestData {
7145
7210
  readonly id: string;
7146
- readonly reference?: string;
7211
+ readonly source_url: string;
7212
+ readonly filename?: string;
7147
7213
  }
7148
- interface PaymentReversal {
7214
+ interface RatecardRate {
7149
7215
  readonly id: string;
7150
7216
  readonly amount: number;
7151
- readonly currency: string;
7152
- readonly created_at: string;
7153
- readonly updated_at: string;
7154
- readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
7217
+ readonly weight: number;
7155
7218
  }
7156
- interface PaymentReversalForm {
7157
- readonly amount?: number;
7158
- readonly currency?: string;
7219
+ interface RatecardRateForm {
7220
+ readonly amount: number;
7221
+ readonly weight: number;
7159
7222
  }
7160
- interface PaymentReversalStatus {
7161
- readonly status: io.flow.payment.v0.enums.ReversalStatus;
7162
- readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
7223
+ interface RatecardRateVersion {
7224
+ readonly id: string;
7225
+ readonly timestamp: string;
7226
+ readonly type: io.flow.common.v0.enums.ChangeType;
7227
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
7163
7228
  }
7164
- interface PaymentTax {
7165
- readonly amount: number;
7166
- readonly name?: string;
7229
+ interface RatecardReference {
7230
+ readonly id: string;
7167
7231
  }
7168
- interface Shipping {
7169
- readonly description: string;
7170
- readonly amount: number;
7171
- readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
7172
- readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
7173
- readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
7232
+ interface RatecardRegionReference {
7233
+ readonly id: string;
7174
7234
  }
7175
- }
7176
- declare namespace io.flow.payment.gateway.v0.unions {
7177
- type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
7178
- type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
7179
- type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
7180
- type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
7181
- type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
7182
- type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
7183
- type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
7184
- type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
7185
- type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
7186
- type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
7187
- type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
7188
- }
7189
- declare namespace io.flow.order.management.event.v0.models {
7190
- interface FulfillmentItemAllocationDetails {
7191
- readonly item_number: string;
7192
- readonly line_number: number;
7193
- readonly levies: io.flow.common.v0.models.PriceWithBase;
7194
- readonly total: io.flow.common.v0.models.PriceWithBase;
7235
+ interface RatecardServiceSummary {
7236
+ readonly id: string;
7237
+ readonly name: string;
7238
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
7195
7239
  }
7196
- interface OrderPlaced {
7197
- readonly discriminator: 'order_placed';
7198
- readonly event_id: string;
7199
- readonly timestamp: string;
7200
- readonly organization: string;
7201
- readonly order_number: string;
7202
- readonly order: io.flow.experience.v0.models.Order;
7203
- readonly allocation: io.flow.experience.v0.models.AllocationV2;
7240
+ interface RatecardSummary {
7241
+ readonly id: string;
7242
+ readonly number: string;
7243
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7204
7244
  }
7205
- interface OrderPlacedV2 {
7206
- readonly discriminator: 'order_placed_v2';
7207
- readonly event_id: string;
7245
+ interface RatecardVersion {
7246
+ readonly id: string;
7208
7247
  readonly timestamp: string;
7209
- readonly organization: string;
7210
- readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
7248
+ readonly type: io.flow.common.v0.enums.ChangeType;
7249
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
7211
7250
  }
7212
- interface ReadyToFulfill {
7213
- readonly discriminator: 'ready_to_fulfill';
7214
- readonly event_id: string;
7215
- readonly timestamp: string;
7216
- readonly organization: string;
7217
- readonly order_number: string;
7218
- readonly order: io.flow.experience.v0.models.Order;
7219
- readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
7220
- readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
7251
+ interface RemoteAreaRatecardFee {
7252
+ readonly discriminator: 'remote_area_ratecard_fee';
7253
+ readonly amount: io.flow.common.v0.models.Money;
7221
7254
  }
7222
- interface ReadyToFulfillDetails {
7223
- readonly id: string;
7224
- readonly order_number: string;
7225
- readonly order: io.flow.experience.v0.models.Order;
7226
- readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
7227
- readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
7255
+ interface RemoteAreaServiceFee {
7256
+ readonly discriminator: 'remote_area_service_fee';
7257
+ readonly amount: io.flow.common.v0.models.Money;
7228
7258
  }
7229
- interface ReadyToFulfillV2 {
7230
- readonly discriminator: 'ready_to_fulfill_v2';
7231
- readonly event_id: string;
7232
- readonly timestamp: string;
7233
- readonly organization: string;
7234
- readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
7259
+ interface ReturnPackageRatecardFee {
7260
+ readonly discriminator: 'return_package_ratecard_fee';
7261
+ readonly amount: number;
7262
+ }
7263
+ interface ShipmentWindow {
7264
+ readonly from: number;
7265
+ readonly to: number;
7235
7266
  }
7236
7267
  }
7237
- declare namespace io.flow.order.management.event.v0.unions {
7238
- type OrderManagementEvent = io.flow.order.management.event.v0.models.OrderPlaced | io.flow.order.management.event.v0.models.OrderPlacedV2 | io.flow.order.management.event.v0.models.ReadyToFulfill | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
7239
- }
7240
- declare namespace io.flow.ftp.v0.enums {
7241
- type FtpFileSource = 'flow' | 'organization';
7268
+ declare namespace io.flow.ratecard.v0.unions {
7269
+ type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
7270
+ type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
7271
+ type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
7242
7272
  }
7243
- declare namespace io.flow.ftp.v0.models {
7244
- interface FtpAccount {
7245
- readonly server: io.flow.ftp.v0.models.FtpServer;
7246
- readonly user: io.flow.ftp.v0.models.FtpUser;
7273
+ declare namespace io.flow.token.v0.models {
7274
+ interface ChannelToken {
7275
+ readonly discriminator: 'channel_token';
7276
+ readonly id: string;
7277
+ readonly channel: io.flow.common.v0.models.ChannelReference;
7278
+ readonly user: io.flow.common.v0.models.UserReference;
7279
+ readonly partial: string;
7280
+ readonly created_at: string;
7281
+ readonly description?: string;
7247
7282
  }
7248
- interface FtpFile {
7283
+ interface ChannelTokenReference {
7284
+ readonly discriminator: 'channel_token_reference';
7249
7285
  readonly id: string;
7250
- readonly source: io.flow.ftp.v0.enums.FtpFileSource;
7251
- readonly name: string;
7252
- readonly directory: string;
7253
- readonly url: string;
7286
+ readonly channel: io.flow.common.v0.models.ChannelReference;
7287
+ readonly user: io.flow.common.v0.models.UserReference;
7288
+ }
7289
+ interface Cleartext {
7290
+ readonly value: string;
7291
+ }
7292
+ interface OrganizationToken {
7293
+ readonly discriminator: 'organization_token';
7294
+ readonly id: string;
7295
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7296
+ readonly user: io.flow.common.v0.models.UserReference;
7297
+ readonly environment: io.flow.common.v0.enums.Environment;
7298
+ readonly partial: string;
7254
7299
  readonly created_at: string;
7300
+ readonly description?: string;
7255
7301
  }
7256
- interface FtpFileForm {
7257
- readonly url: string;
7258
- readonly directory: string;
7259
- readonly name?: string;
7302
+ interface OrganizationTokenForm {
7303
+ readonly environment: io.flow.common.v0.enums.Environment;
7304
+ readonly description?: string;
7260
7305
  }
7261
- interface FtpFolder {
7306
+ interface OrganizationTokenReference {
7307
+ readonly discriminator: 'organization_token_reference';
7262
7308
  readonly id: string;
7263
- readonly path: string;
7264
- readonly webhook: boolean;
7309
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7310
+ readonly environment: io.flow.common.v0.enums.Environment;
7311
+ readonly user: io.flow.common.v0.models.UserReference;
7312
+ }
7313
+ interface PartnerToken {
7314
+ readonly discriminator: 'partner_token';
7315
+ readonly id: string;
7316
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
7317
+ readonly user: io.flow.common.v0.models.UserReference;
7318
+ readonly environment: io.flow.common.v0.enums.Environment;
7319
+ readonly partial: string;
7320
+ readonly created_at: string;
7265
7321
  readonly description?: string;
7266
7322
  }
7267
- interface FtpFolderForm {
7268
- readonly path: string;
7269
- readonly webhook: boolean;
7323
+ interface PartnerTokenForm {
7324
+ readonly environment: io.flow.common.v0.enums.Environment;
7270
7325
  readonly description?: string;
7271
7326
  }
7272
- interface FtpOrganizationSettings {
7273
- readonly enabled: boolean;
7274
- readonly emails: string[];
7275
- readonly account?: io.flow.ftp.v0.models.FtpAccount;
7327
+ interface PartnerTokenReference {
7328
+ readonly discriminator: 'partner_token_reference';
7329
+ readonly id: string;
7330
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
7331
+ readonly environment: io.flow.common.v0.enums.Environment;
7332
+ readonly user: io.flow.common.v0.models.UserReference;
7276
7333
  }
7277
- interface FtpOrganizationSettingsForm {
7278
- readonly enabled: boolean;
7279
- readonly emails: string[];
7334
+ interface TokenAuthenticationForm {
7335
+ readonly token: string;
7280
7336
  }
7281
- interface FtpServer {
7282
- readonly hostname: string;
7337
+ interface TokenPartnerReference {
7338
+ readonly id: string;
7283
7339
  }
7284
- interface FtpUser {
7285
- readonly username: string;
7286
- readonly password?: string;
7340
+ interface TokenValidation {
7341
+ readonly status: string;
7342
+ }
7343
+ interface TokenValidationForm {
7344
+ readonly token: string;
7287
7345
  }
7288
7346
  }
7347
+ declare namespace io.flow.token.v0.unions {
7348
+ type Token = io.flow.token.v0.models.ChannelToken | io.flow.token.v0.models.OrganizationToken | io.flow.token.v0.models.PartnerToken;
7349
+ type TokenReference = io.flow.token.v0.models.ChannelTokenReference | io.flow.token.v0.models.OrganizationTokenReference | io.flow.token.v0.models.PartnerTokenReference;
7350
+ }
7289
7351
  declare namespace io.flow.catalog.exclusion.v0.enums {
7290
7352
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
7291
7353
  }
@@ -9256,10 +9318,11 @@ declare namespace io.flow.internal.v0.enums {
9256
9318
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9257
9319
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
9258
9320
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9259
- type BillingStatementBatchFileKey = 'archive' | 'summary' | 'label_transactions';
9321
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
9260
9322
  type BillingStatementReviewStatus = 'approved' | 'pending';
9261
9323
  type BillingTransactionStatus = 'pending' | 'posted';
9262
9324
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
9325
+ type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
9263
9326
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
9264
9327
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
9265
9328
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
@@ -9345,7 +9408,14 @@ declare namespace io.flow.internal.v0.enums {
9345
9408
  type DeliveredDutyOptionMessageType = 'warning' | 'notification';
9346
9409
  type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
9347
9410
  type DiscountRequestOrderEntitlementKey = 'subtotal';
9411
+ type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
9348
9412
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
9413
+ type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
9414
+ type DisputeImportType = 'adyen_dispute';
9415
+ type DisputeLiability = 'flow' | 'organization';
9416
+ type DisputeProcessor = 'adyen' | 'paypal';
9417
+ type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
9418
+ type DisputeType = 'chargeback';
9349
9419
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
9350
9420
  type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item' | 'personalization';
9351
9421
  type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
@@ -10249,6 +10319,22 @@ declare namespace io.flow.internal.v0.models {
10249
10319
  readonly shipping?: number;
10250
10320
  readonly tax?: number;
10251
10321
  }
10322
+ interface BlazeCheckoutEventMessage {
10323
+ readonly discriminator: 'checkout_event';
10324
+ readonly event_type: io.flow.internal.v0.enums.BlazeCheckoutEvent;
10325
+ readonly affiliation: string;
10326
+ readonly order_number: string;
10327
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
10328
+ readonly country: string;
10329
+ readonly language: string;
10330
+ readonly geo_currency: string;
10331
+ readonly currency: string;
10332
+ readonly promotions?: string[];
10333
+ readonly duty?: number;
10334
+ readonly tax?: number;
10335
+ readonly shipping?: number;
10336
+ readonly revenue?: number;
10337
+ }
10252
10338
  interface BlazeCheckoutItem {
10253
10339
  readonly attributes: Record<string, string>;
10254
10340
  readonly item_number: string;
@@ -10270,6 +10356,9 @@ declare namespace io.flow.internal.v0.models {
10270
10356
  readonly promotion?: string;
10271
10357
  readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
10272
10358
  }
10359
+ interface BlazeExitCheckoutConfirmationMessage {
10360
+ readonly discriminator: 'exit_checkout_confirmation';
10361
+ }
10273
10362
  interface BlazeExitCheckoutMessage {
10274
10363
  readonly discriminator: 'exit_checkout';
10275
10364
  }
@@ -10454,6 +10543,12 @@ declare namespace io.flow.internal.v0.models {
10454
10543
  readonly discriminator: 'change_settings_index_task';
10455
10544
  readonly name: string;
10456
10545
  }
10546
+ interface Channel {
10547
+ readonly id: string;
10548
+ readonly name: string;
10549
+ readonly environment: io.flow.common.v0.enums.Environment;
10550
+ readonly organization_id_prefix?: string;
10551
+ }
10457
10552
  interface ChannelCurrencySetting {
10458
10553
  readonly id: string;
10459
10554
  readonly channel_id: string;
@@ -10479,6 +10574,11 @@ declare namespace io.flow.internal.v0.models {
10479
10574
  readonly timestamp: string;
10480
10575
  readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
10481
10576
  }
10577
+ interface ChannelForm {
10578
+ readonly name: string;
10579
+ readonly environment: io.flow.common.v0.enums.Environment;
10580
+ readonly organization_id_prefix?: string;
10581
+ }
10482
10582
  interface ChannelServiceFee {
10483
10583
  readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
10484
10584
  }
@@ -10486,6 +10586,10 @@ declare namespace io.flow.internal.v0.models {
10486
10586
  readonly minimum_orders: number;
10487
10587
  readonly amount: number;
10488
10588
  }
10589
+ interface ChannelTokenForm {
10590
+ readonly channel_id: string;
10591
+ readonly description?: string;
10592
+ }
10489
10593
  interface ChannelTransaction {
10490
10594
  readonly id: string;
10491
10595
  readonly organization_id: string;
@@ -12648,6 +12752,47 @@ declare namespace io.flow.internal.v0.models {
12648
12752
  interface DiscountRequestOrderForm {
12649
12753
  readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[];
12650
12754
  }
12755
+ interface Dispute {
12756
+ readonly id: string;
12757
+ readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
12758
+ readonly key: string;
12759
+ readonly total: io.flow.common.v0.models.Money;
12760
+ readonly type: io.flow.internal.v0.enums.DisputeType;
12761
+ readonly category: io.flow.internal.v0.enums.DisputeCategory;
12762
+ readonly reason: string;
12763
+ readonly status: io.flow.internal.v0.enums.DisputeStatus;
12764
+ readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
12765
+ readonly details: io.flow.internal.v0.unions.DisputeDetails;
12766
+ readonly expires_at?: string;
12767
+ readonly created_at: string;
12768
+ }
12769
+ interface DisputeDetailsAdyen {
12770
+ readonly discriminator: 'adyen';
12771
+ readonly psp_reference: string;
12772
+ readonly dispute_psp_reference: string;
12773
+ }
12774
+ interface DisputeDetailsPaypal {
12775
+ readonly discriminator: 'paypal';
12776
+ readonly placeholder?: string;
12777
+ }
12778
+ interface DisputeImport {
12779
+ readonly id: string;
12780
+ readonly type: io.flow.internal.v0.enums.DisputeImportType;
12781
+ readonly status: io.flow.internal.v0.enums.DisputeImportStatus;
12782
+ readonly url: string;
12783
+ readonly errors?: io.flow.internal.v0.models.DisputeImportErrors;
12784
+ readonly created_at: string;
12785
+ }
12786
+ interface DisputeImportError {
12787
+ readonly message: string;
12788
+ }
12789
+ interface DisputeImportErrors {
12790
+ readonly count: number;
12791
+ }
12792
+ interface DisputeImportForm {
12793
+ readonly url: string;
12794
+ readonly type: io.flow.internal.v0.enums.DisputeImportType;
12795
+ }
12651
12796
  interface DutiedItemsExport {
12652
12797
  readonly discriminator: 'dutied_items_export';
12653
12798
  readonly event_id: string;
@@ -14762,6 +14907,13 @@ declare namespace io.flow.internal.v0.models {
14762
14907
  readonly client_id: string;
14763
14908
  readonly region: string;
14764
14909
  }
14910
+ interface LevyRateSummary {
14911
+ readonly id: string;
14912
+ readonly number: string;
14913
+ readonly destination: io.flow.common.v0.models.Address;
14914
+ readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
14915
+ readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
14916
+ }
14765
14917
  interface Liability {
14766
14918
  readonly delivery_key: string;
14767
14919
  readonly tax_jurisdiction: string;
@@ -17648,7 +17800,7 @@ declare namespace io.flow.internal.v0.unions {
17648
17800
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
17649
17801
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
17650
17802
  type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
17651
- type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
17803
+ type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
17652
17804
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
17653
17805
  type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
17654
17806
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
@@ -17733,6 +17885,7 @@ declare namespace io.flow.internal.v0.unions {
17733
17885
  type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
17734
17886
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
17735
17887
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
17888
+ type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
17736
17889
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
17737
17890
  type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
17738
17891
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
@@ -17917,11 +18070,14 @@ export declare type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddT
17917
18070
  export declare type BlazeApplepayAvailabilityRequest = io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest;
17918
18071
  export declare type BlazeApplepayAvailabilityResponse = io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse;
17919
18072
  export declare type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
18073
+ export declare type BlazeCheckoutEvent = io.flow.internal.v0.enums.BlazeCheckoutEvent;
18074
+ export declare type BlazeCheckoutEventMessage = io.flow.internal.v0.models.BlazeCheckoutEventMessage;
17920
18075
  export declare type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
17921
18076
  export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
17922
18077
  export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
17923
18078
  export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
17924
18079
  export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
18080
+ export declare type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
17925
18081
  export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
17926
18082
  export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
17927
18083
  export declare type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
@@ -17966,12 +18122,15 @@ export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.mo
17966
18122
  export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
17967
18123
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
17968
18124
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
18125
+ export declare type Channel = io.flow.internal.v0.models.Channel;
17969
18126
  export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
17970
18127
  export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
17971
18128
  export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
17972
18129
  export declare type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
18130
+ export declare type ChannelForm = io.flow.internal.v0.models.ChannelForm;
17973
18131
  export declare type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
17974
18132
  export declare type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
18133
+ export declare type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
17975
18134
  export declare type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
17976
18135
  export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
17977
18136
  export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
@@ -18575,7 +18734,22 @@ export declare type DiscountRequestOfferForm = io.flow.internal.v0.unions.Discou
18575
18734
  export declare type DiscountRequestOrderEntitlementForm = io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm;
18576
18735
  export declare type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey;
18577
18736
  export declare type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
18737
+ export declare type Dispute = io.flow.internal.v0.models.Dispute;
18738
+ export declare type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
18739
+ export declare type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
18740
+ export declare type DisputeDetailsAdyen = io.flow.internal.v0.models.DisputeDetailsAdyen;
18741
+ export declare type DisputeDetailsPaypal = io.flow.internal.v0.models.DisputeDetailsPaypal;
18578
18742
  export declare type DisputeEvidence = io.flow.internal.v0.enums.DisputeEvidence;
18743
+ export declare type DisputeImport = io.flow.internal.v0.models.DisputeImport;
18744
+ export declare type DisputeImportError = io.flow.internal.v0.models.DisputeImportError;
18745
+ export declare type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors;
18746
+ export declare type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
18747
+ export declare type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
18748
+ export declare type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
18749
+ export declare type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
18750
+ export declare type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
18751
+ export declare type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
18752
+ export declare type DisputeType = io.flow.internal.v0.enums.DisputeType;
18579
18753
  export declare type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
18580
18754
  export declare type Duties = io.flow.internal.v0.models.Duties;
18581
18755
  export declare type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpression;
@@ -18916,6 +19090,7 @@ export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
18916
19090
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
18917
19091
  export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
18918
19092
  export declare type Landmark = io.flow.internal.v0.models.Landmark;
19093
+ export declare type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
18919
19094
  export declare type Liability = io.flow.internal.v0.models.Liability;
18920
19095
  export declare type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
18921
19096
  export declare type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;