@flowio/types 9.1.5 → 9.1.7

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.
@@ -1381,6 +1381,8 @@ declare namespace io.flow.tracking.internal.v0.models {
1381
1381
  readonly username: string;
1382
1382
  readonly password: string;
1383
1383
  readonly access_license_number: string;
1384
+ readonly account_number: string;
1385
+ readonly direct_feed_location_code: string;
1384
1386
  }
1385
1387
  }
1386
1388
 
@@ -1491,7 +1493,6 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
1491
1493
  }
1492
1494
 
1493
1495
  interface DutiedItemsExport {
1494
- readonly discriminator: 'dutied_items_export';
1495
1496
  readonly event_id: string;
1496
1497
  readonly timestamp: string;
1497
1498
  readonly organization: string;
@@ -1521,18 +1522,12 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
1521
1522
  readonly filename?: string;
1522
1523
  }
1523
1524
 
1524
- interface HarmonizeFullyRequest {
1525
- readonly discriminator: 'harmonize_fully_request';
1526
- readonly event_id: string;
1527
- readonly timestamp: string;
1528
- readonly item_id: string;
1529
- }
1530
-
1531
- interface HarmonizeFullyWithRate {
1532
- readonly discriminator: 'harmonize_fully_with_rate';
1525
+ interface HarmonizeFullyRequestV2 {
1526
+ readonly discriminator: 'harmonize_fully_request_v2';
1533
1527
  readonly event_id: string;
1534
1528
  readonly timestamp: string;
1535
- readonly duty_rate: io.flow.duty.internal.v0.models.DutyRate;
1529
+ readonly organization: string;
1530
+ readonly item_number: string;
1536
1531
  }
1537
1532
 
1538
1533
  interface HarmonizedItemsHs6Export {
@@ -1554,22 +1549,6 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
1554
1549
  readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1555
1550
  }
1556
1551
 
1557
- interface ItemHarmonized {
1558
- readonly discriminator: 'item_harmonized';
1559
- readonly event_id: string;
1560
- readonly timestamp: string;
1561
- readonly organization: string;
1562
- readonly item_number: string;
1563
- readonly product_id: string;
1564
- readonly customs_description: string;
1565
- readonly countries_of_origin: string[];
1566
- readonly hs_6: string;
1567
- readonly tariffs: Record<
1568
- string,
1569
- io.flow.harmonization.internal.v0.models.TariffCodeDuty
1570
- >;
1571
- }
1572
-
1573
1552
  interface LabelsPrediction {
1574
1553
  readonly main_material: Record<string, number>;
1575
1554
  readonly gender: Record<string, number>;
@@ -1577,15 +1556,6 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
1577
1556
  readonly product_type: Record<string, number>;
1578
1557
  }
1579
1558
 
1580
- interface LandedCostExport {
1581
- readonly discriminator: 'landed_cost_export';
1582
- readonly event_id: string;
1583
- readonly timestamp: string;
1584
- readonly organization: string;
1585
- readonly export_id: string;
1586
- readonly items: io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1587
- }
1588
-
1589
1559
  interface LandedCostItem {
1590
1560
  readonly number: string;
1591
1561
  readonly origin: string;
@@ -1613,6 +1583,22 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
1613
1583
  readonly organization_id?: string;
1614
1584
  }
1615
1585
 
1586
+ interface ResyncByDestinations {
1587
+ readonly discriminator: 'resync_by_destinations';
1588
+ readonly destinations: io.flow.reference.v0.models.Country[];
1589
+ }
1590
+
1591
+ interface ResyncByHs6Destinations {
1592
+ readonly discriminator: 'resync_by_hs6_destinations';
1593
+ readonly hs6_code: string;
1594
+ readonly destinations: io.flow.reference.v0.models.Country[];
1595
+ }
1596
+
1597
+ interface ResyncFallbackRates {
1598
+ readonly discriminator: 'resync_fallback_rates';
1599
+ readonly destinations: io.flow.reference.v0.models.Country[];
1600
+ }
1601
+
1616
1602
  interface UnharmonizedItemsExport {
1617
1603
  readonly discriminator: 'unharmonized_items_export';
1618
1604
  readonly event_id: string;
@@ -1633,27 +1619,25 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
1633
1619
  type HarmonizationExportRequest =
1634
1620
  | io.flow.harmonization.internal.event.v0.models.AllItemsExport
1635
1621
  | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export
1636
- | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport
1637
- | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
1638
- | io.flow.harmonization.internal.event.v0.models.LandedCostExport;
1622
+ | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport;
1639
1623
  type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
1640
1624
  type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
1641
1625
  type HarmonizationSugestionEvent =
1642
1626
  | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated
1643
1627
  | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
1644
- type HarmonizeFully =
1645
- | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate
1646
- | io.flow.harmonization.internal.event.v0.models.ItemHarmonized
1647
- | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest;
1628
+ type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequestV2;
1648
1629
  type RefillActorRequest =
1649
1630
  | io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest
1650
1631
  | io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
1632
+ type ResyncActorRequest =
1633
+ | io.flow.harmonization.internal.event.v0.models.ResyncByHs6Destinations
1634
+ | io.flow.harmonization.internal.event.v0.models.ResyncByDestinations
1635
+ | io.flow.harmonization.internal.event.v0.models.ResyncFallbackRates;
1651
1636
  }
1652
1637
 
1653
1638
  declare namespace io.flow.inventory.v0.enums {
1654
1639
  type Aggregate = 'maximum' | 'minimum';
1655
1640
  type InventoryStatus = 'has_inventory' | 'no_inventory';
1656
- type SerialStatus = 'available' | 'reserved' | 'sold';
1657
1641
  type UpdateType = 'change' | 'set';
1658
1642
  }
1659
1643
 
@@ -1834,33 +1818,6 @@ declare namespace io.flow.inventory.v0.models {
1834
1818
  interface ReservationOrderReference {
1835
1819
  readonly number: string;
1836
1820
  }
1837
-
1838
- interface Serial {
1839
- readonly id: string;
1840
- readonly number: string;
1841
- readonly item_number: string;
1842
- readonly item_price: io.flow.common.v0.models.Price;
1843
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
1844
- readonly center: io.flow.fulfillment.v0.models.CenterReference;
1845
- readonly attributes: Record<string, string>;
1846
- }
1847
-
1848
- interface SerialForm {
1849
- readonly number: string;
1850
- readonly item_number: string;
1851
- readonly item_price: number;
1852
- readonly item_currency: string;
1853
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
1854
- readonly center_key?: string;
1855
- readonly attributes?: Record<string, string>;
1856
- }
1857
-
1858
- interface SerialVersion {
1859
- readonly id: string;
1860
- readonly timestamp: string;
1861
- readonly type: io.flow.common.v0.enums.ChangeType;
1862
- readonly serial: io.flow.inventory.v0.models.Serial;
1863
- }
1864
1821
  }
1865
1822
 
1866
1823
  declare namespace io.flow.inventory.v0.unions {
@@ -1905,6 +1862,19 @@ declare namespace io.flow.ratecard.v0.models {
1905
1862
  readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
1906
1863
  }
1907
1864
 
1865
+ interface EmergencySituationSurchargeRatecardFee {
1866
+ readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
1867
+ readonly amount: io.flow.common.v0.models.Money;
1868
+ }
1869
+
1870
+ interface EmergencySituationSurchargeServiceFee {
1871
+ readonly discriminator: 'emergency_situation_surcharge_service_fee';
1872
+ readonly amount: io.flow.common.v0.models.Money;
1873
+ readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
1874
+ readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
1875
+ readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1876
+ }
1877
+
1908
1878
  interface EstimatedDimensions {
1909
1879
  readonly depth: io.flow.common.v0.models.Measurement;
1910
1880
  readonly length: io.flow.common.v0.models.Measurement;
@@ -2114,6 +2084,10 @@ declare namespace io.flow.ratecard.v0.models {
2114
2084
  readonly id: string;
2115
2085
  }
2116
2086
 
2087
+ interface RatecardRegionReference {
2088
+ readonly id: string;
2089
+ }
2090
+
2117
2091
  interface RatecardServiceSummary {
2118
2092
  readonly id: string;
2119
2093
  readonly name: string;
@@ -2161,10 +2135,12 @@ declare namespace io.flow.ratecard.v0.unions {
2161
2135
  | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
2162
2136
  | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
2163
2137
  | io.flow.ratecard.v0.models.CrossdockRatecardFee
2164
- | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
2138
+ | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
2139
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee;
2165
2140
  type ServiceFee =
2166
2141
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
2167
- | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
2142
+ | io.flow.ratecard.v0.models.RemoteAreaServiceFee
2143
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee;
2168
2144
  }
2169
2145
 
2170
2146
  declare namespace io.flow.session.context.v0.models {
@@ -3462,7 +3438,8 @@ declare namespace io.flow.order.price.v0.enums {
3462
3438
  | 'vat_subsidy'
3463
3439
  | 'duty_subsidy'
3464
3440
  | 'remote_area_surcharge'
3465
- | 'fuel_surcharge';
3441
+ | 'fuel_surcharge'
3442
+ | 'emergency_situation_surcharge';
3466
3443
  type OrderPriceDetailKey =
3467
3444
  | 'adjustment'
3468
3445
  | 'subtotal'
@@ -3877,7 +3854,7 @@ declare namespace io.flow.external.paypal.v1.models {
3877
3854
 
3878
3855
  interface ItemList {
3879
3856
  readonly items: io.flow.external.paypal.v1.models.Item[];
3880
- readonly shipping_address: io.flow.external.paypal.v1.models.ShippingAddress;
3857
+ readonly shipping_address?: io.flow.external.paypal.v1.models.ShippingAddress;
3881
3858
  }
3882
3859
 
3883
3860
  interface Link {
@@ -3977,12 +3954,12 @@ declare namespace io.flow.external.paypal.v1.models {
3977
3954
 
3978
3955
  interface Transaction {
3979
3956
  readonly amount: io.flow.external.paypal.v1.models.TransactionAmount;
3980
- readonly description: string;
3957
+ readonly description?: string;
3981
3958
  readonly payee?: any /*object*/;
3982
- readonly custom: string;
3983
- readonly payment_options: io.flow.external.paypal.v1.models.PaymentOptions;
3984
- readonly item_list: io.flow.external.paypal.v1.models.ItemList;
3985
- readonly invoice_number: string;
3959
+ readonly custom?: string;
3960
+ readonly payment_options?: io.flow.external.paypal.v1.models.PaymentOptions;
3961
+ readonly item_list?: io.flow.external.paypal.v1.models.ItemList;
3962
+ readonly invoice_number?: string;
3986
3963
  readonly soft_descriptor?: string;
3987
3964
  readonly reference_id?: string;
3988
3965
  }
@@ -4258,12 +4235,37 @@ declare namespace io.flow.search.v0.unions {
4258
4235
  }
4259
4236
 
4260
4237
  declare namespace io.flow.harmonization.internal.v0.enums {
4238
+ type EmptyAttribute = 'irrelevant';
4261
4239
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
4262
- type ItemClassificationStatus = 'Unclassified' | 'Suggested' | 'Classified';
4240
+ type ItemClassificationStatus =
4241
+ | 'unknown'
4242
+ | 'manual'
4243
+ | 'manually_accepted'
4244
+ | 'manually_overridden'
4245
+ | 'automatically_accepted';
4246
+ type ItemHarmonizationStatus =
4247
+ | 'waiting_for_classification'
4248
+ | 'classified'
4249
+ | 'non_classifiable_not_enough_information'
4250
+ | 'non_classifiable_other'
4251
+ | 'exempt_digital_product'
4252
+ | 'exempt_service'
4253
+ | 'exempt_other';
4263
4254
  type ItemType = 'standard' | 'multi_product';
4255
+ type UnclassifiedProductStatus = 'ignored' | 'escalated' | 'requeued';
4264
4256
  }
4265
4257
 
4266
4258
  declare namespace io.flow.harmonization.internal.v0.models {
4259
+ interface AllowedLabels {
4260
+ readonly name: string;
4261
+ readonly labels: Record<string, string[]>;
4262
+ }
4263
+
4264
+ interface AttributeLabel {
4265
+ readonly value: string;
4266
+ readonly unverified: boolean;
4267
+ }
4268
+
4267
4269
  interface BlacklistedItem {
4268
4270
  readonly id: string;
4269
4271
  readonly organization_id: string;
@@ -4276,7 +4278,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
4276
4278
  readonly number: string;
4277
4279
  readonly name: string;
4278
4280
  readonly description: string;
4279
- readonly status: io.flow.harmonization.internal.v0.enums.ItemClassificationStatus;
4281
+ readonly status?: io.flow.harmonization.internal.v0.enums.UnclassifiedProductStatus;
4280
4282
  readonly customs_description_suggestions: io.flow.harmonization.internal.v0.models.CustomsDescriptionSuggestion[];
4281
4283
  }
4282
4284
 
@@ -4300,7 +4302,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
4300
4302
  readonly product_id: string;
4301
4303
  readonly organization_id: string;
4302
4304
  readonly description: string;
4303
- readonly status: io.flow.harmonization.internal.v0.enums.ItemClassificationStatus;
4305
+ readonly status?: io.flow.harmonization.internal.v0.enums.UnclassifiedProductStatus;
4304
4306
  readonly suggestion_count: number;
4305
4307
  }
4306
4308
 
@@ -4322,6 +4324,16 @@ declare namespace io.flow.harmonization.internal.v0.models {
4322
4324
  readonly hs10?: string;
4323
4325
  }
4324
4326
 
4327
+ interface CustomsDescriptionStatistics {
4328
+ readonly message: string;
4329
+ readonly default_customs_description_total: number;
4330
+ readonly new_customs_description_total: number;
4331
+ readonly phrase_status_duty_requested_total: number;
4332
+ readonly phrase_status_classified_total: number;
4333
+ readonly mismatching_hs6_total: number;
4334
+ readonly mismatching_hs6: Record<string, string>;
4335
+ }
4336
+
4325
4337
  interface CustomsDescriptionSuggestion {
4326
4338
  readonly model_id: string;
4327
4339
  readonly suggestion: string;
@@ -4403,6 +4415,26 @@ declare namespace io.flow.harmonization.internal.v0.models {
4403
4415
  readonly duty_composition_rate: number;
4404
4416
  }
4405
4417
 
4418
+ interface LabelAliases {
4419
+ readonly name: string;
4420
+ readonly aliases: string[];
4421
+ }
4422
+
4423
+ interface LabelAssociation {
4424
+ readonly items: Record<string, string[]>;
4425
+ readonly genders: Record<string, string[]>;
4426
+ readonly materials: Record<string, string[]>;
4427
+ readonly constructions: Record<string, string[]>;
4428
+ }
4429
+
4430
+ interface LabelTaxonomy {
4431
+ readonly item_type: string;
4432
+ readonly aliases: string[];
4433
+ readonly construction: io.flow.harmonization.internal.v0.unions.ClassificationLabelAttribute;
4434
+ readonly gender: io.flow.harmonization.internal.v0.unions.ClassificationLabelAttribute;
4435
+ readonly material: io.flow.harmonization.internal.v0.unions.ClassificationLabelAttribute;
4436
+ }
4437
+
4406
4438
  interface Levies {
4407
4439
  readonly customs: io.flow.harmonization.internal.v0.models.Customs;
4408
4440
  readonly duty?: io.flow.price.v0.models.Duty;
@@ -4432,6 +4464,35 @@ declare namespace io.flow.harmonization.internal.v0.models {
4432
4464
  readonly description: string;
4433
4465
  }
4434
4466
 
4467
+ interface NoClassificationForm {
4468
+ readonly discriminator: 'no_classification_form';
4469
+ readonly harmonization_status: io.flow.harmonization.internal.v0.enums.ItemHarmonizationStatus;
4470
+ }
4471
+
4472
+ interface ProductClassification {
4473
+ readonly organization_id: string;
4474
+ readonly product_id: string;
4475
+ readonly description: string;
4476
+ readonly items: io.flow.harmonization.internal.v0.models.ClassificationItem[];
4477
+ readonly images: string[];
4478
+ readonly categories: string[];
4479
+ readonly attributes: Record<string, string>;
4480
+ readonly labels: io.flow.harmonization.internal.v0.models.ProductLabels;
4481
+ readonly model_version: string;
4482
+ readonly current_customs_description?: string;
4483
+ readonly customs_description?: string;
4484
+ readonly hs6_code?: string;
4485
+ readonly hs6_description?: string;
4486
+ readonly next_id?: io.flow.harmonization.internal.v0.models.ClassificationProductId;
4487
+ }
4488
+
4489
+ interface ProductClassificationForm {
4490
+ readonly discriminator: 'product_classification_form';
4491
+ readonly initial_customs_description?: string;
4492
+ readonly product_harmonization: io.flow.harmonization.internal.v0.models.ProductHarmonization;
4493
+ readonly model_version: string;
4494
+ }
4495
+
4435
4496
  interface ProductClassificationJudgementForm {
4436
4497
  readonly organization_id: string;
4437
4498
  readonly product_id: string;
@@ -4445,11 +4506,35 @@ declare namespace io.flow.harmonization.internal.v0.models {
4445
4506
  readonly next_product?: io.flow.harmonization.internal.v0.models.ClassificationProductId;
4446
4507
  }
4447
4508
 
4509
+ interface ProductHarmonization {
4510
+ readonly product_labels: io.flow.harmonization.internal.v0.models.ProductLabels;
4511
+ readonly customs_description: string;
4512
+ readonly hs6_code?: string;
4513
+ readonly hs6_description?: string;
4514
+ }
4515
+
4516
+ interface ProductHarmonizationForm {
4517
+ readonly product_labels: io.flow.harmonization.internal.v0.models.ProductLabels;
4518
+ readonly customs_description?: string;
4519
+ }
4520
+
4521
+ interface ProductLabels {
4522
+ readonly item_type: string;
4523
+ readonly gender?: io.flow.harmonization.internal.v0.models.AttributeLabel;
4524
+ readonly material?: io.flow.harmonization.internal.v0.models.AttributeLabel;
4525
+ readonly construction?: io.flow.harmonization.internal.v0.models.AttributeLabel;
4526
+ }
4527
+
4448
4528
  interface SearchItemHs6Code {
4449
4529
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
4450
4530
  readonly code?: string;
4451
4531
  }
4452
4532
 
4533
+ interface SupportedLabels {
4534
+ readonly discriminator: 'supported_labels';
4535
+ readonly values: io.flow.harmonization.internal.v0.models.LabelAliases[];
4536
+ }
4537
+
4453
4538
  interface TariffCodeDuty {
4454
4539
  readonly tariff_code: string;
4455
4540
  readonly duties: Record<
@@ -4486,7 +4571,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
4486
4571
  interface UnclassifiedProductsForm {
4487
4572
  readonly organization_id: string;
4488
4573
  readonly product_id: string;
4489
- readonly ignore?: boolean;
4574
+ readonly status?: io.flow.harmonization.internal.v0.enums.UnclassifiedProductStatus;
4490
4575
  }
4491
4576
 
4492
4577
  interface UnphrasedProductsExport {
@@ -4504,6 +4589,17 @@ declare namespace io.flow.harmonization.internal.v0.models {
4504
4589
  }
4505
4590
 
4506
4591
  declare namespace io.flow.harmonization.internal.v0.unions {
4592
+ type ClassificationJudgementForm =
4593
+ | io.flow.harmonization.internal.v0.models.ProductClassificationForm
4594
+ | io.flow.harmonization.internal.v0.models.NoClassificationForm;
4595
+
4596
+ type ClassificationLabelAttribute =
4597
+ | {
4598
+ discriminator: 'empty_attribute';
4599
+ value: io.flow.harmonization.internal.v0.enums.EmptyAttribute;
4600
+ }
4601
+ | io.flow.harmonization.internal.v0.models.SupportedLabels;
4602
+
4507
4603
  type TaskData =
4508
4604
  | io.flow.harmonization.internal.v0.models.TaskProcessQueuedEvent
4509
4605
  | io.flow.harmonization.internal.v0.models.TaskSummarizeCode
@@ -4523,6 +4619,7 @@ declare namespace io.flow.fulfillment.v0.enums {
4523
4619
  | 'ratecard_fuel_surcharge'
4524
4620
  | 'ratecard_oversized_shipment_fee'
4525
4621
  | 'ratecard_rural_shipment_fee'
4622
+ | 'ratecard_emergency_situation_surcharge_fee'
4526
4623
  | 'center_commercial_invoice_fee'
4527
4624
  | 'center_inbound_carton_fee'
4528
4625
  | 'center_outbound_carton_fee';
@@ -4551,6 +4648,7 @@ declare namespace io.flow.fulfillment.v0.enums {
4551
4648
  type ShippingConfigurationType = 'default' | 'variant';
4552
4649
  type Strategy = 'range' | 'from' | 'to';
4553
4650
  type SurchargeResponsibleParty = 'organization' | 'customer';
4651
+ type TierAvailability = 'always' | 'backup';
4554
4652
  type TierEstimateType = 'calculated' | 'custom';
4555
4653
  type TierStrategy = 'fastest' | 'lowest_cost';
4556
4654
  type ZeroAmountIndicator = 'zero' | 'free';
@@ -5056,6 +5154,7 @@ declare namespace io.flow.fulfillment.v0.models {
5056
5154
  readonly shipping_lane?: string;
5057
5155
  readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
5058
5156
  readonly lane?: io.flow.fulfillment.v0.models.ShippingLaneSummary;
5157
+ readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
5059
5158
  }
5060
5159
 
5061
5160
  interface TierDisplay {
@@ -5085,6 +5184,7 @@ declare namespace io.flow.fulfillment.v0.models {
5085
5184
  readonly display?: io.flow.fulfillment.v0.models.TierDisplayForm;
5086
5185
  readonly shipping_lane: string;
5087
5186
  readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[];
5187
+ readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
5088
5188
  }
5089
5189
 
5090
5190
  interface TierReference {
@@ -5111,6 +5211,10 @@ declare namespace io.flow.fulfillment.v0.models {
5111
5211
  readonly tier_rule: io.flow.fulfillment.v0.models.TierRule;
5112
5212
  }
5113
5213
 
5214
+ interface TierSettings {
5215
+ readonly availability: io.flow.fulfillment.v0.enums.TierAvailability;
5216
+ }
5217
+
5114
5218
  interface TierSummary {
5115
5219
  readonly id: string;
5116
5220
  readonly experience?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference;
@@ -5122,6 +5226,7 @@ declare namespace io.flow.fulfillment.v0.models {
5122
5226
  readonly currency: string;
5123
5227
  readonly display?: io.flow.fulfillment.v0.models.TierDisplay;
5124
5228
  readonly message?: string;
5229
+ readonly settings?: io.flow.fulfillment.v0.models.TierSettings;
5125
5230
  }
5126
5231
 
5127
5232
  interface TierVersion {
@@ -5694,6 +5799,7 @@ declare namespace io.flow.session.v0.models {
5694
5799
  readonly experience?: io.flow.experience.v0.models.ExperienceGeo;
5695
5800
  readonly format?: io.flow.session.v0.models.SessionFormat;
5696
5801
  readonly experiment?: io.flow.session.v0.models.SessionExperiment;
5802
+ readonly context?: io.flow.session.context.v0.models.ContextReference;
5697
5803
  }
5698
5804
 
5699
5805
  interface OrganizationSessionAuthorization {
@@ -5743,7 +5849,6 @@ declare namespace io.flow.session.v0.models {
5743
5849
  readonly language?: string;
5744
5850
  readonly locale?: string;
5745
5851
  readonly attributes?: Record<string, string>;
5746
- readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
5747
5852
  }
5748
5853
 
5749
5854
  interface SessionFormat {
@@ -5765,7 +5870,6 @@ declare namespace io.flow.session.v0.models {
5765
5870
  readonly language?: string;
5766
5871
  readonly locale?: string;
5767
5872
  readonly attributes?: Record<string, string>;
5768
- readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
5769
5873
  }
5770
5874
 
5771
5875
  interface SessionVisit {
@@ -6486,12 +6590,10 @@ declare namespace io.flow.catalog.v0.enums {
6486
6590
  | 'consumer_url'
6487
6591
  | 'gtin'
6488
6592
  | 'mpn'
6489
- | 'excluded_regions'
6490
6593
  | 'facet';
6491
6594
  type FulfillmentMethodType = 'fulfillment_method';
6492
6595
  type FulfillmentMethodValue = 'digital' | 'physical';
6493
6596
  type ImageTag = 'thumbnail' | 'checkout';
6494
- type QueryType = 'exclusion' | 'inclusion';
6495
6597
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
6496
6598
  type TaxabilityType = 'tax_rule';
6497
6599
  type TaxabilityValue = 'exempt';
@@ -6557,11 +6659,13 @@ declare namespace io.flow.catalog.v0.models {
6557
6659
  interface Image {
6558
6660
  readonly url: string;
6559
6661
  readonly tags: io.flow.catalog.v0.enums.ImageTag[];
6662
+ readonly attributes?: Record<string, string>;
6560
6663
  }
6561
6664
 
6562
6665
  interface ImageForm {
6563
6666
  readonly url: string;
6564
6667
  readonly tags?: io.flow.catalog.v0.enums.ImageTag[];
6668
+ readonly attributes?: Record<string, string>;
6565
6669
  }
6566
6670
 
6567
6671
  interface Item {
@@ -6735,22 +6839,6 @@ declare namespace io.flow.catalog.v0.models {
6735
6839
  readonly subcatalog_item: io.flow.catalog.v0.models.SubcatalogItem;
6736
6840
  }
6737
6841
 
6738
- interface SubcatalogQuery {
6739
- readonly id: string;
6740
- readonly q: string;
6741
- readonly type: io.flow.catalog.v0.enums.QueryType;
6742
- }
6743
-
6744
- interface SubcatalogQueryForm {
6745
- readonly q: string;
6746
- readonly type: io.flow.catalog.v0.enums.QueryType;
6747
- }
6748
-
6749
- interface SubcatalogQueryValidation {
6750
- readonly valid: string[];
6751
- readonly invalid: string[];
6752
- }
6753
-
6754
6842
  interface SubcatalogReference {
6755
6843
  readonly discriminator: 'subcatalog_reference';
6756
6844
  readonly id: string;
@@ -6778,53 +6866,6 @@ declare namespace io.flow.catalog.v0.models {
6778
6866
  readonly type: io.flow.common.v0.enums.ChangeType;
6779
6867
  readonly subcatalog: io.flow.catalog.v0.models.Subcatalog;
6780
6868
  }
6781
-
6782
- interface Targeting {
6783
- readonly id: string;
6784
- readonly key: string;
6785
- readonly queries: io.flow.catalog.v0.models.TargetingQuery[];
6786
- readonly catalog: io.flow.catalog.v0.models.CatalogReference;
6787
- readonly subcatalog?: io.flow.catalog.v0.models.SubcatalogReference;
6788
- }
6789
-
6790
- interface TargetingForm {
6791
- readonly key: string;
6792
- readonly queries: io.flow.catalog.v0.models.TargetingQueryForm[];
6793
- readonly subcatalog_id?: string;
6794
- }
6795
-
6796
- interface TargetingItem {
6797
- readonly id: string;
6798
- readonly targeting: io.flow.catalog.v0.models.TargetingSummary;
6799
- readonly item_number: string;
6800
- readonly query: io.flow.catalog.v0.models.TargetingQuery;
6801
- }
6802
-
6803
- interface TargetingQuery {
6804
- readonly id: string;
6805
- readonly q: string;
6806
- readonly outcome_id: string;
6807
- readonly position: number;
6808
- }
6809
-
6810
- interface TargetingQueryForm {
6811
- readonly q: string;
6812
- readonly outcome_id: string;
6813
- }
6814
-
6815
- interface TargetingSummary {
6816
- readonly id: string;
6817
- readonly key: string;
6818
- readonly catalog: io.flow.catalog.v0.models.CatalogReference;
6819
- readonly subcatalog?: io.flow.catalog.v0.models.SubcatalogReference;
6820
- }
6821
-
6822
- interface TargetingVersion {
6823
- readonly id: string;
6824
- readonly timestamp: string;
6825
- readonly type: io.flow.common.v0.enums.ChangeType;
6826
- readonly targeting: io.flow.catalog.v0.models.Targeting;
6827
- }
6828
6869
  }
6829
6870
 
6830
6871
  declare namespace io.flow.catalog.v0.unions {
@@ -7499,6 +7540,7 @@ declare namespace io.flow.reference.v0.models {
7499
7540
  }
7500
7541
 
7501
7542
  declare namespace io.flow.fraud.internal.v0.enums {
7543
+ type FraudProvider = 'flow' | 'riskified' | 'rps' | 'other' | 'none';
7502
7544
  type FraudReviewResponsibleParty = 'flow' | 'organization';
7503
7545
  type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
7504
7546
  }
@@ -7533,6 +7575,7 @@ declare namespace io.flow.fraud.internal.v0.models {
7533
7575
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
7534
7576
  readonly status_updated_at?: string;
7535
7577
  readonly attributes?: Record<string, string>;
7578
+ readonly provider?: io.flow.fraud.internal.v0.enums.FraudProvider;
7536
7579
  }
7537
7580
 
7538
7581
  interface FraudReviewDecision {
@@ -8396,7 +8439,7 @@ declare namespace io.flow.stripe.v0.models {
8396
8439
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
8397
8440
  readonly payment_method_types?: string[];
8398
8441
  readonly receipt_email?: string;
8399
- readonly save_payment_method?: boolean;
8442
+ readonly save_payment_method: boolean;
8400
8443
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
8401
8444
  }
8402
8445
 
@@ -8417,7 +8460,7 @@ declare namespace io.flow.stripe.v0.models {
8417
8460
  readonly payment_method_types?: string[];
8418
8461
  readonly receipt_email?: string;
8419
8462
  readonly return_url?: string;
8420
- readonly save_payment_method?: boolean;
8463
+ readonly save_payment_method: boolean;
8421
8464
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
8422
8465
  readonly statement_descriptor?: string;
8423
8466
  readonly statement_descriptor_suffix?: string;
@@ -8434,7 +8477,7 @@ declare namespace io.flow.stripe.v0.models {
8434
8477
  readonly payment_method?: string;
8435
8478
  readonly payment_method_types?: string[];
8436
8479
  readonly receipt_email?: string;
8437
- readonly save_payment_method?: boolean;
8480
+ readonly save_payment_method: boolean;
8438
8481
  readonly statement_descriptor?: string;
8439
8482
  readonly statement_descriptor_suffix?: string;
8440
8483
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -8849,6 +8892,12 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
8849
8892
  readonly since?: string;
8850
8893
  }
8851
8894
 
8895
+ interface MarketingFeedsExportType {
8896
+ readonly discriminator: 'marketing_feeds_export_type';
8897
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
8898
+ readonly feed_ids: string[];
8899
+ }
8900
+
8852
8901
  interface OrderExportType {
8853
8902
  readonly discriminator: 'order_export_type';
8854
8903
  readonly numbers?: string[];
@@ -8923,7 +8972,8 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
8923
8972
  | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
8924
8973
  | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
8925
8974
  | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
8926
- | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
8975
+ | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
8976
+ | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType;
8927
8977
  }
8928
8978
 
8929
8979
  declare namespace io.flow.shopify.internal.v0.enums {
@@ -9062,6 +9112,7 @@ declare namespace io.flow.shopify.internal.v0.models {
9062
9112
  interface ShopifyOrderInventoryCheck {
9063
9113
  readonly item_number: string;
9064
9114
  readonly quantity: number;
9115
+ readonly order_number?: string;
9065
9116
  }
9066
9117
 
9067
9118
  interface ShopifyOrderLineAttribute {
@@ -9266,8 +9317,13 @@ declare namespace io.flow.ftp.v0.models {
9266
9317
  }
9267
9318
 
9268
9319
  declare namespace io.flow.checkout.configuration.v0.enums {
9320
+ type CheckoutAssetType = 'stylesheet' | 'javascript';
9269
9321
  type CheckoutPromptBehavior = 'always' | 'incomplete';
9270
9322
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
9323
+ type CheckoutUrlType =
9324
+ | 'continue_shopping'
9325
+ | 'confirmation'
9326
+ | 'invalid_checkout';
9271
9327
  type GoogleAnalyticsPlugin = 'ec';
9272
9328
  }
9273
9329
 
@@ -9277,6 +9333,11 @@ declare namespace io.flow.checkout.configuration.v0.models {
9277
9333
  readonly use_base_currency: boolean;
9278
9334
  }
9279
9335
 
9336
+ interface CheckoutAsset {
9337
+ readonly url: string;
9338
+ readonly type: io.flow.checkout.configuration.v0.enums.CheckoutAssetType;
9339
+ }
9340
+
9280
9341
  interface CheckoutBehavior {
9281
9342
  readonly shipping_address: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingAddress;
9282
9343
  readonly shipping_method: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingMethod;
@@ -9307,6 +9368,13 @@ declare namespace io.flow.checkout.configuration.v0.models {
9307
9368
  readonly domain?: string;
9308
9369
  }
9309
9370
 
9371
+ interface CheckoutConfigurationForm {
9372
+ readonly behavior: io.flow.checkout.configuration.v0.models.CheckoutBehavior;
9373
+ readonly settings: io.flow.checkout.configuration.v0.models.CheckoutSettings;
9374
+ readonly analytics?: io.flow.checkout.configuration.v0.models.CheckoutAnalytics;
9375
+ readonly domain?: string;
9376
+ }
9377
+
9310
9378
  interface CheckoutConfigurationReference {
9311
9379
  readonly id: string;
9312
9380
  }
@@ -9314,6 +9382,14 @@ declare namespace io.flow.checkout.configuration.v0.models {
9314
9382
  interface CheckoutSettings {
9315
9383
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
9316
9384
  readonly session_persistence_attribute_keys?: string[];
9385
+ readonly locales?: string[];
9386
+ readonly urls?: io.flow.checkout.configuration.v0.models.CheckoutUrl[];
9387
+ readonly assets?: io.flow.checkout.configuration.v0.models.CheckoutAsset[];
9388
+ }
9389
+
9390
+ interface CheckoutUrl {
9391
+ readonly url: string;
9392
+ readonly type: io.flow.checkout.configuration.v0.enums.CheckoutUrlType;
9317
9393
  }
9318
9394
 
9319
9395
  interface FacebookPixel {
@@ -9335,6 +9411,11 @@ declare namespace io.flow.checkout.configuration.v0.models {
9335
9411
  readonly tracker_id: string;
9336
9412
  }
9337
9413
 
9414
+ interface GoogleTagManager {
9415
+ readonly discriminator: 'google_tag_manager';
9416
+ readonly tracker_id: string;
9417
+ }
9418
+
9338
9419
  interface SnapchatPixel {
9339
9420
  readonly discriminator: 'snapchat_pixel';
9340
9421
  readonly name?: string;
@@ -9346,6 +9427,7 @@ declare namespace io.flow.checkout.configuration.v0.unions {
9346
9427
  type Tracker =
9347
9428
  | io.flow.checkout.configuration.v0.models.GoogleAnalytics
9348
9429
  | io.flow.checkout.configuration.v0.models.GoogleGlobalSiteTag
9430
+ | io.flow.checkout.configuration.v0.models.GoogleTagManager
9349
9431
  | io.flow.checkout.configuration.v0.models.FacebookPixel
9350
9432
  | io.flow.checkout.configuration.v0.models.SnapchatPixel;
9351
9433
  }
@@ -10198,6 +10280,7 @@ declare namespace io.flow.payment.v0.models {
10198
10280
  interface OnlinePaymentAuthorizationForm {
10199
10281
  readonly discriminator: 'online_payment_authorization_form';
10200
10282
  readonly payment_id: string;
10283
+ readonly key?: string;
10201
10284
  }
10202
10285
 
10203
10286
  interface PaymentCryptopay {
@@ -10593,32 +10676,64 @@ declare namespace io.flow.label.internal.v0.models {
10593
10676
  }
10594
10677
 
10595
10678
  declare namespace io.flow.experiment.internal.v0.enums {
10596
- type Status = 'draft' | 'ended' | 'live';
10679
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
10680
+ type Scope = 'organization' | 'global';
10681
+ type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
10597
10682
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
10598
10683
  }
10599
10684
 
10600
10685
  declare namespace io.flow.experiment.internal.v0.models {
10686
+ interface ExperienceExperiment {
10687
+ readonly discriminator: 'experience';
10688
+ readonly id: string;
10689
+ readonly key: string;
10690
+ readonly name: string;
10691
+ readonly description?: string;
10692
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
10693
+ readonly started_at?: string;
10694
+ readonly ended_at?: string;
10695
+ readonly variants: io.flow.experiment.internal.v0.models.ExperienceVariant[];
10696
+ readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
10697
+ }
10698
+
10601
10699
  interface ExperienceVariant {
10602
10700
  readonly discriminator: 'experience_variant';
10603
- readonly experience: io.flow.experience.v0.models.ExperienceReference;
10701
+ readonly experience: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
10604
10702
  readonly traffic_percentage: number;
10605
10703
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
10606
- readonly name?: string;
10607
10704
  }
10608
10705
 
10609
- interface Experiment {
10610
- readonly id: string;
10706
+ interface ExperienceVariantForm {
10707
+ readonly discriminator: 'experience';
10611
10708
  readonly key: string;
10612
- readonly name: string;
10613
- readonly status: io.flow.experiment.internal.v0.enums.Status;
10614
- readonly started_at?: string;
10615
- readonly ended_at?: string;
10616
- readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
10709
+ readonly traffic_percentage: number;
10617
10710
  }
10618
10711
 
10619
10712
  interface ExperimentForm {
10620
10713
  readonly name: string;
10621
- readonly variants: io.flow.experiment.internal.v0.unions.Variant[];
10714
+ readonly description?: string;
10715
+ readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
10716
+ }
10717
+
10718
+ interface ExperimentFormDefault {
10719
+ readonly discriminator: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
10720
+ readonly variants?: io.flow.experiment.internal.v0.models.ExperimentFormDefaultVariant[];
10721
+ }
10722
+
10723
+ interface ExperimentFormDefaultDiscriminator {
10724
+ readonly key: io.flow.experiment.internal.v0.enums.ExperimentDiscriminatorKey;
10725
+ readonly values: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
10726
+ }
10727
+
10728
+ interface ExperimentFormDefaultDiscriminatorValue {
10729
+ readonly key: string;
10730
+ readonly name: string;
10731
+ }
10732
+
10733
+ interface ExperimentFormDefaultVariant {
10734
+ readonly key: string;
10735
+ readonly name: string;
10736
+ readonly traffic_percentage?: number;
10622
10737
  }
10623
10738
 
10624
10739
  interface ExperimentResults {
@@ -10638,26 +10753,56 @@ declare namespace io.flow.experiment.internal.v0.models {
10638
10753
  readonly results: io.flow.experiment.internal.v0.models.ExperimentResults[];
10639
10754
  }
10640
10755
 
10756
+ interface ExperimentVariantSummary {
10757
+ readonly key: string;
10758
+ readonly name?: string;
10759
+ }
10760
+
10641
10761
  interface ExperimentVersion {
10642
10762
  readonly id: string;
10643
10763
  readonly timestamp: string;
10644
10764
  readonly type: io.flow.common.v0.enums.ChangeType;
10645
- readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
10765
+ readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
10646
10766
  }
10647
10767
 
10648
- interface ExternalVariant {
10649
- readonly discriminator: 'external_variant';
10768
+ interface FeatureExperiment {
10769
+ readonly discriminator: 'feature';
10770
+ readonly id: string;
10650
10771
  readonly key: string;
10772
+ readonly name: string;
10773
+ readonly description?: string;
10774
+ readonly status: io.flow.experiment.internal.v0.enums.Status;
10775
+ readonly scope: io.flow.experiment.internal.v0.enums.Scope;
10776
+ readonly started_at?: string;
10777
+ readonly ended_at?: string;
10778
+ readonly variants: io.flow.experiment.internal.v0.models.FeatureVariant[];
10779
+ readonly transitions?: io.flow.experiment.internal.v0.enums.Status[];
10780
+ }
10781
+
10782
+ interface FeatureVariant {
10783
+ readonly discriminator: 'feature_variant';
10784
+ readonly value: io.flow.experiment.internal.v0.models.ExperimentVariantSummary;
10651
10785
  readonly traffic_percentage: number;
10652
10786
  readonly experiment_results?: io.flow.experiment.internal.v0.models.ExperimentResults;
10653
- readonly name: string;
10787
+ }
10788
+
10789
+ interface FeatureVariantForm {
10790
+ readonly discriminator: 'feature';
10791
+ readonly key: string;
10792
+ readonly traffic_percentage: number;
10654
10793
  }
10655
10794
  }
10656
10795
 
10657
10796
  declare namespace io.flow.experiment.internal.v0.unions {
10797
+ type Experiment =
10798
+ | io.flow.experiment.internal.v0.models.ExperienceExperiment
10799
+ | io.flow.experiment.internal.v0.models.FeatureExperiment;
10658
10800
  type Variant =
10659
10801
  | io.flow.experiment.internal.v0.models.ExperienceVariant
10660
- | io.flow.experiment.internal.v0.models.ExternalVariant;
10802
+ | io.flow.experiment.internal.v0.models.FeatureVariant;
10803
+ type VariantForm =
10804
+ | io.flow.experiment.internal.v0.models.ExperienceVariantForm
10805
+ | io.flow.experiment.internal.v0.models.FeatureVariantForm;
10661
10806
  }
10662
10807
 
10663
10808
  declare namespace io.flow.magento.v0.models {
@@ -11804,6 +11949,17 @@ declare namespace io.flow.customer.v0.models {
11804
11949
  readonly payment_methods: io.flow.reference.v0.models.PaymentMethod[];
11805
11950
  }
11806
11951
 
11952
+ interface CustomerPurgeSettings {
11953
+ readonly id: string;
11954
+ readonly days_until_purge_unused: number;
11955
+ readonly days_until_purge_used: number;
11956
+ }
11957
+
11958
+ interface CustomerPurgeSettingsForm {
11959
+ readonly days_until_purge_unused: number;
11960
+ readonly days_until_purge_used: number;
11961
+ }
11962
+
11807
11963
  interface CustomerPutForm {
11808
11964
  readonly email?: string;
11809
11965
  readonly name?: io.flow.common.v0.models.Name;
@@ -12395,6 +12551,11 @@ declare namespace io.flow.billing.internal.v0.models {
12395
12551
  readonly withholdings: io.flow.billing.internal.v0.models.Components;
12396
12552
  readonly parent_transaction_id?: string;
12397
12553
  readonly order?: io.flow.billing.internal.v0.models.BillingOrderSummary;
12554
+ readonly spot_rate: number;
12555
+ readonly flow_rate: number;
12556
+ readonly organization_rate: number;
12557
+ readonly flow_margin: number;
12558
+ readonly organization_margin: number;
12398
12559
  }
12399
12560
 
12400
12561
  interface SubscriptionTransaction {
@@ -12885,6 +13046,7 @@ declare namespace io.flow.internal.v0.enums {
12885
13046
  | 'organization_currency_settings_deleted'
12886
13047
  | 'rate_deleted_v2'
12887
13048
  | 'rate_upserted_v2'
13049
+ | 'customer_purge_upserted'
12888
13050
  | 'customs_description_import'
12889
13051
  | 'customs_description_tariffs_import'
12890
13052
  | 'item_dimension_estimate_upserted_v2'
@@ -13017,7 +13179,6 @@ declare namespace io.flow.internal.v0.enums {
13017
13179
  type FeatureStatus = 'draft' | 'active' | 'archived';
13018
13180
  type FeatureType = 'boolean' | 'decimal' | 'string';
13019
13181
  type FlowApp = 'console';
13020
- type FlowFieldName = 'item-number' | 'sku-attribute' | 'product_id-attribute';
13021
13182
  type Format = 'text' | 'phone' | 'email';
13022
13183
  type FraudProvider = 'flow' | 'riskified' | 'rps' | 'other' | 'none';
13023
13184
  type FraudReviewResponsibleParty = 'flow' | 'organization';
@@ -13030,8 +13191,6 @@ declare namespace io.flow.internal.v0.enums {
13030
13191
  type FtpProtocol = 'sftp' | 'ftp';
13031
13192
  type GoogleAnalyticsPlugin = 'ec';
13032
13193
  type HttpMethod = 'get' | 'post';
13033
- type IncomingFeedFormat = 'google-xml' | 'google-sheet';
13034
- type IncomingFieldName = 'id' | 'mpn';
13035
13194
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
13036
13195
  type ItemClassificationStatus =
13037
13196
  | 'unknown'
@@ -13053,11 +13212,6 @@ declare namespace io.flow.internal.v0.enums {
13053
13212
  | 'fulfillment_generate_label';
13054
13213
  type ItemType = 'standard' | 'multi_product';
13055
13214
  type LabelBillingStrategy = 'quote' | 'carrier';
13056
- type MarketingGatewayAccountMarketLocalizationError =
13057
- | 'no_localization'
13058
- | 'no_existing_market'
13059
- | 'already_configured_external'
13060
- | 'already_configured_flow';
13061
13215
  type MarketingGatewayFeedDownloadFormat = 'tsv';
13062
13216
  type MarketingGatewayFeedState =
13063
13217
  | 'initialized'
@@ -13071,30 +13225,11 @@ declare namespace io.flow.internal.v0.enums {
13071
13225
  | 'in_progress'
13072
13226
  | 'failure'
13073
13227
  | 'none';
13074
- type MarketingGatewayGoogleProductDestinationApprovalStatus =
13075
- | 'approved'
13076
- | 'disapproved'
13077
- | 'pending';
13078
- type MarketingGatewayGoogleProductItemLevelIssueSeverity =
13079
- | 'critical'
13080
- | 'error'
13081
- | 'suggestion';
13082
13228
  type MarketingGatewayPlatform = 'google' | 'facebook';
13083
- type MarketingGatewayProductStatus =
13084
- | 'approved'
13085
- | 'not_approved'
13086
- | 'pending'
13087
- | 'not_found'
13088
- | 'excluded';
13089
13229
  type MarketingGatewaySchemaCompatibility =
13090
13230
  | 'google'
13091
13231
  | 'facebook_master'
13092
13232
  | 'facebook_country_override';
13093
- type MarketingGatewaySyncStatus =
13094
- | 'pending'
13095
- | 'ongoing'
13096
- | 'succeed'
13097
- | 'failed';
13098
13233
  type OrderAction =
13099
13234
  | 'consumer_submit'
13100
13235
  | 'fraud_review_accept'
@@ -13107,11 +13242,6 @@ declare namespace io.flow.internal.v0.enums {
13107
13242
  | 'last_shipment'
13108
13243
  | 'shipment_exhausted';
13109
13244
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
13110
- type OutgoingFeedFormat =
13111
- | 'facebook-xml'
13112
- | 'google-tsv'
13113
- | 'google-xml'
13114
- | 'criteo-xml';
13115
13245
  type PaymentSummaryStatus =
13116
13246
  | 'authorized'
13117
13247
  | 'canceled'
@@ -13172,7 +13302,7 @@ declare namespace io.flow.internal.v0.enums {
13172
13302
  | 'duty';
13173
13303
  type ShopifyPromotionStatus = 'active' | 'inactive';
13174
13304
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
13175
- type Status = 'draft' | 'live' | 'ended' | 'archived';
13305
+ type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
13176
13306
  type SubscriptionFrequency = 'yearly' | 'monthly';
13177
13307
  type SuggestionAction = 'accept' | 'validate' | 'review';
13178
13308
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
@@ -13977,28 +14107,6 @@ declare namespace io.flow.internal.v0.models {
13977
14107
  readonly timestamp: string;
13978
14108
  }
13979
14109
 
13980
- interface CatalogFeed {
13981
- readonly discriminator: 'catalog_feed';
13982
- readonly id: string;
13983
- readonly experience_feed_summaries: io.flow.internal.v0.models.ExperienceFeedSummary[];
13984
- readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13985
- readonly outgoing_feed: io.flow.internal.v0.models.OutgoingFeed;
13986
- readonly feed_statistics_summary: io.flow.internal.v0.models.FeedStatisticsSummary;
13987
- }
13988
-
13989
- interface CatalogFeedFormPost {
13990
- readonly experience_keys: string[];
13991
- readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13992
- readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
13993
- }
13994
-
13995
- interface CatalogFeedFormPut {
13996
- readonly id: string;
13997
- readonly experience_keys: string[];
13998
- readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13999
- readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
14000
- }
14001
-
14002
14110
  interface CatalogImportRequest {
14003
14111
  readonly discriminator: 'catalog_import_request';
14004
14112
  readonly event_id: string;
@@ -14496,6 +14604,14 @@ declare namespace io.flow.internal.v0.models {
14496
14604
  readonly currencies: io.flow.internal.v0.models.CountryPickerCurrency[];
14497
14605
  }
14498
14606
 
14607
+ interface CustomerPurgeUpserted {
14608
+ readonly discriminator: 'customer_purge_upserted';
14609
+ readonly event_id: string;
14610
+ readonly timestamp: string;
14611
+ readonly organization: string;
14612
+ readonly customer: io.flow.customer.v0.models.Customer;
14613
+ }
14614
+
14499
14615
  interface Customs {
14500
14616
  readonly description?: string;
14501
14617
  readonly hs6?: string;
@@ -14826,10 +14942,12 @@ declare namespace io.flow.internal.v0.models {
14826
14942
  readonly id: string;
14827
14943
  readonly key: string;
14828
14944
  readonly name: string;
14945
+ readonly description?: string;
14829
14946
  readonly status: io.flow.internal.v0.enums.Status;
14830
14947
  readonly started_at?: string;
14831
14948
  readonly ended_at?: string;
14832
14949
  readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
14950
+ readonly transitions?: io.flow.internal.v0.enums.Status[];
14833
14951
  }
14834
14952
 
14835
14953
  interface ExperienceExportRequest {
@@ -14842,12 +14960,6 @@ declare namespace io.flow.internal.v0.models {
14842
14960
  readonly export_id: string;
14843
14961
  }
14844
14962
 
14845
- interface ExperienceFeedSummary {
14846
- readonly experience: io.flow.experience.v0.models.ExperienceReference;
14847
- readonly url: string;
14848
- readonly last_construct_date?: string;
14849
- }
14850
-
14851
14963
  interface ExperienceImportRequest {
14852
14964
  readonly discriminator: 'experience_import_request';
14853
14965
  readonly event_id: string;
@@ -14900,6 +15012,7 @@ declare namespace io.flow.internal.v0.models {
14900
15012
 
14901
15013
  interface ExperimentForm {
14902
15014
  readonly name: string;
15015
+ readonly description?: string;
14903
15016
  readonly variants: io.flow.internal.v0.unions.VariantForm[];
14904
15017
  }
14905
15018
 
@@ -14962,7 +15075,7 @@ declare namespace io.flow.internal.v0.models {
14962
15075
  readonly event_id: string;
14963
15076
  readonly timestamp: string;
14964
15077
  readonly organization_id: string;
14965
- readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
15078
+ readonly experiment: io.flow.experiment.internal.v0.unions.Experiment;
14966
15079
  }
14967
15080
 
14968
15081
  interface ExperimentVariantSummary {
@@ -15075,11 +15188,13 @@ declare namespace io.flow.internal.v0.models {
15075
15188
  readonly id: string;
15076
15189
  readonly key: string;
15077
15190
  readonly name: string;
15191
+ readonly description?: string;
15078
15192
  readonly status: io.flow.internal.v0.enums.Status;
15079
15193
  readonly scope: io.flow.internal.v0.enums.Scope;
15080
15194
  readonly started_at?: string;
15081
15195
  readonly ended_at?: string;
15082
15196
  readonly variants: io.flow.internal.v0.models.FeatureVariant[];
15197
+ readonly transitions?: io.flow.internal.v0.enums.Status[];
15083
15198
  }
15084
15199
 
15085
15200
  interface FeatureForm {
@@ -15167,10 +15282,6 @@ declare namespace io.flow.internal.v0.models {
15167
15282
  readonly description?: string;
15168
15283
  }
15169
15284
 
15170
- interface FeedStatisticsSummary {
15171
- readonly last_incoming_date?: string;
15172
- }
15173
-
15174
15285
  interface FeedsExport {
15175
15286
  readonly discriminator: 'feeds_export';
15176
15287
  readonly event_id: string;
@@ -15548,13 +15659,6 @@ declare namespace io.flow.internal.v0.models {
15548
15659
  readonly error: string;
15549
15660
  }
15550
15661
 
15551
- interface IncomingFeed {
15552
- readonly url: string;
15553
- readonly format: io.flow.internal.v0.enums.IncomingFeedFormat;
15554
- readonly minute: number;
15555
- readonly item_link: io.flow.internal.v0.models.ItemLink;
15556
- }
15557
-
15558
15662
  interface InstallForm {
15559
15663
  readonly token: string;
15560
15664
  }
@@ -15792,11 +15896,6 @@ declare namespace io.flow.internal.v0.models {
15792
15896
  readonly duty_composition_rate: number;
15793
15897
  }
15794
15898
 
15795
- interface ItemLink {
15796
- readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
15797
- readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
15798
- }
15799
-
15800
15899
  interface ItemQueryResponse {
15801
15900
  readonly q: string;
15802
15901
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -16190,18 +16289,6 @@ declare namespace io.flow.internal.v0.models {
16190
16289
  readonly apibuilder: string;
16191
16290
  }
16192
16291
 
16193
- interface MarketingGatewayAccountMarketLocalization {
16194
- readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
16195
- readonly compatible_experiences: io.flow.internal.v0.models.MarketingGatewayExperience[];
16196
- readonly existing_markets: io.flow.internal.v0.models.MarketingGatewayExistingMarket[];
16197
- readonly configured_markets?: io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
16198
- readonly error?: io.flow.internal.v0.enums.MarketingGatewayAccountMarketLocalizationError;
16199
- }
16200
-
16201
- interface MarketingGatewayAccountMarkets {
16202
- readonly apibuilder: string;
16203
- }
16204
-
16205
16292
  interface MarketingGatewayChannelForm {
16206
16293
  readonly platform: io.flow.internal.v0.enums.MarketingGatewayPlatform;
16207
16294
  readonly account_id: number;
@@ -16214,34 +16301,12 @@ declare namespace io.flow.internal.v0.models {
16214
16301
  }
16215
16302
 
16216
16303
  interface MarketingGatewayConfiguredMarket {
16217
- readonly id: string;
16218
- readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
16219
- readonly experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
16220
- readonly existing_market_id: string;
16221
- readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
16222
- readonly sync_status: io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
16223
- readonly synced_at?: string;
16224
- }
16225
-
16226
- interface MarketingGatewayConfiguredMarketForm {
16227
- readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
16228
- readonly experience: io.flow.internal.v0.models.MarketingGatewayExperience;
16229
- readonly existing_market_id: string;
16230
- }
16231
-
16232
- interface MarketingGatewayExistingMarket {
16233
- readonly id: string;
16234
- readonly market: io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
16235
- readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
16236
- readonly sync_status: io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
16237
- readonly synced_at?: string;
16304
+ readonly apibuilder: string;
16238
16305
  }
16239
16306
 
16240
- interface MarketingGatewayExperience {
16241
- readonly id: string;
16242
- readonly name: string;
16243
- readonly key: string;
16244
- readonly subcatalog_id: string;
16307
+ interface MarketingGatewayDistributionChannelGoogle {
16308
+ readonly discriminator: 'marketing_gateway_distribution_channel_google';
16309
+ readonly account_id: number;
16245
16310
  }
16246
16311
 
16247
16312
  interface MarketingGatewayFeed {
@@ -16269,6 +16334,7 @@ declare namespace io.flow.internal.v0.models {
16269
16334
  readonly currency: string;
16270
16335
  readonly language: string;
16271
16336
  readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
16337
+ readonly distribution_channel?: io.flow.internal.v0.unions.MarketingGatewayDistributionChannel;
16272
16338
  }
16273
16339
 
16274
16340
  interface MarketingGatewayFeedFormRequest {
@@ -16366,24 +16432,6 @@ declare namespace io.flow.internal.v0.models {
16366
16432
  readonly refresh_token: string;
16367
16433
  }
16368
16434
 
16369
- interface MarketingGatewayGoogleCustomLabels {
16370
- readonly custom_label_0?: string;
16371
- readonly custom_label_1?: string;
16372
- readonly custom_label_2?: string;
16373
- readonly custom_label_3?: string;
16374
- readonly custom_label_4?: string;
16375
- }
16376
-
16377
- interface MarketingGatewayGoogleCustomProductShippingLocation {
16378
- readonly country?: string;
16379
- readonly location_group_name?: string;
16380
- readonly location_id?: number;
16381
- readonly post_code?: string;
16382
- readonly price: io.flow.internal.v0.models.MarketingGatewayGooglePrice;
16383
- readonly region?: string;
16384
- readonly service?: string;
16385
- }
16386
-
16387
16435
  interface MarketingGatewayGoogleFeedChild {
16388
16436
  readonly discriminator: 'marketing_gateway_google_feed_child';
16389
16437
  readonly id: string;
@@ -16453,138 +16501,6 @@ declare namespace io.flow.internal.v0.models {
16453
16501
  readonly shipping_price?: string;
16454
16502
  }
16455
16503
 
16456
- interface MarketingGatewayGoogleMarket {
16457
- readonly discriminator: 'marketing_gateway_google_market';
16458
- readonly id: string;
16459
- readonly country: string;
16460
- readonly language: string;
16461
- readonly currency: string;
16462
- }
16463
-
16464
- interface MarketingGatewayGooglePrice {
16465
- readonly value: string;
16466
- readonly currency: string;
16467
- readonly label: string;
16468
- }
16469
-
16470
- interface MarketingGatewayGoogleProduct {
16471
- readonly discriminator: 'marketing_gateway_google_product';
16472
- readonly id: string;
16473
- readonly title: string;
16474
- readonly images?: io.flow.internal.v0.models.MarketingGatewayImageLinks;
16475
- readonly description: string;
16476
- readonly attributes: io.flow.internal.v0.models.MarketingGatewayGoogleProductAttributes;
16477
- readonly link: string;
16478
- readonly market: io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
16479
- readonly availability: string;
16480
- readonly item_group_id?: string;
16481
- readonly availability_date?: string;
16482
- readonly expiration_date?: string;
16483
- readonly pricing_details: io.flow.internal.v0.models.MarketingGatewayGoogleProductPricingDetails;
16484
- readonly gtn?: string;
16485
- readonly mpn?: string;
16486
- readonly ads_redirect?: string;
16487
- readonly promotion_ids?: string[];
16488
- readonly size_details: io.flow.internal.v0.models.MarketingGatewayGoogleProductSizeDetails;
16489
- readonly shipping_details: io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingDetails;
16490
- readonly taxes?: io.flow.internal.v0.models.MarketingGatewayGoogleProductTax[];
16491
- readonly custom_labels: io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
16492
- readonly status_details?: io.flow.internal.v0.models.MarketingGatewayGoogleProductStatusDetails;
16493
- readonly status: io.flow.internal.v0.enums.MarketingGatewayProductStatus;
16494
- readonly item_catalog_summary?: io.flow.common.v0.models.CatalogItemSummary;
16495
- }
16496
-
16497
- interface MarketingGatewayGoogleProductAttributes {
16498
- readonly brand?: string;
16499
- readonly color?: string;
16500
- readonly age_group?: string;
16501
- readonly product_type?: string;
16502
- readonly product_types?: string[];
16503
- readonly condition?: string;
16504
- readonly material?: string;
16505
- readonly gender?: string;
16506
- readonly pattern?: string;
16507
- readonly google_product_category: string;
16508
- readonly identifier_exists: boolean;
16509
- readonly is_adult: boolean;
16510
- readonly is_bundle: boolean;
16511
- readonly multipack?: number;
16512
- readonly energy_efficiency_class?: string;
16513
- readonly min_energy_efficiency_class?: string;
16514
- readonly max_energy_efficiency_class?: string;
16515
- }
16516
-
16517
- interface MarketingGatewayGoogleProductDestinationStatus {
16518
- readonly destination: string;
16519
- readonly approval_status: io.flow.internal.v0.enums.MarketingGatewayGoogleProductDestinationApprovalStatus;
16520
- }
16521
-
16522
- interface MarketingGatewayGoogleProductInstallment {
16523
- readonly amount: io.flow.internal.v0.models.MarketingGatewayGooglePrice;
16524
- readonly months: number;
16525
- }
16526
-
16527
- interface MarketingGatewayGoogleProductItemLevelIssue {
16528
- readonly code: string;
16529
- readonly servability: string;
16530
- readonly resolution: string;
16531
- readonly attribute_name?: string;
16532
- readonly destination: string;
16533
- readonly description: string;
16534
- readonly detail?: string;
16535
- readonly documentation: string;
16536
- }
16537
-
16538
- interface MarketingGatewayGoogleProductPricingDetails {
16539
- readonly price: io.flow.internal.v0.models.MarketingGatewayGooglePrice;
16540
- readonly sale_price?: io.flow.internal.v0.models.MarketingGatewayGooglePrice;
16541
- readonly sale_price_effective_date?: string;
16542
- readonly cost_of_goods_sold?: io.flow.internal.v0.models.MarketingGatewayGooglePrice;
16543
- readonly unit_price_measure?: io.flow.internal.v0.models.MarketingGatewayGoogleProductUnitPricingMeasure;
16544
- readonly base_unit_price_measure?: io.flow.internal.v0.models.MarketingGatewayGoogleProductUnitPricingMeasure;
16545
- readonly installment?: io.flow.internal.v0.models.MarketingGatewayGoogleProductInstallment;
16546
- }
16547
-
16548
- interface MarketingGatewayGoogleProductShippingDetails {
16549
- readonly shipping_locations: io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation[];
16550
- readonly shipping_weight?: io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingUnit;
16551
- readonly shipping_length?: io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingUnit;
16552
- readonly shipping_width?: io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingUnit;
16553
- readonly shipping_height?: io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingUnit;
16554
- readonly min_handling_time?: number;
16555
- readonly max_handling_time?: number;
16556
- }
16557
-
16558
- interface MarketingGatewayGoogleProductShippingUnit {
16559
- readonly unit: string;
16560
- readonly value: number;
16561
- }
16562
-
16563
- interface MarketingGatewayGoogleProductSizeDetails {
16564
- readonly sizes?: string[];
16565
- readonly size_type?: string;
16566
- readonly size_system?: string;
16567
- }
16568
-
16569
- interface MarketingGatewayGoogleProductStatusDetails {
16570
- readonly item_level_issues: io.flow.internal.v0.models.MarketingGatewayGoogleProductItemLevelIssue[];
16571
- readonly destination_statuses: io.flow.internal.v0.models.MarketingGatewayGoogleProductDestinationStatus[];
16572
- }
16573
-
16574
- interface MarketingGatewayGoogleProductTax {
16575
- readonly country?: string;
16576
- readonly location_id?: number;
16577
- readonly post_code?: string;
16578
- readonly rate: number;
16579
- readonly region?: string;
16580
- readonly tax_ship: boolean;
16581
- }
16582
-
16583
- interface MarketingGatewayGoogleProductUnitPricingMeasure {
16584
- readonly unit: string;
16585
- readonly value: number;
16586
- }
16587
-
16588
16504
  interface MarketingGatewayGoogleServabilityPenaltyDemoted {
16589
16505
  readonly discriminator: 'marketing_gateway_google_servability_penalty_demoted';
16590
16506
  readonly weight: number;
@@ -16624,33 +16540,11 @@ declare namespace io.flow.internal.v0.models {
16624
16540
  readonly product_count: number;
16625
16541
  }
16626
16542
 
16627
- interface MarketingGatewayImageLinks {
16628
- readonly primary_image_url: string;
16629
- readonly additional_image_urls?: string[];
16630
- }
16631
-
16632
16543
  interface MarketingGatewayLocalizedItem {
16633
16544
  readonly source: io.flow.internal.v0.unions.MarketingGatewayItem;
16634
16545
  readonly localized: io.flow.internal.v0.unions.MarketingGatewayItem;
16635
16546
  }
16636
16547
 
16637
- interface MarketingGatewayProductResult {
16638
- readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
16639
- readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
16640
- readonly configurer_experience?: io.flow.internal.v0.models.MarketingGatewayExperience;
16641
- }
16642
-
16643
- interface MarketingGatewayProductsResult {
16644
- readonly products: io.flow.internal.v0.unions.MarketingGatewayProduct[];
16645
- readonly products_status_counts: io.flow.internal.v0.models.MarketingGatewayProductsStatusCount[];
16646
- readonly total_count: number;
16647
- }
16648
-
16649
- interface MarketingGatewayProductsStatusCount {
16650
- readonly status: io.flow.internal.v0.enums.MarketingGatewayProductStatus;
16651
- readonly count: number;
16652
- }
16653
-
16654
16548
  interface MarketingGatewaySchemaSummary {
16655
16549
  readonly id: string;
16656
16550
  readonly name: string;
@@ -17000,16 +16894,6 @@ declare namespace io.flow.internal.v0.models {
17000
16894
  readonly respect_session_currency: boolean;
17001
16895
  }
17002
16896
 
17003
- interface OutgoingFeed {
17004
- readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
17005
- readonly minute: number;
17006
- }
17007
-
17008
- interface OutgoingFeedForm {
17009
- readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
17010
- readonly minute: number;
17011
- }
17012
-
17013
16897
  interface Partner {
17014
16898
  readonly id: string;
17015
16899
  readonly name: string;
@@ -18665,6 +18549,7 @@ declare namespace io.flow.internal.v0.unions {
18665
18549
  | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted
18666
18550
  | io.flow.internal.v0.models.RateDeletedV2
18667
18551
  | io.flow.internal.v0.models.RateUpsertedV2
18552
+ | io.flow.internal.v0.models.CustomerPurgeUpserted
18668
18553
  | io.flow.internal.v0.models.CustomsDescriptionImport
18669
18554
  | io.flow.internal.v0.models.CustomsDescriptionTariffsImport
18670
18555
  | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2
@@ -18810,7 +18695,6 @@ declare namespace io.flow.internal.v0.unions {
18810
18695
  type FeatureValue =
18811
18696
  | io.flow.internal.v0.models.BooleanFeatureValue
18812
18697
  | io.flow.internal.v0.models.StringFeatureValue;
18813
- type Feed = io.flow.internal.v0.models.CatalogFeed;
18814
18698
  type GlobalSearchResult =
18815
18699
  | io.flow.internal.v0.models.SearchExperienceSummary
18816
18700
  | io.flow.internal.v0.models.SearchExperimentSummary
@@ -18833,6 +18717,7 @@ declare namespace io.flow.internal.v0.unions {
18833
18717
  type LocalizableContent =
18834
18718
  | io.flow.internal.v0.models.LocalizableContentReference
18835
18719
  | io.flow.internal.v0.models.Localization;
18720
+ type MarketingGatewayDistributionChannel = io.flow.internal.v0.models.MarketingGatewayDistributionChannelGoogle;
18836
18721
  type MarketingGatewayFeedSource =
18837
18722
  | io.flow.internal.v0.models.MarketingGatewayFeedSourceFlow
18838
18723
  | io.flow.internal.v0.models.MarketingGatewayFeedSourceGoogle;
@@ -18854,8 +18739,6 @@ declare namespace io.flow.internal.v0.unions {
18854
18739
  | io.flow.internal.v0.models.MarketingGatewayGoogleSeverityError
18855
18740
  | io.flow.internal.v0.models.MarketingGatewayGoogleSeverityCritical;
18856
18741
  type MarketingGatewayItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
18857
- type MarketingGatewayPlatformMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
18858
- type MarketingGatewayProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
18859
18742
  type MarketingGatewaySourceSummary =
18860
18743
  | io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary
18861
18744
  | io.flow.internal.v0.models.MarketingGatewayFlowSourceSummary;
@@ -19033,9 +18916,6 @@ export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUp
19033
18916
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
19034
18917
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
19035
18918
  export type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
19036
- export type CatalogFeed = io.flow.internal.v0.models.CatalogFeed;
19037
- export type CatalogFeedFormPost = io.flow.internal.v0.models.CatalogFeedFormPost;
19038
- export type CatalogFeedFormPut = io.flow.internal.v0.models.CatalogFeedFormPut;
19039
18919
  export type CatalogImportRequest = io.flow.internal.v0.models.CatalogImportRequest;
19040
18920
  export type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType;
19041
18921
  export type CatalogItemBatchIndexTask = io.flow.internal.v0.models.CatalogItemBatchIndexTask;
@@ -19127,6 +19007,7 @@ export type CountryPickerCountry = io.flow.internal.v0.models.CountryPickerCount
19127
19007
  export type CountryPickerCurrency = io.flow.internal.v0.models.CountryPickerCurrency;
19128
19008
  export type CountryPickerData = io.flow.internal.v0.models.CountryPickerData;
19129
19009
  export type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus;
19010
+ export type CustomerPurgeUpserted = io.flow.internal.v0.models.CustomerPurgeUpserted;
19130
19011
  export type Customs = io.flow.internal.v0.models.Customs;
19131
19012
  export type CustomsDescriptionImport = io.flow.internal.v0.models.CustomsDescriptionImport;
19132
19013
  export type CustomsDescriptionStatistics = io.flow.internal.v0.models.CustomsDescriptionStatistics;
@@ -19184,7 +19065,6 @@ export type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpse
19184
19065
  export type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
19185
19066
  export type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
19186
19067
  export type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
19187
- export type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
19188
19068
  export type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
19189
19069
  export type ExperienceImportType = io.flow.internal.v0.enums.ExperienceImportType;
19190
19070
  export type ExperienceOrderAction = io.flow.internal.v0.enums.ExperienceOrderAction;
@@ -19246,8 +19126,6 @@ export type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
19246
19126
  export type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
19247
19127
  export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
19248
19128
  export type Fee = io.flow.internal.v0.models.Fee;
19249
- export type Feed = io.flow.internal.v0.unions.Feed;
19250
- export type FeedStatisticsSummary = io.flow.internal.v0.models.FeedStatisticsSummary;
19251
19129
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
19252
19130
  export type Fees = io.flow.internal.v0.models.Fees;
19253
19131
  export type FiservAuthenticationDataReference = io.flow.internal.v0.models.FiservAuthenticationDataReference;
@@ -19255,7 +19133,6 @@ export type FlowApp = io.flow.internal.v0.enums.FlowApp;
19255
19133
  export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
19256
19134
  export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
19257
19135
  export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
19258
- export type FlowFieldName = io.flow.internal.v0.enums.FlowFieldName;
19259
19136
  export type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting;
19260
19137
  export type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelSettingForm;
19261
19138
  export type Format = io.flow.internal.v0.enums.Format;
@@ -19309,9 +19186,6 @@ export type Href = io.flow.internal.v0.models.Href;
19309
19186
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
19310
19187
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
19311
19188
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
19312
- export type IncomingFeed = io.flow.internal.v0.models.IncomingFeed;
19313
- export type IncomingFeedFormat = io.flow.internal.v0.enums.IncomingFeedFormat;
19314
- export type IncomingFieldName = io.flow.internal.v0.enums.IncomingFieldName;
19315
19189
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
19316
19190
  export type InstallForm = io.flow.internal.v0.models.InstallForm;
19317
19191
  export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
@@ -19351,7 +19225,6 @@ export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportReq
19351
19225
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
19352
19226
  export type ItemHarmonizationStatus = io.flow.internal.v0.enums.ItemHarmonizationStatus;
19353
19227
  export type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
19354
- export type ItemLink = io.flow.internal.v0.models.ItemLink;
19355
19228
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
19356
19229
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
19357
19230
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
@@ -19412,15 +19285,11 @@ export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
19412
19285
  export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
19413
19286
  export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
19414
19287
  export type MarketingGatewayAccountConnection = io.flow.internal.v0.models.MarketingGatewayAccountConnection;
19415
- export type MarketingGatewayAccountMarketLocalization = io.flow.internal.v0.models.MarketingGatewayAccountMarketLocalization;
19416
- export type MarketingGatewayAccountMarketLocalizationError = io.flow.internal.v0.enums.MarketingGatewayAccountMarketLocalizationError;
19417
- export type MarketingGatewayAccountMarkets = io.flow.internal.v0.models.MarketingGatewayAccountMarkets;
19418
19288
  export type MarketingGatewayChannelForm = io.flow.internal.v0.models.MarketingGatewayChannelForm;
19419
19289
  export type MarketingGatewayChannelSourceSummary = io.flow.internal.v0.models.MarketingGatewayChannelSourceSummary;
19420
19290
  export type MarketingGatewayConfiguredMarket = io.flow.internal.v0.models.MarketingGatewayConfiguredMarket;
19421
- export type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.models.MarketingGatewayConfiguredMarketForm;
19422
- export type MarketingGatewayExistingMarket = io.flow.internal.v0.models.MarketingGatewayExistingMarket;
19423
- export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
19291
+ export type MarketingGatewayDistributionChannel = io.flow.internal.v0.unions.MarketingGatewayDistributionChannel;
19292
+ export type MarketingGatewayDistributionChannelGoogle = io.flow.internal.v0.models.MarketingGatewayDistributionChannelGoogle;
19424
19293
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
19425
19294
  export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
19426
19295
  export type MarketingGatewayFeedExportForm = io.flow.internal.v0.models.MarketingGatewayFeedExportForm;
@@ -19443,8 +19312,6 @@ export type MarketingGatewayGoogleAccountSummary = io.flow.internal.v0.models.Ma
19443
19312
  export type MarketingGatewayGoogleConnection = io.flow.internal.v0.models.MarketingGatewayGoogleConnection;
19444
19313
  export type MarketingGatewayGoogleConnectionForm = io.flow.internal.v0.models.MarketingGatewayGoogleConnectionForm;
19445
19314
  export type MarketingGatewayGoogleConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayGoogleConnectionStatus;
19446
- export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
19447
- export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
19448
19315
  export type MarketingGatewayGoogleFeed = io.flow.internal.v0.unions.MarketingGatewayGoogleFeed;
19449
19316
  export type MarketingGatewayGoogleFeedChild = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChild;
19450
19317
  export type MarketingGatewayGoogleFeedChildForm = io.flow.internal.v0.models.MarketingGatewayGoogleFeedChildForm;
@@ -19456,22 +19323,6 @@ export type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.Market
19456
19323
  export type MarketingGatewayGoogleIssueScopeAccount = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeAccount;
19457
19324
  export type MarketingGatewayGoogleIssueScopeCountry = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeCountry;
19458
19325
  export type MarketingGatewayGoogleItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
19459
- export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
19460
- export type MarketingGatewayGooglePrice = io.flow.internal.v0.models.MarketingGatewayGooglePrice;
19461
- export type MarketingGatewayGoogleProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
19462
- export type MarketingGatewayGoogleProductAttributes = io.flow.internal.v0.models.MarketingGatewayGoogleProductAttributes;
19463
- export type MarketingGatewayGoogleProductDestinationApprovalStatus = io.flow.internal.v0.enums.MarketingGatewayGoogleProductDestinationApprovalStatus;
19464
- export type MarketingGatewayGoogleProductDestinationStatus = io.flow.internal.v0.models.MarketingGatewayGoogleProductDestinationStatus;
19465
- export type MarketingGatewayGoogleProductInstallment = io.flow.internal.v0.models.MarketingGatewayGoogleProductInstallment;
19466
- export type MarketingGatewayGoogleProductItemLevelIssue = io.flow.internal.v0.models.MarketingGatewayGoogleProductItemLevelIssue;
19467
- export type MarketingGatewayGoogleProductItemLevelIssueSeverity = io.flow.internal.v0.enums.MarketingGatewayGoogleProductItemLevelIssueSeverity;
19468
- export type MarketingGatewayGoogleProductPricingDetails = io.flow.internal.v0.models.MarketingGatewayGoogleProductPricingDetails;
19469
- export type MarketingGatewayGoogleProductShippingDetails = io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingDetails;
19470
- export type MarketingGatewayGoogleProductShippingUnit = io.flow.internal.v0.models.MarketingGatewayGoogleProductShippingUnit;
19471
- export type MarketingGatewayGoogleProductSizeDetails = io.flow.internal.v0.models.MarketingGatewayGoogleProductSizeDetails;
19472
- export type MarketingGatewayGoogleProductStatusDetails = io.flow.internal.v0.models.MarketingGatewayGoogleProductStatusDetails;
19473
- export type MarketingGatewayGoogleProductTax = io.flow.internal.v0.models.MarketingGatewayGoogleProductTax;
19474
- export type MarketingGatewayGoogleProductUnitPricingMeasure = io.flow.internal.v0.models.MarketingGatewayGoogleProductUnitPricingMeasure;
19475
19326
  export type MarketingGatewayGoogleServabilityPenalty = io.flow.internal.v0.unions.MarketingGatewayGoogleServabilityPenalty;
19476
19327
  export type MarketingGatewayGoogleServabilityPenaltyDemoted = io.flow.internal.v0.models.MarketingGatewayGoogleServabilityPenaltyDemoted;
19477
19328
  export type MarketingGatewayGoogleServabilityPenaltyDisapproved = io.flow.internal.v0.models.MarketingGatewayGoogleServabilityPenaltyDisapproved;
@@ -19481,20 +19332,12 @@ export type MarketingGatewayGoogleSeverityCritical = io.flow.internal.v0.models.
19481
19332
  export type MarketingGatewayGoogleSeverityError = io.flow.internal.v0.models.MarketingGatewayGoogleSeverityError;
19482
19333
  export type MarketingGatewayGoogleSeveritySuggestion = io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion;
19483
19334
  export type MarketingGatewayGoogleSourceSummary = io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary;
19484
- export type MarketingGatewayImageLinks = io.flow.internal.v0.models.MarketingGatewayImageLinks;
19485
19335
  export type MarketingGatewayItem = io.flow.internal.v0.unions.MarketingGatewayItem;
19486
19336
  export type MarketingGatewayLocalizedItem = io.flow.internal.v0.models.MarketingGatewayLocalizedItem;
19487
19337
  export type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
19488
- export type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
19489
- export type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
19490
- export type MarketingGatewayProductResult = io.flow.internal.v0.models.MarketingGatewayProductResult;
19491
- export type MarketingGatewayProductStatus = io.flow.internal.v0.enums.MarketingGatewayProductStatus;
19492
- export type MarketingGatewayProductsResult = io.flow.internal.v0.models.MarketingGatewayProductsResult;
19493
- export type MarketingGatewayProductsStatusCount = io.flow.internal.v0.models.MarketingGatewayProductsStatusCount;
19494
19338
  export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
19495
19339
  export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
19496
19340
  export type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
19497
- export type MarketingGatewaySyncStatus = io.flow.internal.v0.enums.MarketingGatewaySyncStatus;
19498
19341
  export type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
19499
19342
  export type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
19500
19343
  export type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
@@ -19548,9 +19391,6 @@ export type OrganizationMembershipCopy = io.flow.internal.v0.models.Organization
19548
19391
  export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
19549
19392
  export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
19550
19393
  export type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
19551
- export type OutgoingFeed = io.flow.internal.v0.models.OutgoingFeed;
19552
- export type OutgoingFeedForm = io.flow.internal.v0.models.OutgoingFeedForm;
19553
- export type OutgoingFeedFormat = io.flow.internal.v0.enums.OutgoingFeedFormat;
19554
19394
  export type Partner = io.flow.internal.v0.models.Partner;
19555
19395
  export type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization;
19556
19396
  export type PartnerAuthorizationForm = io.flow.internal.v0.models.PartnerAuthorizationForm;