@flowio/api-internal-prop-types 9.11.0 → 9.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.
@@ -1220,6 +1220,451 @@ declare namespace io.flow.experience.v0.unions {
1220
1220
  type Promotion = (io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount);
1221
1221
  }
1222
1222
 
1223
+ declare namespace io.flow.shopify.xborder.v0.enums {
1224
+ type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
1225
+ type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
1226
+ type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
1227
+ type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
1228
+ type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
1229
+ type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
1230
+ type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
1231
+ type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
1232
+ type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
1233
+ type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
1234
+ type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1235
+ type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
1236
+ type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
1237
+ type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
1238
+ type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
1239
+ type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
1240
+ type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
1241
+ type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
1242
+ type ShopifyOrderValueType = 'string' | 'integer';
1243
+ type ShopifyWebhookFormat = 'json' | 'xml';
1244
+ type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/update';
1245
+ }
1246
+
1247
+ declare namespace io.flow.shopify.xborder.v0.models {
1248
+ interface ShopifyOrder {
1249
+ readonly 'id': number;
1250
+ readonly 'order_number': number;
1251
+ readonly 'billing_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1252
+ readonly 'browser_ip'?: string;
1253
+ readonly 'buyer_accepts_marketing': boolean;
1254
+ readonly 'cancel_reason'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
1255
+ readonly 'cancelled_at'?: string;
1256
+ readonly 'cart_token'?: string;
1257
+ readonly 'client_details': io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
1258
+ readonly 'closed_at'?: string;
1259
+ readonly 'created_at': string;
1260
+ readonly 'currency': string;
1261
+ readonly 'total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1262
+ readonly 'current_total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1263
+ readonly 'total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1264
+ readonly 'current_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1265
+ readonly 'original_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1266
+ readonly 'total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1267
+ readonly 'current_total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1268
+ readonly 'subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1269
+ readonly 'current_subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1270
+ readonly 'total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1271
+ readonly 'current_total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1272
+ readonly 'total_line_items_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1273
+ readonly 'customer': io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
1274
+ readonly 'customer_locale'?: string;
1275
+ readonly 'discount_applications': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
1276
+ readonly 'discount_codes': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
1277
+ readonly 'email'?: string;
1278
+ readonly 'financial_status': io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
1279
+ readonly 'fulfillments': io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
1280
+ readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1281
+ readonly 'landing_site'?: string;
1282
+ readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1283
+ readonly 'location_id'?: number;
1284
+ readonly 'name': string;
1285
+ readonly 'note'?: string;
1286
+ readonly 'note_attributes': io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
1287
+ readonly 'number'?: number;
1288
+ readonly 'payment_gateway_names': string[];
1289
+ readonly 'processed_at'?: string;
1290
+ readonly 'processing_method'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
1291
+ readonly 'referring_site'?: string;
1292
+ readonly 'refunds': io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
1293
+ readonly 'shipping_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1294
+ readonly 'shipping_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
1295
+ readonly 'source_name'?: string;
1296
+ readonly 'tags'?: string;
1297
+ readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1298
+ readonly 'taxes_included': boolean;
1299
+ readonly 'token'?: string;
1300
+ readonly 'total_weight'?: number;
1301
+ readonly 'updated_at'?: string;
1302
+ readonly 'user_id'?: number;
1303
+ readonly 'order_status_url'?: string;
1304
+ readonly 'inventory_behaviour'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1305
+ readonly 'gateway'?: string;
1306
+ readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1307
+ readonly 'send_receipt'?: boolean;
1308
+ readonly 'metafields'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
1309
+ }
1310
+
1311
+ interface ShopifyOrderAddress {
1312
+ readonly 'id'?: number;
1313
+ readonly 'address1'?: string;
1314
+ readonly 'address2'?: string;
1315
+ readonly 'city'?: string;
1316
+ readonly 'company'?: string;
1317
+ readonly 'country'?: string;
1318
+ readonly 'country_code'?: string;
1319
+ readonly 'default'?: boolean;
1320
+ readonly 'first_name'?: string;
1321
+ readonly 'last_name'?: string;
1322
+ readonly 'latitude'?: number;
1323
+ readonly 'longitude'?: number;
1324
+ readonly 'name'?: string;
1325
+ readonly 'phone'?: string;
1326
+ readonly 'province'?: string;
1327
+ readonly 'province_code'?: string;
1328
+ readonly 'zip'?: string;
1329
+ }
1330
+
1331
+ interface ShopifyOrderAttribute {
1332
+ readonly 'name': string;
1333
+ readonly 'value': string;
1334
+ }
1335
+
1336
+ interface ShopifyOrderClientDetail {
1337
+ readonly 'accept_language'?: string;
1338
+ readonly 'browser_height'?: number;
1339
+ readonly 'browser_ip'?: string;
1340
+ readonly 'browser_width'?: number;
1341
+ readonly 'session_hash'?: string;
1342
+ readonly 'user_agent'?: string;
1343
+ }
1344
+
1345
+ interface ShopifyOrderCustomer {
1346
+ readonly 'id'?: number;
1347
+ readonly 'email'?: string;
1348
+ readonly 'accepts_marketing'?: boolean;
1349
+ readonly 'created_at'?: string;
1350
+ readonly 'updated_at'?: string;
1351
+ readonly 'first_name'?: string;
1352
+ readonly 'last_name'?: string;
1353
+ readonly 'orders_count'?: number;
1354
+ readonly 'state'?: string;
1355
+ readonly 'total_spent'?: string;
1356
+ readonly 'last_order_id'?: number;
1357
+ readonly 'note'?: string;
1358
+ readonly 'verified_email'?: boolean;
1359
+ readonly 'multipass_identifier'?: string;
1360
+ readonly 'tax_exempt'?: boolean;
1361
+ readonly 'tax_exemptions'?: any/*json*/[];
1362
+ readonly 'phone'?: string;
1363
+ readonly 'tags'?: string;
1364
+ readonly 'last_order_name'?: string;
1365
+ readonly 'currency'?: string;
1366
+ readonly 'addresses'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1367
+ readonly 'default_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1368
+ }
1369
+
1370
+ interface ShopifyOrderDiscountAllocation {
1371
+ readonly 'amount': string;
1372
+ readonly 'discount_application_index': number;
1373
+ readonly 'amount_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1374
+ }
1375
+
1376
+ interface ShopifyOrderDiscountApplication {
1377
+ readonly 'type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
1378
+ readonly 'allocation_method': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
1379
+ readonly 'code'?: string;
1380
+ readonly 'description'?: string;
1381
+ readonly 'target_selection': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
1382
+ readonly 'target_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
1383
+ readonly 'title'?: string;
1384
+ readonly 'value': string;
1385
+ readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
1386
+ }
1387
+
1388
+ interface ShopifyOrderDiscountCode {
1389
+ readonly 'amount': string;
1390
+ readonly 'code': string;
1391
+ readonly 'type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
1392
+ }
1393
+
1394
+ interface ShopifyOrderDuty {
1395
+ readonly 'id': string;
1396
+ readonly 'harmonized_system_code': string;
1397
+ readonly 'country_code_of_origin': string;
1398
+ readonly 'presentment_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1399
+ readonly 'shop_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1400
+ readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1401
+ }
1402
+
1403
+ interface ShopifyOrderFulfillment {
1404
+ readonly 'created_at'?: string;
1405
+ readonly 'id'?: number;
1406
+ readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1407
+ readonly 'location_id': number;
1408
+ readonly 'name': string;
1409
+ readonly 'notify_customer'?: boolean;
1410
+ readonly 'order_id'?: number;
1411
+ readonly 'receipt'?: any/*object*/;
1412
+ readonly 'service': string;
1413
+ readonly 'shipment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
1414
+ readonly 'status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
1415
+ readonly 'tracking_company'?: string;
1416
+ readonly 'tracking_number'?: string;
1417
+ readonly 'tracking_numbers'?: string[];
1418
+ readonly 'tracking_urls'?: string[];
1419
+ readonly 'updated_at'?: string;
1420
+ readonly 'variant_inventory_management'?: string;
1421
+ }
1422
+
1423
+ interface ShopifyOrderLineItem {
1424
+ readonly 'fulfillable_quantity'?: number;
1425
+ readonly 'fulfillment_service': string;
1426
+ readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1427
+ readonly 'grams'?: number;
1428
+ readonly 'id': number;
1429
+ readonly 'price'?: string;
1430
+ readonly 'price_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1431
+ readonly 'product_id'?: number;
1432
+ readonly 'quantity': number;
1433
+ readonly 'requires_shipping': boolean;
1434
+ readonly 'sku'?: string;
1435
+ readonly 'title'?: string;
1436
+ readonly 'variant_id'?: number;
1437
+ readonly 'variant_title'?: string;
1438
+ readonly 'vendor'?: string;
1439
+ readonly 'name'?: string;
1440
+ readonly 'gift_card': boolean;
1441
+ readonly 'properties': io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
1442
+ readonly 'taxable': boolean;
1443
+ readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1444
+ readonly 'tip_payment_gateway'?: string;
1445
+ readonly 'tip_payment_method'?: string;
1446
+ readonly 'total_discount'?: string;
1447
+ readonly 'total_discount_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1448
+ readonly 'discount_allocations'?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
1449
+ readonly 'origin_location'?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
1450
+ readonly 'variant_inventory_management'?: string;
1451
+ readonly 'product_exists'?: boolean;
1452
+ readonly 'duties': io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
1453
+ }
1454
+
1455
+ interface ShopifyOrderMetafield {
1456
+ readonly 'id': number;
1457
+ readonly 'key': string;
1458
+ readonly 'namespace': string;
1459
+ readonly 'value': string;
1460
+ readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
1461
+ readonly 'description'?: string;
1462
+ readonly 'owner_id': number;
1463
+ readonly 'owner_resource': string;
1464
+ }
1465
+
1466
+ interface ShopifyOrderMetafieldForm {
1467
+ readonly 'key': string;
1468
+ readonly 'namespace': string;
1469
+ readonly 'value': string;
1470
+ readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
1471
+ readonly 'description'?: string;
1472
+ }
1473
+
1474
+ interface ShopifyOrderMoney {
1475
+ readonly 'amount': number;
1476
+ readonly 'currency_code': string;
1477
+ }
1478
+
1479
+ interface ShopifyOrderMoneySet {
1480
+ readonly 'shop_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1481
+ readonly 'presentment_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1482
+ }
1483
+
1484
+ interface ShopifyOrderOriginLocation {
1485
+ readonly 'id': number;
1486
+ readonly 'country_code': string;
1487
+ readonly 'province_code': string;
1488
+ readonly 'name': string;
1489
+ readonly 'address1': string;
1490
+ readonly 'address2': string;
1491
+ readonly 'city': string;
1492
+ readonly 'zip': string;
1493
+ }
1494
+
1495
+ interface ShopifyOrderPaymentDetail {
1496
+ readonly 'avs_result_code'?: string;
1497
+ readonly 'credit_card_bin'?: string;
1498
+ readonly 'credit_card_company': string;
1499
+ readonly 'credit_card_number': string;
1500
+ readonly 'cvv_result_code'?: string;
1501
+ }
1502
+
1503
+ interface ShopifyOrderProperty {
1504
+ readonly 'name': string;
1505
+ readonly 'value': any/*json*/;
1506
+ }
1507
+
1508
+ interface ShopifyOrderRefund {
1509
+ readonly 'id': number;
1510
+ readonly 'order_id': number;
1511
+ readonly 'created_at': string;
1512
+ readonly 'processed_at': string;
1513
+ readonly 'note'?: string;
1514
+ readonly 'refund_line_items'?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
1515
+ readonly 'restock'?: boolean;
1516
+ readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1517
+ readonly 'user_id'?: number;
1518
+ }
1519
+
1520
+ interface ShopifyOrderRefundLineItem {
1521
+ readonly 'id': number;
1522
+ readonly 'line_item': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
1523
+ readonly 'line_item_id': number;
1524
+ readonly 'quantity': number;
1525
+ readonly 'restock_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
1526
+ readonly 'location_id'?: number;
1527
+ readonly 'subtotal'?: number;
1528
+ readonly 'total_tax'?: number;
1529
+ }
1530
+
1531
+ interface ShopifyOrderShippingLine {
1532
+ readonly 'code'?: string;
1533
+ readonly 'price': string;
1534
+ readonly 'source': string;
1535
+ readonly 'title': string;
1536
+ readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1537
+ readonly 'carrier_identifier'?: string;
1538
+ readonly 'requested_fulfillment_service_id'?: string;
1539
+ readonly 'price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1540
+ readonly 'discounted_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1541
+ }
1542
+
1543
+ interface ShopifyOrderTaxLine {
1544
+ readonly 'price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1545
+ readonly 'rate': number;
1546
+ readonly 'title': string;
1547
+ }
1548
+
1549
+ interface ShopifyOrderTransaction {
1550
+ readonly 'id': number;
1551
+ readonly 'order_id': number;
1552
+ readonly 'amount': number;
1553
+ readonly 'kind': io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
1554
+ readonly 'gateway': string;
1555
+ readonly 'currency': string;
1556
+ readonly 'status': io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
1557
+ readonly 'payment_details'?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
1558
+ readonly 'receipt': any/*object*/;
1559
+ readonly 'authorization'?: string;
1560
+ readonly 'created_at': string;
1561
+ readonly 'device_id'?: number;
1562
+ readonly 'gift_card_id'?: number;
1563
+ readonly 'source_name': string;
1564
+ readonly 'error_code'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
1565
+ readonly 'test': boolean;
1566
+ readonly 'parent_id'?: number;
1567
+ readonly 'user_id'?: number;
1568
+ }
1569
+
1570
+ interface ShopifyOrderWrapper {
1571
+ readonly 'order': any/*json*/;
1572
+ }
1573
+
1574
+ interface ShopifyOrdersWrapper {
1575
+ readonly 'orders': io.flow.shopify.xborder.v0.models.ShopifyOrder[];
1576
+ }
1577
+
1578
+ interface ShopifyWebhookOrder {
1579
+ readonly 'id': number;
1580
+ readonly 'order_number': number;
1581
+ readonly 'billing_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1582
+ readonly 'browser_ip'?: string;
1583
+ readonly 'buyer_accepts_marketing': boolean;
1584
+ readonly 'cancel_reason'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
1585
+ readonly 'cancelled_at'?: string;
1586
+ readonly 'cart_token'?: string;
1587
+ readonly 'client_details'?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
1588
+ readonly 'closed_at'?: string;
1589
+ readonly 'created_at': string;
1590
+ readonly 'currency': string;
1591
+ readonly 'total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1592
+ readonly 'total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1593
+ readonly 'original_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1594
+ readonly 'total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1595
+ readonly 'subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1596
+ readonly 'total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1597
+ readonly 'total_line_items_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
1598
+ readonly 'customer': io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
1599
+ readonly 'customer_locale'?: string;
1600
+ readonly 'discount_applications': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
1601
+ readonly 'discount_codes': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
1602
+ readonly 'email'?: string;
1603
+ readonly 'financial_status': io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
1604
+ readonly 'fulfillments': io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
1605
+ readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
1606
+ readonly 'landing_site'?: string;
1607
+ readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
1608
+ readonly 'location_id'?: number;
1609
+ readonly 'name': string;
1610
+ readonly 'note'?: string;
1611
+ readonly 'note_attributes': io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
1612
+ readonly 'number'?: number;
1613
+ readonly 'payment_gateway_names': string[];
1614
+ readonly 'processed_at'?: string;
1615
+ readonly 'processing_method'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
1616
+ readonly 'referring_site'?: string;
1617
+ readonly 'refunds': io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
1618
+ readonly 'shipping_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
1619
+ readonly 'shipping_lines'?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
1620
+ readonly 'source_name'?: string;
1621
+ readonly 'tags'?: string;
1622
+ readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1623
+ readonly 'taxes_included': boolean;
1624
+ readonly 'token'?: string;
1625
+ readonly 'total_weight'?: number;
1626
+ readonly 'updated_at'?: string;
1627
+ readonly 'user_id'?: number;
1628
+ readonly 'order_status_url'?: string;
1629
+ readonly 'inventory_behaviour'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1630
+ readonly 'gateway'?: string;
1631
+ readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1632
+ readonly 'send_receipt'?: boolean;
1633
+ readonly 'metafields'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
1634
+ }
1635
+
1636
+ interface ShopifyWebhookRequest {
1637
+ readonly 'topic': io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
1638
+ readonly 'address': string;
1639
+ readonly 'format': io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
1640
+ }
1641
+
1642
+ interface ShopifyWebhookRequestWrapper {
1643
+ readonly 'webhook': io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
1644
+ }
1645
+
1646
+ interface ShopifyWebhookResponse {
1647
+ readonly 'id': number;
1648
+ readonly 'address': string;
1649
+ readonly 'topic': io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
1650
+ readonly 'created_at': string;
1651
+ readonly 'updated_at': string;
1652
+ readonly 'format': io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
1653
+ readonly 'fields': any/*json*/[];
1654
+ readonly 'metafield_namespaces': any/*json*/[];
1655
+ readonly 'api_version': string;
1656
+ readonly 'private_metafield_namespaces': any/*json*/[];
1657
+ }
1658
+
1659
+ interface ShopifyWebhookResponseWrapper {
1660
+ readonly 'webhook': io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
1661
+ }
1662
+
1663
+ interface ShopifyWebhooksResponseWrapper {
1664
+ readonly 'webhooks': io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
1665
+ }
1666
+ }
1667
+
1223
1668
  declare namespace io.flow.reference.v0.enums {
1224
1669
  type PaymentMethodCapability = 'credit' | 'debit';
1225
1670
  type PaymentMethodType = 'card' | 'online' | 'offline';
@@ -1845,486 +2290,132 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
1845
2290
  readonly 'carrier_tracking_number'?: string;
1846
2291
  }
1847
2292
 
1848
- interface ReturnItemReference {
1849
- readonly 'number': string;
1850
- }
1851
-
1852
- interface ReturnLineItem {
1853
- readonly 'item_number': string;
1854
- readonly 'order_number'?: string;
1855
- readonly 'quantity': number;
1856
- readonly 'reason'?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
1857
- readonly 'notes'?: string;
1858
- readonly 'attributes'?: Record<string, string>;
1859
- }
1860
-
1861
- interface ReturnOrderReference {
1862
- readonly 'number': string;
1863
- }
1864
-
1865
- interface ReturnReason {
1866
- readonly 'name': string;
1867
- }
1868
-
1869
- interface ReturnReasonForm {
1870
- readonly 'name'?: string;
1871
- }
1872
-
1873
- interface ReturnReasonPutForm {
1874
- readonly 'name'?: string;
1875
- }
1876
-
1877
- interface ReturnSourceExternalVendor {
1878
- readonly 'discriminator': 'return_source_external_vendor';
1879
- readonly 'key': string;
1880
- }
1881
-
1882
- interface ReturnSourceFlow {
1883
- readonly 'discriminator': 'return_source_flow';
1884
- readonly 'attributes'?: Record<string, string>;
1885
- }
1886
-
1887
- interface ReturnVersion {
1888
- readonly 'id': string;
1889
- readonly 'timestamp': string;
1890
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1891
- readonly 'return': io.flow.RESERVED_WORD_return.v0.models.Return;
1892
- }
1893
- }
1894
-
1895
- declare namespace io.flow.RESERVED_WORD_return.v0.unions {
1896
- type ReturnSource = (io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor);
1897
- }
1898
-
1899
- declare namespace io.flow.harmonization.engine.internal.v0.enums {
1900
- type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
1901
- }
1902
-
1903
- declare namespace io.flow.harmonization.engine.internal.v0.models {
1904
- interface ClassificationRequeueRequest {
1905
- readonly 'message': string;
1906
- }
1907
-
1908
- interface RateDestinationFreshnessSummary {
1909
- readonly 'destination': io.flow.reference.v0.models.Country;
1910
- readonly 'percentage_updated': number;
1911
- }
1912
-
1913
- interface RateFreshnessSummary {
1914
- readonly 'discriminator': 'rate-freshness';
1915
- readonly 'key': string;
1916
- readonly 'updated_since': string;
1917
- readonly 'destination_freshness_summaries': io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
1918
- }
1919
-
1920
- interface RateSourceCompositionSummary {
1921
- readonly 'rate_name': string;
1922
- readonly 'percentage_composition': number;
1923
- }
1924
-
1925
- interface RateSourceSummary {
1926
- readonly 'discriminator': 'rate-source';
1927
- readonly 'key': string;
1928
- readonly 'destination': io.flow.reference.v0.models.Country;
1929
- readonly 'rate_source_composition_summaries': io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
1930
- }
1931
-
1932
- interface RequeueRequestForm {
1933
- readonly 'product_ids'?: string[];
1934
- readonly 'hs6_codes'?: string[];
1935
- readonly 'preferred_item_type'?: string;
1936
- readonly 'ignore_classification_status': boolean;
1937
- readonly 'select_mismatching_item_types': boolean;
1938
- }
1939
-
1940
- interface TimeToClassify {
1941
- readonly 'discriminator': 'time-to-classify';
1942
- readonly 'key': string;
1943
- readonly 'from': string;
1944
- readonly 'to': string;
1945
- readonly 'organization_id': string;
1946
- readonly 'average_hours': number;
1947
- readonly 'median_hours': number;
1948
- readonly 'percentile_75_hours': number;
1949
- readonly 'percentile_90_hours': number;
1950
- readonly 'percentile_99_hours': number;
1951
- }
1952
-
1953
- interface TimeToClassifyAggregated {
1954
- readonly 'discriminator': 'time-to-classify-aggregated';
1955
- readonly 'key': string;
1956
- readonly 'from': string;
1957
- readonly 'to': string;
1958
- readonly 'average_hours': number;
1959
- readonly 'median_hours': number;
1960
- readonly 'percentile_75_hours': number;
1961
- readonly 'percentile_90_hours': number;
1962
- readonly 'percentile_99_hours': number;
1963
- }
1964
-
1965
- interface UnclassifiedProductsPurgeRequest {
1966
- readonly 'num_deleted_products': Record<string, number>;
1967
- }
1968
- }
1969
-
1970
- declare namespace io.flow.harmonization.engine.internal.v0.unions {
1971
- type InternalHarmonizationStatistic = (io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary);
1972
- }
1973
-
1974
- declare namespace io.flow.shopify.xborder.integration.test.v0.enums {
1975
- type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
1976
- type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
1977
- type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
1978
- type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
1979
- type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
1980
- type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
1981
- type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
1982
- type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
1983
- type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
1984
- type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
1985
- type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1986
- type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
1987
- type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
1988
- type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
1989
- type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
1990
- type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
1991
- type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
1992
- type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
1993
- type ShopifyOrderValueType = 'string' | 'integer';
1994
- }
1995
-
1996
- declare namespace io.flow.shopify.xborder.integration.test.v0.models {
1997
- interface ShopifyOrder {
1998
- readonly 'id': number;
1999
- readonly 'order_number': number;
2000
- readonly 'billing_address'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2001
- readonly 'browser_ip'?: string;
2002
- readonly 'buyer_accepts_marketing': boolean;
2003
- readonly 'cancel_reason'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderCancelReason;
2004
- readonly 'cancelled_at'?: string;
2005
- readonly 'cart_token'?: string;
2006
- readonly 'client_details': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderClientDetail;
2007
- readonly 'closed_at'?: string;
2008
- readonly 'created_at': string;
2009
- readonly 'currency': string;
2010
- readonly 'total_discounts_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2011
- readonly 'current_total_discounts_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2012
- readonly 'total_duties_set'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2013
- readonly 'current_total_duties_set'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2014
- readonly 'original_total_duties_set'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2015
- readonly 'total_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2016
- readonly 'current_total_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2017
- readonly 'subtotal_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2018
- readonly 'current_subtotal_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2019
- readonly 'total_tax_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2020
- readonly 'current_total_tax_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2021
- readonly 'total_line_items_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2022
- readonly 'customer': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderCustomer;
2023
- readonly 'customer_locale'?: string;
2024
- readonly 'discount_applications': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountApplication[];
2025
- readonly 'discount_codes': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountCode[];
2026
- readonly 'email'?: string;
2027
- readonly 'financial_status': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFinancialStatusType;
2028
- readonly 'fulfillments': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderFulfillment[];
2029
- readonly 'fulfillment_status'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2030
- readonly 'landing_site'?: string;
2031
- readonly 'line_items': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2032
- readonly 'location_id'?: number;
2033
- readonly 'name': string;
2034
- readonly 'note'?: string;
2035
- readonly 'note_attributes': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAttribute[];
2036
- readonly 'number'?: number;
2037
- readonly 'payment_gateway_names': string[];
2038
- readonly 'processed_at'?: string;
2039
- readonly 'processing_method'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderProcessingMethodType;
2040
- readonly 'referring_site'?: string;
2041
- readonly 'refunds': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefund[];
2042
- readonly 'shipping_address'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2043
- readonly 'shipping_lines': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderShippingLine[];
2044
- readonly 'source_name'?: string;
2045
- readonly 'tags'?: string;
2046
- readonly 'tax_lines': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2047
- readonly 'taxes_included': boolean;
2048
- readonly 'token'?: string;
2049
- readonly 'total_weight'?: number;
2050
- readonly 'updated_at'?: string;
2051
- readonly 'user_id'?: number;
2052
- readonly 'order_status_url'?: string;
2053
- readonly 'inventory_behaviour'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderInventoryBehaviour;
2054
- readonly 'gateway'?: string;
2055
- readonly 'transactions'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2056
- readonly 'send_receipt'?: boolean;
2057
- readonly 'metafields'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMetafield[];
2058
- }
2059
-
2060
- interface ShopifyOrderAddress {
2061
- readonly 'id'?: number;
2062
- readonly 'address1'?: string;
2063
- readonly 'address2'?: string;
2064
- readonly 'city'?: string;
2065
- readonly 'company'?: string;
2066
- readonly 'country'?: string;
2067
- readonly 'country_code'?: string;
2068
- readonly 'default'?: boolean;
2069
- readonly 'first_name'?: string;
2070
- readonly 'last_name'?: string;
2071
- readonly 'latitude'?: number;
2072
- readonly 'longitude'?: number;
2073
- readonly 'name'?: string;
2074
- readonly 'phone'?: string;
2075
- readonly 'province'?: string;
2076
- readonly 'province_code'?: string;
2077
- readonly 'zip'?: string;
2078
- }
2079
-
2080
- interface ShopifyOrderAttribute {
2081
- readonly 'name': string;
2082
- readonly 'value': string;
2083
- }
2084
-
2085
- interface ShopifyOrderClientDetail {
2086
- readonly 'accept_language'?: string;
2087
- readonly 'browser_height'?: number;
2088
- readonly 'browser_ip'?: string;
2089
- readonly 'browser_width'?: number;
2090
- readonly 'session_hash'?: string;
2091
- readonly 'user_agent'?: string;
2092
- }
2093
-
2094
- interface ShopifyOrderCustomer {
2095
- readonly 'id'?: number;
2096
- readonly 'email'?: string;
2097
- readonly 'accepts_marketing'?: boolean;
2098
- readonly 'created_at'?: string;
2099
- readonly 'updated_at'?: string;
2100
- readonly 'first_name'?: string;
2101
- readonly 'last_name'?: string;
2102
- readonly 'orders_count'?: number;
2103
- readonly 'state'?: string;
2104
- readonly 'total_spent'?: string;
2105
- readonly 'last_order_id'?: number;
2106
- readonly 'note'?: string;
2107
- readonly 'verified_email'?: boolean;
2108
- readonly 'multipass_identifier'?: string;
2109
- readonly 'tax_exempt'?: boolean;
2110
- readonly 'tax_exemptions'?: any/*json*/[];
2111
- readonly 'phone'?: string;
2112
- readonly 'tags'?: string;
2113
- readonly 'last_order_name'?: string;
2114
- readonly 'currency'?: string;
2115
- readonly 'addresses'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2116
- readonly 'default_address'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2117
- }
2118
-
2119
- interface ShopifyOrderDiscountAllocation {
2120
- readonly 'amount': string;
2121
- readonly 'discount_application_index': number;
2122
- readonly 'amount_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2123
- }
2124
-
2125
- interface ShopifyOrderDiscountApplication {
2126
- readonly 'type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationType;
2127
- readonly 'allocation_method': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountAllocationMethod;
2128
- readonly 'code'?: string;
2129
- readonly 'description'?: string;
2130
- readonly 'target_selection': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
2131
- readonly 'target_type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetType;
2132
- readonly 'title'?: string;
2133
- readonly 'value': string;
2134
- readonly 'value_type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationValueType;
2135
- }
2136
-
2137
- interface ShopifyOrderDiscountCode {
2138
- readonly 'amount': string;
2139
- readonly 'code': string;
2140
- readonly 'type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountType;
2293
+ interface ReturnItemReference {
2294
+ readonly 'number': string;
2141
2295
  }
2142
2296
 
2143
- interface ShopifyOrderDuty {
2144
- readonly 'id': string;
2145
- readonly 'harmonized_system_code': string;
2146
- readonly 'country_code_of_origin': string;
2147
- readonly 'presentment_money': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2148
- readonly 'shop_money': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2149
- readonly 'tax_lines': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2297
+ interface ReturnLineItem {
2298
+ readonly 'item_number': string;
2299
+ readonly 'order_number'?: string;
2300
+ readonly 'quantity': number;
2301
+ readonly 'reason'?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
2302
+ readonly 'notes'?: string;
2303
+ readonly 'attributes'?: Record<string, string>;
2150
2304
  }
2151
2305
 
2152
- interface ShopifyOrderFulfillment {
2153
- readonly 'created_at'?: string;
2154
- readonly 'id'?: number;
2155
- readonly 'line_items': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2156
- readonly 'location_id': number;
2306
+ interface ReturnOrderReference {
2307
+ readonly 'number': string;
2308
+ }
2309
+
2310
+ interface ReturnReason {
2157
2311
  readonly 'name': string;
2158
- readonly 'notify_customer'?: boolean;
2159
- readonly 'order_id'?: number;
2160
- readonly 'receipt'?: any/*object*/;
2161
- readonly 'service': string;
2162
- readonly 'shipment_status'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
2163
- readonly 'status'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatus;
2164
- readonly 'tracking_company'?: string;
2165
- readonly 'tracking_number'?: string;
2166
- readonly 'tracking_numbers'?: string[];
2167
- readonly 'tracking_urls'?: string[];
2168
- readonly 'updated_at'?: string;
2169
- readonly 'variant_inventory_management'?: string;
2170
2312
  }
2171
2313
 
2172
- interface ShopifyOrderLineItem {
2173
- readonly 'fulfillable_quantity'?: number;
2174
- readonly 'fulfillment_service': string;
2175
- readonly 'fulfillment_status'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2176
- readonly 'grams'?: number;
2177
- readonly 'id': number;
2178
- readonly 'price'?: string;
2179
- readonly 'price_set'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2180
- readonly 'product_id'?: number;
2181
- readonly 'quantity': number;
2182
- readonly 'requires_shipping': boolean;
2183
- readonly 'sku'?: string;
2184
- readonly 'title'?: string;
2185
- readonly 'variant_id'?: number;
2186
- readonly 'variant_title'?: string;
2187
- readonly 'vendor'?: string;
2314
+ interface ReturnReasonForm {
2188
2315
  readonly 'name'?: string;
2189
- readonly 'gift_card': boolean;
2190
- readonly 'properties': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderProperty[];
2191
- readonly 'taxable': boolean;
2192
- readonly 'tax_lines': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2193
- readonly 'tip_payment_gateway'?: string;
2194
- readonly 'tip_payment_method'?: string;
2195
- readonly 'total_discount'?: string;
2196
- readonly 'total_discount_set'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2197
- readonly 'discount_allocations'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountAllocation[];
2198
- readonly 'origin_location': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderOriginLocation;
2199
- readonly 'variant_inventory_management'?: string;
2200
- readonly 'product_exists'?: boolean;
2201
- readonly 'duties': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDuty[];
2202
2316
  }
2203
2317
 
2204
- interface ShopifyOrderMetafield {
2205
- readonly 'id': number;
2206
- readonly 'key': string;
2207
- readonly 'namespace': string;
2208
- readonly 'value': string;
2209
- readonly 'value_type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2210
- readonly 'description'?: string;
2211
- readonly 'owner_id': number;
2212
- readonly 'owner_resource': string;
2318
+ interface ReturnReasonPutForm {
2319
+ readonly 'name'?: string;
2213
2320
  }
2214
2321
 
2215
- interface ShopifyOrderMetafieldForm {
2322
+ interface ReturnSourceExternalVendor {
2323
+ readonly 'discriminator': 'return_source_external_vendor';
2216
2324
  readonly 'key': string;
2217
- readonly 'namespace': string;
2218
- readonly 'value': string;
2219
- readonly 'value_type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2220
- readonly 'description'?: string;
2221
2325
  }
2222
2326
 
2223
- interface ShopifyOrderMoney {
2224
- readonly 'amount': number;
2225
- readonly 'currency_code': string;
2327
+ interface ReturnSourceFlow {
2328
+ readonly 'discriminator': 'return_source_flow';
2329
+ readonly 'attributes'?: Record<string, string>;
2226
2330
  }
2227
2331
 
2228
- interface ShopifyOrderMoneySet {
2229
- readonly 'shop_money': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2230
- readonly 'presentment_money': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2332
+ interface ReturnVersion {
2333
+ readonly 'id': string;
2334
+ readonly 'timestamp': string;
2335
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2336
+ readonly 'return': io.flow.RESERVED_WORD_return.v0.models.Return;
2231
2337
  }
2338
+ }
2232
2339
 
2233
- interface ShopifyOrderOriginLocation {
2234
- readonly 'id': number;
2235
- readonly 'country_code': string;
2236
- readonly 'province_code': string;
2237
- readonly 'name': string;
2238
- readonly 'address1': string;
2239
- readonly 'address2': string;
2240
- readonly 'city': string;
2241
- readonly 'zip': string;
2242
- }
2340
+ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
2341
+ type ReturnSource = (io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor);
2342
+ }
2243
2343
 
2244
- interface ShopifyOrderPaymentDetail {
2245
- readonly 'avs_result_code'?: string;
2246
- readonly 'credit_card_bin'?: string;
2247
- readonly 'credit_card_company': string;
2248
- readonly 'credit_card_number': string;
2249
- readonly 'cvv_result_code'?: string;
2344
+ declare namespace io.flow.harmonization.engine.internal.v0.enums {
2345
+ type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
2346
+ }
2347
+
2348
+ declare namespace io.flow.harmonization.engine.internal.v0.models {
2349
+ interface ClassificationRequeueRequest {
2350
+ readonly 'message': string;
2250
2351
  }
2251
2352
 
2252
- interface ShopifyOrderProperty {
2253
- readonly 'name': string;
2254
- readonly 'value': any/*json*/;
2353
+ interface RateDestinationFreshnessSummary {
2354
+ readonly 'destination': io.flow.reference.v0.models.Country;
2355
+ readonly 'percentage_updated': number;
2255
2356
  }
2256
2357
 
2257
- interface ShopifyOrderRefund {
2258
- readonly 'id': number;
2259
- readonly 'order_id': number;
2260
- readonly 'created_at': string;
2261
- readonly 'processed_at': string;
2262
- readonly 'note'?: string;
2263
- readonly 'refund_line_items'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefundLineItem[];
2264
- readonly 'restock'?: boolean;
2265
- readonly 'transactions'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2266
- readonly 'user_id'?: number;
2358
+ interface RateFreshnessSummary {
2359
+ readonly 'discriminator': 'rate-freshness';
2360
+ readonly 'key': string;
2361
+ readonly 'updated_since': string;
2362
+ readonly 'destination_freshness_summaries': io.flow.harmonization.engine.internal.v0.models.RateDestinationFreshnessSummary[];
2267
2363
  }
2268
2364
 
2269
- interface ShopifyOrderRefundLineItem {
2270
- readonly 'id': number;
2271
- readonly 'line_item': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem;
2272
- readonly 'line_item_id': number;
2273
- readonly 'quantity': number;
2274
- readonly 'restock_type': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderRestockType;
2275
- readonly 'location_id'?: number;
2276
- readonly 'subtotal'?: number;
2277
- readonly 'total_tax'?: number;
2365
+ interface RateSourceCompositionSummary {
2366
+ readonly 'rate_name': string;
2367
+ readonly 'percentage_composition': number;
2278
2368
  }
2279
2369
 
2280
- interface ShopifyOrderShippingLine {
2281
- readonly 'code': string;
2282
- readonly 'price': string;
2283
- readonly 'source': string;
2284
- readonly 'title': string;
2285
- readonly 'tax_lines': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2286
- readonly 'carrier_identifier'?: string;
2287
- readonly 'requested_fulfillment_service_id'?: string;
2288
- readonly 'price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2289
- readonly 'discounted_price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2370
+ interface RateSourceSummary {
2371
+ readonly 'discriminator': 'rate-source';
2372
+ readonly 'key': string;
2373
+ readonly 'destination': io.flow.reference.v0.models.Country;
2374
+ readonly 'rate_source_composition_summaries': io.flow.harmonization.engine.internal.v0.models.RateSourceCompositionSummary[];
2290
2375
  }
2291
2376
 
2292
- interface ShopifyOrderTaxLine {
2293
- readonly 'price_set': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2294
- readonly 'rate': number;
2295
- readonly 'title': string;
2377
+ interface RequeueRequestForm {
2378
+ readonly 'product_ids'?: string[];
2379
+ readonly 'hs6_codes'?: string[];
2380
+ readonly 'preferred_item_type'?: string;
2381
+ readonly 'ignore_classification_status': boolean;
2382
+ readonly 'select_mismatching_item_types': boolean;
2296
2383
  }
2297
2384
 
2298
- interface ShopifyOrderTransaction {
2299
- readonly 'id': number;
2300
- readonly 'order_id': number;
2301
- readonly 'amount': number;
2302
- readonly 'kind': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderKindType;
2303
- readonly 'gateway': string;
2304
- readonly 'currency': string;
2305
- readonly 'status': io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionStatus;
2306
- readonly 'payment_details'?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderPaymentDetail;
2307
- readonly 'receipt': any/*object*/;
2308
- readonly 'authorization'?: string;
2309
- readonly 'created_at': string;
2310
- readonly 'device_id'?: number;
2311
- readonly 'gift_card_id'?: number;
2312
- readonly 'source_name': string;
2313
- readonly 'error_code'?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionErrorCode;
2314
- readonly 'test': boolean;
2315
- readonly 'parent_id'?: number;
2316
- readonly 'user_id'?: number;
2385
+ interface TimeToClassify {
2386
+ readonly 'discriminator': 'time-to-classify';
2387
+ readonly 'key': string;
2388
+ readonly 'from': string;
2389
+ readonly 'to': string;
2390
+ readonly 'organization_id': string;
2391
+ readonly 'average_hours': number;
2392
+ readonly 'median_hours': number;
2393
+ readonly 'percentile_75_hours': number;
2394
+ readonly 'percentile_90_hours': number;
2395
+ readonly 'percentile_99_hours': number;
2317
2396
  }
2318
2397
 
2319
- interface ShopifyOrderWrapper {
2320
- readonly 'order': any/*json*/;
2398
+ interface TimeToClassifyAggregated {
2399
+ readonly 'discriminator': 'time-to-classify-aggregated';
2400
+ readonly 'key': string;
2401
+ readonly 'from': string;
2402
+ readonly 'to': string;
2403
+ readonly 'average_hours': number;
2404
+ readonly 'median_hours': number;
2405
+ readonly 'percentile_75_hours': number;
2406
+ readonly 'percentile_90_hours': number;
2407
+ readonly 'percentile_99_hours': number;
2321
2408
  }
2322
2409
 
2323
- interface ShopifyOrdersWrapper {
2324
- readonly 'orders': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder[];
2410
+ interface UnclassifiedProductsPurgeRequest {
2411
+ readonly 'num_deleted_products': Record<string, number>;
2325
2412
  }
2326
2413
  }
2327
2414
 
2415
+ declare namespace io.flow.harmonization.engine.internal.v0.unions {
2416
+ type InternalHarmonizationStatistic = (io.flow.harmonization.engine.internal.v0.models.TimeToClassify | io.flow.harmonization.engine.internal.v0.models.TimeToClassifyAggregated | io.flow.harmonization.engine.internal.v0.models.RateSourceSummary | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary);
2417
+ }
2418
+
2328
2419
  declare namespace io.flow.catalog.internal.v0.models {
2329
2420
  interface CatalogItemBatchIndexTask {
2330
2421
  readonly 'discriminator': 'catalog_item_batch_index_task';
@@ -9392,6 +9483,14 @@ declare namespace io.flow.label.internal.v0.models {
9392
9483
  readonly 'default_contents': string;
9393
9484
  }
9394
9485
 
9486
+ interface InvoiceInfoForm {
9487
+ readonly 'invoice_number': string;
9488
+ readonly 'invoice_date': string;
9489
+ readonly 'currency_code': string;
9490
+ readonly 'invoice_amount': string;
9491
+ readonly 'control_id'?: string;
9492
+ }
9493
+
9395
9494
  interface LabelGenerationSettings {
9396
9495
  readonly 'id': string;
9397
9496
  readonly 'item_identifier'?: string;
@@ -9404,6 +9503,46 @@ declare namespace io.flow.label.internal.v0.models {
9404
9503
  readonly 'auto_generate_query'?: string;
9405
9504
  readonly 'commercial_invoice_only_query'?: string;
9406
9505
  }
9506
+
9507
+ interface ShipperAccountInfoForm {
9508
+ readonly 'account_name'?: string;
9509
+ readonly 'account_number': string;
9510
+ readonly 'postal': string;
9511
+ readonly 'country': string;
9512
+ readonly 'invoice_info'?: io.flow.label.internal.v0.models.InvoiceInfoForm;
9513
+ }
9514
+
9515
+ interface UpsLicense {
9516
+ readonly 'access_license_number': string;
9517
+ readonly 'address': io.flow.common.v0.models.BillingAddress;
9518
+ readonly 'contact': io.flow.common.v0.models.Contact;
9519
+ readonly 'secondary_contact'?: io.flow.common.v0.models.Contact;
9520
+ readonly 'company_url': string;
9521
+ }
9522
+
9523
+ interface UpsLicenseForm {
9524
+ readonly 'address': io.flow.common.v0.models.BillingAddress;
9525
+ readonly 'contact': io.flow.common.v0.models.Contact;
9526
+ readonly 'secondary_contact'?: io.flow.common.v0.models.Contact;
9527
+ readonly 'developer_license_number': string;
9528
+ readonly 'company_url': string;
9529
+ }
9530
+
9531
+ interface UpsRegistration {
9532
+ readonly 'username': string;
9533
+ readonly 'address': io.flow.common.v0.models.BillingAddress;
9534
+ readonly 'contact': io.flow.common.v0.models.Contact;
9535
+ readonly 'suggest_username_indicator'?: string;
9536
+ }
9537
+
9538
+ interface UpsRegistrationForm {
9539
+ readonly 'username': string;
9540
+ readonly 'password': string;
9541
+ readonly 'access_license_number': string;
9542
+ readonly 'address': io.flow.common.v0.models.BillingAddress;
9543
+ readonly 'contact': io.flow.common.v0.models.Contact;
9544
+ readonly 'shipper_account'?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
9545
+ }
9407
9546
  }
9408
9547
 
9409
9548
  declare namespace io.flow.catalog.v0.enums {
@@ -10015,6 +10154,7 @@ declare namespace io.flow.item.v0.models {
10015
10154
  readonly 'item': io.flow.common.v0.models.CatalogItemReference;
10016
10155
  readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
10017
10156
  readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
10157
+ readonly 'attributes'?: Record<string, string>;
10018
10158
  }
10019
10159
 
10020
10160
  interface LocalItemAttributePricing {
@@ -21710,7 +21850,7 @@ declare namespace io.flow.internal.v0.models {
21710
21850
  readonly 'event_id': string;
21711
21851
  readonly 'timestamp': string;
21712
21852
  readonly 'organization': string;
21713
- readonly 'item': io.flow.internal.v0.models.LocalizedPriceBookItem;
21853
+ readonly 'id': string;
21714
21854
  }
21715
21855
 
21716
21856
  interface LocalizedPriceBookItemUpserted {
@@ -24541,7 +24681,7 @@ declare namespace io.flow.internal.v0.models {
24541
24681
  }
24542
24682
 
24543
24683
  interface XborderOrder {
24544
- readonly 'shopify_order': io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder;
24684
+ readonly 'shopify_order': io.flow.shopify.xborder.v0.models.ShopifyOrder;
24545
24685
  readonly 'flow_authorization': io.flow.payment.v0.unions.Authorization;
24546
24686
  }
24547
24687
  }