@flowio/api-internal-prop-types 6.1.6 → 7.0.0

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.
@@ -16,7 +16,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
16
16
  readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
17
17
  readonly 'addresses': io.flow.experience.v0.models.AddressConfiguration[];
18
18
  readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
19
- readonly 'configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
19
+ readonly 'configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
20
20
  readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
21
21
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
22
22
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -37,7 +37,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
37
37
  readonly 'provinces': io.flow.reference.v0.models.Province[];
38
38
  readonly 'checkout_items': io.flow.experience.v0.models.CheckoutItemContent[];
39
39
  readonly 'metadata'?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
40
- readonly 'configuration'?: unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
40
+ readonly 'configuration'?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
41
41
  readonly 'address_configurations'?: io.flow.experience.v0.models.AddressConfiguration[];
42
42
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
43
43
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -1338,799 +1338,501 @@ declare namespace io.flow.item.v0.models {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- declare namespace io.flow.flexe.v0.enums {
1342
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1343
- type FlexeNotification = 'receipt' | 'shipment';
1344
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1345
- type FlexeStatus = 'in_transit' | 'completed';
1341
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1342
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1346
1343
  }
1347
1344
 
1348
- declare namespace io.flow.flexe.v0.models {
1349
- interface BillOfLading {
1350
- readonly 'type': string;
1351
- readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
1345
+ declare namespace io.flow.harmonization.internal.event.v0.models {
1346
+ interface AllItemsExport {
1347
+ readonly 'discriminator': 'all_items_export';
1348
+ readonly 'event_id': string;
1349
+ readonly 'timestamp': string;
1350
+ readonly 'organization': string;
1351
+ readonly 'export_id': string;
1352
1352
  }
1353
1353
 
1354
- interface BillTo {
1355
- readonly 'name': string;
1356
- readonly 'address_1': string;
1357
- readonly 'locality': string;
1358
- readonly 'region': string;
1359
- readonly 'postal_code': string;
1360
- readonly 'country': string;
1361
- readonly 'address_2'?: string;
1362
- readonly 'address_3'?: string;
1354
+ interface BatchRateRefillRequest {
1355
+ readonly 'discriminator': 'batch_rate_refill_request';
1356
+ readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1363
1357
  }
1364
1358
 
1365
- interface CartonPickDeliveryDetails {
1366
- readonly 'shipment_uuid'?: string;
1367
- readonly 'carrier'?: string;
1368
- readonly 'carrier_id'?: string;
1359
+ interface BlacklistedItemCreated {
1360
+ readonly 'discriminator': 'blacklisted_item_created';
1361
+ readonly 'event_id': string;
1362
+ readonly 'timestamp': string;
1363
+ readonly 'organization': string;
1364
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1369
1365
  }
1370
1366
 
1371
- interface ContainerDeliveryDetails {
1372
- readonly 'purchase_order': string;
1373
- readonly 'container_number'?: string;
1374
- readonly 'seal_number'?: string;
1375
- readonly 'vendor'?: string;
1376
- readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1377
- readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1378
- readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1379
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1367
+ interface BlacklistedItemDeleted {
1368
+ readonly 'discriminator': 'blacklisted_item_deleted';
1369
+ readonly 'event_id': string;
1370
+ readonly 'timestamp': string;
1371
+ readonly 'organization': string;
1372
+ readonly 'id': string;
1380
1373
  }
1381
1374
 
1382
- interface DeliveryDetails {
1383
- readonly 'shipment_uuid'?: string;
1384
- readonly 'trailer_number'?: string;
1385
- readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
1386
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1375
+ interface BlacklistedItemUpdated {
1376
+ readonly 'discriminator': 'blacklisted_item_updated';
1377
+ readonly 'event_id': string;
1378
+ readonly 'timestamp': string;
1379
+ readonly 'organization': string;
1380
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1387
1381
  }
1388
1382
 
1389
- interface Error {
1390
- readonly 'url': string;
1391
- readonly 'client_request_id': string;
1392
- readonly 'generated_at': string;
1393
- readonly 'error': string;
1383
+ interface CustomsDescriptionImport {
1384
+ readonly 'discriminator': 'customs_description_import';
1385
+ readonly 'event_id': string;
1386
+ readonly 'timestamp': string;
1387
+ readonly 'organization': string;
1388
+ readonly 'import_id': string;
1389
+ readonly 'source_url': string;
1390
+ readonly 'filename'?: string;
1394
1391
  }
1395
1392
 
1396
- interface FlexeAttachment {
1397
- readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
1398
- readonly 'display_name': string;
1399
- readonly 'url': string;
1393
+ interface CustomsDescriptionSugestion {
1394
+ readonly 'value': number;
1395
+ readonly 'customs_description': string;
1396
+ readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1400
1397
  }
1401
1398
 
1402
- interface FlexeEcommerceFulfillment {
1403
- readonly 'url': string;
1404
- readonly 'client_request_id': string;
1405
- readonly 'generated_at': string;
1406
- readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1407
- readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1399
+ interface CustomsDescriptionSugestionCreated {
1400
+ readonly 'discriminator': 'customs_description_sugestion_created';
1401
+ readonly 'event_id': string;
1402
+ readonly 'timestamp': string;
1403
+ readonly 'organization': string;
1404
+ readonly 'item_id': string;
1405
+ readonly 'suggestions': io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1406
+ readonly 'model_id': string;
1408
1407
  }
1409
1408
 
1410
- interface FlexeEcommerceFulfillmentData {
1409
+ interface CustomsDescriptionTariffsImport {
1410
+ readonly 'discriminator': 'customs_description_tariffs_import';
1411
+ readonly 'event_id': string;
1412
+ readonly 'timestamp': string;
1413
+ readonly 'organization': string;
1411
1414
  readonly 'import_id': string;
1412
- readonly 'succeeded_uuids': string[];
1413
- readonly 'failed_uuids': string[];
1414
- readonly 'errors': string[];
1415
- }
1416
-
1417
- interface FlexeEcommerceFulfillmentErrors {
1418
- readonly 'status': string;
1419
- readonly 'title': string;
1420
- readonly 'detail': string;
1421
- readonly 'source'?: string;
1415
+ readonly 'source_url': string;
1416
+ readonly 'filename'?: string;
1422
1417
  }
1423
1418
 
1424
- interface FlexeEcommerceFulfillmentForm {
1425
- readonly 'reservation_id': number;
1426
- readonly 'client_request_id': string;
1427
- readonly 'request': io.flow.flexe.v0.models.Orders;
1419
+ interface DutiedItemsExport {
1420
+ readonly 'discriminator': 'dutied_items_export';
1421
+ readonly 'event_id': string;
1422
+ readonly 'timestamp': string;
1423
+ readonly 'organization': string;
1424
+ readonly 'export_id': string;
1425
+ readonly 'origin'?: string;
1426
+ readonly 'destination': string;
1427
+ readonly 'item_numbers'?: string[];
1428
1428
  }
1429
1429
 
1430
- interface FlexeInventoryData {
1431
- readonly 'sku': string;
1432
- readonly 'quantity': string;
1433
- readonly 'unit': string;
1430
+ interface HarmonizationCodesImport {
1431
+ readonly 'discriminator': 'harmonization_codes_import';
1432
+ readonly 'event_id': string;
1433
+ readonly 'timestamp': string;
1434
+ readonly 'organization': string;
1435
+ readonly 'import_id': string;
1436
+ readonly 'source_url': string;
1437
+ readonly 'filename'?: string;
1434
1438
  }
1435
1439
 
1436
- interface FlexeRetailAttachment {
1437
- readonly 'display_name': string;
1438
- readonly 'url': string;
1440
+ interface HarmonizationPhraseSuggestionRequestImport {
1441
+ readonly 'discriminator': 'harmonization_phrase_suggestion_request_import';
1442
+ readonly 'event_id': string;
1443
+ readonly 'timestamp': string;
1444
+ readonly 'organization': string;
1445
+ readonly 'import_id': string;
1446
+ readonly 'source_url': string;
1447
+ readonly 'filename'?: string;
1439
1448
  }
1440
1449
 
1441
- interface FlexeRetailFulfillment {
1442
- readonly 'url': string;
1443
- readonly 'client_request_id': string;
1444
- readonly 'generated_at': string;
1445
- readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1446
- readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1450
+ interface HarmonizeFullyRequest {
1451
+ readonly 'discriminator': 'harmonize_fully_request';
1452
+ readonly 'event_id': string;
1453
+ readonly 'timestamp': string;
1454
+ readonly 'item_id': string;
1447
1455
  }
1448
1456
 
1449
- interface FlexeRetailFulfillmentData {
1450
- readonly 'id': string;
1451
- readonly 'purchase_order_uuid': string;
1452
- readonly 'status': string;
1457
+ interface HarmonizeFullyWithRate {
1458
+ readonly 'discriminator': 'harmonize_fully_with_rate';
1459
+ readonly 'event_id': string;
1460
+ readonly 'timestamp': string;
1461
+ readonly 'duty_rate': io.flow.duty.internal.v0.models.DutyRate;
1453
1462
  }
1454
1463
 
1455
- interface FlexeRetailFulfillmentErrors {
1456
- readonly 'type': string;
1457
- readonly 'message': string;
1464
+ interface HarmonizedItemsHs6Export {
1465
+ readonly 'discriminator': 'harmonized_items_hs6_export';
1466
+ readonly 'event_id': string;
1467
+ readonly 'timestamp': string;
1468
+ readonly 'organization': string;
1469
+ readonly 'export_id': string;
1458
1470
  }
1459
1471
 
1460
- interface FlexeRetailFulfillmentForm {
1461
- readonly 'reservation_id': number;
1462
- readonly 'client_request_id'?: string;
1463
- readonly 'request': io.flow.flexe.v0.models.RetailOrder;
1472
+ interface ItemClassificationCreated {
1473
+ readonly 'discriminator': 'item_classification_created';
1474
+ readonly 'event_id': string;
1475
+ readonly 'timestamp': string;
1476
+ readonly 'organization': string;
1477
+ readonly 'item_number': string;
1478
+ readonly 'model_id': string;
1479
+ readonly 'labels_prediction': io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1480
+ readonly 'action': io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1464
1481
  }
1465
1482
 
1466
- interface FulfillmentOrderDetails {
1467
- readonly 'shipment_uuid': string;
1468
- readonly 'carrier'?: string;
1469
- readonly 'carrier_id'?: string;
1483
+ interface ItemHarmonized {
1484
+ readonly 'discriminator': 'item_harmonized';
1485
+ readonly 'event_id': string;
1486
+ readonly 'timestamp': string;
1487
+ readonly 'organization': string;
1488
+ readonly 'item_number': string;
1489
+ readonly 'product_id': string;
1490
+ readonly 'customs_description': string;
1491
+ readonly 'countries_of_origin': string[];
1492
+ readonly 'hs_6': string;
1493
+ readonly 'tariffs': Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
1470
1494
  }
1471
1495
 
1472
- interface Gs1Us {
1473
- readonly 'number': string;
1474
- readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
1475
- readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
1496
+ interface LabelsPrediction {
1497
+ readonly 'main_material': Record<string, number>;
1498
+ readonly 'gender': Record<string, number>;
1499
+ readonly 'construction': Record<string, number>;
1500
+ readonly 'product_type': Record<string, number>;
1476
1501
  }
1477
1502
 
1478
- interface Gs1UsShipTo {
1479
- readonly 'cid_number'?: string;
1480
- readonly 'location_number'?: string;
1481
- readonly 'free_on_board'?: boolean;
1503
+ interface LandedCostExport {
1504
+ readonly 'discriminator': 'landed_cost_export';
1505
+ readonly 'event_id': string;
1506
+ readonly 'timestamp': string;
1507
+ readonly 'organization': string;
1508
+ readonly 'export_id': string;
1509
+ readonly 'items': io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1482
1510
  }
1483
1511
 
1484
- interface Inventory {
1485
- readonly 'url': string;
1486
- readonly 'client_request_id': string;
1487
- readonly 'generated_at': string;
1488
- readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1512
+ interface LandedCostItem {
1513
+ readonly 'number': string;
1514
+ readonly 'origin': string;
1515
+ readonly 'destination': string;
1489
1516
  }
1490
1517
 
1491
- interface InventoryCount {
1492
- readonly 'amount': number;
1493
- readonly 'unit': string;
1518
+ interface PhraseClassified {
1519
+ readonly 'event_id': string;
1520
+ readonly 'timestamp': string;
1521
+ readonly 'phrase_id': string;
1494
1522
  }
1495
1523
 
1496
- interface InventoryData {
1497
- readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
1498
- readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
1499
- readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
1524
+ interface PhrasePropagated {
1525
+ readonly 'event_id': string;
1526
+ readonly 'timestamp': string;
1527
+ readonly 'phrase_id': string;
1500
1528
  }
1501
1529
 
1502
- interface InventoryDetails {
1503
- readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
1530
+ interface RateRefillRequest {
1531
+ readonly 'discriminator': 'rate_refill_request';
1532
+ readonly 'phrase_id': string;
1533
+ readonly 'hs6_code': string;
1534
+ readonly 'destinations': io.flow.reference.v0.models.Country[];
1535
+ readonly 'origin': io.flow.reference.v0.models.Country;
1536
+ readonly 'organization_id'?: string;
1504
1537
  }
1505
1538
 
1506
- interface LadingQuantity {
1507
- readonly 'num_pallets': number;
1539
+ interface UnharmonizedItemsExport {
1540
+ readonly 'discriminator': 'unharmonized_items_export';
1541
+ readonly 'event_id': string;
1542
+ readonly 'timestamp': string;
1543
+ readonly 'organization': string;
1544
+ readonly 'export_id': string;
1508
1545
  }
1546
+ }
1509
1547
 
1510
- interface Order {
1511
- readonly 'shipment_uuid': string;
1512
- readonly 'purchase_order': string;
1513
- readonly 'carrier': string;
1514
- readonly 'service_type': string;
1515
- readonly 'carrier_assigned_id': string;
1516
- readonly 'name': string;
1517
- readonly 'address_1': string;
1518
- readonly 'address_2'?: string;
1519
- readonly 'address_3'?: string;
1520
- readonly 'city': string;
1521
- readonly 'state': string;
1522
- readonly 'postal_code': string;
1523
- readonly 'phone'?: string;
1524
- readonly 'instructions'?: string;
1525
- readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
1526
- readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
1527
- }
1548
+ declare namespace io.flow.harmonization.internal.event.v0.unions {
1549
+ type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
1550
+ 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);
1551
+ 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);
1552
+ type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
1553
+ type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
1554
+ type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
1555
+ 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);
1556
+ type RefillActorRequest = (io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest);
1557
+ }
1528
1558
 
1529
- interface Orders {
1530
- readonly 'orders': io.flow.flexe.v0.models.Order[];
1531
- }
1559
+ declare namespace io.flow.inventory.v0.enums {
1560
+ type Aggregate = 'maximum' | 'minimum';
1561
+ type InventoryStatus = 'has_inventory' | 'no_inventory';
1562
+ type SerialStatus = 'available' | 'reserved' | 'sold';
1563
+ type UpdateType = 'change' | 'set';
1564
+ }
1532
1565
 
1533
- interface Pallet {
1534
- readonly 'pallet_id': string;
1535
- readonly 'sku': string;
1536
- readonly 'quantity': number;
1537
- readonly 'packaging': string;
1566
+ declare namespace io.flow.inventory.v0.models {
1567
+ interface ExternalApiTimeoutReservationError {
1568
+ readonly 'code': 'external_api_timeout';
1569
+ readonly 'messages': string[];
1538
1570
  }
1539
1571
 
1540
- interface PurchaseOrder {
1541
- readonly 'retail_fulfillment_order_id': string;
1542
- readonly 'bill_of_lading_number': string;
1543
- readonly 'purchase_order_uuid': string;
1544
- readonly 'pickup_window_start': string;
1545
- readonly 'pickup_window_end': string;
1546
- readonly 'tags': string[];
1572
+ interface GenericReservationError {
1573
+ readonly 'code': 'generic_reservation_error';
1574
+ readonly 'messages': string[];
1547
1575
  }
1548
1576
 
1549
- interface QuantityByInventory {
1550
- readonly 'received': io.flow.flexe.v0.models.InventoryData;
1551
- readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
1552
- readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
1577
+ interface InventoryBackorder {
1578
+ readonly 'discriminator': 'inventory_backorder';
1579
+ readonly 'quantity': number;
1553
1580
  }
1554
1581
 
1555
- interface ReceiptNotification {
1556
- readonly 'shipment_id': string;
1557
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1558
- readonly 'reservation_id': string;
1559
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1560
- readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
1561
- readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1582
+ interface InventoryCenterReference {
1583
+ readonly 'key': string;
1562
1584
  }
1563
1585
 
1564
- interface RetailFulfillmentOrderDetails {
1565
- readonly 'master_bill_of_lading_number': string;
1566
- readonly 'scac': string;
1567
- readonly 'pro_number': string;
1568
- readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
1569
- readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
1586
+ interface InventoryCheckResponse {
1587
+ readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1570
1588
  }
1571
1589
 
1572
- interface RetailInventoryData {
1573
- readonly 'sku': string;
1590
+ interface InventoryCheckResponseItem {
1591
+ readonly 'number': string;
1574
1592
  readonly 'quantity': number;
1575
- readonly 'unit': string;
1576
- readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1593
+ readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
1577
1594
  }
1578
1595
 
1579
- interface RetailOrder {
1580
- readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
1596
+ interface InventoryExperienceReference {
1597
+ readonly 'key': string;
1581
1598
  }
1582
1599
 
1583
- interface RetailOrderData {
1584
- readonly 'purchase_order_uuid': string;
1585
- readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
1586
- readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
1587
- readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
1588
- readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
1589
- readonly 'build_by'?: string;
1590
- readonly 'instrunctions'?: string;
1591
- readonly 'routing_details_id'?: string;
1592
- readonly 'destination_type'?: string;
1600
+ interface InventoryItemReference {
1601
+ readonly 'number': string;
1593
1602
  }
1594
1603
 
1595
- interface ShipTo {
1596
- readonly 'name': string;
1597
- readonly 'address_1': string;
1598
- readonly 'locality': string;
1599
- readonly 'region': string;
1600
- readonly 'postal_code': string;
1601
- readonly 'country': string;
1602
- readonly 'address_2'?: string;
1603
- readonly 'address_3'?: string;
1604
+ interface InventoryRequest {
1605
+ readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
1604
1606
  }
1605
1607
 
1606
- interface ShipWithin {
1607
- readonly 'start': string;
1608
- readonly 'end': string;
1608
+ interface InventoryRequestItem {
1609
+ readonly 'number': string;
1610
+ readonly 'quantity': number;
1609
1611
  }
1610
1612
 
1611
- interface ShipmentDeliveryDetails {
1612
- readonly 'shipment_uuid'?: string;
1613
+ interface InventoryRule {
1614
+ readonly 'id': string;
1615
+ readonly 'position': number;
1616
+ readonly 'query': string;
1617
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1613
1618
  }
1614
1619
 
1615
- interface ShipmentNotification {
1616
- readonly 'shipment_id': string;
1617
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1618
- readonly 'reservation_id': string;
1619
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1620
- readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1621
- readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1622
- readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1623
- readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1620
+ interface InventoryRuleForm {
1621
+ readonly 'position': number;
1622
+ readonly 'query': string;
1623
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1624
1624
  }
1625
1625
 
1626
- interface Sku {
1627
- readonly 'sku': string;
1628
- readonly 'description': string;
1629
- readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
1626
+ interface InventoryRuleVersion {
1627
+ readonly 'id': string;
1628
+ readonly 'timestamp': string;
1629
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1630
+ readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
1630
1631
  }
1631
1632
 
1632
- interface SkuSummary {
1633
- readonly 'key': string;
1633
+ interface InventorySnapshot {
1634
+ readonly 'id': string;
1635
+ readonly 'available': number;
1636
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1637
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1634
1638
  readonly 'quantity': number;
1635
- readonly 'unit': string;
1636
1639
  }
1637
- }
1638
1640
 
1639
- declare namespace io.flow.harmonization.internal.event.v0.enums {
1640
- type SuggestionAction = 'accept' | 'validate' | 'review';
1641
- }
1642
-
1643
- declare namespace io.flow.harmonization.internal.event.v0.models {
1644
- interface AllItemsExport {
1645
- readonly 'discriminator': 'all_items_export';
1646
- readonly 'event_id': string;
1641
+ interface InventorySnapshotVersion {
1642
+ readonly 'id': string;
1647
1643
  readonly 'timestamp': string;
1648
- readonly 'organization': string;
1649
- readonly 'export_id': string;
1644
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1645
+ readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
1650
1646
  }
1651
1647
 
1652
- interface BatchRateRefillRequest {
1653
- readonly 'discriminator': 'batch_rate_refill_request';
1654
- readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1648
+ interface InventoryStock {
1649
+ readonly 'discriminator': 'inventory_stock';
1650
+ readonly 'quantity': number;
1655
1651
  }
1656
1652
 
1657
- interface BlacklistedItemCreated {
1658
- readonly 'discriminator': 'blacklisted_item_created';
1659
- readonly 'event_id': string;
1660
- readonly 'timestamp': string;
1661
- readonly 'organization': string;
1662
- readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1653
+ interface InventoryUnlimited {
1654
+ readonly 'discriminator': 'inventory_unlimited';
1655
+ readonly 'quantity': string;
1663
1656
  }
1664
1657
 
1665
- interface BlacklistedItemDeleted {
1666
- readonly 'discriminator': 'blacklisted_item_deleted';
1667
- readonly 'event_id': string;
1668
- readonly 'timestamp': string;
1669
- readonly 'organization': string;
1658
+ interface InventoryUpdate {
1670
1659
  readonly 'id': string;
1660
+ readonly 'idempotency_key': string;
1661
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1662
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1663
+ readonly 'notes': any/*object*/;
1664
+ readonly 'quantity': number;
1665
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1671
1666
  }
1672
1667
 
1673
- interface BlacklistedItemUpdated {
1674
- readonly 'discriminator': 'blacklisted_item_updated';
1675
- readonly 'event_id': string;
1676
- readonly 'timestamp': string;
1677
- readonly 'organization': string;
1678
- readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1668
+ interface InventoryUpdateForm {
1669
+ readonly 'center': string;
1670
+ readonly 'idempotency_key': string;
1671
+ readonly 'item_number': string;
1672
+ readonly 'quantity': number;
1673
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1674
+ readonly 'notes'?: any/*object*/;
1679
1675
  }
1680
1676
 
1681
- interface CustomsDescriptionImport {
1682
- readonly 'discriminator': 'customs_description_import';
1683
- readonly 'event_id': string;
1677
+ interface InventoryUpdateVersion {
1678
+ readonly 'id': string;
1684
1679
  readonly 'timestamp': string;
1685
- readonly 'organization': string;
1686
- readonly 'import_id': string;
1687
- readonly 'source_url': string;
1688
- readonly 'filename'?: string;
1680
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1681
+ readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
1689
1682
  }
1690
1683
 
1691
- interface CustomsDescriptionSugestion {
1692
- readonly 'value': number;
1693
- readonly 'customs_description': string;
1694
- readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1684
+ interface NoInventoryReservationError {
1685
+ readonly 'code': 'no_inventory';
1686
+ readonly 'messages': string[];
1687
+ readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1695
1688
  }
1696
1689
 
1697
- interface CustomsDescriptionSugestionCreated {
1698
- readonly 'discriminator': 'customs_description_sugestion_created';
1699
- readonly 'event_id': string;
1700
- readonly 'timestamp': string;
1701
- readonly 'organization': string;
1702
- readonly 'item_id': string;
1703
- readonly 'suggestions': io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1704
- readonly 'model_id': string;
1705
- }
1706
-
1707
- interface CustomsDescriptionTariffsImport {
1708
- readonly 'discriminator': 'customs_description_tariffs_import';
1709
- readonly 'event_id': string;
1710
- readonly 'timestamp': string;
1711
- readonly 'organization': string;
1712
- readonly 'import_id': string;
1713
- readonly 'source_url': string;
1714
- readonly 'filename'?: string;
1715
- }
1716
-
1717
- interface DutiedItemsExport {
1718
- readonly 'discriminator': 'dutied_items_export';
1719
- readonly 'event_id': string;
1720
- readonly 'timestamp': string;
1721
- readonly 'organization': string;
1722
- readonly 'export_id': string;
1723
- readonly 'origin'?: string;
1724
- readonly 'destination': string;
1725
- readonly 'item_numbers'?: string[];
1690
+ interface NoInventoryReservationErrorItem {
1691
+ readonly 'number': string;
1692
+ readonly 'requested_quantity': number;
1693
+ readonly 'available_quantity': number;
1726
1694
  }
1727
1695
 
1728
- interface HarmonizationCodesImport {
1729
- readonly 'discriminator': 'harmonization_codes_import';
1730
- readonly 'event_id': string;
1731
- readonly 'timestamp': string;
1732
- readonly 'organization': string;
1733
- readonly 'import_id': string;
1734
- readonly 'source_url': string;
1735
- readonly 'filename'?: string;
1696
+ interface PfsInventoryCheckResponse {
1697
+ readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
1736
1698
  }
1737
1699
 
1738
- interface HarmonizationPhraseSuggestionRequestImport {
1739
- readonly 'discriminator': 'harmonization_phrase_suggestion_request_import';
1740
- readonly 'event_id': string;
1741
- readonly 'timestamp': string;
1742
- readonly 'organization': string;
1743
- readonly 'import_id': string;
1744
- readonly 'source_url': string;
1745
- readonly 'filename'?: string;
1700
+ interface PfsInventoryCheckResponseItem {
1701
+ readonly 'number': string;
1702
+ readonly 'ats': number;
1703
+ readonly 'in_stock': boolean;
1746
1704
  }
1747
1705
 
1748
- interface HarmonizeFullyRequest {
1749
- readonly 'discriminator': 'harmonize_fully_request';
1750
- readonly 'event_id': string;
1751
- readonly 'timestamp': string;
1752
- readonly 'item_id': string;
1706
+ interface PfsInventoryStatus {
1707
+ readonly 'status': string;
1753
1708
  }
1754
1709
 
1755
- interface HarmonizeFullyWithRate {
1756
- readonly 'discriminator': 'harmonize_fully_with_rate';
1757
- readonly 'event_id': string;
1758
- readonly 'timestamp': string;
1759
- readonly 'duty_rate': io.flow.duty.internal.v0.models.DutyRate;
1710
+ interface Reservation {
1711
+ readonly 'id': string;
1712
+ readonly 'key': string;
1713
+ readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
1714
+ readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
1715
+ readonly 'reserved_until'?: string;
1760
1716
  }
1761
1717
 
1762
- interface HarmonizedItemsHs6Export {
1763
- readonly 'discriminator': 'harmonized_items_hs6_export';
1764
- readonly 'event_id': string;
1765
- readonly 'timestamp': string;
1766
- readonly 'organization': string;
1767
- readonly 'export_id': string;
1718
+ interface ReservationForm {
1719
+ readonly 'order_number'?: string;
1720
+ readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
1768
1721
  }
1769
1722
 
1770
- interface ItemClassificationCreated {
1771
- readonly 'discriminator': 'item_classification_created';
1772
- readonly 'event_id': string;
1773
- readonly 'timestamp': string;
1774
- readonly 'organization': string;
1775
- readonly 'item_number': string;
1776
- readonly 'model_id': string;
1777
- readonly 'labels_prediction': io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1778
- readonly 'action': io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1723
+ interface ReservationItem {
1724
+ readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
1725
+ readonly 'quantity': number;
1779
1726
  }
1780
1727
 
1781
- interface ItemHarmonized {
1782
- readonly 'discriminator': 'item_harmonized';
1783
- readonly 'event_id': string;
1784
- readonly 'timestamp': string;
1785
- readonly 'organization': string;
1728
+ interface ReservationItemForm {
1786
1729
  readonly 'item_number': string;
1787
- readonly 'product_id': string;
1788
- readonly 'customs_description': string;
1789
- readonly 'countries_of_origin': string[];
1790
- readonly 'hs_6': string;
1791
- readonly 'tariffs': Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
1792
- }
1793
-
1794
- interface LabelsPrediction {
1795
- readonly 'main_material': Record<string, number>;
1796
- readonly 'gender': Record<string, number>;
1797
- readonly 'construction': Record<string, number>;
1798
- readonly 'product_type': Record<string, number>;
1799
- }
1800
-
1801
- interface LandedCostExport {
1802
- readonly 'discriminator': 'landed_cost_export';
1803
- readonly 'event_id': string;
1804
- readonly 'timestamp': string;
1805
- readonly 'organization': string;
1806
- readonly 'export_id': string;
1807
- readonly 'items': io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1730
+ readonly 'quantity': number;
1808
1731
  }
1809
1732
 
1810
- interface LandedCostItem {
1733
+ interface ReservationItemReference {
1811
1734
  readonly 'number': string;
1812
- readonly 'origin': string;
1813
- readonly 'destination': string;
1814
1735
  }
1815
1736
 
1816
- interface PhraseClassified {
1817
- readonly 'event_id': string;
1818
- readonly 'timestamp': string;
1819
- readonly 'phrase_id': string;
1737
+ interface ReservationOrderReference {
1738
+ readonly 'number': string;
1820
1739
  }
1821
1740
 
1822
- interface PhrasePropagated {
1823
- readonly 'event_id': string;
1824
- readonly 'timestamp': string;
1825
- readonly 'phrase_id': string;
1741
+ interface Serial {
1742
+ readonly 'id': string;
1743
+ readonly 'number': string;
1744
+ readonly 'item_number': string;
1745
+ readonly 'item_price': io.flow.common.v0.models.Price;
1746
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
1747
+ readonly 'center': io.flow.fulfillment.v0.models.CenterReference;
1748
+ readonly 'attributes': Record<string, string>;
1826
1749
  }
1827
1750
 
1828
- interface RateRefillRequest {
1829
- readonly 'discriminator': 'rate_refill_request';
1830
- readonly 'phrase_id': string;
1831
- readonly 'hs6_code': string;
1832
- readonly 'destinations': io.flow.reference.v0.models.Country[];
1833
- readonly 'origin': io.flow.reference.v0.models.Country;
1834
- readonly 'organization_id'?: string;
1751
+ interface SerialForm {
1752
+ readonly 'number': string;
1753
+ readonly 'item_number': string;
1754
+ readonly 'item_price': number;
1755
+ readonly 'item_currency': string;
1756
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
1757
+ readonly 'center_key'?: string;
1758
+ readonly 'attributes'?: Record<string, string>;
1835
1759
  }
1836
1760
 
1837
- interface UnharmonizedItemsExport {
1838
- readonly 'discriminator': 'unharmonized_items_export';
1839
- readonly 'event_id': string;
1761
+ interface SerialVersion {
1762
+ readonly 'id': string;
1840
1763
  readonly 'timestamp': string;
1841
- readonly 'organization': string;
1842
- readonly 'export_id': string;
1764
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1765
+ readonly 'serial': io.flow.inventory.v0.models.Serial;
1843
1766
  }
1844
1767
  }
1845
1768
 
1846
- declare namespace io.flow.harmonization.internal.event.v0.unions {
1847
- type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
1848
- 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);
1849
- 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);
1850
- type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
1851
- type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
1852
- type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
1853
- 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);
1854
- type RefillActorRequest = (io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest);
1855
- }
1856
-
1857
- declare namespace io.flow.inventory.v0.enums {
1858
- type Aggregate = 'maximum' | 'minimum';
1859
- type InventoryStatus = 'has_inventory' | 'no_inventory';
1860
- type SerialStatus = 'available' | 'reserved' | 'sold';
1861
- type UpdateType = 'change' | 'set';
1769
+ declare namespace io.flow.inventory.v0.unions {
1770
+ type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited);
1771
+ type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
1862
1772
  }
1863
1773
 
1864
- declare namespace io.flow.inventory.v0.models {
1865
- interface ExternalApiTimeoutReservationError {
1866
- readonly 'code': 'external_api_timeout';
1867
- readonly 'messages': string[];
1774
+ declare namespace io.flow.ratecard.v0.models {
1775
+ interface CrossdockRatecardFee {
1776
+ readonly 'discriminator': 'crossdock_ratecard_fee';
1777
+ readonly 'amount': io.flow.common.v0.models.Money;
1868
1778
  }
1869
1779
 
1870
- interface GenericReservationError {
1871
- readonly 'code': 'generic_reservation_error';
1872
- readonly 'messages': string[];
1780
+ interface DdpRatecardFee {
1781
+ readonly 'discriminator': 'ddp_ratecard_fee';
1782
+ readonly 'amount': number;
1873
1783
  }
1874
1784
 
1875
- interface InventoryBackorder {
1876
- readonly 'discriminator': 'inventory_backorder';
1877
- readonly 'quantity': number;
1785
+ interface DimensionEstimate {
1786
+ readonly 'id': string;
1787
+ readonly 'q': string;
1788
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
1789
+ readonly 'position': number;
1878
1790
  }
1879
1791
 
1880
- interface InventoryCenterReference {
1881
- readonly 'key': string;
1792
+ interface DimensionEstimateForm {
1793
+ readonly 'q': string;
1794
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
1795
+ readonly 'position'?: number;
1882
1796
  }
1883
1797
 
1884
- interface InventoryCheckResponse {
1885
- readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1798
+ interface DimensionEstimateVersion {
1799
+ readonly 'id': string;
1800
+ readonly 'timestamp': string;
1801
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1802
+ readonly 'dimension_estimate': io.flow.ratecard.v0.models.DimensionEstimate;
1886
1803
  }
1887
1804
 
1888
- interface InventoryCheckResponseItem {
1889
- readonly 'number': string;
1890
- readonly 'quantity': number;
1891
- readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
1805
+ interface EstimatedDimensions {
1806
+ readonly 'depth': io.flow.common.v0.models.Measurement;
1807
+ readonly 'length': io.flow.common.v0.models.Measurement;
1808
+ readonly 'weight': io.flow.common.v0.models.Measurement;
1809
+ readonly 'width': io.flow.common.v0.models.Measurement;
1892
1810
  }
1893
1811
 
1894
- interface InventoryExperienceReference {
1895
- readonly 'key': string;
1812
+ interface FuelSurchargeRatecardFee {
1813
+ readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
1814
+ readonly 'amount': io.flow.common.v0.models.Money;
1896
1815
  }
1897
1816
 
1898
- interface InventoryItemReference {
1899
- readonly 'number': string;
1817
+ interface FuelSurchargeServiceFee {
1818
+ readonly 'discriminator': 'fuel_surcharge_service_fee';
1819
+ readonly 'percent': number;
1900
1820
  }
1901
1821
 
1902
- interface InventoryRequest {
1903
- readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
1822
+ interface Hop {
1823
+ readonly 'hop_number': number;
1824
+ readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
1904
1825
  }
1905
1826
 
1906
- interface InventoryRequestItem {
1907
- readonly 'number': string;
1908
- readonly 'quantity': number;
1909
- }
1910
-
1911
- interface InventoryRule {
1912
- readonly 'id': string;
1913
- readonly 'position': number;
1914
- readonly 'query': string;
1915
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1916
- }
1917
-
1918
- interface InventoryRuleForm {
1919
- readonly 'position': number;
1920
- readonly 'query': string;
1921
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1922
- }
1923
-
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;
1929
- }
1930
-
1931
- interface InventorySnapshot {
1932
- readonly 'id': string;
1933
- readonly 'available': number;
1934
- readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1935
- readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1936
- readonly 'quantity': number;
1937
- }
1938
-
1939
- interface InventorySnapshotVersion {
1940
- readonly 'id': string;
1941
- readonly 'timestamp': string;
1942
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1943
- readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
1944
- }
1945
-
1946
- interface InventoryStock {
1947
- readonly 'discriminator': 'inventory_stock';
1948
- readonly 'quantity': number;
1949
- }
1950
-
1951
- interface InventoryUnlimited {
1952
- readonly 'discriminator': 'inventory_unlimited';
1953
- readonly 'quantity': string;
1954
- }
1955
-
1956
- interface InventoryUpdate {
1957
- readonly 'id': string;
1958
- readonly 'idempotency_key': string;
1959
- readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1960
- readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1961
- readonly 'notes': any/*object*/;
1962
- readonly 'quantity': number;
1963
- readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1964
- }
1965
-
1966
- interface InventoryUpdateForm {
1967
- readonly 'center': string;
1968
- readonly 'idempotency_key': string;
1969
- readonly 'item_number': string;
1970
- readonly 'quantity': number;
1971
- readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1972
- readonly 'notes'?: any/*object*/;
1973
- }
1974
-
1975
- interface InventoryUpdateVersion {
1976
- readonly 'id': string;
1977
- readonly 'timestamp': string;
1978
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1979
- readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
1980
- }
1981
-
1982
- interface NoInventoryReservationError {
1983
- readonly 'code': 'no_inventory';
1984
- readonly 'messages': string[];
1985
- readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1986
- }
1987
-
1988
- interface NoInventoryReservationErrorItem {
1989
- readonly 'number': string;
1990
- readonly 'requested_quantity': number;
1991
- readonly 'available_quantity': number;
1992
- }
1993
-
1994
- interface PfsInventoryCheckResponse {
1995
- readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
1996
- }
1997
-
1998
- interface PfsInventoryCheckResponseItem {
1999
- readonly 'number': string;
2000
- readonly 'ats': number;
2001
- readonly 'in_stock': boolean;
2002
- }
2003
-
2004
- interface PfsInventoryStatus {
2005
- readonly 'status': string;
2006
- }
2007
-
2008
- interface Reservation {
2009
- readonly 'id': string;
2010
- readonly 'key': string;
2011
- readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
2012
- readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
2013
- readonly 'reserved_until'?: string;
2014
- }
2015
-
2016
- interface ReservationForm {
2017
- readonly 'order_number'?: string;
2018
- readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
2019
- }
2020
-
2021
- interface ReservationItem {
2022
- readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
2023
- readonly 'quantity': number;
2024
- }
2025
-
2026
- interface ReservationItemForm {
2027
- readonly 'item_number': string;
2028
- readonly 'quantity': number;
2029
- }
2030
-
2031
- interface ReservationItemReference {
2032
- readonly 'number': string;
2033
- }
2034
-
2035
- interface ReservationOrderReference {
2036
- readonly 'number': string;
2037
- }
2038
-
2039
- interface Serial {
2040
- readonly 'id': string;
2041
- readonly 'number': string;
2042
- readonly 'item_number': string;
2043
- readonly 'item_price': io.flow.common.v0.models.Price;
2044
- readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2045
- readonly 'center': io.flow.fulfillment.v0.models.CenterReference;
2046
- readonly 'attributes': Record<string, string>;
2047
- }
2048
-
2049
- interface SerialForm {
2050
- readonly 'number': string;
2051
- readonly 'item_number': string;
2052
- readonly 'item_price': number;
2053
- readonly 'item_currency': string;
2054
- readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2055
- readonly 'center_key'?: string;
2056
- readonly 'attributes'?: Record<string, string>;
2057
- }
2058
-
2059
- interface SerialVersion {
2060
- readonly 'id': string;
2061
- readonly 'timestamp': string;
2062
- readonly 'type': io.flow.common.v0.enums.ChangeType;
2063
- readonly 'serial': io.flow.inventory.v0.models.Serial;
2064
- }
2065
- }
2066
-
2067
- declare namespace io.flow.inventory.v0.unions {
2068
- type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited);
2069
- type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
2070
- }
2071
-
2072
- declare namespace io.flow.ratecard.v0.models {
2073
- interface CrossdockRatecardFee {
2074
- readonly 'discriminator': 'crossdock_ratecard_fee';
2075
- readonly 'amount': io.flow.common.v0.models.Money;
2076
- }
2077
-
2078
- interface DdpRatecardFee {
2079
- readonly 'discriminator': 'ddp_ratecard_fee';
2080
- readonly 'amount': number;
2081
- }
2082
-
2083
- interface DimensionEstimate {
2084
- readonly 'id': string;
2085
- readonly 'q': string;
2086
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
2087
- readonly 'position': number;
2088
- }
2089
-
2090
- interface DimensionEstimateForm {
2091
- readonly 'q': string;
2092
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
2093
- readonly 'position'?: number;
2094
- }
2095
-
2096
- interface DimensionEstimateVersion {
2097
- readonly 'id': string;
2098
- readonly 'timestamp': string;
2099
- readonly 'type': io.flow.common.v0.enums.ChangeType;
2100
- readonly 'dimension_estimate': io.flow.ratecard.v0.models.DimensionEstimate;
2101
- }
2102
-
2103
- interface EstimatedDimensions {
2104
- readonly 'depth': io.flow.common.v0.models.Measurement;
2105
- readonly 'length': io.flow.common.v0.models.Measurement;
2106
- readonly 'weight': io.flow.common.v0.models.Measurement;
2107
- readonly 'width': io.flow.common.v0.models.Measurement;
2108
- }
2109
-
2110
- interface FuelSurchargeRatecardFee {
2111
- readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
2112
- readonly 'amount': io.flow.common.v0.models.Money;
2113
- }
2114
-
2115
- interface FuelSurchargeServiceFee {
2116
- readonly 'discriminator': 'fuel_surcharge_service_fee';
2117
- readonly 'percent': number;
2118
- }
2119
-
2120
- interface Hop {
2121
- readonly 'hop_number': number;
2122
- readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
2123
- }
2124
-
2125
- interface HopEstimate {
2126
- readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
2127
- readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
2128
- readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
2129
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2130
- readonly 'currency': string;
2131
- readonly 'amount': number;
2132
- readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
2133
- readonly 'total': number;
1827
+ interface HopEstimate {
1828
+ readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
1829
+ readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
1830
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
1831
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1832
+ readonly 'currency': string;
1833
+ readonly 'amount': number;
1834
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
1835
+ readonly 'total': number;
2134
1836
  }
2135
1837
 
2136
1838
  interface OversizedShipmentRatecardFee {
@@ -5941,9 +5643,9 @@ declare namespace io.flow.shopify.v0.unions {
5941
5643
 
5942
5644
  declare namespace io.flow.payment.internal.v0.enums {
5943
5645
  type ChargebackPaymentStatus = 'captured' | 'refunded';
5944
- type ChargebackProcessStatus = 'open' | 'closed';
5646
+ type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
5945
5647
  type HttpMethod = 'get' | 'post';
5946
- type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox';
5648
+ type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
5947
5649
  type RedirectReason = 'three_d_secure';
5948
5650
  type RiskCheck = 'three_d_secure';
5949
5651
  }
@@ -6018,7 +5720,6 @@ declare namespace io.flow.payment.internal.v0.models {
6018
5720
  readonly 'id': string;
6019
5721
  readonly 'key': string;
6020
5722
  readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
6021
- readonly 'capture': io.flow.payment.v0.models.CaptureReference;
6022
5723
  readonly 'amount': number;
6023
5724
  readonly 'currency': string;
6024
5725
  readonly 'base'?: io.flow.common.v0.models.Money;
@@ -6031,6 +5732,7 @@ declare namespace io.flow.payment.internal.v0.models {
6031
5732
  readonly 'processor_status': string;
6032
5733
  readonly 'processor_reference'?: string;
6033
5734
  readonly 'provider_reference'?: string;
5735
+ readonly 'provider_reason_code'?: string;
6034
5736
  }
6035
5737
 
6036
5738
  interface ChargebackVersion {
@@ -6067,6 +5769,11 @@ declare namespace io.flow.payment.internal.v0.models {
6067
5769
  readonly 'passphrase_ids': string[];
6068
5770
  }
6069
5771
 
5772
+ interface FiservAuthenticationDataReference {
5773
+ readonly 'account_id': string;
5774
+ readonly 'store_id': string;
5775
+ }
5776
+
6070
5777
  interface InternalAdyenAuthorizationDetails {
6071
5778
  readonly 'discriminator': 'internal_adyen_authorization_details';
6072
5779
  readonly 'adyen_authentication_data': io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
@@ -6087,6 +5794,11 @@ declare namespace io.flow.payment.internal.v0.models {
6087
5794
  readonly 'internal'?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
6088
5795
  }
6089
5796
 
5797
+ interface InternalFiservAuthorizationDetails {
5798
+ readonly 'discriminator': 'internal_fiserv_authorization_details';
5799
+ readonly 'fiserv_authentication_data': io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
5800
+ }
5801
+
6090
5802
  interface InternalPaypalAuthorizationDetails {
6091
5803
  readonly 'discriminator': 'internal_paypal_authorization_details';
6092
5804
  readonly 'paypal_authentication_data': io.flow.payment.internal.v0.models.PaypalAuthenticationDataReference;
@@ -6192,7 +5904,7 @@ declare namespace io.flow.payment.internal.v0.models {
6192
5904
 
6193
5905
  declare namespace io.flow.payment.internal.v0.unions {
6194
5906
  type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
6195
- type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails);
5907
+ type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
6196
5908
  type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
6197
5909
  type PaymentAccount = (io.flow.payment.internal.v0.models.StripeAccount);
6198
5910
  type PaymentAccountForm = (io.flow.payment.internal.v0.models.StripeAccountForm);
@@ -8062,768 +7774,1147 @@ declare namespace io.flow.stripe.v0.models {
8062
7774
  readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
8063
7775
  }
8064
7776
 
8065
- interface PaymentMethodOptionsCard {
8066
- readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
7777
+ interface PaymentMethodOptionsCard {
7778
+ readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
7779
+ }
7780
+
7781
+ interface PaymentOutcome {
7782
+ readonly 'network_status': io.flow.stripe.v0.enums.NetworkStatus;
7783
+ readonly 'risk_level': string;
7784
+ readonly 'seller_message': string;
7785
+ readonly 'reason'?: string;
7786
+ readonly 'type'?: io.flow.stripe.v0.enums.PaymentOutcomeType;
7787
+ }
7788
+
7789
+ interface Receiver {
7790
+ readonly 'address'?: string;
7791
+ readonly 'amount_charged'?: number;
7792
+ readonly 'amount_received'?: number;
7793
+ readonly 'amount_returned'?: number;
7794
+ }
7795
+
7796
+ interface Redirect {
7797
+ readonly 'failure_reason'?: string;
7798
+ readonly 'return_url'?: string;
7799
+ readonly 'status'?: string;
7800
+ readonly 'url'?: string;
7801
+ }
7802
+
7803
+ interface RedirectToUrl {
7804
+ readonly 'return_url': string;
7805
+ readonly 'url': string;
7806
+ }
7807
+
7808
+ interface Refund {
7809
+ readonly 'id': string;
7810
+ readonly 'object': string;
7811
+ readonly 'amount': number;
7812
+ readonly 'charge': string;
7813
+ readonly 'created': number;
7814
+ readonly 'currency': string;
7815
+ readonly 'status': io.flow.stripe.v0.enums.RefundStatus;
7816
+ readonly 'balance_transaction'?: string;
7817
+ readonly 'failure_balance_transaction'?: string;
7818
+ readonly 'failure_reason'?: io.flow.stripe.v0.enums.RefundFailureReason;
7819
+ readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
7820
+ readonly 'receipt_number'?: string;
7821
+ }
7822
+
7823
+ interface RefundRequest {
7824
+ readonly 'charge': string;
7825
+ readonly 'amount'?: number;
7826
+ readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
7827
+ readonly 'refund_application_fee'?: boolean;
7828
+ readonly 'reverse_transfer'?: boolean;
7829
+ readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
7830
+ }
7831
+
7832
+ interface Refunds {
7833
+ readonly 'object': string;
7834
+ readonly 'data': io.flow.stripe.v0.models.Refund[];
7835
+ readonly 'has_more': boolean;
7836
+ readonly 'total_count': number;
7837
+ readonly 'url': string;
7838
+ }
7839
+
7840
+ interface Shipping {
7841
+ readonly 'address': io.flow.stripe.v0.models.Address;
7842
+ readonly 'name': string;
7843
+ readonly 'phone'?: string;
7844
+ }
7845
+
7846
+ interface Source {
7847
+ readonly 'id': string;
7848
+ readonly 'object': string;
7849
+ readonly 'amount'?: number;
7850
+ readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
7851
+ readonly 'client_secret'?: string;
7852
+ readonly 'code_verification'?: io.flow.stripe.v0.models.CodeVerification;
7853
+ readonly 'created': number;
7854
+ readonly 'currency'?: string;
7855
+ readonly 'flow': io.flow.stripe.v0.enums.SourceFlow;
7856
+ readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarna;
7857
+ readonly 'livemode': boolean;
7858
+ readonly 'owner'?: io.flow.stripe.v0.models.Owner;
7859
+ readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
7860
+ readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
7861
+ readonly 'statement_descriptor'?: string;
7862
+ readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
7863
+ readonly 'type': io.flow.stripe.v0.enums.SourceType;
7864
+ readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
7865
+ }
7866
+
7867
+ interface SourceCard {
7868
+ readonly 'exp_month': number;
7869
+ readonly 'exp_year': number;
7870
+ readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
7871
+ readonly 'card_automatically_updated'?: boolean;
7872
+ readonly 'country'?: string;
7873
+ readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7874
+ readonly 'fingerprint'?: string;
7875
+ readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
7876
+ readonly 'last4'?: string;
7877
+ readonly 'three_d_secure'?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
7878
+ readonly 'address_line1_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7879
+ readonly 'address_zip_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7880
+ readonly 'tokenization_method'?: string;
7881
+ readonly 'dynamic_last4'?: string;
7882
+ }
7883
+
7884
+ interface SourceCardRequest {
7885
+ readonly 'exp_month': string;
7886
+ readonly 'exp_year': string;
7887
+ readonly 'number': string;
7888
+ readonly 'cvc'?: string;
7889
+ }
7890
+
7891
+ interface SourceKlarna {
7892
+ readonly 'first_name'?: string;
7893
+ readonly 'last_name'?: string;
7894
+ readonly 'client_token': string;
7895
+ }
7896
+
7897
+ interface SourceKlarnaRequest {
7898
+ readonly 'first_name': string;
7899
+ readonly 'last_name': string;
7900
+ readonly 'attachment'?: string;
7901
+ }
7902
+
7903
+ interface SourceRequest {
7904
+ readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
7905
+ readonly 'amount'?: number;
7906
+ readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
7907
+ readonly 'currency'?: string;
7908
+ readonly 'flow'?: io.flow.stripe.v0.enums.SourceFlow;
7909
+ readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarnaRequest;
7910
+ readonly 'order'?: io.flow.stripe.v0.models.OrderRequest;
7911
+ readonly 'owner'?: io.flow.stripe.v0.models.Owner;
7912
+ readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
7913
+ readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
7914
+ readonly 'statement_descriptor'?: string;
7915
+ readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
7916
+ readonly 'token'?: string;
7917
+ readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
7918
+ }
7919
+
7920
+ interface Stripe3Ds2Fingerprint {
7921
+ readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
7922
+ readonly 'three_d_secure_2_source': string;
7923
+ readonly 'directory_server_name'?: string;
7924
+ readonly 'server_transaction_id'?: string;
7925
+ readonly 'three_ds_method_url'?: string;
7926
+ readonly 'three_ds_optimizations'?: string;
7927
+ readonly 'directory_server_encryption'?: any/*object*/;
7928
+ }
7929
+
7930
+ interface StripeError {
7931
+ readonly 'type': io.flow.stripe.v0.enums.ErrorType;
7932
+ readonly 'charge'?: string;
7933
+ readonly 'message'?: string;
7934
+ readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
7935
+ readonly 'decline_code'?: string;
7936
+ readonly 'param'?: string;
7937
+ }
7938
+
7939
+ interface StripeEvent {
7940
+ readonly 'id': string;
7941
+ readonly 'object': string;
7942
+ readonly 'api_version'?: string;
7943
+ readonly 'created': number;
7944
+ readonly 'data': io.flow.stripe.v0.models.StripeEventData;
7945
+ readonly 'livemode': boolean;
7946
+ readonly 'pending_webhooks': number;
7947
+ readonly 'request'?: io.flow.stripe.v0.models.StripeEventRequest;
7948
+ readonly 'type': string;
7949
+ }
7950
+
7951
+ interface StripeEventData {
7952
+ readonly 'object'?: any/*object*/;
7953
+ readonly 'previous_attributes'?: any/*object*/;
7954
+ }
7955
+
7956
+ interface StripeEventRequest {
7957
+ readonly 'id'?: string;
7958
+ readonly 'idempotency_key'?: string;
7959
+ }
7960
+
7961
+ interface ThreeDSecure {
7962
+ readonly 'card': string;
7963
+ readonly 'customer'?: string;
7964
+ }
7965
+
7966
+ interface ThreeDSecureRedirect {
7967
+ readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
7968
+ readonly 'stripe_js': string;
7969
+ }
7970
+
7971
+ interface Token {
7972
+ readonly 'id': string;
7973
+ readonly 'object': string;
7974
+ readonly 'client_ip': string;
7975
+ readonly 'created': number;
7976
+ readonly 'livemode': boolean;
7977
+ readonly 'type': io.flow.stripe.v0.enums.TokenType;
7978
+ readonly 'used': boolean;
7979
+ readonly 'card'?: io.flow.stripe.v0.models.Card;
7980
+ }
7981
+
7982
+ interface TosAcceptance {
7983
+ readonly 'date'?: number;
7984
+ readonly 'ip'?: string;
7985
+ readonly 'user_agent'?: string;
7986
+ }
7987
+
7988
+ interface TransferData {
7989
+ readonly 'amount': number;
7990
+ readonly 'destination'?: string;
7991
+ }
7992
+ }
7993
+
7994
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
7995
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
7996
+ }
7997
+
7998
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
7999
+ interface AccountOrdersExportType {
8000
+ readonly 'discriminator': 'account_orders_export_type';
8001
+ readonly 'statement_id'?: string;
8002
+ readonly 'transaction_summary_id'?: string;
8003
+ readonly 'transaction_created_from'?: string;
8004
+ readonly 'transaction_created_to'?: string;
8005
+ readonly 'transaction_created_on_or_after'?: string;
8006
+ readonly 'transaction_created_after'?: string;
8007
+ readonly 'transaction_created_on_or_before'?: string;
8008
+ readonly 'transaction_created_before'?: string;
8009
+ readonly 'transaction_posted_from'?: string;
8010
+ readonly 'transaction_posted_to'?: string;
8011
+ readonly 'transaction_posted_on_or_after'?: string;
8012
+ readonly 'transaction_posted_after'?: string;
8013
+ readonly 'transaction_posted_on_or_before'?: string;
8014
+ readonly 'transaction_posted_before'?: string;
8015
+ }
8016
+
8017
+ interface AccountTransactionsExportType {
8018
+ readonly 'discriminator': 'account_transactions_export_type';
8019
+ readonly 'statement_id'?: string;
8020
+ readonly 'transaction_summary_id'?: string;
8021
+ readonly 'created_from'?: string;
8022
+ readonly 'created_to'?: string;
8023
+ readonly 'created_on_or_after'?: string;
8024
+ readonly 'created_after'?: string;
8025
+ readonly 'created_on_or_before'?: string;
8026
+ readonly 'created_before'?: string;
8027
+ readonly 'posted_from'?: string;
8028
+ readonly 'posted_to'?: string;
8029
+ readonly 'posted_on_or_after'?: string;
8030
+ readonly 'posted_after'?: string;
8031
+ readonly 'posted_on_or_before'?: string;
8032
+ readonly 'posted_before'?: string;
8033
+ }
8034
+
8035
+ interface AnalyticsExportType {
8036
+ readonly 'discriminator': 'analytics_export_type';
8037
+ readonly 'from'?: string;
8038
+ readonly 'to'?: string;
8039
+ readonly 'region'?: string;
8040
+ readonly 'interval'?: io.flow.common.v0.enums.UnitOfTime;
8041
+ }
8042
+
8043
+ interface CatalogItemExportType {
8044
+ readonly 'discriminator': 'catalog_item_export_type';
8045
+ readonly 'numbers'?: string[];
8046
+ readonly 'q'?: string;
8047
+ readonly 'sort'?: string;
8048
+ }
8049
+
8050
+ interface CsvPriceBookItemExportRow {
8051
+ readonly 'price_book_key': string;
8052
+ readonly 'price_book_item_key': string;
8053
+ readonly 'item_number': string;
8054
+ readonly 'item_name': string;
8055
+ readonly 'amount': number;
8056
+ readonly 'item_attributes'?: Record<string, string>;
8057
+ readonly 'starts_at': string;
8058
+ readonly 'ends_at'?: string;
8059
+ }
8060
+
8061
+ interface ExperienceExportType {
8062
+ readonly 'discriminator': 'experience_export_type';
8063
+ readonly 'organization_id': string;
8064
+ readonly 'ids'?: string[];
8065
+ readonly 'keys'?: string[];
8066
+ }
8067
+
8068
+ interface Export {
8069
+ readonly 'id': string;
8070
+ readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8071
+ readonly 'status': io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
8072
+ readonly 'organization_q': string;
8073
+ readonly 'created_at': string;
8074
+ readonly 'started_at'?: string;
8075
+ readonly 'completed_at'?: string;
8076
+ readonly 'url'?: string;
8077
+ readonly 'deliveries': io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
8078
+ }
8079
+
8080
+ interface ExportDeliveryEmail {
8081
+ readonly 'discriminator': 'export_delivery_email';
8082
+ readonly 'email': string;
8083
+ }
8084
+
8085
+ interface ExportForm {
8086
+ readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8087
+ readonly 'emails'?: string[];
8088
+ readonly 'organization_q'?: string;
8089
+ }
8090
+
8091
+ interface ExportLocalizedItemPrices {
8092
+ readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8093
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8094
+ readonly 'item': io.flow.common.v0.models.CatalogItemReference;
8095
+ readonly 'prices': io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
8096
+ readonly 'status'?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
8097
+ }
8098
+
8099
+ interface ExportLocalizedItemPricesDetail {
8100
+ readonly 'item': io.flow.catalog.v0.models.LocalizedItemPrice;
8101
+ readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
8102
+ readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
8103
+ readonly 'price_attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
8104
+ }
8105
+
8106
+ interface ExportVersion {
8107
+ readonly 'id': string;
8108
+ readonly 'timestamp': string;
8109
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
8110
+ readonly 'export': io.flow.RESERVED_WORD_export.v0.models.Export;
8111
+ }
8112
+
8113
+ interface HarmonizationHs10ExportType {
8114
+ readonly 'discriminator': 'harmonization_hs10_export_type';
8115
+ readonly 'origin'?: string;
8116
+ readonly 'destination'?: string;
8117
+ readonly 'numbers'?: string[];
8118
+ readonly 'has_codes'?: boolean;
8119
+ readonly 'has_origins'?: boolean;
8120
+ readonly 'sort'?: string;
8121
+ }
8122
+
8123
+ interface HarmonizationHs6ExportType {
8124
+ readonly 'discriminator': 'harmonization_hs6_export_type';
8125
+ readonly 'numbers'?: string[];
8126
+ readonly 'has_codes'?: boolean;
8127
+ readonly 'sort'?: string;
8128
+ }
8129
+
8130
+ interface HarmonizationLandedCostExportType {
8131
+ readonly 'discriminator': 'harmonization_landed_cost_export_type';
8132
+ readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
8133
+ }
8134
+
8135
+ interface HarmonizationOverviewExportType {
8136
+ readonly 'discriminator': 'harmonization_overview_export_type';
8137
+ readonly 'origin'?: string;
8138
+ readonly 'destination'?: string;
8139
+ readonly 'sort'?: string;
8140
+ }
8141
+
8142
+ interface LandedCostItem {
8143
+ readonly 'number': string;
8144
+ readonly 'origin': string;
8145
+ readonly 'destination': string;
8146
+ }
8147
+
8148
+ interface LocalizedItemPricesExportType {
8149
+ readonly 'discriminator': 'localized_item_prices_export_type';
8150
+ readonly 'since'?: string;
8151
+ }
8152
+
8153
+ interface OrderExportType {
8154
+ readonly 'discriminator': 'order_export_type';
8155
+ readonly 'numbers'?: string[];
8156
+ readonly 'min_hours_since_submitted_at'?: number;
8157
+ readonly 'submitted_on_or_before'?: string;
8158
+ readonly 'submitted_on_or_after'?: string;
8159
+ readonly 'status'?: io.flow.experience.v0.enums.OrderStatus;
8160
+ readonly 'has_tracking_label'?: boolean;
8161
+ readonly 'sort'?: string;
8162
+ }
8163
+
8164
+ interface PriceBookItemExportType {
8165
+ readonly 'discriminator': 'price_book_item_export_type';
8166
+ readonly 'price_book_key'?: string;
8167
+ readonly 'item_numbers'?: string[];
8168
+ readonly 'start_date'?: string;
8169
+ readonly 'end_date'?: string;
8170
+ }
8171
+
8172
+ interface ScheduledExport {
8173
+ readonly 'id': string;
8174
+ readonly 'user': io.flow.common.v0.models.UserReference;
8175
+ readonly 'organization_q': string;
8176
+ readonly 'hour': number;
8177
+ readonly 'minute': number;
8178
+ readonly 'timezone': string;
8179
+ readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8180
+ readonly 'last_sent_at'?: string;
8181
+ }
8182
+
8183
+ interface ScheduledExportForm {
8184
+ readonly 'user_id': string;
8185
+ readonly 'organization_q': string;
8186
+ readonly 'hour': number;
8187
+ readonly 'minute': number;
8188
+ readonly 'timezone': string;
8189
+ readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8190
+ }
8191
+
8192
+ interface SolidusProductExportType {
8193
+ readonly 'discriminator': 'solidus_product_export_type';
8194
+ readonly 'numbers'?: string[];
8195
+ readonly 'sort'?: string;
8196
+ }
8197
+
8198
+ interface SolidusVariantExportType {
8199
+ readonly 'discriminator': 'solidus_variant_export_type';
8200
+ readonly 'numbers'?: string[];
8201
+ readonly 'sort'?: string;
8202
+ }
8203
+
8204
+ interface UnharmonizedItemExportType {
8205
+ readonly 'discriminator': 'unharmonized_item_export_type';
8206
+ readonly 'sort'?: string;
8207
+ }
8208
+ }
8209
+
8210
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
8211
+ type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
8212
+ type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType);
8213
+ }
8214
+
8215
+ declare namespace io.flow.shopify.internal.v0.enums {
8216
+ type FlowApp = 'console';
8217
+ type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
8218
+ type ShopifyGrantStatus = 'pass' | 'fail';
8219
+ type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
8220
+ type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
8221
+ type ShopifyPromotionStatus = 'active' | 'inactive';
8222
+ }
8223
+
8224
+ declare namespace io.flow.shopify.internal.v0.models {
8225
+ interface CompletePriceRule {
8226
+ readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
8227
+ readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
8228
+ }
8229
+
8230
+ interface InstallForm {
8231
+ readonly 'token': string;
8232
+ }
8233
+
8234
+ interface OrderSubmissionForm {
8235
+ readonly 'authorization'?: io.flow.payment.v0.unions.AuthorizationForm;
8236
+ }
8237
+
8238
+ interface Shop {
8239
+ readonly 'id': string;
8240
+ readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
8241
+ readonly 'myshopify_domain': string;
8242
+ readonly 'domain'?: string;
8243
+ }
8244
+
8245
+ interface ShopForm {
8246
+ readonly 'organization_id': string;
8067
8247
  }
8068
8248
 
8069
- interface PaymentOutcome {
8070
- readonly 'network_status': io.flow.stripe.v0.enums.NetworkStatus;
8071
- readonly 'risk_level': string;
8072
- readonly 'seller_message': string;
8073
- readonly 'reason'?: string;
8074
- readonly 'type'?: io.flow.stripe.v0.enums.PaymentOutcomeType;
8249
+ interface ShopVersion {
8250
+ readonly 'id': string;
8251
+ readonly 'timestamp': string;
8252
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
8253
+ readonly 'shop': io.flow.shopify.internal.v0.models.Shop;
8075
8254
  }
8076
8255
 
8077
- interface Receiver {
8078
- readonly 'address'?: string;
8079
- readonly 'amount_charged'?: number;
8080
- readonly 'amount_received'?: number;
8081
- readonly 'amount_returned'?: number;
8256
+ interface ShopifyCheckInventoryError {
8257
+ readonly 'code': io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
8258
+ readonly 'messages': string[];
8259
+ readonly 'numbers'?: string[];
8082
8260
  }
8083
8261
 
8084
- interface Redirect {
8085
- readonly 'failure_reason'?: string;
8086
- readonly 'return_url'?: string;
8087
- readonly 'status'?: string;
8088
- readonly 'url'?: string;
8262
+ interface ShopifyCodeForm {
8263
+ readonly 'code': string;
8089
8264
  }
8090
8265
 
8091
- interface RedirectToUrl {
8092
- readonly 'return_url': string;
8093
- readonly 'url': string;
8266
+ interface ShopifyExperienceShortId {
8267
+ readonly 'id': string;
8268
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8269
+ readonly 'short_id': string;
8094
8270
  }
8095
8271
 
8096
- interface Refund {
8097
- readonly 'id': string;
8098
- readonly 'object': string;
8272
+ interface ShopifyGiftCardBalance {
8273
+ readonly 'gift_card_id': number;
8274
+ readonly 'last_characters': string;
8099
8275
  readonly 'amount': number;
8100
- readonly 'charge': string;
8101
- readonly 'created': number;
8102
8276
  readonly 'currency': string;
8103
- readonly 'status': io.flow.stripe.v0.enums.RefundStatus;
8104
- readonly 'balance_transaction'?: string;
8105
- readonly 'failure_balance_transaction'?: string;
8106
- readonly 'failure_reason'?: io.flow.stripe.v0.enums.RefundFailureReason;
8107
- readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
8108
- readonly 'receipt_number'?: string;
8109
8277
  }
8110
8278
 
8111
- interface RefundRequest {
8112
- readonly 'charge': string;
8113
- readonly 'amount'?: number;
8114
- readonly 'reason'?: io.flow.stripe.v0.enums.RefundReason;
8115
- readonly 'refund_application_fee'?: boolean;
8116
- readonly 'reverse_transfer'?: boolean;
8117
- readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
8279
+ interface ShopifyGiftCardBalanceForm {
8280
+ readonly 'number': string;
8118
8281
  }
8119
8282
 
8120
- interface Refunds {
8121
- readonly 'object': string;
8122
- readonly 'data': io.flow.stripe.v0.models.Refund[];
8123
- readonly 'has_more': boolean;
8124
- readonly 'total_count': number;
8125
- readonly 'url': string;
8283
+ interface ShopifyGiftCardPaymentForm {
8284
+ readonly 'code': string;
8285
+ readonly 'customer_id'?: number;
8126
8286
  }
8127
8287
 
8128
- interface Shipping {
8129
- readonly 'address': io.flow.stripe.v0.models.Address;
8130
- readonly 'name': string;
8131
- readonly 'phone'?: string;
8288
+ interface ShopifyGiftCardRedemption {
8289
+ readonly 'adjustment_id': number;
8290
+ readonly 'gift_card_id': number;
8291
+ readonly 'last_characters': string;
8292
+ readonly 'amount': number;
8293
+ readonly 'currency': string;
8132
8294
  }
8133
8295
 
8134
- interface Source {
8135
- readonly 'id': string;
8136
- readonly 'object': string;
8137
- readonly 'amount'?: number;
8138
- readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
8139
- readonly 'client_secret'?: string;
8140
- readonly 'code_verification'?: io.flow.stripe.v0.models.CodeVerification;
8141
- readonly 'created': number;
8142
- readonly 'currency'?: string;
8143
- readonly 'flow': io.flow.stripe.v0.enums.SourceFlow;
8144
- readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarna;
8145
- readonly 'livemode': boolean;
8146
- readonly 'owner'?: io.flow.stripe.v0.models.Owner;
8147
- readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
8148
- readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
8149
- readonly 'statement_descriptor'?: string;
8150
- readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
8151
- readonly 'type': io.flow.stripe.v0.enums.SourceType;
8152
- readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
8296
+ interface ShopifyGiftCardRedemptionForm {
8297
+ readonly 'number': string;
8298
+ readonly 'amount': number;
8299
+ readonly 'currency': string;
8153
8300
  }
8154
8301
 
8155
- interface SourceCard {
8156
- readonly 'exp_month': number;
8157
- readonly 'exp_year': number;
8158
- readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
8159
- readonly 'card_automatically_updated'?: boolean;
8160
- readonly 'country'?: string;
8161
- readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8162
- readonly 'fingerprint'?: string;
8163
- readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
8164
- readonly 'last4'?: string;
8165
- readonly 'three_d_secure'?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
8166
- readonly 'address_line1_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8167
- readonly 'address_zip_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8168
- readonly 'tokenization_method'?: string;
8169
- readonly 'dynamic_last4'?: string;
8302
+ interface ShopifyGiftCardReversal {
8303
+ readonly 'adjustment_id': number;
8304
+ readonly 'gift_card_id': number;
8305
+ readonly 'last_characters': string;
8306
+ readonly 'amount': number;
8307
+ readonly 'currency': string;
8170
8308
  }
8171
8309
 
8172
- interface SourceCardRequest {
8173
- readonly 'exp_month': string;
8174
- readonly 'exp_year': string;
8310
+ interface ShopifyGiftCardReversalForm {
8175
8311
  readonly 'number': string;
8176
- readonly 'cvc'?: string;
8312
+ readonly 'amount': number;
8313
+ readonly 'currency': string;
8177
8314
  }
8178
8315
 
8179
- interface SourceKlarna {
8180
- readonly 'first_name'?: string;
8181
- readonly 'last_name'?: string;
8182
- readonly 'client_token': string;
8316
+ interface ShopifyGrantsCheck {
8317
+ readonly 'dummy': string;
8183
8318
  }
8184
8319
 
8185
- interface SourceKlarnaRequest {
8186
- readonly 'first_name': string;
8187
- readonly 'last_name': string;
8188
- readonly 'attachment'?: string;
8320
+ interface ShopifyOrderAuthorization {
8321
+ readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
8322
+ readonly 'detail'?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
8323
+ readonly 'redirect'?: string;
8189
8324
  }
8190
8325
 
8191
- interface SourceRequest {
8192
- readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
8193
- readonly 'amount'?: number;
8194
- readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
8195
- readonly 'currency'?: string;
8196
- readonly 'flow'?: io.flow.stripe.v0.enums.SourceFlow;
8197
- readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarnaRequest;
8198
- readonly 'order'?: io.flow.stripe.v0.models.OrderRequest;
8199
- readonly 'owner'?: io.flow.stripe.v0.models.Owner;
8200
- readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
8201
- readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
8202
- readonly 'statement_descriptor'?: string;
8203
- readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
8204
- readonly 'token'?: string;
8205
- readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
8326
+ interface ShopifyOrderContent {
8327
+ readonly 'lines': io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
8328
+ readonly 'discounts': io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
8206
8329
  }
8207
8330
 
8208
- interface Stripe3Ds2Fingerprint {
8209
- readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
8210
- readonly 'three_d_secure_2_source': string;
8211
- readonly 'directory_server_name'?: string;
8212
- readonly 'server_transaction_id'?: string;
8213
- readonly 'three_ds_method_url'?: string;
8214
- readonly 'three_ds_optimizations'?: string;
8215
- readonly 'directory_server_encryption'?: any/*object*/;
8331
+ interface ShopifyOrderDetail {
8332
+ readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8333
+ readonly 'number': string;
8334
+ readonly 'order': io.flow.experience.v0.models.Order;
8335
+ readonly 'payments': io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
8336
+ readonly 'contents': io.flow.shopify.internal.v0.models.ShopifyOrderContent;
8216
8337
  }
8217
8338
 
8218
- interface StripeError {
8219
- readonly 'type': io.flow.stripe.v0.enums.ErrorType;
8220
- readonly 'charge'?: string;
8221
- readonly 'message'?: string;
8222
- readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
8223
- readonly 'decline_code'?: string;
8224
- readonly 'param'?: string;
8339
+ interface ShopifyOrderDiscountContent {
8340
+ readonly 'description': string;
8341
+ readonly 'code'?: string;
8225
8342
  }
8226
8343
 
8227
- interface StripeEvent {
8228
- readonly 'id': string;
8229
- readonly 'object': string;
8230
- readonly 'api_version'?: string;
8231
- readonly 'created': number;
8232
- readonly 'data': io.flow.stripe.v0.models.StripeEventData;
8233
- readonly 'livemode': boolean;
8234
- readonly 'pending_webhooks': number;
8235
- readonly 'request'?: io.flow.stripe.v0.models.StripeEventRequest;
8236
- readonly 'type': string;
8344
+ interface ShopifyOrderInventoryCheck {
8345
+ readonly 'item_number': string;
8346
+ readonly 'quantity': number;
8237
8347
  }
8238
8348
 
8239
- interface StripeEventData {
8240
- readonly 'object'?: any/*object*/;
8241
- readonly 'previous_attributes'?: any/*object*/;
8349
+ interface ShopifyOrderLineAttribute {
8350
+ readonly 'key': string;
8351
+ readonly 'name': string;
8352
+ readonly 'value': string;
8242
8353
  }
8243
8354
 
8244
- interface StripeEventRequest {
8245
- readonly 'id'?: string;
8246
- readonly 'idempotency_key'?: string;
8355
+ interface ShopifyOrderLineContent {
8356
+ readonly 'item_number': string;
8357
+ readonly 'quantity': number;
8358
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
8359
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
8360
+ readonly 'name': string;
8361
+ readonly 'image_url': string;
8362
+ readonly 'variant_url': string;
8363
+ readonly 'attributes': io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
8247
8364
  }
8248
8365
 
8249
- interface ThreeDSecure {
8250
- readonly 'card': string;
8251
- readonly 'customer'?: string;
8366
+ interface ShopifyPaymentSummary {
8367
+ readonly 'description': string;
8368
+ readonly 'address'?: io.flow.common.v0.models.Address;
8369
+ readonly 'contact'?: io.flow.common.v0.models.Contact;
8252
8370
  }
8253
8371
 
8254
- interface ThreeDSecureRedirect {
8255
- readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
8256
- readonly 'stripe_js': string;
8372
+ interface ShopifyPromoForm {
8373
+ readonly 'name': string;
8374
+ readonly 'starts_at': string;
8375
+ readonly 'ends_at'?: string;
8376
+ readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8377
+ readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8378
+ readonly 'stackable_limit'?: number;
8257
8379
  }
8258
8380
 
8259
- interface Token {
8381
+ interface ShopifyPromotion {
8260
8382
  readonly 'id': string;
8261
- readonly 'object': string;
8262
- readonly 'client_ip': string;
8263
- readonly 'created': number;
8264
- readonly 'livemode': boolean;
8265
- readonly 'type': io.flow.stripe.v0.enums.TokenType;
8266
- readonly 'used': boolean;
8267
- readonly 'card'?: io.flow.stripe.v0.models.Card;
8268
- }
8269
-
8270
- interface TosAcceptance {
8271
- readonly 'date'?: number;
8272
- readonly 'ip'?: string;
8273
- readonly 'user_agent'?: string;
8383
+ readonly 'name': string;
8384
+ readonly 'starts_at': string;
8385
+ readonly 'ends_at'?: string;
8386
+ readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8387
+ readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8388
+ readonly 'stackable_limit'?: number;
8274
8389
  }
8275
8390
 
8276
- interface TransferData {
8277
- readonly 'amount': number;
8278
- readonly 'destination'?: string;
8391
+ interface ShopifyPromotionAttributeValue {
8392
+ readonly 'name': string;
8393
+ readonly 'discount': io.flow.common.v0.models.Money;
8279
8394
  }
8280
- }
8281
-
8282
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
8283
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
8284
- }
8285
8395
 
8286
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
8287
- interface AccountOrdersExportType {
8288
- readonly 'discriminator': 'account_orders_export_type';
8289
- readonly 'statement_id'?: string;
8290
- readonly 'transaction_summary_id'?: string;
8291
- readonly 'transaction_created_from'?: string;
8292
- readonly 'transaction_created_to'?: string;
8293
- readonly 'transaction_created_on_or_after'?: string;
8294
- readonly 'transaction_created_after'?: string;
8295
- readonly 'transaction_created_on_or_before'?: string;
8296
- readonly 'transaction_created_before'?: string;
8297
- readonly 'transaction_posted_from'?: string;
8298
- readonly 'transaction_posted_to'?: string;
8299
- readonly 'transaction_posted_on_or_after'?: string;
8300
- readonly 'transaction_posted_after'?: string;
8301
- readonly 'transaction_posted_on_or_before'?: string;
8302
- readonly 'transaction_posted_before'?: string;
8396
+ interface ShopifyPromotionFixedAmount {
8397
+ readonly 'discriminator': 'shopify_promotion_fixed_amount';
8398
+ readonly 'amount': number;
8399
+ readonly 'currency': string;
8303
8400
  }
8304
8401
 
8305
- interface AccountTransactionsExportType {
8306
- readonly 'discriminator': 'account_transactions_export_type';
8307
- readonly 'statement_id'?: string;
8308
- readonly 'transaction_summary_id'?: string;
8309
- readonly 'created_from'?: string;
8310
- readonly 'created_to'?: string;
8311
- readonly 'created_on_or_after'?: string;
8312
- readonly 'created_after'?: string;
8313
- readonly 'created_on_or_before'?: string;
8314
- readonly 'created_before'?: string;
8315
- readonly 'posted_from'?: string;
8316
- readonly 'posted_to'?: string;
8317
- readonly 'posted_on_or_after'?: string;
8318
- readonly 'posted_after'?: string;
8319
- readonly 'posted_on_or_before'?: string;
8320
- readonly 'posted_before'?: string;
8402
+ interface ShopifyPromotionForm {
8403
+ readonly 'code': string;
8321
8404
  }
8322
8405
 
8323
- interface AnalyticsExportType {
8324
- readonly 'discriminator': 'analytics_export_type';
8325
- readonly 'from'?: string;
8326
- readonly 'to'?: string;
8327
- readonly 'region'?: string;
8328
- readonly 'interval'?: io.flow.common.v0.enums.UnitOfTime;
8406
+ interface ShopifyPromotionItemEntitlement {
8407
+ readonly 'discriminator': 'shopify_promotion_item_entitlement';
8408
+ readonly 'q': string;
8409
+ readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8329
8410
  }
8330
8411
 
8331
- interface CatalogItemExportType {
8332
- readonly 'discriminator': 'catalog_item_export_type';
8333
- readonly 'numbers'?: string[];
8334
- readonly 'q'?: string;
8335
- readonly 'sort'?: string;
8412
+ interface ShopifyPromotionItemPrerequisite {
8413
+ readonly 'discriminator': 'shopify_promotion_item_prerequisite';
8414
+ readonly 'q': string;
8415
+ readonly 'at_least'?: number;
8416
+ readonly 'at_most'?: number;
8417
+ readonly 'exclude_from_offer'?: boolean;
8336
8418
  }
8337
8419
 
8338
- interface CsvPriceBookItemExportRow {
8339
- readonly 'price_book_key': string;
8340
- readonly 'price_book_item_key': string;
8341
- readonly 'item_number': string;
8342
- readonly 'item_name': string;
8420
+ interface ShopifyPromotionMaxAmount {
8421
+ readonly 'discriminator': 'shopify_promotion_max_amount';
8343
8422
  readonly 'amount': number;
8344
- readonly 'item_attributes'?: Record<string, string>;
8345
- readonly 'starts_at': string;
8346
- readonly 'ends_at'?: string;
8423
+ readonly 'currency': string;
8347
8424
  }
8348
8425
 
8349
- interface ExperienceExportType {
8350
- readonly 'discriminator': 'experience_export_type';
8351
- readonly 'organization_id': string;
8352
- readonly 'ids'?: string[];
8353
- readonly 'keys'?: string[];
8426
+ interface ShopifyPromotionMaxLimit {
8427
+ readonly 'discriminator': 'shopify_promotion_max_limit';
8428
+ readonly 'limit': number;
8354
8429
  }
8355
8430
 
8356
- interface Export {
8357
- readonly 'id': string;
8358
- readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8359
- readonly 'status': io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
8360
- readonly 'organization_q': string;
8361
- readonly 'created_at': string;
8362
- readonly 'started_at'?: string;
8363
- readonly 'completed_at'?: string;
8364
- readonly 'url'?: string;
8365
- readonly 'deliveries': io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
8431
+ interface ShopifyPromotionOffer {
8432
+ readonly 'discount': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
8433
+ readonly 'entitlement': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
8434
+ readonly 'max'?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
8366
8435
  }
8367
8436
 
8368
- interface ExportDeliveryEmail {
8369
- readonly 'discriminator': 'export_delivery_email';
8370
- readonly 'email': string;
8437
+ interface ShopifyPromotionOrderEntitlement {
8438
+ readonly 'discriminator': 'shopify_promotion_order_entitlement';
8439
+ readonly 'components': io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
8440
+ readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8371
8441
  }
8372
8442
 
8373
- interface ExportForm {
8374
- readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8375
- readonly 'emails'?: string[];
8376
- readonly 'organization_q'?: string;
8443
+ interface ShopifyPromotionOrderPrerequisite {
8444
+ readonly 'discriminator': 'shopify_promotion_order_prerequisite';
8445
+ readonly 'q': string;
8377
8446
  }
8378
8447
 
8379
- interface ExportLocalizedItemPrices {
8380
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8381
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8382
- readonly 'item': io.flow.common.v0.models.CatalogItemReference;
8383
- readonly 'prices': io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
8384
- readonly 'status'?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
8448
+ interface ShopifyPromotionPercent {
8449
+ readonly 'discriminator': 'shopify_promotion_percent';
8450
+ readonly 'percent': number;
8385
8451
  }
8386
8452
 
8387
- interface ExportLocalizedItemPricesDetail {
8388
- readonly 'item': io.flow.catalog.v0.models.LocalizedItemPrice;
8389
- readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
8390
- readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
8391
- readonly 'price_attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
8453
+ interface ShopifyPromotionRule {
8454
+ readonly 'prerequisites': io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
8455
+ readonly 'offers': io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
8392
8456
  }
8393
8457
 
8394
- interface ExportVersion {
8458
+ interface ShopifyWebhook {
8395
8459
  readonly 'id': string;
8396
- readonly 'timestamp': string;
8397
- readonly 'type': io.flow.common.v0.enums.ChangeType;
8398
- readonly 'export': io.flow.RESERVED_WORD_export.v0.models.Export;
8399
- }
8400
-
8401
- interface HarmonizationHs10ExportType {
8402
- readonly 'discriminator': 'harmonization_hs10_export_type';
8403
- readonly 'origin'?: string;
8404
- readonly 'destination'?: string;
8405
- readonly 'numbers'?: string[];
8406
- readonly 'has_codes'?: boolean;
8407
- readonly 'has_origins'?: boolean;
8408
- readonly 'sort'?: string;
8460
+ readonly 'shop_id': string;
8461
+ readonly 'address': string;
8462
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8409
8463
  }
8410
8464
 
8411
- interface HarmonizationHs6ExportType {
8412
- readonly 'discriminator': 'harmonization_hs6_export_type';
8413
- readonly 'numbers'?: string[];
8414
- readonly 'has_codes'?: boolean;
8415
- readonly 'sort'?: string;
8465
+ interface ShopifyWebhookEvent {
8466
+ readonly 'dummy': string;
8416
8467
  }
8417
8468
 
8418
- interface HarmonizationLandedCostExportType {
8419
- readonly 'discriminator': 'harmonization_landed_cost_export_type';
8420
- readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
8469
+ interface ShopifyWebhookForm {
8470
+ readonly 'myshopify_domain': string;
8471
+ readonly 'address': string;
8472
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8421
8473
  }
8474
+ }
8422
8475
 
8423
- interface HarmonizationOverviewExportType {
8424
- readonly 'discriminator': 'harmonization_overview_export_type';
8425
- readonly 'origin'?: string;
8426
- readonly 'destination'?: string;
8427
- readonly 'sort'?: string;
8428
- }
8476
+ declare namespace io.flow.shopify.internal.v0.unions {
8477
+ type ShopifyPromotionOfferDiscount = (io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent);
8478
+ type ShopifyPromotionOfferEntitlement = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement);
8479
+ type ShopifyPromotionOfferMax = (io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount);
8480
+ type ShopifyPromotionPrerequisite = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite);
8481
+ }
8429
8482
 
8430
- interface LandedCostItem {
8431
- readonly 'number': string;
8432
- readonly 'origin': string;
8433
- readonly 'destination': string;
8434
- }
8483
+ declare namespace io.flow.ftp.v0.enums {
8484
+ type FtpFileSource = 'flow' | 'organization';
8485
+ }
8435
8486
 
8436
- interface LocalizedItemPricesExportType {
8437
- readonly 'discriminator': 'localized_item_prices_export_type';
8438
- readonly 'since'?: string;
8487
+ declare namespace io.flow.ftp.v0.models {
8488
+ interface FtpAccount {
8489
+ readonly 'server': io.flow.ftp.v0.models.FtpServer;
8490
+ readonly 'user': io.flow.ftp.v0.models.FtpUser;
8439
8491
  }
8440
8492
 
8441
- interface OrderExportType {
8442
- readonly 'discriminator': 'order_export_type';
8443
- readonly 'numbers'?: string[];
8444
- readonly 'min_hours_since_submitted_at'?: number;
8445
- readonly 'submitted_on_or_before'?: string;
8446
- readonly 'submitted_on_or_after'?: string;
8447
- readonly 'status'?: io.flow.experience.v0.enums.OrderStatus;
8448
- readonly 'has_tracking_label'?: boolean;
8449
- readonly 'sort'?: string;
8493
+ interface FtpFile {
8494
+ readonly 'id': string;
8495
+ readonly 'source': io.flow.ftp.v0.enums.FtpFileSource;
8496
+ readonly 'name': string;
8497
+ readonly 'directory': string;
8498
+ readonly 'url': string;
8499
+ readonly 'created_at': string;
8450
8500
  }
8451
8501
 
8452
- interface PriceBookItemExportType {
8453
- readonly 'discriminator': 'price_book_item_export_type';
8454
- readonly 'price_book_key'?: string;
8455
- readonly 'item_numbers'?: string[];
8456
- readonly 'start_date'?: string;
8457
- readonly 'end_date'?: string;
8502
+ interface FtpFileForm {
8503
+ readonly 'url': string;
8504
+ readonly 'directory': string;
8505
+ readonly 'name'?: string;
8458
8506
  }
8459
8507
 
8460
- interface ScheduledExport {
8508
+ interface FtpFolder {
8461
8509
  readonly 'id': string;
8462
- readonly 'user': io.flow.common.v0.models.UserReference;
8463
- readonly 'organization_q': string;
8464
- readonly 'hour': number;
8465
- readonly 'minute': number;
8466
- readonly 'timezone': string;
8467
- readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8468
- readonly 'last_sent_at'?: string;
8510
+ readonly 'path': string;
8511
+ readonly 'webhook': boolean;
8512
+ readonly 'description'?: string;
8469
8513
  }
8470
8514
 
8471
- interface ScheduledExportForm {
8472
- readonly 'user_id': string;
8473
- readonly 'organization_q': string;
8474
- readonly 'hour': number;
8475
- readonly 'minute': number;
8476
- readonly 'timezone': string;
8477
- readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8515
+ interface FtpFolderForm {
8516
+ readonly 'path': string;
8517
+ readonly 'webhook': boolean;
8518
+ readonly 'description'?: string;
8478
8519
  }
8479
8520
 
8480
- interface SolidusProductExportType {
8481
- readonly 'discriminator': 'solidus_product_export_type';
8482
- readonly 'numbers'?: string[];
8483
- readonly 'sort'?: string;
8521
+ interface FtpOrganizationSettings {
8522
+ readonly 'enabled': boolean;
8523
+ readonly 'emails': string[];
8524
+ readonly 'account'?: io.flow.ftp.v0.models.FtpAccount;
8525
+ }
8526
+
8527
+ interface FtpOrganizationSettingsForm {
8528
+ readonly 'enabled': boolean;
8529
+ readonly 'emails': string[];
8484
8530
  }
8485
8531
 
8486
- interface SolidusVariantExportType {
8487
- readonly 'discriminator': 'solidus_variant_export_type';
8488
- readonly 'numbers'?: string[];
8489
- readonly 'sort'?: string;
8532
+ interface FtpServer {
8533
+ readonly 'hostname': string;
8490
8534
  }
8491
8535
 
8492
- interface UnharmonizedItemExportType {
8493
- readonly 'discriminator': 'unharmonized_item_export_type';
8494
- readonly 'sort'?: string;
8536
+ interface FtpUser {
8537
+ readonly 'username': string;
8538
+ readonly 'password'?: string;
8495
8539
  }
8496
8540
  }
8497
8541
 
8498
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
8499
- type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
8500
- type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType);
8542
+ declare namespace io.flow.checkout.configuration.v0.enums {
8543
+ type CheckoutPromptBehavior = 'always' | 'incomplete';
8544
+ type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
8545
+ type GoogleAnalyticsPlugin = 'ec';
8501
8546
  }
8502
8547
 
8503
- declare namespace io.flow.shopify.internal.v0.enums {
8504
- type FlowApp = 'console';
8505
- type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
8506
- type ShopifyGrantStatus = 'pass' | 'fail';
8507
- type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
8508
- type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
8509
- type ShopifyPromotionStatus = 'active' | 'inactive';
8510
- }
8548
+ declare namespace io.flow.checkout.configuration.v0.models {
8549
+ interface CheckoutAnalytics {
8550
+ readonly 'trackers': io.flow.checkout.configuration.v0.unions.Tracker[];
8551
+ readonly 'use_base_currency': boolean;
8552
+ }
8511
8553
 
8512
- declare namespace io.flow.shopify.internal.v0.models {
8513
- interface CompletePriceRule {
8514
- readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
8515
- readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
8554
+ interface CheckoutBehavior {
8555
+ readonly 'shipping_address': io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingAddress;
8556
+ readonly 'shipping_method': io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingMethod;
8557
+ readonly 'customer_info': io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfo;
8516
8558
  }
8517
8559
 
8518
- interface InstallForm {
8519
- readonly 'token': string;
8560
+ interface CheckoutBehaviorCustomerInfo {
8561
+ readonly 'email': io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfoEmail;
8520
8562
  }
8521
8563
 
8522
- interface OrderSubmissionForm {
8523
- readonly 'authorization'?: io.flow.payment.v0.unions.AuthorizationForm;
8564
+ interface CheckoutBehaviorCustomerInfoEmail {
8565
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
8524
8566
  }
8525
8567
 
8526
- interface Shop {
8527
- readonly 'id': string;
8528
- readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
8529
- readonly 'myshopify_domain': string;
8530
- readonly 'domain'?: string;
8568
+ interface CheckoutBehaviorShippingAddress {
8569
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
8531
8570
  }
8532
8571
 
8533
- interface ShopForm {
8534
- readonly 'organization_id': string;
8572
+ interface CheckoutBehaviorShippingMethod {
8573
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutShippingMethodPromptBehavior;
8535
8574
  }
8536
8575
 
8537
- interface ShopVersion {
8576
+ interface CheckoutConfiguration {
8538
8577
  readonly 'id': string;
8539
- readonly 'timestamp': string;
8540
- readonly 'type': io.flow.common.v0.enums.ChangeType;
8541
- readonly 'shop': io.flow.shopify.internal.v0.models.Shop;
8578
+ readonly 'behavior': io.flow.checkout.configuration.v0.models.CheckoutBehavior;
8579
+ readonly 'settings': io.flow.checkout.configuration.v0.models.CheckoutSettings;
8580
+ readonly 'analytics'?: io.flow.checkout.configuration.v0.models.CheckoutAnalytics;
8581
+ readonly 'domain'?: string;
8542
8582
  }
8543
8583
 
8544
- interface ShopifyCheckInventoryError {
8545
- readonly 'code': io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
8546
- readonly 'messages': string[];
8547
- readonly 'numbers'?: string[];
8584
+ interface CheckoutConfigurationReference {
8585
+ readonly 'id': string;
8548
8586
  }
8549
8587
 
8550
- interface ShopifyCodeForm {
8551
- readonly 'code': string;
8588
+ interface CheckoutSettings {
8589
+ readonly 'session_persistence_timeout'?: io.flow.common.v0.models.Duration;
8590
+ readonly 'session_persistence_attribute_keys'?: string[];
8552
8591
  }
8553
8592
 
8554
- interface ShopifyExperienceShortId {
8555
- readonly 'id': string;
8556
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8557
- readonly 'short_id': string;
8593
+ interface FacebookPixel {
8594
+ readonly 'discriminator': 'facebook_pixel';
8595
+ readonly 'name'?: string;
8596
+ readonly 'tracker_id': string;
8558
8597
  }
8559
8598
 
8560
- interface ShopifyGiftCardBalance {
8561
- readonly 'gift_card_id': number;
8562
- readonly 'last_characters': string;
8563
- readonly 'amount': number;
8564
- readonly 'currency': string;
8599
+ interface GoogleAnalytics {
8600
+ readonly 'discriminator': 'google_analytics';
8601
+ readonly 'name'?: string;
8602
+ readonly 'tracker_id': string;
8603
+ readonly 'plugins': io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
8565
8604
  }
8566
8605
 
8567
- interface ShopifyGiftCardBalanceForm {
8568
- readonly 'number': string;
8606
+ interface GoogleGlobalSiteTag {
8607
+ readonly 'discriminator': 'google_global_site_tag';
8608
+ readonly 'name'?: string;
8609
+ readonly 'tracker_id': string;
8569
8610
  }
8570
8611
 
8571
- interface ShopifyGiftCardPaymentForm {
8572
- readonly 'code': string;
8573
- readonly 'customer_id'?: number;
8612
+ interface SnapchatPixel {
8613
+ readonly 'discriminator': 'snapchat_pixel';
8614
+ readonly 'name'?: string;
8615
+ readonly 'tracker_id': string;
8574
8616
  }
8617
+ }
8575
8618
 
8576
- interface ShopifyGiftCardRedemption {
8577
- readonly 'adjustment_id': number;
8578
- readonly 'gift_card_id': number;
8579
- readonly 'last_characters': string;
8580
- readonly 'amount': number;
8581
- readonly 'currency': string;
8619
+ declare namespace io.flow.checkout.configuration.v0.unions {
8620
+ type Tracker = (io.flow.checkout.configuration.v0.models.GoogleAnalytics | io.flow.checkout.configuration.v0.models.GoogleGlobalSiteTag | io.flow.checkout.configuration.v0.models.FacebookPixel | io.flow.checkout.configuration.v0.models.SnapchatPixel);
8621
+ }
8622
+
8623
+ declare namespace io.flow.flexe.v0.enums {
8624
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
8625
+ type FlexeNotification = 'receipt' | 'shipment';
8626
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
8627
+ type FlexeStatus = 'in_transit' | 'completed';
8628
+ }
8629
+
8630
+ declare namespace io.flow.flexe.v0.models {
8631
+ interface BillOfLading {
8632
+ readonly 'type': string;
8633
+ readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
8582
8634
  }
8583
8635
 
8584
- interface ShopifyGiftCardRedemptionForm {
8585
- readonly 'number': string;
8586
- readonly 'amount': number;
8587
- readonly 'currency': string;
8636
+ interface BillTo {
8637
+ readonly 'name': string;
8638
+ readonly 'address_1': string;
8639
+ readonly 'locality': string;
8640
+ readonly 'region': string;
8641
+ readonly 'postal_code': string;
8642
+ readonly 'country': string;
8643
+ readonly 'address_2'?: string;
8644
+ readonly 'address_3'?: string;
8588
8645
  }
8589
8646
 
8590
- interface ShopifyGiftCardReversal {
8591
- readonly 'adjustment_id': number;
8592
- readonly 'gift_card_id': number;
8593
- readonly 'last_characters': string;
8594
- readonly 'amount': number;
8595
- readonly 'currency': string;
8647
+ interface CartonPickDeliveryDetails {
8648
+ readonly 'shipment_uuid'?: string;
8649
+ readonly 'carrier'?: string;
8650
+ readonly 'carrier_id'?: string;
8596
8651
  }
8597
8652
 
8598
- interface ShopifyGiftCardReversalForm {
8599
- readonly 'number': string;
8600
- readonly 'amount': number;
8601
- readonly 'currency': string;
8653
+ interface ContainerDeliveryDetails {
8654
+ readonly 'purchase_order': string;
8655
+ readonly 'container_number'?: string;
8656
+ readonly 'seal_number'?: string;
8657
+ readonly 'vendor'?: string;
8658
+ readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8659
+ readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8660
+ readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8661
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
8602
8662
  }
8603
8663
 
8604
- interface ShopifyGrantsCheck {
8605
- readonly 'dummy': string;
8664
+ interface DeliveryDetails {
8665
+ readonly 'shipment_uuid'?: string;
8666
+ readonly 'trailer_number'?: string;
8667
+ readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
8668
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
8606
8669
  }
8607
8670
 
8608
- interface ShopifyOrderAuthorization {
8609
- readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
8610
- readonly 'detail'?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
8611
- readonly 'redirect'?: string;
8671
+ interface Error {
8672
+ readonly 'url': string;
8673
+ readonly 'client_request_id': string;
8674
+ readonly 'generated_at': string;
8675
+ readonly 'error': string;
8612
8676
  }
8613
8677
 
8614
- interface ShopifyOrderContent {
8615
- readonly 'lines': io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
8616
- readonly 'discounts': io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
8678
+ interface FlexeAttachment {
8679
+ readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
8680
+ readonly 'display_name': string;
8681
+ readonly 'url': string;
8617
8682
  }
8618
8683
 
8619
- interface ShopifyOrderDetail {
8620
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8621
- readonly 'number': string;
8622
- readonly 'order': io.flow.experience.v0.models.Order;
8623
- readonly 'payments': io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
8624
- readonly 'contents': io.flow.shopify.internal.v0.models.ShopifyOrderContent;
8684
+ interface FlexeEcommerceFulfillment {
8685
+ readonly 'url': string;
8686
+ readonly 'client_request_id': string;
8687
+ readonly 'generated_at': string;
8688
+ readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
8689
+ readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
8625
8690
  }
8626
8691
 
8627
- interface ShopifyOrderDiscountContent {
8628
- readonly 'description': string;
8629
- readonly 'code'?: string;
8692
+ interface FlexeEcommerceFulfillmentData {
8693
+ readonly 'import_id': string;
8694
+ readonly 'succeeded_uuids': string[];
8695
+ readonly 'failed_uuids': string[];
8696
+ readonly 'errors': string[];
8630
8697
  }
8631
8698
 
8632
- interface ShopifyOrderInventoryCheck {
8633
- readonly 'item_number': string;
8634
- readonly 'quantity': number;
8699
+ interface FlexeEcommerceFulfillmentErrors {
8700
+ readonly 'status': string;
8701
+ readonly 'title': string;
8702
+ readonly 'detail': string;
8703
+ readonly 'source'?: string;
8635
8704
  }
8636
8705
 
8637
- interface ShopifyOrderLineAttribute {
8638
- readonly 'key': string;
8639
- readonly 'name': string;
8640
- readonly 'value': string;
8706
+ interface FlexeEcommerceFulfillmentForm {
8707
+ readonly 'reservation_id': number;
8708
+ readonly 'client_request_id': string;
8709
+ readonly 'request': io.flow.flexe.v0.models.Orders;
8641
8710
  }
8642
8711
 
8643
- interface ShopifyOrderLineContent {
8644
- readonly 'item_number': string;
8645
- readonly 'quantity': number;
8646
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
8647
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
8648
- readonly 'name': string;
8649
- readonly 'image_url': string;
8650
- readonly 'variant_url': string;
8651
- readonly 'attributes': io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
8712
+ interface FlexeInventoryData {
8713
+ readonly 'sku': string;
8714
+ readonly 'quantity': string;
8715
+ readonly 'unit': string;
8652
8716
  }
8653
8717
 
8654
- interface ShopifyPaymentSummary {
8655
- readonly 'description': string;
8656
- readonly 'address'?: io.flow.common.v0.models.Address;
8657
- readonly 'contact'?: io.flow.common.v0.models.Contact;
8718
+ interface FlexeRetailAttachment {
8719
+ readonly 'display_name': string;
8720
+ readonly 'url': string;
8658
8721
  }
8659
8722
 
8660
- interface ShopifyPromoForm {
8661
- readonly 'name': string;
8662
- readonly 'starts_at': string;
8663
- readonly 'ends_at'?: string;
8664
- readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8665
- readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8666
- readonly 'stackable_limit'?: number;
8723
+ interface FlexeRetailFulfillment {
8724
+ readonly 'url': string;
8725
+ readonly 'client_request_id': string;
8726
+ readonly 'generated_at': string;
8727
+ readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
8728
+ readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
8667
8729
  }
8668
8730
 
8669
- interface ShopifyPromotion {
8670
- readonly 'id': string;
8671
- readonly 'name': string;
8672
- readonly 'starts_at': string;
8673
- readonly 'ends_at'?: string;
8674
- readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8675
- readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8676
- readonly 'stackable_limit'?: number;
8731
+ interface FlexeRetailFulfillmentData {
8732
+ readonly 'id': string;
8733
+ readonly 'purchase_order_uuid': string;
8734
+ readonly 'status': string;
8677
8735
  }
8678
8736
 
8679
- interface ShopifyPromotionAttributeValue {
8680
- readonly 'name': string;
8681
- readonly 'discount': io.flow.common.v0.models.Money;
8737
+ interface FlexeRetailFulfillmentErrors {
8738
+ readonly 'type': string;
8739
+ readonly 'message': string;
8682
8740
  }
8683
8741
 
8684
- interface ShopifyPromotionFixedAmount {
8685
- readonly 'discriminator': 'shopify_promotion_fixed_amount';
8686
- readonly 'amount': number;
8687
- readonly 'currency': string;
8742
+ interface FlexeRetailFulfillmentForm {
8743
+ readonly 'reservation_id': number;
8744
+ readonly 'client_request_id'?: string;
8745
+ readonly 'request': io.flow.flexe.v0.models.RetailOrder;
8688
8746
  }
8689
8747
 
8690
- interface ShopifyPromotionForm {
8691
- readonly 'code': string;
8748
+ interface FulfillmentOrderDetails {
8749
+ readonly 'shipment_uuid': string;
8750
+ readonly 'carrier'?: string;
8751
+ readonly 'carrier_id'?: string;
8692
8752
  }
8693
8753
 
8694
- interface ShopifyPromotionItemEntitlement {
8695
- readonly 'discriminator': 'shopify_promotion_item_entitlement';
8696
- readonly 'q': string;
8697
- readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8754
+ interface Gs1Us {
8755
+ readonly 'number': string;
8756
+ readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
8757
+ readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
8698
8758
  }
8699
8759
 
8700
- interface ShopifyPromotionItemPrerequisite {
8701
- readonly 'discriminator': 'shopify_promotion_item_prerequisite';
8702
- readonly 'q': string;
8703
- readonly 'at_least'?: number;
8704
- readonly 'at_most'?: number;
8705
- readonly 'exclude_from_offer'?: boolean;
8760
+ interface Gs1UsShipTo {
8761
+ readonly 'cid_number'?: string;
8762
+ readonly 'location_number'?: string;
8763
+ readonly 'free_on_board'?: boolean;
8706
8764
  }
8707
8765
 
8708
- interface ShopifyPromotionMaxAmount {
8709
- readonly 'discriminator': 'shopify_promotion_max_amount';
8710
- readonly 'amount': number;
8711
- readonly 'currency': string;
8766
+ interface Inventory {
8767
+ readonly 'url': string;
8768
+ readonly 'client_request_id': string;
8769
+ readonly 'generated_at': string;
8770
+ readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
8712
8771
  }
8713
8772
 
8714
- interface ShopifyPromotionMaxLimit {
8715
- readonly 'discriminator': 'shopify_promotion_max_limit';
8716
- readonly 'limit': number;
8773
+ interface InventoryCount {
8774
+ readonly 'amount': number;
8775
+ readonly 'unit': string;
8717
8776
  }
8718
8777
 
8719
- interface ShopifyPromotionOffer {
8720
- readonly 'discount': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
8721
- readonly 'entitlement': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
8722
- readonly 'max'?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
8778
+ interface InventoryData {
8779
+ readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
8780
+ readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
8781
+ readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
8723
8782
  }
8724
8783
 
8725
- interface ShopifyPromotionOrderEntitlement {
8726
- readonly 'discriminator': 'shopify_promotion_order_entitlement';
8727
- readonly 'components': io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
8728
- readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8784
+ interface InventoryDetails {
8785
+ readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
8729
8786
  }
8730
8787
 
8731
- interface ShopifyPromotionOrderPrerequisite {
8732
- readonly 'discriminator': 'shopify_promotion_order_prerequisite';
8733
- readonly 'q': string;
8788
+ interface LadingQuantity {
8789
+ readonly 'num_pallets': number;
8734
8790
  }
8735
8791
 
8736
- interface ShopifyPromotionPercent {
8737
- readonly 'discriminator': 'shopify_promotion_percent';
8738
- readonly 'percent': number;
8792
+ interface Order {
8793
+ readonly 'shipment_uuid': string;
8794
+ readonly 'purchase_order': string;
8795
+ readonly 'carrier': string;
8796
+ readonly 'service_type': string;
8797
+ readonly 'carrier_assigned_id': string;
8798
+ readonly 'name': string;
8799
+ readonly 'address_1': string;
8800
+ readonly 'address_2'?: string;
8801
+ readonly 'address_3'?: string;
8802
+ readonly 'city': string;
8803
+ readonly 'state': string;
8804
+ readonly 'postal_code': string;
8805
+ readonly 'phone'?: string;
8806
+ readonly 'instructions'?: string;
8807
+ readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
8808
+ readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
8739
8809
  }
8740
8810
 
8741
- interface ShopifyPromotionRule {
8742
- readonly 'prerequisites': io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
8743
- readonly 'offers': io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
8811
+ interface Orders {
8812
+ readonly 'orders': io.flow.flexe.v0.models.Order[];
8744
8813
  }
8745
8814
 
8746
- interface ShopifyWebhook {
8747
- readonly 'id': string;
8748
- readonly 'shop_id': string;
8749
- readonly 'address': string;
8750
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8815
+ interface Pallet {
8816
+ readonly 'pallet_id': string;
8817
+ readonly 'sku': string;
8818
+ readonly 'quantity': number;
8819
+ readonly 'packaging': string;
8751
8820
  }
8752
8821
 
8753
- interface ShopifyWebhookEvent {
8754
- readonly 'dummy': string;
8822
+ interface PurchaseOrder {
8823
+ readonly 'retail_fulfillment_order_id': string;
8824
+ readonly 'bill_of_lading_number': string;
8825
+ readonly 'purchase_order_uuid': string;
8826
+ readonly 'pickup_window_start': string;
8827
+ readonly 'pickup_window_end': string;
8828
+ readonly 'tags': string[];
8755
8829
  }
8756
8830
 
8757
- interface ShopifyWebhookForm {
8758
- readonly 'myshopify_domain': string;
8759
- readonly 'address': string;
8760
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8831
+ interface QuantityByInventory {
8832
+ readonly 'received': io.flow.flexe.v0.models.InventoryData;
8833
+ readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
8834
+ readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
8761
8835
  }
8762
- }
8763
8836
 
8764
- declare namespace io.flow.shopify.internal.v0.unions {
8765
- type ShopifyPromotionOfferDiscount = (io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent);
8766
- type ShopifyPromotionOfferEntitlement = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement);
8767
- type ShopifyPromotionOfferMax = (io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount);
8768
- type ShopifyPromotionPrerequisite = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite);
8769
- }
8837
+ interface ReceiptNotification {
8838
+ readonly 'shipment_id': string;
8839
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
8840
+ readonly 'reservation_id': string;
8841
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
8842
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
8843
+ readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
8844
+ }
8770
8845
 
8771
- declare namespace io.flow.ftp.v0.enums {
8772
- type FtpFileSource = 'flow' | 'organization';
8773
- }
8846
+ interface RetailFulfillmentOrderDetails {
8847
+ readonly 'master_bill_of_lading_number': string;
8848
+ readonly 'scac': string;
8849
+ readonly 'pro_number': string;
8850
+ readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
8851
+ readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
8852
+ }
8774
8853
 
8775
- declare namespace io.flow.ftp.v0.models {
8776
- interface FtpAccount {
8777
- readonly 'server': io.flow.ftp.v0.models.FtpServer;
8778
- readonly 'user': io.flow.ftp.v0.models.FtpUser;
8854
+ interface RetailInventoryData {
8855
+ readonly 'sku': string;
8856
+ readonly 'quantity': number;
8857
+ readonly 'unit': string;
8858
+ readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
8779
8859
  }
8780
8860
 
8781
- interface FtpFile {
8782
- readonly 'id': string;
8783
- readonly 'source': io.flow.ftp.v0.enums.FtpFileSource;
8784
- readonly 'name': string;
8785
- readonly 'directory': string;
8786
- readonly 'url': string;
8787
- readonly 'created_at': string;
8861
+ interface RetailOrder {
8862
+ readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
8788
8863
  }
8789
8864
 
8790
- interface FtpFileForm {
8791
- readonly 'url': string;
8792
- readonly 'directory': string;
8793
- readonly 'name'?: string;
8865
+ interface RetailOrderData {
8866
+ readonly 'purchase_order_uuid': string;
8867
+ readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
8868
+ readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
8869
+ readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
8870
+ readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
8871
+ readonly 'build_by'?: string;
8872
+ readonly 'instrunctions'?: string;
8873
+ readonly 'routing_details_id'?: string;
8874
+ readonly 'destination_type'?: string;
8794
8875
  }
8795
8876
 
8796
- interface FtpFolder {
8797
- readonly 'id': string;
8798
- readonly 'path': string;
8799
- readonly 'webhook': boolean;
8800
- readonly 'description'?: string;
8877
+ interface ShipTo {
8878
+ readonly 'name': string;
8879
+ readonly 'address_1': string;
8880
+ readonly 'locality': string;
8881
+ readonly 'region': string;
8882
+ readonly 'postal_code': string;
8883
+ readonly 'country': string;
8884
+ readonly 'address_2'?: string;
8885
+ readonly 'address_3'?: string;
8801
8886
  }
8802
8887
 
8803
- interface FtpFolderForm {
8804
- readonly 'path': string;
8805
- readonly 'webhook': boolean;
8806
- readonly 'description'?: string;
8888
+ interface ShipWithin {
8889
+ readonly 'start': string;
8890
+ readonly 'end': string;
8807
8891
  }
8808
8892
 
8809
- interface FtpOrganizationSettings {
8810
- readonly 'enabled': boolean;
8811
- readonly 'emails': string[];
8812
- readonly 'account'?: io.flow.ftp.v0.models.FtpAccount;
8893
+ interface ShipmentDeliveryDetails {
8894
+ readonly 'shipment_uuid'?: string;
8813
8895
  }
8814
8896
 
8815
- interface FtpOrganizationSettingsForm {
8816
- readonly 'enabled': boolean;
8817
- readonly 'emails': string[];
8897
+ interface ShipmentNotification {
8898
+ readonly 'shipment_id': string;
8899
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
8900
+ readonly 'reservation_id': string;
8901
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
8902
+ readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
8903
+ readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
8904
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
8905
+ readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
8818
8906
  }
8819
8907
 
8820
- interface FtpServer {
8821
- readonly 'hostname': string;
8908
+ interface Sku {
8909
+ readonly 'sku': string;
8910
+ readonly 'description': string;
8911
+ readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
8822
8912
  }
8823
8913
 
8824
- interface FtpUser {
8825
- readonly 'username': string;
8826
- readonly 'password'?: string;
8914
+ interface SkuSummary {
8915
+ readonly 'key': string;
8916
+ readonly 'quantity': number;
8917
+ readonly 'unit': string;
8827
8918
  }
8828
8919
  }
8829
8920
 
@@ -10512,6 +10603,12 @@ declare namespace io.flow.adyen.v0.models {
10512
10603
  readonly 'threeds2.threeDS2ResponseData.messageVersion': string;
10513
10604
  }
10514
10605
 
10606
+ interface ChargebackNotificationAdditionalData {
10607
+ readonly 'chargebackReasonCode': string;
10608
+ readonly 'modificationMerchantReferences': string;
10609
+ readonly 'chargebackSchemeCode': string;
10610
+ }
10611
+
10515
10612
  interface Error {
10516
10613
  readonly 'status': number;
10517
10614
  readonly 'errorCode': string;
@@ -10641,6 +10738,12 @@ declare namespace io.flow.adyen.v0.models {
10641
10738
  readonly 'MD'?: string;
10642
10739
  }
10643
10740
 
10741
+ interface RequestForInformationAdditionalData {
10742
+ readonly 'rfiSchemeCode': string;
10743
+ readonly 'modificationMerchantReferences': string;
10744
+ readonly 'rfiReasonCode': string;
10745
+ }
10746
+
10644
10747
  interface Scheme {
10645
10748
  readonly 'type': 'scheme';
10646
10749
  readonly 'expiryMonth': string;
@@ -12076,6 +12179,11 @@ declare namespace io.flow.internal.v0.models {
12076
12179
  readonly 'number': string;
12077
12180
  }
12078
12181
 
12182
+ interface AllowedLabels {
12183
+ readonly 'name': string;
12184
+ readonly 'labels': Record<string, string[]>;
12185
+ }
12186
+
12079
12187
  interface ApmContent {
12080
12188
  readonly 'processor_description': io.flow.internal.v0.unions.ContentItem;
12081
12189
  }
@@ -12619,7 +12727,7 @@ declare namespace io.flow.internal.v0.models {
12619
12727
  readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
12620
12728
  readonly 'addresses': io.flow.experience.v0.models.AddressConfiguration[];
12621
12729
  readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
12622
- readonly 'configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12730
+ readonly 'configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12623
12731
  readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
12624
12732
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
12625
12733
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -12667,7 +12775,7 @@ declare namespace io.flow.internal.v0.models {
12667
12775
  readonly 'provinces': io.flow.reference.v0.models.Province[];
12668
12776
  readonly 'checkout_items': io.flow.experience.v0.models.CheckoutItemContent[];
12669
12777
  readonly 'metadata'?: io.flow.internal.v0.models.CheckoutBundleMetadata;
12670
- readonly 'configuration'?: unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12778
+ readonly 'configuration'?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12671
12779
  readonly 'address_configurations'?: io.flow.experience.v0.models.AddressConfiguration[];
12672
12780
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
12673
12781
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -12692,7 +12800,7 @@ declare namespace io.flow.internal.v0.models {
12692
12800
  readonly 'event_id': string;
12693
12801
  readonly 'timestamp': string;
12694
12802
  readonly 'organization': string;
12695
- readonly 'checkout_configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12803
+ readonly 'checkout_configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12696
12804
  }
12697
12805
 
12698
12806
  interface CheckoutConfigurationReference {
@@ -12704,7 +12812,7 @@ declare namespace io.flow.internal.v0.models {
12704
12812
  readonly 'event_id': string;
12705
12813
  readonly 'timestamp': string;
12706
12814
  readonly 'organization': string;
12707
- readonly 'checkout_configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12815
+ readonly 'checkout_configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12708
12816
  }
12709
12817
 
12710
12818
  interface CheckoutContent {
@@ -14363,6 +14471,18 @@ declare namespace io.flow.internal.v0.models {
14363
14471
  readonly 'value': string;
14364
14472
  }
14365
14473
 
14474
+ interface LabelAliases {
14475
+ readonly 'name': string;
14476
+ readonly 'aliases': string[];
14477
+ }
14478
+
14479
+ interface LabelAssociation {
14480
+ readonly 'items': Record<string, string[]>;
14481
+ readonly 'genders': Record<string, string[]>;
14482
+ readonly 'materials': Record<string, string[]>;
14483
+ readonly 'constructions': Record<string, string[]>;
14484
+ }
14485
+
14366
14486
  interface LabelSummary {
14367
14487
  readonly 'commercial_invoice'?: string;
14368
14488
  readonly 'pdf'?: string;
@@ -15716,6 +15836,11 @@ declare namespace io.flow.internal.v0.models {
15716
15836
  readonly 'withholdings': io.flow.internal.v0.models.Components;
15717
15837
  readonly 'parent_transaction_id'?: string;
15718
15838
  readonly 'order'?: io.flow.internal.v0.models.BillingOrderSummary;
15839
+ readonly 'spot_rate': number;
15840
+ readonly 'flow_rate': number;
15841
+ readonly 'organization_rate': number;
15842
+ readonly 'flow_margin': number;
15843
+ readonly 'organization_margin': number;
15719
15844
  }
15720
15845
 
15721
15846
  interface ProcessingTransactionDeleted {
@@ -16632,7 +16757,7 @@ declare namespace io.flow.internal.v0.models {
16632
16757
 
16633
16758
  interface SupportedLabels {
16634
16759
  readonly 'discriminator': 'supported_labels';
16635
- readonly 'values': string[];
16760
+ readonly 'values': io.flow.internal.v0.models.LabelAliases[];
16636
16761
  }
16637
16762
 
16638
16763
  interface SvbVirtualCardClearing {
@@ -17057,7 +17182,7 @@ declare namespace io.flow.internal.v0.unions {
17057
17182
  type TransactionSummary = (io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary);
17058
17183
  type ValidationRule = (io.flow.internal.v0.models.ValidationCharacterLength);
17059
17184
  type Variant = (io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant);
17060
- type VariantForm = (io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm);
17185
+ type VariantForm = (io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm);
17061
17186
  }
17062
17187
 
17063
17188
  export declare const addressConfigurationSettingProvinceCode: PropTypes.Requireable<io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode>;
@@ -17208,6 +17333,7 @@ export declare const alertFailureSummaryDetail: PropTypes.Requireable<io.flow.in
17208
17333
  export declare const alertRequeueSummary: PropTypes.Requireable<io.flow.internal.v0.models.AlertRequeueSummary>;
17209
17334
  export declare const allItemsExport: PropTypes.Requireable<io.flow.internal.v0.models.AllItemsExport>;
17210
17335
  export declare const allocationItemReference: PropTypes.Requireable<io.flow.internal.v0.models.AllocationItemReference>;
17336
+ export declare const allowedLabels: PropTypes.Requireable<io.flow.internal.v0.models.AllowedLabels>;
17211
17337
  export declare const apmContent: PropTypes.Requireable<io.flow.internal.v0.models.ApmContent>;
17212
17338
  export declare const applePaymentToken: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentToken>;
17213
17339
  export declare const applePaymentTokenHeader: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentTokenHeader>;
@@ -17533,6 +17659,8 @@ export declare const itemsShipped: PropTypes.Requireable<io.flow.internal.v0.mod
17533
17659
  export declare const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
17534
17660
  export declare const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
17535
17661
  export declare const label: PropTypes.Requireable<io.flow.internal.v0.models.Label>;
17662
+ export declare const labelAliases: PropTypes.Requireable<io.flow.internal.v0.models.LabelAliases>;
17663
+ export declare const labelAssociation: PropTypes.Requireable<io.flow.internal.v0.models.LabelAssociation>;
17536
17664
  export declare const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
17537
17665
  export declare const labelTaxonomy: PropTypes.Requireable<io.flow.internal.v0.models.LabelTaxonomy>;
17538
17666
  export declare const labeledContent: PropTypes.Requireable<io.flow.internal.v0.models.LabeledContent>;