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