@flowio/types 11.19.23 → 11.19.24

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,945 +1497,635 @@ 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;
1500
+ declare namespace io.flow.error.v0.enums {
1501
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
1502
+ }
1503
+ declare namespace io.flow.error.v0.models {
1504
+ interface GenericError {
1505
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
1506
+ readonly messages: string[];
1504
1507
  }
1505
- interface DdpRatecardFee {
1506
- readonly discriminator: 'ddp_ratecard_fee';
1507
- readonly amount: number;
1508
+ }
1509
+ declare namespace io.flow.price.v0.enums {
1510
+ type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
1511
+ type LevyStrategy = 'minimum' | 'average' | 'maximum';
1512
+ type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
1513
+ type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
1514
+ type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
1515
+ type PricingLevySetting = 'included' | 'displayed' | 'ignored';
1516
+ }
1517
+ declare namespace io.flow.price.v0.models {
1518
+ interface CurrencyFormat {
1519
+ readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
1520
+ readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
1508
1521
  }
1509
- interface DimensionEstimate {
1510
- readonly id: string;
1511
- readonly q: string;
1512
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1513
- readonly position: number;
1522
+ interface DeminimisPerItem {
1523
+ readonly discriminator: 'deminimis_per_item';
1524
+ readonly currency: string;
1525
+ readonly minimum?: number;
1526
+ readonly maximum?: number;
1514
1527
  }
1515
- interface DimensionEstimateForm {
1516
- readonly q: string;
1517
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1518
- readonly position?: number;
1528
+ interface DeminimisSimple {
1529
+ readonly discriminator: 'deminimis_simple';
1530
+ readonly value?: number;
1531
+ readonly currency: string;
1532
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
1533
+ readonly minimum?: number;
1519
1534
  }
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;
1535
+ interface Duty {
1536
+ readonly rate: number;
1537
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
1538
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
1539
+ readonly name?: string;
1525
1540
  }
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;
1541
+ interface LocalPriceDetails {
1542
+ readonly base: io.flow.price.v0.models.PriceDetails;
1543
+ readonly local: io.flow.price.v0.models.PriceDetails;
1544
+ readonly discount?: io.flow.price.v0.models.PriceDetail;
1545
+ readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
1531
1546
  }
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;
1547
+ interface PriceBook {
1548
+ readonly id: string;
1549
+ readonly key: string;
1550
+ readonly currency: string;
1551
+ readonly name: string;
1552
+ readonly includes: io.flow.common.v0.models.IncludedLevies;
1553
+ readonly status: io.flow.common.v0.enums.PriceBookStatus;
1537
1554
  }
1538
- interface EmergencySituationSurchargeRatecardFee {
1539
- readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
1540
- readonly amount: io.flow.common.v0.models.Money;
1555
+ interface PriceBookForm {
1556
+ readonly currency: string;
1557
+ readonly name: string;
1558
+ readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
1559
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
1541
1560
  }
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;
1561
+ interface PriceBookItem {
1562
+ readonly id: string;
1563
+ readonly key: string;
1564
+ readonly price_book: io.flow.price.v0.models.PriceBookReference;
1565
+ readonly price: io.flow.common.v0.models.Price;
1566
+ readonly item_number: string;
1567
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1568
+ readonly item_attributes?: Record<string, string>;
1548
1569
  }
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;
1570
+ interface PriceBookItemForm {
1571
+ readonly price_book_key: string;
1572
+ readonly item_number: string;
1573
+ readonly amount: number;
1574
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
1575
+ readonly item_attributes?: Record<string, string>;
1554
1576
  }
1555
- interface FeeWeight {
1556
- readonly weight: number;
1557
- readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
1577
+ interface PriceBookItemQueryForm {
1578
+ readonly price_book_key: string;
1579
+ readonly item_query: string;
1580
+ readonly amount: number;
1581
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
1582
+ readonly item_attributes?: Record<string, string>;
1558
1583
  }
1559
- interface FuelSurchargeRatecardFee {
1560
- readonly discriminator: 'fuel_surcharge_ratecard_fee';
1561
- readonly amount: io.flow.common.v0.models.Money;
1584
+ interface PriceBookItemSchedule {
1585
+ readonly starts_at: string;
1586
+ readonly ends_at?: string;
1562
1587
  }
1563
- interface FuelSurchargeServiceFee {
1564
- readonly discriminator: 'fuel_surcharge_service_fee';
1565
- readonly percent: number;
1588
+ interface PriceBookReference {
1589
+ readonly id: string;
1590
+ readonly key: string;
1566
1591
  }
1567
- interface Hop {
1568
- readonly hop_number: number;
1569
- readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
1592
+ interface PriceCheck {
1593
+ readonly display: io.flow.price.v0.models.LocalPriceDetails;
1594
+ readonly final: io.flow.price.v0.models.LocalPriceDetails;
1570
1595
  }
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;
1596
+ interface PriceDetail {
1597
+ readonly key: io.flow.price.v0.enums.PriceDetailKey;
1598
+ readonly components: io.flow.price.v0.models.PriceDetailComponent[];
1577
1599
  readonly amount: number;
1578
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1579
- readonly total: number;
1600
+ readonly label: string;
1601
+ readonly name?: string;
1602
+ readonly basis?: number;
1580
1603
  }
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;
1604
+ interface PriceDetailComponent {
1605
+ readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
1606
+ readonly amount: number;
1607
+ readonly label: string;
1608
+ readonly name?: string;
1587
1609
  }
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;
1610
+ interface PriceDetails {
1611
+ readonly currency: string;
1612
+ readonly item_price: io.flow.price.v0.models.PriceDetail;
1613
+ readonly margins: io.flow.price.v0.models.PriceDetail;
1614
+ readonly vat: io.flow.price.v0.models.PriceDetail;
1615
+ readonly duty: io.flow.price.v0.models.PriceDetail;
1616
+ readonly rounding: io.flow.price.v0.models.PriceDetail;
1617
+ readonly price: io.flow.common.v0.models.Price;
1618
+ readonly total: io.flow.common.v0.models.Price;
1619
+ readonly adjustment?: io.flow.price.v0.models.PriceDetail;
1595
1620
  }
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;
1621
+ interface PriceEquation {
1622
+ readonly contracted_rate: number;
1623
+ readonly rate: number;
1624
+ readonly pricing: io.flow.price.v0.models.Pricing;
1625
+ readonly base_price: number;
1626
+ readonly discount: number;
1627
+ readonly fixed_margin: number;
1628
+ readonly percent_margin: number;
1629
+ readonly insurance: number;
1630
+ readonly freight: number;
1631
+ readonly duty?: io.flow.price.v0.models.Duty;
1632
+ readonly tax?: io.flow.price.v0.models.Tax;
1633
+ readonly percent_sales_margin: number;
1601
1634
  }
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;
1635
+ interface Pricing {
1636
+ readonly vat: io.flow.price.v0.enums.PricingLevySetting;
1637
+ readonly duty: io.flow.price.v0.enums.PricingLevySetting;
1638
+ readonly rounding?: io.flow.common.v0.models.Rounding;
1607
1639
  }
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;
1640
+ interface Tax {
1641
+ readonly name: string;
1642
+ readonly rate: number;
1643
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
1644
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
1617
1645
  }
1618
- interface RatecardCarrierSummary {
1646
+ }
1647
+ declare namespace io.flow.price.v0.unions {
1648
+ type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
1649
+ }
1650
+ declare namespace io.flow.reference.v0.enums {
1651
+ type PaymentMethodCapability = 'credit' | 'debit';
1652
+ type PaymentMethodType = 'card' | 'online' | 'offline';
1653
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
1654
+ type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
1655
+ }
1656
+ declare namespace io.flow.reference.v0.models {
1657
+ interface Carrier {
1619
1658
  readonly id: string;
1620
1659
  readonly name: string;
1660
+ readonly tracking_url: string;
1621
1661
  }
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[];
1662
+ interface CarrierService {
1663
+ readonly id: string;
1664
+ readonly carrier: io.flow.reference.v0.models.Carrier;
1665
+ readonly name: string;
1635
1666
  }
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;
1667
+ interface Country {
1668
+ readonly name: string;
1669
+ readonly iso_3166_2: string;
1670
+ readonly iso_3166_3: string;
1671
+ readonly languages: string[];
1672
+ readonly measurement_system: string;
1673
+ readonly default_currency?: string;
1674
+ readonly default_language?: string;
1675
+ readonly timezones: string[];
1676
+ readonly default_delivered_duty?: string;
1650
1677
  }
1651
- interface RatecardEstimateSummaryForm {
1652
- readonly origin?: string;
1653
- readonly destination?: string;
1654
- readonly service?: string;
1655
- readonly center_key?: string;
1678
+ interface Currency {
1679
+ readonly name: string;
1680
+ readonly iso_4217_3: string;
1681
+ readonly number_decimals: number;
1682
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
1683
+ readonly default_locale?: string;
1656
1684
  }
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[];
1685
+ interface CurrencySymbols {
1686
+ readonly primary: string;
1687
+ readonly narrow?: string;
1669
1688
  }
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;
1689
+ interface Language {
1690
+ readonly name: string;
1691
+ readonly iso_639_2: string;
1678
1692
  }
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;
1693
+ interface Locale {
1694
+ readonly id: string;
1695
+ readonly name: string;
1696
+ readonly country: string;
1697
+ readonly language: string;
1698
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
1687
1699
  }
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;
1700
+ interface LocaleNumbers {
1701
+ readonly decimal: string;
1702
+ readonly group: string;
1695
1703
  }
1696
- interface RatecardLane {
1704
+ interface LocalizedTranslation {
1705
+ readonly locale: io.flow.reference.v0.models.Locale;
1706
+ readonly name: string;
1707
+ }
1708
+ interface PaymentMethod {
1697
1709
  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;
1710
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
1711
+ readonly name: string;
1712
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
1713
+ readonly regions: string[];
1714
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
1711
1715
  }
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;
1716
+ interface PaymentMethodImage {
1717
+ readonly url: string;
1718
+ readonly width: number;
1719
+ readonly height: number;
1725
1720
  }
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[];
1721
+ interface PaymentMethodImages {
1722
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
1723
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
1724
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
1738
1725
  }
1739
- interface RatecardLaneVersion {
1726
+ interface Province {
1740
1727
  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;
1728
+ readonly iso_3166_2: string;
1729
+ readonly name: string;
1730
+ readonly country: string;
1731
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
1732
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
1744
1733
  }
1745
- interface RatecardLanesImportRequestData {
1734
+ interface Region {
1746
1735
  readonly id: string;
1747
- readonly source_url: string;
1748
- readonly filename?: string;
1736
+ readonly name: string;
1737
+ readonly countries: string[];
1738
+ readonly currencies: string[];
1739
+ readonly languages: string[];
1740
+ readonly measurement_systems: string[];
1741
+ readonly timezones: string[];
1749
1742
  }
1750
- interface RatecardRate {
1743
+ interface Timezone {
1744
+ readonly name: string;
1745
+ readonly description: string;
1746
+ readonly offset: number;
1747
+ }
1748
+ }
1749
+ declare namespace io.flow.tracking.v0.enums {
1750
+ type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1751
+ }
1752
+ declare namespace io.flow.tracking.v0.models {
1753
+ interface Tracking {
1751
1754
  readonly id: string;
1752
- readonly amount: number;
1753
- readonly weight: number;
1755
+ readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
1756
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1757
+ readonly attributes: Record<string, string>;
1758
+ readonly url: string;
1759
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
1760
+ readonly order_number?: string;
1754
1761
  }
1755
- interface RatecardRateForm {
1756
- readonly amount: number;
1757
- readonly weight: number;
1762
+ interface TrackingEvent {
1763
+ readonly id: string;
1764
+ readonly address: io.flow.common.v0.models.Address;
1765
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1766
+ readonly timestamp: string;
1767
+ readonly description?: string;
1758
1768
  }
1759
- interface RatecardRateVersion {
1769
+ interface TrackingEventForm {
1770
+ readonly tracking_label_id: string;
1771
+ readonly timestamp: string;
1772
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1773
+ readonly description?: string;
1774
+ readonly address?: string;
1775
+ }
1776
+ interface TrackingEventSummary {
1777
+ readonly id: string;
1778
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1779
+ readonly timestamp: string;
1780
+ }
1781
+ interface TrackingEventVersion {
1760
1782
  readonly id: string;
1761
1783
  readonly timestamp: string;
1762
1784
  readonly type: io.flow.common.v0.enums.ChangeType;
1763
- readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
1785
+ readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
1764
1786
  }
1765
- interface RatecardReference {
1787
+ interface TrackingForm {
1788
+ readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
1789
+ readonly order_number?: string;
1790
+ readonly attributes?: Record<string, string>;
1791
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
1792
+ }
1793
+ interface TrackingLabel {
1766
1794
  readonly id: string;
1795
+ readonly carrier: string;
1796
+ readonly carrier_tracking_number: string;
1797
+ readonly events: io.flow.tracking.v0.models.TrackingEvent[];
1798
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1799
+ readonly timestamp: string;
1800
+ readonly delivery_estimate?: string;
1801
+ readonly description?: string;
1767
1802
  }
1768
- interface RatecardRegionReference {
1803
+ interface TrackingLabelForm {
1804
+ readonly tracking_id: string;
1805
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1806
+ readonly carrier: string;
1807
+ readonly carrier_tracking_number: string;
1808
+ readonly delivery_estimate?: string;
1809
+ readonly description?: string;
1810
+ readonly timestamp?: string;
1811
+ readonly parent_id?: string;
1812
+ }
1813
+ interface TrackingLabelSummary {
1769
1814
  readonly id: string;
1815
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
1816
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1817
+ readonly carrier: string;
1818
+ readonly tracking_number: string;
1770
1819
  }
1771
- interface RatecardServiceSummary {
1820
+ interface TrackingLabelVersion {
1772
1821
  readonly id: string;
1773
- readonly name: string;
1774
- readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
1822
+ readonly timestamp: string;
1823
+ readonly type: io.flow.common.v0.enums.ChangeType;
1824
+ readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
1775
1825
  }
1776
- interface RatecardSummary {
1826
+ interface TrackingSummary {
1777
1827
  readonly id: string;
1778
- readonly number: string;
1779
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1828
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1829
+ readonly order_number?: string;
1780
1830
  }
1781
- interface RatecardVersion {
1831
+ interface TrackingVersion {
1782
1832
  readonly id: string;
1783
1833
  readonly timestamp: string;
1784
1834
  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
- declare namespace io.flow.error.v0.enums {
1811
- type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
1812
- }
1813
- declare namespace io.flow.error.v0.models {
1814
- interface GenericError {
1815
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
1816
- readonly messages: string[];
1835
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
1817
1836
  }
1818
1837
  }
1819
- declare namespace io.flow.price.v0.enums {
1820
- type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
1821
- type LevyStrategy = 'minimum' | 'average' | 'maximum';
1822
- type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
1823
- type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
1824
- type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
1825
- type PricingLevySetting = 'included' | 'displayed' | 'ignored';
1838
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
1839
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
1840
+ type ItemIdentifier = 'item_number' | 'sku';
1826
1841
  }
1827
- declare namespace io.flow.price.v0.models {
1828
- interface CurrencyFormat {
1829
- readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
1830
- readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
1831
- }
1832
- interface DeminimisPerItem {
1833
- readonly discriminator: 'deminimis_per_item';
1834
- readonly currency: string;
1835
- readonly minimum?: number;
1836
- readonly maximum?: number;
1837
- }
1838
- interface DeminimisSimple {
1839
- readonly discriminator: 'deminimis_simple';
1840
- readonly value?: number;
1841
- readonly currency: string;
1842
- readonly components: io.flow.price.v0.enums.LevyComponent[];
1843
- readonly minimum?: number;
1844
- }
1845
- interface Duty {
1846
- readonly rate: number;
1847
- readonly components: io.flow.price.v0.enums.LevyComponent[];
1848
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
1849
- readonly name?: string;
1842
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
1843
+ interface AccountOrdersExportType {
1844
+ readonly discriminator: 'account_orders_export_type';
1845
+ readonly statement_id?: string;
1846
+ readonly transaction_summary_id?: string;
1847
+ readonly transaction_created_from?: string;
1848
+ readonly transaction_created_to?: string;
1849
+ readonly transaction_created_on_or_after?: string;
1850
+ readonly transaction_created_after?: string;
1851
+ readonly transaction_created_on_or_before?: string;
1852
+ readonly transaction_created_before?: string;
1853
+ readonly transaction_posted_from?: string;
1854
+ readonly transaction_posted_to?: string;
1855
+ readonly transaction_posted_on_or_after?: string;
1856
+ readonly transaction_posted_after?: string;
1857
+ readonly transaction_posted_on_or_before?: string;
1858
+ readonly transaction_posted_before?: string;
1850
1859
  }
1851
- interface LocalPriceDetails {
1852
- readonly base: io.flow.price.v0.models.PriceDetails;
1853
- readonly local: io.flow.price.v0.models.PriceDetails;
1854
- readonly discount?: io.flow.price.v0.models.PriceDetail;
1855
- readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
1860
+ interface AccountTransactionsExportType {
1861
+ readonly discriminator: 'account_transactions_export_type';
1862
+ readonly statement_id?: string;
1863
+ readonly transaction_summary_id?: string;
1864
+ readonly created_from?: string;
1865
+ readonly created_to?: string;
1866
+ readonly created_on_or_after?: string;
1867
+ readonly created_after?: string;
1868
+ readonly created_on_or_before?: string;
1869
+ readonly created_before?: string;
1870
+ readonly posted_from?: string;
1871
+ readonly posted_to?: string;
1872
+ readonly posted_on_or_after?: string;
1873
+ readonly posted_after?: string;
1874
+ readonly posted_on_or_before?: string;
1875
+ readonly posted_before?: string;
1856
1876
  }
1857
- interface PriceBook {
1858
- readonly id: string;
1859
- readonly key: string;
1860
- readonly currency: string;
1861
- readonly name: string;
1862
- readonly includes: io.flow.common.v0.models.IncludedLevies;
1863
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
1877
+ interface AnalyticsExportType {
1878
+ readonly discriminator: 'analytics_export_type';
1879
+ readonly from?: string;
1880
+ readonly to?: string;
1881
+ readonly region?: string;
1882
+ readonly interval?: io.flow.common.v0.enums.UnitOfTime;
1864
1883
  }
1865
- interface PriceBookForm {
1866
- readonly currency: string;
1867
- readonly name: string;
1868
- readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
1869
- readonly status?: io.flow.common.v0.enums.PriceBookStatus;
1884
+ interface CatalogItemExportType {
1885
+ readonly discriminator: 'catalog_item_export_type';
1886
+ readonly numbers?: string[];
1887
+ readonly q?: string;
1888
+ readonly sort?: string;
1870
1889
  }
1871
- interface PriceBookItem {
1872
- readonly id: string;
1873
- readonly key: string;
1874
- readonly price_book: io.flow.price.v0.models.PriceBookReference;
1875
- readonly price: io.flow.common.v0.models.Price;
1890
+ interface CsvPriceBookItemExportRowByItemNumber {
1876
1891
  readonly item_number: string;
1877
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1878
- readonly item_attributes?: Record<string, string>;
1879
- }
1880
- interface PriceBookItemForm {
1881
1892
  readonly price_book_key: string;
1882
- readonly item_number: string;
1893
+ readonly price_book_item_key: string;
1894
+ readonly item_name: string;
1883
1895
  readonly amount: number;
1884
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
1885
1896
  readonly item_attributes?: Record<string, string>;
1897
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1886
1898
  }
1887
- interface PriceBookItemQueryForm {
1899
+ interface CsvPriceBookItemExportRowBySku {
1900
+ readonly sku: string;
1888
1901
  readonly price_book_key: string;
1889
- readonly item_query: string;
1902
+ readonly price_book_item_key: string;
1903
+ readonly item_name: string;
1890
1904
  readonly amount: number;
1891
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
1892
1905
  readonly item_attributes?: Record<string, string>;
1906
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1893
1907
  }
1894
- interface PriceBookItemSchedule {
1895
- readonly starts_at: string;
1896
- readonly ends_at?: string;
1908
+ interface ExclusionRulesExportType {
1909
+ readonly discriminator: 'exclusion_rules_export_type';
1910
+ readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
1911
+ readonly sort?: string;
1897
1912
  }
1898
- interface PriceBookReference {
1913
+ interface ExperienceExportType {
1914
+ readonly discriminator: 'experience_export_type';
1915
+ readonly organization_id: string;
1916
+ readonly ids?: string[];
1917
+ readonly keys?: string[];
1918
+ }
1919
+ interface Export {
1899
1920
  readonly id: string;
1900
- readonly key: string;
1921
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
1922
+ readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
1923
+ readonly organization_q: string;
1924
+ readonly created_at: string;
1925
+ readonly started_at?: string;
1926
+ readonly completed_at?: string;
1927
+ readonly url?: string;
1928
+ readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
1901
1929
  }
1902
- interface PriceCheck {
1903
- readonly display: io.flow.price.v0.models.LocalPriceDetails;
1904
- readonly final: io.flow.price.v0.models.LocalPriceDetails;
1930
+ interface ExportDeliveryEmail {
1931
+ readonly discriminator: 'export_delivery_email';
1932
+ readonly email: string;
1905
1933
  }
1906
- interface PriceDetail {
1907
- readonly key: io.flow.price.v0.enums.PriceDetailKey;
1908
- readonly components: io.flow.price.v0.models.PriceDetailComponent[];
1909
- readonly amount: number;
1910
- readonly label: string;
1911
- readonly name?: string;
1912
- readonly basis?: number;
1934
+ interface ExportForm {
1935
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
1936
+ readonly emails?: string[];
1937
+ readonly organization_q?: string;
1913
1938
  }
1914
- interface PriceDetailComponent {
1915
- readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
1916
- readonly amount: number;
1917
- readonly label: string;
1918
- readonly name?: string;
1939
+ interface ExportLocalizedItemPrices {
1940
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
1941
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
1942
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
1943
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
1944
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
1945
+ readonly rates?: io.flow.currency.v0.models.Rate[];
1919
1946
  }
1920
- interface PriceDetails {
1921
- readonly currency: string;
1922
- readonly item_price: io.flow.price.v0.models.PriceDetail;
1923
- readonly margins: io.flow.price.v0.models.PriceDetail;
1924
- readonly vat: io.flow.price.v0.models.PriceDetail;
1925
- readonly duty: io.flow.price.v0.models.PriceDetail;
1926
- readonly rounding: io.flow.price.v0.models.PriceDetail;
1927
- readonly price: io.flow.common.v0.models.Price;
1928
- readonly total: io.flow.common.v0.models.Price;
1929
- readonly adjustment?: io.flow.price.v0.models.PriceDetail;
1947
+ interface ExportLocalizedItemPricesDetail {
1948
+ readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
1949
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1950
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1951
+ readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
1930
1952
  }
1931
- interface PriceEquation {
1932
- readonly contracted_rate: number;
1933
- readonly rate: number;
1934
- readonly pricing: io.flow.price.v0.models.Pricing;
1935
- readonly base_price: number;
1936
- readonly discount: number;
1937
- readonly fixed_margin: number;
1938
- readonly percent_margin: number;
1939
- readonly insurance: number;
1940
- readonly freight: number;
1941
- readonly duty?: io.flow.price.v0.models.Duty;
1942
- readonly tax?: io.flow.price.v0.models.Tax;
1943
- readonly percent_sales_margin: number;
1953
+ interface ExportVersion {
1954
+ readonly id: string;
1955
+ readonly timestamp: string;
1956
+ readonly type: io.flow.common.v0.enums.ChangeType;
1957
+ readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
1944
1958
  }
1945
- interface Pricing {
1946
- readonly vat: io.flow.price.v0.enums.PricingLevySetting;
1947
- readonly duty: io.flow.price.v0.enums.PricingLevySetting;
1948
- readonly rounding?: io.flow.common.v0.models.Rounding;
1959
+ interface HarmonizationHs10ExportType {
1960
+ readonly discriminator: 'harmonization_hs10_export_type';
1961
+ readonly origin?: string;
1962
+ readonly destination?: string;
1963
+ readonly numbers?: string[];
1964
+ readonly has_codes?: boolean;
1965
+ readonly has_origins?: boolean;
1966
+ readonly sort?: string;
1949
1967
  }
1950
- interface Tax {
1951
- readonly name: string;
1952
- readonly rate: number;
1953
- readonly components: io.flow.price.v0.enums.LevyComponent[];
1954
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
1968
+ interface HarmonizationHs6ExportType {
1969
+ readonly discriminator: 'harmonization_hs6_export_type';
1970
+ readonly numbers?: string[];
1971
+ readonly has_codes?: boolean;
1972
+ readonly sort?: string;
1955
1973
  }
1956
- }
1957
- declare namespace io.flow.price.v0.unions {
1958
- type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
1959
- }
1960
- declare namespace io.flow.reference.v0.enums {
1961
- type PaymentMethodCapability = 'credit' | 'debit';
1962
- type PaymentMethodType = 'card' | 'online' | 'offline';
1963
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
1964
- type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
1965
- }
1966
- declare namespace io.flow.reference.v0.models {
1967
- interface Carrier {
1968
- readonly id: string;
1969
- readonly name: string;
1970
- readonly tracking_url: string;
1974
+ interface HarmonizationOverviewExportType {
1975
+ readonly discriminator: 'harmonization_overview_export_type';
1976
+ readonly origin?: string;
1977
+ readonly destination?: string;
1978
+ readonly sort?: string;
1971
1979
  }
1972
- interface CarrierService {
1973
- readonly id: string;
1974
- readonly carrier: io.flow.reference.v0.models.Carrier;
1975
- readonly name: string;
1980
+ interface HarmonizationTariffCodesExportType {
1981
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
1982
+ readonly sort?: string;
1976
1983
  }
1977
- interface Country {
1978
- readonly name: string;
1979
- readonly iso_3166_2: string;
1980
- readonly iso_3166_3: string;
1981
- readonly languages: string[];
1982
- readonly measurement_system: string;
1983
- readonly default_currency?: string;
1984
- readonly default_language?: string;
1985
- readonly timezones: string[];
1986
- readonly default_delivered_duty?: string;
1984
+ interface LandedCostItem {
1985
+ readonly number: string;
1986
+ readonly origin: string;
1987
+ readonly destination: string;
1987
1988
  }
1988
- interface Currency {
1989
- readonly name: string;
1990
- readonly iso_4217_3: string;
1991
- readonly number_decimals: number;
1992
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
1993
- readonly default_locale?: string;
1989
+ interface LocalizedItemPricesExportType {
1990
+ readonly discriminator: 'localized_item_prices_export_type';
1991
+ readonly since?: string;
1994
1992
  }
1995
- interface CurrencySymbols {
1996
- readonly primary: string;
1997
- readonly narrow?: string;
1993
+ interface MarketingFeedsExportType {
1994
+ readonly discriminator: 'marketing_feeds_export_type';
1995
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
1996
+ readonly feed_ids: string[];
1998
1997
  }
1999
- interface Language {
2000
- readonly name: string;
2001
- readonly iso_639_2: string;
1998
+ interface OrderExportType {
1999
+ readonly discriminator: 'order_export_type';
2000
+ readonly numbers?: string[];
2001
+ readonly min_hours_since_submitted_at?: number;
2002
+ readonly submitted_on_or_before?: string;
2003
+ readonly submitted_on_or_after?: string;
2004
+ readonly status?: io.flow.experience.v0.enums.OrderStatus;
2005
+ readonly has_tracking_label?: boolean;
2006
+ readonly sort?: string;
2002
2007
  }
2003
- interface Locale {
2008
+ interface PriceBookItemExportType {
2009
+ readonly discriminator: 'price_book_item_export_type';
2010
+ readonly price_book_key?: string;
2011
+ readonly item_numbers?: string[];
2012
+ readonly start_date?: string;
2013
+ readonly end_date?: string;
2014
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2015
+ }
2016
+ interface ScheduledExport {
2004
2017
  readonly id: string;
2005
- readonly name: string;
2006
- readonly country: string;
2007
- readonly language: string;
2008
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
2018
+ readonly user: io.flow.common.v0.models.UserReference;
2019
+ readonly organization_q: string;
2020
+ readonly hour: number;
2021
+ readonly minute: number;
2022
+ readonly timezone: string;
2023
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2024
+ readonly last_sent_at?: string;
2009
2025
  }
2010
- interface LocaleNumbers {
2011
- readonly decimal: string;
2012
- readonly group: string;
2026
+ interface ScheduledExportForm {
2027
+ readonly user_id: string;
2028
+ readonly organization_q: string;
2029
+ readonly hour: number;
2030
+ readonly minute: number;
2031
+ readonly timezone: string;
2032
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2013
2033
  }
2014
- interface LocalizedTranslation {
2015
- readonly locale: io.flow.reference.v0.models.Locale;
2016
- readonly name: string;
2034
+ interface SolidusProductExportType {
2035
+ readonly discriminator: 'solidus_product_export_type';
2036
+ readonly numbers?: string[];
2037
+ readonly sort?: string;
2017
2038
  }
2018
- interface PaymentMethod {
2019
- readonly id: string;
2020
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
2021
- readonly name: string;
2022
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
2023
- readonly regions: string[];
2024
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
2039
+ interface SolidusVariantExportType {
2040
+ readonly discriminator: 'solidus_variant_export_type';
2041
+ readonly numbers?: string[];
2042
+ readonly sort?: string;
2025
2043
  }
2026
- interface PaymentMethodImage {
2027
- readonly url: string;
2028
- readonly width: number;
2029
- readonly height: number;
2044
+ interface UnharmonizedItemExportType {
2045
+ readonly discriminator: 'unharmonized_item_export_type';
2046
+ readonly sort?: string;
2030
2047
  }
2031
- interface PaymentMethodImages {
2032
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
2033
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
2034
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
2048
+ }
2049
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2050
+ type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
2051
+ type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
2052
+ }
2053
+ declare namespace io.flow.flexe.v0.enums {
2054
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
2055
+ type FlexeNotification = 'receipt' | 'shipment';
2056
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
2057
+ type FlexeStatus = 'in_transit' | 'completed';
2058
+ }
2059
+ declare namespace io.flow.flexe.v0.models {
2060
+ interface BillOfLading {
2061
+ readonly type: string;
2062
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
2035
2063
  }
2036
- interface Province {
2037
- readonly id: string;
2038
- readonly iso_3166_2: string;
2064
+ interface BillTo {
2039
2065
  readonly name: string;
2066
+ readonly address_1: string;
2067
+ readonly locality: string;
2068
+ readonly region: string;
2069
+ readonly postal_code: string;
2040
2070
  readonly country: string;
2041
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
2042
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
2071
+ readonly address_2?: string;
2072
+ readonly address_3?: string;
2043
2073
  }
2044
- interface Region {
2045
- readonly id: string;
2046
- readonly name: string;
2047
- readonly countries: string[];
2048
- readonly currencies: string[];
2049
- readonly languages: string[];
2050
- readonly measurement_systems: string[];
2051
- readonly timezones: string[];
2074
+ interface CartonPickDeliveryDetails {
2075
+ readonly shipment_uuid?: string;
2076
+ readonly carrier?: string;
2077
+ readonly carrier_id?: string;
2052
2078
  }
2053
- interface Timezone {
2054
- readonly name: string;
2055
- readonly description: string;
2056
- readonly offset: number;
2079
+ interface ContainerDeliveryDetails {
2080
+ readonly purchase_order: string;
2081
+ readonly container_number?: string;
2082
+ readonly seal_number?: string;
2083
+ readonly vendor?: string;
2084
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2085
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2086
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2087
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
2057
2088
  }
2058
- }
2059
- declare namespace io.flow.tracking.v0.enums {
2060
- type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2061
- }
2062
- declare namespace io.flow.tracking.v0.models {
2063
- interface Tracking {
2064
- readonly id: string;
2065
- readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
2066
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2067
- readonly attributes: Record<string, string>;
2089
+ interface DeliveryDetails {
2090
+ readonly shipment_uuid?: string;
2091
+ readonly trailer_number?: string;
2092
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
2093
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
2094
+ }
2095
+ interface Error {
2068
2096
  readonly url: string;
2069
- readonly window?: io.flow.common.v0.models.DatetimeRange;
2070
- readonly order_number?: string;
2097
+ readonly client_request_id: string;
2098
+ readonly generated_at: string;
2099
+ readonly error: string;
2071
2100
  }
2072
- interface TrackingEvent {
2073
- readonly id: string;
2074
- readonly address: io.flow.common.v0.models.Address;
2075
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2076
- readonly timestamp: string;
2077
- readonly description?: string;
2101
+ interface FlexeAttachment {
2102
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
2103
+ readonly display_name: string;
2104
+ readonly url: string;
2078
2105
  }
2079
- interface TrackingEventForm {
2080
- readonly tracking_label_id: string;
2081
- readonly timestamp: string;
2082
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2083
- readonly description?: string;
2084
- readonly address?: string;
2106
+ interface FlexeEcommerceFulfillment {
2107
+ readonly url: string;
2108
+ readonly client_request_id: string;
2109
+ readonly generated_at: string;
2110
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
2111
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
2085
2112
  }
2086
- interface TrackingEventSummary {
2087
- readonly id: string;
2088
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2089
- readonly timestamp: string;
2113
+ interface FlexeEcommerceFulfillmentData {
2114
+ readonly import_id: string;
2115
+ readonly succeeded_uuids: string[];
2116
+ readonly failed_uuids: string[];
2117
+ readonly errors: string[];
2090
2118
  }
2091
- interface TrackingEventVersion {
2092
- readonly id: string;
2093
- readonly timestamp: string;
2094
- readonly type: io.flow.common.v0.enums.ChangeType;
2095
- readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
2119
+ interface FlexeEcommerceFulfillmentErrors {
2120
+ readonly status: string;
2121
+ readonly title: string;
2122
+ readonly detail: string;
2123
+ readonly source?: string;
2096
2124
  }
2097
- interface TrackingForm {
2098
- readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
2099
- readonly order_number?: string;
2100
- readonly attributes?: Record<string, string>;
2101
- readonly window?: io.flow.common.v0.models.DatetimeRange;
2102
- }
2103
- interface TrackingLabel {
2104
- readonly id: string;
2105
- readonly carrier: string;
2106
- readonly carrier_tracking_number: string;
2107
- readonly events: io.flow.tracking.v0.models.TrackingEvent[];
2108
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2109
- readonly timestamp: string;
2110
- readonly delivery_estimate?: string;
2111
- readonly description?: string;
2112
- }
2113
- interface TrackingLabelForm {
2114
- readonly tracking_id: string;
2115
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2116
- readonly carrier: string;
2117
- readonly carrier_tracking_number: string;
2118
- readonly delivery_estimate?: string;
2119
- readonly description?: string;
2120
- readonly timestamp?: string;
2121
- readonly parent_id?: string;
2122
- }
2123
- interface TrackingLabelSummary {
2124
- readonly id: string;
2125
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
2126
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2127
- readonly carrier: string;
2128
- readonly tracking_number: string;
2129
- }
2130
- interface TrackingLabelVersion {
2131
- readonly id: string;
2132
- readonly timestamp: string;
2133
- readonly type: io.flow.common.v0.enums.ChangeType;
2134
- readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
2135
- }
2136
- interface TrackingSummary {
2137
- readonly id: string;
2138
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2139
- readonly order_number?: string;
2140
- }
2141
- interface TrackingVersion {
2142
- readonly id: string;
2143
- readonly timestamp: string;
2144
- readonly type: io.flow.common.v0.enums.ChangeType;
2145
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
2146
- }
2147
- }
2148
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
2149
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2150
- type ItemIdentifier = 'item_number' | 'sku';
2151
- }
2152
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
2153
- interface AccountOrdersExportType {
2154
- readonly discriminator: 'account_orders_export_type';
2155
- readonly statement_id?: string;
2156
- readonly transaction_summary_id?: string;
2157
- readonly transaction_created_from?: string;
2158
- readonly transaction_created_to?: string;
2159
- readonly transaction_created_on_or_after?: string;
2160
- readonly transaction_created_after?: string;
2161
- readonly transaction_created_on_or_before?: string;
2162
- readonly transaction_created_before?: string;
2163
- readonly transaction_posted_from?: string;
2164
- readonly transaction_posted_to?: string;
2165
- readonly transaction_posted_on_or_after?: string;
2166
- readonly transaction_posted_after?: string;
2167
- readonly transaction_posted_on_or_before?: string;
2168
- readonly transaction_posted_before?: string;
2169
- }
2170
- interface AccountTransactionsExportType {
2171
- readonly discriminator: 'account_transactions_export_type';
2172
- readonly statement_id?: string;
2173
- readonly transaction_summary_id?: string;
2174
- readonly created_from?: string;
2175
- readonly created_to?: string;
2176
- readonly created_on_or_after?: string;
2177
- readonly created_after?: string;
2178
- readonly created_on_or_before?: string;
2179
- readonly created_before?: string;
2180
- readonly posted_from?: string;
2181
- readonly posted_to?: string;
2182
- readonly posted_on_or_after?: string;
2183
- readonly posted_after?: string;
2184
- readonly posted_on_or_before?: string;
2185
- readonly posted_before?: string;
2186
- }
2187
- interface AnalyticsExportType {
2188
- readonly discriminator: 'analytics_export_type';
2189
- readonly from?: string;
2190
- readonly to?: string;
2191
- readonly region?: string;
2192
- readonly interval?: io.flow.common.v0.enums.UnitOfTime;
2193
- }
2194
- interface CatalogItemExportType {
2195
- readonly discriminator: 'catalog_item_export_type';
2196
- readonly numbers?: string[];
2197
- readonly q?: string;
2198
- readonly sort?: string;
2199
- }
2200
- interface CsvPriceBookItemExportRowByItemNumber {
2201
- readonly item_number: string;
2202
- readonly price_book_key: string;
2203
- readonly price_book_item_key: string;
2204
- readonly item_name: string;
2205
- readonly amount: number;
2206
- readonly item_attributes?: Record<string, string>;
2207
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2208
- }
2209
- interface CsvPriceBookItemExportRowBySku {
2210
- readonly sku: string;
2211
- readonly price_book_key: string;
2212
- readonly price_book_item_key: string;
2213
- readonly item_name: string;
2214
- readonly amount: number;
2215
- readonly item_attributes?: Record<string, string>;
2216
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2217
- }
2218
- interface ExclusionRulesExportType {
2219
- readonly discriminator: 'exclusion_rules_export_type';
2220
- readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
2221
- readonly sort?: string;
2222
- }
2223
- interface ExperienceExportType {
2224
- readonly discriminator: 'experience_export_type';
2225
- readonly organization_id: string;
2226
- readonly ids?: string[];
2227
- readonly keys?: string[];
2228
- }
2229
- interface Export {
2230
- readonly id: string;
2231
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2232
- readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
2233
- readonly organization_q: string;
2234
- readonly created_at: string;
2235
- readonly started_at?: string;
2236
- readonly completed_at?: string;
2237
- readonly url?: string;
2238
- readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
2239
- }
2240
- interface ExportDeliveryEmail {
2241
- readonly discriminator: 'export_delivery_email';
2242
- readonly email: string;
2243
- }
2244
- interface ExportForm {
2245
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2246
- readonly emails?: string[];
2247
- readonly organization_q?: string;
2248
- }
2249
- interface ExportLocalizedItemPrices {
2250
- readonly organization: io.flow.common.v0.models.OrganizationReference;
2251
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
2252
- readonly item: io.flow.common.v0.models.CatalogItemReference;
2253
- readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
2254
- readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
2255
- readonly rates?: io.flow.currency.v0.models.Rate[];
2256
- }
2257
- interface ExportLocalizedItemPricesDetail {
2258
- readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
2259
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
2260
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
2261
- readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
2262
- }
2263
- interface ExportVersion {
2264
- readonly id: string;
2265
- readonly timestamp: string;
2266
- readonly type: io.flow.common.v0.enums.ChangeType;
2267
- readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
2268
- }
2269
- interface HarmonizationHs10ExportType {
2270
- readonly discriminator: 'harmonization_hs10_export_type';
2271
- readonly origin?: string;
2272
- readonly destination?: string;
2273
- readonly numbers?: string[];
2274
- readonly has_codes?: boolean;
2275
- readonly has_origins?: boolean;
2276
- readonly sort?: string;
2277
- }
2278
- interface HarmonizationHs6ExportType {
2279
- readonly discriminator: 'harmonization_hs6_export_type';
2280
- readonly numbers?: string[];
2281
- readonly has_codes?: boolean;
2282
- readonly sort?: string;
2283
- }
2284
- interface HarmonizationOverviewExportType {
2285
- readonly discriminator: 'harmonization_overview_export_type';
2286
- readonly origin?: string;
2287
- readonly destination?: string;
2288
- readonly sort?: string;
2289
- }
2290
- interface HarmonizationTariffCodesExportType {
2291
- readonly discriminator: 'harmonization_tariff_codes_export_type';
2292
- readonly sort?: string;
2293
- }
2294
- interface LandedCostItem {
2295
- readonly number: string;
2296
- readonly origin: string;
2297
- readonly destination: string;
2298
- }
2299
- interface LocalizedItemPricesExportType {
2300
- readonly discriminator: 'localized_item_prices_export_type';
2301
- readonly since?: string;
2302
- }
2303
- interface MarketingFeedsExportType {
2304
- readonly discriminator: 'marketing_feeds_export_type';
2305
- readonly organization: io.flow.common.v0.models.OrganizationReference;
2306
- readonly feed_ids: string[];
2307
- }
2308
- interface OrderExportType {
2309
- readonly discriminator: 'order_export_type';
2310
- readonly numbers?: string[];
2311
- readonly min_hours_since_submitted_at?: number;
2312
- readonly submitted_on_or_before?: string;
2313
- readonly submitted_on_or_after?: string;
2314
- readonly status?: io.flow.experience.v0.enums.OrderStatus;
2315
- readonly has_tracking_label?: boolean;
2316
- readonly sort?: string;
2317
- }
2318
- interface PriceBookItemExportType {
2319
- readonly discriminator: 'price_book_item_export_type';
2320
- readonly price_book_key?: string;
2321
- readonly item_numbers?: string[];
2322
- readonly start_date?: string;
2323
- readonly end_date?: string;
2324
- readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2325
- }
2326
- interface ScheduledExport {
2327
- readonly id: string;
2328
- readonly user: io.flow.common.v0.models.UserReference;
2329
- readonly organization_q: string;
2330
- readonly hour: number;
2331
- readonly minute: number;
2332
- readonly timezone: string;
2333
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2334
- readonly last_sent_at?: string;
2335
- }
2336
- interface ScheduledExportForm {
2337
- readonly user_id: string;
2338
- readonly organization_q: string;
2339
- readonly hour: number;
2340
- readonly minute: number;
2341
- readonly timezone: string;
2342
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2343
- }
2344
- interface SolidusProductExportType {
2345
- readonly discriminator: 'solidus_product_export_type';
2346
- readonly numbers?: string[];
2347
- readonly sort?: string;
2348
- }
2349
- interface SolidusVariantExportType {
2350
- readonly discriminator: 'solidus_variant_export_type';
2351
- readonly numbers?: string[];
2352
- readonly sort?: string;
2353
- }
2354
- interface UnharmonizedItemExportType {
2355
- readonly discriminator: 'unharmonized_item_export_type';
2356
- readonly sort?: string;
2357
- }
2358
- }
2359
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2360
- type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
2361
- type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
2362
- }
2363
- declare namespace io.flow.flexe.v0.enums {
2364
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
2365
- type FlexeNotification = 'receipt' | 'shipment';
2366
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
2367
- type FlexeStatus = 'in_transit' | 'completed';
2368
- }
2369
- declare namespace io.flow.flexe.v0.models {
2370
- interface BillOfLading {
2371
- readonly type: string;
2372
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
2373
- }
2374
- interface BillTo {
2375
- readonly name: string;
2376
- readonly address_1: string;
2377
- readonly locality: string;
2378
- readonly region: string;
2379
- readonly postal_code: string;
2380
- readonly country: string;
2381
- readonly address_2?: string;
2382
- readonly address_3?: string;
2383
- }
2384
- interface CartonPickDeliveryDetails {
2385
- readonly shipment_uuid?: string;
2386
- readonly carrier?: string;
2387
- readonly carrier_id?: string;
2388
- }
2389
- interface ContainerDeliveryDetails {
2390
- readonly purchase_order: string;
2391
- readonly container_number?: string;
2392
- readonly seal_number?: string;
2393
- readonly vendor?: string;
2394
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2395
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2396
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
2397
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
2398
- }
2399
- interface DeliveryDetails {
2400
- readonly shipment_uuid?: string;
2401
- readonly trailer_number?: string;
2402
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
2403
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
2404
- }
2405
- interface Error {
2406
- readonly url: string;
2407
- readonly client_request_id: string;
2408
- readonly generated_at: string;
2409
- readonly error: string;
2410
- }
2411
- interface FlexeAttachment {
2412
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
2413
- readonly display_name: string;
2414
- readonly url: string;
2415
- }
2416
- interface FlexeEcommerceFulfillment {
2417
- readonly url: string;
2418
- readonly client_request_id: string;
2419
- readonly generated_at: string;
2420
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
2421
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
2422
- }
2423
- interface FlexeEcommerceFulfillmentData {
2424
- readonly import_id: string;
2425
- readonly succeeded_uuids: string[];
2426
- readonly failed_uuids: string[];
2427
- readonly errors: string[];
2428
- }
2429
- interface FlexeEcommerceFulfillmentErrors {
2430
- readonly status: string;
2431
- readonly title: string;
2432
- readonly detail: string;
2433
- readonly source?: string;
2434
- }
2435
- interface FlexeEcommerceFulfillmentForm {
2436
- readonly reservation_id: number;
2437
- readonly client_request_id: string;
2438
- readonly request: io.flow.flexe.v0.models.Orders;
2125
+ interface FlexeEcommerceFulfillmentForm {
2126
+ readonly reservation_id: number;
2127
+ readonly client_request_id: string;
2128
+ readonly request: io.flow.flexe.v0.models.Orders;
2439
2129
  }
2440
2130
  interface FlexeInventoryData {
2441
2131
  readonly sku: string;
@@ -6275,6 +5965,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6275
5965
  readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
6276
5966
  readonly send_receipt?: boolean;
6277
5967
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
5968
+ readonly payment_request_id?: string;
6278
5969
  }
6279
5970
  interface ShopifyOrderAddress {
6280
5971
  readonly id?: number;
@@ -6901,391 +6592,779 @@ declare namespace io.flow.payment.gateway.v0.models {
6901
6592
  readonly contact: io.flow.common.v0.models.Contact;
6902
6593
  readonly location: io.flow.common.v0.models.Address;
6903
6594
  }
6904
- interface PaymentAuthorization {
6905
- 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[];
6910
- readonly created_at: string;
6911
- readonly updated_at: string;
6912
- readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6595
+ interface PaymentAuthorization {
6596
+ readonly id: string;
6597
+ readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary;
6598
+ readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[];
6599
+ readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[];
6600
+ readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[];
6601
+ readonly created_at: string;
6602
+ readonly updated_at: string;
6603
+ readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6604
+ readonly amount: number;
6605
+ readonly currency: string;
6606
+ }
6607
+ interface PaymentAuthorizationStatus {
6608
+ readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
6609
+ readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
6610
+ }
6611
+ interface PaymentCapture {
6612
+ readonly id: string;
6613
+ readonly amount: number;
6614
+ readonly currency: string;
6615
+ readonly created_at: string;
6616
+ readonly updated_at: string;
6617
+ readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
6618
+ }
6619
+ interface PaymentCaptureForm {
6620
+ readonly amount?: number;
6621
+ readonly currency?: string;
6622
+ }
6623
+ interface PaymentCaptureOptionAutomaticImmediate {
6624
+ readonly type: 'automatic_immediate';
6625
+ readonly placeholder?: string;
6626
+ }
6627
+ interface PaymentCaptureOptionManual {
6628
+ readonly type: 'manual';
6629
+ readonly placeholder?: string;
6630
+ }
6631
+ interface PaymentCaptureStatus {
6632
+ readonly status: io.flow.payment.v0.enums.CaptureStatus;
6633
+ readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6634
+ }
6635
+ interface PaymentDiscount {
6636
+ readonly amount: number;
6637
+ readonly name?: string;
6638
+ readonly code?: string;
6639
+ }
6640
+ interface PaymentDuty {
6641
+ readonly amount: number;
6642
+ readonly name?: string;
6643
+ }
6644
+ interface PaymentFailure {
6645
+ readonly authorization_id?: string;
6646
+ readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
6647
+ readonly failure_message: string;
6648
+ }
6649
+ interface PaymentInformation {
6650
+ readonly amount_refundable?: number;
6651
+ readonly amount_refunded?: number;
6652
+ readonly refundable_before?: string;
6653
+ readonly amount_capturable?: number;
6654
+ readonly amount_captured?: number;
6655
+ readonly capturable_before?: string;
6656
+ readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
6657
+ }
6658
+ interface PaymentMethodBrand {
6659
+ readonly id: string;
6660
+ readonly name: string;
6661
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6662
+ }
6663
+ interface PaymentMethodCardNumberCipher {
6664
+ readonly type: 'cipher';
6665
+ readonly cipher: string;
6666
+ }
6667
+ interface PaymentMethodCardNumberCleartext {
6668
+ readonly type: 'cleartext';
6669
+ readonly number: string;
6670
+ }
6671
+ interface PaymentMethodCardPciDetails {
6672
+ readonly type: 'card_pci_details';
6673
+ readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
6674
+ readonly expiration_month: number;
6675
+ readonly expiration_year: number;
6676
+ readonly name: string;
6677
+ }
6678
+ interface PaymentMethodCardToken {
6679
+ readonly type: 'token';
6680
+ readonly token: string;
6681
+ }
6682
+ interface PaymentMethodDataAuthorizeApplepay {
6683
+ readonly type: 'authorize_applepay';
6684
+ readonly token: string;
6685
+ }
6686
+ interface PaymentMethodDataAuthorizeCard {
6687
+ readonly type: 'authorize_card';
6688
+ readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6689
+ readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6690
+ readonly cvv?: string;
6691
+ }
6692
+ interface PaymentMethodDataAuthorizeGooglepay {
6693
+ readonly type: 'authorize_googlepay';
6694
+ readonly payment_data: any;
6695
+ }
6696
+ interface PaymentMethodDataAuthorizePaypal {
6697
+ readonly type: 'authorize_paypal';
6698
+ readonly payment_id: string;
6699
+ readonly payer_id: string;
6700
+ }
6701
+ interface PaymentMethodDataCompleteAuthorizationCard {
6702
+ readonly type: 'complete_authorization_card';
6703
+ readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
6704
+ }
6705
+ interface PaymentMethodDataInitAfterpay {
6706
+ readonly type: 'init_afterpay';
6707
+ readonly placeholder?: string;
6708
+ }
6709
+ interface PaymentMethodDataInitApplepay {
6710
+ readonly type: 'init_applepay';
6711
+ readonly placeholder?: string;
6712
+ }
6713
+ interface PaymentMethodDataInitGooglepay {
6714
+ readonly type: 'init_googlepay';
6715
+ readonly placeholder?: string;
6716
+ }
6717
+ interface PaymentMethodDataInitIdeal {
6718
+ readonly type: 'init_ideal';
6719
+ readonly issuer?: string;
6720
+ }
6721
+ interface PaymentMethodDataInitKlarna {
6722
+ readonly type: 'init_klarna';
6723
+ readonly placeholder?: string;
6724
+ }
6725
+ interface PaymentMethodDataInitPaypal {
6726
+ readonly type: 'init_paypal';
6727
+ readonly placeholder?: string;
6728
+ }
6729
+ interface PaymentMethodDataValidateApplepay {
6730
+ readonly type: 'validate_applepay';
6731
+ readonly validation_url: string;
6732
+ }
6733
+ interface PaymentMethodSummaryAfterpay {
6734
+ readonly type: 'afterpay';
6735
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6736
+ }
6737
+ interface PaymentMethodSummaryApplepay {
6738
+ readonly type: 'applepay';
6739
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6740
+ }
6741
+ interface PaymentMethodSummaryCard {
6742
+ readonly type: 'card';
6743
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6744
+ readonly last_four: string;
6745
+ readonly card_type: io.flow.payment.v0.enums.CardType;
6746
+ readonly id: string;
6747
+ }
6748
+ interface PaymentMethodSummaryGooglepay {
6749
+ readonly type: 'googlepay';
6750
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6751
+ }
6752
+ interface PaymentMethodSummaryIdeal {
6753
+ readonly type: 'ideal';
6754
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6755
+ readonly issuer: string;
6756
+ }
6757
+ interface PaymentMethodSummaryKlarna {
6758
+ readonly type: 'klarna';
6759
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6760
+ }
6761
+ interface PaymentMethodSummaryPaypal {
6762
+ readonly type: 'paypal';
6763
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6764
+ }
6765
+ interface PaymentOrderDetailsLineItem {
6766
+ readonly id: string;
6767
+ readonly description: string;
6768
+ readonly quantity: number;
6769
+ readonly amount: number;
6770
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6771
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6772
+ readonly product_url?: string;
6773
+ readonly image_url?: string;
6774
+ readonly category?: string;
6775
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6776
+ }
6777
+ interface PaymentPaymentMethod {
6778
+ readonly id: string;
6779
+ readonly name: string;
6780
+ readonly type: io.flow.payment.gateway.v0.enums.PaymentType;
6781
+ readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
6782
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6783
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6784
+ readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6785
+ }
6786
+ interface PaymentRefund {
6787
+ readonly id: string;
6788
+ readonly amount: number;
6789
+ readonly currency: string;
6790
+ readonly created_at: string;
6791
+ readonly updated_at: string;
6792
+ readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
6793
+ }
6794
+ interface PaymentRefundForm {
6795
+ readonly amount?: number;
6796
+ readonly currency?: string;
6797
+ }
6798
+ interface PaymentRefundStatus {
6799
+ readonly status: io.flow.payment.v0.enums.RefundStatus;
6800
+ readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
6801
+ }
6802
+ interface PaymentRequest {
6803
+ readonly id: string;
6804
+ readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
6805
+ readonly created_at: string;
6806
+ readonly updated_at: string;
6807
+ readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
6808
+ readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
6809
+ readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
6810
+ readonly amount: number;
6811
+ readonly currency: string;
6812
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6813
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6814
+ readonly locale?: string;
6815
+ readonly return_url: string;
6816
+ readonly attributes?: Record<string, string>;
6817
+ readonly reference?: string;
6818
+ readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
6819
+ readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6820
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6821
+ }
6822
+ interface PaymentRequestForm {
6913
6823
  readonly amount: number;
6914
6824
  readonly currency: string;
6825
+ readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6826
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6827
+ readonly locale?: string;
6828
+ readonly return_url: string;
6829
+ readonly attributes?: Record<string, string>;
6830
+ readonly reference?: string;
6831
+ readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
6832
+ readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
6833
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
6915
6834
  }
6916
- interface PaymentAuthorizationStatus {
6917
- readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
6918
- readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode;
6835
+ interface PaymentRequestReference {
6836
+ readonly id: string;
6837
+ readonly reference?: string;
6919
6838
  }
6920
- interface PaymentCapture {
6839
+ interface PaymentReversal {
6921
6840
  readonly id: string;
6922
6841
  readonly amount: number;
6923
6842
  readonly currency: string;
6924
6843
  readonly created_at: string;
6925
6844
  readonly updated_at: string;
6926
- readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
6845
+ readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
6927
6846
  }
6928
- interface PaymentCaptureForm {
6847
+ interface PaymentReversalForm {
6929
6848
  readonly amount?: number;
6930
6849
  readonly currency?: string;
6931
6850
  }
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;
6851
+ interface PaymentReversalStatus {
6852
+ readonly status: io.flow.payment.v0.enums.ReversalStatus;
6853
+ readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
6943
6854
  }
6944
- interface PaymentDiscount {
6855
+ interface PaymentTax {
6945
6856
  readonly amount: number;
6946
6857
  readonly name?: string;
6947
- readonly code?: string;
6948
6858
  }
6949
- interface PaymentDuty {
6859
+ interface Shipping {
6860
+ readonly description: string;
6950
6861
  readonly amount: number;
6951
- readonly name?: string;
6862
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
6863
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
6864
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
6952
6865
  }
6953
- interface PaymentFailure {
6954
- readonly authorization_id?: string;
6955
- readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
6956
- readonly failure_message: string;
6866
+ }
6867
+ declare namespace io.flow.payment.gateway.v0.unions {
6868
+ 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;
6869
+ type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
6870
+ type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
6871
+ type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
6872
+ type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
6873
+ type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
6874
+ type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
6875
+ type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
6876
+ 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;
6877
+ 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;
6878
+ type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
6879
+ }
6880
+ declare namespace io.flow.order.management.event.v0.models {
6881
+ interface FulfillmentItemAllocationDetails {
6882
+ readonly item_number: string;
6883
+ readonly line_number: number;
6884
+ readonly levies: io.flow.common.v0.models.PriceWithBase;
6885
+ readonly total: io.flow.common.v0.models.PriceWithBase;
6957
6886
  }
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[];
6887
+ interface OrderPlaced {
6888
+ readonly discriminator: 'order_placed';
6889
+ readonly event_id: string;
6890
+ readonly timestamp: string;
6891
+ readonly organization: string;
6892
+ readonly order_number: string;
6893
+ readonly order: io.flow.experience.v0.models.Order;
6894
+ readonly allocation: io.flow.experience.v0.models.AllocationV2;
6966
6895
  }
6967
- interface PaymentMethodBrand {
6896
+ interface OrderPlacedV2 {
6897
+ readonly discriminator: 'order_placed_v2';
6898
+ readonly event_id: string;
6899
+ readonly timestamp: string;
6900
+ readonly organization: string;
6901
+ readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
6902
+ }
6903
+ interface ReadyToFulfill {
6904
+ readonly discriminator: 'ready_to_fulfill';
6905
+ readonly event_id: string;
6906
+ readonly timestamp: string;
6907
+ readonly organization: string;
6908
+ readonly order_number: string;
6909
+ readonly order: io.flow.experience.v0.models.Order;
6910
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6911
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6912
+ }
6913
+ interface ReadyToFulfillDetails {
6968
6914
  readonly id: string;
6969
- readonly name: string;
6970
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
6915
+ readonly order_number: string;
6916
+ readonly order: io.flow.experience.v0.models.Order;
6917
+ readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
6918
+ readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
6971
6919
  }
6972
- interface PaymentMethodCardNumberCipher {
6973
- readonly type: 'cipher';
6974
- readonly cipher: string;
6920
+ interface ReadyToFulfillV2 {
6921
+ readonly discriminator: 'ready_to_fulfill_v2';
6922
+ readonly event_id: string;
6923
+ readonly timestamp: string;
6924
+ readonly organization: string;
6925
+ readonly ready_to_fulfill: io.flow.order.management.event.v0.models.ReadyToFulfillDetails;
6975
6926
  }
6976
- interface PaymentMethodCardNumberCleartext {
6977
- readonly type: 'cleartext';
6978
- readonly number: string;
6927
+ }
6928
+ declare namespace io.flow.order.management.event.v0.unions {
6929
+ 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;
6930
+ }
6931
+ declare namespace io.flow.ftp.v0.enums {
6932
+ type FtpFileSource = 'flow' | 'organization';
6933
+ }
6934
+ declare namespace io.flow.ftp.v0.models {
6935
+ interface FtpAccount {
6936
+ readonly server: io.flow.ftp.v0.models.FtpServer;
6937
+ readonly user: io.flow.ftp.v0.models.FtpUser;
6979
6938
  }
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;
6939
+ interface FtpFile {
6940
+ readonly id: string;
6941
+ readonly source: io.flow.ftp.v0.enums.FtpFileSource;
6985
6942
  readonly name: string;
6943
+ readonly directory: string;
6944
+ readonly url: string;
6945
+ readonly created_at: string;
6986
6946
  }
6987
- interface PaymentMethodCardToken {
6988
- readonly type: 'token';
6989
- readonly token: string;
6947
+ interface FtpFileForm {
6948
+ readonly url: string;
6949
+ readonly directory: string;
6950
+ readonly name?: string;
6990
6951
  }
6991
- interface PaymentMethodDataAuthorizeApplepay {
6992
- readonly type: 'authorize_applepay';
6993
- readonly token: string;
6952
+ interface FtpFolder {
6953
+ readonly id: string;
6954
+ readonly path: string;
6955
+ readonly webhook: boolean;
6956
+ readonly description?: string;
6994
6957
  }
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;
6958
+ interface FtpFolderForm {
6959
+ readonly path: string;
6960
+ readonly webhook: boolean;
6961
+ readonly description?: string;
7000
6962
  }
7001
- interface PaymentMethodDataAuthorizeGooglepay {
7002
- readonly type: 'authorize_googlepay';
7003
- readonly payment_data: any;
6963
+ interface FtpOrganizationSettings {
6964
+ readonly enabled: boolean;
6965
+ readonly emails: string[];
6966
+ readonly account?: io.flow.ftp.v0.models.FtpAccount;
7004
6967
  }
7005
- interface PaymentMethodDataAuthorizePaypal {
7006
- readonly type: 'authorize_paypal';
7007
- readonly payment_id: string;
7008
- readonly payer_id: string;
6968
+ interface FtpOrganizationSettingsForm {
6969
+ readonly enabled: boolean;
6970
+ readonly emails: string[];
7009
6971
  }
7010
- interface PaymentMethodDataCompleteAuthorizationCard {
7011
- readonly type: 'complete_authorization_card';
7012
- readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult;
6972
+ interface FtpServer {
6973
+ readonly hostname: string;
6974
+ }
6975
+ interface FtpUser {
6976
+ readonly username: string;
6977
+ readonly password?: string;
6978
+ }
6979
+ }
6980
+ declare namespace io.flow.ratecard.v0.models {
6981
+ interface CrossdockRatecardFee {
6982
+ readonly discriminator: 'crossdock_ratecard_fee';
6983
+ readonly amount: io.flow.common.v0.models.Money;
6984
+ }
6985
+ interface DdpRatecardFee {
6986
+ readonly discriminator: 'ddp_ratecard_fee';
6987
+ readonly amount: number;
6988
+ }
6989
+ interface DimensionEstimate {
6990
+ readonly id: string;
6991
+ readonly q: string;
6992
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
6993
+ readonly position: number;
6994
+ }
6995
+ interface DimensionEstimateForm {
6996
+ readonly q: string;
6997
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
6998
+ readonly position?: number;
6999
+ }
7000
+ interface DimensionEstimateVersion {
7001
+ readonly id: string;
7002
+ readonly timestamp: string;
7003
+ readonly type: io.flow.common.v0.enums.ChangeType;
7004
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
7005
+ }
7006
+ interface DutiesTaxesPaidSurchargeRatecardFee {
7007
+ readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
7008
+ readonly amount: io.flow.common.v0.models.Money;
7009
+ readonly starts_at?: string;
7010
+ readonly ends_at?: string;
7011
+ }
7012
+ interface DutiesTaxesPaidSurchargeServiceFee {
7013
+ readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
7014
+ readonly amount: io.flow.common.v0.models.Money;
7015
+ readonly starts_at?: string;
7016
+ readonly ends_at?: string;
7017
+ }
7018
+ interface EmergencySituationSurchargeRatecardFee {
7019
+ readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
7020
+ readonly amount: io.flow.common.v0.models.Money;
7021
+ }
7022
+ interface EmergencySituationSurchargeServiceFee {
7023
+ readonly discriminator: 'emergency_situation_surcharge_service_fee';
7024
+ readonly amount: io.flow.common.v0.models.Money;
7025
+ readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
7026
+ readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
7027
+ readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7028
+ }
7029
+ interface EstimatedDimensions {
7030
+ readonly depth: io.flow.common.v0.models.Measurement;
7031
+ readonly length: io.flow.common.v0.models.Measurement;
7032
+ readonly weight: io.flow.common.v0.models.Measurement;
7033
+ readonly width: io.flow.common.v0.models.Measurement;
7013
7034
  }
7014
- interface PaymentMethodDataInitAfterpay {
7015
- readonly type: 'init_afterpay';
7016
- readonly placeholder?: string;
7035
+ interface FeeWeight {
7036
+ readonly weight: number;
7037
+ readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
7017
7038
  }
7018
- interface PaymentMethodDataInitApplepay {
7019
- readonly type: 'init_applepay';
7020
- readonly placeholder?: string;
7039
+ interface FuelSurchargeRatecardFee {
7040
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
7041
+ readonly amount: io.flow.common.v0.models.Money;
7021
7042
  }
7022
- interface PaymentMethodDataInitGooglepay {
7023
- readonly type: 'init_googlepay';
7024
- readonly placeholder?: string;
7043
+ interface FuelSurchargeServiceFee {
7044
+ readonly discriminator: 'fuel_surcharge_service_fee';
7045
+ readonly percent: number;
7025
7046
  }
7026
- interface PaymentMethodDataInitIdeal {
7027
- readonly type: 'init_ideal';
7028
- readonly issuer?: string;
7047
+ interface Hop {
7048
+ readonly hop_number: number;
7049
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
7029
7050
  }
7030
- interface PaymentMethodDataInitKlarna {
7031
- readonly type: 'init_klarna';
7032
- readonly placeholder?: string;
7051
+ interface HopEstimate {
7052
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
7053
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
7054
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7055
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7056
+ readonly currency: string;
7057
+ readonly amount: number;
7058
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7059
+ readonly total: number;
7033
7060
  }
7034
- interface PaymentMethodDataInitPaypal {
7035
- readonly type: 'init_paypal';
7036
- readonly placeholder?: string;
7061
+ interface OversizedShipmentRatecardFee {
7062
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
7063
+ readonly weight_threshold: number;
7064
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7065
+ readonly margin?: number;
7066
+ readonly amount?: number;
7037
7067
  }
7038
- interface PaymentMethodDataValidateApplepay {
7039
- readonly type: 'validate_applepay';
7040
- readonly validation_url: string;
7068
+ interface PeakSurchargeByWeightServiceFee {
7069
+ readonly discriminator: 'peak_surcharge_by_weight_service_fee';
7070
+ readonly amount: io.flow.common.v0.models.Money;
7071
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
7072
+ readonly regions?: string[];
7073
+ readonly starts_at?: string;
7074
+ readonly ends_at?: string;
7041
7075
  }
7042
- interface PaymentMethodSummaryAfterpay {
7043
- readonly type: 'afterpay';
7044
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7076
+ interface PeakSurchargeRatecardFee {
7077
+ readonly discriminator: 'peak_surcharge_ratecard_fee';
7078
+ readonly amount: io.flow.common.v0.models.Money;
7079
+ readonly starts_at?: string;
7080
+ readonly ends_at?: string;
7045
7081
  }
7046
- interface PaymentMethodSummaryApplepay {
7047
- readonly type: 'applepay';
7048
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7082
+ interface PeakSurchargeServiceFee {
7083
+ readonly discriminator: 'peak_surcharge_service_fee';
7084
+ readonly amount: io.flow.common.v0.models.Money;
7085
+ readonly starts_at?: string;
7086
+ readonly ends_at?: string;
7049
7087
  }
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;
7088
+ interface Ratecard {
7055
7089
  readonly id: string;
7090
+ readonly number: string;
7091
+ readonly direction: io.flow.label.v0.enums.Direction;
7092
+ readonly effective_at: string;
7093
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
7094
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7095
+ readonly published_at?: string;
7096
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7056
7097
  }
7057
- interface PaymentMethodSummaryGooglepay {
7058
- readonly type: 'googlepay';
7059
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7098
+ interface RatecardCarrierSummary {
7099
+ readonly id: string;
7100
+ readonly name: string;
7060
7101
  }
7061
- interface PaymentMethodSummaryIdeal {
7062
- readonly type: 'ideal';
7063
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7064
- readonly issuer: string;
7102
+ interface RatecardEstimateFormV1 {
7103
+ readonly discriminator: 'ratecard_estimate_form_v1';
7104
+ readonly origin?: string;
7105
+ readonly destination?: string;
7106
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7107
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7108
+ readonly service?: string;
7109
+ readonly weight?: number;
7110
+ readonly length?: number;
7111
+ readonly width?: number;
7112
+ readonly depth?: number;
7113
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
7114
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7065
7115
  }
7066
- interface PaymentMethodSummaryKlarna {
7067
- readonly type: 'klarna';
7068
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7116
+ interface RatecardEstimateFormV2 {
7117
+ readonly discriminator: 'ratecard_estimate_form_v2';
7118
+ readonly origin_address: io.flow.common.v0.models.Address;
7119
+ readonly destination_address: io.flow.common.v0.models.Address;
7120
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7121
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7122
+ readonly service?: string;
7123
+ readonly weight?: number;
7124
+ readonly length?: number;
7125
+ readonly width?: number;
7126
+ readonly depth?: number;
7127
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
7128
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7129
+ readonly center_id?: string;
7069
7130
  }
7070
- interface PaymentMethodSummaryPaypal {
7071
- readonly type: 'paypal';
7072
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
7131
+ interface RatecardEstimateSummaryForm {
7132
+ readonly origin?: string;
7133
+ readonly destination?: string;
7134
+ readonly service?: string;
7135
+ readonly center_key?: string;
7073
7136
  }
7074
- interface PaymentOrderDetailsLineItem {
7075
- readonly id: string;
7076
- readonly description: string;
7077
- readonly quantity: number;
7137
+ interface RatecardEstimateV1 {
7138
+ readonly discriminator: 'ratecard_estimate_v1';
7139
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7140
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7141
+ readonly currency: string;
7078
7142
  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[];
7143
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7144
+ readonly total: number;
7145
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7146
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7147
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7148
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7085
7149
  }
7086
- interface PaymentPaymentMethod {
7087
- readonly id: string;
7088
- 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[];
7150
+ interface RatecardEstimateV2 {
7151
+ readonly discriminator: 'ratecard_estimate_v2';
7152
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
7153
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7154
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7155
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7156
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7157
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
7094
7158
  }
7095
- interface PaymentRefund {
7159
+ interface RatecardEstimateV3 {
7160
+ readonly discriminator: 'ratecard_estimate_v3';
7161
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
7162
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7163
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
7164
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
7165
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7166
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
7167
+ }
7168
+ interface RatecardForm {
7169
+ readonly direction: io.flow.label.v0.enums.Direction;
7170
+ readonly effective_at: string;
7171
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
7172
+ readonly service: string;
7173
+ readonly number?: string;
7174
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
7175
+ }
7176
+ interface RatecardLane {
7096
7177
  readonly id: string;
7097
- readonly amount: number;
7178
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
7098
7179
  readonly currency: string;
7099
- readonly created_at: string;
7100
- readonly updated_at: string;
7101
- readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
7102
- }
7103
- interface PaymentRefundForm {
7104
- readonly amount?: number;
7105
- readonly currency?: string;
7180
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7181
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7182
+ readonly destination: io.flow.common.v0.models.Zone;
7183
+ readonly dim_factor: number;
7184
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7185
+ readonly origin: io.flow.common.v0.models.Zone;
7186
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
7187
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
7188
+ readonly rounding: io.flow.common.v0.models.Rounding;
7189
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7190
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7106
7191
  }
7107
- interface PaymentRefundStatus {
7108
- readonly status: io.flow.payment.v0.enums.RefundStatus;
7109
- readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode;
7192
+ interface RatecardLaneForm {
7193
+ readonly ratecard_id: string;
7194
+ readonly currency: string;
7195
+ readonly destination: io.flow.common.v0.models.Zone;
7196
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7197
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7198
+ readonly dim_factor: number;
7199
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
7200
+ readonly origin: io.flow.common.v0.models.Zone;
7201
+ readonly rounding: io.flow.common.v0.models.Rounding;
7202
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
7203
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7204
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7110
7205
  }
7111
- interface PaymentRequest {
7112
- 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;
7206
+ interface RatecardLaneImportForm {
7207
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7208
+ readonly service: string;
7120
7209
  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;
7210
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
7211
+ readonly origin: io.flow.common.v0.models.Zone;
7212
+ readonly destination: io.flow.common.v0.models.Zone;
7213
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
7214
+ readonly dim_factor: number;
7215
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7216
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
7217
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
7130
7218
  }
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;
7219
+ interface RatecardLaneVersion {
7220
+ readonly id: string;
7221
+ readonly timestamp: string;
7222
+ readonly type: io.flow.common.v0.enums.ChangeType;
7223
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
7143
7224
  }
7144
- interface PaymentRequestReference {
7225
+ interface RatecardLanesImportRequestData {
7145
7226
  readonly id: string;
7146
- readonly reference?: string;
7227
+ readonly source_url: string;
7228
+ readonly filename?: string;
7147
7229
  }
7148
- interface PaymentReversal {
7230
+ interface RatecardRate {
7149
7231
  readonly id: string;
7150
7232
  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;
7233
+ readonly weight: number;
7155
7234
  }
7156
- interface PaymentReversalForm {
7157
- readonly amount?: number;
7158
- readonly currency?: string;
7235
+ interface RatecardRateForm {
7236
+ readonly amount: number;
7237
+ readonly weight: number;
7159
7238
  }
7160
- interface PaymentReversalStatus {
7161
- readonly status: io.flow.payment.v0.enums.ReversalStatus;
7162
- readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
7239
+ interface RatecardRateVersion {
7240
+ readonly id: string;
7241
+ readonly timestamp: string;
7242
+ readonly type: io.flow.common.v0.enums.ChangeType;
7243
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
7163
7244
  }
7164
- interface PaymentTax {
7165
- readonly amount: number;
7166
- readonly name?: string;
7245
+ interface RatecardReference {
7246
+ readonly id: string;
7167
7247
  }
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[];
7248
+ interface RatecardRegionReference {
7249
+ readonly id: string;
7174
7250
  }
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;
7251
+ interface RatecardServiceSummary {
7252
+ readonly id: string;
7253
+ readonly name: string;
7254
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
7195
7255
  }
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;
7256
+ interface RatecardSummary {
7257
+ readonly id: string;
7258
+ readonly number: string;
7259
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
7204
7260
  }
7205
- interface OrderPlacedV2 {
7206
- readonly discriminator: 'order_placed_v2';
7207
- readonly event_id: string;
7261
+ interface RatecardVersion {
7262
+ readonly id: string;
7208
7263
  readonly timestamp: string;
7209
- readonly organization: string;
7210
- readonly order_placed: io.flow.order.management.v0.models.OrderPlacedDetails;
7264
+ readonly type: io.flow.common.v0.enums.ChangeType;
7265
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
7211
7266
  }
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[];
7267
+ interface RemoteAreaRatecardFee {
7268
+ readonly discriminator: 'remote_area_ratecard_fee';
7269
+ readonly amount: io.flow.common.v0.models.Money;
7221
7270
  }
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[];
7271
+ interface RemoteAreaServiceFee {
7272
+ readonly discriminator: 'remote_area_service_fee';
7273
+ readonly amount: io.flow.common.v0.models.Money;
7228
7274
  }
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;
7275
+ interface ReturnPackageRatecardFee {
7276
+ readonly discriminator: 'return_package_ratecard_fee';
7277
+ readonly amount: number;
7278
+ }
7279
+ interface ShipmentWindow {
7280
+ readonly from: number;
7281
+ readonly to: number;
7235
7282
  }
7236
7283
  }
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';
7284
+ declare namespace io.flow.ratecard.v0.unions {
7285
+ type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
7286
+ type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
7287
+ 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;
7288
+ 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
7289
  }
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;
7290
+ declare namespace io.flow.token.v0.models {
7291
+ interface ChannelToken {
7292
+ readonly discriminator: 'channel_token';
7293
+ readonly id: string;
7294
+ readonly channel: io.flow.common.v0.models.ChannelReference;
7295
+ readonly user: io.flow.common.v0.models.UserReference;
7296
+ readonly partial: string;
7297
+ readonly created_at: string;
7298
+ readonly description?: string;
7247
7299
  }
7248
- interface FtpFile {
7300
+ interface ChannelTokenReference {
7301
+ readonly discriminator: 'channel_token_reference';
7249
7302
  readonly id: string;
7250
- readonly source: io.flow.ftp.v0.enums.FtpFileSource;
7251
- readonly name: string;
7252
- readonly directory: string;
7253
- readonly url: string;
7303
+ readonly channel: io.flow.common.v0.models.ChannelReference;
7304
+ readonly user: io.flow.common.v0.models.UserReference;
7305
+ }
7306
+ interface Cleartext {
7307
+ readonly value: string;
7308
+ }
7309
+ interface OrganizationToken {
7310
+ readonly discriminator: 'organization_token';
7311
+ readonly id: string;
7312
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7313
+ readonly user: io.flow.common.v0.models.UserReference;
7314
+ readonly environment: io.flow.common.v0.enums.Environment;
7315
+ readonly partial: string;
7254
7316
  readonly created_at: string;
7317
+ readonly description?: string;
7255
7318
  }
7256
- interface FtpFileForm {
7257
- readonly url: string;
7258
- readonly directory: string;
7259
- readonly name?: string;
7319
+ interface OrganizationTokenForm {
7320
+ readonly environment: io.flow.common.v0.enums.Environment;
7321
+ readonly description?: string;
7260
7322
  }
7261
- interface FtpFolder {
7323
+ interface OrganizationTokenReference {
7324
+ readonly discriminator: 'organization_token_reference';
7262
7325
  readonly id: string;
7263
- readonly path: string;
7264
- readonly webhook: boolean;
7326
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7327
+ readonly environment: io.flow.common.v0.enums.Environment;
7328
+ readonly user: io.flow.common.v0.models.UserReference;
7329
+ }
7330
+ interface PartnerToken {
7331
+ readonly discriminator: 'partner_token';
7332
+ readonly id: string;
7333
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
7334
+ readonly user: io.flow.common.v0.models.UserReference;
7335
+ readonly environment: io.flow.common.v0.enums.Environment;
7336
+ readonly partial: string;
7337
+ readonly created_at: string;
7265
7338
  readonly description?: string;
7266
7339
  }
7267
- interface FtpFolderForm {
7268
- readonly path: string;
7269
- readonly webhook: boolean;
7340
+ interface PartnerTokenForm {
7341
+ readonly environment: io.flow.common.v0.enums.Environment;
7270
7342
  readonly description?: string;
7271
7343
  }
7272
- interface FtpOrganizationSettings {
7273
- readonly enabled: boolean;
7274
- readonly emails: string[];
7275
- readonly account?: io.flow.ftp.v0.models.FtpAccount;
7344
+ interface PartnerTokenReference {
7345
+ readonly discriminator: 'partner_token_reference';
7346
+ readonly id: string;
7347
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
7348
+ readonly environment: io.flow.common.v0.enums.Environment;
7349
+ readonly user: io.flow.common.v0.models.UserReference;
7276
7350
  }
7277
- interface FtpOrganizationSettingsForm {
7278
- readonly enabled: boolean;
7279
- readonly emails: string[];
7351
+ interface TokenAuthenticationForm {
7352
+ readonly token: string;
7280
7353
  }
7281
- interface FtpServer {
7282
- readonly hostname: string;
7354
+ interface TokenPartnerReference {
7355
+ readonly id: string;
7283
7356
  }
7284
- interface FtpUser {
7285
- readonly username: string;
7286
- readonly password?: string;
7357
+ interface TokenValidation {
7358
+ readonly status: string;
7359
+ }
7360
+ interface TokenValidationForm {
7361
+ readonly token: string;
7287
7362
  }
7288
7363
  }
7364
+ declare namespace io.flow.token.v0.unions {
7365
+ type Token = io.flow.token.v0.models.ChannelToken | io.flow.token.v0.models.OrganizationToken | io.flow.token.v0.models.PartnerToken;
7366
+ type TokenReference = io.flow.token.v0.models.ChannelTokenReference | io.flow.token.v0.models.OrganizationTokenReference | io.flow.token.v0.models.PartnerTokenReference;
7367
+ }
7289
7368
  declare namespace io.flow.catalog.exclusion.v0.enums {
7290
7369
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
7291
7370
  }
@@ -9260,6 +9339,7 @@ declare namespace io.flow.internal.v0.enums {
9260
9339
  type BillingStatementReviewStatus = 'approved' | 'pending';
9261
9340
  type BillingTransactionStatus = 'pending' | 'posted';
9262
9341
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
9342
+ type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
9263
9343
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
9264
9344
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
9265
9345
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
@@ -9345,7 +9425,14 @@ declare namespace io.flow.internal.v0.enums {
9345
9425
  type DeliveredDutyOptionMessageType = 'warning' | 'notification';
9346
9426
  type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
9347
9427
  type DiscountRequestOrderEntitlementKey = 'subtotal';
9428
+ type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
9348
9429
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
9430
+ type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
9431
+ type DisputeImportType = 'adyen_dispute';
9432
+ type DisputeProcessor = 'adyen' | 'paypal';
9433
+ type DisputeResponsibleParty = 'flow' | 'organization';
9434
+ type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
9435
+ type DisputeType = 'chargeback';
9349
9436
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
9350
9437
  type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item' | 'personalization';
9351
9438
  type DutyRateSource = 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate';
@@ -10249,6 +10336,22 @@ declare namespace io.flow.internal.v0.models {
10249
10336
  readonly shipping?: number;
10250
10337
  readonly tax?: number;
10251
10338
  }
10339
+ interface BlazeCheckoutEventMessage {
10340
+ readonly discriminator: 'checkout_event';
10341
+ readonly event_type: io.flow.internal.v0.enums.BlazeCheckoutEvent;
10342
+ readonly affiliation: string;
10343
+ readonly order_number: string;
10344
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
10345
+ readonly country: string;
10346
+ readonly language: string;
10347
+ readonly geo_currency: string;
10348
+ readonly currency: string;
10349
+ readonly promotions?: string[];
10350
+ readonly duty?: number;
10351
+ readonly tax?: number;
10352
+ readonly shipping?: number;
10353
+ readonly revenue?: number;
10354
+ }
10252
10355
  interface BlazeCheckoutItem {
10253
10356
  readonly attributes: Record<string, string>;
10254
10357
  readonly item_number: string;
@@ -10454,6 +10557,12 @@ declare namespace io.flow.internal.v0.models {
10454
10557
  readonly discriminator: 'change_settings_index_task';
10455
10558
  readonly name: string;
10456
10559
  }
10560
+ interface Channel {
10561
+ readonly id: string;
10562
+ readonly name: string;
10563
+ readonly environment: io.flow.common.v0.enums.Environment;
10564
+ readonly organization_id_prefix?: string;
10565
+ }
10457
10566
  interface ChannelCurrencySetting {
10458
10567
  readonly id: string;
10459
10568
  readonly channel_id: string;
@@ -10479,6 +10588,11 @@ declare namespace io.flow.internal.v0.models {
10479
10588
  readonly timestamp: string;
10480
10589
  readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
10481
10590
  }
10591
+ interface ChannelForm {
10592
+ readonly name: string;
10593
+ readonly environment: io.flow.common.v0.enums.Environment;
10594
+ readonly organization_id_prefix?: string;
10595
+ }
10482
10596
  interface ChannelServiceFee {
10483
10597
  readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
10484
10598
  }
@@ -10486,6 +10600,9 @@ declare namespace io.flow.internal.v0.models {
10486
10600
  readonly minimum_orders: number;
10487
10601
  readonly amount: number;
10488
10602
  }
10603
+ interface ChannelTokenForm {
10604
+ readonly description?: string;
10605
+ }
10489
10606
  interface ChannelTransaction {
10490
10607
  readonly id: string;
10491
10608
  readonly organization_id: string;
@@ -12648,6 +12765,45 @@ declare namespace io.flow.internal.v0.models {
12648
12765
  interface DiscountRequestOrderForm {
12649
12766
  readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[];
12650
12767
  }
12768
+ interface Dispute {
12769
+ readonly id: string;
12770
+ readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
12771
+ readonly key: string;
12772
+ readonly type: io.flow.internal.v0.enums.DisputeType;
12773
+ readonly category: io.flow.internal.v0.enums.DisputeCategory;
12774
+ readonly reason: string;
12775
+ readonly status: io.flow.internal.v0.enums.DisputeStatus;
12776
+ readonly responsible?: io.flow.internal.v0.enums.DisputeResponsibleParty;
12777
+ readonly details: io.flow.internal.v0.unions.DisputeDetails;
12778
+ readonly expires_at?: string;
12779
+ readonly created_at: string;
12780
+ }
12781
+ interface DisputeDetailsAdyen {
12782
+ readonly discriminator: 'adyen';
12783
+ readonly psp_reference: string;
12784
+ }
12785
+ interface DisputeDetailsPaypal {
12786
+ readonly discriminator: 'paypal';
12787
+ readonly placeholder?: string;
12788
+ }
12789
+ interface DisputeImport {
12790
+ readonly id: string;
12791
+ readonly type: io.flow.internal.v0.enums.DisputeImportType;
12792
+ readonly status: io.flow.internal.v0.enums.DisputeImportStatus;
12793
+ readonly url: string;
12794
+ readonly errors?: io.flow.internal.v0.models.DisputeImportErrors;
12795
+ readonly created_at: string;
12796
+ }
12797
+ interface DisputeImportError {
12798
+ readonly message: string;
12799
+ }
12800
+ interface DisputeImportErrors {
12801
+ readonly count: number;
12802
+ }
12803
+ interface DisputeImportForm {
12804
+ readonly url: string;
12805
+ readonly type: io.flow.internal.v0.enums.DisputeImportType;
12806
+ }
12651
12807
  interface DutiedItemsExport {
12652
12808
  readonly discriminator: 'dutied_items_export';
12653
12809
  readonly event_id: string;
@@ -14762,6 +14918,13 @@ declare namespace io.flow.internal.v0.models {
14762
14918
  readonly client_id: string;
14763
14919
  readonly region: string;
14764
14920
  }
14921
+ interface LevyRateSummary {
14922
+ readonly id: string;
14923
+ readonly number: string;
14924
+ readonly destination: io.flow.common.v0.models.Address;
14925
+ readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
14926
+ readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
14927
+ }
14765
14928
  interface Liability {
14766
14929
  readonly delivery_key: string;
14767
14930
  readonly tax_jurisdiction: string;
@@ -17648,7 +17811,7 @@ declare namespace io.flow.internal.v0.unions {
17648
17811
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
17649
17812
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
17650
17813
  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;
17814
+ 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.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
17815
  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
17816
  type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
17654
17817
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
@@ -17733,6 +17896,7 @@ declare namespace io.flow.internal.v0.unions {
17733
17896
  type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
17734
17897
  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
17898
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
17899
+ type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
17736
17900
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
17737
17901
  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
17902
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
@@ -17917,6 +18081,8 @@ export declare type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddT
17917
18081
  export declare type BlazeApplepayAvailabilityRequest = io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest;
17918
18082
  export declare type BlazeApplepayAvailabilityResponse = io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse;
17919
18083
  export declare type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
18084
+ export declare type BlazeCheckoutEvent = io.flow.internal.v0.enums.BlazeCheckoutEvent;
18085
+ export declare type BlazeCheckoutEventMessage = io.flow.internal.v0.models.BlazeCheckoutEventMessage;
17920
18086
  export declare type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
17921
18087
  export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
17922
18088
  export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
@@ -17966,12 +18132,15 @@ export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.mo
17966
18132
  export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
17967
18133
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
17968
18134
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
18135
+ export declare type Channel = io.flow.internal.v0.models.Channel;
17969
18136
  export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
17970
18137
  export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
17971
18138
  export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
17972
18139
  export declare type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
18140
+ export declare type ChannelForm = io.flow.internal.v0.models.ChannelForm;
17973
18141
  export declare type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
17974
18142
  export declare type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
18143
+ export declare type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
17975
18144
  export declare type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
17976
18145
  export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
17977
18146
  export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
@@ -18575,7 +18744,22 @@ export declare type DiscountRequestOfferForm = io.flow.internal.v0.unions.Discou
18575
18744
  export declare type DiscountRequestOrderEntitlementForm = io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm;
18576
18745
  export declare type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey;
18577
18746
  export declare type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
18747
+ export declare type Dispute = io.flow.internal.v0.models.Dispute;
18748
+ export declare type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
18749
+ export declare type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
18750
+ export declare type DisputeDetailsAdyen = io.flow.internal.v0.models.DisputeDetailsAdyen;
18751
+ export declare type DisputeDetailsPaypal = io.flow.internal.v0.models.DisputeDetailsPaypal;
18578
18752
  export declare type DisputeEvidence = io.flow.internal.v0.enums.DisputeEvidence;
18753
+ export declare type DisputeImport = io.flow.internal.v0.models.DisputeImport;
18754
+ export declare type DisputeImportError = io.flow.internal.v0.models.DisputeImportError;
18755
+ export declare type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors;
18756
+ export declare type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
18757
+ export declare type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
18758
+ export declare type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
18759
+ export declare type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
18760
+ export declare type DisputeResponsibleParty = io.flow.internal.v0.enums.DisputeResponsibleParty;
18761
+ export declare type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
18762
+ export declare type DisputeType = io.flow.internal.v0.enums.DisputeType;
18579
18763
  export declare type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
18580
18764
  export declare type Duties = io.flow.internal.v0.models.Duties;
18581
18765
  export declare type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpression;
@@ -18916,6 +19100,7 @@ export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
18916
19100
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
18917
19101
  export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
18918
19102
  export declare type Landmark = io.flow.internal.v0.models.Landmark;
19103
+ export declare type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
18919
19104
  export declare type Liability = io.flow.internal.v0.models.Liability;
18920
19105
  export declare type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
18921
19106
  export declare type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;