@flowio/types 8.0.3 → 8.0.4

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.
@@ -259,7 +259,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
259
259
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
260
260
  readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
261
261
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
262
- readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
262
+ readonly configuration: unknown;
263
263
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
264
264
  readonly customer?: io.flow.customer.v0.models.Customer;
265
265
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -279,7 +279,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
279
279
  readonly provinces: io.flow.reference.v0.models.Province[];
280
280
  readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
281
281
  readonly metadata?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
282
- readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
282
+ readonly configuration?: unknown;
283
283
  readonly address_configurations?: io.flow.experience.v0.models.AddressConfiguration[];
284
284
  readonly customer?: io.flow.customer.v0.models.Customer;
285
285
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -409,9 +409,7 @@ declare namespace io.flow.tracking.v0.models {
409
409
  readonly id: string;
410
410
  readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
411
411
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
412
- readonly attributes: {
413
- [key: string]: string;
414
- };
412
+ readonly attributes: Record<string, string>;
415
413
  readonly url: string;
416
414
  readonly window?: io.flow.common.v0.models.DatetimeRange;
417
415
  readonly order_number?: string;
@@ -444,9 +442,7 @@ declare namespace io.flow.tracking.v0.models {
444
442
  interface TrackingForm {
445
443
  readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
446
444
  readonly order_number?: string;
447
- readonly attributes?: {
448
- [key: string]: string;
449
- };
445
+ readonly attributes?: Record<string, string>;
450
446
  readonly window?: io.flow.common.v0.models.DatetimeRange;
451
447
  }
452
448
  interface TrackingLabel {
@@ -630,9 +626,7 @@ declare namespace io.flow.experience.v0.models {
630
626
  readonly description: string;
631
627
  readonly value: io.flow.common.v0.models.PriceWithBase;
632
628
  readonly original: io.flow.experience.v0.models.OriginalPrices;
633
- readonly attributes: {
634
- [key: string]: string;
635
- };
629
+ readonly attributes: Record<string, string>;
636
630
  }
637
631
  interface CreditPaymentError {
638
632
  readonly code: io.flow.experience.v0.enums.CreditPaymentErrorCode;
@@ -645,9 +639,7 @@ declare namespace io.flow.experience.v0.models {
645
639
  readonly amount: number;
646
640
  readonly max: number;
647
641
  readonly currency: string;
648
- readonly attributes?: {
649
- [key: string]: string;
650
- };
642
+ readonly attributes?: Record<string, string>;
651
643
  }
652
644
  interface CreditPaymentVersion {
653
645
  readonly id: string;
@@ -666,9 +658,7 @@ declare namespace io.flow.experience.v0.models {
666
658
  readonly code?: string;
667
659
  readonly label: string;
668
660
  readonly price: io.flow.common.v0.models.PriceWithBase;
669
- readonly attributes?: {
670
- [key: string]: string;
671
- };
661
+ readonly attributes?: Record<string, string>;
672
662
  }
673
663
  interface Experience {
674
664
  readonly discriminator: 'experience';
@@ -839,17 +829,13 @@ declare namespace io.flow.experience.v0.models {
839
829
  readonly key: string;
840
830
  readonly trigger: io.flow.experience.v0.models.OrderPromotionTrigger;
841
831
  readonly max?: io.flow.common.v0.models.Price;
842
- readonly attributes: {
843
- [key: string]: string;
844
- };
832
+ readonly attributes: Record<string, string>;
845
833
  }
846
834
  interface FreeShippingOrderPromotionForm {
847
835
  readonly discriminator: 'free_shipping_order_promotion_form';
848
836
  readonly trigger: io.flow.experience.v0.models.PromotionTriggerForm;
849
837
  readonly max?: io.flow.common.v0.models.PriceForm;
850
- readonly attributes?: {
851
- [key: string]: string;
852
- };
838
+ readonly attributes?: Record<string, string>;
853
839
  }
854
840
  interface ItemMargin {
855
841
  readonly id: string;
@@ -886,9 +872,7 @@ declare namespace io.flow.experience.v0.models {
886
872
  readonly quantity: number;
887
873
  readonly price: io.flow.common.v0.models.PriceWithBase;
888
874
  readonly total: io.flow.common.v0.models.PriceWithBase;
889
- readonly attributes?: {
890
- [key: string]: string;
891
- };
875
+ readonly attributes?: Record<string, string>;
892
876
  }
893
877
  interface LocalizedLineItem {
894
878
  readonly number: string;
@@ -898,9 +882,7 @@ declare namespace io.flow.experience.v0.models {
898
882
  readonly price?: io.flow.common.v0.models.Money;
899
883
  readonly discount?: io.flow.experience.v0.models.LocalizedLineItemDiscount;
900
884
  readonly discounts?: io.flow.experience.v0.models.LocalizedLineItemDiscount[];
901
- readonly attributes?: {
902
- [key: string]: string;
903
- };
885
+ readonly attributes?: Record<string, string>;
904
886
  readonly local: io.flow.catalog.v0.models.Local;
905
887
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
906
888
  readonly price_source?: io.flow.common.v0.unions.PriceSource;
@@ -931,9 +913,7 @@ declare namespace io.flow.experience.v0.models {
931
913
  readonly selections: string[];
932
914
  readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[];
933
915
  readonly total: io.flow.catalog.v0.models.LocalizedTotal;
934
- readonly attributes: {
935
- [key: string]: string;
936
- };
916
+ readonly attributes: Record<string, string>;
937
917
  readonly submitted_at?: string;
938
918
  readonly lines?: io.flow.experience.v0.models.Line[];
939
919
  readonly identifiers?: string[];
@@ -960,9 +940,7 @@ declare namespace io.flow.experience.v0.models {
960
940
  readonly errors?: io.flow.experience.v0.models.OrderError[];
961
941
  }
962
942
  interface OrderBuilderAttributesForm {
963
- readonly attributes: {
964
- [key: string]: string;
965
- };
943
+ readonly attributes: Record<string, string>;
966
944
  }
967
945
  interface OrderBuilderCustomerInvoiceAddressForm {
968
946
  readonly address: io.flow.common.v0.models.BillingAddress;
@@ -1010,9 +988,7 @@ declare namespace io.flow.experience.v0.models {
1010
988
  readonly destination?: io.flow.experience.v0.models.OrderAddress;
1011
989
  readonly discount?: io.flow.common.v0.models.Money;
1012
990
  readonly discounts?: io.flow.common.v0.models.DiscountsForm;
1013
- readonly attributes?: {
1014
- [key: string]: string;
1015
- };
991
+ readonly attributes?: Record<string, string>;
1016
992
  readonly authorization_keys?: string[];
1017
993
  readonly options?: io.flow.experience.v0.models.OrderOptions;
1018
994
  }
@@ -1087,9 +1063,7 @@ declare namespace io.flow.experience.v0.models {
1087
1063
  readonly total: io.flow.common.v0.models.PriceWithBase;
1088
1064
  readonly address?: io.flow.common.v0.models.BillingAddress;
1089
1065
  readonly date?: string;
1090
- readonly attributes?: {
1091
- [key: string]: string;
1092
- };
1066
+ readonly attributes?: Record<string, string>;
1093
1067
  }
1094
1068
  interface OrderPromotionTrigger {
1095
1069
  readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
@@ -1103,9 +1077,7 @@ declare namespace io.flow.experience.v0.models {
1103
1077
  readonly destination?: io.flow.experience.v0.models.OrderAddress;
1104
1078
  readonly discount?: io.flow.common.v0.models.Money;
1105
1079
  readonly discounts?: io.flow.common.v0.models.DiscountsForm;
1106
- readonly attributes?: {
1107
- [key: string]: string;
1108
- };
1080
+ readonly attributes?: Record<string, string>;
1109
1081
  readonly authorization_keys?: string[];
1110
1082
  readonly options?: io.flow.experience.v0.models.OrderOptions;
1111
1083
  }
@@ -1155,9 +1127,7 @@ declare namespace io.flow.experience.v0.models {
1155
1127
  readonly adjustment?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1156
1128
  readonly total: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1157
1129
  readonly lines: io.flow.experience.v0.models.OrderSummaryLineItem[];
1158
- readonly identifiers?: {
1159
- [key: string]: string;
1160
- };
1130
+ readonly identifiers?: Record<string, string>;
1161
1131
  }
1162
1132
  interface OrderSummaryImage {
1163
1133
  readonly url: string;
@@ -1172,9 +1142,7 @@ declare namespace io.flow.experience.v0.models {
1172
1142
  readonly discount?: io.flow.common.v0.models.Price;
1173
1143
  readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1174
1144
  readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1175
- readonly price_attributes: {
1176
- [key: string]: io.flow.common.v0.models.Price;
1177
- };
1145
+ readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1178
1146
  }
1179
1147
  interface OrderSummaryLevy {
1180
1148
  readonly rate: number;
@@ -1188,9 +1156,7 @@ declare namespace io.flow.experience.v0.models {
1188
1156
  readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1189
1157
  readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1190
1158
  readonly total: io.flow.common.v0.models.Price;
1191
- readonly price_attributes: {
1192
- [key: string]: io.flow.common.v0.models.Price;
1193
- };
1159
+ readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1194
1160
  }
1195
1161
  interface OrderSummaryPriceDetail {
1196
1162
  readonly price: io.flow.common.v0.models.Price;
@@ -1222,9 +1188,7 @@ declare namespace io.flow.experience.v0.models {
1222
1188
  readonly display_position: number;
1223
1189
  readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
1224
1190
  readonly issuers?: io.flow.experience.v0.models.PaymentMethodIssuer[];
1225
- readonly programs?: {
1226
- [key: string]: string;
1227
- }[];
1191
+ readonly programs?: any[];
1228
1192
  readonly q?: io.flow.query.builder.v0.models.Query;
1229
1193
  }
1230
1194
  interface PaymentMethodRuleContent {
@@ -1325,6 +1289,32 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
1325
1289
  readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
1326
1290
  }
1327
1291
  }
1292
+ declare namespace io.flow.order.price.v0.enums {
1293
+ type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
1294
+ type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
1295
+ }
1296
+ declare namespace io.flow.order.price.v0.models {
1297
+ interface OrderPriceDetail {
1298
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
1299
+ readonly currency: string;
1300
+ readonly amount: number;
1301
+ readonly label: string;
1302
+ readonly base: io.flow.common.v0.models.Price;
1303
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
1304
+ readonly name?: string;
1305
+ readonly rate?: number;
1306
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
1307
+ readonly rate_label?: string;
1308
+ }
1309
+ interface OrderPriceDetailComponent {
1310
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
1311
+ readonly currency: string;
1312
+ readonly amount: number;
1313
+ readonly label: string;
1314
+ readonly base: io.flow.common.v0.models.Price;
1315
+ readonly name?: string;
1316
+ }
1317
+ }
1328
1318
  declare namespace io.flow.field.validation.v0.models {
1329
1319
  interface FieldValidationMax {
1330
1320
  readonly discriminator: 'max';
@@ -1426,1438 +1416,823 @@ declare namespace io.flow.item.v0.models {
1426
1416
  readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
1427
1417
  readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1428
1418
  readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1429
- readonly attributes: {
1430
- [key: string]: io.flow.common.v0.models.PriceWithBase;
1431
- };
1419
+ readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
1432
1420
  }
1433
1421
  }
1434
- declare namespace io.flow.harmonization.internal.event.v0.enums {
1435
- type SuggestionAction = 'accept' | 'validate' | 'review';
1422
+ declare namespace io.flow.flexe.v0.enums {
1423
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1424
+ type FlexeNotification = 'receipt' | 'shipment';
1425
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1426
+ type FlexeStatus = 'in_transit' | 'completed';
1436
1427
  }
1437
- declare namespace io.flow.harmonization.internal.event.v0.models {
1438
- interface AllItemsExport {
1439
- readonly discriminator: 'all_items_export';
1440
- readonly event_id: string;
1441
- readonly timestamp: string;
1442
- readonly organization: string;
1443
- readonly export_id: string;
1428
+ declare namespace io.flow.flexe.v0.models {
1429
+ interface BillOfLading {
1430
+ readonly type: string;
1431
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1444
1432
  }
1445
- interface BatchRateRefillRequest {
1446
- readonly discriminator: 'batch_rate_refill_request';
1447
- readonly requests: io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1433
+ interface BillTo {
1434
+ readonly name: string;
1435
+ readonly address_1: string;
1436
+ readonly locality: string;
1437
+ readonly region: string;
1438
+ readonly postal_code: string;
1439
+ readonly country: string;
1440
+ readonly address_2?: string;
1441
+ readonly address_3?: string;
1448
1442
  }
1449
- interface BlacklistedItemCreated {
1450
- readonly discriminator: 'blacklisted_item_created';
1451
- readonly event_id: string;
1452
- readonly timestamp: string;
1453
- readonly organization: string;
1454
- readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
1443
+ interface CartonPickDeliveryDetails {
1444
+ readonly shipment_uuid?: string;
1445
+ readonly carrier?: string;
1446
+ readonly carrier_id?: string;
1455
1447
  }
1456
- interface BlacklistedItemDeleted {
1457
- readonly discriminator: 'blacklisted_item_deleted';
1458
- readonly event_id: string;
1459
- readonly timestamp: string;
1460
- readonly organization: string;
1461
- readonly id: string;
1448
+ interface ContainerDeliveryDetails {
1449
+ readonly purchase_order: string;
1450
+ readonly container_number?: string;
1451
+ readonly seal_number?: string;
1452
+ readonly vendor?: string;
1453
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1454
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1455
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1456
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1462
1457
  }
1463
- interface BlacklistedItemUpdated {
1464
- readonly discriminator: 'blacklisted_item_updated';
1465
- readonly event_id: string;
1466
- readonly timestamp: string;
1467
- readonly organization: string;
1468
- readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
1458
+ interface DeliveryDetails {
1459
+ readonly shipment_uuid?: string;
1460
+ readonly trailer_number?: string;
1461
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
1462
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1469
1463
  }
1470
- interface CustomsDescriptionImport {
1471
- readonly discriminator: 'customs_description_import';
1472
- readonly event_id: string;
1473
- readonly timestamp: string;
1474
- readonly organization: string;
1475
- readonly import_id: string;
1476
- readonly source_url: string;
1477
- readonly filename?: string;
1464
+ interface Error {
1465
+ readonly url: string;
1466
+ readonly client_request_id: string;
1467
+ readonly generated_at: string;
1468
+ readonly error: string;
1478
1469
  }
1479
- interface CustomsDescriptionSugestion {
1480
- readonly value: number;
1481
- readonly customs_description: string;
1482
- readonly action?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1470
+ interface FlexeAttachment {
1471
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1472
+ readonly display_name: string;
1473
+ readonly url: string;
1483
1474
  }
1484
- interface CustomsDescriptionSugestionCreated {
1485
- readonly discriminator: 'customs_description_sugestion_created';
1486
- readonly event_id: string;
1487
- readonly timestamp: string;
1488
- readonly organization: string;
1489
- readonly item_id: string;
1490
- readonly suggestions: io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1491
- readonly model_id: string;
1475
+ interface FlexeEcommerceFulfillment {
1476
+ readonly url: string;
1477
+ readonly client_request_id: string;
1478
+ readonly generated_at: string;
1479
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1480
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1492
1481
  }
1493
- interface CustomsDescriptionTariffsImport {
1494
- readonly discriminator: 'customs_description_tariffs_import';
1495
- readonly event_id: string;
1496
- readonly timestamp: string;
1497
- readonly organization: string;
1482
+ interface FlexeEcommerceFulfillmentData {
1498
1483
  readonly import_id: string;
1499
- readonly source_url: string;
1500
- readonly filename?: string;
1501
- }
1502
- interface DutiedItemsExport {
1503
- readonly discriminator: 'dutied_items_export';
1504
- readonly event_id: string;
1505
- readonly timestamp: string;
1506
- readonly organization: string;
1507
- readonly export_id: string;
1508
- readonly origin?: string;
1509
- readonly destination: string;
1510
- readonly item_numbers?: string[];
1484
+ readonly succeeded_uuids: string[];
1485
+ readonly failed_uuids: string[];
1486
+ readonly errors: string[];
1511
1487
  }
1512
- interface HarmonizationCodesImport {
1513
- readonly discriminator: 'harmonization_codes_import';
1514
- readonly event_id: string;
1515
- readonly timestamp: string;
1516
- readonly organization: string;
1517
- readonly import_id: string;
1518
- readonly source_url: string;
1519
- readonly filename?: string;
1488
+ interface FlexeEcommerceFulfillmentErrors {
1489
+ readonly status: string;
1490
+ readonly title: string;
1491
+ readonly detail: string;
1492
+ readonly source?: string;
1520
1493
  }
1521
- interface HarmonizationPhraseSuggestionRequestImport {
1522
- readonly discriminator: 'harmonization_phrase_suggestion_request_import';
1523
- readonly event_id: string;
1524
- readonly timestamp: string;
1525
- readonly organization: string;
1526
- readonly import_id: string;
1527
- readonly source_url: string;
1528
- readonly filename?: string;
1494
+ interface FlexeEcommerceFulfillmentForm {
1495
+ readonly reservation_id: number;
1496
+ readonly client_request_id: string;
1497
+ readonly request: io.flow.flexe.v0.models.Orders;
1529
1498
  }
1530
- interface HarmonizeFullyRequest {
1531
- readonly discriminator: 'harmonize_fully_request';
1532
- readonly event_id: string;
1533
- readonly timestamp: string;
1534
- readonly item_id: string;
1499
+ interface FlexeInventoryData {
1500
+ readonly sku: string;
1501
+ readonly quantity: string;
1502
+ readonly unit: string;
1535
1503
  }
1536
- interface HarmonizeFullyWithRate {
1537
- readonly discriminator: 'harmonize_fully_with_rate';
1538
- readonly event_id: string;
1539
- readonly timestamp: string;
1540
- readonly duty_rate: io.flow.duty.internal.v0.models.DutyRate;
1504
+ interface FlexeRetailAttachment {
1505
+ readonly display_name: string;
1506
+ readonly url: string;
1541
1507
  }
1542
- interface HarmonizedItemsHs6Export {
1543
- readonly discriminator: 'harmonized_items_hs6_export';
1544
- readonly event_id: string;
1545
- readonly timestamp: string;
1546
- readonly organization: string;
1547
- readonly export_id: string;
1508
+ interface FlexeRetailFulfillment {
1509
+ readonly url: string;
1510
+ readonly client_request_id: string;
1511
+ readonly generated_at: string;
1512
+ readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1513
+ readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1548
1514
  }
1549
- interface ItemClassificationCreated {
1550
- readonly discriminator: 'item_classification_created';
1551
- readonly event_id: string;
1552
- readonly timestamp: string;
1553
- readonly organization: string;
1554
- readonly item_number: string;
1555
- readonly model_id: string;
1556
- readonly labels_prediction: io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1557
- readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1515
+ interface FlexeRetailFulfillmentData {
1516
+ readonly id: string;
1517
+ readonly purchase_order_uuid: string;
1518
+ readonly status: string;
1558
1519
  }
1559
- interface ItemHarmonized {
1560
- readonly discriminator: 'item_harmonized';
1561
- readonly event_id: string;
1562
- readonly timestamp: string;
1563
- readonly organization: string;
1564
- readonly item_number: string;
1565
- readonly product_id: string;
1566
- readonly customs_description: string;
1567
- readonly countries_of_origin: string[];
1568
- readonly hs_6: string;
1569
- readonly tariffs: {
1570
- [key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
1571
- };
1520
+ interface FlexeRetailFulfillmentErrors {
1521
+ readonly type: string;
1522
+ readonly message: string;
1572
1523
  }
1573
- interface LabelsPrediction {
1574
- readonly main_material: {
1575
- [key: string]: number;
1576
- };
1577
- readonly gender: {
1578
- [key: string]: number;
1579
- };
1580
- readonly construction: {
1581
- [key: string]: number;
1582
- };
1583
- readonly product_type: {
1584
- [key: string]: number;
1585
- };
1524
+ interface FlexeRetailFulfillmentForm {
1525
+ readonly reservation_id: number;
1526
+ readonly client_request_id?: string;
1527
+ readonly request: io.flow.flexe.v0.models.RetailOrder;
1586
1528
  }
1587
- interface LandedCostExport {
1588
- readonly discriminator: 'landed_cost_export';
1589
- readonly event_id: string;
1590
- readonly timestamp: string;
1591
- readonly organization: string;
1592
- readonly export_id: string;
1593
- readonly items: io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1529
+ interface FulfillmentOrderDetails {
1530
+ readonly shipment_uuid: string;
1531
+ readonly carrier?: string;
1532
+ readonly carrier_id?: string;
1594
1533
  }
1595
- interface LandedCostItem {
1534
+ interface Gs1Us {
1596
1535
  readonly number: string;
1597
- readonly origin: string;
1598
- readonly destination: string;
1536
+ readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1537
+ readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1599
1538
  }
1600
- interface PhraseClassified {
1601
- readonly event_id: string;
1602
- readonly timestamp: string;
1603
- readonly phrase_id: string;
1539
+ interface Gs1UsShipTo {
1540
+ readonly cid_number?: string;
1541
+ readonly location_number?: string;
1542
+ readonly free_on_board?: boolean;
1604
1543
  }
1605
- interface PhrasePropagated {
1606
- readonly event_id: string;
1607
- readonly timestamp: string;
1608
- readonly phrase_id: string;
1609
- }
1610
- interface RateRefillRequest {
1611
- readonly discriminator: 'rate_refill_request';
1612
- readonly phrase_id: string;
1613
- readonly hs6_code: string;
1614
- readonly destinations: io.flow.reference.v0.models.Country[];
1615
- readonly origin: io.flow.reference.v0.models.Country;
1616
- readonly organization_id?: string;
1617
- }
1618
- interface UnharmonizedItemsExport {
1619
- readonly discriminator: 'unharmonized_items_export';
1620
- readonly event_id: string;
1621
- readonly timestamp: string;
1622
- readonly organization: string;
1623
- readonly export_id: string;
1624
- }
1625
- }
1626
- declare namespace io.flow.harmonization.internal.event.v0.unions {
1627
- type CustomsDescriptions = io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
1628
- type HarmonizationEvent = io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted;
1629
- type HarmonizationExportRequest = io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.LandedCostExport;
1630
- type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
1631
- type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
1632
- type HarmonizationSugestionEvent = io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
1633
- type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate | io.flow.harmonization.internal.event.v0.models.ItemHarmonized | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest;
1634
- type RefillActorRequest = io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
1635
- }
1636
- declare namespace io.flow.inventory.v0.enums {
1637
- type Aggregate = 'maximum' | 'minimum';
1638
- type InventoryStatus = 'has_inventory' | 'no_inventory';
1639
- type SerialStatus = 'available' | 'reserved' | 'sold';
1640
- type UpdateType = 'change' | 'set';
1641
- }
1642
- declare namespace io.flow.inventory.v0.models {
1643
- interface ExternalApiTimeoutReservationError {
1644
- readonly code: 'external_api_timeout';
1645
- readonly messages: string[];
1646
- }
1647
- interface GenericReservationError {
1648
- readonly code: 'generic_reservation_error';
1649
- readonly messages: string[];
1650
- }
1651
- interface InventoryBackorder {
1652
- readonly discriminator: 'inventory_backorder';
1653
- readonly quantity: number;
1654
- }
1655
- interface InventoryCenterReference {
1656
- readonly key: string;
1657
- }
1658
- interface InventoryCheckResponse {
1659
- readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1660
- }
1661
- interface InventoryCheckResponseItem {
1662
- readonly number: string;
1663
- readonly quantity: number;
1664
- readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
1665
- }
1666
- interface InventoryExperienceReference {
1667
- readonly key: string;
1668
- }
1669
- interface InventoryItemReference {
1670
- readonly number: string;
1671
- }
1672
- interface InventoryRequest {
1673
- readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
1674
- }
1675
- interface InventoryRequestItem {
1676
- readonly number: string;
1677
- readonly quantity: number;
1678
- }
1679
- interface InventoryRule {
1680
- readonly id: string;
1681
- readonly position: number;
1682
- readonly query: string;
1683
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1684
- }
1685
- interface InventoryRuleForm {
1686
- readonly position: number;
1687
- readonly query: string;
1688
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1544
+ interface Inventory {
1545
+ readonly url: string;
1546
+ readonly client_request_id: string;
1547
+ readonly generated_at: string;
1548
+ readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1689
1549
  }
1690
- interface InventoryRuleVersion {
1691
- readonly id: string;
1692
- readonly timestamp: string;
1693
- readonly type: io.flow.common.v0.enums.ChangeType;
1694
- readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
1550
+ interface InventoryCount {
1551
+ readonly amount: number;
1552
+ readonly unit: string;
1695
1553
  }
1696
- interface InventorySnapshot {
1697
- readonly id: string;
1698
- readonly available: number;
1699
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1700
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1701
- readonly quantity: number;
1554
+ interface InventoryData {
1555
+ readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1556
+ readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1557
+ readonly each?: io.flow.flexe.v0.models.InventoryCount;
1702
1558
  }
1703
- interface InventorySnapshotVersion {
1704
- readonly id: string;
1705
- readonly timestamp: string;
1706
- readonly type: io.flow.common.v0.enums.ChangeType;
1707
- readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
1559
+ interface InventoryDetails {
1560
+ readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1708
1561
  }
1709
- interface InventoryStock {
1710
- readonly discriminator: 'inventory_stock';
1711
- readonly quantity: number;
1562
+ interface LadingQuantity {
1563
+ readonly num_pallets: number;
1712
1564
  }
1713
- interface InventoryUnlimited {
1714
- readonly discriminator: 'inventory_unlimited';
1715
- readonly quantity: string;
1565
+ interface Order {
1566
+ readonly shipment_uuid: string;
1567
+ readonly purchase_order: string;
1568
+ readonly carrier: string;
1569
+ readonly service_type: string;
1570
+ readonly carrier_assigned_id: string;
1571
+ readonly name: string;
1572
+ readonly address_1: string;
1573
+ readonly address_2?: string;
1574
+ readonly address_3?: string;
1575
+ readonly city: string;
1576
+ readonly state: string;
1577
+ readonly postal_code: string;
1578
+ readonly phone?: string;
1579
+ readonly instructions?: string;
1580
+ readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1581
+ readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1716
1582
  }
1717
- interface InventoryUpdate {
1718
- readonly id: string;
1719
- readonly idempotency_key: string;
1720
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1721
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1722
- readonly notes: {
1723
- [key: string]: string;
1724
- };
1725
- readonly quantity: number;
1726
- readonly type: io.flow.inventory.v0.enums.UpdateType;
1583
+ interface Orders {
1584
+ readonly orders: io.flow.flexe.v0.models.Order[];
1727
1585
  }
1728
- interface InventoryUpdateForm {
1729
- readonly center: string;
1730
- readonly idempotency_key: string;
1731
- readonly item_number: string;
1586
+ interface Pallet {
1587
+ readonly pallet_id: string;
1588
+ readonly sku: string;
1732
1589
  readonly quantity: number;
1733
- readonly type: io.flow.inventory.v0.enums.UpdateType;
1734
- readonly notes?: {
1735
- [key: string]: string;
1736
- };
1737
- }
1738
- interface InventoryUpdateVersion {
1739
- readonly id: string;
1740
- readonly timestamp: string;
1741
- readonly type: io.flow.common.v0.enums.ChangeType;
1742
- readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
1743
- }
1744
- interface NoInventoryReservationError {
1745
- readonly code: 'no_inventory';
1746
- readonly messages: string[];
1747
- readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1748
- }
1749
- interface NoInventoryReservationErrorItem {
1750
- readonly number: string;
1751
- readonly requested_quantity: number;
1752
- readonly available_quantity: number;
1753
- }
1754
- interface PfsInventoryCheckResponse {
1755
- readonly items: {
1756
- [key: string]: io.flow.inventory.v0.models.PfsInventoryCheckResponseItem;
1757
- };
1758
- }
1759
- interface PfsInventoryCheckResponseItem {
1760
- readonly number: string;
1761
- readonly ats: number;
1762
- readonly in_stock: boolean;
1590
+ readonly packaging: string;
1763
1591
  }
1764
- interface PfsInventoryStatus {
1765
- readonly status: string;
1592
+ interface PurchaseOrder {
1593
+ readonly retail_fulfillment_order_id: string;
1594
+ readonly bill_of_lading_number: string;
1595
+ readonly purchase_order_uuid: string;
1596
+ readonly pickup_window_start: string;
1597
+ readonly pickup_window_end: string;
1598
+ readonly tags: string[];
1766
1599
  }
1767
- interface Reservation {
1768
- readonly id: string;
1769
- readonly key: string;
1770
- readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
1771
- readonly items: io.flow.inventory.v0.models.ReservationItem[];
1772
- readonly reserved_until?: string;
1600
+ interface QuantityByInventory {
1601
+ readonly received: io.flow.flexe.v0.models.InventoryData;
1602
+ readonly expected?: io.flow.flexe.v0.models.InventoryData;
1603
+ readonly damaged?: io.flow.flexe.v0.models.InventoryData;
1773
1604
  }
1774
- interface ReservationForm {
1775
- readonly order_number?: string;
1776
- readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
1605
+ interface ReceiptNotification {
1606
+ readonly shipment_id: string;
1607
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1608
+ readonly reservation_id: string;
1609
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1610
+ readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
1611
+ readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1777
1612
  }
1778
- interface ReservationItem {
1779
- readonly item: io.flow.inventory.v0.models.ReservationItemReference;
1780
- readonly quantity: number;
1613
+ interface RetailFulfillmentOrderDetails {
1614
+ readonly master_bill_of_lading_number: string;
1615
+ readonly scac: string;
1616
+ readonly pro_number: string;
1617
+ readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
1618
+ readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
1781
1619
  }
1782
- interface ReservationItemForm {
1783
- readonly item_number: string;
1620
+ interface RetailInventoryData {
1621
+ readonly sku: string;
1784
1622
  readonly quantity: number;
1623
+ readonly unit: string;
1624
+ readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1785
1625
  }
1786
- interface ReservationItemReference {
1787
- readonly number: string;
1788
- }
1789
- interface ReservationOrderReference {
1790
- readonly number: string;
1791
- }
1792
- interface Serial {
1793
- readonly id: string;
1794
- readonly number: string;
1795
- readonly item_number: string;
1796
- readonly item_price: io.flow.common.v0.models.Price;
1797
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
1798
- readonly center: io.flow.fulfillment.v0.models.CenterReference;
1799
- readonly attributes: {
1800
- [key: string]: string;
1801
- };
1802
- }
1803
- interface SerialForm {
1804
- readonly number: string;
1805
- readonly item_number: string;
1806
- readonly item_price: number;
1807
- readonly item_currency: string;
1808
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
1809
- readonly center_key?: string;
1810
- readonly attributes?: {
1811
- [key: string]: string;
1812
- };
1813
- }
1814
- interface SerialVersion {
1815
- readonly id: string;
1816
- readonly timestamp: string;
1817
- readonly type: io.flow.common.v0.enums.ChangeType;
1818
- readonly serial: io.flow.inventory.v0.models.Serial;
1819
- }
1820
- }
1821
- declare namespace io.flow.inventory.v0.unions {
1822
- type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
1823
- type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
1824
- }
1825
- declare namespace io.flow.optin.internal.v0.enums {
1826
- type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
1827
- type PromptCheckoutDisplayPosition = 'email' | 'submission';
1828
- type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
1829
- type PromptTarget = 'browse' | 'checkout';
1830
- }
1831
- declare namespace io.flow.optin.internal.v0.models {
1832
- interface ConsumerOptinActivity {
1833
- readonly optin_attribute_key: string;
1834
- readonly optin_region: string;
1835
- readonly consent_granted: boolean;
1836
- readonly last_seen_at?: string;
1837
- readonly last_acted_at?: string;
1838
- }
1839
- interface OptinAttribute {
1840
- readonly name: string;
1841
- readonly optin_attribute_key: string;
1842
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
1843
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
1844
- readonly created_at: string;
1845
- readonly updated_at: string;
1846
- }
1847
- interface OptinAttributeForm {
1848
- readonly name: string;
1849
- readonly optin_attribute_key: string;
1850
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
1851
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
1852
- }
1853
- interface OptinPrompt {
1854
- readonly id: string;
1855
- readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
1856
- readonly region: string;
1857
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
1858
- readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
1859
- readonly position: number;
1860
- readonly enforce_on: string;
1861
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
1862
- }
1863
- interface OptinPromptCheckoutDisplay {
1864
- readonly discriminator: 'optin_prompt_checkout_display';
1865
- readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
1866
- }
1867
- interface OptinPromptCopy {
1868
- readonly from: string;
1869
- readonly to: string;
1870
- readonly number_prompts: number;
1871
- }
1872
- interface OptinPromptCopyForm {
1873
- readonly from: string;
1874
- readonly to: string;
1875
- }
1876
- interface OptinPromptForm {
1877
- readonly optin_attribute_key: string;
1878
- readonly region: string;
1879
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
1880
- readonly content: io.flow.content.internal.v0.models.LocalizationForm;
1881
- readonly position: number;
1882
- readonly enforce_on?: string;
1883
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
1884
- }
1885
- }
1886
- declare namespace io.flow.optin.internal.v0.unions {
1887
- type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
1888
- }
1889
- declare namespace io.flow.brickftp.v0.enums {
1890
- type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
1891
- type BehaviorType = 'lock_subfolders' | 'webhook';
1892
- type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
1893
- type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
1894
- type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
1895
- type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
1896
- type WebhookEventType = 'directory' | 'file';
1897
- }
1898
- declare namespace io.flow.brickftp.v0.models {
1899
- interface Behavior {
1900
- readonly id: number;
1901
- readonly path: string;
1902
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
1903
- readonly value: string[];
1904
- }
1905
- interface BehaviorForm {
1906
- readonly path: string;
1907
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
1908
- readonly value: string[];
1909
- }
1910
- interface Directory {
1911
- readonly type: 'directory';
1912
- readonly id: number;
1913
- readonly path: string;
1914
- readonly display_name: string;
1915
- readonly mtime: string;
1916
- readonly permissions: string;
1917
- }
1918
- interface Empty {
1919
- readonly none?: string;
1920
- }
1921
- interface Error {
1922
- readonly error: string;
1923
- }
1924
- interface File {
1925
- readonly id: number;
1926
- readonly path: string;
1927
- readonly display_name: string;
1928
- readonly size: number;
1929
- readonly mtime: string;
1930
- readonly permissions: string;
1931
- readonly download_uri: string;
1932
- }
1933
- interface FileCopyForm {
1934
- readonly type: 'file_copy_form';
1935
- readonly 'copy-destination': string;
1936
- }
1937
- interface FileMoveForm {
1938
- readonly type: 'file_move_form';
1939
- readonly 'move-destination': string;
1940
- }
1941
- interface FileSummary {
1942
- readonly type: 'file';
1943
- readonly id: number;
1944
- readonly path: string;
1945
- readonly display_name: string;
1946
- readonly size: number;
1947
- readonly mtime: string;
1948
- readonly permissions: string;
1949
- }
1950
- interface FileUploadComplete {
1951
- readonly path: string;
1952
- readonly size: number;
1953
- readonly mtime: string;
1954
- }
1955
- interface FileUploadEndForm {
1956
- readonly type: 'file_upload_end_form';
1957
- readonly action: string;
1958
- readonly ref: string;
1959
- }
1960
- interface FileUploadMetadata {
1961
- readonly ref: string;
1962
- readonly path: string;
1963
- readonly action: string;
1964
- readonly ask_about_overwrites: boolean;
1965
- readonly http_method: string;
1966
- readonly upload_uri: string;
1967
- }
1968
- interface FileUploadStartForm {
1969
- readonly type: 'file_upload_start_form';
1970
- readonly action: string;
1971
- }
1972
- interface User {
1973
- readonly id: number;
1974
- readonly username: string;
1975
- readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
1976
- readonly name?: string;
1977
- readonly email?: string;
1978
- readonly notes?: string;
1979
- readonly user_root: string;
1980
- readonly time_zone: string;
1981
- readonly restapi_permission: boolean;
1982
- readonly ftp_permission: boolean;
1983
- readonly sftp_permission: boolean;
1984
- readonly dav_permission: boolean;
1985
- readonly self_managed: boolean;
1986
- readonly require_password_change: boolean;
1987
- readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
1988
- }
1989
- interface UserForm {
1990
- readonly username: string;
1991
- readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
1992
- readonly password: string;
1993
- readonly name?: string;
1994
- readonly email?: string;
1995
- readonly notes?: string;
1996
- readonly user_root: string;
1997
- readonly time_zone?: string;
1998
- readonly grant_permission: io.flow.brickftp.v0.enums.GrantPermissionSetting;
1999
- readonly restapi_permission: boolean;
2000
- readonly ftp_permission: boolean;
2001
- readonly sftp_permission: boolean;
2002
- readonly dav_permission: boolean;
2003
- readonly self_managed: boolean;
2004
- readonly require_password_change: boolean;
2005
- readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2006
- }
2007
- }
2008
- declare namespace io.flow.brickftp.v0.unions {
2009
- type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
2010
- type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
2011
- }
2012
- declare namespace io.flow.shopify.external.v0.enums {
2013
- type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
2014
- type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
2015
- type DiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2016
- type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
2017
- type Event = 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop';
2018
- type FinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
2019
- type Format = 'json' | 'xml';
2020
- type FulfillmentService = 'manual' | 'gift_card';
2021
- type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2022
- type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
2023
- type InventoryManagement = 'blank' | 'shopify';
2024
- type InventoryPolicy = 'deny' | 'continue';
2025
- type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
2026
- type LocalizedPrice = 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total';
2027
- type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2028
- type PriceRuleAllocationMethod = 'across' | 'each';
2029
- type PriceRuleCustomerSelection = 'all' | 'prerequisite';
2030
- type PriceRuleTargetSelection = 'all' | 'entitled';
2031
- type PriceRuleTargetType = 'line_item' | 'shipping_line';
2032
- type PriceRuleValueType = 'fixed_amount' | 'percentage';
2033
- type PublishedScope = 'global';
2034
- type RestockType = 'no_restock' | 'cancel' | 'return';
2035
- type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
2036
- type ShopifyDiscountPaginationDirection = 'next' | 'prev';
2037
- type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
2038
- type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
2039
- type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
2040
- type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
2041
- type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
2042
- type ValueType = 'string' | 'integer';
2043
- type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
2044
- }
2045
- declare namespace io.flow.shopify.external.v0.models {
2046
- interface Collect {
2047
- readonly id: number;
2048
- readonly collection_id: number;
2049
- readonly product_id: number;
2050
- readonly featured: boolean;
2051
- readonly created_at?: string;
2052
- readonly updated_at?: string;
2053
- readonly position: number;
2054
- readonly sort_value: string;
2055
- }
2056
- interface Collection {
2057
- readonly id: number;
2058
- readonly handle?: string;
2059
- readonly title?: string;
2060
- readonly published?: boolean;
2061
- readonly published_at?: string;
2062
- readonly updated_at?: string;
2063
- }
2064
- interface Count {
2065
- readonly count: number;
2066
- }
2067
- interface Discount {
2068
- readonly id: number;
2069
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
2070
- readonly code: string;
2071
- readonly value?: number;
2072
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
2073
- readonly usage_limit?: number;
2074
- readonly applies_once: boolean;
2075
- readonly applies_once_per_customer: boolean;
2076
- readonly ends_at?: string;
2077
- readonly starts_at?: string;
2078
- readonly minimum_order_amount?: number;
2079
- readonly applies_to_id?: number;
2080
- readonly applies_to_resource?: string;
2081
- readonly times_used: number;
2082
- }
2083
- interface Metafield {
2084
- readonly id: number;
2085
- readonly key: string;
2086
- readonly namespace: string;
2087
- readonly value: string;
2088
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
2089
- readonly description?: string;
2090
- readonly owner_id: number;
2091
- readonly owner_resource: string;
2092
- }
2093
- interface MetafieldForm {
2094
- readonly key: string;
2095
- readonly namespace: string;
2096
- readonly value: string;
2097
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
2098
- readonly description?: string;
2099
- }
2100
- interface Option {
2101
- readonly id: number;
2102
- readonly product_id: number;
2103
- readonly name: string;
2104
- readonly position: number;
2105
- readonly values?: string[];
2106
- }
2107
- interface PriceRule {
2108
- readonly id: number;
2109
- readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
2110
- readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
2111
- readonly value: number;
2112
- readonly starts_at: string;
2113
- readonly ends_at?: string;
2114
- readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
2115
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
2116
- readonly usage_limit?: number;
2117
- readonly entitled_product_ids: number[];
2118
- readonly entitled_variant_ids: number[];
2119
- readonly entitled_collection_ids: number[];
2120
- readonly entitled_country_ids: number[];
2121
- readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
2122
- readonly once_per_customer: boolean;
2123
- readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
2124
- readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
2125
- readonly prerequisite_saved_search_ids: number[];
2126
- readonly prerequisite_customer_ids?: number[];
2127
- readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
2128
- readonly prerequisite_product_ids?: number[];
2129
- readonly prerequisite_variant_ids?: number[];
2130
- readonly prerequisite_collection_ids?: number[];
2131
- readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
2132
- readonly allocation_limit?: number;
2133
- readonly title?: string;
2134
- readonly created_at?: string;
2135
- readonly updated_at?: string;
2136
- }
2137
- interface PriceRuleDiscountCode {
2138
- readonly id: number;
2139
- readonly price_rule_id: number;
2140
- readonly code: string;
2141
- readonly usage_count: number;
2142
- readonly created_at: string;
2143
- readonly updated_at: string;
2144
- }
2145
- interface PriceRuleForm {
2146
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
2147
- }
2148
- interface PriceRuleGreaterThanRange {
2149
- readonly greater_than?: number;
2150
- readonly greater_than_or_equal_to?: number;
1626
+ interface RetailOrder {
1627
+ readonly order: io.flow.flexe.v0.models.RetailOrderData;
2151
1628
  }
2152
- interface PriceRuleLessThanRange {
2153
- readonly less_than?: number;
2154
- readonly less_than_or_equal_to?: number;
1629
+ interface RetailOrderData {
1630
+ readonly purchase_order_uuid: string;
1631
+ readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
1632
+ readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
1633
+ readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
1634
+ readonly ship_to: io.flow.flexe.v0.models.ShipTo;
1635
+ readonly build_by?: string;
1636
+ readonly instrunctions?: string;
1637
+ readonly routing_details_id?: string;
1638
+ readonly destination_type?: string;
2155
1639
  }
2156
- interface PriceRulePrerequisiteToEntitlementQuantityRatio {
2157
- readonly prerequisite_quantity?: number;
2158
- readonly entitled_quantity?: number;
1640
+ interface ShipTo {
1641
+ readonly name: string;
1642
+ readonly address_1: string;
1643
+ readonly locality: string;
1644
+ readonly region: string;
1645
+ readonly postal_code: string;
1646
+ readonly country: string;
1647
+ readonly address_2?: string;
1648
+ readonly address_3?: string;
2159
1649
  }
2160
- interface Product {
2161
- readonly id: number;
2162
- readonly handle: string;
2163
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
2164
- readonly images: io.flow.shopify.external.v0.models.ProductImage[];
2165
- readonly title: string;
2166
- readonly vendor?: string;
2167
- readonly body_html?: string;
2168
- readonly product_type?: string;
2169
- readonly options: io.flow.shopify.external.v0.models.Option[];
2170
- readonly tags?: string;
2171
- readonly template_suffix?: string;
2172
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
2173
- readonly published_at?: string;
2174
- readonly created_at: string;
2175
- readonly updated_at: string;
1650
+ interface ShipWithin {
1651
+ readonly start: string;
1652
+ readonly end: string;
2176
1653
  }
2177
- interface ProductDelete {
2178
- readonly id: number;
1654
+ interface ShipmentDeliveryDetails {
1655
+ readonly shipment_uuid?: string;
2179
1656
  }
2180
- interface ProductImage {
2181
- readonly id: number;
2182
- readonly product_id: number;
2183
- readonly variant_ids: number[];
2184
- readonly src: string;
2185
- readonly position: number;
2186
- readonly created_at: string;
2187
- readonly updated_at: string;
2188
- readonly alt?: string;
1657
+ interface ShipmentNotification {
1658
+ readonly shipment_id: string;
1659
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1660
+ readonly reservation_id: string;
1661
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1662
+ readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1663
+ readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1664
+ readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1665
+ readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
2189
1666
  }
2190
- interface ProductVariant {
2191
- readonly id: number;
2192
- readonly sku?: string;
2193
- readonly product_id: number;
2194
- readonly price: number;
2195
- readonly title: string;
2196
- readonly taxable: boolean;
2197
- readonly compare_at_price?: number;
2198
- readonly grams?: number;
2199
- readonly image_id?: number;
2200
- readonly barcode?: string;
2201
- readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
2202
- readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
2203
- readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
2204
- readonly weight?: number;
2205
- readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
2206
- readonly inventory_item_id?: number;
2207
- readonly inventory_quantity?: number;
2208
- readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
2209
- readonly option1?: string;
2210
- readonly option2?: string;
2211
- readonly option3?: string;
2212
- readonly requires_shipping: boolean;
2213
- readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
1667
+ interface Sku {
1668
+ readonly sku: string;
1669
+ readonly description: string;
1670
+ readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
2214
1671
  }
2215
- interface RequestMetafieldForm {
2216
- readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
1672
+ interface SkuSummary {
1673
+ readonly key: string;
1674
+ readonly quantity: number;
1675
+ readonly unit: string;
2217
1676
  }
2218
- interface RequestShopifyGiftCard {
2219
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
1677
+ }
1678
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1679
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1680
+ }
1681
+ declare namespace io.flow.harmonization.internal.event.v0.models {
1682
+ interface AllItemsExport {
1683
+ readonly discriminator: 'all_items_export';
1684
+ readonly event_id: string;
1685
+ readonly timestamp: string;
1686
+ readonly organization: string;
1687
+ readonly export_id: string;
2220
1688
  }
2221
- interface RequestShopifyRefundForm {
2222
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
1689
+ interface BatchRateRefillRequest {
1690
+ readonly discriminator: 'batch_rate_refill_request';
1691
+ readonly requests: io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
2223
1692
  }
2224
- interface RequestShopifyTransactionForm {
2225
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
1693
+ interface BlacklistedItemCreated {
1694
+ readonly discriminator: 'blacklisted_item_created';
1695
+ readonly event_id: string;
1696
+ readonly timestamp: string;
1697
+ readonly organization: string;
1698
+ readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
2226
1699
  }
2227
- interface ResponseCollect {
2228
- readonly collect: io.flow.shopify.external.v0.models.Collect;
1700
+ interface BlacklistedItemDeleted {
1701
+ readonly discriminator: 'blacklisted_item_deleted';
1702
+ readonly event_id: string;
1703
+ readonly timestamp: string;
1704
+ readonly organization: string;
1705
+ readonly id: string;
2229
1706
  }
2230
- interface ResponseCollects {
2231
- readonly collects: io.flow.shopify.external.v0.models.Collect[];
1707
+ interface BlacklistedItemUpdated {
1708
+ readonly discriminator: 'blacklisted_item_updated';
1709
+ readonly event_id: string;
1710
+ readonly timestamp: string;
1711
+ readonly organization: string;
1712
+ readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
2232
1713
  }
2233
- interface ResponseDiscount {
2234
- readonly discount: io.flow.shopify.external.v0.models.Discount;
1714
+ interface CustomsDescriptionImport {
1715
+ readonly discriminator: 'customs_description_import';
1716
+ readonly event_id: string;
1717
+ readonly timestamp: string;
1718
+ readonly organization: string;
1719
+ readonly import_id: string;
1720
+ readonly source_url: string;
1721
+ readonly filename?: string;
2235
1722
  }
2236
- interface ResponseDiscounts {
2237
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
1723
+ interface CustomsDescriptionSugestion {
1724
+ readonly value: number;
1725
+ readonly customs_description: string;
1726
+ readonly action?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
2238
1727
  }
2239
- interface ResponseMetafield {
2240
- readonly metafield: io.flow.shopify.external.v0.models.Metafield;
1728
+ interface CustomsDescriptionSugestionCreated {
1729
+ readonly discriminator: 'customs_description_sugestion_created';
1730
+ readonly event_id: string;
1731
+ readonly timestamp: string;
1732
+ readonly organization: string;
1733
+ readonly item_id: string;
1734
+ readonly suggestions: io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1735
+ readonly model_id: string;
2241
1736
  }
2242
- interface ResponseMetafields {
2243
- readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
1737
+ interface CustomsDescriptionTariffsImport {
1738
+ readonly discriminator: 'customs_description_tariffs_import';
1739
+ readonly event_id: string;
1740
+ readonly timestamp: string;
1741
+ readonly organization: string;
1742
+ readonly import_id: string;
1743
+ readonly source_url: string;
1744
+ readonly filename?: string;
2244
1745
  }
2245
- interface ResponseOrdersWrapper {
2246
- readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
1746
+ interface DutiedItemsExport {
1747
+ readonly discriminator: 'dutied_items_export';
1748
+ readonly event_id: string;
1749
+ readonly timestamp: string;
1750
+ readonly organization: string;
1751
+ readonly export_id: string;
1752
+ readonly origin?: string;
1753
+ readonly destination: string;
1754
+ readonly item_numbers?: string[];
2247
1755
  }
2248
- interface ResponsePriceRule {
2249
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
1756
+ interface HarmonizationCodesImport {
1757
+ readonly discriminator: 'harmonization_codes_import';
1758
+ readonly event_id: string;
1759
+ readonly timestamp: string;
1760
+ readonly organization: string;
1761
+ readonly import_id: string;
1762
+ readonly source_url: string;
1763
+ readonly filename?: string;
2250
1764
  }
2251
- interface ResponsePriceRuleDiscountCode {
2252
- readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
1765
+ interface HarmonizationPhraseSuggestionRequestImport {
1766
+ readonly discriminator: 'harmonization_phrase_suggestion_request_import';
1767
+ readonly event_id: string;
1768
+ readonly timestamp: string;
1769
+ readonly organization: string;
1770
+ readonly import_id: string;
1771
+ readonly source_url: string;
1772
+ readonly filename?: string;
2253
1773
  }
2254
- interface ResponsePriceRuleDiscountCodes {
2255
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
1774
+ interface HarmonizeFullyRequest {
1775
+ readonly discriminator: 'harmonize_fully_request';
1776
+ readonly event_id: string;
1777
+ readonly timestamp: string;
1778
+ readonly item_id: string;
2256
1779
  }
2257
- interface ResponsePriceRules {
2258
- readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
1780
+ interface HarmonizeFullyWithRate {
1781
+ readonly discriminator: 'harmonize_fully_with_rate';
1782
+ readonly event_id: string;
1783
+ readonly timestamp: string;
1784
+ readonly duty_rate: io.flow.duty.internal.v0.models.DutyRate;
2259
1785
  }
2260
- interface ResponseProduct {
2261
- readonly product: io.flow.shopify.external.v0.models.Product;
1786
+ interface HarmonizedItemsHs6Export {
1787
+ readonly discriminator: 'harmonized_items_hs6_export';
1788
+ readonly event_id: string;
1789
+ readonly timestamp: string;
1790
+ readonly organization: string;
1791
+ readonly export_id: string;
2262
1792
  }
2263
- interface ResponseProducts {
2264
- readonly products: io.flow.shopify.external.v0.models.Product[];
1793
+ interface ItemClassificationCreated {
1794
+ readonly discriminator: 'item_classification_created';
1795
+ readonly event_id: string;
1796
+ readonly timestamp: string;
1797
+ readonly organization: string;
1798
+ readonly item_number: string;
1799
+ readonly model_id: string;
1800
+ readonly labels_prediction: io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1801
+ readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
2265
1802
  }
2266
- interface ResponseShopifyGiftCard {
2267
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
1803
+ interface ItemHarmonized {
1804
+ readonly discriminator: 'item_harmonized';
1805
+ readonly event_id: string;
1806
+ readonly timestamp: string;
1807
+ readonly organization: string;
1808
+ readonly item_number: string;
1809
+ readonly product_id: string;
1810
+ readonly customs_description: string;
1811
+ readonly countries_of_origin: string[];
1812
+ readonly hs_6: string;
1813
+ readonly tariffs: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
2268
1814
  }
2269
- interface ResponseShopifyGiftCards {
2270
- readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
1815
+ interface LabelsPrediction {
1816
+ readonly main_material: Record<string, number>;
1817
+ readonly gender: Record<string, number>;
1818
+ readonly construction: Record<string, number>;
1819
+ readonly product_type: Record<string, number>;
2271
1820
  }
2272
- interface ResponseShopifyRefundSingle {
2273
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
1821
+ interface LandedCostExport {
1822
+ readonly discriminator: 'landed_cost_export';
1823
+ readonly event_id: string;
1824
+ readonly timestamp: string;
1825
+ readonly organization: string;
1826
+ readonly export_id: string;
1827
+ readonly items: io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
2274
1828
  }
2275
- interface ResponseShopifyTransaction {
2276
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
1829
+ interface LandedCostItem {
1830
+ readonly number: string;
1831
+ readonly origin: string;
1832
+ readonly destination: string;
2277
1833
  }
2278
- interface ResponseShopifyTransactionSingle {
2279
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
1834
+ interface PhraseClassified {
1835
+ readonly event_id: string;
1836
+ readonly timestamp: string;
1837
+ readonly phrase_id: string;
2280
1838
  }
2281
- interface ResponseVariant {
2282
- readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
1839
+ interface PhrasePropagated {
1840
+ readonly event_id: string;
1841
+ readonly timestamp: string;
1842
+ readonly phrase_id: string;
2283
1843
  }
2284
- interface Shop {
2285
- readonly id: number;
2286
- readonly domain: string;
2287
- readonly myshopify_domain: string;
2288
- readonly name: string;
2289
- readonly primary_locale: string;
2290
- readonly currency: string;
2291
- readonly country_code: string;
1844
+ interface RateRefillRequest {
1845
+ readonly discriminator: 'rate_refill_request';
1846
+ readonly phrase_id: string;
1847
+ readonly hs6_code: string;
1848
+ readonly destinations: io.flow.reference.v0.models.Country[];
1849
+ readonly origin: io.flow.reference.v0.models.Country;
1850
+ readonly organization_id?: string;
2292
1851
  }
2293
- interface ShopResponse {
2294
- readonly shop: io.flow.shopify.external.v0.models.Shop;
1852
+ interface UnharmonizedItemsExport {
1853
+ readonly discriminator: 'unharmonized_items_export';
1854
+ readonly event_id: string;
1855
+ readonly timestamp: string;
1856
+ readonly organization: string;
1857
+ readonly export_id: string;
2295
1858
  }
2296
- interface ShopifyAddress {
2297
- readonly id?: number;
2298
- readonly address1?: string;
2299
- readonly address2?: string;
2300
- readonly city?: string;
2301
- readonly company?: string;
2302
- readonly country?: string;
2303
- readonly country_code?: string;
2304
- readonly default?: boolean;
2305
- readonly first_name?: string;
2306
- readonly last_name?: string;
2307
- readonly latitude?: number;
2308
- readonly longitude?: number;
2309
- readonly name?: string;
2310
- readonly phone?: string;
2311
- readonly province?: string;
2312
- readonly province_code?: string;
2313
- readonly zip?: string;
1859
+ }
1860
+ declare namespace io.flow.harmonization.internal.event.v0.unions {
1861
+ type CustomsDescriptions = io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
1862
+ type HarmonizationEvent = io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted;
1863
+ type HarmonizationExportRequest = io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.LandedCostExport;
1864
+ type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
1865
+ type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
1866
+ type HarmonizationSugestionEvent = io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
1867
+ type HarmonizeFully = io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate | io.flow.harmonization.internal.event.v0.models.ItemHarmonized | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest;
1868
+ type RefillActorRequest = io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
1869
+ }
1870
+ declare namespace io.flow.inventory.v0.enums {
1871
+ type Aggregate = 'maximum' | 'minimum';
1872
+ type InventoryStatus = 'has_inventory' | 'no_inventory';
1873
+ type SerialStatus = 'available' | 'reserved' | 'sold';
1874
+ type UpdateType = 'change' | 'set';
1875
+ }
1876
+ declare namespace io.flow.inventory.v0.models {
1877
+ interface ExternalApiTimeoutReservationError {
1878
+ readonly code: 'external_api_timeout';
1879
+ readonly messages: string[];
2314
1880
  }
2315
- interface ShopifyAttribute {
2316
- readonly name: string;
2317
- readonly value: string;
1881
+ interface GenericReservationError {
1882
+ readonly code: 'generic_reservation_error';
1883
+ readonly messages: string[];
2318
1884
  }
2319
- interface ShopifyCart {
2320
- readonly token: string;
2321
- readonly note?: string;
2322
- readonly attributes?: {
2323
- [key: string]: string;
2324
- };
2325
- readonly items_subtotal_price?: number;
2326
- readonly total_price: number;
2327
- readonly total_weight: number;
2328
- readonly total_discount: number;
2329
- readonly original_total_price: number;
2330
- readonly item_count: number;
2331
- readonly requires_shipping: boolean;
2332
- readonly currency?: string;
2333
- readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
2334
- readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
1885
+ interface InventoryBackorder {
1886
+ readonly discriminator: 'inventory_backorder';
1887
+ readonly quantity: number;
2335
1888
  }
2336
- interface ShopifyCartItem {
2337
- readonly id: number;
2338
- readonly title: string;
2339
- readonly key?: string;
2340
- readonly price: number;
2341
- readonly line_price: number;
2342
- readonly final_price: number;
2343
- readonly final_line_price: number;
2344
- readonly original_price: number;
2345
- readonly original_line_price: number;
2346
- readonly total_discount: number;
2347
- readonly discounted_price: number;
2348
- readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
2349
- readonly taxable: boolean;
1889
+ interface InventoryCenterReference {
1890
+ readonly key: string;
1891
+ }
1892
+ interface InventoryCheckResponse {
1893
+ readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1894
+ }
1895
+ interface InventoryCheckResponseItem {
1896
+ readonly number: string;
2350
1897
  readonly quantity: number;
2351
- readonly sku?: string;
2352
- readonly grams?: number;
2353
- readonly vendor?: string;
2354
- readonly properties?: {
2355
- [key: string]: string;
2356
- };
2357
- readonly variant_id?: number;
2358
- readonly gift_card: boolean;
2359
- readonly url: string;
2360
- readonly image?: string;
2361
- readonly handle: string;
2362
- readonly requires_shipping: boolean;
2363
- readonly product_id: number;
2364
- readonly product_title: string;
2365
- readonly product_description?: string;
2366
- readonly product_type: string;
2367
- readonly variant_title?: string;
2368
- readonly variant_options?: string[];
2369
- readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1898
+ readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
2370
1899
  }
2371
- interface ShopifyCartItemDiscount {
2372
- readonly amount: number;
2373
- readonly title: string;
1900
+ interface InventoryExperienceReference {
1901
+ readonly key: string;
2374
1902
  }
2375
- interface ShopifyClientDetail {
2376
- readonly accept_language: boolean;
2377
- readonly browser_height?: number;
2378
- readonly browser_ip: string;
2379
- readonly browser_width?: number;
2380
- readonly session_hash?: string;
2381
- readonly user_agent?: string;
1903
+ interface InventoryItemReference {
1904
+ readonly number: string;
2382
1905
  }
2383
- interface ShopifyCustomer {
2384
- readonly id: number;
2385
- readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
2386
- readonly created_at: string;
2387
- readonly tags: string;
2388
- readonly tax_exempt: boolean;
2389
- readonly verified_email: boolean;
2390
- readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
2391
- readonly accepts_marketing?: boolean;
2392
- readonly default_address?: {
2393
- [key: string]: string;
2394
- };
2395
- readonly email?: string;
2396
- readonly first_name?: string;
2397
- readonly last_name?: string;
2398
- readonly last_order_id?: number;
2399
- readonly last_order_name?: string;
2400
- readonly note?: string;
2401
- readonly orders_count?: number;
2402
- readonly phone?: string;
2403
- readonly total_spent?: string;
2404
- readonly updated_at?: string;
1906
+ interface InventoryRequest {
1907
+ readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
2405
1908
  }
2406
- interface ShopifyCustomerAddress {
2407
- readonly id: number;
2408
- readonly customer_id: number;
2409
- readonly default: boolean;
2410
- readonly address1?: string;
2411
- readonly address2?: string;
2412
- readonly city?: string;
2413
- readonly company?: string;
2414
- readonly first_name?: string;
2415
- readonly last_name?: string;
2416
- readonly name?: string;
2417
- readonly phone?: string;
2418
- readonly country?: string;
2419
- readonly country_code?: string;
2420
- readonly country_name?: string;
2421
- readonly province?: string;
2422
- readonly province_code?: string;
2423
- readonly zip?: string;
1909
+ interface InventoryRequestItem {
1910
+ readonly number: string;
1911
+ readonly quantity: number;
2424
1912
  }
2425
- interface ShopifyCustomerDelete {
2426
- readonly id: number;
1913
+ interface InventoryRule {
1914
+ readonly id: string;
1915
+ readonly position: number;
1916
+ readonly query: string;
1917
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2427
1918
  }
2428
- interface ShopifyCustomersResponseWrapper {
2429
- readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
1919
+ interface InventoryRuleForm {
1920
+ readonly position: number;
1921
+ readonly query: string;
1922
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2430
1923
  }
2431
- interface ShopifyDiscountApplication {
2432
- readonly type: string;
2433
- readonly key: string;
2434
- readonly title: string;
2435
- readonly description?: string;
2436
- readonly value: string;
2437
- readonly created_at: string;
2438
- readonly value_type: string;
2439
- readonly allocation_method: string;
2440
- readonly target_selection: string;
2441
- readonly target_type: string;
2442
- readonly total_allocated_amount: number;
2443
- }
2444
- interface ShopifyDiscountCode {
2445
- readonly amount: string;
2446
- readonly code: string;
2447
- readonly type: io.flow.shopify.external.v0.enums.DiscountType;
1924
+ interface InventoryRuleVersion {
1925
+ readonly id: string;
1926
+ readonly timestamp: string;
1927
+ readonly type: io.flow.common.v0.enums.ChangeType;
1928
+ readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
2448
1929
  }
2449
- interface ShopifyError {
2450
- readonly errors: {
2451
- [key: string]: string;
2452
- };
1930
+ interface InventorySnapshot {
1931
+ readonly id: string;
1932
+ readonly available: number;
1933
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1934
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1935
+ readonly quantity: number;
2453
1936
  }
2454
- interface ShopifyFulfillment {
2455
- readonly location_id: number;
2456
- readonly created_at?: string;
2457
- readonly id?: number;
2458
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
2459
- readonly order_id?: number;
2460
- readonly receipt?: {
2461
- [key: string]: string;
2462
- };
2463
- readonly status?: string;
2464
- readonly tracking_company?: string;
2465
- readonly tracking_number?: string;
2466
- readonly tracking_numbers?: string[];
2467
- readonly tracking_url?: string;
2468
- readonly tracking_urls?: string[];
2469
- readonly updated_at?: string;
2470
- readonly notify_customer?: boolean;
1937
+ interface InventorySnapshotVersion {
1938
+ readonly id: string;
1939
+ readonly timestamp: string;
1940
+ readonly type: io.flow.common.v0.enums.ChangeType;
1941
+ readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
2471
1942
  }
2472
- interface ShopifyFulfillmentWrapper {
2473
- readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
1943
+ interface InventoryStock {
1944
+ readonly discriminator: 'inventory_stock';
1945
+ readonly quantity: number;
2474
1946
  }
2475
- interface ShopifyGiftCard {
2476
- readonly id: number;
2477
- readonly balance: number;
2478
- readonly currency: string;
2479
- readonly initial_value: number;
2480
- readonly last_characters: string;
2481
- readonly created_at: string;
2482
- readonly updated_at: string;
2483
- readonly api_client_id?: number;
2484
- readonly code?: string;
2485
- readonly customer_id?: number;
2486
- readonly disabled_at?: string;
2487
- readonly expires_on?: string;
2488
- readonly line_item_id?: number;
2489
- readonly note?: string;
2490
- readonly order_id?: number;
2491
- readonly template_suffix?: string;
2492
- readonly user_id?: number;
1947
+ interface InventoryUnlimited {
1948
+ readonly discriminator: 'inventory_unlimited';
1949
+ readonly quantity: string;
2493
1950
  }
2494
- interface ShopifyGiftCardAdjustment {
2495
- readonly id: number;
2496
- readonly gift_card_id: number;
2497
- readonly number: number;
2498
- readonly amount: number;
2499
- readonly created_at: string;
2500
- readonly processed_at: string;
2501
- readonly note?: string;
2502
- readonly remote_transaction_ref?: string;
2503
- readonly remote_transaction_url?: string;
2504
- readonly api_client_id?: number;
2505
- readonly user_id?: number;
2506
- readonly order_transaction_id?: number;
1951
+ interface InventoryUpdate {
1952
+ readonly id: string;
1953
+ readonly idempotency_key: string;
1954
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1955
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1956
+ readonly notes: any;
1957
+ readonly quantity: number;
1958
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
2507
1959
  }
2508
- interface ShopifyGiftCardAdjustmentForm {
2509
- readonly amount: number;
2510
- readonly note?: string;
2511
- readonly order_transaction_id?: number;
2512
- readonly processed_at?: string;
1960
+ interface InventoryUpdateForm {
1961
+ readonly center: string;
1962
+ readonly idempotency_key: string;
1963
+ readonly item_number: string;
1964
+ readonly quantity: number;
1965
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
1966
+ readonly notes?: any;
2513
1967
  }
2514
- interface ShopifyGiftCardAdjustmentFormWrapper {
2515
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
1968
+ interface InventoryUpdateVersion {
1969
+ readonly id: string;
1970
+ readonly timestamp: string;
1971
+ readonly type: io.flow.common.v0.enums.ChangeType;
1972
+ readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
2516
1973
  }
2517
- interface ShopifyGiftCardAdjustmentResponseWrapper {
2518
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
1974
+ interface NoInventoryReservationError {
1975
+ readonly code: 'no_inventory';
1976
+ readonly messages: string[];
1977
+ readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
2519
1978
  }
2520
- interface ShopifyGiftCardForm {
2521
- readonly initial_value: number;
2522
- readonly code?: string;
2523
- readonly note?: string;
2524
- readonly template_suffix?: string;
1979
+ interface NoInventoryReservationErrorItem {
1980
+ readonly number: string;
1981
+ readonly requested_quantity: number;
1982
+ readonly available_quantity: number;
2525
1983
  }
2526
- interface ShopifyInventoryItem {
2527
- readonly id: number;
2528
- readonly tracked: boolean;
2529
- readonly sku?: string;
2530
- readonly cost?: string;
2531
- readonly country_code_of_origin?: string;
2532
- readonly created_at: string;
2533
- readonly updated_at?: string;
1984
+ interface PfsInventoryCheckResponse {
1985
+ readonly items: Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
2534
1986
  }
2535
- interface ShopifyInventoryItemDelete {
2536
- readonly id: number;
1987
+ interface PfsInventoryCheckResponseItem {
1988
+ readonly number: string;
1989
+ readonly ats: number;
1990
+ readonly in_stock: boolean;
2537
1991
  }
2538
- interface ShopifyInventoryLevel {
2539
- readonly inventory_item_id: number;
2540
- readonly location_id: number;
2541
- readonly updated_at: string;
2542
- readonly available?: number;
1992
+ interface PfsInventoryStatus {
1993
+ readonly status: string;
2543
1994
  }
2544
- interface ShopifyInventoryLevelDisconnect {
2545
- readonly inventory_item_id: number;
2546
- readonly location_id: number;
1995
+ interface Reservation {
1996
+ readonly id: string;
1997
+ readonly key: string;
1998
+ readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
1999
+ readonly items: io.flow.inventory.v0.models.ReservationItem[];
2000
+ readonly reserved_until?: string;
2547
2001
  }
2548
- interface ShopifyInventoryLevelResponseWrapper {
2549
- readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
2002
+ interface ReservationForm {
2003
+ readonly order_number?: string;
2004
+ readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
2550
2005
  }
2551
- interface ShopifyLineItem {
2552
- readonly id: number;
2006
+ interface ReservationItem {
2007
+ readonly item: io.flow.inventory.v0.models.ReservationItemReference;
2553
2008
  readonly quantity: number;
2554
- readonly fulfillable_quantity?: number;
2555
- readonly fulfillment_service: string;
2556
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2557
- readonly grams?: number;
2558
- readonly price?: string;
2559
- readonly product_id?: number;
2560
- readonly requires_shipping: boolean;
2561
- readonly sku?: string;
2562
- readonly title?: string;
2563
- readonly variant_id?: number;
2564
- readonly variant_title?: string;
2565
- readonly vendor?: string;
2566
- readonly name?: string;
2567
- readonly gift_card: boolean;
2568
- readonly properties: {
2569
- [key: string]: string;
2570
- }[];
2571
- readonly taxable: boolean;
2572
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2573
- readonly total_discount?: string;
2574
- }
2575
- interface ShopifyLineItemForm {
2576
- readonly fulfillable_quantity?: number;
2577
- readonly fulfillment_service: string;
2578
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2579
- readonly grams?: number;
2580
- readonly price?: string;
2581
- readonly product_id?: number;
2582
- readonly quantity?: number;
2583
- readonly requires_shipping: boolean;
2584
- readonly sku?: string;
2585
- readonly title?: string;
2586
- readonly variant_id?: number;
2587
- readonly variant_title?: string;
2588
- readonly vendor?: string;
2589
- readonly name?: string;
2590
- readonly gift_card: boolean;
2591
- readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
2592
- readonly taxable: boolean;
2593
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2594
- readonly total_discount?: string;
2595
- readonly id?: number;
2596
2009
  }
2597
- interface ShopifyLineLevelDiscountAllocation {
2598
- readonly amount: number;
2599
- readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
2010
+ interface ReservationItemForm {
2011
+ readonly item_number: string;
2012
+ readonly quantity: number;
2600
2013
  }
2601
- interface ShopifyLocation {
2602
- readonly active: boolean;
2603
- readonly address1?: string;
2604
- readonly address2?: string;
2605
- readonly city?: string;
2606
- readonly country?: string;
2607
- readonly country_code?: string;
2608
- readonly created_at: string;
2609
- readonly id: number;
2610
- readonly legacy: boolean;
2611
- readonly name: string;
2612
- readonly phone?: string;
2613
- readonly province?: string;
2614
- readonly province_code?: string;
2615
- readonly updated_at?: string;
2616
- readonly zip?: string;
2014
+ interface ReservationItemReference {
2015
+ readonly number: string;
2617
2016
  }
2618
- interface ShopifyLocationDelete {
2619
- readonly id: number;
2017
+ interface ReservationOrderReference {
2018
+ readonly number: string;
2620
2019
  }
2621
- interface ShopifyLocationsResponseWrapper {
2622
- readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
2623
- }
2624
- interface ShopifyOrder {
2625
- readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
2626
- readonly browser_ip?: string;
2627
- readonly buyer_accepts_marketing: boolean;
2628
- readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
2629
- readonly cancelled_at?: string;
2630
- readonly cart_token?: string;
2631
- readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
2632
- readonly closed_at?: string;
2633
- readonly created_at?: string;
2634
- readonly currency?: string;
2635
- readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
2636
- readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
2637
- readonly email?: string;
2638
- readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
2639
- readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
2640
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2641
- readonly id?: number;
2642
- readonly landing_site?: string;
2643
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
2644
- readonly location_id?: number;
2645
- readonly name?: string;
2646
- readonly note?: string;
2647
- readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
2648
- readonly number?: number;
2649
- readonly order_number?: number;
2650
- readonly payment_gateway_names: string[];
2651
- readonly processed_at?: string;
2652
- readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
2653
- readonly referring_site?: string;
2654
- readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
2655
- readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
2656
- readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
2657
- readonly source_name?: string;
2658
- readonly subtotal_price?: string;
2659
- readonly tags?: string;
2660
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2661
- readonly taxes_included: boolean;
2662
- readonly token?: string;
2663
- readonly total_discounts?: string;
2664
- readonly total_line_items_price?: string;
2665
- readonly total_price?: string;
2666
- readonly total_tax?: string;
2667
- readonly total_weight?: number;
2668
- readonly updated_at?: string;
2669
- readonly user_id?: number;
2670
- readonly order_status_url?: string;
2671
- readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
2672
- readonly gateway?: string;
2673
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
2674
- readonly send_receipt?: boolean;
2675
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
2676
- }
2677
- interface ShopifyOrderCount {
2678
- readonly count: number;
2020
+ interface Serial {
2021
+ readonly id: string;
2022
+ readonly number: string;
2023
+ readonly item_number: string;
2024
+ readonly item_price: io.flow.common.v0.models.Price;
2025
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
2026
+ readonly center: io.flow.fulfillment.v0.models.CenterReference;
2027
+ readonly attributes: Record<string, string>;
2679
2028
  }
2680
- interface ShopifyOrderCustomer {
2681
- readonly email?: string;
2682
- readonly first_name?: string;
2683
- readonly last_name?: string;
2684
- readonly phone?: string;
2029
+ interface SerialForm {
2030
+ readonly number: string;
2031
+ readonly item_number: string;
2032
+ readonly item_price: number;
2033
+ readonly item_currency: string;
2034
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
2035
+ readonly center_key?: string;
2036
+ readonly attributes?: Record<string, string>;
2685
2037
  }
2686
- interface ShopifyOrderWrapper {
2687
- readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
2038
+ interface SerialVersion {
2039
+ readonly id: string;
2040
+ readonly timestamp: string;
2041
+ readonly type: io.flow.common.v0.enums.ChangeType;
2042
+ readonly serial: io.flow.inventory.v0.models.Serial;
2688
2043
  }
2689
- interface ShopifyPaymentDetail {
2690
- readonly avs_result_code?: string;
2691
- readonly credit_card_bin?: string;
2692
- readonly credit_card_company: string;
2693
- readonly credit_card_number: string;
2694
- readonly cvv_result_code?: string;
2044
+ }
2045
+ declare namespace io.flow.inventory.v0.unions {
2046
+ type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
2047
+ type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
2048
+ }
2049
+ declare namespace io.flow.optin.internal.v0.enums {
2050
+ type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2051
+ type PromptCheckoutDisplayPosition = 'email' | 'submission';
2052
+ type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
2053
+ type PromptTarget = 'browse' | 'checkout';
2054
+ }
2055
+ declare namespace io.flow.optin.internal.v0.models {
2056
+ interface ConsumerOptinActivity {
2057
+ readonly optin_attribute_key: string;
2058
+ readonly optin_region: string;
2059
+ readonly consent_granted: boolean;
2060
+ readonly last_seen_at?: string;
2061
+ readonly last_acted_at?: string;
2695
2062
  }
2696
- interface ShopifyRefund {
2697
- readonly id: number;
2698
- readonly order_id: number;
2063
+ interface OptinAttribute {
2064
+ readonly name: string;
2065
+ readonly optin_attribute_key: string;
2066
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2067
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2699
2068
  readonly created_at: string;
2700
- readonly processed_at: string;
2701
- readonly note?: string;
2702
- readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
2703
- readonly restock?: boolean;
2704
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
2705
- readonly user_id?: number;
2069
+ readonly updated_at: string;
2706
2070
  }
2707
- interface ShopifyRefundForm {
2708
- readonly note?: string;
2709
- readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
2710
- readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
2711
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
2712
- readonly currency: string;
2071
+ interface OptinAttributeForm {
2072
+ readonly name: string;
2073
+ readonly optin_attribute_key: string;
2074
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2075
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2713
2076
  }
2714
- interface ShopifyRefundLineItem {
2715
- readonly id: number;
2716
- readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
2717
- readonly line_item_id: number;
2718
- readonly quantity: number;
2719
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
2720
- readonly location_id?: number;
2721
- readonly subtotal?: number;
2722
- readonly total_tax?: number;
2077
+ interface OptinPrompt {
2078
+ readonly id: string;
2079
+ readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
2080
+ readonly region: string;
2081
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2082
+ readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
2083
+ readonly position: number;
2084
+ readonly enforce_on: string;
2085
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2723
2086
  }
2724
- interface ShopifyRefundLineItemForm {
2725
- readonly line_item_id: number;
2726
- readonly quantity: number;
2727
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
2728
- readonly location_id?: number;
2087
+ interface OptinPromptCheckoutDisplay {
2088
+ readonly discriminator: 'optin_prompt_checkout_display';
2089
+ readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
2729
2090
  }
2730
- interface ShopifyShippingLine {
2731
- readonly code: string;
2732
- readonly price: string;
2733
- readonly source: string;
2734
- readonly title: string;
2735
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2736
- readonly carrier_identifier?: string;
2737
- readonly requested_fulfillment_service_id?: string;
2091
+ interface OptinPromptCopy {
2092
+ readonly from: string;
2093
+ readonly to: string;
2094
+ readonly number_prompts: number;
2738
2095
  }
2739
- interface ShopifyTaxLine {
2740
- readonly price: string;
2741
- readonly rate: number;
2742
- readonly title: string;
2096
+ interface OptinPromptCopyForm {
2097
+ readonly from: string;
2098
+ readonly to: string;
2743
2099
  }
2744
- interface ShopifyTransaction {
2745
- readonly id: number;
2746
- readonly order_id: number;
2747
- readonly amount: number;
2748
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
2749
- readonly gateway: string;
2750
- readonly currency: string;
2751
- readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
2752
- readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
2753
- readonly receipt: {
2754
- [key: string]: string;
2755
- };
2756
- readonly authorization?: string;
2757
- readonly created_at: string;
2758
- readonly device_id?: number;
2759
- readonly gift_card_id?: number;
2760
- readonly source_name: string;
2761
- readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
2762
- readonly test: boolean;
2763
- readonly parent_id?: number;
2764
- readonly user_id?: number;
2100
+ interface OptinPromptForm {
2101
+ readonly optin_attribute_key: string;
2102
+ readonly region: string;
2103
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2104
+ readonly content: io.flow.content.internal.v0.models.LocalizationForm;
2105
+ readonly position: number;
2106
+ readonly enforce_on?: string;
2107
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2765
2108
  }
2766
- interface ShopifyTransactionForm {
2767
- readonly amount: number;
2768
- readonly currency: string;
2769
- readonly gateway: string;
2770
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
2771
- readonly source: string;
2772
- readonly authorization?: string;
2773
- readonly gift_card_id?: number;
2774
- readonly parent_id?: number;
2775
- readonly receipt?: {
2776
- [key: string]: string;
2777
- };
2109
+ }
2110
+ declare namespace io.flow.optin.internal.v0.unions {
2111
+ type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
2112
+ }
2113
+ declare namespace io.flow.brickftp.v0.enums {
2114
+ type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
2115
+ type BehaviorType = 'lock_subfolders' | 'webhook';
2116
+ type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
2117
+ type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
2118
+ type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
2119
+ type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
2120
+ type WebhookEventType = 'directory' | 'file';
2121
+ }
2122
+ declare namespace io.flow.brickftp.v0.models {
2123
+ interface Behavior {
2124
+ readonly id: number;
2125
+ readonly path: string;
2126
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2127
+ readonly value: string[];
2778
2128
  }
2779
- interface ShopifyWebhookCustomersRedact {
2780
- readonly shop_id: number;
2781
- readonly shop_domain: string;
2782
- readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
2783
- readonly orders_to_redact?: number[];
2129
+ interface BehaviorForm {
2130
+ readonly path: string;
2131
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2132
+ readonly value: string[];
2784
2133
  }
2785
- interface ShopifyWebhookCustomersRedactCustomer {
2134
+ interface Directory {
2135
+ readonly type: 'directory';
2786
2136
  readonly id: number;
2787
- readonly email?: string;
2788
- readonly phone?: string;
2137
+ readonly path: string;
2138
+ readonly display_name: string;
2139
+ readonly mtime: string;
2140
+ readonly permissions: string;
2789
2141
  }
2790
- interface ShopifyWebhookOrder {
2791
- readonly id?: number;
2792
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
2142
+ interface Empty {
2143
+ readonly none?: string;
2144
+ }
2145
+ interface Error {
2146
+ readonly error: string;
2793
2147
  }
2794
- interface ShopifyWebhookOrderCancelled {
2148
+ interface File {
2795
2149
  readonly id: number;
2150
+ readonly path: string;
2151
+ readonly display_name: string;
2152
+ readonly size: number;
2153
+ readonly mtime: string;
2154
+ readonly permissions: string;
2155
+ readonly download_uri: string;
2796
2156
  }
2797
- interface ShopifyWebhookOrderLineItem {
2798
- readonly fulfillable_quantity?: number;
2799
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2800
- readonly product_id?: number;
2801
- readonly quantity?: number;
2802
- readonly requires_shipping: boolean;
2803
- readonly variant_id?: number;
2157
+ interface FileCopyForm {
2158
+ readonly type: 'file_copy_form';
2159
+ readonly 'copy-destination': string;
2804
2160
  }
2805
- interface ShopifyWebhookShopRedact {
2806
- readonly shop_id: number;
2807
- readonly shop_domain: string;
2161
+ interface FileMoveForm {
2162
+ readonly type: 'file_move_form';
2163
+ readonly 'move-destination': string;
2808
2164
  }
2809
- interface Webhook {
2810
- readonly address: string;
2811
- readonly created_at: string;
2812
- readonly format: io.flow.shopify.external.v0.enums.Format;
2165
+ interface FileSummary {
2166
+ readonly type: 'file';
2813
2167
  readonly id: number;
2814
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
2815
- readonly updated_at: string;
2816
- readonly fields?: string[];
2817
- readonly metafield_namespaces?: string[];
2168
+ readonly path: string;
2169
+ readonly display_name: string;
2170
+ readonly size: number;
2171
+ readonly mtime: string;
2172
+ readonly permissions: string;
2818
2173
  }
2819
- interface WebhookForm {
2820
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
2821
- readonly address: string;
2822
- readonly format: io.flow.shopify.external.v0.enums.Format;
2823
- readonly metafield_namespaces?: string[];
2174
+ interface FileUploadComplete {
2175
+ readonly path: string;
2176
+ readonly size: number;
2177
+ readonly mtime: string;
2824
2178
  }
2825
- interface WebhookFormWrapper {
2826
- readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
2179
+ interface FileUploadEndForm {
2180
+ readonly type: 'file_upload_end_form';
2181
+ readonly action: string;
2182
+ readonly ref: string;
2827
2183
  }
2828
- interface WebhookResponseList {
2829
- readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
2184
+ interface FileUploadMetadata {
2185
+ readonly ref: string;
2186
+ readonly path: string;
2187
+ readonly action: string;
2188
+ readonly ask_about_overwrites: boolean;
2189
+ readonly http_method: string;
2190
+ readonly upload_uri: string;
2830
2191
  }
2831
- interface WebhookResponseSingle {
2832
- readonly webhook: io.flow.shopify.external.v0.models.Webhook;
2192
+ interface FileUploadStartForm {
2193
+ readonly type: 'file_upload_start_form';
2194
+ readonly action: string;
2833
2195
  }
2834
- }
2835
- declare namespace io.flow.order.price.v0.enums {
2836
- type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
2837
- type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
2838
- }
2839
- declare namespace io.flow.order.price.v0.models {
2840
- interface OrderPriceDetail {
2841
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
2842
- readonly currency: string;
2843
- readonly amount: number;
2844
- readonly label: string;
2845
- readonly base: io.flow.common.v0.models.Price;
2846
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
2196
+ interface User {
2197
+ readonly id: number;
2198
+ readonly username: string;
2199
+ readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2847
2200
  readonly name?: string;
2848
- readonly rate?: number;
2849
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
2850
- readonly rate_label?: string;
2201
+ readonly email?: string;
2202
+ readonly notes?: string;
2203
+ readonly user_root: string;
2204
+ readonly time_zone: string;
2205
+ readonly restapi_permission: boolean;
2206
+ readonly ftp_permission: boolean;
2207
+ readonly sftp_permission: boolean;
2208
+ readonly dav_permission: boolean;
2209
+ readonly self_managed: boolean;
2210
+ readonly require_password_change: boolean;
2211
+ readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2851
2212
  }
2852
- interface OrderPriceDetailComponent {
2853
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
2854
- readonly currency: string;
2855
- readonly amount: number;
2856
- readonly label: string;
2857
- readonly base: io.flow.common.v0.models.Price;
2213
+ interface UserForm {
2214
+ readonly username: string;
2215
+ readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2216
+ readonly password: string;
2858
2217
  readonly name?: string;
2218
+ readonly email?: string;
2219
+ readonly notes?: string;
2220
+ readonly user_root: string;
2221
+ readonly time_zone?: string;
2222
+ readonly grant_permission: io.flow.brickftp.v0.enums.GrantPermissionSetting;
2223
+ readonly restapi_permission: boolean;
2224
+ readonly ftp_permission: boolean;
2225
+ readonly sftp_permission: boolean;
2226
+ readonly dav_permission: boolean;
2227
+ readonly self_managed: boolean;
2228
+ readonly require_password_change: boolean;
2229
+ readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2859
2230
  }
2860
2231
  }
2232
+ declare namespace io.flow.brickftp.v0.unions {
2233
+ type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
2234
+ type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
2235
+ }
2861
2236
  declare namespace io.flow.billing.v0.enums {
2862
2237
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
2863
2238
  type BillingTransactionStatus = 'pending' | 'posted';
@@ -3027,9 +2402,7 @@ declare namespace io.flow.svb.v0.models {
3027
2402
  interface CreateVirtualCard {
3028
2403
  readonly emails?: string[];
3029
2404
  readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
3030
- readonly metadata?: {
3031
- [key: string]: string;
3032
- };
2405
+ readonly metadata?: any;
3033
2406
  readonly per_transaction_max?: number;
3034
2407
  readonly per_transaction_min?: number;
3035
2408
  readonly rcn_id?: number;
@@ -3071,9 +2444,7 @@ declare namespace io.flow.svb.v0.models {
3071
2444
  interface NotificationData {
3072
2445
  readonly date: string;
3073
2446
  readonly 'event-id': number;
3074
- readonly payload: {
3075
- [key: string]: string;
3076
- };
2447
+ readonly payload: any;
3077
2448
  readonly type?: io.flow.svb.v0.enums.NotificationType;
3078
2449
  }
3079
2450
  interface SvbNotification {
@@ -3085,9 +2456,7 @@ declare namespace io.flow.svb.v0.models {
3085
2456
  interface UpdateVirtualCard {
3086
2457
  readonly emails?: string[];
3087
2458
  readonly mastercard_data?: io.flow.svb.v0.models.MastercardData;
3088
- readonly metadata?: {
3089
- [key: string]: string;
3090
- };
2459
+ readonly metadata?: any;
3091
2460
  readonly per_transaction_max?: number;
3092
2461
  readonly per_transaction_min?: number;
3093
2462
  readonly total_card_amount?: number;
@@ -3107,9 +2476,7 @@ declare namespace io.flow.svb.v0.models {
3107
2476
  readonly id: string;
3108
2477
  readonly last4: string;
3109
2478
  readonly mastercard_data: io.flow.svb.v0.models.MastercardData;
3110
- readonly metadata?: {
3111
- [key: string]: string;
3112
- };
2479
+ readonly metadata?: any;
3113
2480
  readonly notified: boolean;
3114
2481
  readonly per_transaction_max: number;
3115
2482
  readonly per_transaction_min: number;
@@ -3194,9 +2561,7 @@ declare namespace io.flow.external.paypal.v1.models {
3194
2561
  readonly id: string;
3195
2562
  readonly intent: io.flow.external.paypal.v1.enums.Intent;
3196
2563
  readonly payer: io.flow.external.paypal.v1.models.Payer;
3197
- readonly transactions: {
3198
- [key: string]: string;
3199
- }[];
2564
+ readonly transactions: any[];
3200
2565
  readonly state: io.flow.external.paypal.v1.enums.State;
3201
2566
  readonly experience_profile_id?: string;
3202
2567
  readonly note_to_payer?: string;
@@ -3251,9 +2616,7 @@ declare namespace io.flow.external.paypal.v1.models {
3251
2616
  interface Transaction {
3252
2617
  readonly amount: io.flow.external.paypal.v1.models.TransactionAmount;
3253
2618
  readonly description: string;
3254
- readonly payee?: {
3255
- [key: string]: string;
3256
- };
2619
+ readonly payee?: any;
3257
2620
  readonly custom: string;
3258
2621
  readonly payment_options: io.flow.external.paypal.v1.models.PaymentOptions;
3259
2622
  readonly item_list: io.flow.external.paypal.v1.models.ItemList;
@@ -3281,9 +2644,7 @@ declare namespace io.flow.external.paypal.v1.models {
3281
2644
  readonly summary: string;
3282
2645
  readonly event_version: string;
3283
2646
  readonly create_time: string;
3284
- readonly resource: {
3285
- [key: string]: string;
3286
- };
2647
+ readonly resource: any;
3287
2648
  }
3288
2649
  }
3289
2650
  declare namespace io.flow.ratecard.internal.v0.models {
@@ -3443,9 +2804,7 @@ declare namespace io.flow.search.v0.models {
3443
2804
  readonly name: string;
3444
2805
  readonly categories: string[];
3445
2806
  readonly experiences: io.flow.common.v0.models.ExperienceSummary[];
3446
- readonly attributes: {
3447
- [key: string]: string;
3448
- };
2807
+ readonly attributes: Record<string, string>;
3449
2808
  readonly images: io.flow.search.v0.models.CatalogItemDocumentImages;
3450
2809
  }
3451
2810
  interface CatalogItemDocumentImages {
@@ -3514,9 +2873,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
3514
2873
  readonly items: io.flow.harmonization.internal.v0.models.ClassificationItem[];
3515
2874
  readonly images: string[];
3516
2875
  readonly categories: string[];
3517
- readonly attributes: {
3518
- [key: string]: string;
3519
- };
2876
+ readonly attributes: Record<string, string>;
3520
2877
  readonly next_id?: io.flow.harmonization.internal.v0.models.ClassificationProductId;
3521
2878
  }
3522
2879
  interface ClassificationProductId {
@@ -3555,19 +2912,13 @@ declare namespace io.flow.harmonization.internal.v0.models {
3555
2912
  readonly customs_description: string;
3556
2913
  readonly status: string;
3557
2914
  readonly harmonization_code?: string;
3558
- readonly tariff_codes?: {
3559
- [key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
3560
- };
3561
- readonly tariff_codes_metadata?: {
3562
- [key: string]: string;
3563
- };
2915
+ readonly tariff_codes?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
2916
+ readonly tariff_codes_metadata?: Record<string, string>;
3564
2917
  }
3565
2918
  interface CustomsDescriptionTariffCodeDutyForm {
3566
2919
  readonly customs_description: string;
3567
2920
  readonly harmonization_code?: string;
3568
- readonly tariff_codes?: {
3569
- [key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
3570
- };
2921
+ readonly tariff_codes?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
3571
2922
  }
3572
2923
  interface Duties {
3573
2924
  readonly duty_rate: io.flow.price.v0.models.Duty;
@@ -3599,9 +2950,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
3599
2950
  readonly customs_description?: string;
3600
2951
  readonly countries_of_origin?: string[];
3601
2952
  readonly hs6?: string;
3602
- readonly tariffs?: {
3603
- [key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
3604
- };
2953
+ readonly tariffs?: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
3605
2954
  }
3606
2955
  interface ItemHarmonizationSummary {
3607
2956
  readonly organization_id: string;
@@ -3637,9 +2986,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
3637
2986
  readonly number: string;
3638
2987
  readonly name: string;
3639
2988
  readonly categories?: string[];
3640
- readonly attributes: {
3641
- [key: string]: string;
3642
- };
2989
+ readonly attributes: Record<string, string>;
3643
2990
  readonly description: string;
3644
2991
  }
3645
2992
  interface ProductClassificationJudgementForm {
@@ -3659,9 +3006,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
3659
3006
  }
3660
3007
  interface TariffCodeDuty {
3661
3008
  readonly tariff_code: string;
3662
- readonly duties: {
3663
- [key: string]: io.flow.harmonization.internal.v0.models.Duties;
3664
- };
3009
+ readonly duties: Record<string, io.flow.harmonization.internal.v0.models.Duties>;
3665
3010
  }
3666
3011
  interface TaskImport {
3667
3012
  readonly discriminator: 'task_import';
@@ -3806,9 +3151,7 @@ declare namespace io.flow.fulfillment.v0.models {
3806
3151
  readonly quantity: number;
3807
3152
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
3808
3153
  readonly price?: io.flow.common.v0.models.MoneyWithOptionalBase;
3809
- readonly attributes?: {
3810
- [key: string]: string;
3811
- };
3154
+ readonly attributes?: Record<string, string>;
3812
3155
  readonly center?: string;
3813
3156
  readonly line_number?: number;
3814
3157
  }
@@ -4010,9 +3353,7 @@ declare namespace io.flow.fulfillment.v0.models {
4010
3353
  readonly quantity: number;
4011
3354
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
4012
3355
  readonly price: io.flow.common.v0.models.MoneyWithBase;
4013
- readonly attributes?: {
4014
- [key: string]: string;
4015
- };
3356
+ readonly attributes?: Record<string, string>;
4016
3357
  readonly center?: string;
4017
3358
  }
4018
3359
  interface QuoteSummary {
@@ -4405,9 +3746,7 @@ declare namespace io.flow.bitpay.v0.models {
4405
3746
  readonly id: string;
4406
3747
  readonly requestDate: string;
4407
3748
  readonly status: io.flow.bitpay.v0.enums.RefundStatus;
4408
- readonly results: {
4409
- [key: string]: string;
4410
- };
3749
+ readonly results: any;
4411
3750
  readonly params: io.flow.bitpay.v0.models.InvoiceRefundResponseDataParams;
4412
3751
  readonly token: string;
4413
3752
  }
@@ -4462,26 +3801,16 @@ declare namespace io.flow.bitpay.v0.models {
4462
3801
  readonly url: string;
4463
3802
  readonly posData?: string;
4464
3803
  readonly status: io.flow.bitpay.v0.enums.InvoiceStatus;
4465
- readonly exceptionStatus: string;
3804
+ readonly exceptionStatus: any;
4466
3805
  readonly price: number;
4467
3806
  readonly currency: string;
4468
3807
  readonly amountPaid: number;
4469
- readonly paymentSubtotals: {
4470
- [key: string]: string;
4471
- };
4472
- readonly paymentTotals: {
4473
- [key: string]: string;
4474
- };
4475
- readonly exchangeRates: {
4476
- [key: string]: string;
4477
- };
3808
+ readonly paymentSubtotals: any;
3809
+ readonly paymentTotals: any;
3810
+ readonly exchangeRates: any;
4478
3811
  readonly transactionCurrency?: string;
4479
- readonly supportedTransactionCurrencies: {
4480
- [key: string]: string;
4481
- };
4482
- readonly paymentCodes: {
4483
- [key: string]: string;
4484
- };
3812
+ readonly supportedTransactionCurrencies: any;
3813
+ readonly paymentCodes: any;
4485
3814
  readonly token: string;
4486
3815
  }
4487
3816
  interface InvoiceWebhookResponse {
@@ -4520,9 +3849,7 @@ declare namespace io.flow.label.v0.models {
4520
3849
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4521
3850
  readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
4522
3851
  readonly package: io.flow.label.v0.models.ShippingLabelPackage;
4523
- readonly attributes?: {
4524
- [key: string]: string;
4525
- };
3852
+ readonly attributes?: Record<string, string>;
4526
3853
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
4527
3854
  readonly direction?: io.flow.label.v0.enums.Direction;
4528
3855
  readonly order_number?: string;
@@ -4532,9 +3859,7 @@ declare namespace io.flow.label.v0.models {
4532
3859
  interface DetailedShippingNotificationForm {
4533
3860
  readonly discriminator: 'detailed_shipping_notification_form';
4534
3861
  readonly key?: string;
4535
- readonly attributes?: {
4536
- [key: string]: string;
4537
- };
3862
+ readonly attributes?: Record<string, string>;
4538
3863
  readonly carrier_tracking_number: string;
4539
3864
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4540
3865
  readonly order_number: string;
@@ -4560,9 +3885,7 @@ declare namespace io.flow.label.v0.models {
4560
3885
  }
4561
3886
  interface ShippingLabel {
4562
3887
  readonly id: string;
4563
- readonly attributes: {
4564
- [key: string]: string;
4565
- };
3888
+ readonly attributes: Record<string, string>;
4566
3889
  readonly carrier_tracking_number: string;
4567
3890
  readonly carrier_tracking_number_url: string;
4568
3891
  readonly cost: io.flow.common.v0.models.Price;
@@ -4607,9 +3930,7 @@ declare namespace io.flow.label.v0.models {
4607
3930
  interface ShippingNotification {
4608
3931
  readonly id: string;
4609
3932
  readonly key: string;
4610
- readonly attributes: {
4611
- [key: string]: string;
4612
- };
3933
+ readonly attributes: Record<string, string>;
4613
3934
  readonly carrier_tracking_number: string;
4614
3935
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
4615
3936
  readonly flow_tracking_number: string;
@@ -4681,9 +4002,7 @@ declare namespace io.flow.session.v0.models {
4681
4002
  readonly visitor: io.flow.session.v0.models.SessionVisitor;
4682
4003
  readonly visit: io.flow.session.v0.models.SessionVisit;
4683
4004
  readonly environment: io.flow.common.v0.enums.Environment;
4684
- readonly attributes: {
4685
- [key: string]: string;
4686
- };
4005
+ readonly attributes: Record<string, string>;
4687
4006
  readonly ip?: string;
4688
4007
  readonly local?: io.flow.session.v0.models.LocalSession;
4689
4008
  readonly geo?: io.flow.session.v0.models.SessionGeo;
@@ -4729,9 +4048,7 @@ declare namespace io.flow.session.v0.models {
4729
4048
  readonly currency?: string;
4730
4049
  readonly language?: string;
4731
4050
  readonly locale?: string;
4732
- readonly attributes?: {
4733
- [key: string]: string;
4734
- };
4051
+ readonly attributes?: Record<string, string>;
4735
4052
  readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
4736
4053
  }
4737
4054
  interface SessionFormat {
@@ -4750,9 +4067,7 @@ declare namespace io.flow.session.v0.models {
4750
4067
  readonly currency?: string;
4751
4068
  readonly language?: string;
4752
4069
  readonly locale?: string;
4753
- readonly attributes?: {
4754
- [key: string]: string;
4755
- };
4070
+ readonly attributes?: Record<string, string>;
4756
4071
  readonly experiment?: io.flow.session.v0.models.SessionExperimentForm;
4757
4072
  }
4758
4073
  interface SessionVisit {
@@ -4789,9 +4104,7 @@ declare namespace io.flow.shopify.v0.models {
4789
4104
  readonly item_count: number;
4790
4105
  readonly total_price: number;
4791
4106
  readonly local: io.flow.shopify.v0.models.ShopifyLocalCartMetadata;
4792
- readonly attributes?: {
4793
- [key: string]: string;
4794
- };
4107
+ readonly attributes?: any;
4795
4108
  readonly note?: string;
4796
4109
  readonly requires_shipping: boolean;
4797
4110
  readonly total_weight?: number;
@@ -4799,25 +4112,19 @@ declare namespace io.flow.shopify.v0.models {
4799
4112
  interface ShopifyCartAddMultipleForm {
4800
4113
  readonly discriminator: 'shopify_cart_add_multiple_form';
4801
4114
  readonly items: io.flow.shopify.v0.models.ShopifyCartAddSingleForm[];
4802
- readonly attributes?: {
4803
- [key: string]: string;
4804
- };
4115
+ readonly attributes?: Record<string, string>;
4805
4116
  }
4806
4117
  interface ShopifyCartAddSingleForm {
4807
4118
  readonly discriminator: 'shopify_cart_add_single_form';
4808
4119
  readonly id: number;
4809
4120
  readonly quantity: number;
4810
- readonly properties?: {
4811
- [key: string]: string;
4812
- };
4121
+ readonly properties?: Record<string, string>;
4813
4122
  }
4814
4123
  interface ShopifyCartChangeForm {
4815
4124
  readonly quantity: number;
4816
4125
  readonly line?: number;
4817
4126
  readonly id?: number;
4818
- readonly properties?: {
4819
- [key: string]: string;
4820
- };
4127
+ readonly properties?: Record<string, string>;
4821
4128
  }
4822
4129
  interface ShopifyCartConversion {
4823
4130
  readonly flow: io.flow.shopify.v0.models.ShopifyCartConversionFlowOrder;
@@ -4828,7 +4135,7 @@ declare namespace io.flow.shopify.v0.models {
4828
4135
  readonly errors?: io.flow.experience.v0.models.OrderError[];
4829
4136
  }
4830
4137
  interface ShopifyCartConversionShopifyCart {
4831
- readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
4138
+ readonly cart: unknown;
4832
4139
  }
4833
4140
  interface ShopifyCartItem {
4834
4141
  readonly id: string;
@@ -4846,9 +4153,7 @@ declare namespace io.flow.shopify.v0.models {
4846
4153
  readonly image?: string;
4847
4154
  readonly product_description?: string;
4848
4155
  readonly product_type?: string;
4849
- readonly properties?: {
4850
- [key: string]: string;
4851
- };
4156
+ readonly properties?: Record<string, string>;
4852
4157
  readonly requires_shipping: boolean;
4853
4158
  readonly sku?: string;
4854
4159
  readonly variant_title?: string;
@@ -4941,9 +4246,7 @@ declare namespace io.flow.shopify.v0.models {
4941
4246
  readonly id: string;
4942
4247
  }
4943
4248
  interface ShopifyOrderAttributesForm {
4944
- readonly attributes: {
4945
- [key: string]: string;
4946
- };
4249
+ readonly attributes: Record<string, string>;
4947
4250
  }
4948
4251
  interface ShopifyOrderDeliveryMetafield {
4949
4252
  readonly key?: string;
@@ -4962,9 +4265,7 @@ declare namespace io.flow.shopify.v0.models {
4962
4265
  }
4963
4266
  interface ShopifyOrderPriceAttributesMetafield {
4964
4267
  readonly item_number: string;
4965
- readonly price_attributes: {
4966
- [key: string]: io.flow.common.v0.models.PriceWithBase;
4967
- };
4268
+ readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
4968
4269
  }
4969
4270
  interface ShopifyOrderRomanizationMetafield {
4970
4271
  readonly destination: io.flow.experience.v0.models.OrderAddress;
@@ -5065,9 +4366,7 @@ declare namespace io.flow.payment.internal.v0.models {
5065
4366
  }
5066
4367
  interface AuthorizationParameters {
5067
4368
  readonly method: string;
5068
- readonly parameters: {
5069
- [key: string]: string;
5070
- };
4369
+ readonly parameters: any;
5071
4370
  }
5072
4371
  interface AuthorizationParametersForm {
5073
4372
  readonly order_number: string;
@@ -5105,15 +4404,11 @@ declare namespace io.flow.payment.internal.v0.models {
5105
4404
  }
5106
4405
  interface Cipher {
5107
4406
  readonly id: string;
5108
- readonly attributes: {
5109
- [key: string]: string;
5110
- };
4407
+ readonly attributes: Record<string, string>;
5111
4408
  }
5112
4409
  interface CipherForm {
5113
4410
  readonly text: string;
5114
- readonly attributes?: {
5115
- [key: string]: string;
5116
- };
4411
+ readonly attributes?: Record<string, string>;
5117
4412
  }
5118
4413
  interface CipherReference {
5119
4414
  readonly id: string;
@@ -5257,9 +4552,7 @@ declare namespace io.flow.harmonization.v0.models {
5257
4552
  readonly number: string;
5258
4553
  readonly name: string;
5259
4554
  readonly categories: string[];
5260
- readonly attributes: {
5261
- [key: string]: string;
5262
- };
4555
+ readonly attributes: Record<string, string>;
5263
4556
  readonly description?: string;
5264
4557
  }
5265
4558
  interface HarmonizedItemForm {
@@ -5269,9 +4562,7 @@ declare namespace io.flow.harmonization.v0.models {
5269
4562
  readonly price: number;
5270
4563
  readonly categories?: string[];
5271
4564
  readonly description?: string;
5272
- readonly attributes?: {
5273
- [key: string]: string;
5274
- };
4565
+ readonly attributes?: Record<string, string>;
5275
4566
  }
5276
4567
  interface HarmonizedItemPutForm {
5277
4568
  readonly name: string;
@@ -5279,9 +4570,7 @@ declare namespace io.flow.harmonization.v0.models {
5279
4570
  readonly price: number;
5280
4571
  readonly categories?: string[];
5281
4572
  readonly description?: string;
5282
- readonly attributes?: {
5283
- [key: string]: string;
5284
- };
4573
+ readonly attributes?: Record<string, string>;
5285
4574
  }
5286
4575
  interface HarmonizedItemReference {
5287
4576
  readonly id: string;
@@ -5424,17 +4713,13 @@ declare namespace io.flow.catalog.v0.models {
5424
4713
  readonly price: io.flow.common.v0.models.Price;
5425
4714
  readonly categories: string[];
5426
4715
  readonly description?: string;
5427
- readonly attributes: {
5428
- [key: string]: string;
5429
- };
4716
+ readonly attributes: Record<string, string>;
5430
4717
  readonly dimensions: io.flow.common.v0.models.Dimensions;
5431
4718
  readonly images: io.flow.catalog.v0.models.Image[];
5432
4719
  readonly local?: io.flow.catalog.v0.models.Local;
5433
4720
  }
5434
4721
  interface ItemAttributesPatchForm {
5435
- readonly attributes: {
5436
- [key: string]: string;
5437
- };
4722
+ readonly attributes: Record<string, string>;
5438
4723
  }
5439
4724
  interface ItemForm {
5440
4725
  readonly number: string;
@@ -5444,9 +4729,7 @@ declare namespace io.flow.catalog.v0.models {
5444
4729
  readonly price: number;
5445
4730
  readonly categories?: string[];
5446
4731
  readonly description?: string;
5447
- readonly attributes?: {
5448
- [key: string]: string;
5449
- };
4732
+ readonly attributes?: Record<string, string>;
5450
4733
  readonly dimensions?: io.flow.common.v0.models.Dimensions;
5451
4734
  readonly images?: io.flow.catalog.v0.models.ImageForm[];
5452
4735
  }
@@ -5458,9 +4741,7 @@ declare namespace io.flow.catalog.v0.models {
5458
4741
  readonly price?: io.flow.common.v0.models.Price;
5459
4742
  readonly categories?: string[];
5460
4743
  readonly description?: string;
5461
- readonly attributes?: {
5462
- [key: string]: string;
5463
- };
4744
+ readonly attributes?: Record<string, string>;
5464
4745
  readonly dimensions?: io.flow.common.v0.models.Dimensions;
5465
4746
  readonly images?: io.flow.catalog.v0.models.ImageForm[];
5466
4747
  }
@@ -5471,9 +4752,7 @@ declare namespace io.flow.catalog.v0.models {
5471
4752
  readonly position?: number;
5472
4753
  readonly categories?: string[];
5473
4754
  readonly description?: string;
5474
- readonly attributes?: {
5475
- [key: string]: string;
5476
- };
4755
+ readonly attributes?: Record<string, string>;
5477
4756
  readonly dimensions?: io.flow.common.v0.models.Dimensions;
5478
4757
  readonly images?: io.flow.catalog.v0.models.ImageForm[];
5479
4758
  }
@@ -5481,16 +4760,12 @@ declare namespace io.flow.catalog.v0.models {
5481
4760
  readonly number: string;
5482
4761
  readonly currency?: string;
5483
4762
  readonly price: number;
5484
- readonly attributes: {
5485
- [key: string]: string;
5486
- };
4763
+ readonly attributes: Record<string, string>;
5487
4764
  }
5488
4765
  interface ItemPriceUpdatePutForm {
5489
4766
  readonly currency?: string;
5490
4767
  readonly price: number;
5491
- readonly attributes: {
5492
- [key: string]: string;
5493
- };
4768
+ readonly attributes: Record<string, string>;
5494
4769
  }
5495
4770
  interface ItemStatistics {
5496
4771
  readonly items: number;
@@ -5506,16 +4781,10 @@ declare namespace io.flow.catalog.v0.models {
5506
4781
  readonly experience: io.flow.common.v0.models.ExperienceSummary;
5507
4782
  readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[];
5508
4783
  readonly rates: io.flow.currency.v0.models.Rate[];
5509
- readonly spot_rates: {
5510
- [key: string]: string;
5511
- }[];
4784
+ readonly spot_rates: any[];
5512
4785
  readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
5513
- readonly attributes?: {
5514
- [key: string]: string;
5515
- };
5516
- readonly price_attributes?: {
5517
- [key: string]: io.flow.common.v0.models.PriceWithBase;
5518
- };
4786
+ readonly attributes?: Record<string, string>;
4787
+ readonly price_attributes?: Record<string, io.flow.common.v0.models.PriceWithBase>;
5519
4788
  }
5520
4789
  interface LocalizedAdjustment {
5521
4790
  readonly currency: string;
@@ -5727,9 +4996,7 @@ declare namespace io.flow.common.v0.models {
5727
4996
  interface CatalogItemSummary {
5728
4997
  readonly number: string;
5729
4998
  readonly name: string;
5730
- readonly attributes: {
5731
- [key: string]: string;
5732
- };
4999
+ readonly attributes: Record<string, string>;
5733
5000
  }
5734
5001
  interface CheckoutReference {
5735
5002
  readonly id: string;
@@ -5798,9 +5065,7 @@ declare namespace io.flow.common.v0.models {
5798
5065
  readonly label: string;
5799
5066
  }
5800
5067
  interface InputForm {
5801
- readonly values?: {
5802
- [key: string]: string;
5803
- };
5068
+ readonly values?: Record<string, string>;
5804
5069
  }
5805
5070
  interface InputFormSpecification {
5806
5071
  readonly inputs?: io.flow.common.v0.models.InputSpecification[];
@@ -5825,9 +5090,7 @@ declare namespace io.flow.common.v0.models {
5825
5090
  readonly number: string;
5826
5091
  readonly quantity: number;
5827
5092
  readonly price: io.flow.common.v0.models.Money;
5828
- readonly attributes: {
5829
- [key: string]: string;
5830
- };
5093
+ readonly attributes: Record<string, string>;
5831
5094
  readonly center?: string;
5832
5095
  readonly discount?: io.flow.common.v0.models.Money;
5833
5096
  }
@@ -5836,9 +5099,7 @@ declare namespace io.flow.common.v0.models {
5836
5099
  readonly quantity: number;
5837
5100
  readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
5838
5101
  readonly price?: io.flow.common.v0.models.Money;
5839
- readonly attributes?: {
5840
- [key: string]: string;
5841
- };
5102
+ readonly attributes?: Record<string, string>;
5842
5103
  readonly center?: string;
5843
5104
  readonly discount?: io.flow.common.v0.models.Money;
5844
5105
  readonly discounts?: io.flow.common.v0.models.DiscountsForm;
@@ -6012,13 +5273,65 @@ declare namespace io.flow.common.v0.models {
6012
5273
  readonly country: string;
6013
5274
  }
6014
5275
  }
6015
- declare namespace io.flow.common.v0.unions {
6016
- type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
6017
- type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
6018
- type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
6019
- type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
6020
- type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
6021
- type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
5276
+ declare namespace io.flow.common.v0.unions {
5277
+ type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
5278
+ type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
5279
+ type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
5280
+ type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
5281
+ type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
5282
+ type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
5283
+ }
5284
+ declare namespace io.flow.catalog.internal.v0.models {
5285
+ interface CatalogItemBatchIndexTask {
5286
+ readonly discriminator: 'catalog_item_batch_index_task';
5287
+ readonly catalog_id: string;
5288
+ readonly catalog_item_ids: string;
5289
+ }
5290
+ interface CatalogItemDeleteIndexTask {
5291
+ readonly discriminator: 'catalog_item_delete_index_task';
5292
+ readonly catalog_id: string;
5293
+ readonly catalog_item_id: string;
5294
+ }
5295
+ interface CatalogItemIndexTask {
5296
+ readonly discriminator: 'catalog_item_index_task';
5297
+ readonly catalog_id: string;
5298
+ readonly catalog_item_id: string;
5299
+ }
5300
+ interface ChangeSettingsIndexTask {
5301
+ readonly discriminator: 'change_settings_index_task';
5302
+ readonly name: string;
5303
+ }
5304
+ interface DeleteIndexTask {
5305
+ readonly discriminator: 'delete_index_task';
5306
+ readonly name: string;
5307
+ }
5308
+ interface InternalItemForm {
5309
+ readonly id: string;
5310
+ readonly item_form: io.flow.catalog.v0.models.ItemForm;
5311
+ }
5312
+ interface ItemRestriction {
5313
+ readonly id: string;
5314
+ readonly organization: string;
5315
+ readonly item: io.flow.common.v0.models.CatalogItemSummary;
5316
+ readonly regions: io.flow.reference.v0.models.Region[];
5317
+ }
5318
+ interface ItemRestrictionPostForm {
5319
+ readonly item_numbers: string[];
5320
+ readonly regions: string[];
5321
+ }
5322
+ interface ItemRestrictionPutForm {
5323
+ readonly item_number: string;
5324
+ readonly regions: string[];
5325
+ }
5326
+ interface ItemRestrictionVersion {
5327
+ readonly id: string;
5328
+ readonly timestamp: string;
5329
+ readonly type: io.flow.common.v0.enums.ChangeType;
5330
+ readonly item_restriction: io.flow.catalog.internal.v0.models.ItemRestriction;
5331
+ }
5332
+ }
5333
+ declare namespace io.flow.catalog.internal.v0.unions {
5334
+ type IndexTaskType = io.flow.catalog.internal.v0.models.CatalogItemIndexTask | io.flow.catalog.internal.v0.models.CatalogItemBatchIndexTask | io.flow.catalog.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.catalog.internal.v0.models.ChangeSettingsIndexTask | io.flow.catalog.internal.v0.models.DeleteIndexTask;
6022
5335
  }
6023
5336
  declare namespace io.flow.issuer.v0.models {
6024
5337
  interface Issuer {
@@ -6160,9 +5473,7 @@ declare namespace io.flow.fraud.internal.v0.models {
6160
5473
  readonly risk_evaluation?: io.flow.fraud.internal.v0.enums.RiskEvaluation;
6161
5474
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
6162
5475
  readonly status_updated_at?: string;
6163
- readonly attributes?: {
6164
- [key: string]: string;
6165
- };
5476
+ readonly attributes?: Record<string, string>;
6166
5477
  }
6167
5478
  interface FraudReviewDecision {
6168
5479
  readonly id: string;
@@ -6669,9 +5980,7 @@ declare namespace io.flow.stripe.v0.models {
6669
5980
  }
6670
5981
  interface NextAction {
6671
5982
  readonly type: io.flow.stripe.v0.enums.NextActionType;
6672
- readonly use_stripe_sdk?: {
6673
- [key: string]: string;
6674
- };
5983
+ readonly use_stripe_sdk?: any;
6675
5984
  readonly redirect_to_url?: io.flow.stripe.v0.models.RedirectToUrl;
6676
5985
  }
6677
5986
  interface Order {
@@ -6823,9 +6132,7 @@ declare namespace io.flow.stripe.v0.models {
6823
6132
  readonly object: string;
6824
6133
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
6825
6134
  readonly card?: io.flow.stripe.v0.models.SourceCard;
6826
- readonly card_present?: {
6827
- [key: string]: string;
6828
- };
6135
+ readonly card_present?: any;
6829
6136
  readonly created: number;
6830
6137
  readonly customer?: string;
6831
6138
  readonly livemode: boolean;
@@ -6980,9 +6287,7 @@ declare namespace io.flow.stripe.v0.models {
6980
6287
  readonly server_transaction_id?: string;
6981
6288
  readonly three_ds_method_url?: string;
6982
6289
  readonly three_ds_optimizations?: string;
6983
- readonly directory_server_encryption?: {
6984
- [key: string]: string;
6985
- };
6290
+ readonly directory_server_encryption?: any;
6986
6291
  }
6987
6292
  interface StripeError {
6988
6293
  readonly type: io.flow.stripe.v0.enums.ErrorType;
@@ -7004,12 +6309,8 @@ declare namespace io.flow.stripe.v0.models {
7004
6309
  readonly type: string;
7005
6310
  }
7006
6311
  interface StripeEventData {
7007
- readonly object?: {
7008
- [key: string]: string;
7009
- };
7010
- readonly previous_attributes?: {
7011
- [key: string]: string;
7012
- };
6312
+ readonly object?: any;
6313
+ readonly previous_attributes?: any;
7013
6314
  }
7014
6315
  interface StripeEventRequest {
7015
6316
  readonly id?: string;
@@ -7100,9 +6401,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
7100
6401
  readonly item_number: string;
7101
6402
  readonly item_name: string;
7102
6403
  readonly amount: number;
7103
- readonly item_attributes?: {
7104
- [key: string]: string;
7105
- };
6404
+ readonly item_attributes?: Record<string, string>;
7106
6405
  readonly starts_at: string;
7107
6406
  readonly ends_at?: string;
7108
6407
  }
@@ -7143,9 +6442,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
7143
6442
  readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
7144
6443
  readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
7145
6444
  readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
7146
- readonly price_attributes: {
7147
- [key: string]: io.flow.common.v0.models.PriceWithBase;
7148
- };
6445
+ readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
7149
6446
  }
7150
6447
  interface ExportVersion {
7151
6448
  readonly id: string;
@@ -7251,8 +6548,8 @@ declare namespace io.flow.shopify.internal.v0.enums {
7251
6548
  }
7252
6549
  declare namespace io.flow.shopify.internal.v0.models {
7253
6550
  interface CompletePriceRule {
7254
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
7255
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
6551
+ readonly price_rule: unknown;
6552
+ readonly discount_codes: unknown[];
7256
6553
  }
7257
6554
  interface InstallForm {
7258
6555
  readonly token: string;
@@ -7386,433 +6683,132 @@ declare namespace io.flow.shopify.internal.v0.models {
7386
6683
  readonly starts_at: string;
7387
6684
  readonly ends_at?: string;
7388
6685
  readonly status: io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
7389
- readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
7390
- readonly stackable_limit?: number;
7391
- }
7392
- interface ShopifyPromotionAttributeValue {
7393
- readonly name: string;
7394
- readonly discount: io.flow.common.v0.models.Money;
7395
- }
7396
- interface ShopifyPromotionFixedAmount {
7397
- readonly discriminator: 'shopify_promotion_fixed_amount';
7398
- readonly amount: number;
7399
- readonly currency: string;
7400
- }
7401
- interface ShopifyPromotionForm {
7402
- readonly code: string;
7403
- }
7404
- interface ShopifyPromotionItemEntitlement {
7405
- readonly discriminator: 'shopify_promotion_item_entitlement';
7406
- readonly q: string;
7407
- readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7408
- }
7409
- interface ShopifyPromotionItemPrerequisite {
7410
- readonly discriminator: 'shopify_promotion_item_prerequisite';
7411
- readonly q: string;
7412
- readonly at_least?: number;
7413
- readonly at_most?: number;
7414
- readonly exclude_from_offer?: boolean;
7415
- }
7416
- interface ShopifyPromotionMaxAmount {
7417
- readonly discriminator: 'shopify_promotion_max_amount';
7418
- readonly amount: number;
7419
- readonly currency: string;
7420
- }
7421
- interface ShopifyPromotionMaxLimit {
7422
- readonly discriminator: 'shopify_promotion_max_limit';
7423
- readonly limit: number;
7424
- }
7425
- interface ShopifyPromotionOffer {
7426
- readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
7427
- readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
7428
- readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
7429
- }
7430
- interface ShopifyPromotionOrderEntitlement {
7431
- readonly discriminator: 'shopify_promotion_order_entitlement';
7432
- readonly components: io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
7433
- readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7434
- }
7435
- interface ShopifyPromotionOrderPrerequisite {
7436
- readonly discriminator: 'shopify_promotion_order_prerequisite';
7437
- readonly q: string;
7438
- }
7439
- interface ShopifyPromotionPercent {
7440
- readonly discriminator: 'shopify_promotion_percent';
7441
- readonly percent: number;
7442
- }
7443
- interface ShopifyPromotionRule {
7444
- readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
7445
- readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
7446
- }
7447
- interface ShopifyWebhook {
7448
- readonly id: string;
7449
- readonly shop_id: string;
7450
- readonly address: string;
7451
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
7452
- }
7453
- interface ShopifyWebhookEvent {
7454
- readonly dummy: string;
7455
- }
7456
- interface ShopifyWebhookForm {
7457
- readonly myshopify_domain: string;
7458
- readonly address: string;
7459
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
7460
- }
7461
- }
7462
- declare namespace io.flow.shopify.internal.v0.unions {
7463
- type ShopifyPromotionOfferDiscount = io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
7464
- type ShopifyPromotionOfferEntitlement = io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
7465
- type ShopifyPromotionOfferMax = io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount;
7466
- type ShopifyPromotionPrerequisite = io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite;
7467
- }
7468
- declare namespace io.flow.ftp.v0.enums {
7469
- type FtpFileSource = 'flow' | 'organization';
7470
- }
7471
- declare namespace io.flow.ftp.v0.models {
7472
- interface FtpAccount {
7473
- readonly server: io.flow.ftp.v0.models.FtpServer;
7474
- readonly user: io.flow.ftp.v0.models.FtpUser;
7475
- }
7476
- interface FtpFile {
7477
- readonly id: string;
7478
- readonly source: io.flow.ftp.v0.enums.FtpFileSource;
7479
- readonly name: string;
7480
- readonly directory: string;
7481
- readonly url: string;
7482
- readonly created_at: string;
7483
- }
7484
- interface FtpFileForm {
7485
- readonly url: string;
7486
- readonly directory: string;
7487
- readonly name?: string;
7488
- }
7489
- interface FtpFolder {
7490
- readonly id: string;
7491
- readonly path: string;
7492
- readonly webhook: boolean;
7493
- readonly description?: string;
7494
- }
7495
- interface FtpFolderForm {
7496
- readonly path: string;
7497
- readonly webhook: boolean;
7498
- readonly description?: string;
7499
- }
7500
- interface FtpOrganizationSettings {
7501
- readonly enabled: boolean;
7502
- readonly emails: string[];
7503
- readonly account?: io.flow.ftp.v0.models.FtpAccount;
7504
- }
7505
- interface FtpOrganizationSettingsForm {
7506
- readonly enabled: boolean;
7507
- readonly emails: string[];
7508
- }
7509
- interface FtpServer {
7510
- readonly hostname: string;
7511
- }
7512
- interface FtpUser {
7513
- readonly username: string;
7514
- readonly password?: string;
7515
- }
7516
- }
7517
- declare namespace io.flow.checkout.configuration.v0.enums {
7518
- type CheckoutPromptBehavior = 'always' | 'incomplete';
7519
- type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
7520
- }
7521
- declare namespace io.flow.checkout.configuration.v0.models {
7522
- interface CheckoutBehavior {
7523
- readonly shipping_address: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingAddress;
7524
- readonly shipping_method: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingMethod;
7525
- readonly customer_info: io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfo;
7526
- }
7527
- interface CheckoutBehaviorCustomerInfo {
7528
- readonly email: io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfoEmail;
7529
- }
7530
- interface CheckoutBehaviorCustomerInfoEmail {
7531
- readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
7532
- }
7533
- interface CheckoutBehaviorShippingAddress {
7534
- readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
7535
- }
7536
- interface CheckoutBehaviorShippingMethod {
7537
- readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutShippingMethodPromptBehavior;
7538
- }
7539
- interface CheckoutConfiguration {
7540
- readonly id: string;
7541
- readonly behavior: io.flow.checkout.configuration.v0.models.CheckoutBehavior;
7542
- readonly settings: io.flow.checkout.configuration.v0.models.CheckoutSettings;
7543
- }
7544
- interface CheckoutConfigurationReference {
7545
- readonly id: string;
7546
- }
7547
- interface CheckoutSettings {
7548
- readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
7549
- readonly session_persistence_attribute_keys?: string[];
7550
- }
7551
- }
7552
- declare namespace io.flow.flexe.v0.enums {
7553
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
7554
- type FlexeNotification = 'receipt' | 'shipment';
7555
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
7556
- type FlexeStatus = 'in_transit' | 'completed';
7557
- }
7558
- declare namespace io.flow.flexe.v0.models {
7559
- interface BillOfLading {
7560
- readonly type: string;
7561
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
7562
- }
7563
- interface BillTo {
7564
- readonly name: string;
7565
- readonly address_1: string;
7566
- readonly locality: string;
7567
- readonly region: string;
7568
- readonly postal_code: string;
7569
- readonly country: string;
7570
- readonly address_2?: string;
7571
- readonly address_3?: string;
7572
- }
7573
- interface CartonPickDeliveryDetails {
7574
- readonly shipment_uuid?: string;
7575
- readonly carrier?: string;
7576
- readonly carrier_id?: string;
7577
- }
7578
- interface ContainerDeliveryDetails {
7579
- readonly purchase_order: string;
7580
- readonly container_number?: string;
7581
- readonly seal_number?: string;
7582
- readonly vendor?: string;
7583
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7584
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7585
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7586
- readonly quantities_by_inventory: {
7587
- [key: string]: io.flow.flexe.v0.models.QuantityByInventory;
7588
- };
7589
- }
7590
- interface DeliveryDetails {
7591
- readonly shipment_uuid?: string;
7592
- readonly trailer_number?: string;
7593
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
7594
- readonly quantities_by_inventory: {
7595
- [key: string]: io.flow.flexe.v0.models.QuantityByInventory;
7596
- };
7597
- }
7598
- interface Error {
7599
- readonly url: string;
7600
- readonly client_request_id: string;
7601
- readonly generated_at: string;
7602
- readonly error: string;
7603
- }
7604
- interface FlexeAttachment {
7605
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
7606
- readonly display_name: string;
7607
- readonly url: string;
7608
- }
7609
- interface FlexeEcommerceFulfillment {
7610
- readonly url: string;
7611
- readonly client_request_id: string;
7612
- readonly generated_at: string;
7613
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
7614
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
7615
- }
7616
- interface FlexeEcommerceFulfillmentData {
7617
- readonly import_id: string;
7618
- readonly succeeded_uuids: string[];
7619
- readonly failed_uuids: string[];
7620
- readonly errors: string[];
7621
- }
7622
- interface FlexeEcommerceFulfillmentErrors {
7623
- readonly status: string;
7624
- readonly title: string;
7625
- readonly detail: string;
7626
- readonly source?: string;
7627
- }
7628
- interface FlexeEcommerceFulfillmentForm {
7629
- readonly reservation_id: number;
7630
- readonly client_request_id: string;
7631
- readonly request: io.flow.flexe.v0.models.Orders;
7632
- }
7633
- interface FlexeInventoryData {
7634
- readonly sku: string;
7635
- readonly quantity: string;
7636
- readonly unit: string;
7637
- }
7638
- interface FlexeRetailAttachment {
7639
- readonly display_name: string;
7640
- readonly url: string;
7641
- }
7642
- interface FlexeRetailFulfillment {
7643
- readonly url: string;
7644
- readonly client_request_id: string;
7645
- readonly generated_at: string;
7646
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
7647
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
7648
- }
7649
- interface FlexeRetailFulfillmentData {
7650
- readonly id: string;
7651
- readonly purchase_order_uuid: string;
7652
- readonly status: string;
7653
- }
7654
- interface FlexeRetailFulfillmentErrors {
7655
- readonly type: string;
7656
- readonly message: string;
6686
+ readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
6687
+ readonly stackable_limit?: number;
7657
6688
  }
7658
- interface FlexeRetailFulfillmentForm {
7659
- readonly reservation_id: number;
7660
- readonly client_request_id?: string;
7661
- readonly request: io.flow.flexe.v0.models.RetailOrder;
6689
+ interface ShopifyPromotionAttributeValue {
6690
+ readonly name: string;
6691
+ readonly discount: io.flow.common.v0.models.Money;
7662
6692
  }
7663
- interface FulfillmentOrderDetails {
7664
- readonly shipment_uuid: string;
7665
- readonly carrier?: string;
7666
- readonly carrier_id?: string;
6693
+ interface ShopifyPromotionFixedAmount {
6694
+ readonly discriminator: 'shopify_promotion_fixed_amount';
6695
+ readonly amount: number;
6696
+ readonly currency: string;
7667
6697
  }
7668
- interface Gs1Us {
7669
- readonly number: string;
7670
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
7671
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
6698
+ interface ShopifyPromotionForm {
6699
+ readonly code: string;
7672
6700
  }
7673
- interface Gs1UsShipTo {
7674
- readonly cid_number?: string;
7675
- readonly location_number?: string;
7676
- readonly free_on_board?: boolean;
6701
+ interface ShopifyPromotionItemEntitlement {
6702
+ readonly discriminator: 'shopify_promotion_item_entitlement';
6703
+ readonly q: string;
6704
+ readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7677
6705
  }
7678
- interface Inventory {
7679
- readonly url: string;
7680
- readonly client_request_id: string;
7681
- readonly generated_at: string;
7682
- readonly data: {
7683
- [key: string]: io.flow.flexe.v0.models.InventoryDetails;
7684
- };
6706
+ interface ShopifyPromotionItemPrerequisite {
6707
+ readonly discriminator: 'shopify_promotion_item_prerequisite';
6708
+ readonly q: string;
6709
+ readonly at_least?: number;
6710
+ readonly at_most?: number;
6711
+ readonly exclude_from_offer?: boolean;
7685
6712
  }
7686
- interface InventoryCount {
6713
+ interface ShopifyPromotionMaxAmount {
6714
+ readonly discriminator: 'shopify_promotion_max_amount';
7687
6715
  readonly amount: number;
7688
- readonly unit: string;
7689
- }
7690
- interface InventoryData {
7691
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
7692
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
7693
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
6716
+ readonly currency: string;
7694
6717
  }
7695
- interface InventoryDetails {
7696
- readonly key: {
7697
- [key: string]: io.flow.flexe.v0.models.Sku;
7698
- };
6718
+ interface ShopifyPromotionMaxLimit {
6719
+ readonly discriminator: 'shopify_promotion_max_limit';
6720
+ readonly limit: number;
7699
6721
  }
7700
- interface LadingQuantity {
7701
- readonly num_pallets: number;
6722
+ interface ShopifyPromotionOffer {
6723
+ readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
6724
+ readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
6725
+ readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
7702
6726
  }
7703
- interface Order {
7704
- readonly shipment_uuid: string;
7705
- readonly purchase_order: string;
7706
- readonly carrier: string;
7707
- readonly service_type: string;
7708
- readonly carrier_assigned_id: string;
7709
- readonly name: string;
7710
- readonly address_1: string;
7711
- readonly address_2?: string;
7712
- readonly address_3?: string;
7713
- readonly city: string;
7714
- readonly state: string;
7715
- readonly postal_code: string;
7716
- readonly phone?: string;
7717
- readonly instructions?: string;
7718
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
7719
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
6727
+ interface ShopifyPromotionOrderEntitlement {
6728
+ readonly discriminator: 'shopify_promotion_order_entitlement';
6729
+ readonly components: io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
6730
+ readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7720
6731
  }
7721
- interface Orders {
7722
- readonly orders: io.flow.flexe.v0.models.Order[];
6732
+ interface ShopifyPromotionOrderPrerequisite {
6733
+ readonly discriminator: 'shopify_promotion_order_prerequisite';
6734
+ readonly q: string;
7723
6735
  }
7724
- interface Pallet {
7725
- readonly pallet_id: string;
7726
- readonly sku: string;
7727
- readonly quantity: number;
7728
- readonly packaging: string;
6736
+ interface ShopifyPromotionPercent {
6737
+ readonly discriminator: 'shopify_promotion_percent';
6738
+ readonly percent: number;
7729
6739
  }
7730
- interface PurchaseOrder {
7731
- readonly retail_fulfillment_order_id: string;
7732
- readonly bill_of_lading_number: string;
7733
- readonly purchase_order_uuid: string;
7734
- readonly pickup_window_start: string;
7735
- readonly pickup_window_end: string;
7736
- readonly tags: string[];
6740
+ interface ShopifyPromotionRule {
6741
+ readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
6742
+ readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
7737
6743
  }
7738
- interface QuantityByInventory {
7739
- readonly received: io.flow.flexe.v0.models.InventoryData;
7740
- readonly expected?: io.flow.flexe.v0.models.InventoryData;
7741
- readonly damaged?: io.flow.flexe.v0.models.InventoryData;
6744
+ interface ShopifyWebhook {
6745
+ readonly id: string;
6746
+ readonly shop_id: string;
6747
+ readonly address: string;
6748
+ readonly topic: unknown;
7742
6749
  }
7743
- interface ReceiptNotification {
7744
- readonly shipment_id: string;
7745
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
7746
- readonly reservation_id: string;
7747
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
7748
- readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
7749
- readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
6750
+ interface ShopifyWebhookEvent {
6751
+ readonly dummy: string;
7750
6752
  }
7751
- interface RetailFulfillmentOrderDetails {
7752
- readonly master_bill_of_lading_number: string;
7753
- readonly scac: string;
7754
- readonly pro_number: string;
7755
- readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
7756
- readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
6753
+ interface ShopifyWebhookForm {
6754
+ readonly myshopify_domain: string;
6755
+ readonly address: string;
6756
+ readonly topic: unknown;
7757
6757
  }
7758
- interface RetailInventoryData {
7759
- readonly sku: string;
7760
- readonly quantity: number;
7761
- readonly unit: string;
7762
- readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
6758
+ }
6759
+ declare namespace io.flow.shopify.internal.v0.unions {
6760
+ type ShopifyPromotionOfferDiscount = io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
6761
+ type ShopifyPromotionOfferEntitlement = io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
6762
+ type ShopifyPromotionOfferMax = io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount;
6763
+ type ShopifyPromotionPrerequisite = io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite;
6764
+ }
6765
+ declare namespace io.flow.ftp.v0.enums {
6766
+ type FtpFileSource = 'flow' | 'organization';
6767
+ }
6768
+ declare namespace io.flow.ftp.v0.models {
6769
+ interface FtpAccount {
6770
+ readonly server: io.flow.ftp.v0.models.FtpServer;
6771
+ readonly user: io.flow.ftp.v0.models.FtpUser;
7763
6772
  }
7764
- interface RetailOrder {
7765
- readonly order: io.flow.flexe.v0.models.RetailOrderData;
6773
+ interface FtpFile {
6774
+ readonly id: string;
6775
+ readonly source: io.flow.ftp.v0.enums.FtpFileSource;
6776
+ readonly name: string;
6777
+ readonly directory: string;
6778
+ readonly url: string;
6779
+ readonly created_at: string;
7766
6780
  }
7767
- interface RetailOrderData {
7768
- readonly purchase_order_uuid: string;
7769
- readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
7770
- readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
7771
- readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
7772
- readonly ship_to: io.flow.flexe.v0.models.ShipTo;
7773
- readonly build_by?: string;
7774
- readonly instrunctions?: string;
7775
- readonly routing_details_id?: string;
7776
- readonly destination_type?: string;
6781
+ interface FtpFileForm {
6782
+ readonly url: string;
6783
+ readonly directory: string;
6784
+ readonly name?: string;
7777
6785
  }
7778
- interface ShipTo {
7779
- readonly name: string;
7780
- readonly address_1: string;
7781
- readonly locality: string;
7782
- readonly region: string;
7783
- readonly postal_code: string;
7784
- readonly country: string;
7785
- readonly address_2?: string;
7786
- readonly address_3?: string;
6786
+ interface FtpFolder {
6787
+ readonly id: string;
6788
+ readonly path: string;
6789
+ readonly webhook: boolean;
6790
+ readonly description?: string;
7787
6791
  }
7788
- interface ShipWithin {
7789
- readonly start: string;
7790
- readonly end: string;
6792
+ interface FtpFolderForm {
6793
+ readonly path: string;
6794
+ readonly webhook: boolean;
6795
+ readonly description?: string;
7791
6796
  }
7792
- interface ShipmentDeliveryDetails {
7793
- readonly shipment_uuid?: string;
6797
+ interface FtpOrganizationSettings {
6798
+ readonly enabled: boolean;
6799
+ readonly emails: string[];
6800
+ readonly account?: io.flow.ftp.v0.models.FtpAccount;
7794
6801
  }
7795
- interface ShipmentNotification {
7796
- readonly shipment_id: string;
7797
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
7798
- readonly reservation_id: string;
7799
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
7800
- readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
7801
- readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
7802
- readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
7803
- readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
6802
+ interface FtpOrganizationSettingsForm {
6803
+ readonly enabled: boolean;
6804
+ readonly emails: string[];
7804
6805
  }
7805
- interface Sku {
7806
- readonly sku: string;
7807
- readonly description: string;
7808
- readonly summary: {
7809
- [key: string]: io.flow.flexe.v0.models.SkuSummary;
7810
- };
6806
+ interface FtpServer {
6807
+ readonly hostname: string;
7811
6808
  }
7812
- interface SkuSummary {
7813
- readonly key: string;
7814
- readonly quantity: number;
7815
- readonly unit: string;
6809
+ interface FtpUser {
6810
+ readonly username: string;
6811
+ readonly password?: string;
7816
6812
  }
7817
6813
  }
7818
6814
  declare namespace io.flow.fraud.v0.enums {
@@ -7864,9 +6860,7 @@ declare namespace io.flow.payment.v0.models {
7864
6860
  readonly amount: number;
7865
6861
  readonly currency: string;
7866
6862
  readonly key?: string;
7867
- readonly attributes?: {
7868
- [key: string]: string;
7869
- };
6863
+ readonly attributes?: Record<string, string>;
7870
6864
  readonly ip?: string;
7871
6865
  }
7872
6866
  interface AdyenChallengeShopperData {
@@ -7892,9 +6886,7 @@ declare namespace io.flow.payment.v0.models {
7892
6886
  readonly source_authorization_key: string;
7893
6887
  readonly amount: number;
7894
6888
  readonly currency: string;
7895
- readonly attributes?: {
7896
- [key: string]: string;
7897
- };
6889
+ readonly attributes?: Record<string, string>;
7898
6890
  }
7899
6891
  interface AuthorizationError {
7900
6892
  readonly code: io.flow.payment.v0.enums.AuthorizationDeclineCode;
@@ -7938,9 +6930,7 @@ declare namespace io.flow.payment.v0.models {
7938
6930
  readonly discriminator: 'authorization_result_action_post';
7939
6931
  readonly type: io.flow.payment.v0.enums.AuthorizationResultActionType;
7940
6932
  readonly url: string;
7941
- readonly parameters: {
7942
- [key: string]: string;
7943
- };
6933
+ readonly parameters: any;
7944
6934
  }
7945
6935
  interface AuthorizationResultActionWait {
7946
6936
  readonly discriminator: 'authorization_result_action_wait';
@@ -7981,9 +6971,7 @@ declare namespace io.flow.payment.v0.models {
7981
6971
  readonly currency: string;
7982
6972
  readonly requested?: io.flow.common.v0.models.Money;
7983
6973
  readonly created_at: string;
7984
- readonly attributes?: {
7985
- [key: string]: string;
7986
- };
6974
+ readonly attributes?: Record<string, string>;
7987
6975
  readonly status?: io.flow.payment.v0.enums.CaptureStatus;
7988
6976
  readonly base?: io.flow.common.v0.models.Money;
7989
6977
  }
@@ -7997,9 +6985,7 @@ declare namespace io.flow.payment.v0.models {
7997
6985
  readonly key?: string;
7998
6986
  readonly amount?: number;
7999
6987
  readonly currency?: string;
8000
- readonly attributes?: {
8001
- [key: string]: string;
8002
- };
6988
+ readonly attributes?: Record<string, string>;
8003
6989
  }
8004
6990
  interface CaptureIdentifier {
8005
6991
  readonly id: string;
@@ -8041,9 +7027,7 @@ declare namespace io.flow.payment.v0.models {
8041
7027
  readonly currency: string;
8042
7028
  readonly requested?: io.flow.common.v0.models.Money;
8043
7029
  readonly customer: io.flow.common.v0.models.OrderCustomer;
8044
- readonly attributes: {
8045
- [key: string]: string;
8046
- };
7030
+ readonly attributes: Record<string, string>;
8047
7031
  readonly destination?: io.flow.common.v0.models.Address;
8048
7032
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
8049
7033
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
@@ -8140,9 +7124,7 @@ declare namespace io.flow.payment.v0.models {
8140
7124
  readonly customer?: io.flow.common.v0.models.OrderCustomer;
8141
7125
  readonly key?: string;
8142
7126
  readonly cvv?: string;
8143
- readonly attributes?: {
8144
- [key: string]: string;
8145
- };
7127
+ readonly attributes?: Record<string, string>;
8146
7128
  readonly destination?: io.flow.common.v0.models.Address;
8147
7129
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
8148
7130
  readonly ip?: string;
@@ -8161,9 +7143,7 @@ declare namespace io.flow.payment.v0.models {
8161
7143
  }
8162
7144
  interface GooglePayAuthorizationPayload {
8163
7145
  readonly discriminator: 'google_pay_authorization_payload';
8164
- readonly payload: {
8165
- [key: string]: string;
8166
- };
7146
+ readonly payload: any;
8167
7147
  }
8168
7148
  interface IdentifierForm {
8169
7149
  readonly primary?: boolean;
@@ -8173,9 +7153,7 @@ declare namespace io.flow.payment.v0.models {
8173
7153
  readonly discriminator: 'inline_authorization_details';
8174
7154
  readonly id: string;
8175
7155
  readonly client_token?: string;
8176
- readonly parameters?: {
8177
- [key: string]: string;
8178
- };
7156
+ readonly parameters?: any;
8179
7157
  }
8180
7158
  interface InlineAuthorizationForm {
8181
7159
  readonly discriminator: 'inline_authorization_form';
@@ -8186,9 +7164,7 @@ declare namespace io.flow.payment.v0.models {
8186
7164
  readonly currency: string;
8187
7165
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
8188
7166
  readonly key?: string;
8189
- readonly attributes?: {
8190
- [key: string]: string;
8191
- };
7167
+ readonly attributes?: Record<string, string>;
8192
7168
  readonly ip?: string;
8193
7169
  readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
8194
7170
  }
@@ -8215,9 +7191,7 @@ declare namespace io.flow.payment.v0.models {
8215
7191
  readonly currency?: string;
8216
7192
  readonly key?: string;
8217
7193
  readonly cvv?: string;
8218
- readonly attributes?: {
8219
- [key: string]: string;
8220
- };
7194
+ readonly attributes?: Record<string, string>;
8221
7195
  readonly ip?: string;
8222
7196
  readonly options?: io.flow.payment.v0.enums.AuthorizationOption[];
8223
7197
  readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -8237,16 +7211,12 @@ declare namespace io.flow.payment.v0.models {
8237
7211
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
8238
7212
  readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
8239
7213
  readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
8240
- readonly payment?: {
8241
- [key: string]: string;
8242
- };
7214
+ readonly payment?: any;
8243
7215
  readonly amount: number;
8244
7216
  readonly currency: string;
8245
7217
  readonly requested?: io.flow.common.v0.models.Money;
8246
7218
  readonly customer: io.flow.common.v0.models.OrderCustomer;
8247
- readonly attributes: {
8248
- [key: string]: string;
8249
- };
7219
+ readonly attributes: Record<string, string>;
8250
7220
  readonly destination?: io.flow.common.v0.models.Address;
8251
7221
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
8252
7222
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
@@ -8302,9 +7272,7 @@ declare namespace io.flow.payment.v0.models {
8302
7272
  readonly paypal_payment_id: string;
8303
7273
  readonly paypal_payer_id: string;
8304
7274
  readonly key?: string;
8305
- readonly attributes?: {
8306
- [key: string]: string;
8307
- };
7275
+ readonly attributes?: Record<string, string>;
8308
7276
  readonly ip?: string;
8309
7277
  }
8310
7278
  interface PostPaymentRedirectUrls {
@@ -8329,9 +7297,7 @@ declare namespace io.flow.payment.v0.models {
8329
7297
  readonly currency: string;
8330
7298
  readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
8331
7299
  readonly key?: string;
8332
- readonly attributes?: {
8333
- [key: string]: string;
8334
- };
7300
+ readonly attributes?: Record<string, string>;
8335
7301
  readonly ip?: string;
8336
7302
  }
8337
7303
  interface Refund {
@@ -8343,9 +7309,7 @@ declare namespace io.flow.payment.v0.models {
8343
7309
  readonly requested?: io.flow.common.v0.models.Money;
8344
7310
  readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
8345
7311
  readonly created_at: string;
8346
- readonly attributes?: {
8347
- [key: string]: string;
8348
- };
7312
+ readonly attributes?: Record<string, string>;
8349
7313
  readonly status?: io.flow.payment.v0.enums.RefundStatus;
8350
7314
  readonly base?: io.flow.common.v0.models.Money;
8351
7315
  }
@@ -8375,9 +7339,7 @@ declare namespace io.flow.payment.v0.models {
8375
7339
  readonly amount?: number;
8376
7340
  readonly currency?: string;
8377
7341
  readonly rma_key?: string;
8378
- readonly attributes?: {
8379
- [key: string]: string;
8380
- };
7342
+ readonly attributes?: Record<string, string>;
8381
7343
  }
8382
7344
  interface RefundIdentifier {
8383
7345
  readonly id: string;
@@ -8417,9 +7379,7 @@ declare namespace io.flow.payment.v0.models {
8417
7379
  readonly currency: string;
8418
7380
  readonly requested: io.flow.common.v0.models.Money;
8419
7381
  readonly created_at: string;
8420
- readonly attributes: {
8421
- [key: string]: string;
8422
- };
7382
+ readonly attributes: Record<string, string>;
8423
7383
  readonly base?: io.flow.common.v0.models.Money;
8424
7384
  }
8425
7385
  interface ReversalError {
@@ -8432,17 +7392,13 @@ declare namespace io.flow.payment.v0.models {
8432
7392
  readonly authorization_id: string;
8433
7393
  readonly amount?: number;
8434
7394
  readonly currency?: string;
8435
- readonly attributes?: {
8436
- [key: string]: string;
8437
- };
7395
+ readonly attributes?: Record<string, string>;
8438
7396
  }
8439
7397
  interface ReversalPutForm {
8440
7398
  readonly authorization_id: string;
8441
7399
  readonly amount?: number;
8442
7400
  readonly currency?: string;
8443
- readonly attributes?: {
8444
- [key: string]: string;
8445
- };
7401
+ readonly attributes?: Record<string, string>;
8446
7402
  }
8447
7403
  interface ReversalVersion {
8448
7404
  readonly id: string;
@@ -8481,9 +7437,7 @@ declare namespace io.flow.payment.v0.models {
8481
7437
  readonly iin: string;
8482
7438
  readonly last4: string;
8483
7439
  readonly name: string;
8484
- readonly attributes?: {
8485
- [key: string]: string;
8486
- };
7440
+ readonly attributes?: Record<string, string>;
8487
7441
  }
8488
7442
  interface VirtualCardCapture {
8489
7443
  readonly id: string;
@@ -8502,9 +7456,7 @@ declare namespace io.flow.payment.v0.models {
8502
7456
  }
8503
7457
  interface VirtualCardForm {
8504
7458
  readonly limit: io.flow.common.v0.models.Money;
8505
- readonly attributes?: {
8506
- [key: string]: string;
8507
- };
7459
+ readonly attributes?: Record<string, string>;
8508
7460
  }
8509
7461
  interface VirtualCardReference {
8510
7462
  readonly id: string;
@@ -8658,9 +7610,7 @@ declare namespace io.flow.magento.v0.models {
8658
7610
  readonly position?: number;
8659
7611
  readonly sku: string;
8660
7612
  readonly product_links?: io.flow.magento.v0.models.BundleProductOptionProductLink[];
8661
- readonly extension_attributes?: {
8662
- [key: string]: string;
8663
- };
7613
+ readonly extension_attributes?: Record<string, string>;
8664
7614
  }
8665
7615
  interface BundleProductOptionProductLink {
8666
7616
  readonly is_default: boolean;
@@ -8672,9 +7622,7 @@ declare namespace io.flow.magento.v0.models {
8672
7622
  readonly qty?: number;
8673
7623
  readonly position?: number;
8674
7624
  readonly can_change_quantity?: number;
8675
- readonly extension_attributes?: {
8676
- [key: string]: string;
8677
- };
7625
+ readonly extension_attributes?: Record<string, string>;
8678
7626
  }
8679
7627
  interface ConfigurableProductOption {
8680
7628
  readonly id?: number;
@@ -8683,9 +7631,7 @@ declare namespace io.flow.magento.v0.models {
8683
7631
  readonly position?: number;
8684
7632
  readonly is_use_default?: boolean;
8685
7633
  readonly values?: io.flow.magento.v0.models.Value[];
8686
- readonly extension_attributes?: {
8687
- [key: string]: string;
8688
- };
7634
+ readonly extension_attributes?: Record<string, string>;
8689
7635
  readonly product_id?: number;
8690
7636
  }
8691
7637
  interface Content {
@@ -8716,9 +7662,7 @@ declare namespace io.flow.magento.v0.models {
8716
7662
  readonly sample_file?: string;
8717
7663
  readonly sample_file_content?: io.flow.magento.v0.models.FileContent;
8718
7664
  readonly sample_url?: string;
8719
- readonly extension_attributes?: {
8720
- [key: string]: string;
8721
- };
7665
+ readonly extension_attributes?: Record<string, string>;
8722
7666
  }
8723
7667
  interface DownloadableProductSample {
8724
7668
  readonly title: string;
@@ -8728,9 +7672,7 @@ declare namespace io.flow.magento.v0.models {
8728
7672
  readonly sample_file?: string;
8729
7673
  readonly sample_file_content?: io.flow.magento.v0.models.FileContent;
8730
7674
  readonly sample_url?: string;
8731
- readonly extension_attributes?: {
8732
- [key: string]: string;
8733
- };
7675
+ readonly extension_attributes?: Record<string, string>;
8734
7676
  }
8735
7677
  interface Error {
8736
7678
  readonly message: string;
@@ -8755,9 +7697,7 @@ declare namespace io.flow.magento.v0.models {
8755
7697
  interface FileContent {
8756
7698
  readonly file_data: string;
8757
7699
  readonly name: string;
8758
- readonly extension_attributes?: {
8759
- [key: string]: string;
8760
- };
7700
+ readonly extension_attributes?: Record<string, string>;
8761
7701
  }
8762
7702
  interface Filter {
8763
7703
  readonly field: string;
@@ -8771,9 +7711,7 @@ declare namespace io.flow.magento.v0.models {
8771
7711
  readonly website_id: number;
8772
7712
  readonly value: number;
8773
7713
  readonly website_value: number;
8774
- readonly extension_attributes?: {
8775
- [key: string]: string;
8776
- };
7714
+ readonly extension_attributes?: Record<string, string>;
8777
7715
  }
8778
7716
  interface Item {
8779
7717
  readonly sku: string;
@@ -8792,9 +7730,7 @@ declare namespace io.flow.magento.v0.models {
8792
7730
  readonly options?: io.flow.magento.v0.models.Option[];
8793
7731
  readonly media_gallery_entries?: io.flow.magento.v0.models.MediaGalleryEntry[];
8794
7732
  readonly tier_prices?: io.flow.magento.v0.models.TierPrice[];
8795
- readonly custom_attributes?: {
8796
- [key: string]: string;
8797
- }[];
7733
+ readonly custom_attributes?: any[];
8798
7734
  }
8799
7735
  interface MagentoCategory {
8800
7736
  readonly name: string;
@@ -8915,23 +7851,17 @@ declare namespace io.flow.magento.v0.models {
8915
7851
  readonly secure_base_link_url: string;
8916
7852
  readonly secure_base_static_url: string;
8917
7853
  readonly secure_base_media_url: string;
8918
- readonly extension_attributes?: {
8919
- [key: string]: string;
8920
- };
7854
+ readonly extension_attributes?: Record<string, string>;
8921
7855
  }
8922
7856
  interface TierPrice {
8923
7857
  readonly customer_group_id: number;
8924
7858
  readonly qty: number;
8925
7859
  readonly value: number;
8926
- readonly extension_attributes?: {
8927
- [key: string]: string;
8928
- };
7860
+ readonly extension_attributes?: Record<string, string>;
8929
7861
  }
8930
7862
  interface Value {
8931
7863
  readonly value_index: number;
8932
- readonly extension_attributes?: {
8933
- [key: string]: string;
8934
- };
7864
+ readonly extension_attributes?: Record<string, string>;
8935
7865
  }
8936
7866
  interface VideoContent {
8937
7867
  readonly media_type: string;
@@ -8984,9 +7914,7 @@ declare namespace io.flow.content.internal.v0.models {
8984
7914
  interface ContentSchema {
8985
7915
  readonly key: string;
8986
7916
  readonly description?: string;
8987
- readonly elements: {
8988
- [key: string]: io.flow.content.internal.v0.models.ContentSchemaElement;
8989
- };
7917
+ readonly elements: Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
8990
7918
  readonly allow_multiple?: boolean;
8991
7919
  }
8992
7920
  interface ContentSchemaElement {
@@ -8998,9 +7926,7 @@ declare namespace io.flow.content.internal.v0.models {
8998
7926
  }
8999
7927
  interface ContentSchemaForm {
9000
7928
  readonly description?: string;
9001
- readonly elements: {
9002
- [key: string]: io.flow.content.internal.v0.models.ContentSchemaElement;
9003
- };
7929
+ readonly elements: Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
9004
7930
  readonly allow_multiple?: boolean;
9005
7931
  }
9006
7932
  interface ContentSchemaSummary {
@@ -9042,16 +7968,12 @@ declare namespace io.flow.content.internal.v0.models {
9042
7968
  readonly content_id: string;
9043
7969
  readonly locale: string;
9044
7970
  readonly status: io.flow.content.internal.v0.enums.ContentStatus;
9045
- readonly elements: {
9046
- [key: string]: io.flow.content.internal.v0.models.LocalizedContentElement;
9047
- };
7971
+ readonly elements: Record<string, io.flow.content.internal.v0.models.LocalizedContentElement>;
9048
7972
  }
9049
7973
  interface LocalizationForm {
9050
7974
  readonly locale: string;
9051
7975
  readonly status: io.flow.content.internal.v0.enums.ContentStatus;
9052
- readonly elements: {
9053
- [key: string]: io.flow.content.internal.v0.models.LocalizedContentElement;
9054
- };
7976
+ readonly elements: Record<string, io.flow.content.internal.v0.models.LocalizedContentElement>;
9055
7977
  }
9056
7978
  interface LocalizationRef {
9057
7979
  readonly id: string;
@@ -9285,9 +8207,7 @@ declare namespace io.flow.adyen.v0.models {
9285
8207
  readonly merchantOrderReference?: string;
9286
8208
  readonly shopperInteraction: io.flow.adyen.v0.enums.ShopperInteraction;
9287
8209
  readonly bankAccount?: io.flow.adyen.v0.models.BankAccount;
9288
- readonly additionalData?: {
9289
- [key: string]: string;
9290
- };
8210
+ readonly additionalData?: any;
9291
8211
  readonly mpiData?: io.flow.adyen.v0.models.ThreeDSecureData;
9292
8212
  readonly selectedBrand?: string;
9293
8213
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
@@ -9313,9 +8233,7 @@ declare namespace io.flow.adyen.v0.models {
9313
8233
  readonly refusalReason?: string;
9314
8234
  readonly cvcResult?: number;
9315
8235
  readonly avsResult?: number;
9316
- readonly additionalData?: {
9317
- [key: string]: string;
9318
- };
8236
+ readonly additionalData?: any;
9319
8237
  readonly issuerUrl?: string;
9320
8238
  readonly md?: string;
9321
8239
  readonly paRequest?: string;
@@ -9380,9 +8298,7 @@ declare namespace io.flow.adyen.v0.models {
9380
8298
  readonly 'threeds2.threeDSMethodURL': string;
9381
8299
  }
9382
8300
  interface InnerNotificationRequestItem {
9383
- readonly additionalData?: {
9384
- [key: string]: string;
9385
- };
8301
+ readonly additionalData?: any;
9386
8302
  readonly amount: io.flow.adyen.v0.models.Amount;
9387
8303
  readonly pspReference: string;
9388
8304
  readonly originalReference?: string;
@@ -9416,15 +8332,13 @@ declare namespace io.flow.adyen.v0.models {
9416
8332
  readonly originDomains: string[];
9417
8333
  }
9418
8334
  interface OriginKeysResponse {
9419
- readonly originKeys: {
9420
- [key: string]: string;
9421
- };
8335
+ readonly originKeys: Record<string, string>;
9422
8336
  }
9423
8337
  interface OuterNotificationRequestItem {
9424
8338
  readonly NotificationRequestItem: io.flow.adyen.v0.models.InnerNotificationRequestItem;
9425
8339
  }
9426
8340
  interface PaymentDetails {
9427
- readonly details: string;
8341
+ readonly details: any;
9428
8342
  readonly paymentData?: string;
9429
8343
  }
9430
8344
  interface PaymentRequest {
@@ -9763,27 +8677,21 @@ declare namespace io.flow.price.v0.models {
9763
8677
  readonly price: io.flow.common.v0.models.Price;
9764
8678
  readonly item_number: string;
9765
8679
  readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
9766
- readonly item_attributes?: {
9767
- [key: string]: string;
9768
- };
8680
+ readonly item_attributes?: Record<string, string>;
9769
8681
  }
9770
8682
  interface PriceBookItemForm {
9771
8683
  readonly price_book_key: string;
9772
8684
  readonly item_number: string;
9773
8685
  readonly amount: number;
9774
8686
  readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
9775
- readonly item_attributes?: {
9776
- [key: string]: string;
9777
- };
8687
+ readonly item_attributes?: Record<string, string>;
9778
8688
  }
9779
8689
  interface PriceBookItemQueryForm {
9780
8690
  readonly price_book_key: string;
9781
8691
  readonly item_query: string;
9782
8692
  readonly amount: number;
9783
8693
  readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
9784
- readonly item_attributes?: {
9785
- [key: string]: string;
9786
- };
8694
+ readonly item_attributes?: Record<string, string>;
9787
8695
  }
9788
8696
  interface PriceBookItemSchedule {
9789
8697
  readonly starts_at: string;
@@ -10129,9 +9037,7 @@ declare namespace io.flow.crypto.v0.models {
10129
9037
  readonly data_url: string;
10130
9038
  readonly description?: string;
10131
9039
  readonly live_mode: boolean;
10132
- readonly metadata?: {
10133
- [key: string]: string;
10134
- };
9040
+ readonly metadata?: any;
10135
9041
  readonly order_id?: string;
10136
9042
  readonly recipient: string;
10137
9043
  readonly refunded: boolean;
@@ -10143,9 +9049,7 @@ declare namespace io.flow.crypto.v0.models {
10143
9049
  readonly currency: string;
10144
9050
  readonly customer_id?: string;
10145
9051
  readonly description?: string;
10146
- readonly metadata?: {
10147
- [key: string]: string;
10148
- };
9052
+ readonly metadata?: any;
10149
9053
  readonly order_id?: string;
10150
9054
  }
10151
9055
  interface Refund {
@@ -10333,7 +9237,7 @@ declare namespace io.flow.internal.v0.enums {
10333
9237
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
10334
9238
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10335
9239
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10336
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9240
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10337
9241
  type ExperienceImportType = 'experience_with_settings';
10338
9242
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10339
9243
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -10347,6 +9251,7 @@ declare namespace io.flow.internal.v0.enums {
10347
9251
  type FraudReviewResponsibleParty = 'flow' | 'organization';
10348
9252
  type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
10349
9253
  type FtpProtocol = 'sftp' | 'ftp';
9254
+ type GoogleAnalyticsPlugin = 'ec';
10350
9255
  type HttpMethod = 'get' | 'post';
10351
9256
  type IncomingFeedFormat = 'google-xml' | 'google-sheet';
10352
9257
  type IncomingFieldName = 'id' | 'mpn';
@@ -10556,9 +9461,7 @@ declare namespace io.flow.internal.v0.models {
10556
9461
  readonly id: string;
10557
9462
  readonly flow_authorization_id: string;
10558
9463
  readonly merchant_account: string;
10559
- readonly request?: {
10560
- [key: string]: string;
10561
- };
9464
+ readonly request?: any;
10562
9465
  readonly psp_reference?: string;
10563
9466
  readonly result_code: string;
10564
9467
  readonly auth_code?: string;
@@ -10580,9 +9483,7 @@ declare namespace io.flow.internal.v0.models {
10580
9483
  readonly flow_authorization_id: string;
10581
9484
  readonly flow_reversal_id?: string;
10582
9485
  readonly merchant_account: string;
10583
- readonly request: {
10584
- [key: string]: string;
10585
- };
9486
+ readonly request: any;
10586
9487
  readonly psp_reference: string;
10587
9488
  readonly response: string;
10588
9489
  }
@@ -10590,9 +9491,7 @@ declare namespace io.flow.internal.v0.models {
10590
9491
  readonly id: string;
10591
9492
  readonly flow_capture_id: string;
10592
9493
  readonly merchant_account: string;
10593
- readonly request?: {
10594
- [key: string]: string;
10595
- };
9494
+ readonly request?: any;
10596
9495
  readonly psp_reference: string;
10597
9496
  readonly response: string;
10598
9497
  }
@@ -10600,9 +9499,7 @@ declare namespace io.flow.internal.v0.models {
10600
9499
  readonly id: string;
10601
9500
  readonly flow_refund_id: string;
10602
9501
  readonly merchant_account: string;
10603
- readonly request?: {
10604
- [key: string]: string;
10605
- };
9502
+ readonly request?: any;
10606
9503
  readonly psp_reference: string;
10607
9504
  readonly response: string;
10608
9505
  }
@@ -10655,9 +9552,7 @@ declare namespace io.flow.internal.v0.models {
10655
9552
  interface AfterpayAuthorization {
10656
9553
  readonly id: string;
10657
9554
  readonly flow_authorization_id: string;
10658
- readonly request: {
10659
- [key: string]: string;
10660
- };
9555
+ readonly request: any;
10661
9556
  readonly post_payment_success_redirect_url?: string;
10662
9557
  readonly post_payment_failure_redirect_url?: string;
10663
9558
  readonly payment_redirect_url?: string;
@@ -10685,12 +9580,8 @@ declare namespace io.flow.internal.v0.models {
10685
9580
  readonly total_amount: number;
10686
9581
  readonly total_amount_currency: string;
10687
9582
  readonly merchant_reference: string;
10688
- readonly events: {
10689
- [key: string]: string;
10690
- }[];
10691
- readonly order_details: {
10692
- [key: string]: string;
10693
- };
9583
+ readonly events: any[];
9584
+ readonly order_details: any;
10694
9585
  }
10695
9586
  interface AfterpayCaptureDeleted {
10696
9587
  readonly discriminator: 'afterpay_capture_deleted';
@@ -10709,16 +9600,12 @@ declare namespace io.flow.internal.v0.models {
10709
9600
  readonly flow_refund_id: string;
10710
9601
  readonly amount: number;
10711
9602
  readonly currency: string;
10712
- readonly request: {
10713
- [key: string]: string;
10714
- };
9603
+ readonly request: any;
10715
9604
  readonly afterpay_refund_id?: string;
10716
9605
  readonly refunded_at?: string;
10717
9606
  readonly request_id?: string;
10718
9607
  readonly merchant_reference?: string;
10719
- readonly response?: {
10720
- [key: string]: string;
10721
- };
9608
+ readonly response?: any;
10722
9609
  }
10723
9610
  interface AfterpayRefundDeleted {
10724
9611
  readonly discriminator: 'afterpay_refund_deleted';
@@ -10791,9 +9678,7 @@ declare namespace io.flow.internal.v0.models {
10791
9678
  }
10792
9679
  interface AuthorizationParameters {
10793
9680
  readonly method: string;
10794
- readonly parameters: {
10795
- [key: string]: string;
10796
- };
9681
+ readonly parameters: any;
10797
9682
  }
10798
9683
  interface AuthorizationParametersForm {
10799
9684
  readonly order_number: string;
@@ -11184,6 +10069,7 @@ declare namespace io.flow.internal.v0.models {
11184
10069
  readonly processor_status: string;
11185
10070
  readonly processor_reference?: string;
11186
10071
  readonly provider_reference?: string;
10072
+ readonly provider_reason_code?: string;
11187
10073
  }
11188
10074
  interface ChargebackDeleted {
11189
10075
  readonly discriminator: 'chargeback_deleted';
@@ -11222,7 +10108,7 @@ declare namespace io.flow.internal.v0.models {
11222
10108
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
11223
10109
  readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
11224
10110
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
11225
- readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10111
+ readonly configuration: unknown;
11226
10112
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
11227
10113
  readonly customer?: io.flow.customer.v0.models.Customer;
11228
10114
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -11231,6 +10117,10 @@ declare namespace io.flow.internal.v0.models {
11231
10117
  readonly payment: io.flow.internal.v0.models.CheckoutPayment;
11232
10118
  readonly customer_bundle?: io.flow.customer.v0.models.CustomerBundle;
11233
10119
  }
10120
+ interface CheckoutAnalytics {
10121
+ readonly trackers: io.flow.internal.v0.unions.Tracker[];
10122
+ readonly use_base_currency: boolean;
10123
+ }
11234
10124
  interface CheckoutBehavior {
11235
10125
  readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
11236
10126
  readonly shipping_method: io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
@@ -11259,7 +10149,7 @@ declare namespace io.flow.internal.v0.models {
11259
10149
  readonly provinces: io.flow.reference.v0.models.Province[];
11260
10150
  readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
11261
10151
  readonly metadata?: io.flow.internal.v0.models.CheckoutBundleMetadata;
11262
- readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10152
+ readonly configuration?: unknown;
11263
10153
  readonly address_configurations?: io.flow.experience.v0.models.AddressConfiguration[];
11264
10154
  readonly customer?: io.flow.customer.v0.models.Customer;
11265
10155
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -11273,13 +10163,15 @@ declare namespace io.flow.internal.v0.models {
11273
10163
  readonly id: string;
11274
10164
  readonly behavior: io.flow.internal.v0.models.CheckoutBehavior;
11275
10165
  readonly settings: io.flow.internal.v0.models.CheckoutSettings;
10166
+ readonly analytics?: io.flow.internal.v0.models.CheckoutAnalytics;
10167
+ readonly domain?: string;
11276
10168
  }
11277
10169
  interface CheckoutConfigurationDeleted {
11278
10170
  readonly discriminator: 'checkout_configuration_deleted';
11279
10171
  readonly event_id: string;
11280
10172
  readonly timestamp: string;
11281
10173
  readonly organization: string;
11282
- readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10174
+ readonly checkout_configuration: unknown;
11283
10175
  }
11284
10176
  interface CheckoutConfigurationReference {
11285
10177
  readonly id: string;
@@ -11289,7 +10181,7 @@ declare namespace io.flow.internal.v0.models {
11289
10181
  readonly event_id: string;
11290
10182
  readonly timestamp: string;
11291
10183
  readonly organization: string;
11292
- readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10184
+ readonly checkout_configuration: unknown;
11293
10185
  }
11294
10186
  interface CheckoutContent {
11295
10187
  readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
@@ -11411,15 +10303,11 @@ declare namespace io.flow.internal.v0.models {
11411
10303
  }
11412
10304
  interface Cipher {
11413
10305
  readonly id: string;
11414
- readonly attributes: {
11415
- [key: string]: string;
11416
- };
10306
+ readonly attributes: Record<string, string>;
11417
10307
  }
11418
10308
  interface CipherForm {
11419
10309
  readonly text: string;
11420
- readonly attributes?: {
11421
- [key: string]: string;
11422
- };
10310
+ readonly attributes?: Record<string, string>;
11423
10311
  }
11424
10312
  interface CipherReference {
11425
10313
  readonly id: string;
@@ -11444,9 +10332,7 @@ declare namespace io.flow.internal.v0.models {
11444
10332
  readonly items: io.flow.internal.v0.models.ClassificationItem[];
11445
10333
  readonly images: string[];
11446
10334
  readonly categories: string[];
11447
- readonly attributes: {
11448
- [key: string]: string;
11449
- };
10335
+ readonly attributes: Record<string, string>;
11450
10336
  readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
11451
10337
  }
11452
10338
  interface ClassificationProductId {
@@ -11471,8 +10357,8 @@ declare namespace io.flow.internal.v0.models {
11471
10357
  readonly classification_model_id: string;
11472
10358
  }
11473
10359
  interface CompletePriceRule {
11474
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
11475
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
10360
+ readonly price_rule: unknown;
10361
+ readonly discount_codes: unknown[];
11476
10362
  }
11477
10363
  interface Components {
11478
10364
  readonly vat: io.flow.common.v0.models.Price;
@@ -11490,9 +10376,7 @@ declare namespace io.flow.internal.v0.models {
11490
10376
  interface ContentSchema {
11491
10377
  readonly key: string;
11492
10378
  readonly description?: string;
11493
- readonly elements: {
11494
- [key: string]: io.flow.internal.v0.models.ContentSchemaElement;
11495
- };
10379
+ readonly elements: Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
11496
10380
  readonly allow_multiple?: boolean;
11497
10381
  }
11498
10382
  interface ContentSchemaElement {
@@ -11504,9 +10388,7 @@ declare namespace io.flow.internal.v0.models {
11504
10388
  }
11505
10389
  interface ContentSchemaForm {
11506
10390
  readonly description?: string;
11507
- readonly elements: {
11508
- [key: string]: io.flow.internal.v0.models.ContentSchemaElement;
11509
- };
10391
+ readonly elements: Record<string, io.flow.internal.v0.models.ContentSchemaElement>;
11510
10392
  readonly allow_multiple?: boolean;
11511
10393
  }
11512
10394
  interface ContentSchemaSummary {
@@ -11565,19 +10447,13 @@ declare namespace io.flow.internal.v0.models {
11565
10447
  readonly customs_description: string;
11566
10448
  readonly status: string;
11567
10449
  readonly harmonization_code?: string;
11568
- readonly tariff_codes?: {
11569
- [key: string]: io.flow.internal.v0.models.TariffCodeDuty;
11570
- };
11571
- readonly tariff_codes_metadata?: {
11572
- [key: string]: string;
11573
- };
10450
+ readonly tariff_codes?: Record<string, io.flow.internal.v0.models.TariffCodeDuty>;
10451
+ readonly tariff_codes_metadata?: Record<string, string>;
11574
10452
  }
11575
10453
  interface CustomsDescriptionTariffCodeDutyForm {
11576
10454
  readonly customs_description: string;
11577
10455
  readonly harmonization_code?: string;
11578
- readonly tariff_codes?: {
11579
- [key: string]: io.flow.internal.v0.models.TariffCodeDuty;
11580
- };
10456
+ readonly tariff_codes?: Record<string, io.flow.internal.v0.models.TariffCodeDuty>;
11581
10457
  }
11582
10458
  interface CustomsDescriptionTariffsImport {
11583
10459
  readonly discriminator: 'customs_description_tariffs_import';
@@ -11701,9 +10577,7 @@ declare namespace io.flow.internal.v0.models {
11701
10577
  readonly timestamp: string;
11702
10578
  readonly context: io.flow.internal.v0.models.DutyRateContext;
11703
10579
  readonly origin: string;
11704
- readonly destination_tariff_code: {
11705
- [key: string]: string;
11706
- };
10580
+ readonly destination_tariff_code: Record<string, string>;
11707
10581
  }
11708
10582
  interface DutyRateBulkResponse {
11709
10583
  readonly discriminator: 'duty_rate_bulk_response';
@@ -11956,6 +10830,11 @@ declare namespace io.flow.internal.v0.models {
11956
10830
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
11957
10831
  readonly name: string;
11958
10832
  }
10833
+ interface FacebookPixel {
10834
+ readonly discriminator: 'facebook_pixel';
10835
+ readonly name?: string;
10836
+ readonly tracker_id: string;
10837
+ }
11959
10838
  interface Feature {
11960
10839
  readonly id: string;
11961
10840
  readonly key: string;
@@ -12029,6 +10908,13 @@ declare namespace io.flow.internal.v0.models {
12029
10908
  interface FeatureValueResult {
12030
10909
  readonly values: io.flow.internal.v0.unions.FeatureValue[];
12031
10910
  }
10911
+ interface FeatureVariant {
10912
+ readonly discriminator: 'feature_variant';
10913
+ readonly feature: io.flow.feature.v0.unions.FeatureValue;
10914
+ readonly traffic_percentage: number;
10915
+ readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
10916
+ readonly name?: string;
10917
+ }
12032
10918
  interface FedexCrossborder {
12033
10919
  readonly discriminator: 'fedex_crossborder';
12034
10920
  readonly api_key: string;
@@ -12112,9 +10998,7 @@ declare namespace io.flow.internal.v0.models {
12112
10998
  readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation;
12113
10999
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
12114
11000
  readonly status_updated_at?: string;
12115
- readonly attributes?: {
12116
- [key: string]: string;
12117
- };
11001
+ readonly attributes?: Record<string, string>;
12118
11002
  readonly provider?: io.flow.internal.v0.enums.FraudProvider;
12119
11003
  }
12120
11004
  interface FraudReviewDecision {
@@ -12266,6 +11150,17 @@ declare namespace io.flow.internal.v0.models {
12266
11150
  readonly input_specification?: io.flow.common.v0.models.InputFormSpecification;
12267
11151
  readonly cards: io.flow.internal.v0.models.GiftCard[];
12268
11152
  }
11153
+ interface GoogleAnalytics {
11154
+ readonly discriminator: 'google_analytics';
11155
+ readonly name?: string;
11156
+ readonly tracker_id: string;
11157
+ readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
11158
+ }
11159
+ interface GoogleGlobalSiteTag {
11160
+ readonly discriminator: 'google_global_site_tag';
11161
+ readonly name?: string;
11162
+ readonly tracker_id: string;
11163
+ }
12269
11164
  interface GoogleShoppingAccountParameters {
12270
11165
  readonly website_url: string;
12271
11166
  }
@@ -12396,6 +11291,10 @@ declare namespace io.flow.internal.v0.models {
12396
11291
  readonly discriminator: 'internal_fiserv_authorization_details';
12397
11292
  readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
12398
11293
  }
11294
+ interface InternalItemForm {
11295
+ readonly id: string;
11296
+ readonly item_form: io.flow.catalog.v0.models.ItemForm;
11297
+ }
12399
11298
  interface InternalOrder {
12400
11299
  readonly order: io.flow.experience.v0.models.Order;
12401
11300
  readonly session?: io.flow.common.v0.models.SessionReference;
@@ -12470,18 +11369,10 @@ declare namespace io.flow.internal.v0.models {
12470
11369
  readonly organization: string;
12471
11370
  readonly uid: string;
12472
11371
  readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
12473
- readonly main_material: {
12474
- [key: string]: number;
12475
- };
12476
- readonly gender: {
12477
- [key: string]: number;
12478
- };
12479
- readonly construction: {
12480
- [key: string]: number;
12481
- };
12482
- readonly item: {
12483
- [key: string]: number;
12484
- };
11372
+ readonly main_material: Record<string, number>;
11373
+ readonly gender: Record<string, number>;
11374
+ readonly construction: Record<string, number>;
11375
+ readonly item: Record<string, number>;
12485
11376
  readonly model_id: string;
12486
11377
  }
12487
11378
  interface ItemClassificationCreated {
@@ -12500,9 +11391,7 @@ declare namespace io.flow.internal.v0.models {
12500
11391
  readonly name: string;
12501
11392
  readonly description: string;
12502
11393
  readonly categories: string[];
12503
- readonly attributes?: {
12504
- [key: string]: string;
12505
- };
11394
+ readonly attributes?: Record<string, string>;
12506
11395
  }
12507
11396
  interface ItemDimensionEstimate {
12508
11397
  readonly id: string;
@@ -12536,6 +11425,13 @@ declare namespace io.flow.internal.v0.models {
12536
11425
  readonly filter: string;
12537
11426
  readonly values: string[];
12538
11427
  }
11428
+ interface ItemFormImportRequest {
11429
+ readonly discriminator: 'item_form_import_request';
11430
+ readonly event_id: string;
11431
+ readonly timestamp: string;
11432
+ readonly organization: string;
11433
+ readonly internal_item_form: io.flow.catalog.internal.v0.models.InternalItemForm;
11434
+ }
12539
11435
  interface ItemHarmonization {
12540
11436
  readonly organization_id: string;
12541
11437
  readonly item_number: string;
@@ -12543,9 +11439,7 @@ declare namespace io.flow.internal.v0.models {
12543
11439
  readonly customs_description?: string;
12544
11440
  readonly countries_of_origin?: string[];
12545
11441
  readonly hs6?: string;
12546
- readonly tariffs?: {
12547
- [key: string]: io.flow.internal.v0.models.TariffCodeDuty;
12548
- };
11442
+ readonly tariffs?: Record<string, io.flow.internal.v0.models.TariffCodeDuty>;
12549
11443
  }
12550
11444
  interface ItemHarmonizationSummary {
12551
11445
  readonly organization_id: string;
@@ -12569,9 +11463,7 @@ declare namespace io.flow.internal.v0.models {
12569
11463
  readonly customs_description: string;
12570
11464
  readonly countries_of_origin: string[];
12571
11465
  readonly hs_6: string;
12572
- readonly tariffs: {
12573
- [key: string]: io.flow.harmonization.internal.v0.models.TariffCodeDuty;
12574
- };
11466
+ readonly tariffs: Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
12575
11467
  }
12576
11468
  interface ItemLink {
12577
11469
  readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
@@ -12693,18 +11585,10 @@ declare namespace io.flow.internal.v0.models {
12693
11585
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
12694
11586
  }
12695
11587
  interface LabelsPrediction {
12696
- readonly main_material: {
12697
- [key: string]: number;
12698
- };
12699
- readonly gender: {
12700
- [key: string]: number;
12701
- };
12702
- readonly construction: {
12703
- [key: string]: number;
12704
- };
12705
- readonly product_type: {
12706
- [key: string]: number;
12707
- };
11588
+ readonly main_material: Record<string, number>;
11589
+ readonly gender: Record<string, number>;
11590
+ readonly construction: Record<string, number>;
11591
+ readonly product_type: Record<string, number>;
12708
11592
  }
12709
11593
  interface LandedCostExport {
12710
11594
  readonly discriminator: 'landed_cost_export';
@@ -12748,9 +11632,7 @@ declare namespace io.flow.internal.v0.models {
12748
11632
  readonly number: string;
12749
11633
  readonly name: string;
12750
11634
  readonly categories?: string[];
12751
- readonly attributes: {
12752
- [key: string]: string;
12753
- };
11635
+ readonly attributes: Record<string, string>;
12754
11636
  readonly description: string;
12755
11637
  }
12756
11638
  interface LineActionForm {
@@ -12777,16 +11659,12 @@ declare namespace io.flow.internal.v0.models {
12777
11659
  readonly content_id: string;
12778
11660
  readonly locale: string;
12779
11661
  readonly status: io.flow.internal.v0.enums.ContentStatus;
12780
- readonly elements: {
12781
- [key: string]: io.flow.internal.v0.models.LocalizedContentElement;
12782
- };
11662
+ readonly elements: Record<string, io.flow.internal.v0.models.LocalizedContentElement>;
12783
11663
  }
12784
11664
  interface LocalizationForm {
12785
11665
  readonly locale: string;
12786
11666
  readonly status: io.flow.internal.v0.enums.ContentStatus;
12787
- readonly elements: {
12788
- [key: string]: io.flow.internal.v0.models.LocalizedContentElement;
12789
- };
11667
+ readonly elements: Record<string, io.flow.internal.v0.models.LocalizedContentElement>;
12790
11668
  }
12791
11669
  interface LocalizationRef {
12792
11670
  readonly id: string;
@@ -12979,6 +11857,10 @@ declare namespace io.flow.internal.v0.models {
12979
11857
  readonly language: string;
12980
11858
  readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
12981
11859
  }
11860
+ interface MarketingGatewayFeedFormRequest {
11861
+ readonly feed_source: io.flow.internal.v0.unions.MarketingGatewayFeedSource;
11862
+ readonly schema_compatibility: io.flow.internal.v0.enums.MarketingGatewaySchemaCompatibility;
11863
+ }
12982
11864
  interface MarketingGatewayFeedSourceFlow {
12983
11865
  readonly discriminator: 'marketing_gateway_feed_source_flow';
12984
11866
  readonly apibuilder?: string;
@@ -12990,6 +11872,14 @@ declare namespace io.flow.internal.v0.models {
12990
11872
  readonly currency: string;
12991
11873
  readonly language: string;
12992
11874
  }
11875
+ interface MarketingGatewayFeedSourceRequestFlow {
11876
+ readonly discriminator: 'marketing_gateway_feed_source_request_flow';
11877
+ readonly apibuilder?: string;
11878
+ }
11879
+ interface MarketingGatewayFeedSourceRequestGoogle {
11880
+ readonly discriminator: 'marketing_gateway_feed_source_request_google';
11881
+ readonly account_id: number;
11882
+ }
12993
11883
  interface MarketingGatewayFilterSummary {
12994
11884
  readonly id: string;
12995
11885
  readonly name: string;
@@ -13698,25 +12588,17 @@ declare namespace io.flow.internal.v0.models {
13698
12588
  readonly currency: string;
13699
12589
  readonly total: number;
13700
12590
  readonly intent: string;
13701
- readonly payer: {
13702
- [key: string]: string;
13703
- };
13704
- readonly transactions: {
13705
- [key: string]: string;
13706
- }[];
12591
+ readonly payer: any;
12592
+ readonly transactions: any[];
13707
12593
  readonly state: string;
13708
12594
  readonly sale_id?: string;
13709
12595
  readonly experience_profile_id?: string;
13710
12596
  readonly note_to_payer?: string;
13711
- readonly redirect_urls: {
13712
- [key: string]: string;
13713
- }[];
12597
+ readonly redirect_urls: any[];
13714
12598
  readonly failure_reason?: string;
13715
12599
  readonly create_time: string;
13716
12600
  readonly update_time: string;
13717
- readonly links: {
13718
- [key: string]: string;
13719
- }[];
12601
+ readonly links: any[];
13720
12602
  readonly paypal_payment_id: string;
13721
12603
  readonly paypal_payer_id: string;
13722
12604
  readonly flow_payment_id: string;
@@ -13727,33 +12609,23 @@ declare namespace io.flow.internal.v0.models {
13727
12609
  readonly currency: string;
13728
12610
  readonly total: number;
13729
12611
  readonly intent: string;
13730
- readonly payer: {
13731
- [key: string]: string;
13732
- };
13733
- readonly transactions: {
13734
- [key: string]: string;
13735
- }[];
12612
+ readonly payer: any;
12613
+ readonly transactions: any[];
13736
12614
  readonly state: string;
13737
12615
  readonly experience_profile_id?: string;
13738
12616
  readonly note_to_payer?: string;
13739
- readonly redirect_urls: {
13740
- [key: string]: string;
13741
- }[];
12617
+ readonly redirect_urls: any[];
13742
12618
  readonly failure_reason?: string;
13743
12619
  readonly create_time: string;
13744
12620
  readonly update_time: string;
13745
- readonly links: {
13746
- [key: string]: string;
13747
- }[];
12621
+ readonly links: any[];
13748
12622
  readonly flow_payment_id: string;
13749
12623
  }
13750
12624
  interface PaypalInternalRefund {
13751
12625
  readonly id: string;
13752
12626
  readonly paypal_execution_id: string;
13753
12627
  readonly flow_refund_id: string;
13754
- readonly amount: {
13755
- [key: string]: string;
13756
- };
12628
+ readonly amount: any;
13757
12629
  readonly state: string;
13758
12630
  readonly sale_id: string;
13759
12631
  readonly invoice_number: string;
@@ -13764,9 +12636,7 @@ declare namespace io.flow.internal.v0.models {
13764
12636
  readonly refund_funding_type?: string;
13765
12637
  readonly create_time: string;
13766
12638
  readonly update_time?: string;
13767
- readonly response: {
13768
- [key: string]: string;
13769
- };
12639
+ readonly response: any;
13770
12640
  }
13771
12641
  interface PaypalPaymentDeleted {
13772
12642
  readonly discriminator: 'paypal_payment_deleted';
@@ -14083,6 +12953,15 @@ declare namespace io.flow.internal.v0.models {
14083
12953
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
14084
12954
  readonly reason: io.flow.internal.v0.enums.RedirectReason;
14085
12955
  }
12956
+ interface ResyncByDestinations {
12957
+ readonly discriminator: 'resync_by_destinations';
12958
+ readonly destinations: io.flow.reference.v0.models.Country[];
12959
+ }
12960
+ interface ResyncByHs6Destinations {
12961
+ readonly discriminator: 'resync_by_hs6_destinations';
12962
+ readonly hs6_code: string;
12963
+ readonly destinations: io.flow.reference.v0.models.Country[];
12964
+ }
14086
12965
  interface ReturnSummary {
14087
12966
  readonly id: string;
14088
12967
  readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
@@ -14403,7 +13282,7 @@ declare namespace io.flow.internal.v0.models {
14403
13282
  readonly id: string;
14404
13283
  readonly shop_id: string;
14405
13284
  readonly address: string;
14406
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
13285
+ readonly topic: unknown;
14407
13286
  }
14408
13287
  interface ShopifyWebhookEvent {
14409
13288
  readonly dummy: string;
@@ -14411,7 +13290,12 @@ declare namespace io.flow.internal.v0.models {
14411
13290
  interface ShopifyWebhookForm {
14412
13291
  readonly myshopify_domain: string;
14413
13292
  readonly address: string;
14414
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
13293
+ readonly topic: unknown;
13294
+ }
13295
+ interface SnapchatPixel {
13296
+ readonly discriminator: 'snapchat_pixel';
13297
+ readonly name?: string;
13298
+ readonly tracker_id: string;
14415
13299
  }
14416
13300
  interface SpotRate {
14417
13301
  readonly id: string;
@@ -14513,12 +13397,8 @@ declare namespace io.flow.internal.v0.models {
14513
13397
  readonly flow_authorization_id: string;
14514
13398
  readonly account_name: string;
14515
13399
  readonly charge_id: string;
14516
- readonly request: {
14517
- [key: string]: string;
14518
- };
14519
- readonly response: {
14520
- [key: string]: string;
14521
- };
13400
+ readonly request: any;
13401
+ readonly response: any;
14522
13402
  readonly post_payment_success_redirect_url?: string;
14523
13403
  readonly post_payment_failure_redirect_url?: string;
14524
13404
  readonly payment_redirect_url?: string;
@@ -14528,12 +13408,8 @@ declare namespace io.flow.internal.v0.models {
14528
13408
  readonly flow_capture_id: string;
14529
13409
  readonly account_name: string;
14530
13410
  readonly charge_id: string;
14531
- readonly request: {
14532
- [key: string]: string;
14533
- };
14534
- readonly response: {
14535
- [key: string]: string;
14536
- };
13411
+ readonly request: any;
13412
+ readonly response: any;
14537
13413
  }
14538
13414
  interface StripeInternalRefund {
14539
13415
  readonly id: string;
@@ -14541,24 +13417,16 @@ declare namespace io.flow.internal.v0.models {
14541
13417
  readonly account_name: string;
14542
13418
  readonly refund_id: string;
14543
13419
  readonly charge_id: string;
14544
- readonly request: {
14545
- [key: string]: string;
14546
- };
14547
- readonly response: {
14548
- [key: string]: string;
14549
- };
13420
+ readonly request: any;
13421
+ readonly response: any;
14550
13422
  }
14551
13423
  interface StripeInternalReversal {
14552
13424
  readonly id: string;
14553
13425
  readonly flow_authorization_id: string;
14554
13426
  readonly account_name: string;
14555
13427
  readonly refund_id: string;
14556
- readonly request: {
14557
- [key: string]: string;
14558
- };
14559
- readonly response: {
14560
- [key: string]: string;
14561
- };
13428
+ readonly request: any;
13429
+ readonly response: any;
14562
13430
  }
14563
13431
  interface StripeRefundDeleted {
14564
13432
  readonly discriminator: 'stripe_refund_deleted';
@@ -14646,9 +13514,7 @@ declare namespace io.flow.internal.v0.models {
14646
13514
  }
14647
13515
  interface TariffCodeDuty {
14648
13516
  readonly tariff_code: string;
14649
- readonly duties: {
14650
- [key: string]: io.flow.internal.v0.models.Duties;
14651
- };
13517
+ readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
14652
13518
  }
14653
13519
  interface TaskCount {
14654
13520
  readonly discriminator: string;
@@ -14946,7 +13812,7 @@ declare namespace io.flow.internal.v0.unions {
14946
13812
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load;
14947
13813
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
14948
13814
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
14949
- 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.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | 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.CatalogItemRegionAvailabilitiesPublished | 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.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | 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.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.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.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.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | 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.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | 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.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.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.OrderRatesPublishedV3 | 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.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | 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.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;
13815
+ 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.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | 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.CatalogItemRegionAvailabilitiesPublished | 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.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | 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.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.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.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.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | 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.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | 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.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.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.OrderRatesPublishedV3 | 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.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | 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.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;
14950
13816
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
14951
13817
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
14952
13818
  type FeatureRule = io.flow.internal.v0.models.BooleanFeatureRule | io.flow.internal.v0.models.StringFeatureRule;
@@ -14960,6 +13826,7 @@ declare namespace io.flow.internal.v0.unions {
14960
13826
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
14961
13827
  type LocalizableContent = io.flow.internal.v0.models.LocalizableContentReference | io.flow.internal.v0.models.Localization;
14962
13828
  type MarketingGatewayFeedSource = io.flow.internal.v0.models.MarketingGatewayFeedSourceFlow | io.flow.internal.v0.models.MarketingGatewayFeedSourceGoogle;
13829
+ type MarketingGatewayFeedSourceRequest = io.flow.internal.v0.models.MarketingGatewayFeedSourceRequestFlow | io.flow.internal.v0.models.MarketingGatewayFeedSourceRequestGoogle;
14963
13830
  type MarketingGatewayGoogleFeed = io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent | io.flow.internal.v0.models.MarketingGatewayGoogleFeedChild;
14964
13831
  type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeAccount | io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeCountry;
14965
13832
  type MarketingGatewayGoogleServabilityPenalty = io.flow.internal.v0.models.MarketingGatewayGoogleServabilityPenaltyUnaffected | io.flow.internal.v0.models.MarketingGatewayGoogleServabilityPenaltyDisapproved | io.flow.internal.v0.models.MarketingGatewayGoogleServabilityPenaltyDemoted;
@@ -14979,10 +13846,11 @@ declare namespace io.flow.internal.v0.unions {
14979
13846
  type ShopifyPromotionPrerequisite = io.flow.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.internal.v0.models.ShopifyPromotionOrderPrerequisite;
14980
13847
  type TaskData = io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport;
14981
13848
  type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
13849
+ type Tracker = io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel;
14982
13850
  type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction;
14983
13851
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
14984
13852
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
14985
- type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExternalVariant;
13853
+ type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExternalVariant | io.flow.internal.v0.models.FeatureVariant;
14986
13854
  }
14987
13855
  export declare type Account = io.flow.internal.v0.models.Account;
14988
13856
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
@@ -15122,6 +13990,7 @@ export declare type ChargebackUpserted = io.flow.internal.v0.models.ChargebackUp
15122
13990
  export declare type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion;
15123
13991
  export declare type Checkbox = io.flow.internal.v0.models.Checkbox;
15124
13992
  export declare type Checkout = io.flow.internal.v0.models.Checkout;
13993
+ export declare type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics;
15125
13994
  export declare type CheckoutBehavior = io.flow.internal.v0.models.CheckoutBehavior;
15126
13995
  export declare type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfo;
15127
13996
  export declare type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
@@ -15267,6 +14136,7 @@ export declare type ExportScheduleRepeated = io.flow.internal.v0.models.ExportSc
15267
14136
  export declare type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel;
15268
14137
  export declare type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent;
15269
14138
  export declare type ExternalVariant = io.flow.internal.v0.models.ExternalVariant;
14139
+ export declare type FacebookPixel = io.flow.internal.v0.models.FacebookPixel;
15270
14140
  export declare type Feature = io.flow.internal.v0.models.Feature;
15271
14141
  export declare type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
15272
14142
  export declare type FeatureDefaultValue = io.flow.internal.v0.unions.FeatureDefaultValue;
@@ -15289,6 +14159,7 @@ export declare type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted
15289
14159
  export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
15290
14160
  export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
15291
14161
  export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
14162
+ export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
15292
14163
  export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
15293
14164
  export declare type Fee = io.flow.internal.v0.models.Fee;
15294
14165
  export declare type Feed = io.flow.internal.v0.unions.Feed;
@@ -15335,6 +14206,9 @@ export declare type GiftCardAuthorizationError = io.flow.internal.v0.models.Gift
15335
14206
  export declare type GiftCardForm = io.flow.internal.v0.models.GiftCardForm;
15336
14207
  export declare type GiftCardProgram = io.flow.internal.v0.models.GiftCardProgram;
15337
14208
  export declare type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
14209
+ export declare type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
14210
+ export declare type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
14211
+ export declare type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
15338
14212
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
15339
14213
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
15340
14214
  export declare type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
@@ -15364,6 +14238,7 @@ export declare type InternalAuthorizationUpserted = io.flow.internal.v0.models.I
15364
14238
  export declare type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails;
15365
14239
  export declare type InternalCardAuthorizationDetails = io.flow.internal.v0.models.InternalCardAuthorizationDetails;
15366
14240
  export declare type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
14241
+ export declare type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
15367
14242
  export declare type InternalOrder = io.flow.internal.v0.models.InternalOrder;
15368
14243
  export declare type InternalPaypalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails;
15369
14244
  export declare type InternalRedirectAuthorizationDetails = io.flow.internal.v0.models.InternalRedirectAuthorizationDetails;
@@ -15387,6 +14262,7 @@ export declare type ItemDimensionEstimateUpsertedV2 = io.flow.internal.v0.models
15387
14262
  export declare type ItemFilterResponse = io.flow.internal.v0.models.ItemFilterResponse;
15388
14263
  export declare type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValueResponse;
15389
14264
  export declare type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
14265
+ export declare type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
15390
14266
  export declare type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
15391
14267
  export declare type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
15392
14268
  export declare type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
@@ -15461,9 +14337,13 @@ export declare type MarketingGatewayExperience = io.flow.internal.v0.models.Mark
15461
14337
  export declare type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
15462
14338
  export declare type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
15463
14339
  export declare type MarketingGatewayFeedForm = io.flow.internal.v0.models.MarketingGatewayFeedForm;
14340
+ export declare type MarketingGatewayFeedFormRequest = io.flow.internal.v0.models.MarketingGatewayFeedFormRequest;
15464
14341
  export declare type MarketingGatewayFeedSource = io.flow.internal.v0.unions.MarketingGatewayFeedSource;
15465
14342
  export declare type MarketingGatewayFeedSourceFlow = io.flow.internal.v0.models.MarketingGatewayFeedSourceFlow;
15466
14343
  export declare type MarketingGatewayFeedSourceGoogle = io.flow.internal.v0.models.MarketingGatewayFeedSourceGoogle;
14344
+ export declare type MarketingGatewayFeedSourceRequest = io.flow.internal.v0.unions.MarketingGatewayFeedSourceRequest;
14345
+ export declare type MarketingGatewayFeedSourceRequestFlow = io.flow.internal.v0.models.MarketingGatewayFeedSourceRequestFlow;
14346
+ export declare type MarketingGatewayFeedSourceRequestGoogle = io.flow.internal.v0.models.MarketingGatewayFeedSourceRequestGoogle;
15467
14347
  export declare type MarketingGatewayFeedState = io.flow.internal.v0.enums.MarketingGatewayFeedState;
15468
14348
  export declare type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
15469
14349
  export declare type MarketingGatewayFlowSourceSummary = io.flow.internal.v0.models.MarketingGatewayFlowSourceSummary;
@@ -15663,6 +14543,8 @@ export declare type Redirect = io.flow.internal.v0.models.Redirect;
15663
14543
  export declare type RedirectReason = io.flow.internal.v0.enums.RedirectReason;
15664
14544
  export declare type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
15665
14545
  export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
14546
+ export declare type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations;
14547
+ export declare type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations;
15666
14548
  export declare type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
15667
14549
  export declare type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
15668
14550
  export declare type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
@@ -15742,6 +14624,7 @@ export declare type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
15742
14624
  export declare type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
15743
14625
  export declare type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
15744
14626
  export declare type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
14627
+ export declare type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
15745
14628
  export declare type SpotRate = io.flow.internal.v0.models.SpotRate;
15746
14629
  export declare type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
15747
14630
  export declare type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted;
@@ -15796,6 +14679,7 @@ export declare type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models
15796
14679
  export declare type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
15797
14680
  export declare type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
15798
14681
  export declare type TimeseriesType = io.flow.internal.v0.enums.TimeseriesType;
14682
+ export declare type Tracker = io.flow.internal.v0.unions.Tracker;
15799
14683
  export declare type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted;
15800
14684
  export declare type TrackingEvent = io.flow.internal.v0.models.TrackingEvent;
15801
14685
  export declare type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrationType;