@flowio/types 11.11.0 → 11.12.1

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.
@@ -365,6 +365,8 @@ declare namespace io.flow.experience.v0.models {
365
365
  readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
366
366
  readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
367
367
  readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
368
+ readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
369
+ readonly postal_type?: io.flow.reference.v0.enums.PostalType;
368
370
  }
369
371
 
370
372
  interface AddressConfigurationFieldPlacement {
@@ -1313,1269 +1315,1380 @@ declare namespace io.flow.experience.v0.unions {
1313
1315
  | io.flow.experience.v0.models.Discount;
1314
1316
  }
1315
1317
 
1316
- declare namespace io.flow.reference.v0.enums {
1317
- type PaymentMethodCapability = 'credit' | 'debit';
1318
- type PaymentMethodType = 'card' | 'online' | 'offline';
1319
- type ProvinceType =
1320
- | 'city'
1321
- | 'dependency'
1322
- | 'district'
1323
- | 'emirate'
1324
- | 'entity'
1325
- | 'municipality'
1326
- | 'outlying_area'
1327
- | 'parish'
1328
- | 'province'
1329
- | 'state'
1330
- | 'territory'
1318
+ declare namespace io.flow.shopify.xborder.v0.enums {
1319
+ type ShopifyOrderCancelReason =
1320
+ | 'customer'
1321
+ | 'fraud'
1322
+ | 'inventory'
1323
+ | 'declined'
1331
1324
  | 'other';
1325
+ type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
1326
+ type ShopifyOrderDiscountApplicationTargetSelection =
1327
+ | 'all'
1328
+ | 'entitled'
1329
+ | 'explicit';
1330
+ type ShopifyOrderDiscountApplicationTargetType =
1331
+ | 'line_item'
1332
+ | 'shipping_line';
1333
+ type ShopifyOrderDiscountApplicationType =
1334
+ | 'automatic'
1335
+ | 'discount_code'
1336
+ | 'manual'
1337
+ | 'script';
1338
+ type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
1339
+ type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
1340
+ type ShopifyOrderFinancialStatusType =
1341
+ | 'pending'
1342
+ | 'authorized'
1343
+ | 'partially_paid'
1344
+ | 'paid'
1345
+ | 'partially_refunded'
1346
+ | 'refunded'
1347
+ | 'voided';
1348
+ type ShopifyOrderFulfillmentShipmentStatus =
1349
+ | 'label_printed'
1350
+ | 'label_purchased'
1351
+ | 'attempted_delivery'
1352
+ | 'ready_for_pickup'
1353
+ | 'confirmed'
1354
+ | 'in_transit'
1355
+ | 'out_for_delivery'
1356
+ | 'delivered'
1357
+ | 'failure';
1358
+ type ShopifyOrderFulfillmentStatus =
1359
+ | 'pending'
1360
+ | 'open'
1361
+ | 'success'
1362
+ | 'cancelled'
1363
+ | 'error'
1364
+ | 'failure';
1365
+ type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1366
+ type ShopifyOrderInventoryBehaviour =
1367
+ | 'bypass'
1368
+ | 'decrement_ignoring_policy'
1369
+ | 'decrement_obeying_policy';
1370
+ type ShopifyOrderKindType =
1371
+ | 'authorization'
1372
+ | 'capture'
1373
+ | 'sale'
1374
+ | 'void'
1375
+ | 'refund';
1376
+ type ShopifyOrderProcessingMethodType =
1377
+ | 'checkout'
1378
+ | 'direct'
1379
+ | 'manual'
1380
+ | 'offsite'
1381
+ | 'express';
1382
+ type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
1383
+ type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
1384
+ type ShopifyOrderTransactionErrorCode =
1385
+ | 'incorrect_number'
1386
+ | 'invalid_number'
1387
+ | 'invalid_expiry_date'
1388
+ | 'invalid_cvc'
1389
+ | 'expired_card'
1390
+ | 'incorrect_cvc'
1391
+ | 'incorrect_zip'
1392
+ | 'incorrect_address'
1393
+ | 'card_declined'
1394
+ | 'processing_error'
1395
+ | 'call_issuer'
1396
+ | 'pick_up_card';
1397
+ type ShopifyOrderTransactionStatus =
1398
+ | 'pending'
1399
+ | 'failure'
1400
+ | 'success'
1401
+ | 'error';
1402
+ type ShopifyOrderValueType = 'string' | 'integer';
1403
+ type ShopifyWebhookFormat = 'json' | 'xml';
1404
+ type ShopifyWebhookTopic =
1405
+ | 'orders/cancelled'
1406
+ | 'orders/create'
1407
+ | 'orders/fulfilled'
1408
+ | 'orders/paid'
1409
+ | 'orders/partially_fulfilled'
1410
+ | 'orders/updated'
1411
+ | 'orders/delete'
1412
+ | 'orders/edited'
1413
+ | 'refunds/create'
1414
+ | 'fulfillment_events/create'
1415
+ | 'fulfillment_events/delete'
1416
+ | 'themes/update';
1332
1417
  }
1333
1418
 
1334
- declare namespace io.flow.reference.v0.models {
1335
- interface Carrier {
1336
- readonly id: string;
1337
- readonly name: string;
1338
- readonly tracking_url: string;
1339
- }
1340
-
1341
- interface CarrierService {
1342
- readonly id: string;
1343
- readonly carrier: io.flow.reference.v0.models.Carrier;
1419
+ declare namespace io.flow.shopify.xborder.v0.models {
1420
+ interface ShopifyOrder {
1421
+ readonly id: number;
1422
+ readonly order_number: number;
1423
+ readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1424
+ readonly browser_ip?: string;
1425
+ readonly buyer_accepts_marketing: boolean;
1426
+ readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
1427
+ readonly cancelled_at?: string;
1428
+ readonly cart_token?: string;
1429
+ readonly client_details: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
1430
+ readonly closed_at?: string;
1431
+ readonly created_at: string;
1432
+ readonly currency: string;
1433
+ readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1434
+ readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1435
+ readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1436
+ readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1437
+ readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1438
+ readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1439
+ readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1440
+ readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1441
+ readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1442
+ readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1443
+ readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1444
+ readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1445
+ readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
1446
+ readonly customer_locale?: string;
1447
+ readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
1448
+ readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
1449
+ readonly email?: string;
1450
+ readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
1451
+ readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
1452
+ readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1453
+ readonly landing_site?: string;
1454
+ readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1455
+ readonly location_id?: number;
1344
1456
  readonly name: string;
1457
+ readonly note?: string;
1458
+ readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
1459
+ readonly number?: number;
1460
+ readonly payment_gateway_names: string[];
1461
+ readonly processed_at?: string;
1462
+ readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
1463
+ readonly referring_site?: string;
1464
+ readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
1465
+ readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1466
+ readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
1467
+ readonly source_name?: string;
1468
+ readonly tags?: string;
1469
+ readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1470
+ readonly taxes_included: boolean;
1471
+ readonly token?: string;
1472
+ readonly total_weight?: number;
1473
+ readonly updated_at?: string;
1474
+ readonly user_id?: number;
1475
+ readonly order_status_url?: string;
1476
+ readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1477
+ readonly gateway?: string;
1478
+ readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1479
+ readonly send_receipt?: boolean;
1480
+ readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
1345
1481
  }
1346
1482
 
1347
- interface Country {
1348
- readonly name: string;
1349
- readonly iso_3166_2: string;
1350
- readonly iso_3166_3: string;
1351
- readonly languages: string[];
1352
- readonly measurement_system: string;
1353
- readonly default_currency?: string;
1354
- readonly default_language?: string;
1355
- readonly timezones: string[];
1356
- readonly default_delivered_duty?: string;
1483
+ interface ShopifyOrderAddress {
1484
+ readonly id?: number;
1485
+ readonly address1?: string;
1486
+ readonly address2?: string;
1487
+ readonly city?: string;
1488
+ readonly company?: string;
1489
+ readonly country?: string;
1490
+ readonly country_code?: string;
1491
+ readonly default?: boolean;
1492
+ readonly first_name?: string;
1493
+ readonly last_name?: string;
1494
+ readonly latitude?: number;
1495
+ readonly longitude?: number;
1496
+ readonly name?: string;
1497
+ readonly phone?: string;
1498
+ readonly province?: string;
1499
+ readonly province_code?: string;
1500
+ readonly zip?: string;
1357
1501
  }
1358
1502
 
1359
- interface Currency {
1503
+ interface ShopifyOrderAttribute {
1360
1504
  readonly name: string;
1361
- readonly iso_4217_3: string;
1362
- readonly number_decimals: number;
1363
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
1364
- readonly default_locale?: string;
1505
+ readonly value: string;
1365
1506
  }
1366
1507
 
1367
- interface CurrencySymbols {
1368
- readonly primary: string;
1369
- readonly narrow?: string;
1508
+ interface ShopifyOrderClientDetail {
1509
+ readonly accept_language?: string;
1510
+ readonly browser_height?: number;
1511
+ readonly browser_ip?: string;
1512
+ readonly browser_width?: number;
1513
+ readonly session_hash?: string;
1514
+ readonly user_agent?: string;
1370
1515
  }
1371
1516
 
1372
- interface Language {
1373
- readonly name: string;
1374
- readonly iso_639_2: string;
1517
+ interface ShopifyOrderCustomer {
1518
+ readonly id?: number;
1519
+ readonly email?: string;
1520
+ readonly accepts_marketing?: boolean;
1521
+ readonly created_at?: string;
1522
+ readonly updated_at?: string;
1523
+ readonly first_name?: string;
1524
+ readonly last_name?: string;
1525
+ readonly orders_count?: number;
1526
+ readonly state?: string;
1527
+ readonly total_spent?: string;
1528
+ readonly last_order_id?: number;
1529
+ readonly note?: string;
1530
+ readonly verified_email?: boolean;
1531
+ readonly multipass_identifier?: string;
1532
+ readonly tax_exempt?: boolean;
1533
+ readonly tax_exemptions?: any /*json*/[];
1534
+ readonly phone?: string;
1535
+ readonly tags?: string;
1536
+ readonly last_order_name?: string;
1537
+ readonly currency?: string;
1538
+ readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1539
+ readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1375
1540
  }
1376
1541
 
1377
- interface Locale {
1378
- readonly id: string;
1379
- readonly name: string;
1380
- readonly country: string;
1381
- readonly language: string;
1382
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
1542
+ interface ShopifyOrderDiscountAllocation {
1543
+ readonly amount: string;
1544
+ readonly discount_application_index: number;
1545
+ readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1383
1546
  }
1384
1547
 
1385
- interface LocaleNumbers {
1386
- readonly decimal: string;
1387
- readonly group: string;
1548
+ interface ShopifyOrderDiscountApplication {
1549
+ readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
1550
+ readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
1551
+ readonly code?: string;
1552
+ readonly description?: string;
1553
+ readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
1554
+ readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
1555
+ readonly title?: string;
1556
+ readonly value: string;
1557
+ readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
1388
1558
  }
1389
1559
 
1390
- interface LocalizedTranslation {
1391
- readonly locale: io.flow.reference.v0.models.Locale;
1392
- readonly name: string;
1560
+ interface ShopifyOrderDiscountCode {
1561
+ readonly amount: string;
1562
+ readonly code: string;
1563
+ readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
1393
1564
  }
1394
1565
 
1395
- interface PaymentMethod {
1566
+ interface ShopifyOrderDuty {
1396
1567
  readonly id: string;
1397
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
1398
- readonly name: string;
1399
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
1400
- readonly regions: string[];
1401
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
1402
- }
1403
-
1404
- interface PaymentMethodImage {
1405
- readonly url: string;
1406
- readonly width: number;
1407
- readonly height: number;
1568
+ readonly harmonized_system_code: string;
1569
+ readonly country_code_of_origin: string;
1570
+ readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1571
+ readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1572
+ readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1408
1573
  }
1409
1574
 
1410
- interface PaymentMethodImages {
1411
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
1412
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
1413
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
1414
- }
1415
-
1416
- interface Province {
1417
- readonly id: string;
1418
- readonly iso_3166_2: string;
1575
+ interface ShopifyOrderFulfillment {
1576
+ readonly created_at?: string;
1577
+ readonly id?: number;
1578
+ readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1579
+ readonly location_id: number;
1419
1580
  readonly name: string;
1420
- readonly country: string;
1421
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
1422
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
1581
+ readonly notify_customer?: boolean;
1582
+ readonly order_id?: number;
1583
+ readonly receipt?: any /*object*/;
1584
+ readonly service: string;
1585
+ readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
1586
+ readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
1587
+ readonly tracking_company?: string;
1588
+ readonly tracking_number?: string;
1589
+ readonly tracking_numbers?: string[];
1590
+ readonly tracking_urls?: string[];
1591
+ readonly updated_at?: string;
1592
+ readonly variant_inventory_management?: string;
1423
1593
  }
1424
1594
 
1425
- interface Region {
1426
- readonly id: string;
1427
- readonly name: string;
1428
- readonly countries: string[];
1429
- readonly currencies: string[];
1430
- readonly languages: string[];
1431
- readonly measurement_systems: string[];
1432
- readonly timezones: string[];
1595
+ interface ShopifyOrderLineItem {
1596
+ readonly fulfillable_quantity?: number;
1597
+ readonly fulfillment_service: string;
1598
+ readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1599
+ readonly grams?: number;
1600
+ readonly id: number;
1601
+ readonly price?: string;
1602
+ readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1603
+ readonly product_id?: number;
1604
+ readonly quantity: number;
1605
+ readonly requires_shipping: boolean;
1606
+ readonly sku?: string;
1607
+ readonly title?: string;
1608
+ readonly variant_id?: number;
1609
+ readonly variant_title?: string;
1610
+ readonly vendor?: string;
1611
+ readonly name?: string;
1612
+ readonly gift_card: boolean;
1613
+ readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
1614
+ readonly taxable: boolean;
1615
+ readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1616
+ readonly tip_payment_gateway?: string;
1617
+ readonly tip_payment_method?: string;
1618
+ readonly total_discount?: string;
1619
+ readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1620
+ readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
1621
+ readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
1622
+ readonly variant_inventory_management?: string;
1623
+ readonly product_exists?: boolean;
1624
+ readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
1433
1625
  }
1434
1626
 
1435
- interface Timezone {
1436
- readonly name: string;
1437
- readonly description: string;
1438
- readonly offset: number;
1627
+ interface ShopifyOrderMetafield {
1628
+ readonly id: number;
1629
+ readonly key: string;
1630
+ readonly namespace: string;
1631
+ readonly value: string;
1632
+ readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
1633
+ readonly description?: string;
1634
+ readonly owner_id: number;
1635
+ readonly owner_resource: string;
1439
1636
  }
1440
- }
1441
-
1442
- declare namespace io.flow.tracking.v0.enums {
1443
- type TrackingStatus =
1444
- | 'label_created'
1445
- | 'pending'
1446
- | 'info_received'
1447
- | 'picked_up'
1448
- | 'in_transit'
1449
- | 'out_for_delivery'
1450
- | 'attempt_fail'
1451
- | 'delivered'
1452
- | 'exception'
1453
- | 'returned'
1454
- | 'expired';
1455
- }
1456
1637
 
1457
- declare namespace io.flow.tracking.v0.models {
1458
- interface Tracking {
1459
- readonly id: string;
1460
- readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
1461
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1462
- readonly attributes: Record<string, string>;
1463
- readonly url: string;
1464
- readonly window?: io.flow.common.v0.models.DatetimeRange;
1465
- readonly order_number?: string;
1638
+ interface ShopifyOrderMetafieldForm {
1639
+ readonly key: string;
1640
+ readonly namespace: string;
1641
+ readonly value: string;
1642
+ readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
1643
+ readonly description?: string;
1466
1644
  }
1467
1645
 
1468
- interface TrackingEvent {
1469
- readonly id: string;
1470
- readonly address: io.flow.common.v0.models.Address;
1471
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1472
- readonly timestamp: string;
1473
- readonly description?: string;
1646
+ interface ShopifyOrderMoney {
1647
+ readonly amount: number;
1648
+ readonly currency_code: string;
1474
1649
  }
1475
1650
 
1476
- interface TrackingEventForm {
1477
- readonly tracking_label_id: string;
1478
- readonly timestamp: string;
1479
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1480
- readonly description?: string;
1481
- readonly address?: string;
1651
+ interface ShopifyOrderMoneySet {
1652
+ readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1653
+ readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1482
1654
  }
1483
1655
 
1484
- interface TrackingEventSummary {
1485
- readonly id: string;
1486
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1487
- readonly timestamp: string;
1656
+ interface ShopifyOrderOriginLocation {
1657
+ readonly id: number;
1658
+ readonly country_code: string;
1659
+ readonly province_code: string;
1660
+ readonly name: string;
1661
+ readonly address1: string;
1662
+ readonly address2: string;
1663
+ readonly city: string;
1664
+ readonly zip: string;
1488
1665
  }
1489
1666
 
1490
- interface TrackingEventVersion {
1491
- readonly id: string;
1492
- readonly timestamp: string;
1493
- readonly type: io.flow.common.v0.enums.ChangeType;
1494
- readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
1667
+ interface ShopifyOrderPaymentDetail {
1668
+ readonly avs_result_code?: string;
1669
+ readonly credit_card_bin?: string;
1670
+ readonly credit_card_company: string;
1671
+ readonly credit_card_number: string;
1672
+ readonly cvv_result_code?: string;
1495
1673
  }
1496
1674
 
1497
- interface TrackingForm {
1498
- readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
1499
- readonly order_number?: string;
1500
- readonly attributes?: Record<string, string>;
1501
- readonly window?: io.flow.common.v0.models.DatetimeRange;
1675
+ interface ShopifyOrderProperty {
1676
+ readonly name: string;
1677
+ readonly value: any /*json*/;
1502
1678
  }
1503
1679
 
1504
- interface TrackingLabel {
1505
- readonly id: string;
1506
- readonly carrier: string;
1507
- readonly carrier_tracking_number: string;
1508
- readonly events: io.flow.tracking.v0.models.TrackingEvent[];
1509
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1510
- readonly timestamp: string;
1511
- readonly delivery_estimate?: string;
1512
- readonly description?: string;
1680
+ interface ShopifyOrderRefund {
1681
+ readonly id: number;
1682
+ readonly order_id: number;
1683
+ readonly created_at: string;
1684
+ readonly processed_at: string;
1685
+ readonly note?: string;
1686
+ readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
1687
+ readonly restock?: boolean;
1688
+ readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1689
+ readonly user_id?: number;
1513
1690
  }
1514
1691
 
1515
- interface TrackingLabelForm {
1516
- readonly tracking_id: string;
1517
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1518
- readonly carrier: string;
1519
- readonly carrier_tracking_number: string;
1520
- readonly delivery_estimate?: string;
1521
- readonly description?: string;
1522
- readonly timestamp?: string;
1523
- readonly parent_id?: string;
1692
+ interface ShopifyOrderRefundLineItem {
1693
+ readonly id: number;
1694
+ readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
1695
+ readonly line_item_id: number;
1696
+ readonly quantity: number;
1697
+ readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
1698
+ readonly location_id?: number;
1699
+ readonly subtotal?: number;
1700
+ readonly total_tax?: number;
1524
1701
  }
1525
1702
 
1526
- interface TrackingLabelSummary {
1527
- readonly id: string;
1528
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
1529
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1530
- readonly carrier: string;
1531
- readonly tracking_number: string;
1703
+ interface ShopifyOrderShippingLine {
1704
+ readonly code?: string;
1705
+ readonly price: string;
1706
+ readonly source: string;
1707
+ readonly title: string;
1708
+ readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1709
+ readonly carrier_identifier?: string;
1710
+ readonly requested_fulfillment_service_id?: string;
1711
+ readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1712
+ readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1532
1713
  }
1533
1714
 
1534
- interface TrackingLabelVersion {
1535
- readonly id: string;
1536
- readonly timestamp: string;
1537
- readonly type: io.flow.common.v0.enums.ChangeType;
1538
- readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
1715
+ interface ShopifyOrderTaxLine {
1716
+ readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1717
+ readonly rate: number;
1718
+ readonly title: string;
1539
1719
  }
1540
1720
 
1541
- interface TrackingSummary {
1542
- readonly id: string;
1543
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1544
- readonly order_number?: string;
1721
+ interface ShopifyOrderTransaction {
1722
+ readonly id: number;
1723
+ readonly order_id: number;
1724
+ readonly amount: number;
1725
+ readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
1726
+ readonly gateway: string;
1727
+ readonly currency: string;
1728
+ readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
1729
+ readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
1730
+ readonly receipt: any /*object*/;
1731
+ readonly authorization?: string;
1732
+ readonly created_at: string;
1733
+ readonly device_id?: number;
1734
+ readonly gift_card_id?: number;
1735
+ readonly source_name: string;
1736
+ readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
1737
+ readonly test: boolean;
1738
+ readonly parent_id?: number;
1739
+ readonly user_id?: number;
1545
1740
  }
1546
1741
 
1547
- interface TrackingVersion {
1548
- readonly id: string;
1549
- readonly timestamp: string;
1550
- readonly type: io.flow.common.v0.enums.ChangeType;
1551
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
1742
+ interface ShopifyOrderWrapper {
1743
+ readonly order: any /*json*/;
1552
1744
  }
1553
- }
1554
1745
 
1555
- declare namespace io.flow.tax.internal.v0.enums {
1556
- type LiabilityType =
1557
- | 'full_value_tax'
1558
- | 'low_value_goods_tax'
1559
- | 'high_value_goods_tax'
1560
- | 'duties';
1561
- type NatureOfSale =
1562
- | 'consumer'
1563
- | 'to_non_registered_business'
1564
- | 'to_registered_business'
1565
- | 'flash_title';
1566
- type NoLiabilityReasonCode =
1567
- | 'zero_basis'
1568
- | 'zero_rate_on_goods'
1569
- | 'zero_rate_on_sale'
1570
- | 'goods_above_value_threshold'
1571
- | 'goods_below_value_threshold'
1572
- | 'order_below_de_minimis_threshold'
1573
- | 'amount_below_de_minimis_threshold'
1574
- | 'delivered_unpaid';
1575
- type ReportingScheme =
1576
- | 'immediate_reporting_to_tax_authority'
1577
- | 'periodic_reporting_to_tax_authority'
1578
- | 'paid_at_border'
1579
- | 'paid_on_delivery';
1580
- type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
1581
- type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
1582
- }
1746
+ interface ShopifyOrdersWrapper {
1747
+ readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
1748
+ }
1583
1749
 
1584
- declare namespace io.flow.tax.internal.v0.models {
1585
- interface CalculatedTaxAmount {
1586
- readonly discriminator: 'calculated_tax_amount';
1587
- readonly amount: number;
1588
- readonly rate: number;
1750
+ interface ShopifyWebhookOrder {
1751
+ readonly id: number;
1752
+ readonly order_number: number;
1753
+ readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1754
+ readonly browser_ip?: string;
1755
+ readonly buyer_accepts_marketing: boolean;
1756
+ readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
1757
+ readonly cancelled_at?: string;
1758
+ readonly cart_token?: string;
1759
+ readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
1760
+ readonly closed_at?: string;
1761
+ readonly created_at: string;
1762
+ readonly currency: string;
1763
+ readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1764
+ readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1765
+ readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1766
+ readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1767
+ readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1768
+ readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1769
+ readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1770
+ readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
1771
+ readonly customer_locale?: string;
1772
+ readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
1773
+ readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
1774
+ readonly email?: string;
1775
+ readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
1776
+ readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
1777
+ readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1778
+ readonly landing_site?: string;
1779
+ readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1780
+ readonly location_id?: number;
1589
1781
  readonly name: string;
1782
+ readonly note?: string;
1783
+ readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
1784
+ readonly number?: number;
1785
+ readonly payment_gateway_names: string[];
1786
+ readonly processed_at?: string;
1787
+ readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
1788
+ readonly referring_site?: string;
1789
+ readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
1790
+ readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1791
+ readonly shipping_lines?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
1792
+ readonly source_name?: string;
1793
+ readonly tags?: string;
1794
+ readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1795
+ readonly taxes_included: boolean;
1796
+ readonly token?: string;
1797
+ readonly total_weight?: number;
1798
+ readonly updated_at?: string;
1799
+ readonly user_id?: number;
1800
+ readonly order_status_url?: string;
1801
+ readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1802
+ readonly gateway?: string;
1803
+ readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1804
+ readonly send_receipt?: boolean;
1805
+ readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
1590
1806
  }
1591
1807
 
1592
- interface Liability {
1593
- readonly delivery_key: string;
1594
- readonly tax_jurisdiction: string;
1595
- readonly liability_type: io.flow.tax.internal.v0.enums.LiabilityType;
1596
- readonly reporting_scheme: io.flow.tax.internal.v0.enums.ReportingScheme;
1597
- readonly nature_of_sale: io.flow.tax.internal.v0.enums.NatureOfSale;
1598
- readonly liable_party: io.flow.tax.internal.v0.enums.TaxParty;
1599
- readonly funding_party: io.flow.tax.internal.v0.enums.TaxParty;
1600
- readonly reporting_party: io.flow.tax.internal.v0.enums.TaxParty;
1601
- readonly remitting_party: io.flow.tax.internal.v0.enums.TaxParty;
1602
- readonly seller?: io.flow.common.v0.models.MerchantOfRecordEntity;
1603
- readonly buyer?: io.flow.common.v0.models.MerchantOfRecordEntity;
1604
- readonly importer?: io.flow.tax.internal.v0.models.LiabilityPartyDetails;
1605
- readonly exporter?: io.flow.tax.internal.v0.models.LiabilityPartyDetails;
1606
- readonly amount: io.flow.tax.internal.v0.models.LiabilityMoney;
1607
- readonly rate: number;
1608
- readonly name: string;
1609
- readonly basis: io.flow.tax.internal.v0.models.LiabilityMoney;
1610
- readonly items: io.flow.tax.internal.v0.models.LiabilityItem[];
1611
- readonly tax_number_short_name: string;
1808
+ interface ShopifyWebhookRequest {
1809
+ readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
1810
+ readonly address: string;
1811
+ readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
1612
1812
  }
1613
1813
 
1614
- interface LiabilityItem {
1615
- readonly item_number?: string;
1616
- readonly line_number?: string;
1617
- readonly description: string;
1618
- readonly code?: string;
1619
- readonly amount: io.flow.tax.internal.v0.models.LiabilityMoney;
1620
- readonly rate: number;
1621
- readonly basis: io.flow.tax.internal.v0.models.LiabilityMoney;
1622
- readonly included_components: io.flow.price.v0.enums.LevyComponent[];
1623
- readonly no_liability_reason_code?: io.flow.tax.internal.v0.enums.NoLiabilityReasonCode;
1814
+ interface ShopifyWebhookRequestWrapper {
1815
+ readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
1624
1816
  }
1625
1817
 
1626
- interface LiabilityMoney {
1627
- readonly local: io.flow.common.v0.models.Money;
1628
- readonly base: io.flow.common.v0.models.Money;
1629
- readonly remittance: io.flow.common.v0.models.Money;
1818
+ interface ShopifyWebhookResponse {
1819
+ readonly id: number;
1820
+ readonly address: string;
1821
+ readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
1822
+ readonly created_at: string;
1823
+ readonly updated_at: string;
1824
+ readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
1825
+ readonly fields: any /*json*/[];
1826
+ readonly metafield_namespaces: any /*json*/[];
1827
+ readonly api_version: string;
1828
+ readonly private_metafield_namespaces: any /*json*/[];
1630
1829
  }
1631
1830
 
1632
- interface LiabilityPartyDetails {
1633
- readonly eori_number?: string;
1831
+ interface ShopifyWebhookResponseWrapper {
1832
+ readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
1634
1833
  }
1635
1834
 
1636
- interface LiabilityRemittancePlan {
1637
- readonly id: string;
1638
- readonly organization: string;
1639
- readonly order_number: string;
1640
- readonly liabilities: io.flow.tax.internal.v0.models.Liability[];
1641
- readonly total_tax: io.flow.common.v0.models.MoneyWithBase;
1835
+ interface ShopifyWebhooksResponseWrapper {
1836
+ readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
1642
1837
  }
1838
+ }
1643
1839
 
1644
- interface NoCalculatedTaxAmount {
1645
- readonly discriminator: 'no_calculated_tax_amount';
1646
- readonly amount: number;
1840
+ declare namespace io.flow.reference.v0.enums {
1841
+ type PaymentMethodCapability = 'credit' | 'debit';
1842
+ type PaymentMethodType = 'card' | 'online' | 'offline';
1843
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
1844
+ type ProvinceType =
1845
+ | 'area'
1846
+ | 'city'
1847
+ | 'county'
1848
+ | 'department'
1849
+ | 'dependency'
1850
+ | 'district'
1851
+ | 'do_si'
1852
+ | 'emirate'
1853
+ | 'entity'
1854
+ | 'island'
1855
+ | 'municipality'
1856
+ | 'oblast'
1857
+ | 'outlying_area'
1858
+ | 'parish'
1859
+ | 'prefecture'
1860
+ | 'province'
1861
+ | 'state'
1862
+ | 'territory'
1863
+ | 'other';
1864
+ }
1865
+
1866
+ declare namespace io.flow.reference.v0.models {
1867
+ interface Carrier {
1868
+ readonly id: string;
1869
+ readonly name: string;
1870
+ readonly tracking_url: string;
1647
1871
  }
1648
1872
 
1649
- interface TaxCalculation {
1650
- readonly order_number: string;
1651
- readonly target_currency_code: string;
1652
- readonly total: number;
1653
- readonly tax: io.flow.tax.internal.v0.unions.TaxAmount;
1654
- readonly lines: io.flow.tax.internal.v0.models.TaxCalculationLineItem[];
1655
- readonly shipping_total: number;
1656
- readonly shipping_tax: io.flow.tax.internal.v0.unions.TaxAmount;
1657
- readonly customer_code?: string;
1873
+ interface CarrierService {
1874
+ readonly id: string;
1875
+ readonly carrier: io.flow.reference.v0.models.Carrier;
1876
+ readonly name: string;
1658
1877
  }
1659
1878
 
1660
- interface TaxCalculationError {
1661
- readonly code: io.flow.tax.internal.v0.enums.TaxCalculationErrorCode;
1662
- readonly messages: string[];
1879
+ interface Country {
1880
+ readonly name: string;
1881
+ readonly iso_3166_2: string;
1882
+ readonly iso_3166_3: string;
1883
+ readonly languages: string[];
1884
+ readonly measurement_system: string;
1885
+ readonly default_currency?: string;
1886
+ readonly default_language?: string;
1887
+ readonly timezones: string[];
1888
+ readonly default_delivered_duty?: string;
1663
1889
  }
1664
1890
 
1665
- interface TaxCalculationForm {
1666
- readonly order_number: string;
1667
- readonly target_currency_code: string;
1668
- readonly destination: io.flow.common.v0.models.Address;
1669
- readonly order_date: string;
1670
- readonly lines: io.flow.tax.internal.v0.models.TaxCalculationLineItemForm[];
1671
- readonly shipping_amount: number;
1672
- readonly customer_code?: string;
1891
+ interface Currency {
1892
+ readonly name: string;
1893
+ readonly iso_4217_3: string;
1894
+ readonly number_decimals: number;
1895
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
1896
+ readonly default_locale?: string;
1673
1897
  }
1674
1898
 
1675
- interface TaxCalculationLineItem {
1676
- readonly line_number: string;
1677
- readonly item_number: string;
1678
- readonly ship_from?: io.flow.common.v0.models.Address;
1679
- readonly quantity: number;
1680
- readonly total: number;
1681
- readonly tax: io.flow.tax.internal.v0.unions.TaxAmount;
1682
- readonly sku?: string;
1683
- readonly description?: string;
1899
+ interface CurrencySymbols {
1900
+ readonly primary: string;
1901
+ readonly narrow?: string;
1684
1902
  }
1685
1903
 
1686
- interface TaxCalculationLineItemForm {
1687
- readonly line_number: string;
1688
- readonly item_number: string;
1689
- readonly ship_from?: io.flow.common.v0.models.Address;
1690
- readonly quantity: number;
1691
- readonly amount: number;
1692
- readonly tax_code?: string;
1693
- readonly sku?: string;
1694
- readonly description?: string;
1695
- readonly category_code?: string;
1904
+ interface Language {
1905
+ readonly name: string;
1906
+ readonly iso_639_2: string;
1696
1907
  }
1697
- }
1698
1908
 
1699
- declare namespace io.flow.tax.internal.v0.unions {
1700
- type TaxAmount =
1701
- | io.flow.tax.internal.v0.models.CalculatedTaxAmount
1702
- | io.flow.tax.internal.v0.models.NoCalculatedTaxAmount;
1703
- }
1909
+ interface Locale {
1910
+ readonly id: string;
1911
+ readonly name: string;
1912
+ readonly country: string;
1913
+ readonly language: string;
1914
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
1915
+ }
1704
1916
 
1705
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
1706
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
1707
- type ItemIdentifier = 'item_number' | 'sku';
1708
- }
1917
+ interface LocaleNumbers {
1918
+ readonly decimal: string;
1919
+ readonly group: string;
1920
+ }
1709
1921
 
1710
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
1711
- interface AccountOrdersExportType {
1712
- readonly discriminator: 'account_orders_export_type';
1713
- readonly statement_id?: string;
1714
- readonly transaction_summary_id?: string;
1715
- readonly transaction_created_from?: string;
1716
- readonly transaction_created_to?: string;
1717
- readonly transaction_created_on_or_after?: string;
1718
- readonly transaction_created_after?: string;
1719
- readonly transaction_created_on_or_before?: string;
1720
- readonly transaction_created_before?: string;
1721
- readonly transaction_posted_from?: string;
1722
- readonly transaction_posted_to?: string;
1723
- readonly transaction_posted_on_or_after?: string;
1724
- readonly transaction_posted_after?: string;
1725
- readonly transaction_posted_on_or_before?: string;
1726
- readonly transaction_posted_before?: string;
1922
+ interface LocalizedTranslation {
1923
+ readonly locale: io.flow.reference.v0.models.Locale;
1924
+ readonly name: string;
1727
1925
  }
1728
1926
 
1729
- interface AccountTransactionsExportType {
1730
- readonly discriminator: 'account_transactions_export_type';
1731
- readonly statement_id?: string;
1732
- readonly transaction_summary_id?: string;
1733
- readonly created_from?: string;
1734
- readonly created_to?: string;
1735
- readonly created_on_or_after?: string;
1736
- readonly created_after?: string;
1737
- readonly created_on_or_before?: string;
1738
- readonly created_before?: string;
1739
- readonly posted_from?: string;
1740
- readonly posted_to?: string;
1741
- readonly posted_on_or_after?: string;
1742
- readonly posted_after?: string;
1743
- readonly posted_on_or_before?: string;
1744
- readonly posted_before?: string;
1927
+ interface PaymentMethod {
1928
+ readonly id: string;
1929
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
1930
+ readonly name: string;
1931
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
1932
+ readonly regions: string[];
1933
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
1745
1934
  }
1746
1935
 
1747
- interface AnalyticsExportType {
1748
- readonly discriminator: 'analytics_export_type';
1749
- readonly from?: string;
1750
- readonly to?: string;
1751
- readonly region?: string;
1752
- readonly interval?: io.flow.common.v0.enums.UnitOfTime;
1936
+ interface PaymentMethodImage {
1937
+ readonly url: string;
1938
+ readonly width: number;
1939
+ readonly height: number;
1753
1940
  }
1754
1941
 
1755
- interface CatalogItemExportType {
1756
- readonly discriminator: 'catalog_item_export_type';
1757
- readonly numbers?: string[];
1758
- readonly q?: string;
1759
- readonly sort?: string;
1942
+ interface PaymentMethodImages {
1943
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
1944
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
1945
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
1760
1946
  }
1761
1947
 
1762
- interface CsvPriceBookItemExportRowByItemNumber {
1763
- readonly item_number: string;
1764
- readonly price_book_key: string;
1765
- readonly price_book_item_key: string;
1766
- readonly item_name: string;
1767
- readonly amount: number;
1768
- readonly item_attributes?: Record<string, string>;
1769
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1948
+ interface Province {
1949
+ readonly id: string;
1950
+ readonly iso_3166_2: string;
1951
+ readonly name: string;
1952
+ readonly country: string;
1953
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
1954
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
1770
1955
  }
1771
1956
 
1772
- interface CsvPriceBookItemExportRowBySku {
1773
- readonly sku: string;
1774
- readonly price_book_key: string;
1775
- readonly price_book_item_key: string;
1776
- readonly item_name: string;
1777
- readonly amount: number;
1778
- readonly item_attributes?: Record<string, string>;
1779
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1957
+ interface Region {
1958
+ readonly id: string;
1959
+ readonly name: string;
1960
+ readonly countries: string[];
1961
+ readonly currencies: string[];
1962
+ readonly languages: string[];
1963
+ readonly measurement_systems: string[];
1964
+ readonly timezones: string[];
1780
1965
  }
1781
1966
 
1782
- interface ExclusionRulesExportType {
1783
- readonly discriminator: 'exclusion_rules_export_type';
1784
- readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
1785
- readonly sort?: string;
1967
+ interface Timezone {
1968
+ readonly name: string;
1969
+ readonly description: string;
1970
+ readonly offset: number;
1786
1971
  }
1972
+ }
1787
1973
 
1788
- interface ExperienceExportType {
1789
- readonly discriminator: 'experience_export_type';
1790
- readonly organization_id: string;
1791
- readonly ids?: string[];
1792
- readonly keys?: string[];
1793
- }
1974
+ declare namespace io.flow.tracking.v0.enums {
1975
+ type TrackingStatus =
1976
+ | 'label_created'
1977
+ | 'pending'
1978
+ | 'info_received'
1979
+ | 'picked_up'
1980
+ | 'in_transit'
1981
+ | 'out_for_delivery'
1982
+ | 'attempt_fail'
1983
+ | 'delivered'
1984
+ | 'exception'
1985
+ | 'returned'
1986
+ | 'expired';
1987
+ }
1794
1988
 
1795
- interface Export {
1989
+ declare namespace io.flow.tracking.v0.models {
1990
+ interface Tracking {
1796
1991
  readonly id: string;
1797
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
1798
- readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
1799
- readonly organization_q: string;
1800
- readonly created_at: string;
1801
- readonly started_at?: string;
1802
- readonly completed_at?: string;
1803
- readonly url?: string;
1804
- readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
1805
- }
1806
-
1807
- interface ExportDeliveryEmail {
1808
- readonly discriminator: 'export_delivery_email';
1809
- readonly email: string;
1992
+ readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
1993
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
1994
+ readonly attributes: Record<string, string>;
1995
+ readonly url: string;
1996
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
1997
+ readonly order_number?: string;
1810
1998
  }
1811
1999
 
1812
- interface ExportForm {
1813
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
1814
- readonly emails?: string[];
1815
- readonly organization_q?: string;
2000
+ interface TrackingEvent {
2001
+ readonly id: string;
2002
+ readonly address: io.flow.common.v0.models.Address;
2003
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2004
+ readonly timestamp: string;
2005
+ readonly description?: string;
1816
2006
  }
1817
2007
 
1818
- interface ExportLocalizedItemPrices {
1819
- readonly organization: io.flow.common.v0.models.OrganizationReference;
1820
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
1821
- readonly item: io.flow.common.v0.models.CatalogItemReference;
1822
- readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
1823
- readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
1824
- readonly rates?: io.flow.currency.v0.models.Rate[];
2008
+ interface TrackingEventForm {
2009
+ readonly tracking_label_id: string;
2010
+ readonly timestamp: string;
2011
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2012
+ readonly description?: string;
2013
+ readonly address?: string;
1825
2014
  }
1826
2015
 
1827
- interface ExportLocalizedItemPricesDetail {
1828
- readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
1829
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1830
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1831
- readonly price_attributes: Record<
1832
- string,
1833
- io.flow.common.v0.models.PriceWithBase
1834
- >;
2016
+ interface TrackingEventSummary {
2017
+ readonly id: string;
2018
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2019
+ readonly timestamp: string;
1835
2020
  }
1836
2021
 
1837
- interface ExportVersion {
2022
+ interface TrackingEventVersion {
1838
2023
  readonly id: string;
1839
2024
  readonly timestamp: string;
1840
2025
  readonly type: io.flow.common.v0.enums.ChangeType;
1841
- readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
2026
+ readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
1842
2027
  }
1843
2028
 
1844
- interface HarmonizationHs10ExportType {
1845
- readonly discriminator: 'harmonization_hs10_export_type';
1846
- readonly origin?: string;
1847
- readonly destination?: string;
1848
- readonly numbers?: string[];
1849
- readonly has_codes?: boolean;
1850
- readonly has_origins?: boolean;
1851
- readonly sort?: string;
2029
+ interface TrackingForm {
2030
+ readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
2031
+ readonly order_number?: string;
2032
+ readonly attributes?: Record<string, string>;
2033
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
1852
2034
  }
1853
2035
 
1854
- interface HarmonizationHs6ExportType {
1855
- readonly discriminator: 'harmonization_hs6_export_type';
1856
- readonly numbers?: string[];
1857
- readonly has_codes?: boolean;
1858
- readonly sort?: string;
2036
+ interface TrackingLabel {
2037
+ readonly id: string;
2038
+ readonly carrier: string;
2039
+ readonly carrier_tracking_number: string;
2040
+ readonly events: io.flow.tracking.v0.models.TrackingEvent[];
2041
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2042
+ readonly timestamp: string;
2043
+ readonly delivery_estimate?: string;
2044
+ readonly description?: string;
1859
2045
  }
1860
2046
 
1861
- interface HarmonizationOverviewExportType {
1862
- readonly discriminator: 'harmonization_overview_export_type';
1863
- readonly origin?: string;
1864
- readonly destination?: string;
1865
- readonly sort?: string;
2047
+ interface TrackingLabelForm {
2048
+ readonly tracking_id: string;
2049
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2050
+ readonly carrier: string;
2051
+ readonly carrier_tracking_number: string;
2052
+ readonly delivery_estimate?: string;
2053
+ readonly description?: string;
2054
+ readonly timestamp?: string;
2055
+ readonly parent_id?: string;
1866
2056
  }
1867
2057
 
1868
- interface HarmonizationTariffCodesExportType {
1869
- readonly discriminator: 'harmonization_tariff_codes_export_type';
1870
- readonly sort?: string;
2058
+ interface TrackingLabelSummary {
2059
+ readonly id: string;
2060
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
2061
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2062
+ readonly carrier: string;
2063
+ readonly tracking_number: string;
1871
2064
  }
1872
2065
 
1873
- interface LandedCostItem {
1874
- readonly number: string;
1875
- readonly origin: string;
1876
- readonly destination: string;
2066
+ interface TrackingLabelVersion {
2067
+ readonly id: string;
2068
+ readonly timestamp: string;
2069
+ readonly type: io.flow.common.v0.enums.ChangeType;
2070
+ readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
1877
2071
  }
1878
2072
 
1879
- interface LocalizedItemPricesExportType {
1880
- readonly discriminator: 'localized_item_prices_export_type';
1881
- readonly since?: string;
2073
+ interface TrackingSummary {
2074
+ readonly id: string;
2075
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2076
+ readonly order_number?: string;
1882
2077
  }
1883
2078
 
1884
- interface MarketingFeedsExportType {
1885
- readonly discriminator: 'marketing_feeds_export_type';
1886
- readonly organization: io.flow.common.v0.models.OrganizationReference;
1887
- readonly feed_ids: string[];
2079
+ interface TrackingVersion {
2080
+ readonly id: string;
2081
+ readonly timestamp: string;
2082
+ readonly type: io.flow.common.v0.enums.ChangeType;
2083
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
1888
2084
  }
2085
+ }
1889
2086
 
1890
- interface OrderExportType {
1891
- readonly discriminator: 'order_export_type';
1892
- readonly numbers?: string[];
1893
- readonly min_hours_since_submitted_at?: number;
1894
- readonly submitted_on_or_before?: string;
1895
- readonly submitted_on_or_after?: string;
1896
- readonly status?: io.flow.experience.v0.enums.OrderStatus;
1897
- readonly has_tracking_label?: boolean;
1898
- readonly sort?: string;
1899
- }
2087
+ declare namespace io.flow.tax.internal.v0.enums {
2088
+ type LiabilityType =
2089
+ | 'full_value_tax'
2090
+ | 'low_value_goods_tax'
2091
+ | 'high_value_goods_tax'
2092
+ | 'duties';
2093
+ type NatureOfSale =
2094
+ | 'consumer'
2095
+ | 'to_non_registered_business'
2096
+ | 'to_registered_business'
2097
+ | 'flash_title';
2098
+ type NoLiabilityReasonCode =
2099
+ | 'zero_basis'
2100
+ | 'zero_rate_on_goods'
2101
+ | 'zero_rate_on_sale'
2102
+ | 'goods_above_value_threshold'
2103
+ | 'goods_below_value_threshold'
2104
+ | 'order_below_de_minimis_threshold'
2105
+ | 'amount_below_de_minimis_threshold'
2106
+ | 'delivered_unpaid';
2107
+ type ReportingScheme =
2108
+ | 'immediate_reporting_to_tax_authority'
2109
+ | 'periodic_reporting_to_tax_authority'
2110
+ | 'paid_at_border'
2111
+ | 'paid_on_delivery';
2112
+ type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
2113
+ type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
2114
+ }
1900
2115
 
1901
- interface PriceBookItemExportType {
1902
- readonly discriminator: 'price_book_item_export_type';
1903
- readonly price_book_key?: string;
1904
- readonly item_numbers?: string[];
1905
- readonly start_date?: string;
1906
- readonly end_date?: string;
1907
- readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2116
+ declare namespace io.flow.tax.internal.v0.models {
2117
+ interface CalculatedTaxAmount {
2118
+ readonly discriminator: 'calculated_tax_amount';
2119
+ readonly amount: number;
2120
+ readonly rate: number;
2121
+ readonly name: string;
1908
2122
  }
1909
2123
 
1910
- interface ScheduledExport {
1911
- readonly id: string;
1912
- readonly user: io.flow.common.v0.models.UserReference;
1913
- readonly organization_q: string;
1914
- readonly hour: number;
1915
- readonly minute: number;
1916
- readonly timezone: string;
1917
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
1918
- readonly last_sent_at?: string;
2124
+ interface Liability {
2125
+ readonly delivery_key: string;
2126
+ readonly tax_jurisdiction: string;
2127
+ readonly liability_type: io.flow.tax.internal.v0.enums.LiabilityType;
2128
+ readonly reporting_scheme: io.flow.tax.internal.v0.enums.ReportingScheme;
2129
+ readonly nature_of_sale: io.flow.tax.internal.v0.enums.NatureOfSale;
2130
+ readonly liable_party: io.flow.tax.internal.v0.enums.TaxParty;
2131
+ readonly funding_party: io.flow.tax.internal.v0.enums.TaxParty;
2132
+ readonly reporting_party: io.flow.tax.internal.v0.enums.TaxParty;
2133
+ readonly remitting_party: io.flow.tax.internal.v0.enums.TaxParty;
2134
+ readonly seller?: io.flow.common.v0.models.MerchantOfRecordEntity;
2135
+ readonly buyer?: io.flow.common.v0.models.MerchantOfRecordEntity;
2136
+ readonly importer?: io.flow.tax.internal.v0.models.LiabilityPartyDetails;
2137
+ readonly exporter?: io.flow.tax.internal.v0.models.LiabilityPartyDetails;
2138
+ readonly amount: io.flow.tax.internal.v0.models.LiabilityMoney;
2139
+ readonly rate: number;
2140
+ readonly name: string;
2141
+ readonly basis: io.flow.tax.internal.v0.models.LiabilityMoney;
2142
+ readonly items: io.flow.tax.internal.v0.models.LiabilityItem[];
2143
+ readonly tax_number_short_name: string;
1919
2144
  }
1920
2145
 
1921
- interface ScheduledExportForm {
1922
- readonly user_id: string;
1923
- readonly organization_q: string;
1924
- readonly hour: number;
1925
- readonly minute: number;
1926
- readonly timezone: string;
1927
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2146
+ interface LiabilityItem {
2147
+ readonly item_number?: string;
2148
+ readonly line_number?: string;
2149
+ readonly description: string;
2150
+ readonly code?: string;
2151
+ readonly amount: io.flow.tax.internal.v0.models.LiabilityMoney;
2152
+ readonly rate: number;
2153
+ readonly basis: io.flow.tax.internal.v0.models.LiabilityMoney;
2154
+ readonly included_components: io.flow.price.v0.enums.LevyComponent[];
2155
+ readonly no_liability_reason_code?: io.flow.tax.internal.v0.enums.NoLiabilityReasonCode;
1928
2156
  }
1929
2157
 
1930
- interface SolidusProductExportType {
1931
- readonly discriminator: 'solidus_product_export_type';
1932
- readonly numbers?: string[];
1933
- readonly sort?: string;
2158
+ interface LiabilityMoney {
2159
+ readonly local: io.flow.common.v0.models.Money;
2160
+ readonly base: io.flow.common.v0.models.Money;
2161
+ readonly remittance: io.flow.common.v0.models.Money;
1934
2162
  }
1935
2163
 
1936
- interface SolidusVariantExportType {
1937
- readonly discriminator: 'solidus_variant_export_type';
1938
- readonly numbers?: string[];
1939
- readonly sort?: string;
2164
+ interface LiabilityPartyDetails {
2165
+ readonly eori_number?: string;
1940
2166
  }
1941
2167
 
1942
- interface UnharmonizedItemExportType {
1943
- readonly discriminator: 'unharmonized_item_export_type';
1944
- readonly sort?: string;
2168
+ interface LiabilityRemittancePlan {
2169
+ readonly id: string;
2170
+ readonly organization: string;
2171
+ readonly order_number: string;
2172
+ readonly liabilities: io.flow.tax.internal.v0.models.Liability[];
2173
+ readonly total_tax: io.flow.common.v0.models.MoneyWithBase;
1945
2174
  }
1946
- }
1947
-
1948
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
1949
- type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
1950
- type ExportType =
1951
- | io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
1952
- | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
1953
- | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
1954
- | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
1955
- | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
1956
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
1957
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
1958
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
1959
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
1960
- | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
1961
- | io.flow.RESERVED_WORD_export.v0.models.OrderExportType
1962
- | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
1963
- | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
1964
- | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
1965
- | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
1966
- | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
1967
- | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
1968
- }
1969
2175
 
1970
- declare namespace io.flow.RESERVED_WORD_return.v0.enums {
1971
- type ReturnStatus = 'open' | 'refunded';
1972
- type ReturnTrackingStatus =
1973
- | 'awaiting_customs_clearance'
1974
- | 'cancel_requested'
1975
- | 'canceled'
1976
- | 'collection_attempt_failed'
1977
- | 'customs_clearance_completed'
1978
- | 'delivered_to_retailer'
1979
- | 'in_transit_to_local_hub'
1980
- | 'in_transit_to_retailer'
1981
- | 'parcel_added_to_pallet'
1982
- | 'parcel_delayed'
1983
- | 'parcel_extracted_from_pallet'
1984
- | 'parcel_lost'
1985
- | 'parcel_processed_by_retailer'
1986
- | 'parcel_under_investigation'
1987
- | 'processed_by_local_hub'
1988
- | 'received_at_local_hub'
1989
- | 'received_by_the_carrier'
1990
- | 'return_registered_online';
1991
- }
2176
+ interface NoCalculatedTaxAmount {
2177
+ readonly discriminator: 'no_calculated_tax_amount';
2178
+ readonly amount: number;
2179
+ }
1992
2180
 
1993
- declare namespace io.flow.RESERVED_WORD_return.v0.models {
1994
- interface Return {
1995
- readonly id: string;
1996
- readonly key: string;
1997
- readonly order?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference;
1998
- readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
1999
- readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
2000
- readonly labels?: io.flow.label.v0.models.ShippingLabel[];
2001
- readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
2002
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
2003
- readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
2004
- readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
2005
- readonly tracking_status_timestamp?: string;
2006
- readonly carrier_tracking_number?: string;
2181
+ interface TaxCalculation {
2182
+ readonly order_number: string;
2183
+ readonly target_currency_code: string;
2184
+ readonly total: number;
2185
+ readonly tax: io.flow.tax.internal.v0.unions.TaxAmount;
2186
+ readonly lines: io.flow.tax.internal.v0.models.TaxCalculationLineItem[];
2187
+ readonly shipping_total: number;
2188
+ readonly shipping_tax: io.flow.tax.internal.v0.unions.TaxAmount;
2189
+ readonly customer_code?: string;
2007
2190
  }
2008
2191
 
2009
- interface ReturnForm {
2010
- readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
2011
- readonly tier_id?: string;
2012
- readonly order_number?: string;
2013
- readonly service?: string;
2014
- readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
2015
- readonly key?: string;
2016
- readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
2017
- readonly center_key?: string;
2018
- readonly source?: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
2019
- readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
2020
- readonly tracking_status_timestamp?: string;
2021
- readonly carrier_tracking_number?: string;
2192
+ interface TaxCalculationError {
2193
+ readonly code: io.flow.tax.internal.v0.enums.TaxCalculationErrorCode;
2194
+ readonly messages: string[];
2022
2195
  }
2023
2196
 
2024
- interface ReturnItemReference {
2025
- readonly number: string;
2197
+ interface TaxCalculationForm {
2198
+ readonly order_number: string;
2199
+ readonly target_currency_code: string;
2200
+ readonly destination: io.flow.common.v0.models.Address;
2201
+ readonly order_date: string;
2202
+ readonly lines: io.flow.tax.internal.v0.models.TaxCalculationLineItemForm[];
2203
+ readonly shipping_amount: number;
2204
+ readonly customer_code?: string;
2026
2205
  }
2027
2206
 
2028
- interface ReturnLineItem {
2207
+ interface TaxCalculationLineItem {
2208
+ readonly line_number: string;
2029
2209
  readonly item_number: string;
2030
- readonly order_number?: string;
2210
+ readonly ship_from?: io.flow.common.v0.models.Address;
2031
2211
  readonly quantity: number;
2032
- readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
2033
- readonly notes?: string;
2034
- readonly attributes?: Record<string, string>;
2212
+ readonly total: number;
2213
+ readonly tax: io.flow.tax.internal.v0.unions.TaxAmount;
2214
+ readonly sku?: string;
2215
+ readonly description?: string;
2035
2216
  }
2036
2217
 
2037
- interface ReturnOrderReference {
2038
- readonly number: string;
2218
+ interface TaxCalculationLineItemForm {
2219
+ readonly line_number: string;
2220
+ readonly item_number: string;
2221
+ readonly ship_from?: io.flow.common.v0.models.Address;
2222
+ readonly quantity: number;
2223
+ readonly amount: number;
2224
+ readonly tax_code?: string;
2225
+ readonly sku?: string;
2226
+ readonly description?: string;
2227
+ readonly category_code?: string;
2039
2228
  }
2229
+ }
2040
2230
 
2041
- interface ReturnReason {
2042
- readonly name: string;
2043
- }
2231
+ declare namespace io.flow.tax.internal.v0.unions {
2232
+ type TaxAmount =
2233
+ | io.flow.tax.internal.v0.models.CalculatedTaxAmount
2234
+ | io.flow.tax.internal.v0.models.NoCalculatedTaxAmount;
2235
+ }
2044
2236
 
2045
- interface ReturnReasonForm {
2046
- readonly name?: string;
2047
- }
2237
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
2238
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2239
+ type ItemIdentifier = 'item_number' | 'sku';
2240
+ }
2048
2241
 
2049
- interface ReturnReasonPutForm {
2050
- readonly name?: string;
2242
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
2243
+ interface AccountOrdersExportType {
2244
+ readonly discriminator: 'account_orders_export_type';
2245
+ readonly statement_id?: string;
2246
+ readonly transaction_summary_id?: string;
2247
+ readonly transaction_created_from?: string;
2248
+ readonly transaction_created_to?: string;
2249
+ readonly transaction_created_on_or_after?: string;
2250
+ readonly transaction_created_after?: string;
2251
+ readonly transaction_created_on_or_before?: string;
2252
+ readonly transaction_created_before?: string;
2253
+ readonly transaction_posted_from?: string;
2254
+ readonly transaction_posted_to?: string;
2255
+ readonly transaction_posted_on_or_after?: string;
2256
+ readonly transaction_posted_after?: string;
2257
+ readonly transaction_posted_on_or_before?: string;
2258
+ readonly transaction_posted_before?: string;
2051
2259
  }
2052
2260
 
2053
- interface ReturnSourceExternalVendor {
2054
- readonly discriminator: 'return_source_external_vendor';
2055
- readonly key: string;
2261
+ interface AccountTransactionsExportType {
2262
+ readonly discriminator: 'account_transactions_export_type';
2263
+ readonly statement_id?: string;
2264
+ readonly transaction_summary_id?: string;
2265
+ readonly created_from?: string;
2266
+ readonly created_to?: string;
2267
+ readonly created_on_or_after?: string;
2268
+ readonly created_after?: string;
2269
+ readonly created_on_or_before?: string;
2270
+ readonly created_before?: string;
2271
+ readonly posted_from?: string;
2272
+ readonly posted_to?: string;
2273
+ readonly posted_on_or_after?: string;
2274
+ readonly posted_after?: string;
2275
+ readonly posted_on_or_before?: string;
2276
+ readonly posted_before?: string;
2056
2277
  }
2057
2278
 
2058
- interface ReturnSourceFlow {
2059
- readonly discriminator: 'return_source_flow';
2060
- readonly attributes?: Record<string, string>;
2279
+ interface AnalyticsExportType {
2280
+ readonly discriminator: 'analytics_export_type';
2281
+ readonly from?: string;
2282
+ readonly to?: string;
2283
+ readonly region?: string;
2284
+ readonly interval?: io.flow.common.v0.enums.UnitOfTime;
2061
2285
  }
2062
2286
 
2063
- interface ReturnVersion {
2064
- readonly id: string;
2065
- readonly timestamp: string;
2066
- readonly type: io.flow.common.v0.enums.ChangeType;
2067
- readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
2287
+ interface CatalogItemExportType {
2288
+ readonly discriminator: 'catalog_item_export_type';
2289
+ readonly numbers?: string[];
2290
+ readonly q?: string;
2291
+ readonly sort?: string;
2068
2292
  }
2069
- }
2070
2293
 
2071
- declare namespace io.flow.RESERVED_WORD_return.v0.unions {
2072
- type ReturnSource =
2073
- | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow
2074
- | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
2075
- }
2294
+ interface CsvPriceBookItemExportRowByItemNumber {
2295
+ readonly item_number: string;
2296
+ readonly price_book_key: string;
2297
+ readonly price_book_item_key: string;
2298
+ readonly item_name: string;
2299
+ readonly amount: number;
2300
+ readonly item_attributes?: Record<string, string>;
2301
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2302
+ }
2076
2303
 
2077
- declare namespace io.flow.harmonization.engine.internal.v0.enums {
2078
- type StatisticType =
2079
- | 'time-to-classify'
2080
- | 'time-to-classify-aggregated'
2081
- | 'rate-source'
2082
- | 'rate-freshness';
2083
- }
2304
+ interface CsvPriceBookItemExportRowBySku {
2305
+ readonly sku: string;
2306
+ readonly price_book_key: string;
2307
+ readonly price_book_item_key: string;
2308
+ readonly item_name: string;
2309
+ readonly amount: number;
2310
+ readonly item_attributes?: Record<string, string>;
2311
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2312
+ }
2084
2313
 
2085
- declare namespace io.flow.harmonization.engine.internal.v0.models {
2086
- interface ClassificationRequeueRequest {
2087
- readonly message: string;
2314
+ interface ExclusionRulesExportType {
2315
+ readonly discriminator: 'exclusion_rules_export_type';
2316
+ readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
2317
+ readonly sort?: string;
2088
2318
  }
2089
2319
 
2090
- interface RateDestinationFreshnessSummary {
2091
- readonly destination: io.flow.reference.v0.models.Country;
2092
- readonly percentage_updated: number;
2320
+ interface ExperienceExportType {
2321
+ readonly discriminator: 'experience_export_type';
2322
+ readonly organization_id: string;
2323
+ readonly ids?: string[];
2324
+ readonly keys?: string[];
2093
2325
  }
2094
2326
 
2095
- interface RateFreshnessSummary {
2096
- readonly discriminator: 'rate-freshness';
2097
- readonly key: string;
2098
- readonly updated_since: string;
2099
- readonly destination_freshness_summaries: io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
2327
+ interface Export {
2328
+ readonly id: string;
2329
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2330
+ readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
2331
+ readonly organization_q: string;
2332
+ readonly created_at: string;
2333
+ readonly started_at?: string;
2334
+ readonly completed_at?: string;
2335
+ readonly url?: string;
2336
+ readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
2100
2337
  }
2101
2338
 
2102
- interface RateSourceCompositionSummary {
2103
- readonly rate_name: string;
2104
- readonly percentage_composition: number;
2339
+ interface ExportDeliveryEmail {
2340
+ readonly discriminator: 'export_delivery_email';
2341
+ readonly email: string;
2105
2342
  }
2106
2343
 
2107
- interface RateSourceSummary {
2108
- readonly discriminator: 'rate-source';
2109
- readonly key: string;
2110
- readonly destination: io.flow.reference.v0.models.Country;
2111
- readonly rate_source_composition_summaries: io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
2344
+ interface ExportForm {
2345
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2346
+ readonly emails?: string[];
2347
+ readonly organization_q?: string;
2112
2348
  }
2113
2349
 
2114
- interface RequeueRequestForm {
2115
- readonly product_ids?: string[];
2116
- readonly hs6_codes?: string[];
2117
- readonly preferred_item_type?: string;
2118
- readonly ignore_classification_status: boolean;
2119
- readonly select_mismatching_item_types: boolean;
2350
+ interface ExportLocalizedItemPrices {
2351
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2352
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
2353
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
2354
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
2355
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
2356
+ readonly rates?: io.flow.currency.v0.models.Rate[];
2120
2357
  }
2121
2358
 
2122
- interface TimeToClassify {
2123
- readonly discriminator: 'time-to-classify';
2124
- readonly key: string;
2125
- readonly from: string;
2126
- readonly to: string;
2127
- readonly organization_id: string;
2128
- readonly average_hours: number;
2129
- readonly median_hours: number;
2130
- readonly percentile_75_hours: number;
2131
- readonly percentile_90_hours: number;
2132
- readonly percentile_99_hours: number;
2359
+ interface ExportLocalizedItemPricesDetail {
2360
+ readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
2361
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
2362
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
2363
+ readonly price_attributes: Record<
2364
+ string,
2365
+ io.flow.common.v0.models.PriceWithBase
2366
+ >;
2133
2367
  }
2134
2368
 
2135
- interface TimeToClassifyAggregated {
2136
- readonly discriminator: 'time-to-classify-aggregated';
2137
- readonly key: string;
2138
- readonly from: string;
2139
- readonly to: string;
2140
- readonly average_hours: number;
2141
- readonly median_hours: number;
2142
- readonly percentile_75_hours: number;
2143
- readonly percentile_90_hours: number;
2144
- readonly percentile_99_hours: number;
2369
+ interface ExportVersion {
2370
+ readonly id: string;
2371
+ readonly timestamp: string;
2372
+ readonly type: io.flow.common.v0.enums.ChangeType;
2373
+ readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
2145
2374
  }
2146
2375
 
2147
- interface UnclassifiedProductsPurgeRequest {
2148
- readonly num_deleted_products: Record<string, number>;
2376
+ interface HarmonizationHs10ExportType {
2377
+ readonly discriminator: 'harmonization_hs10_export_type';
2378
+ readonly origin?: string;
2379
+ readonly destination?: string;
2380
+ readonly numbers?: string[];
2381
+ readonly has_codes?: boolean;
2382
+ readonly has_origins?: boolean;
2383
+ readonly sort?: string;
2149
2384
  }
2150
- }
2151
2385
 
2152
- declare namespace io.flow.harmonization.engine.internal.v0.unions {
2153
- type InternalHarmonizationStatistic =
2154
- | io.flow.harmonization.engine.internal.v0.models.TimeToClassify
2155
- | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated
2156
- | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary
2157
- | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
2158
- }
2386
+ interface HarmonizationHs6ExportType {
2387
+ readonly discriminator: 'harmonization_hs6_export_type';
2388
+ readonly numbers?: string[];
2389
+ readonly has_codes?: boolean;
2390
+ readonly sort?: string;
2391
+ }
2159
2392
 
2160
- declare namespace io.flow.shopify.xborder.integration.test.v0.enums {
2161
- type ShopifyOrderCancelReason =
2162
- | 'customer'
2163
- | 'fraud'
2164
- | 'inventory'
2165
- | 'declined'
2166
- | 'other';
2167
- type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
2168
- type ShopifyOrderDiscountApplicationTargetSelection =
2169
- | 'all'
2170
- | 'entitled'
2171
- | 'explicit';
2172
- type ShopifyOrderDiscountApplicationTargetType =
2173
- | 'line_item'
2174
- | 'shipping_line';
2175
- type ShopifyOrderDiscountApplicationType =
2176
- | 'automatic'
2177
- | 'discount_code'
2178
- | 'manual'
2179
- | 'script';
2180
- type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
2181
- type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2182
- type ShopifyOrderFinancialStatusType =
2183
- | 'pending'
2184
- | 'authorized'
2185
- | 'partially_paid'
2186
- | 'paid'
2187
- | 'partially_refunded'
2188
- | 'refunded'
2189
- | 'voided';
2190
- type ShopifyOrderFulfillmentShipmentStatus =
2191
- | 'label_printed'
2192
- | 'label_purchased'
2193
- | 'attempted_delivery'
2194
- | 'ready_for_pickup'
2195
- | 'confirmed'
2196
- | 'in_transit'
2197
- | 'out_for_delivery'
2198
- | 'delivered'
2199
- | 'failure';
2200
- type ShopifyOrderFulfillmentStatus =
2201
- | 'pending'
2202
- | 'open'
2203
- | 'success'
2204
- | 'cancelled'
2205
- | 'error'
2206
- | 'failure';
2207
- type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2208
- type ShopifyOrderInventoryBehaviour =
2209
- | 'bypass'
2210
- | 'decrement_ignoring_policy'
2211
- | 'decrement_obeying_policy';
2212
- type ShopifyOrderKindType =
2213
- | 'authorization'
2214
- | 'capture'
2215
- | 'sale'
2216
- | 'void'
2217
- | 'refund';
2218
- type ShopifyOrderProcessingMethodType =
2219
- | 'checkout'
2220
- | 'direct'
2221
- | 'manual'
2222
- | 'offsite'
2223
- | 'express';
2224
- type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
2225
- type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2226
- type ShopifyOrderTransactionErrorCode =
2227
- | 'incorrect_number'
2228
- | 'invalid_number'
2229
- | 'invalid_expiry_date'
2230
- | 'invalid_cvc'
2231
- | 'expired_card'
2232
- | 'incorrect_cvc'
2233
- | 'incorrect_zip'
2234
- | 'incorrect_address'
2235
- | 'card_declined'
2236
- | 'processing_error'
2237
- | 'call_issuer'
2238
- | 'pick_up_card';
2239
- type ShopifyOrderTransactionStatus =
2240
- | 'pending'
2241
- | 'failure'
2242
- | 'success'
2243
- | 'error';
2244
- type ShopifyOrderValueType = 'string' | 'integer';
2245
- }
2393
+ interface HarmonizationOverviewExportType {
2394
+ readonly discriminator: 'harmonization_overview_export_type';
2395
+ readonly origin?: string;
2396
+ readonly destination?: string;
2397
+ readonly sort?: string;
2398
+ }
2246
2399
 
2247
- declare namespace io.flow.shopify.xborder.integration.test.v0.models {
2248
- interface ShopifyOrder {
2249
- readonly id: number;
2250
- readonly order_number: number;
2251
- readonly billing_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2252
- readonly browser_ip?: string;
2253
- readonly buyer_accepts_marketing: boolean;
2254
- readonly cancel_reason?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderCancelReason;
2255
- readonly cancelled_at?: string;
2256
- readonly cart_token?: string;
2257
- readonly client_details: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderClientDetail;
2258
- readonly closed_at?: string;
2259
- readonly created_at: string;
2260
- readonly currency: string;
2261
- readonly total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2262
- readonly current_total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2263
- readonly total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2264
- readonly current_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2265
- readonly original_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2266
- readonly total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2267
- readonly current_total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2268
- readonly subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2269
- readonly current_subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2270
- readonly total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2271
- readonly current_total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2272
- readonly total_line_items_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2273
- readonly customer: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderCustomer;
2274
- readonly customer_locale?: string;
2275
- readonly discount_applications: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountApplication[];
2276
- readonly discount_codes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountCode[];
2277
- readonly email?: string;
2278
- readonly financial_status: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFinancialStatusType;
2279
- readonly fulfillments: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderFulfillment[];
2280
- readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2281
- readonly landing_site?: string;
2282
- readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2283
- readonly location_id?: number;
2284
- readonly name: string;
2285
- readonly note?: string;
2286
- readonly note_attributes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAttribute[];
2287
- readonly number?: number;
2288
- readonly payment_gateway_names: string[];
2289
- readonly processed_at?: string;
2290
- readonly processing_method?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderProcessingMethodType;
2291
- readonly referring_site?: string;
2292
- readonly refunds: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefund[];
2293
- readonly shipping_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2294
- readonly shipping_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderShippingLine[];
2295
- readonly source_name?: string;
2296
- readonly tags?: string;
2297
- readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2298
- readonly taxes_included: boolean;
2299
- readonly token?: string;
2300
- readonly total_weight?: number;
2301
- readonly updated_at?: string;
2302
- readonly user_id?: number;
2303
- readonly order_status_url?: string;
2304
- readonly inventory_behaviour?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderInventoryBehaviour;
2305
- readonly gateway?: string;
2306
- readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2307
- readonly send_receipt?: boolean;
2308
- readonly metafields?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMetafield[];
2400
+ interface HarmonizationTariffCodesExportType {
2401
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
2402
+ readonly sort?: string;
2309
2403
  }
2310
2404
 
2311
- interface ShopifyOrderAddress {
2312
- readonly id?: number;
2313
- readonly address1?: string;
2314
- readonly address2?: string;
2315
- readonly city?: string;
2316
- readonly company?: string;
2317
- readonly country?: string;
2318
- readonly country_code?: string;
2319
- readonly default?: boolean;
2320
- readonly first_name?: string;
2321
- readonly last_name?: string;
2322
- readonly latitude?: number;
2323
- readonly longitude?: number;
2324
- readonly name?: string;
2325
- readonly phone?: string;
2326
- readonly province?: string;
2327
- readonly province_code?: string;
2328
- readonly zip?: string;
2405
+ interface LandedCostItem {
2406
+ readonly number: string;
2407
+ readonly origin: string;
2408
+ readonly destination: string;
2329
2409
  }
2330
2410
 
2331
- interface ShopifyOrderAttribute {
2332
- readonly name: string;
2333
- readonly value: string;
2411
+ interface LocalizedItemPricesExportType {
2412
+ readonly discriminator: 'localized_item_prices_export_type';
2413
+ readonly since?: string;
2334
2414
  }
2335
2415
 
2336
- interface ShopifyOrderClientDetail {
2337
- readonly accept_language?: string;
2338
- readonly browser_height?: number;
2339
- readonly browser_ip?: string;
2340
- readonly browser_width?: number;
2341
- readonly session_hash?: string;
2342
- readonly user_agent?: string;
2416
+ interface MarketingFeedsExportType {
2417
+ readonly discriminator: 'marketing_feeds_export_type';
2418
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2419
+ readonly feed_ids: string[];
2343
2420
  }
2344
2421
 
2345
- interface ShopifyOrderCustomer {
2346
- readonly id?: number;
2347
- readonly email?: string;
2348
- readonly accepts_marketing?: boolean;
2349
- readonly created_at?: string;
2350
- readonly updated_at?: string;
2351
- readonly first_name?: string;
2352
- readonly last_name?: string;
2353
- readonly orders_count?: number;
2354
- readonly state?: string;
2355
- readonly total_spent?: string;
2356
- readonly last_order_id?: number;
2357
- readonly note?: string;
2358
- readonly verified_email?: boolean;
2359
- readonly multipass_identifier?: string;
2360
- readonly tax_exempt?: boolean;
2361
- readonly tax_exemptions?: any /*json*/[];
2362
- readonly phone?: string;
2363
- readonly tags?: string;
2364
- readonly last_order_name?: string;
2365
- readonly currency?: string;
2366
- readonly addresses?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2367
- readonly default_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2422
+ interface OrderExportType {
2423
+ readonly discriminator: 'order_export_type';
2424
+ readonly numbers?: string[];
2425
+ readonly min_hours_since_submitted_at?: number;
2426
+ readonly submitted_on_or_before?: string;
2427
+ readonly submitted_on_or_after?: string;
2428
+ readonly status?: io.flow.experience.v0.enums.OrderStatus;
2429
+ readonly has_tracking_label?: boolean;
2430
+ readonly sort?: string;
2368
2431
  }
2369
2432
 
2370
- interface ShopifyOrderDiscountAllocation {
2371
- readonly amount: string;
2372
- readonly discount_application_index: number;
2373
- readonly amount_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2433
+ interface PriceBookItemExportType {
2434
+ readonly discriminator: 'price_book_item_export_type';
2435
+ readonly price_book_key?: string;
2436
+ readonly item_numbers?: string[];
2437
+ readonly start_date?: string;
2438
+ readonly end_date?: string;
2439
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2374
2440
  }
2375
2441
 
2376
- interface ShopifyOrderDiscountApplication {
2377
- readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationType;
2378
- readonly allocation_method: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountAllocationMethod;
2379
- readonly code?: string;
2380
- readonly description?: string;
2381
- readonly target_selection: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
2382
- readonly target_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetType;
2383
- readonly title?: string;
2384
- readonly value: string;
2385
- readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationValueType;
2442
+ interface ScheduledExport {
2443
+ readonly id: string;
2444
+ readonly user: io.flow.common.v0.models.UserReference;
2445
+ readonly organization_q: string;
2446
+ readonly hour: number;
2447
+ readonly minute: number;
2448
+ readonly timezone: string;
2449
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2450
+ readonly last_sent_at?: string;
2386
2451
  }
2387
2452
 
2388
- interface ShopifyOrderDiscountCode {
2389
- readonly amount: string;
2390
- readonly code: string;
2391
- readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountType;
2453
+ interface ScheduledExportForm {
2454
+ readonly user_id: string;
2455
+ readonly organization_q: string;
2456
+ readonly hour: number;
2457
+ readonly minute: number;
2458
+ readonly timezone: string;
2459
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2392
2460
  }
2393
2461
 
2394
- interface ShopifyOrderDuty {
2462
+ interface SolidusProductExportType {
2463
+ readonly discriminator: 'solidus_product_export_type';
2464
+ readonly numbers?: string[];
2465
+ readonly sort?: string;
2466
+ }
2467
+
2468
+ interface SolidusVariantExportType {
2469
+ readonly discriminator: 'solidus_variant_export_type';
2470
+ readonly numbers?: string[];
2471
+ readonly sort?: string;
2472
+ }
2473
+
2474
+ interface UnharmonizedItemExportType {
2475
+ readonly discriminator: 'unharmonized_item_export_type';
2476
+ readonly sort?: string;
2477
+ }
2478
+ }
2479
+
2480
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2481
+ type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
2482
+ type ExportType =
2483
+ | io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
2484
+ | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
2485
+ | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
2486
+ | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
2487
+ | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
2488
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
2489
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
2490
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
2491
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
2492
+ | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
2493
+ | io.flow.RESERVED_WORD_export.v0.models.OrderExportType
2494
+ | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
2495
+ | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
2496
+ | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
2497
+ | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
2498
+ | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
2499
+ | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
2500
+ }
2501
+
2502
+ declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2503
+ type ReturnStatus = 'open' | 'refunded';
2504
+ type ReturnTrackingStatus =
2505
+ | 'awaiting_customs_clearance'
2506
+ | 'cancel_requested'
2507
+ | 'canceled'
2508
+ | 'collection_attempt_failed'
2509
+ | 'customs_clearance_completed'
2510
+ | 'delivered_to_retailer'
2511
+ | 'in_transit_to_local_hub'
2512
+ | 'in_transit_to_retailer'
2513
+ | 'parcel_added_to_pallet'
2514
+ | 'parcel_delayed'
2515
+ | 'parcel_extracted_from_pallet'
2516
+ | 'parcel_lost'
2517
+ | 'parcel_processed_by_retailer'
2518
+ | 'parcel_under_investigation'
2519
+ | 'processed_by_local_hub'
2520
+ | 'received_at_local_hub'
2521
+ | 'received_by_the_carrier'
2522
+ | 'return_registered_online';
2523
+ }
2524
+
2525
+ declare namespace io.flow.RESERVED_WORD_return.v0.models {
2526
+ interface Return {
2395
2527
  readonly id: string;
2396
- readonly harmonized_system_code: string;
2397
- readonly country_code_of_origin: string;
2398
- readonly presentment_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2399
- readonly shop_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2400
- readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2528
+ readonly key: string;
2529
+ readonly order?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference;
2530
+ readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
2531
+ readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
2532
+ readonly labels?: io.flow.label.v0.models.ShippingLabel[];
2533
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
2534
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
2535
+ readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
2536
+ readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
2537
+ readonly tracking_status_timestamp?: string;
2538
+ readonly carrier_tracking_number?: string;
2401
2539
  }
2402
2540
 
2403
- interface ShopifyOrderFulfillment {
2404
- readonly created_at?: string;
2405
- readonly id?: number;
2406
- readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2407
- readonly location_id: number;
2408
- readonly name: string;
2409
- readonly notify_customer?: boolean;
2410
- readonly order_id?: number;
2411
- readonly receipt?: any /*object*/;
2412
- readonly service: string;
2413
- readonly shipment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
2414
- readonly status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatus;
2415
- readonly tracking_company?: string;
2416
- readonly tracking_number?: string;
2417
- readonly tracking_numbers?: string[];
2418
- readonly tracking_urls?: string[];
2419
- readonly updated_at?: string;
2420
- readonly variant_inventory_management?: string;
2541
+ interface ReturnForm {
2542
+ readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
2543
+ readonly tier_id?: string;
2544
+ readonly order_number?: string;
2545
+ readonly service?: string;
2546
+ readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
2547
+ readonly key?: string;
2548
+ readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
2549
+ readonly center_key?: string;
2550
+ readonly source?: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
2551
+ readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
2552
+ readonly tracking_status_timestamp?: string;
2553
+ readonly carrier_tracking_number?: string;
2554
+ }
2555
+
2556
+ interface ReturnItemReference {
2557
+ readonly number: string;
2558
+ }
2559
+
2560
+ interface ReturnLineItem {
2561
+ readonly item_number: string;
2562
+ readonly order_number?: string;
2563
+ readonly quantity: number;
2564
+ readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
2565
+ readonly notes?: string;
2566
+ readonly attributes?: Record<string, string>;
2567
+ }
2568
+
2569
+ interface ReturnOrderReference {
2570
+ readonly number: string;
2421
2571
  }
2422
2572
 
2423
- interface ShopifyOrderLineItem {
2424
- readonly fulfillable_quantity?: number;
2425
- readonly fulfillment_service: string;
2426
- readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2427
- readonly grams?: number;
2428
- readonly id: number;
2429
- readonly price?: string;
2430
- readonly price_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2431
- readonly product_id?: number;
2432
- readonly quantity: number;
2433
- readonly requires_shipping: boolean;
2434
- readonly sku?: string;
2435
- readonly title?: string;
2436
- readonly variant_id?: number;
2437
- readonly variant_title?: string;
2438
- readonly vendor?: string;
2573
+ interface ReturnReason {
2574
+ readonly name: string;
2575
+ }
2576
+
2577
+ interface ReturnReasonForm {
2439
2578
  readonly name?: string;
2440
- readonly gift_card: boolean;
2441
- readonly properties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderProperty[];
2442
- readonly taxable: boolean;
2443
- readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2444
- readonly tip_payment_gateway?: string;
2445
- readonly tip_payment_method?: string;
2446
- readonly total_discount?: string;
2447
- readonly total_discount_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2448
- readonly discount_allocations?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountAllocation[];
2449
- readonly origin_location: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderOriginLocation;
2450
- readonly variant_inventory_management?: string;
2451
- readonly product_exists?: boolean;
2452
- readonly duties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDuty[];
2453
2579
  }
2454
2580
 
2455
- interface ShopifyOrderMetafield {
2456
- readonly id: number;
2457
- readonly key: string;
2458
- readonly namespace: string;
2459
- readonly value: string;
2460
- readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2461
- readonly description?: string;
2462
- readonly owner_id: number;
2463
- readonly owner_resource: string;
2581
+ interface ReturnReasonPutForm {
2582
+ readonly name?: string;
2464
2583
  }
2465
2584
 
2466
- interface ShopifyOrderMetafieldForm {
2585
+ interface ReturnSourceExternalVendor {
2586
+ readonly discriminator: 'return_source_external_vendor';
2467
2587
  readonly key: string;
2468
- readonly namespace: string;
2469
- readonly value: string;
2470
- readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2471
- readonly description?: string;
2472
2588
  }
2473
2589
 
2474
- interface ShopifyOrderMoney {
2475
- readonly amount: number;
2476
- readonly currency_code: string;
2590
+ interface ReturnSourceFlow {
2591
+ readonly discriminator: 'return_source_flow';
2592
+ readonly attributes?: Record<string, string>;
2477
2593
  }
2478
2594
 
2479
- interface ShopifyOrderMoneySet {
2480
- readonly shop_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2481
- readonly presentment_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2595
+ interface ReturnVersion {
2596
+ readonly id: string;
2597
+ readonly timestamp: string;
2598
+ readonly type: io.flow.common.v0.enums.ChangeType;
2599
+ readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
2482
2600
  }
2601
+ }
2483
2602
 
2484
- interface ShopifyOrderOriginLocation {
2485
- readonly id: number;
2486
- readonly country_code: string;
2487
- readonly province_code: string;
2488
- readonly name: string;
2489
- readonly address1: string;
2490
- readonly address2: string;
2491
- readonly city: string;
2492
- readonly zip: string;
2493
- }
2603
+ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
2604
+ type ReturnSource =
2605
+ | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow
2606
+ | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
2607
+ }
2494
2608
 
2495
- interface ShopifyOrderPaymentDetail {
2496
- readonly avs_result_code?: string;
2497
- readonly credit_card_bin?: string;
2498
- readonly credit_card_company: string;
2499
- readonly credit_card_number: string;
2500
- readonly cvv_result_code?: string;
2609
+ declare namespace io.flow.harmonization.engine.internal.v0.enums {
2610
+ type StatisticType =
2611
+ | 'time-to-classify'
2612
+ | 'time-to-classify-aggregated'
2613
+ | 'rate-source'
2614
+ | 'rate-freshness';
2615
+ }
2616
+
2617
+ declare namespace io.flow.harmonization.engine.internal.v0.models {
2618
+ interface ClassificationRequeueRequest {
2619
+ readonly message: string;
2501
2620
  }
2502
2621
 
2503
- interface ShopifyOrderProperty {
2504
- readonly name: string;
2505
- readonly value: any /*json*/;
2622
+ interface RateDestinationFreshnessSummary {
2623
+ readonly destination: io.flow.reference.v0.models.Country;
2624
+ readonly percentage_updated: number;
2506
2625
  }
2507
2626
 
2508
- interface ShopifyOrderRefund {
2509
- readonly id: number;
2510
- readonly order_id: number;
2511
- readonly created_at: string;
2512
- readonly processed_at: string;
2513
- readonly note?: string;
2514
- readonly refund_line_items?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefundLineItem[];
2515
- readonly restock?: boolean;
2516
- readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2517
- readonly user_id?: number;
2627
+ interface RateFreshnessSummary {
2628
+ readonly discriminator: 'rate-freshness';
2629
+ readonly key: string;
2630
+ readonly updated_since: string;
2631
+ readonly destination_freshness_summaries: io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
2518
2632
  }
2519
2633
 
2520
- interface ShopifyOrderRefundLineItem {
2521
- readonly id: number;
2522
- readonly line_item: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem;
2523
- readonly line_item_id: number;
2524
- readonly quantity: number;
2525
- readonly restock_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderRestockType;
2526
- readonly location_id?: number;
2527
- readonly subtotal?: number;
2528
- readonly total_tax?: number;
2634
+ interface RateSourceCompositionSummary {
2635
+ readonly rate_name: string;
2636
+ readonly percentage_composition: number;
2529
2637
  }
2530
2638
 
2531
- interface ShopifyOrderShippingLine {
2532
- readonly code: string;
2533
- readonly price: string;
2534
- readonly source: string;
2535
- readonly title: string;
2536
- readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2537
- readonly carrier_identifier?: string;
2538
- readonly requested_fulfillment_service_id?: string;
2539
- readonly price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2540
- readonly discounted_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2639
+ interface RateSourceSummary {
2640
+ readonly discriminator: 'rate-source';
2641
+ readonly key: string;
2642
+ readonly destination: io.flow.reference.v0.models.Country;
2643
+ readonly rate_source_composition_summaries: io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
2541
2644
  }
2542
2645
 
2543
- interface ShopifyOrderTaxLine {
2544
- readonly price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2545
- readonly rate: number;
2546
- readonly title: string;
2646
+ interface RequeueRequestForm {
2647
+ readonly product_ids?: string[];
2648
+ readonly hs6_codes?: string[];
2649
+ readonly preferred_item_type?: string;
2650
+ readonly ignore_classification_status: boolean;
2651
+ readonly select_mismatching_item_types: boolean;
2547
2652
  }
2548
2653
 
2549
- interface ShopifyOrderTransaction {
2550
- readonly id: number;
2551
- readonly order_id: number;
2552
- readonly amount: number;
2553
- readonly kind: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderKindType;
2554
- readonly gateway: string;
2555
- readonly currency: string;
2556
- readonly status: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionStatus;
2557
- readonly payment_details?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderPaymentDetail;
2558
- readonly receipt: any /*object*/;
2559
- readonly authorization?: string;
2560
- readonly created_at: string;
2561
- readonly device_id?: number;
2562
- readonly gift_card_id?: number;
2563
- readonly source_name: string;
2564
- readonly error_code?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionErrorCode;
2565
- readonly test: boolean;
2566
- readonly parent_id?: number;
2567
- readonly user_id?: number;
2654
+ interface TimeToClassify {
2655
+ readonly discriminator: 'time-to-classify';
2656
+ readonly key: string;
2657
+ readonly from: string;
2658
+ readonly to: string;
2659
+ readonly organization_id: string;
2660
+ readonly average_hours: number;
2661
+ readonly median_hours: number;
2662
+ readonly percentile_75_hours: number;
2663
+ readonly percentile_90_hours: number;
2664
+ readonly percentile_99_hours: number;
2568
2665
  }
2569
2666
 
2570
- interface ShopifyOrderWrapper {
2571
- readonly order: any /*json*/;
2667
+ interface TimeToClassifyAggregated {
2668
+ readonly discriminator: 'time-to-classify-aggregated';
2669
+ readonly key: string;
2670
+ readonly from: string;
2671
+ readonly to: string;
2672
+ readonly average_hours: number;
2673
+ readonly median_hours: number;
2674
+ readonly percentile_75_hours: number;
2675
+ readonly percentile_90_hours: number;
2676
+ readonly percentile_99_hours: number;
2572
2677
  }
2573
2678
 
2574
- interface ShopifyOrdersWrapper {
2575
- readonly orders: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder[];
2679
+ interface UnclassifiedProductsPurgeRequest {
2680
+ readonly num_deleted_products: Record<string, number>;
2576
2681
  }
2577
2682
  }
2578
2683
 
2684
+ declare namespace io.flow.harmonization.engine.internal.v0.unions {
2685
+ type InternalHarmonizationStatistic =
2686
+ | io.flow.harmonization.engine.internal.v0.models.TimeToClassify
2687
+ | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated
2688
+ | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary
2689
+ | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
2690
+ }
2691
+
2579
2692
  declare namespace io.flow.catalog.internal.v0.models {
2580
2693
  interface CatalogItemBatchIndexTask {
2581
2694
  readonly discriminator: 'catalog_item_batch_index_task';
@@ -4775,7 +4888,7 @@ declare namespace io.flow.brickftp.v0.models {
4775
4888
  readonly id: number;
4776
4889
  readonly path: string;
4777
4890
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
4778
- readonly value: any /*object*/;
4891
+ readonly value: string[];
4779
4892
  }
4780
4893
 
4781
4894
  interface BehaviorForm {
@@ -5014,11 +5127,6 @@ declare namespace io.flow.adyen.v0.models {
5014
5127
  readonly currency: string;
5015
5128
  }
5016
5129
 
5017
- interface Applepay {
5018
- readonly type: 'applepay';
5019
- readonly applePayToken: string;
5020
- }
5021
-
5022
5130
  interface Authentication {
5023
5131
  readonly 'threeds2.fingerprintToken'?: string;
5024
5132
  readonly 'threeds2.challengeToken'?: string;
@@ -5223,7 +5331,7 @@ declare namespace io.flow.adyen.v0.models {
5223
5331
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5224
5332
  readonly origin?: string;
5225
5333
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5226
- readonly returnUrl?: string;
5334
+ readonly returnURL?: string;
5227
5335
  }
5228
5336
 
5229
5337
  interface PaymentResponse {
@@ -5310,9 +5418,7 @@ declare namespace io.flow.adyen.v0.unions {
5310
5418
  type BrowserInfo =
5311
5419
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5312
5420
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5313
- type PaymentMethodData =
5314
- | io.flow.adyen.v0.models.Scheme
5315
- | io.flow.adyen.v0.models.Applepay;
5421
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5316
5422
  }
5317
5423
 
5318
5424
  declare namespace io.flow.order.management.v0.enums {
@@ -10618,6 +10724,14 @@ declare namespace io.flow.label.internal.v0.models {
10618
10724
  readonly default_contents: string;
10619
10725
  }
10620
10726
 
10727
+ interface InvoiceInfoForm {
10728
+ readonly invoice_number: string;
10729
+ readonly invoice_date: string;
10730
+ readonly currency_code: string;
10731
+ readonly invoice_amount: string;
10732
+ readonly control_id?: string;
10733
+ }
10734
+
10621
10735
  interface LabelGenerationSettings {
10622
10736
  readonly id: string;
10623
10737
  readonly item_identifier?: string;
@@ -10630,6 +10744,46 @@ declare namespace io.flow.label.internal.v0.models {
10630
10744
  readonly auto_generate_query?: string;
10631
10745
  readonly commercial_invoice_only_query?: string;
10632
10746
  }
10747
+
10748
+ interface ShipperAccountInfoForm {
10749
+ readonly account_name?: string;
10750
+ readonly account_number: string;
10751
+ readonly postal: string;
10752
+ readonly country: string;
10753
+ readonly invoice_info?: io.flow.label.internal.v0.models.InvoiceInfoForm;
10754
+ }
10755
+
10756
+ interface UpsLicense {
10757
+ readonly access_license_number: string;
10758
+ readonly address: io.flow.common.v0.models.BillingAddress;
10759
+ readonly contact: io.flow.common.v0.models.Contact;
10760
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
10761
+ readonly company_url: string;
10762
+ }
10763
+
10764
+ interface UpsLicenseForm {
10765
+ readonly address: io.flow.common.v0.models.BillingAddress;
10766
+ readonly contact: io.flow.common.v0.models.Contact;
10767
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
10768
+ readonly developer_license_number: string;
10769
+ readonly company_url: string;
10770
+ }
10771
+
10772
+ interface UpsRegistration {
10773
+ readonly username: string;
10774
+ readonly address: io.flow.common.v0.models.BillingAddress;
10775
+ readonly contact: io.flow.common.v0.models.Contact;
10776
+ readonly suggest_username_indicator?: string;
10777
+ }
10778
+
10779
+ interface UpsRegistrationForm {
10780
+ readonly username: string;
10781
+ readonly password: string;
10782
+ readonly access_license_number: string;
10783
+ readonly address: io.flow.common.v0.models.BillingAddress;
10784
+ readonly contact: io.flow.common.v0.models.Contact;
10785
+ readonly shipper_account?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
10786
+ }
10633
10787
  }
10634
10788
 
10635
10789
  declare namespace io.flow.catalog.v0.enums {
@@ -11307,6 +11461,7 @@ declare namespace io.flow.item.v0.models {
11307
11461
  readonly item: io.flow.common.v0.models.CatalogItemReference;
11308
11462
  readonly pricing: io.flow.item.v0.models.LocalItemPricing;
11309
11463
  readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
11464
+ readonly attributes?: Record<string, string>;
11310
11465
  }
11311
11466
 
11312
11467
  interface LocalItemAttributePricing {
@@ -16576,6 +16731,11 @@ declare namespace io.flow.checkout.backend.v0.models {
16576
16731
  readonly message: string;
16577
16732
  }
16578
16733
 
16734
+ interface CheckoutDirectAuthorizationRequirement {
16735
+ readonly discriminator: 'checkout_direct_authorization_requirement';
16736
+ readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
16737
+ }
16738
+
16579
16739
  interface CheckoutDirectDebit {
16580
16740
  readonly discriminator: 'checkout_direct_debit';
16581
16741
  readonly routing_number: string;
@@ -16605,6 +16765,14 @@ declare namespace io.flow.checkout.backend.v0.models {
16605
16765
  readonly url: string;
16606
16766
  }
16607
16767
 
16768
+ interface CheckoutInitiateDirectPaymentForm {
16769
+ readonly discriminator: 'initiate_direct_payment_form';
16770
+ readonly token: string;
16771
+ readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
16772
+ readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
16773
+ readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
16774
+ }
16775
+
16608
16776
  interface CheckoutInitiateInlinePaymentForm {
16609
16777
  readonly discriminator: 'initiate_inline_payment_form';
16610
16778
  readonly payment_method_id: string;
@@ -16959,7 +17127,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
16959
17127
  | io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
16960
17128
  type CheckoutInitiatePaymentForm =
16961
17129
  | io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm
16962
- | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm;
17130
+ | io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm
17131
+ | io.flow.checkout.backend.v0.models.CheckoutInitiateDirectPaymentForm;
16963
17132
  type CheckoutOrder =
16964
17133
  | io.flow.checkout.backend.v0.models.CheckoutOpenOrder
16965
17134
  | io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
@@ -16978,7 +17147,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
16978
17147
  | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
16979
17148
  type CheckoutPaymentActionRequirement =
16980
17149
  | io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement
16981
- | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement;
17150
+ | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement
17151
+ | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement;
16982
17152
  type CheckoutPaymentDetailsForm =
16983
17153
  | io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload
16984
17154
  | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload
@@ -20009,6 +20179,11 @@ declare namespace io.flow.internal.v0.models {
20009
20179
  readonly message: string;
20010
20180
  }
20011
20181
 
20182
+ interface CheckoutDirectAuthorizationRequirement {
20183
+ readonly discriminator: 'checkout_direct_authorization_requirement';
20184
+ readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
20185
+ }
20186
+
20012
20187
  interface CheckoutDirectDebit {
20013
20188
  readonly discriminator: 'checkout_direct_debit';
20014
20189
  readonly routing_number: string;
@@ -20257,6 +20432,14 @@ declare namespace io.flow.internal.v0.models {
20257
20432
  readonly data: io.flow.payment.v0.models.PublicKey;
20258
20433
  }
20259
20434
 
20435
+ interface CheckoutInitiateDirectPaymentForm {
20436
+ readonly discriminator: 'initiate_direct_payment_form';
20437
+ readonly token: string;
20438
+ readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
20439
+ readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
20440
+ readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
20441
+ }
20442
+
20260
20443
  interface CheckoutInitiateInlinePaymentForm {
20261
20444
  readonly discriminator: 'initiate_inline_payment_form';
20262
20445
  readonly payment_method_id: string;
@@ -24230,7 +24413,7 @@ declare namespace io.flow.internal.v0.models {
24230
24413
  readonly event_id: string;
24231
24414
  readonly timestamp: string;
24232
24415
  readonly organization: string;
24233
- readonly item: io.flow.internal.v0.models.LocalizedPriceBookItem;
24416
+ readonly id: string;
24234
24417
  }
24235
24418
 
24236
24419
  interface LocalizedPriceBookItemUpserted {
@@ -27061,7 +27244,7 @@ declare namespace io.flow.internal.v0.models {
27061
27244
  }
27062
27245
 
27063
27246
  interface XborderOrder {
27064
- readonly shopify_order: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder;
27247
+ readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
27065
27248
  readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
27066
27249
  }
27067
27250
  }
@@ -27141,7 +27324,8 @@ declare namespace io.flow.internal.v0.unions {
27141
27324
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
27142
27325
  type CheckoutInitiatePaymentForm =
27143
27326
  | io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
27144
- | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
27327
+ | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm
27328
+ | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
27145
27329
  type CheckoutInput =
27146
27330
  | io.flow.internal.v0.models.CheckoutInputAddAttributes
27147
27331
  | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet
@@ -27178,7 +27362,8 @@ declare namespace io.flow.internal.v0.unions {
27178
27362
  | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
27179
27363
  type CheckoutPaymentActionRequirement =
27180
27364
  | io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement
27181
- | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement;
27365
+ | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement
27366
+ | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
27182
27367
  type CheckoutPaymentDetailsForm =
27183
27368
  | io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload
27184
27369
  | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload
@@ -28020,6 +28205,7 @@ export type CheckoutDeliveryWindow = io.flow.internal.v0.unions.CheckoutDelivery
28020
28205
  export type CheckoutDeliveryWindowEstimate = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate;
28021
28206
  export type CheckoutDeliveryWindowEstimateDays = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimateDays;
28022
28207
  export type CheckoutDeliveryWindowStatic = io.flow.internal.v0.models.CheckoutDeliveryWindowStatic;
28208
+ export type CheckoutDirectAuthorizationRequirement = io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
28023
28209
  export type CheckoutDirectDebit = io.flow.internal.v0.models.CheckoutDirectDebit;
28024
28210
  export type CheckoutError = io.flow.internal.v0.models.CheckoutError;
28025
28211
  export type CheckoutErrorCode = io.flow.internal.v0.enums.CheckoutErrorCode;
@@ -28083,6 +28269,7 @@ export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutIn
28083
28269
  export type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
28084
28270
  export type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
28085
28271
  export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
28272
+ export type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
28086
28273
  export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
28087
28274
  export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
28088
28275
  export type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;