@flowio/types 8.0.6 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,249 +1,3 @@
1
- declare namespace io.flow.ratecard.v0.models {
2
- interface CrossdockRatecardFee {
3
- readonly discriminator: 'crossdock_ratecard_fee';
4
- readonly amount: io.flow.common.v0.models.Money;
5
- }
6
- interface DdpRatecardFee {
7
- readonly discriminator: 'ddp_ratecard_fee';
8
- readonly amount: number;
9
- }
10
- interface DimensionEstimate {
11
- readonly id: string;
12
- readonly q: string;
13
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
14
- readonly position: number;
15
- }
16
- interface DimensionEstimateForm {
17
- readonly q: string;
18
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
19
- readonly position?: number;
20
- }
21
- interface DimensionEstimateVersion {
22
- readonly id: string;
23
- readonly timestamp: string;
24
- readonly type: io.flow.common.v0.enums.ChangeType;
25
- readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
26
- }
27
- interface EstimatedDimensions {
28
- readonly depth: io.flow.common.v0.models.Measurement;
29
- readonly length: io.flow.common.v0.models.Measurement;
30
- readonly weight: io.flow.common.v0.models.Measurement;
31
- readonly width: io.flow.common.v0.models.Measurement;
32
- }
33
- interface FuelSurchargeRatecardFee {
34
- readonly discriminator: 'fuel_surcharge_ratecard_fee';
35
- readonly amount: io.flow.common.v0.models.Money;
36
- }
37
- interface FuelSurchargeServiceFee {
38
- readonly discriminator: 'fuel_surcharge_service_fee';
39
- readonly percent: number;
40
- }
41
- interface Hop {
42
- readonly hop_number: number;
43
- readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
44
- }
45
- interface HopEstimate {
46
- readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
47
- readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
48
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
49
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
50
- readonly currency: string;
51
- readonly amount: number;
52
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
53
- readonly total: number;
54
- }
55
- interface OversizedShipmentRatecardFee {
56
- readonly discriminator: 'oversized_shipment_ratecard_fee';
57
- readonly weight_threshold: number;
58
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
59
- readonly margin?: number;
60
- readonly amount?: number;
61
- }
62
- interface Ratecard {
63
- readonly id: string;
64
- readonly number: string;
65
- readonly direction: io.flow.label.v0.enums.Direction;
66
- readonly effective_at: string;
67
- readonly origination_zones: io.flow.common.v0.models.Zone[];
68
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
69
- readonly published_at?: string;
70
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
71
- }
72
- interface RatecardCarrierSummary {
73
- readonly id: string;
74
- readonly name: string;
75
- }
76
- interface RatecardEstimateFormV1 {
77
- readonly discriminator: 'ratecard_estimate_form_v1';
78
- readonly origin?: string;
79
- readonly destination?: string;
80
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
81
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
82
- readonly service?: string;
83
- readonly weight?: number;
84
- readonly length?: number;
85
- readonly width?: number;
86
- readonly depth?: number;
87
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
88
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
89
- }
90
- interface RatecardEstimateFormV2 {
91
- readonly discriminator: 'ratecard_estimate_form_v2';
92
- readonly origin_address: io.flow.common.v0.models.Address;
93
- readonly destination_address: io.flow.common.v0.models.Address;
94
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
95
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
96
- readonly service?: string;
97
- readonly weight?: number;
98
- readonly length?: number;
99
- readonly width?: number;
100
- readonly depth?: number;
101
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
102
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
103
- readonly center_id?: string;
104
- }
105
- interface RatecardEstimateSummaryForm {
106
- readonly origin?: string;
107
- readonly destination?: string;
108
- readonly service?: string;
109
- readonly center_key?: string;
110
- }
111
- interface RatecardEstimateV1 {
112
- readonly discriminator: 'ratecard_estimate_v1';
113
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
114
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
115
- readonly currency: string;
116
- readonly amount: number;
117
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
118
- readonly total: number;
119
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
120
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
121
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
122
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
123
- }
124
- interface RatecardEstimateV2 {
125
- readonly discriminator: 'ratecard_estimate_v2';
126
- readonly hops: io.flow.ratecard.v0.models.Hop[];
127
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
128
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
129
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
130
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
131
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
132
- }
133
- interface RatecardForm {
134
- readonly direction: io.flow.label.v0.enums.Direction;
135
- readonly effective_at: string;
136
- readonly origination_zones: io.flow.common.v0.models.Zone[];
137
- readonly service: string;
138
- readonly number?: string;
139
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
140
- }
141
- interface RatecardLane {
142
- readonly id: string;
143
- readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
144
- readonly currency: string;
145
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
146
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
147
- readonly destination: io.flow.common.v0.models.Zone;
148
- readonly dim_factor: number;
149
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
150
- readonly origin: io.flow.common.v0.models.Zone;
151
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
152
- readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
153
- readonly rounding: io.flow.common.v0.models.Rounding;
154
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
155
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
156
- }
157
- interface RatecardLaneForm {
158
- readonly ratecard_id: string;
159
- readonly currency: string;
160
- readonly destination: io.flow.common.v0.models.Zone;
161
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
162
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
163
- readonly dim_factor: number;
164
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
165
- readonly origin: io.flow.common.v0.models.Zone;
166
- readonly rounding: io.flow.common.v0.models.Rounding;
167
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
168
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
169
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
170
- }
171
- interface RatecardLaneImportForm {
172
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
173
- readonly service: string;
174
- readonly currency: string;
175
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
176
- readonly origin: io.flow.common.v0.models.Zone;
177
- readonly destination: io.flow.common.v0.models.Zone;
178
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
179
- readonly dim_factor: number;
180
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
181
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
182
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
183
- }
184
- interface RatecardLaneVersion {
185
- readonly id: string;
186
- readonly timestamp: string;
187
- readonly type: io.flow.common.v0.enums.ChangeType;
188
- readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
189
- }
190
- interface RatecardLanesImportRequestData {
191
- readonly id: string;
192
- readonly source_url: string;
193
- readonly filename?: string;
194
- }
195
- interface RatecardRate {
196
- readonly id: string;
197
- readonly amount: number;
198
- readonly weight: number;
199
- }
200
- interface RatecardRateForm {
201
- readonly amount: number;
202
- readonly weight: number;
203
- }
204
- interface RatecardRateVersion {
205
- readonly id: string;
206
- readonly timestamp: string;
207
- readonly type: io.flow.common.v0.enums.ChangeType;
208
- readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
209
- }
210
- interface RatecardReference {
211
- readonly id: string;
212
- }
213
- interface RatecardServiceSummary {
214
- readonly id: string;
215
- readonly name: string;
216
- readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
217
- }
218
- interface RatecardVersion {
219
- readonly id: string;
220
- readonly timestamp: string;
221
- readonly type: io.flow.common.v0.enums.ChangeType;
222
- readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
223
- }
224
- interface RemoteAreaRatecardFee {
225
- readonly discriminator: 'remote_area_ratecard_fee';
226
- readonly amount: io.flow.common.v0.models.Money;
227
- }
228
- interface RemoteAreaServiceFee {
229
- readonly discriminator: 'remote_area_service_fee';
230
- readonly amount: io.flow.common.v0.models.Money;
231
- }
232
- interface ReturnPackageRatecardFee {
233
- readonly discriminator: 'return_package_ratecard_fee';
234
- readonly amount: number;
235
- }
236
- interface ShipmentWindow {
237
- readonly from: number;
238
- readonly to: number;
239
- }
240
- }
241
- declare namespace io.flow.ratecard.v0.unions {
242
- type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
243
- type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
244
- type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
245
- type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
246
- }
247
1
  declare namespace io.flow.bundle.checkout.v0.enums {
248
2
  type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
249
3
  type CheckoutRedirectMethod = 'get' | 'post';
@@ -259,7 +13,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
259
13
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
260
14
  readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
261
15
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
262
- readonly configuration: unknown;
16
+ readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
263
17
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
264
18
  readonly customer?: io.flow.customer.v0.models.Customer;
265
19
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -279,7 +33,7 @@ declare namespace io.flow.bundle.checkout.v0.models {
279
33
  readonly provinces: io.flow.reference.v0.models.Province[];
280
34
  readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
281
35
  readonly metadata?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
282
- readonly configuration?: unknown;
36
+ readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
283
37
  readonly address_configurations?: io.flow.experience.v0.models.AddressConfiguration[];
284
38
  readonly customer?: io.flow.customer.v0.models.Customer;
285
39
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -1393,264 +1147,8 @@ declare namespace io.flow.item.v0.models {
1393
1147
  readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
1394
1148
  }
1395
1149
  }
1396
- declare namespace io.flow.flexe.v0.enums {
1397
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1398
- type FlexeNotification = 'receipt' | 'shipment';
1399
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1400
- type FlexeStatus = 'in_transit' | 'completed';
1401
- }
1402
- declare namespace io.flow.flexe.v0.models {
1403
- interface BillOfLading {
1404
- readonly type: string;
1405
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1406
- }
1407
- interface BillTo {
1408
- readonly name: string;
1409
- readonly address_1: string;
1410
- readonly locality: string;
1411
- readonly region: string;
1412
- readonly postal_code: string;
1413
- readonly country: string;
1414
- readonly address_2?: string;
1415
- readonly address_3?: string;
1416
- }
1417
- interface CartonPickDeliveryDetails {
1418
- readonly shipment_uuid?: string;
1419
- readonly carrier?: string;
1420
- readonly carrier_id?: string;
1421
- }
1422
- interface ContainerDeliveryDetails {
1423
- readonly purchase_order: string;
1424
- readonly container_number?: string;
1425
- readonly seal_number?: string;
1426
- readonly vendor?: string;
1427
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1428
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1429
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1430
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1431
- }
1432
- interface DeliveryDetails {
1433
- readonly shipment_uuid?: string;
1434
- readonly trailer_number?: string;
1435
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
1436
- readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1437
- }
1438
- interface Error {
1439
- readonly url: string;
1440
- readonly client_request_id: string;
1441
- readonly generated_at: string;
1442
- readonly error: string;
1443
- }
1444
- interface FlexeAttachment {
1445
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1446
- readonly display_name: string;
1447
- readonly url: string;
1448
- }
1449
- interface FlexeEcommerceFulfillment {
1450
- readonly url: string;
1451
- readonly client_request_id: string;
1452
- readonly generated_at: string;
1453
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1454
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1455
- }
1456
- interface FlexeEcommerceFulfillmentData {
1457
- readonly import_id: string;
1458
- readonly succeeded_uuids: string[];
1459
- readonly failed_uuids: string[];
1460
- readonly errors: string[];
1461
- }
1462
- interface FlexeEcommerceFulfillmentErrors {
1463
- readonly status: string;
1464
- readonly title: string;
1465
- readonly detail: string;
1466
- readonly source?: string;
1467
- }
1468
- interface FlexeEcommerceFulfillmentForm {
1469
- readonly reservation_id: number;
1470
- readonly client_request_id: string;
1471
- readonly request: io.flow.flexe.v0.models.Orders;
1472
- }
1473
- interface FlexeInventoryData {
1474
- readonly sku: string;
1475
- readonly quantity: string;
1476
- readonly unit: string;
1477
- }
1478
- interface FlexeRetailAttachment {
1479
- readonly display_name: string;
1480
- readonly url: string;
1481
- }
1482
- interface FlexeRetailFulfillment {
1483
- readonly url: string;
1484
- readonly client_request_id: string;
1485
- readonly generated_at: string;
1486
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1487
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1488
- }
1489
- interface FlexeRetailFulfillmentData {
1490
- readonly id: string;
1491
- readonly purchase_order_uuid: string;
1492
- readonly status: string;
1493
- }
1494
- interface FlexeRetailFulfillmentErrors {
1495
- readonly type: string;
1496
- readonly message: string;
1497
- }
1498
- interface FlexeRetailFulfillmentForm {
1499
- readonly reservation_id: number;
1500
- readonly client_request_id?: string;
1501
- readonly request: io.flow.flexe.v0.models.RetailOrder;
1502
- }
1503
- interface FulfillmentOrderDetails {
1504
- readonly shipment_uuid: string;
1505
- readonly carrier?: string;
1506
- readonly carrier_id?: string;
1507
- }
1508
- interface Gs1Us {
1509
- readonly number: string;
1510
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1511
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1512
- }
1513
- interface Gs1UsShipTo {
1514
- readonly cid_number?: string;
1515
- readonly location_number?: string;
1516
- readonly free_on_board?: boolean;
1517
- }
1518
- interface Inventory {
1519
- readonly url: string;
1520
- readonly client_request_id: string;
1521
- readonly generated_at: string;
1522
- readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1523
- }
1524
- interface InventoryCount {
1525
- readonly amount: number;
1526
- readonly unit: string;
1527
- }
1528
- interface InventoryData {
1529
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1530
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1531
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
1532
- }
1533
- interface InventoryDetails {
1534
- readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1535
- }
1536
- interface LadingQuantity {
1537
- readonly num_pallets: number;
1538
- }
1539
- interface Order {
1540
- readonly shipment_uuid: string;
1541
- readonly purchase_order: string;
1542
- readonly carrier: string;
1543
- readonly service_type: string;
1544
- readonly carrier_assigned_id: string;
1545
- readonly name: string;
1546
- readonly address_1: string;
1547
- readonly address_2?: string;
1548
- readonly address_3?: string;
1549
- readonly city: string;
1550
- readonly state: string;
1551
- readonly postal_code: string;
1552
- readonly phone?: string;
1553
- readonly instructions?: string;
1554
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1555
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1556
- }
1557
- interface Orders {
1558
- readonly orders: io.flow.flexe.v0.models.Order[];
1559
- }
1560
- interface Pallet {
1561
- readonly pallet_id: string;
1562
- readonly sku: string;
1563
- readonly quantity: number;
1564
- readonly packaging: string;
1565
- }
1566
- interface PurchaseOrder {
1567
- readonly retail_fulfillment_order_id: string;
1568
- readonly bill_of_lading_number: string;
1569
- readonly purchase_order_uuid: string;
1570
- readonly pickup_window_start: string;
1571
- readonly pickup_window_end: string;
1572
- readonly tags: string[];
1573
- }
1574
- interface QuantityByInventory {
1575
- readonly received: io.flow.flexe.v0.models.InventoryData;
1576
- readonly expected?: io.flow.flexe.v0.models.InventoryData;
1577
- readonly damaged?: io.flow.flexe.v0.models.InventoryData;
1578
- }
1579
- interface ReceiptNotification {
1580
- readonly shipment_id: string;
1581
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1582
- readonly reservation_id: string;
1583
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1584
- readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
1585
- readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1586
- }
1587
- interface RetailFulfillmentOrderDetails {
1588
- readonly master_bill_of_lading_number: string;
1589
- readonly scac: string;
1590
- readonly pro_number: string;
1591
- readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
1592
- readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
1593
- }
1594
- interface RetailInventoryData {
1595
- readonly sku: string;
1596
- readonly quantity: number;
1597
- readonly unit: string;
1598
- readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1599
- }
1600
- interface RetailOrder {
1601
- readonly order: io.flow.flexe.v0.models.RetailOrderData;
1602
- }
1603
- interface RetailOrderData {
1604
- readonly purchase_order_uuid: string;
1605
- readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
1606
- readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
1607
- readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
1608
- readonly ship_to: io.flow.flexe.v0.models.ShipTo;
1609
- readonly build_by?: string;
1610
- readonly instrunctions?: string;
1611
- readonly routing_details_id?: string;
1612
- readonly destination_type?: string;
1613
- }
1614
- interface ShipTo {
1615
- readonly name: string;
1616
- readonly address_1: string;
1617
- readonly locality: string;
1618
- readonly region: string;
1619
- readonly postal_code: string;
1620
- readonly country: string;
1621
- readonly address_2?: string;
1622
- readonly address_3?: string;
1623
- }
1624
- interface ShipWithin {
1625
- readonly start: string;
1626
- readonly end: string;
1627
- }
1628
- interface ShipmentDeliveryDetails {
1629
- readonly shipment_uuid?: string;
1630
- }
1631
- interface ShipmentNotification {
1632
- readonly shipment_id: string;
1633
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1634
- readonly reservation_id: string;
1635
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1636
- readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1637
- readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1638
- readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1639
- readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1640
- }
1641
- interface Sku {
1642
- readonly sku: string;
1643
- readonly description: string;
1644
- readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
1645
- }
1646
- interface SkuSummary {
1647
- readonly key: string;
1648
- readonly quantity: number;
1649
- readonly unit: string;
1650
- }
1651
- }
1652
- declare namespace io.flow.harmonization.internal.event.v0.enums {
1653
- type SuggestionAction = 'accept' | 'validate' | 'review';
1150
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1151
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1654
1152
  }
1655
1153
  declare namespace io.flow.harmonization.internal.event.v0.models {
1656
1154
  interface AllItemsExport {
@@ -2020,156 +1518,421 @@ declare namespace io.flow.inventory.v0.unions {
2020
1518
  type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
2021
1519
  type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
2022
1520
  }
2023
- declare namespace io.flow.optin.internal.v0.enums {
2024
- type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2025
- type PromptCheckoutDisplayPosition = 'email' | 'submission';
2026
- type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
2027
- type PromptTarget = 'browse' | 'checkout';
2028
- }
2029
- declare namespace io.flow.optin.internal.v0.models {
2030
- interface ConsumerOptinActivity {
2031
- readonly optin_attribute_key: string;
2032
- readonly optin_region: string;
2033
- readonly consent_granted: boolean;
2034
- readonly last_seen_at?: string;
2035
- readonly last_acted_at?: string;
2036
- }
2037
- interface OptinAttribute {
2038
- readonly name: string;
2039
- readonly optin_attribute_key: string;
2040
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2041
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2042
- readonly created_at: string;
2043
- readonly updated_at: string;
1521
+ declare namespace io.flow.ratecard.v0.models {
1522
+ interface CrossdockRatecardFee {
1523
+ readonly discriminator: 'crossdock_ratecard_fee';
1524
+ readonly amount: io.flow.common.v0.models.Money;
2044
1525
  }
2045
- interface OptinAttributeForm {
2046
- readonly name: string;
2047
- readonly optin_attribute_key: string;
2048
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2049
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
1526
+ interface DdpRatecardFee {
1527
+ readonly discriminator: 'ddp_ratecard_fee';
1528
+ readonly amount: number;
2050
1529
  }
2051
- interface OptinPrompt {
1530
+ interface DimensionEstimate {
2052
1531
  readonly id: string;
2053
- readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
2054
- readonly region: string;
2055
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2056
- readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
1532
+ readonly q: string;
1533
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
2057
1534
  readonly position: number;
2058
- readonly enforce_on: string;
2059
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2060
1535
  }
2061
- interface OptinPromptCheckoutDisplay {
2062
- readonly discriminator: 'optin_prompt_checkout_display';
2063
- readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
1536
+ interface DimensionEstimateForm {
1537
+ readonly q: string;
1538
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1539
+ readonly position?: number;
2064
1540
  }
2065
- interface OptinPromptCopy {
2066
- readonly from: string;
2067
- readonly to: string;
2068
- readonly number_prompts: number;
1541
+ interface DimensionEstimateVersion {
1542
+ readonly id: string;
1543
+ readonly timestamp: string;
1544
+ readonly type: io.flow.common.v0.enums.ChangeType;
1545
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
2069
1546
  }
2070
- interface OptinPromptCopyForm {
2071
- readonly from: string;
2072
- readonly to: string;
1547
+ interface EstimatedDimensions {
1548
+ readonly depth: io.flow.common.v0.models.Measurement;
1549
+ readonly length: io.flow.common.v0.models.Measurement;
1550
+ readonly weight: io.flow.common.v0.models.Measurement;
1551
+ readonly width: io.flow.common.v0.models.Measurement;
2073
1552
  }
2074
- interface OptinPromptForm {
2075
- readonly optin_attribute_key: string;
2076
- readonly region: string;
2077
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2078
- readonly content: io.flow.content.internal.v0.models.LocalizationForm;
2079
- readonly position: number;
2080
- readonly enforce_on?: string;
2081
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
1553
+ interface FuelSurchargeRatecardFee {
1554
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
1555
+ readonly amount: io.flow.common.v0.models.Money;
2082
1556
  }
2083
- }
2084
- declare namespace io.flow.optin.internal.v0.unions {
2085
- type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
2086
- }
2087
- declare namespace io.flow.brickftp.v0.enums {
2088
- type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
2089
- type BehaviorType = 'lock_subfolders' | 'webhook';
2090
- type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
2091
- type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
2092
- type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
2093
- type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
2094
- type WebhookEventType = 'directory' | 'file';
2095
- }
2096
- declare namespace io.flow.brickftp.v0.models {
2097
- interface Behavior {
2098
- readonly id: number;
2099
- readonly path: string;
2100
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2101
- readonly value: string[];
1557
+ interface FuelSurchargeServiceFee {
1558
+ readonly discriminator: 'fuel_surcharge_service_fee';
1559
+ readonly percent: number;
2102
1560
  }
2103
- interface BehaviorForm {
2104
- readonly path: string;
2105
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2106
- readonly value: string[];
1561
+ interface Hop {
1562
+ readonly hop_number: number;
1563
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
2107
1564
  }
2108
- interface Directory {
2109
- readonly type: 'directory';
2110
- readonly id: number;
2111
- readonly path: string;
2112
- readonly display_name: string;
2113
- readonly mtime: string;
2114
- readonly permissions: string;
1565
+ interface HopEstimate {
1566
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
1567
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
1568
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1569
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1570
+ readonly currency: string;
1571
+ readonly amount: number;
1572
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1573
+ readonly total: number;
2115
1574
  }
2116
- interface Empty {
2117
- readonly none?: string;
1575
+ interface OversizedShipmentRatecardFee {
1576
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
1577
+ readonly weight_threshold: number;
1578
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1579
+ readonly margin?: number;
1580
+ readonly amount?: number;
2118
1581
  }
2119
- interface Error {
2120
- readonly error: string;
1582
+ interface Ratecard {
1583
+ readonly id: string;
1584
+ readonly number: string;
1585
+ readonly direction: io.flow.label.v0.enums.Direction;
1586
+ readonly effective_at: string;
1587
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
1588
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1589
+ readonly published_at?: string;
1590
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
2121
1591
  }
2122
- interface File {
2123
- readonly id: number;
2124
- readonly path: string;
2125
- readonly display_name: string;
2126
- readonly size: number;
2127
- readonly mtime: string;
2128
- readonly permissions: string;
2129
- readonly download_uri: string;
1592
+ interface RatecardCarrierSummary {
1593
+ readonly id: string;
1594
+ readonly name: string;
2130
1595
  }
2131
- interface FileCopyForm {
2132
- readonly type: 'file_copy_form';
2133
- readonly 'copy-destination': string;
1596
+ interface RatecardEstimateFormV1 {
1597
+ readonly discriminator: 'ratecard_estimate_form_v1';
1598
+ readonly origin?: string;
1599
+ readonly destination?: string;
1600
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1601
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1602
+ readonly service?: string;
1603
+ readonly weight?: number;
1604
+ readonly length?: number;
1605
+ readonly width?: number;
1606
+ readonly depth?: number;
1607
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1608
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2134
1609
  }
2135
- interface FileMoveForm {
2136
- readonly type: 'file_move_form';
2137
- readonly 'move-destination': string;
1610
+ interface RatecardEstimateFormV2 {
1611
+ readonly discriminator: 'ratecard_estimate_form_v2';
1612
+ readonly origin_address: io.flow.common.v0.models.Address;
1613
+ readonly destination_address: io.flow.common.v0.models.Address;
1614
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1615
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1616
+ readonly service?: string;
1617
+ readonly weight?: number;
1618
+ readonly length?: number;
1619
+ readonly width?: number;
1620
+ readonly depth?: number;
1621
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1622
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1623
+ readonly center_id?: string;
2138
1624
  }
2139
- interface FileSummary {
2140
- readonly type: 'file';
2141
- readonly id: number;
2142
- readonly path: string;
2143
- readonly display_name: string;
2144
- readonly size: number;
2145
- readonly mtime: string;
2146
- readonly permissions: string;
1625
+ interface RatecardEstimateSummaryForm {
1626
+ readonly origin?: string;
1627
+ readonly destination?: string;
1628
+ readonly service?: string;
1629
+ readonly center_key?: string;
2147
1630
  }
2148
- interface FileUploadComplete {
2149
- readonly path: string;
2150
- readonly size: number;
2151
- readonly mtime: string;
1631
+ interface RatecardEstimateV1 {
1632
+ readonly discriminator: 'ratecard_estimate_v1';
1633
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1634
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1635
+ readonly currency: string;
1636
+ readonly amount: number;
1637
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1638
+ readonly total: number;
1639
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1640
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1641
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1642
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2152
1643
  }
2153
- interface FileUploadEndForm {
2154
- readonly type: 'file_upload_end_form';
2155
- readonly action: string;
2156
- readonly ref: string;
1644
+ interface RatecardEstimateV2 {
1645
+ readonly discriminator: 'ratecard_estimate_v2';
1646
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
1647
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1648
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1649
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1650
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1651
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2157
1652
  }
2158
- interface FileUploadMetadata {
2159
- readonly ref: string;
2160
- readonly path: string;
2161
- readonly action: string;
2162
- readonly ask_about_overwrites: boolean;
2163
- readonly http_method: string;
2164
- readonly upload_uri: string;
1653
+ interface RatecardForm {
1654
+ readonly direction: io.flow.label.v0.enums.Direction;
1655
+ readonly effective_at: string;
1656
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
1657
+ readonly service: string;
1658
+ readonly number?: string;
1659
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2165
1660
  }
2166
- interface FileUploadStartForm {
2167
- readonly type: 'file_upload_start_form';
2168
- readonly action: string;
1661
+ interface RatecardLane {
1662
+ readonly id: string;
1663
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
1664
+ readonly currency: string;
1665
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1666
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1667
+ readonly destination: io.flow.common.v0.models.Zone;
1668
+ readonly dim_factor: number;
1669
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1670
+ readonly origin: io.flow.common.v0.models.Zone;
1671
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1672
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
1673
+ readonly rounding: io.flow.common.v0.models.Rounding;
1674
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1675
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2169
1676
  }
2170
- interface User {
2171
- readonly id: number;
2172
- readonly username: string;
1677
+ interface RatecardLaneForm {
1678
+ readonly ratecard_id: string;
1679
+ readonly currency: string;
1680
+ readonly destination: io.flow.common.v0.models.Zone;
1681
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1682
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1683
+ readonly dim_factor: number;
1684
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1685
+ readonly origin: io.flow.common.v0.models.Zone;
1686
+ readonly rounding: io.flow.common.v0.models.Rounding;
1687
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1688
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1689
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1690
+ }
1691
+ interface RatecardLaneImportForm {
1692
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1693
+ readonly service: string;
1694
+ readonly currency: string;
1695
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1696
+ readonly origin: io.flow.common.v0.models.Zone;
1697
+ readonly destination: io.flow.common.v0.models.Zone;
1698
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1699
+ readonly dim_factor: number;
1700
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1701
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1702
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1703
+ }
1704
+ interface RatecardLaneVersion {
1705
+ readonly id: string;
1706
+ readonly timestamp: string;
1707
+ readonly type: io.flow.common.v0.enums.ChangeType;
1708
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
1709
+ }
1710
+ interface RatecardLanesImportRequestData {
1711
+ readonly id: string;
1712
+ readonly source_url: string;
1713
+ readonly filename?: string;
1714
+ }
1715
+ interface RatecardRate {
1716
+ readonly id: string;
1717
+ readonly amount: number;
1718
+ readonly weight: number;
1719
+ }
1720
+ interface RatecardRateForm {
1721
+ readonly amount: number;
1722
+ readonly weight: number;
1723
+ }
1724
+ interface RatecardRateVersion {
1725
+ readonly id: string;
1726
+ readonly timestamp: string;
1727
+ readonly type: io.flow.common.v0.enums.ChangeType;
1728
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
1729
+ }
1730
+ interface RatecardReference {
1731
+ readonly id: string;
1732
+ }
1733
+ interface RatecardServiceSummary {
1734
+ readonly id: string;
1735
+ readonly name: string;
1736
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
1737
+ }
1738
+ interface RatecardVersion {
1739
+ readonly id: string;
1740
+ readonly timestamp: string;
1741
+ readonly type: io.flow.common.v0.enums.ChangeType;
1742
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
1743
+ }
1744
+ interface RemoteAreaRatecardFee {
1745
+ readonly discriminator: 'remote_area_ratecard_fee';
1746
+ readonly amount: io.flow.common.v0.models.Money;
1747
+ }
1748
+ interface RemoteAreaServiceFee {
1749
+ readonly discriminator: 'remote_area_service_fee';
1750
+ readonly amount: io.flow.common.v0.models.Money;
1751
+ }
1752
+ interface ReturnPackageRatecardFee {
1753
+ readonly discriminator: 'return_package_ratecard_fee';
1754
+ readonly amount: number;
1755
+ }
1756
+ interface ShipmentWindow {
1757
+ readonly from: number;
1758
+ readonly to: number;
1759
+ }
1760
+ }
1761
+ declare namespace io.flow.ratecard.v0.unions {
1762
+ type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
1763
+ type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
1764
+ type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
1765
+ type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
1766
+ }
1767
+ declare namespace io.flow.session.context.v0.models {
1768
+ interface Context {
1769
+ readonly id: string;
1770
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
1771
+ }
1772
+ interface ContextForm {
1773
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
1774
+ }
1775
+ interface ContextReference {
1776
+ readonly id: string;
1777
+ }
1778
+ interface Experiment {
1779
+ readonly key: string;
1780
+ readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
1781
+ }
1782
+ interface ExperimentVariant {
1783
+ readonly key: string;
1784
+ }
1785
+ }
1786
+ declare namespace io.flow.optin.internal.v0.enums {
1787
+ type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
1788
+ type PromptCheckoutDisplayPosition = 'email' | 'submission';
1789
+ type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
1790
+ type PromptTarget = 'browse' | 'checkout';
1791
+ }
1792
+ declare namespace io.flow.optin.internal.v0.models {
1793
+ interface ConsumerOptinActivity {
1794
+ readonly optin_attribute_key: string;
1795
+ readonly optin_region: string;
1796
+ readonly consent_granted: boolean;
1797
+ readonly last_seen_at?: string;
1798
+ readonly last_acted_at?: string;
1799
+ }
1800
+ interface OptinAttribute {
1801
+ readonly name: string;
1802
+ readonly optin_attribute_key: string;
1803
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
1804
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
1805
+ readonly created_at: string;
1806
+ readonly updated_at: string;
1807
+ }
1808
+ interface OptinAttributeForm {
1809
+ readonly name: string;
1810
+ readonly optin_attribute_key: string;
1811
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
1812
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
1813
+ }
1814
+ interface OptinPrompt {
1815
+ readonly id: string;
1816
+ readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
1817
+ readonly region: string;
1818
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
1819
+ readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
1820
+ readonly position: number;
1821
+ readonly enforce_on: string;
1822
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
1823
+ }
1824
+ interface OptinPromptCheckoutDisplay {
1825
+ readonly discriminator: 'optin_prompt_checkout_display';
1826
+ readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
1827
+ }
1828
+ interface OptinPromptCopy {
1829
+ readonly from: string;
1830
+ readonly to: string;
1831
+ readonly number_prompts: number;
1832
+ }
1833
+ interface OptinPromptCopyForm {
1834
+ readonly from: string;
1835
+ readonly to: string;
1836
+ }
1837
+ interface OptinPromptForm {
1838
+ readonly optin_attribute_key: string;
1839
+ readonly region: string;
1840
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
1841
+ readonly content: io.flow.content.internal.v0.models.LocalizationForm;
1842
+ readonly position: number;
1843
+ readonly enforce_on?: string;
1844
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
1845
+ }
1846
+ }
1847
+ declare namespace io.flow.optin.internal.v0.unions {
1848
+ type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
1849
+ }
1850
+ declare namespace io.flow.brickftp.v0.enums {
1851
+ type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
1852
+ type BehaviorType = 'lock_subfolders' | 'webhook';
1853
+ type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
1854
+ type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
1855
+ type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
1856
+ type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
1857
+ type WebhookEventType = 'directory' | 'file';
1858
+ }
1859
+ declare namespace io.flow.brickftp.v0.models {
1860
+ interface Behavior {
1861
+ readonly id: number;
1862
+ readonly path: string;
1863
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
1864
+ readonly value: string[];
1865
+ }
1866
+ interface BehaviorForm {
1867
+ readonly path: string;
1868
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
1869
+ readonly value: string[];
1870
+ }
1871
+ interface Directory {
1872
+ readonly type: 'directory';
1873
+ readonly id: number;
1874
+ readonly path: string;
1875
+ readonly display_name: string;
1876
+ readonly mtime: string;
1877
+ readonly permissions: string;
1878
+ }
1879
+ interface Empty {
1880
+ readonly none?: string;
1881
+ }
1882
+ interface Error {
1883
+ readonly error: string;
1884
+ }
1885
+ interface File {
1886
+ readonly id: number;
1887
+ readonly path: string;
1888
+ readonly display_name: string;
1889
+ readonly size: number;
1890
+ readonly mtime: string;
1891
+ readonly permissions: string;
1892
+ readonly download_uri: string;
1893
+ }
1894
+ interface FileCopyForm {
1895
+ readonly type: 'file_copy_form';
1896
+ readonly 'copy-destination': string;
1897
+ }
1898
+ interface FileMoveForm {
1899
+ readonly type: 'file_move_form';
1900
+ readonly 'move-destination': string;
1901
+ }
1902
+ interface FileSummary {
1903
+ readonly type: 'file';
1904
+ readonly id: number;
1905
+ readonly path: string;
1906
+ readonly display_name: string;
1907
+ readonly size: number;
1908
+ readonly mtime: string;
1909
+ readonly permissions: string;
1910
+ }
1911
+ interface FileUploadComplete {
1912
+ readonly path: string;
1913
+ readonly size: number;
1914
+ readonly mtime: string;
1915
+ }
1916
+ interface FileUploadEndForm {
1917
+ readonly type: 'file_upload_end_form';
1918
+ readonly action: string;
1919
+ readonly ref: string;
1920
+ }
1921
+ interface FileUploadMetadata {
1922
+ readonly ref: string;
1923
+ readonly path: string;
1924
+ readonly action: string;
1925
+ readonly ask_about_overwrites: boolean;
1926
+ readonly http_method: string;
1927
+ readonly upload_uri: string;
1928
+ }
1929
+ interface FileUploadStartForm {
1930
+ readonly type: 'file_upload_start_form';
1931
+ readonly action: string;
1932
+ }
1933
+ interface User {
1934
+ readonly id: number;
1935
+ readonly username: string;
2173
1936
  readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2174
1937
  readonly name?: string;
2175
1938
  readonly email?: string;
@@ -5127,9 +4890,9 @@ declare namespace io.flow.shopify.v0.unions {
5127
4890
  }
5128
4891
  declare namespace io.flow.payment.internal.v0.enums {
5129
4892
  type ChargebackPaymentStatus = 'captured' | 'refunded';
5130
- type ChargebackProcessStatus = 'open' | 'closed';
4893
+ type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
5131
4894
  type HttpMethod = 'get' | 'post';
5132
- type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox';
4895
+ type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
5133
4896
  type RedirectReason = 'three_d_secure';
5134
4897
  type RiskCheck = 'three_d_secure';
5135
4898
  }
@@ -5192,7 +4955,6 @@ declare namespace io.flow.payment.internal.v0.models {
5192
4955
  readonly id: string;
5193
4956
  readonly key: string;
5194
4957
  readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
5195
- readonly capture: io.flow.payment.v0.models.CaptureReference;
5196
4958
  readonly amount: number;
5197
4959
  readonly currency: string;
5198
4960
  readonly base?: io.flow.common.v0.models.Money;
@@ -5205,6 +4967,7 @@ declare namespace io.flow.payment.internal.v0.models {
5205
4967
  readonly processor_status: string;
5206
4968
  readonly processor_reference?: string;
5207
4969
  readonly provider_reference?: string;
4970
+ readonly provider_reason_code?: string;
5208
4971
  }
5209
4972
  interface ChargebackVersion {
5210
4973
  readonly id: string;
@@ -5234,7 +4997,11 @@ declare namespace io.flow.payment.internal.v0.models {
5234
4997
  readonly cipher: string;
5235
4998
  readonly passphrase_ids: string[];
5236
4999
  }
5237
- interface InternalAdyenAuthorizationDetails {
5000
+ interface FiservAuthenticationDataReference {
5001
+ readonly account_id: string;
5002
+ readonly store_id: string;
5003
+ }
5004
+ interface InternalAdyenAuthorizationDetails {
5238
5005
  readonly discriminator: 'internal_adyen_authorization_details';
5239
5006
  readonly adyen_authentication_data: io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
5240
5007
  }
@@ -5250,6 +5017,10 @@ declare namespace io.flow.payment.internal.v0.models {
5250
5017
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
5251
5018
  readonly internal?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
5252
5019
  }
5020
+ interface InternalFiservAuthorizationDetails {
5021
+ readonly discriminator: 'internal_fiserv_authorization_details';
5022
+ readonly fiserv_authentication_data: io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
5023
+ }
5253
5024
  interface InternalPaypalAuthorizationDetails {
5254
5025
  readonly discriminator: 'internal_paypal_authorization_details';
5255
5026
  readonly paypal_authentication_data: io.flow.payment.internal.v0.models.PaypalAuthenticationDataReference;
@@ -5338,7 +5109,7 @@ declare namespace io.flow.payment.internal.v0.models {
5338
5109
  }
5339
5110
  declare namespace io.flow.payment.internal.v0.unions {
5340
5111
  type AuthorizationPayload = io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
5341
- type InternalAuthorizationDetails = io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails;
5112
+ type InternalAuthorizationDetails = io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails;
5342
5113
  type InternalRefundForm = io.flow.payment.internal.v0.models.AdyenRefundForm;
5343
5114
  type PaymentAccount = io.flow.payment.internal.v0.models.StripeAccount;
5344
5115
  type PaymentAccountForm = io.flow.payment.internal.v0.models.StripeAccountForm;
@@ -7010,615 +6781,937 @@ declare namespace io.flow.stripe.v0.models {
7010
6781
  readonly reverse_transfer?: boolean;
7011
6782
  readonly metadata?: io.flow.stripe.v0.models.Metadata;
7012
6783
  }
7013
- interface Refunds {
7014
- readonly object: string;
7015
- readonly data: io.flow.stripe.v0.models.Refund[];
7016
- readonly has_more: boolean;
7017
- readonly total_count: number;
7018
- readonly url: string;
6784
+ interface Refunds {
6785
+ readonly object: string;
6786
+ readonly data: io.flow.stripe.v0.models.Refund[];
6787
+ readonly has_more: boolean;
6788
+ readonly total_count: number;
6789
+ readonly url: string;
6790
+ }
6791
+ interface Shipping {
6792
+ readonly address: io.flow.stripe.v0.models.Address;
6793
+ readonly name: string;
6794
+ readonly phone?: string;
6795
+ }
6796
+ interface Source {
6797
+ readonly id: string;
6798
+ readonly object: string;
6799
+ readonly amount?: number;
6800
+ readonly card?: io.flow.stripe.v0.models.SourceCard;
6801
+ readonly client_secret?: string;
6802
+ readonly code_verification?: io.flow.stripe.v0.models.CodeVerification;
6803
+ readonly created: number;
6804
+ readonly currency?: string;
6805
+ readonly flow: io.flow.stripe.v0.enums.SourceFlow;
6806
+ readonly klarna?: io.flow.stripe.v0.models.SourceKlarna;
6807
+ readonly livemode: boolean;
6808
+ readonly owner?: io.flow.stripe.v0.models.Owner;
6809
+ readonly receiver?: io.flow.stripe.v0.models.Receiver;
6810
+ readonly redirect?: io.flow.stripe.v0.models.Redirect;
6811
+ readonly statement_descriptor?: string;
6812
+ readonly status: io.flow.stripe.v0.enums.SourceStatus;
6813
+ readonly type: io.flow.stripe.v0.enums.SourceType;
6814
+ readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
6815
+ }
6816
+ interface SourceCard {
6817
+ readonly exp_month: number;
6818
+ readonly exp_year: number;
6819
+ readonly brand?: io.flow.stripe.v0.enums.CardBrand;
6820
+ readonly card_automatically_updated?: boolean;
6821
+ readonly country?: string;
6822
+ readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
6823
+ readonly fingerprint?: string;
6824
+ readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
6825
+ readonly last4?: string;
6826
+ readonly three_d_secure?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
6827
+ readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome;
6828
+ readonly address_zip_check?: io.flow.stripe.v0.enums.CheckOutcome;
6829
+ readonly tokenization_method?: string;
6830
+ readonly dynamic_last4?: string;
6831
+ }
6832
+ interface SourceCardRequest {
6833
+ readonly exp_month: string;
6834
+ readonly exp_year: string;
6835
+ readonly number: string;
6836
+ readonly cvc?: string;
6837
+ }
6838
+ interface SourceKlarna {
6839
+ readonly first_name?: string;
6840
+ readonly last_name?: string;
6841
+ readonly client_token: string;
6842
+ }
6843
+ interface SourceKlarnaRequest {
6844
+ readonly first_name: string;
6845
+ readonly last_name: string;
6846
+ readonly attachment?: string;
6847
+ }
6848
+ interface SourceRequest {
6849
+ readonly type?: io.flow.stripe.v0.enums.SourceType;
6850
+ readonly amount?: number;
6851
+ readonly card?: io.flow.stripe.v0.models.SourceCardRequest;
6852
+ readonly currency?: string;
6853
+ readonly flow?: io.flow.stripe.v0.enums.SourceFlow;
6854
+ readonly klarna?: io.flow.stripe.v0.models.SourceKlarnaRequest;
6855
+ readonly order?: io.flow.stripe.v0.models.OrderRequest;
6856
+ readonly owner?: io.flow.stripe.v0.models.Owner;
6857
+ readonly receiver?: io.flow.stripe.v0.models.Receiver;
6858
+ readonly redirect?: io.flow.stripe.v0.models.Redirect;
6859
+ readonly statement_descriptor?: string;
6860
+ readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
6861
+ readonly token?: string;
6862
+ readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
6863
+ }
6864
+ interface Stripe3Ds2Fingerprint {
6865
+ readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
6866
+ readonly three_d_secure_2_source: string;
6867
+ readonly directory_server_name?: string;
6868
+ readonly server_transaction_id?: string;
6869
+ readonly three_ds_method_url?: string;
6870
+ readonly three_ds_optimizations?: string;
6871
+ readonly directory_server_encryption?: any;
6872
+ }
6873
+ interface StripeError {
6874
+ readonly type: io.flow.stripe.v0.enums.ErrorType;
6875
+ readonly charge?: string;
6876
+ readonly message?: string;
6877
+ readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
6878
+ readonly decline_code?: string;
6879
+ readonly param?: string;
6880
+ }
6881
+ interface StripeEvent {
6882
+ readonly id: string;
6883
+ readonly object: string;
6884
+ readonly api_version?: string;
6885
+ readonly created: number;
6886
+ readonly data: io.flow.stripe.v0.models.StripeEventData;
6887
+ readonly livemode: boolean;
6888
+ readonly pending_webhooks: number;
6889
+ readonly request?: io.flow.stripe.v0.models.StripeEventRequest;
6890
+ readonly type: string;
6891
+ }
6892
+ interface StripeEventData {
6893
+ readonly object?: any;
6894
+ readonly previous_attributes?: any;
6895
+ }
6896
+ interface StripeEventRequest {
6897
+ readonly id?: string;
6898
+ readonly idempotency_key?: string;
6899
+ }
6900
+ interface ThreeDSecure {
6901
+ readonly card: string;
6902
+ readonly customer?: string;
6903
+ }
6904
+ interface ThreeDSecureRedirect {
6905
+ readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
6906
+ readonly stripe_js: string;
6907
+ }
6908
+ interface Token {
6909
+ readonly id: string;
6910
+ readonly object: string;
6911
+ readonly client_ip: string;
6912
+ readonly created: number;
6913
+ readonly livemode: boolean;
6914
+ readonly type: io.flow.stripe.v0.enums.TokenType;
6915
+ readonly used: boolean;
6916
+ readonly card?: io.flow.stripe.v0.models.Card;
6917
+ }
6918
+ interface TosAcceptance {
6919
+ readonly date?: number;
6920
+ readonly ip?: string;
6921
+ readonly user_agent?: string;
6922
+ }
6923
+ interface TransferData {
6924
+ readonly amount: number;
6925
+ readonly destination?: string;
6926
+ }
6927
+ }
6928
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
6929
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
6930
+ }
6931
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
6932
+ interface AccountOrdersExportType {
6933
+ readonly discriminator: 'account_orders_export_type';
6934
+ readonly statement_id?: string;
6935
+ readonly transaction_summary_id?: string;
6936
+ readonly transaction_created_from?: string;
6937
+ readonly transaction_created_to?: string;
6938
+ readonly transaction_created_on_or_after?: string;
6939
+ readonly transaction_created_after?: string;
6940
+ readonly transaction_created_on_or_before?: string;
6941
+ readonly transaction_created_before?: string;
6942
+ readonly transaction_posted_from?: string;
6943
+ readonly transaction_posted_to?: string;
6944
+ readonly transaction_posted_on_or_after?: string;
6945
+ readonly transaction_posted_after?: string;
6946
+ readonly transaction_posted_on_or_before?: string;
6947
+ readonly transaction_posted_before?: string;
6948
+ }
6949
+ interface AccountTransactionsExportType {
6950
+ readonly discriminator: 'account_transactions_export_type';
6951
+ readonly statement_id?: string;
6952
+ readonly transaction_summary_id?: string;
6953
+ readonly created_from?: string;
6954
+ readonly created_to?: string;
6955
+ readonly created_on_or_after?: string;
6956
+ readonly created_after?: string;
6957
+ readonly created_on_or_before?: string;
6958
+ readonly created_before?: string;
6959
+ readonly posted_from?: string;
6960
+ readonly posted_to?: string;
6961
+ readonly posted_on_or_after?: string;
6962
+ readonly posted_after?: string;
6963
+ readonly posted_on_or_before?: string;
6964
+ readonly posted_before?: string;
6965
+ }
6966
+ interface AnalyticsExportType {
6967
+ readonly discriminator: 'analytics_export_type';
6968
+ readonly from?: string;
6969
+ readonly to?: string;
6970
+ readonly region?: string;
6971
+ readonly interval?: io.flow.common.v0.enums.UnitOfTime;
6972
+ }
6973
+ interface CatalogItemExportType {
6974
+ readonly discriminator: 'catalog_item_export_type';
6975
+ readonly numbers?: string[];
6976
+ readonly q?: string;
6977
+ readonly sort?: string;
6978
+ }
6979
+ interface CsvPriceBookItemExportRow {
6980
+ readonly price_book_key: string;
6981
+ readonly price_book_item_key: string;
6982
+ readonly item_number: string;
6983
+ readonly item_name: string;
6984
+ readonly amount: number;
6985
+ readonly item_attributes?: Record<string, string>;
6986
+ readonly starts_at: string;
6987
+ readonly ends_at?: string;
6988
+ }
6989
+ interface ExperienceExportType {
6990
+ readonly discriminator: 'experience_export_type';
6991
+ readonly organization_id: string;
6992
+ readonly ids?: string[];
6993
+ readonly keys?: string[];
6994
+ }
6995
+ interface Export {
6996
+ readonly id: string;
6997
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
6998
+ readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
6999
+ readonly organization_q: string;
7000
+ readonly created_at: string;
7001
+ readonly started_at?: string;
7002
+ readonly completed_at?: string;
7003
+ readonly url?: string;
7004
+ readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
7005
+ }
7006
+ interface ExportDeliveryEmail {
7007
+ readonly discriminator: 'export_delivery_email';
7008
+ readonly email: string;
7009
+ }
7010
+ interface ExportForm {
7011
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
7012
+ readonly emails?: string[];
7013
+ readonly organization_q?: string;
7014
+ }
7015
+ interface ExportLocalizedItemPrices {
7016
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7017
+ readonly experience: io.flow.experience.v0.models.ExperienceReference;
7018
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
7019
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
7020
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
7021
+ }
7022
+ interface ExportLocalizedItemPricesDetail {
7023
+ readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
7024
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
7025
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
7026
+ readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
7027
+ }
7028
+ interface ExportVersion {
7029
+ readonly id: string;
7030
+ readonly timestamp: string;
7031
+ readonly type: io.flow.common.v0.enums.ChangeType;
7032
+ readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
7033
+ }
7034
+ interface HarmonizationHs10ExportType {
7035
+ readonly discriminator: 'harmonization_hs10_export_type';
7036
+ readonly origin?: string;
7037
+ readonly destination?: string;
7038
+ readonly numbers?: string[];
7039
+ readonly has_codes?: boolean;
7040
+ readonly has_origins?: boolean;
7041
+ readonly sort?: string;
7042
+ }
7043
+ interface HarmonizationHs6ExportType {
7044
+ readonly discriminator: 'harmonization_hs6_export_type';
7045
+ readonly numbers?: string[];
7046
+ readonly has_codes?: boolean;
7047
+ readonly sort?: string;
7048
+ }
7049
+ interface HarmonizationLandedCostExportType {
7050
+ readonly discriminator: 'harmonization_landed_cost_export_type';
7051
+ readonly items: io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
7052
+ }
7053
+ interface HarmonizationOverviewExportType {
7054
+ readonly discriminator: 'harmonization_overview_export_type';
7055
+ readonly origin?: string;
7056
+ readonly destination?: string;
7057
+ readonly sort?: string;
7058
+ }
7059
+ interface LandedCostItem {
7060
+ readonly number: string;
7061
+ readonly origin: string;
7062
+ readonly destination: string;
7063
+ }
7064
+ interface LocalizedItemPricesExportType {
7065
+ readonly discriminator: 'localized_item_prices_export_type';
7066
+ readonly since?: string;
7067
+ }
7068
+ interface OrderExportType {
7069
+ readonly discriminator: 'order_export_type';
7070
+ readonly numbers?: string[];
7071
+ readonly min_hours_since_submitted_at?: number;
7072
+ readonly submitted_on_or_before?: string;
7073
+ readonly submitted_on_or_after?: string;
7074
+ readonly status?: io.flow.experience.v0.enums.OrderStatus;
7075
+ readonly has_tracking_label?: boolean;
7076
+ readonly sort?: string;
7077
+ }
7078
+ interface PriceBookItemExportType {
7079
+ readonly discriminator: 'price_book_item_export_type';
7080
+ readonly price_book_key?: string;
7081
+ readonly item_numbers?: string[];
7082
+ readonly start_date?: string;
7083
+ readonly end_date?: string;
7084
+ }
7085
+ interface ScheduledExport {
7086
+ readonly id: string;
7087
+ readonly user: io.flow.common.v0.models.UserReference;
7088
+ readonly organization_q: string;
7089
+ readonly hour: number;
7090
+ readonly minute: number;
7091
+ readonly timezone: string;
7092
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
7093
+ readonly last_sent_at?: string;
7094
+ }
7095
+ interface ScheduledExportForm {
7096
+ readonly user_id: string;
7097
+ readonly organization_q: string;
7098
+ readonly hour: number;
7099
+ readonly minute: number;
7100
+ readonly timezone: string;
7101
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
7102
+ }
7103
+ interface SolidusProductExportType {
7104
+ readonly discriminator: 'solidus_product_export_type';
7105
+ readonly numbers?: string[];
7106
+ readonly sort?: string;
7107
+ }
7108
+ interface SolidusVariantExportType {
7109
+ readonly discriminator: 'solidus_variant_export_type';
7110
+ readonly numbers?: string[];
7111
+ readonly sort?: string;
7112
+ }
7113
+ interface UnharmonizedItemExportType {
7114
+ readonly discriminator: 'unharmonized_item_export_type';
7115
+ readonly sort?: string;
7116
+ }
7117
+ }
7118
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
7119
+ type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
7120
+ type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
7121
+ }
7122
+ declare namespace io.flow.shopify.internal.v0.enums {
7123
+ type FlowApp = 'console';
7124
+ type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
7125
+ type ShopifyGrantStatus = 'pass' | 'fail';
7126
+ type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
7127
+ type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
7128
+ type ShopifyPromotionStatus = 'active' | 'inactive';
7129
+ }
7130
+ declare namespace io.flow.shopify.internal.v0.models {
7131
+ interface CompletePriceRule {
7132
+ readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
7133
+ readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
7134
+ }
7135
+ interface InstallForm {
7136
+ readonly token: string;
7019
7137
  }
7020
- interface Shipping {
7021
- readonly address: io.flow.stripe.v0.models.Address;
7022
- readonly name: string;
7023
- readonly phone?: string;
7138
+ interface OrderSubmissionForm {
7139
+ readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
7024
7140
  }
7025
- interface Source {
7141
+ interface Shop {
7026
7142
  readonly id: string;
7027
- readonly object: string;
7028
- readonly amount?: number;
7029
- readonly card?: io.flow.stripe.v0.models.SourceCard;
7030
- readonly client_secret?: string;
7031
- readonly code_verification?: io.flow.stripe.v0.models.CodeVerification;
7032
- readonly created: number;
7033
- readonly currency?: string;
7034
- readonly flow: io.flow.stripe.v0.enums.SourceFlow;
7035
- readonly klarna?: io.flow.stripe.v0.models.SourceKlarna;
7036
- readonly livemode: boolean;
7037
- readonly owner?: io.flow.stripe.v0.models.Owner;
7038
- readonly receiver?: io.flow.stripe.v0.models.Receiver;
7039
- readonly redirect?: io.flow.stripe.v0.models.Redirect;
7040
- readonly statement_descriptor?: string;
7041
- readonly status: io.flow.stripe.v0.enums.SourceStatus;
7042
- readonly type: io.flow.stripe.v0.enums.SourceType;
7043
- readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
7143
+ readonly organization?: io.flow.common.v0.models.OrganizationReference;
7144
+ readonly myshopify_domain: string;
7145
+ readonly domain?: string;
7044
7146
  }
7045
- interface SourceCard {
7046
- readonly exp_month: number;
7047
- readonly exp_year: number;
7048
- readonly brand?: io.flow.stripe.v0.enums.CardBrand;
7049
- readonly card_automatically_updated?: boolean;
7050
- readonly country?: string;
7051
- readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
7052
- readonly fingerprint?: string;
7053
- readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
7054
- readonly last4?: string;
7055
- readonly three_d_secure?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
7056
- readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome;
7057
- readonly address_zip_check?: io.flow.stripe.v0.enums.CheckOutcome;
7058
- readonly tokenization_method?: string;
7059
- readonly dynamic_last4?: string;
7147
+ interface ShopForm {
7148
+ readonly organization_id: string;
7060
7149
  }
7061
- interface SourceCardRequest {
7062
- readonly exp_month: string;
7063
- readonly exp_year: string;
7064
- readonly number: string;
7065
- readonly cvc?: string;
7150
+ interface ShopVersion {
7151
+ readonly id: string;
7152
+ readonly timestamp: string;
7153
+ readonly type: io.flow.common.v0.enums.ChangeType;
7154
+ readonly shop: io.flow.shopify.internal.v0.models.Shop;
7066
7155
  }
7067
- interface SourceKlarna {
7068
- readonly first_name?: string;
7069
- readonly last_name?: string;
7070
- readonly client_token: string;
7156
+ interface ShopifyCheckInventoryError {
7157
+ readonly code: io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
7158
+ readonly messages: string[];
7159
+ readonly numbers?: string[];
7071
7160
  }
7072
- interface SourceKlarnaRequest {
7073
- readonly first_name: string;
7074
- readonly last_name: string;
7075
- readonly attachment?: string;
7161
+ interface ShopifyCodeForm {
7162
+ readonly code: string;
7076
7163
  }
7077
- interface SourceRequest {
7078
- readonly type?: io.flow.stripe.v0.enums.SourceType;
7079
- readonly amount?: number;
7080
- readonly card?: io.flow.stripe.v0.models.SourceCardRequest;
7081
- readonly currency?: string;
7082
- readonly flow?: io.flow.stripe.v0.enums.SourceFlow;
7083
- readonly klarna?: io.flow.stripe.v0.models.SourceKlarnaRequest;
7084
- readonly order?: io.flow.stripe.v0.models.OrderRequest;
7085
- readonly owner?: io.flow.stripe.v0.models.Owner;
7086
- readonly receiver?: io.flow.stripe.v0.models.Receiver;
7087
- readonly redirect?: io.flow.stripe.v0.models.Redirect;
7088
- readonly statement_descriptor?: string;
7089
- readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
7090
- readonly token?: string;
7091
- readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
7164
+ interface ShopifyExperienceShortId {
7165
+ readonly id: string;
7166
+ readonly experience: io.flow.experience.v0.models.ExperienceReference;
7167
+ readonly short_id: string;
7092
7168
  }
7093
- interface Stripe3Ds2Fingerprint {
7094
- readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
7095
- readonly three_d_secure_2_source: string;
7096
- readonly directory_server_name?: string;
7097
- readonly server_transaction_id?: string;
7098
- readonly three_ds_method_url?: string;
7099
- readonly three_ds_optimizations?: string;
7100
- readonly directory_server_encryption?: any;
7169
+ interface ShopifyGiftCardBalance {
7170
+ readonly gift_card_id: number;
7171
+ readonly last_characters: string;
7172
+ readonly amount: number;
7173
+ readonly currency: string;
7101
7174
  }
7102
- interface StripeError {
7103
- readonly type: io.flow.stripe.v0.enums.ErrorType;
7104
- readonly charge?: string;
7105
- readonly message?: string;
7106
- readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
7107
- readonly decline_code?: string;
7108
- readonly param?: string;
7175
+ interface ShopifyGiftCardBalanceForm {
7176
+ readonly number: string;
7109
7177
  }
7110
- interface StripeEvent {
7111
- readonly id: string;
7112
- readonly object: string;
7113
- readonly api_version?: string;
7114
- readonly created: number;
7115
- readonly data: io.flow.stripe.v0.models.StripeEventData;
7116
- readonly livemode: boolean;
7117
- readonly pending_webhooks: number;
7118
- readonly request?: io.flow.stripe.v0.models.StripeEventRequest;
7119
- readonly type: string;
7178
+ interface ShopifyGiftCardPaymentForm {
7179
+ readonly code: string;
7180
+ readonly customer_id?: number;
7120
7181
  }
7121
- interface StripeEventData {
7122
- readonly object?: any;
7123
- readonly previous_attributes?: any;
7182
+ interface ShopifyGiftCardRedemption {
7183
+ readonly adjustment_id: number;
7184
+ readonly gift_card_id: number;
7185
+ readonly last_characters: string;
7186
+ readonly amount: number;
7187
+ readonly currency: string;
7124
7188
  }
7125
- interface StripeEventRequest {
7126
- readonly id?: string;
7127
- readonly idempotency_key?: string;
7189
+ interface ShopifyGiftCardRedemptionForm {
7190
+ readonly number: string;
7191
+ readonly amount: number;
7192
+ readonly currency: string;
7128
7193
  }
7129
- interface ThreeDSecure {
7130
- readonly card: string;
7131
- readonly customer?: string;
7194
+ interface ShopifyGiftCardReversal {
7195
+ readonly adjustment_id: number;
7196
+ readonly gift_card_id: number;
7197
+ readonly last_characters: string;
7198
+ readonly amount: number;
7199
+ readonly currency: string;
7132
7200
  }
7133
- interface ThreeDSecureRedirect {
7134
- readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
7135
- readonly stripe_js: string;
7201
+ interface ShopifyGiftCardReversalForm {
7202
+ readonly number: string;
7203
+ readonly amount: number;
7204
+ readonly currency: string;
7136
7205
  }
7137
- interface Token {
7138
- readonly id: string;
7139
- readonly object: string;
7140
- readonly client_ip: string;
7141
- readonly created: number;
7142
- readonly livemode: boolean;
7143
- readonly type: io.flow.stripe.v0.enums.TokenType;
7144
- readonly used: boolean;
7145
- readonly card?: io.flow.stripe.v0.models.Card;
7206
+ interface ShopifyGrantsCheck {
7207
+ readonly dummy: string;
7146
7208
  }
7147
- interface TosAcceptance {
7148
- readonly date?: number;
7149
- readonly ip?: string;
7150
- readonly user_agent?: string;
7209
+ interface ShopifyOrderAuthorization {
7210
+ readonly result: io.flow.payment.v0.models.AuthorizationResult;
7211
+ readonly detail?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
7212
+ readonly redirect?: string;
7151
7213
  }
7152
- interface TransferData {
7153
- readonly amount: number;
7154
- readonly destination?: string;
7214
+ interface ShopifyOrderContent {
7215
+ readonly lines: io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
7216
+ readonly discounts: io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
7155
7217
  }
7156
- }
7157
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
7158
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
7159
- }
7160
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
7161
- interface AccountOrdersExportType {
7162
- readonly discriminator: 'account_orders_export_type';
7163
- readonly statement_id?: string;
7164
- readonly transaction_summary_id?: string;
7165
- readonly transaction_created_from?: string;
7166
- readonly transaction_created_to?: string;
7167
- readonly transaction_created_on_or_after?: string;
7168
- readonly transaction_created_after?: string;
7169
- readonly transaction_created_on_or_before?: string;
7170
- readonly transaction_created_before?: string;
7171
- readonly transaction_posted_from?: string;
7172
- readonly transaction_posted_to?: string;
7173
- readonly transaction_posted_on_or_after?: string;
7174
- readonly transaction_posted_after?: string;
7175
- readonly transaction_posted_on_or_before?: string;
7176
- readonly transaction_posted_before?: string;
7218
+ interface ShopifyOrderDetail {
7219
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7220
+ readonly number: string;
7221
+ readonly order: io.flow.experience.v0.models.Order;
7222
+ readonly payments: io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
7223
+ readonly contents: io.flow.shopify.internal.v0.models.ShopifyOrderContent;
7177
7224
  }
7178
- interface AccountTransactionsExportType {
7179
- readonly discriminator: 'account_transactions_export_type';
7180
- readonly statement_id?: string;
7181
- readonly transaction_summary_id?: string;
7182
- readonly created_from?: string;
7183
- readonly created_to?: string;
7184
- readonly created_on_or_after?: string;
7185
- readonly created_after?: string;
7186
- readonly created_on_or_before?: string;
7187
- readonly created_before?: string;
7188
- readonly posted_from?: string;
7189
- readonly posted_to?: string;
7190
- readonly posted_on_or_after?: string;
7191
- readonly posted_after?: string;
7192
- readonly posted_on_or_before?: string;
7193
- readonly posted_before?: string;
7225
+ interface ShopifyOrderDiscountContent {
7226
+ readonly description: string;
7227
+ readonly code?: string;
7194
7228
  }
7195
- interface AnalyticsExportType {
7196
- readonly discriminator: 'analytics_export_type';
7197
- readonly from?: string;
7198
- readonly to?: string;
7199
- readonly region?: string;
7200
- readonly interval?: io.flow.common.v0.enums.UnitOfTime;
7229
+ interface ShopifyOrderInventoryCheck {
7230
+ readonly item_number: string;
7231
+ readonly quantity: number;
7201
7232
  }
7202
- interface CatalogItemExportType {
7203
- readonly discriminator: 'catalog_item_export_type';
7204
- readonly numbers?: string[];
7205
- readonly q?: string;
7206
- readonly sort?: string;
7233
+ interface ShopifyOrderLineAttribute {
7234
+ readonly key: string;
7235
+ readonly name: string;
7236
+ readonly value: string;
7207
7237
  }
7208
- interface CsvPriceBookItemExportRow {
7209
- readonly price_book_key: string;
7210
- readonly price_book_item_key: string;
7238
+ interface ShopifyOrderLineContent {
7211
7239
  readonly item_number: string;
7212
- readonly item_name: string;
7213
- readonly amount: number;
7214
- readonly item_attributes?: Record<string, string>;
7240
+ readonly quantity: number;
7241
+ readonly price: io.flow.common.v0.models.PriceWithBase;
7242
+ readonly total: io.flow.common.v0.models.PriceWithBase;
7243
+ readonly name: string;
7244
+ readonly image_url: string;
7245
+ readonly variant_url: string;
7246
+ readonly attributes: io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
7247
+ }
7248
+ interface ShopifyPaymentSummary {
7249
+ readonly description: string;
7250
+ readonly address?: io.flow.common.v0.models.Address;
7251
+ readonly contact?: io.flow.common.v0.models.Contact;
7252
+ }
7253
+ interface ShopifyPromoForm {
7254
+ readonly name: string;
7215
7255
  readonly starts_at: string;
7216
7256
  readonly ends_at?: string;
7257
+ readonly status: io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
7258
+ readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
7259
+ readonly stackable_limit?: number;
7217
7260
  }
7218
- interface ExperienceExportType {
7219
- readonly discriminator: 'experience_export_type';
7220
- readonly organization_id: string;
7221
- readonly ids?: string[];
7222
- readonly keys?: string[];
7223
- }
7224
- interface Export {
7261
+ interface ShopifyPromotion {
7225
7262
  readonly id: string;
7226
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
7227
- readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
7228
- readonly organization_q: string;
7229
- readonly created_at: string;
7230
- readonly started_at?: string;
7231
- readonly completed_at?: string;
7232
- readonly url?: string;
7233
- readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
7263
+ readonly name: string;
7264
+ readonly starts_at: string;
7265
+ readonly ends_at?: string;
7266
+ readonly status: io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
7267
+ readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
7268
+ readonly stackable_limit?: number;
7234
7269
  }
7235
- interface ExportDeliveryEmail {
7236
- readonly discriminator: 'export_delivery_email';
7237
- readonly email: string;
7270
+ interface ShopifyPromotionAttributeValue {
7271
+ readonly name: string;
7272
+ readonly discount: io.flow.common.v0.models.Money;
7238
7273
  }
7239
- interface ExportForm {
7240
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
7241
- readonly emails?: string[];
7242
- readonly organization_q?: string;
7274
+ interface ShopifyPromotionFixedAmount {
7275
+ readonly discriminator: 'shopify_promotion_fixed_amount';
7276
+ readonly amount: number;
7277
+ readonly currency: string;
7243
7278
  }
7244
- interface ExportLocalizedItemPrices {
7245
- readonly organization: io.flow.common.v0.models.OrganizationReference;
7246
- readonly experience: io.flow.experience.v0.models.ExperienceReference;
7247
- readonly item: io.flow.common.v0.models.CatalogItemReference;
7248
- readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
7249
- readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
7279
+ interface ShopifyPromotionForm {
7280
+ readonly code: string;
7250
7281
  }
7251
- interface ExportLocalizedItemPricesDetail {
7252
- readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
7253
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
7254
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
7255
- readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
7282
+ interface ShopifyPromotionItemEntitlement {
7283
+ readonly discriminator: 'shopify_promotion_item_entitlement';
7284
+ readonly q: string;
7285
+ readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7256
7286
  }
7257
- interface ExportVersion {
7258
- readonly id: string;
7259
- readonly timestamp: string;
7260
- readonly type: io.flow.common.v0.enums.ChangeType;
7261
- readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
7287
+ interface ShopifyPromotionItemPrerequisite {
7288
+ readonly discriminator: 'shopify_promotion_item_prerequisite';
7289
+ readonly q: string;
7290
+ readonly at_least?: number;
7291
+ readonly at_most?: number;
7292
+ readonly exclude_from_offer?: boolean;
7262
7293
  }
7263
- interface HarmonizationHs10ExportType {
7264
- readonly discriminator: 'harmonization_hs10_export_type';
7265
- readonly origin?: string;
7266
- readonly destination?: string;
7267
- readonly numbers?: string[];
7268
- readonly has_codes?: boolean;
7269
- readonly has_origins?: boolean;
7270
- readonly sort?: string;
7294
+ interface ShopifyPromotionMaxAmount {
7295
+ readonly discriminator: 'shopify_promotion_max_amount';
7296
+ readonly amount: number;
7297
+ readonly currency: string;
7271
7298
  }
7272
- interface HarmonizationHs6ExportType {
7273
- readonly discriminator: 'harmonization_hs6_export_type';
7274
- readonly numbers?: string[];
7275
- readonly has_codes?: boolean;
7276
- readonly sort?: string;
7299
+ interface ShopifyPromotionMaxLimit {
7300
+ readonly discriminator: 'shopify_promotion_max_limit';
7301
+ readonly limit: number;
7277
7302
  }
7278
- interface HarmonizationLandedCostExportType {
7279
- readonly discriminator: 'harmonization_landed_cost_export_type';
7280
- readonly items: io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
7303
+ interface ShopifyPromotionOffer {
7304
+ readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
7305
+ readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
7306
+ readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
7281
7307
  }
7282
- interface HarmonizationOverviewExportType {
7283
- readonly discriminator: 'harmonization_overview_export_type';
7284
- readonly origin?: string;
7285
- readonly destination?: string;
7286
- readonly sort?: string;
7308
+ interface ShopifyPromotionOrderEntitlement {
7309
+ readonly discriminator: 'shopify_promotion_order_entitlement';
7310
+ readonly components: io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
7311
+ readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7287
7312
  }
7288
- interface LandedCostItem {
7289
- readonly number: string;
7290
- readonly origin: string;
7291
- readonly destination: string;
7313
+ interface ShopifyPromotionOrderPrerequisite {
7314
+ readonly discriminator: 'shopify_promotion_order_prerequisite';
7315
+ readonly q: string;
7292
7316
  }
7293
- interface LocalizedItemPricesExportType {
7294
- readonly discriminator: 'localized_item_prices_export_type';
7295
- readonly since?: string;
7317
+ interface ShopifyPromotionPercent {
7318
+ readonly discriminator: 'shopify_promotion_percent';
7319
+ readonly percent: number;
7296
7320
  }
7297
- interface OrderExportType {
7298
- readonly discriminator: 'order_export_type';
7299
- readonly numbers?: string[];
7300
- readonly min_hours_since_submitted_at?: number;
7301
- readonly submitted_on_or_before?: string;
7302
- readonly submitted_on_or_after?: string;
7303
- readonly status?: io.flow.experience.v0.enums.OrderStatus;
7304
- readonly has_tracking_label?: boolean;
7305
- readonly sort?: string;
7321
+ interface ShopifyPromotionRule {
7322
+ readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
7323
+ readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
7306
7324
  }
7307
- interface PriceBookItemExportType {
7308
- readonly discriminator: 'price_book_item_export_type';
7309
- readonly price_book_key?: string;
7310
- readonly item_numbers?: string[];
7311
- readonly start_date?: string;
7312
- readonly end_date?: string;
7325
+ interface ShopifyWebhook {
7326
+ readonly id: string;
7327
+ readonly shop_id: string;
7328
+ readonly address: string;
7329
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
7313
7330
  }
7314
- interface ScheduledExport {
7331
+ interface ShopifyWebhookEvent {
7332
+ readonly dummy: string;
7333
+ }
7334
+ interface ShopifyWebhookForm {
7335
+ readonly myshopify_domain: string;
7336
+ readonly address: string;
7337
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
7338
+ }
7339
+ }
7340
+ declare namespace io.flow.shopify.internal.v0.unions {
7341
+ type ShopifyPromotionOfferDiscount = io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
7342
+ type ShopifyPromotionOfferEntitlement = io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
7343
+ type ShopifyPromotionOfferMax = io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount;
7344
+ type ShopifyPromotionPrerequisite = io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite;
7345
+ }
7346
+ declare namespace io.flow.ftp.v0.enums {
7347
+ type FtpFileSource = 'flow' | 'organization';
7348
+ }
7349
+ declare namespace io.flow.ftp.v0.models {
7350
+ interface FtpAccount {
7351
+ readonly server: io.flow.ftp.v0.models.FtpServer;
7352
+ readonly user: io.flow.ftp.v0.models.FtpUser;
7353
+ }
7354
+ interface FtpFile {
7315
7355
  readonly id: string;
7316
- readonly user: io.flow.common.v0.models.UserReference;
7317
- readonly organization_q: string;
7318
- readonly hour: number;
7319
- readonly minute: number;
7320
- readonly timezone: string;
7321
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
7322
- readonly last_sent_at?: string;
7356
+ readonly source: io.flow.ftp.v0.enums.FtpFileSource;
7357
+ readonly name: string;
7358
+ readonly directory: string;
7359
+ readonly url: string;
7360
+ readonly created_at: string;
7323
7361
  }
7324
- interface ScheduledExportForm {
7325
- readonly user_id: string;
7326
- readonly organization_q: string;
7327
- readonly hour: number;
7328
- readonly minute: number;
7329
- readonly timezone: string;
7330
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
7362
+ interface FtpFileForm {
7363
+ readonly url: string;
7364
+ readonly directory: string;
7365
+ readonly name?: string;
7331
7366
  }
7332
- interface SolidusProductExportType {
7333
- readonly discriminator: 'solidus_product_export_type';
7334
- readonly numbers?: string[];
7335
- readonly sort?: string;
7367
+ interface FtpFolder {
7368
+ readonly id: string;
7369
+ readonly path: string;
7370
+ readonly webhook: boolean;
7371
+ readonly description?: string;
7336
7372
  }
7337
- interface SolidusVariantExportType {
7338
- readonly discriminator: 'solidus_variant_export_type';
7339
- readonly numbers?: string[];
7340
- readonly sort?: string;
7373
+ interface FtpFolderForm {
7374
+ readonly path: string;
7375
+ readonly webhook: boolean;
7376
+ readonly description?: string;
7341
7377
  }
7342
- interface UnharmonizedItemExportType {
7343
- readonly discriminator: 'unharmonized_item_export_type';
7344
- readonly sort?: string;
7378
+ interface FtpOrganizationSettings {
7379
+ readonly enabled: boolean;
7380
+ readonly emails: string[];
7381
+ readonly account?: io.flow.ftp.v0.models.FtpAccount;
7382
+ }
7383
+ interface FtpOrganizationSettingsForm {
7384
+ readonly enabled: boolean;
7385
+ readonly emails: string[];
7386
+ }
7387
+ interface FtpServer {
7388
+ readonly hostname: string;
7389
+ }
7390
+ interface FtpUser {
7391
+ readonly username: string;
7392
+ readonly password?: string;
7345
7393
  }
7346
7394
  }
7347
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
7348
- type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
7349
- type ExportType = io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType;
7350
- }
7351
- declare namespace io.flow.shopify.internal.v0.enums {
7352
- type FlowApp = 'console';
7353
- type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
7354
- type ShopifyGrantStatus = 'pass' | 'fail';
7355
- type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
7356
- type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
7357
- type ShopifyPromotionStatus = 'active' | 'inactive';
7395
+ declare namespace io.flow.checkout.configuration.v0.enums {
7396
+ type CheckoutPromptBehavior = 'always' | 'incomplete';
7397
+ type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
7398
+ type GoogleAnalyticsPlugin = 'ec';
7358
7399
  }
7359
- declare namespace io.flow.shopify.internal.v0.models {
7360
- interface CompletePriceRule {
7361
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
7362
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
7400
+ declare namespace io.flow.checkout.configuration.v0.models {
7401
+ interface CheckoutAnalytics {
7402
+ readonly trackers: io.flow.checkout.configuration.v0.unions.Tracker[];
7403
+ readonly use_base_currency: boolean;
7363
7404
  }
7364
- interface InstallForm {
7365
- readonly token: string;
7405
+ interface CheckoutBehavior {
7406
+ readonly shipping_address: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingAddress;
7407
+ readonly shipping_method: io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingMethod;
7408
+ readonly customer_info: io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfo;
7366
7409
  }
7367
- interface OrderSubmissionForm {
7368
- readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
7410
+ interface CheckoutBehaviorCustomerInfo {
7411
+ readonly email: io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfoEmail;
7369
7412
  }
7370
- interface Shop {
7371
- readonly id: string;
7372
- readonly organization?: io.flow.common.v0.models.OrganizationReference;
7373
- readonly myshopify_domain: string;
7374
- readonly domain?: string;
7413
+ interface CheckoutBehaviorCustomerInfoEmail {
7414
+ readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
7375
7415
  }
7376
- interface ShopForm {
7377
- readonly organization_id: string;
7416
+ interface CheckoutBehaviorShippingAddress {
7417
+ readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
7378
7418
  }
7379
- interface ShopVersion {
7419
+ interface CheckoutBehaviorShippingMethod {
7420
+ readonly prompt: io.flow.checkout.configuration.v0.enums.CheckoutShippingMethodPromptBehavior;
7421
+ }
7422
+ interface CheckoutConfiguration {
7380
7423
  readonly id: string;
7381
- readonly timestamp: string;
7382
- readonly type: io.flow.common.v0.enums.ChangeType;
7383
- readonly shop: io.flow.shopify.internal.v0.models.Shop;
7424
+ readonly behavior: io.flow.checkout.configuration.v0.models.CheckoutBehavior;
7425
+ readonly settings: io.flow.checkout.configuration.v0.models.CheckoutSettings;
7426
+ readonly analytics?: io.flow.checkout.configuration.v0.models.CheckoutAnalytics;
7427
+ readonly domain?: string;
7384
7428
  }
7385
- interface ShopifyCheckInventoryError {
7386
- readonly code: io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
7387
- readonly messages: string[];
7388
- readonly numbers?: string[];
7429
+ interface CheckoutConfigurationReference {
7430
+ readonly id: string;
7389
7431
  }
7390
- interface ShopifyCodeForm {
7391
- readonly code: string;
7432
+ interface CheckoutSettings {
7433
+ readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
7434
+ readonly session_persistence_attribute_keys?: string[];
7392
7435
  }
7393
- interface ShopifyExperienceShortId {
7394
- readonly id: string;
7395
- readonly experience: io.flow.experience.v0.models.ExperienceReference;
7396
- readonly short_id: string;
7436
+ interface FacebookPixel {
7437
+ readonly discriminator: 'facebook_pixel';
7438
+ readonly name?: string;
7439
+ readonly tracker_id: string;
7397
7440
  }
7398
- interface ShopifyGiftCardBalance {
7399
- readonly gift_card_id: number;
7400
- readonly last_characters: string;
7401
- readonly amount: number;
7402
- readonly currency: string;
7441
+ interface GoogleAnalytics {
7442
+ readonly discriminator: 'google_analytics';
7443
+ readonly name?: string;
7444
+ readonly tracker_id: string;
7445
+ readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
7403
7446
  }
7404
- interface ShopifyGiftCardBalanceForm {
7405
- readonly number: string;
7447
+ interface GoogleGlobalSiteTag {
7448
+ readonly discriminator: 'google_global_site_tag';
7449
+ readonly name?: string;
7450
+ readonly tracker_id: string;
7406
7451
  }
7407
- interface ShopifyGiftCardPaymentForm {
7408
- readonly code: string;
7409
- readonly customer_id?: number;
7452
+ interface SnapchatPixel {
7453
+ readonly discriminator: 'snapchat_pixel';
7454
+ readonly name?: string;
7455
+ readonly tracker_id: string;
7410
7456
  }
7411
- interface ShopifyGiftCardRedemption {
7412
- readonly adjustment_id: number;
7413
- readonly gift_card_id: number;
7414
- readonly last_characters: string;
7415
- readonly amount: number;
7416
- readonly currency: string;
7457
+ }
7458
+ declare namespace io.flow.checkout.configuration.v0.unions {
7459
+ type Tracker = io.flow.checkout.configuration.v0.models.GoogleAnalytics | io.flow.checkout.configuration.v0.models.GoogleGlobalSiteTag | io.flow.checkout.configuration.v0.models.FacebookPixel | io.flow.checkout.configuration.v0.models.SnapchatPixel;
7460
+ }
7461
+ declare namespace io.flow.flexe.v0.enums {
7462
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
7463
+ type FlexeNotification = 'receipt' | 'shipment';
7464
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
7465
+ type FlexeStatus = 'in_transit' | 'completed';
7466
+ }
7467
+ declare namespace io.flow.flexe.v0.models {
7468
+ interface BillOfLading {
7469
+ readonly type: string;
7470
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
7417
7471
  }
7418
- interface ShopifyGiftCardRedemptionForm {
7419
- readonly number: string;
7420
- readonly amount: number;
7421
- readonly currency: string;
7472
+ interface BillTo {
7473
+ readonly name: string;
7474
+ readonly address_1: string;
7475
+ readonly locality: string;
7476
+ readonly region: string;
7477
+ readonly postal_code: string;
7478
+ readonly country: string;
7479
+ readonly address_2?: string;
7480
+ readonly address_3?: string;
7422
7481
  }
7423
- interface ShopifyGiftCardReversal {
7424
- readonly adjustment_id: number;
7425
- readonly gift_card_id: number;
7426
- readonly last_characters: string;
7427
- readonly amount: number;
7428
- readonly currency: string;
7482
+ interface CartonPickDeliveryDetails {
7483
+ readonly shipment_uuid?: string;
7484
+ readonly carrier?: string;
7485
+ readonly carrier_id?: string;
7429
7486
  }
7430
- interface ShopifyGiftCardReversalForm {
7431
- readonly number: string;
7432
- readonly amount: number;
7433
- readonly currency: string;
7487
+ interface ContainerDeliveryDetails {
7488
+ readonly purchase_order: string;
7489
+ readonly container_number?: string;
7490
+ readonly seal_number?: string;
7491
+ readonly vendor?: string;
7492
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7493
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7494
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
7495
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
7434
7496
  }
7435
- interface ShopifyGrantsCheck {
7436
- readonly dummy: string;
7497
+ interface DeliveryDetails {
7498
+ readonly shipment_uuid?: string;
7499
+ readonly trailer_number?: string;
7500
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
7501
+ readonly quantities_by_inventory: Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
7437
7502
  }
7438
- interface ShopifyOrderAuthorization {
7439
- readonly result: io.flow.payment.v0.models.AuthorizationResult;
7440
- readonly detail?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
7441
- readonly redirect?: string;
7503
+ interface Error {
7504
+ readonly url: string;
7505
+ readonly client_request_id: string;
7506
+ readonly generated_at: string;
7507
+ readonly error: string;
7442
7508
  }
7443
- interface ShopifyOrderContent {
7444
- readonly lines: io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
7445
- readonly discounts: io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
7509
+ interface FlexeAttachment {
7510
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
7511
+ readonly display_name: string;
7512
+ readonly url: string;
7446
7513
  }
7447
- interface ShopifyOrderDetail {
7448
- readonly organization: io.flow.common.v0.models.OrganizationReference;
7449
- readonly number: string;
7450
- readonly order: io.flow.experience.v0.models.Order;
7451
- readonly payments: io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
7452
- readonly contents: io.flow.shopify.internal.v0.models.ShopifyOrderContent;
7514
+ interface FlexeEcommerceFulfillment {
7515
+ readonly url: string;
7516
+ readonly client_request_id: string;
7517
+ readonly generated_at: string;
7518
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
7519
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
7453
7520
  }
7454
- interface ShopifyOrderDiscountContent {
7455
- readonly description: string;
7456
- readonly code?: string;
7521
+ interface FlexeEcommerceFulfillmentData {
7522
+ readonly import_id: string;
7523
+ readonly succeeded_uuids: string[];
7524
+ readonly failed_uuids: string[];
7525
+ readonly errors: string[];
7457
7526
  }
7458
- interface ShopifyOrderInventoryCheck {
7459
- readonly item_number: string;
7460
- readonly quantity: number;
7527
+ interface FlexeEcommerceFulfillmentErrors {
7528
+ readonly status: string;
7529
+ readonly title: string;
7530
+ readonly detail: string;
7531
+ readonly source?: string;
7461
7532
  }
7462
- interface ShopifyOrderLineAttribute {
7463
- readonly key: string;
7464
- readonly name: string;
7465
- readonly value: string;
7533
+ interface FlexeEcommerceFulfillmentForm {
7534
+ readonly reservation_id: number;
7535
+ readonly client_request_id: string;
7536
+ readonly request: io.flow.flexe.v0.models.Orders;
7466
7537
  }
7467
- interface ShopifyOrderLineContent {
7468
- readonly item_number: string;
7469
- readonly quantity: number;
7470
- readonly price: io.flow.common.v0.models.PriceWithBase;
7471
- readonly total: io.flow.common.v0.models.PriceWithBase;
7472
- readonly name: string;
7473
- readonly image_url: string;
7474
- readonly variant_url: string;
7475
- readonly attributes: io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
7538
+ interface FlexeInventoryData {
7539
+ readonly sku: string;
7540
+ readonly quantity: string;
7541
+ readonly unit: string;
7476
7542
  }
7477
- interface ShopifyPaymentSummary {
7478
- readonly description: string;
7479
- readonly address?: io.flow.common.v0.models.Address;
7480
- readonly contact?: io.flow.common.v0.models.Contact;
7543
+ interface FlexeRetailAttachment {
7544
+ readonly display_name: string;
7545
+ readonly url: string;
7481
7546
  }
7482
- interface ShopifyPromoForm {
7483
- readonly name: string;
7484
- readonly starts_at: string;
7485
- readonly ends_at?: string;
7486
- readonly status: io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
7487
- readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
7488
- readonly stackable_limit?: number;
7547
+ interface FlexeRetailFulfillment {
7548
+ readonly url: string;
7549
+ readonly client_request_id: string;
7550
+ readonly generated_at: string;
7551
+ readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
7552
+ readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
7489
7553
  }
7490
- interface ShopifyPromotion {
7554
+ interface FlexeRetailFulfillmentData {
7491
7555
  readonly id: string;
7492
- readonly name: string;
7493
- readonly starts_at: string;
7494
- readonly ends_at?: string;
7495
- readonly status: io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
7496
- readonly rule: io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
7497
- readonly stackable_limit?: number;
7556
+ readonly purchase_order_uuid: string;
7557
+ readonly status: string;
7498
7558
  }
7499
- interface ShopifyPromotionAttributeValue {
7500
- readonly name: string;
7501
- readonly discount: io.flow.common.v0.models.Money;
7559
+ interface FlexeRetailFulfillmentErrors {
7560
+ readonly type: string;
7561
+ readonly message: string;
7502
7562
  }
7503
- interface ShopifyPromotionFixedAmount {
7504
- readonly discriminator: 'shopify_promotion_fixed_amount';
7505
- readonly amount: number;
7506
- readonly currency: string;
7563
+ interface FlexeRetailFulfillmentForm {
7564
+ readonly reservation_id: number;
7565
+ readonly client_request_id?: string;
7566
+ readonly request: io.flow.flexe.v0.models.RetailOrder;
7567
+ }
7568
+ interface FulfillmentOrderDetails {
7569
+ readonly shipment_uuid: string;
7570
+ readonly carrier?: string;
7571
+ readonly carrier_id?: string;
7507
7572
  }
7508
- interface ShopifyPromotionForm {
7509
- readonly code: string;
7573
+ interface Gs1Us {
7574
+ readonly number: string;
7575
+ readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
7576
+ readonly bill_to?: io.flow.flexe.v0.models.BillTo;
7510
7577
  }
7511
- interface ShopifyPromotionItemEntitlement {
7512
- readonly discriminator: 'shopify_promotion_item_entitlement';
7513
- readonly q: string;
7514
- readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7578
+ interface Gs1UsShipTo {
7579
+ readonly cid_number?: string;
7580
+ readonly location_number?: string;
7581
+ readonly free_on_board?: boolean;
7515
7582
  }
7516
- interface ShopifyPromotionItemPrerequisite {
7517
- readonly discriminator: 'shopify_promotion_item_prerequisite';
7518
- readonly q: string;
7519
- readonly at_least?: number;
7520
- readonly at_most?: number;
7521
- readonly exclude_from_offer?: boolean;
7583
+ interface Inventory {
7584
+ readonly url: string;
7585
+ readonly client_request_id: string;
7586
+ readonly generated_at: string;
7587
+ readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
7522
7588
  }
7523
- interface ShopifyPromotionMaxAmount {
7524
- readonly discriminator: 'shopify_promotion_max_amount';
7589
+ interface InventoryCount {
7525
7590
  readonly amount: number;
7526
- readonly currency: string;
7591
+ readonly unit: string;
7527
7592
  }
7528
- interface ShopifyPromotionMaxLimit {
7529
- readonly discriminator: 'shopify_promotion_max_limit';
7530
- readonly limit: number;
7593
+ interface InventoryData {
7594
+ readonly pallet: io.flow.flexe.v0.models.InventoryCount;
7595
+ readonly carton?: io.flow.flexe.v0.models.InventoryCount;
7596
+ readonly each?: io.flow.flexe.v0.models.InventoryCount;
7531
7597
  }
7532
- interface ShopifyPromotionOffer {
7533
- readonly discount: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
7534
- readonly entitlement: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
7535
- readonly max?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
7598
+ interface InventoryDetails {
7599
+ readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
7536
7600
  }
7537
- interface ShopifyPromotionOrderEntitlement {
7538
- readonly discriminator: 'shopify_promotion_order_entitlement';
7539
- readonly components: io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
7540
- readonly allocation_method: io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
7601
+ interface LadingQuantity {
7602
+ readonly num_pallets: number;
7541
7603
  }
7542
- interface ShopifyPromotionOrderPrerequisite {
7543
- readonly discriminator: 'shopify_promotion_order_prerequisite';
7544
- readonly q: string;
7604
+ interface Order {
7605
+ readonly shipment_uuid: string;
7606
+ readonly purchase_order: string;
7607
+ readonly carrier: string;
7608
+ readonly service_type: string;
7609
+ readonly carrier_assigned_id: string;
7610
+ readonly name: string;
7611
+ readonly address_1: string;
7612
+ readonly address_2?: string;
7613
+ readonly address_3?: string;
7614
+ readonly city: string;
7615
+ readonly state: string;
7616
+ readonly postal_code: string;
7617
+ readonly phone?: string;
7618
+ readonly instructions?: string;
7619
+ readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
7620
+ readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
7545
7621
  }
7546
- interface ShopifyPromotionPercent {
7547
- readonly discriminator: 'shopify_promotion_percent';
7548
- readonly percent: number;
7622
+ interface Orders {
7623
+ readonly orders: io.flow.flexe.v0.models.Order[];
7549
7624
  }
7550
- interface ShopifyPromotionRule {
7551
- readonly prerequisites: io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
7552
- readonly offers: io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
7625
+ interface Pallet {
7626
+ readonly pallet_id: string;
7627
+ readonly sku: string;
7628
+ readonly quantity: number;
7629
+ readonly packaging: string;
7553
7630
  }
7554
- interface ShopifyWebhook {
7555
- readonly id: string;
7556
- readonly shop_id: string;
7557
- readonly address: string;
7558
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
7631
+ interface PurchaseOrder {
7632
+ readonly retail_fulfillment_order_id: string;
7633
+ readonly bill_of_lading_number: string;
7634
+ readonly purchase_order_uuid: string;
7635
+ readonly pickup_window_start: string;
7636
+ readonly pickup_window_end: string;
7637
+ readonly tags: string[];
7559
7638
  }
7560
- interface ShopifyWebhookEvent {
7561
- readonly dummy: string;
7639
+ interface QuantityByInventory {
7640
+ readonly received: io.flow.flexe.v0.models.InventoryData;
7641
+ readonly expected?: io.flow.flexe.v0.models.InventoryData;
7642
+ readonly damaged?: io.flow.flexe.v0.models.InventoryData;
7562
7643
  }
7563
- interface ShopifyWebhookForm {
7564
- readonly myshopify_domain: string;
7565
- readonly address: string;
7566
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
7644
+ interface ReceiptNotification {
7645
+ readonly shipment_id: string;
7646
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
7647
+ readonly reservation_id: string;
7648
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
7649
+ readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
7650
+ readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
7567
7651
  }
7568
- }
7569
- declare namespace io.flow.shopify.internal.v0.unions {
7570
- type ShopifyPromotionOfferDiscount = io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent;
7571
- type ShopifyPromotionOfferEntitlement = io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement;
7572
- type ShopifyPromotionOfferMax = io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount;
7573
- type ShopifyPromotionPrerequisite = io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite;
7574
- }
7575
- declare namespace io.flow.ftp.v0.enums {
7576
- type FtpFileSource = 'flow' | 'organization';
7577
- }
7578
- declare namespace io.flow.ftp.v0.models {
7579
- interface FtpAccount {
7580
- readonly server: io.flow.ftp.v0.models.FtpServer;
7581
- readonly user: io.flow.ftp.v0.models.FtpUser;
7652
+ interface RetailFulfillmentOrderDetails {
7653
+ readonly master_bill_of_lading_number: string;
7654
+ readonly scac: string;
7655
+ readonly pro_number: string;
7656
+ readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
7657
+ readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
7582
7658
  }
7583
- interface FtpFile {
7584
- readonly id: string;
7585
- readonly source: io.flow.ftp.v0.enums.FtpFileSource;
7586
- readonly name: string;
7587
- readonly directory: string;
7588
- readonly url: string;
7589
- readonly created_at: string;
7659
+ interface RetailInventoryData {
7660
+ readonly sku: string;
7661
+ readonly quantity: number;
7662
+ readonly unit: string;
7663
+ readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
7590
7664
  }
7591
- interface FtpFileForm {
7592
- readonly url: string;
7593
- readonly directory: string;
7594
- readonly name?: string;
7665
+ interface RetailOrder {
7666
+ readonly order: io.flow.flexe.v0.models.RetailOrderData;
7595
7667
  }
7596
- interface FtpFolder {
7597
- readonly id: string;
7598
- readonly path: string;
7599
- readonly webhook: boolean;
7600
- readonly description?: string;
7668
+ interface RetailOrderData {
7669
+ readonly purchase_order_uuid: string;
7670
+ readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
7671
+ readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
7672
+ readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
7673
+ readonly ship_to: io.flow.flexe.v0.models.ShipTo;
7674
+ readonly build_by?: string;
7675
+ readonly instrunctions?: string;
7676
+ readonly routing_details_id?: string;
7677
+ readonly destination_type?: string;
7601
7678
  }
7602
- interface FtpFolderForm {
7603
- readonly path: string;
7604
- readonly webhook: boolean;
7605
- readonly description?: string;
7679
+ interface ShipTo {
7680
+ readonly name: string;
7681
+ readonly address_1: string;
7682
+ readonly locality: string;
7683
+ readonly region: string;
7684
+ readonly postal_code: string;
7685
+ readonly country: string;
7686
+ readonly address_2?: string;
7687
+ readonly address_3?: string;
7606
7688
  }
7607
- interface FtpOrganizationSettings {
7608
- readonly enabled: boolean;
7609
- readonly emails: string[];
7610
- readonly account?: io.flow.ftp.v0.models.FtpAccount;
7689
+ interface ShipWithin {
7690
+ readonly start: string;
7691
+ readonly end: string;
7611
7692
  }
7612
- interface FtpOrganizationSettingsForm {
7613
- readonly enabled: boolean;
7614
- readonly emails: string[];
7693
+ interface ShipmentDeliveryDetails {
7694
+ readonly shipment_uuid?: string;
7615
7695
  }
7616
- interface FtpServer {
7617
- readonly hostname: string;
7696
+ interface ShipmentNotification {
7697
+ readonly shipment_id: string;
7698
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
7699
+ readonly reservation_id: string;
7700
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
7701
+ readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
7702
+ readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
7703
+ readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
7704
+ readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
7618
7705
  }
7619
- interface FtpUser {
7620
- readonly username: string;
7621
- readonly password?: string;
7706
+ interface Sku {
7707
+ readonly sku: string;
7708
+ readonly description: string;
7709
+ readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
7710
+ }
7711
+ interface SkuSummary {
7712
+ readonly key: string;
7713
+ readonly quantity: number;
7714
+ readonly unit: string;
7622
7715
  }
7623
7716
  }
7624
7717
  declare namespace io.flow.fraud.v0.enums {
@@ -9095,6 +9188,11 @@ declare namespace io.flow.adyen.v0.models {
9095
9188
  readonly 'threeds2.threeDS2ResponseData.acsTransID': string;
9096
9189
  readonly 'threeds2.threeDS2ResponseData.messageVersion': string;
9097
9190
  }
9191
+ interface ChargebackNotificationAdditionalData {
9192
+ readonly chargebackReasonCode: string;
9193
+ readonly modificationMerchantReferences: string;
9194
+ readonly chargebackSchemeCode: string;
9195
+ }
9098
9196
  interface Error {
9099
9197
  readonly status: number;
9100
9198
  readonly errorCode: string;
@@ -9207,6 +9305,11 @@ declare namespace io.flow.adyen.v0.models {
9207
9305
  readonly TermUrl?: string;
9208
9306
  readonly MD?: string;
9209
9307
  }
9308
+ interface RequestForInformationAdditionalData {
9309
+ readonly rfiSchemeCode: string;
9310
+ readonly modificationMerchantReferences: string;
9311
+ readonly rfiReasonCode: string;
9312
+ }
9210
9313
  interface Scheme {
9211
9314
  readonly type: 'scheme';
9212
9315
  readonly expiryMonth: string;
@@ -10052,11 +10155,12 @@ declare namespace io.flow.internal.v0.enums {
10052
10155
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
10053
10156
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10054
10157
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10158
+ type EmptyAttribute = 'irrelevant';
10055
10159
  type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10056
10160
  type ExperienceImportType = 'experience_with_settings';
10057
10161
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10058
10162
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
10059
- type ExperimentDiscriminatorValue = 'experience' | 'feature';
10163
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
10060
10164
  type FeatureScope = 'global' | 'organization';
10061
10165
  type FeatureStatus = 'draft' | 'active' | 'archived';
10062
10166
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -10098,6 +10202,7 @@ declare namespace io.flow.internal.v0.enums {
10098
10202
  type PriceSelector = 'minimum' | 'maximum';
10099
10203
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
10100
10204
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
10205
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
10101
10206
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
10102
10207
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
10103
10208
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -10124,6 +10229,7 @@ declare namespace io.flow.internal.v0.enums {
10124
10229
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
10125
10230
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
10126
10231
  type TransferMethod = 'ach';
10232
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
10127
10233
  }
10128
10234
  declare namespace io.flow.internal.v0.models {
10129
10235
  interface Account {
@@ -10462,6 +10568,10 @@ declare namespace io.flow.internal.v0.models {
10462
10568
  interface AllocationItemReference {
10463
10569
  readonly number: string;
10464
10570
  }
10571
+ interface AllowedLabels {
10572
+ readonly name: string;
10573
+ readonly labels: Record<string, string[]>;
10574
+ }
10465
10575
  interface ApmContent {
10466
10576
  readonly processor_description: io.flow.internal.v0.unions.ContentItem;
10467
10577
  }
@@ -10479,6 +10589,10 @@ declare namespace io.flow.internal.v0.models {
10479
10589
  readonly publicKeyHash: string;
10480
10590
  readonly transactionId: string;
10481
10591
  }
10592
+ interface AttributeLabel {
10593
+ readonly value: string;
10594
+ readonly estimated: boolean;
10595
+ }
10482
10596
  interface AuthenticationForm {
10483
10597
  readonly password: string;
10484
10598
  }
@@ -10924,7 +11038,7 @@ declare namespace io.flow.internal.v0.models {
10924
11038
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
10925
11039
  readonly addresses: io.flow.experience.v0.models.AddressConfiguration[];
10926
11040
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
10927
- readonly configuration: unknown;
11041
+ readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10928
11042
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
10929
11043
  readonly customer?: io.flow.customer.v0.models.Customer;
10930
11044
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -10965,7 +11079,7 @@ declare namespace io.flow.internal.v0.models {
10965
11079
  readonly provinces: io.flow.reference.v0.models.Province[];
10966
11080
  readonly checkout_items: io.flow.experience.v0.models.CheckoutItemContent[];
10967
11081
  readonly metadata?: io.flow.internal.v0.models.CheckoutBundleMetadata;
10968
- readonly configuration?: unknown;
11082
+ readonly configuration?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10969
11083
  readonly address_configurations?: io.flow.experience.v0.models.AddressConfiguration[];
10970
11084
  readonly customer?: io.flow.customer.v0.models.Customer;
10971
11085
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -10987,7 +11101,7 @@ declare namespace io.flow.internal.v0.models {
10987
11101
  readonly event_id: string;
10988
11102
  readonly timestamp: string;
10989
11103
  readonly organization: string;
10990
- readonly checkout_configuration: unknown;
11104
+ readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
10991
11105
  }
10992
11106
  interface CheckoutConfigurationReference {
10993
11107
  readonly id: string;
@@ -10997,7 +11111,7 @@ declare namespace io.flow.internal.v0.models {
10997
11111
  readonly event_id: string;
10998
11112
  readonly timestamp: string;
10999
11113
  readonly organization: string;
11000
- readonly checkout_configuration: unknown;
11114
+ readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
11001
11115
  }
11002
11116
  interface CheckoutContent {
11003
11117
  readonly global?: io.flow.content.internal.v0.models.CheckoutContentSummary;
@@ -11550,9 +11664,21 @@ declare namespace io.flow.internal.v0.models {
11550
11664
  readonly variants: io.flow.internal.v0.unions.VariantForm[];
11551
11665
  }
11552
11666
  interface ExperimentFormDefault {
11553
- readonly discriminator: io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
11554
- readonly values: io.flow.internal.v0.models.ExperimentVariantSummary[];
11555
- readonly variants?: io.flow.internal.v0.models.ExperimentVariantFormDefault[];
11667
+ readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
11668
+ readonly variants?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
11669
+ }
11670
+ interface ExperimentFormDefaultDiscriminator {
11671
+ readonly key: io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
11672
+ readonly values: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
11673
+ }
11674
+ interface ExperimentFormDefaultDiscriminatorValue {
11675
+ readonly key: string;
11676
+ readonly name: string;
11677
+ }
11678
+ interface ExperimentFormDefaultVariant {
11679
+ readonly key: string;
11680
+ readonly name: string;
11681
+ readonly traffic_percentage?: number;
11556
11682
  }
11557
11683
  interface ExperimentResults {
11558
11684
  readonly id: string;
@@ -11590,11 +11716,6 @@ declare namespace io.flow.internal.v0.models {
11590
11716
  readonly organization_id: string;
11591
11717
  readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
11592
11718
  }
11593
- interface ExperimentVariantFormDefault {
11594
- readonly key: string;
11595
- readonly name: string;
11596
- readonly traffic_percentage: number;
11597
- }
11598
11719
  interface ExperimentVariantSummary {
11599
11720
  readonly key: string;
11600
11721
  readonly name?: string;
@@ -12413,6 +12534,16 @@ declare namespace io.flow.internal.v0.models {
12413
12534
  readonly format: io.flow.internal.v0.enums.Format;
12414
12535
  readonly value: string;
12415
12536
  }
12537
+ interface LabelAliases {
12538
+ readonly name: string;
12539
+ readonly aliases: string[];
12540
+ }
12541
+ interface LabelAssociation {
12542
+ readonly items: Record<string, string[]>;
12543
+ readonly genders: Record<string, string[]>;
12544
+ readonly materials: Record<string, string[]>;
12545
+ readonly constructions: Record<string, string[]>;
12546
+ }
12416
12547
  interface LabelSummary {
12417
12548
  readonly commercial_invoice?: string;
12418
12549
  readonly pdf?: string;
@@ -12422,6 +12553,13 @@ declare namespace io.flow.internal.v0.models {
12422
12553
  readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
12423
12554
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
12424
12555
  }
12556
+ interface LabelTaxonomy {
12557
+ readonly item_type: string;
12558
+ readonly aliases: string[];
12559
+ readonly construction: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12560
+ readonly gender: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12561
+ readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12562
+ }
12425
12563
  interface LabeledContent {
12426
12564
  readonly label: io.flow.internal.v0.models.Label;
12427
12565
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -13577,6 +13715,11 @@ declare namespace io.flow.internal.v0.models {
13577
13715
  readonly withholdings: io.flow.internal.v0.models.Components;
13578
13716
  readonly parent_transaction_id?: string;
13579
13717
  readonly order?: io.flow.internal.v0.models.BillingOrderSummary;
13718
+ readonly spot_rate: number;
13719
+ readonly flow_rate: number;
13720
+ readonly organization_rate: number;
13721
+ readonly flow_margin: number;
13722
+ readonly organization_margin: number;
13580
13723
  }
13581
13724
  interface ProcessingTransactionDeleted {
13582
13725
  readonly discriminator: 'processing_transaction_deleted';
@@ -13592,6 +13735,25 @@ declare namespace io.flow.internal.v0.models {
13592
13735
  readonly organization: string;
13593
13736
  readonly processing_transaction: io.flow.billing.internal.v0.models.ProcessingTransaction;
13594
13737
  }
13738
+ interface ProductClassification {
13739
+ readonly organization_id: string;
13740
+ readonly product_id: string;
13741
+ readonly description: string;
13742
+ readonly items: io.flow.internal.v0.models.ClassificationItem[];
13743
+ readonly images: string[];
13744
+ readonly categories: string[];
13745
+ readonly attributes: Record<string, string>;
13746
+ readonly labels: io.flow.internal.v0.models.ProductLabels;
13747
+ readonly current_customs_description?: string;
13748
+ readonly customs_description?: string;
13749
+ readonly hs6_code?: string;
13750
+ readonly hs6_description?: string;
13751
+ readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
13752
+ }
13753
+ interface ProductClassificationForm {
13754
+ readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
13755
+ readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
13756
+ }
13595
13757
  interface ProductClassificationJudgementForm {
13596
13758
  readonly organization_id: string;
13597
13759
  readonly product_id: string;
@@ -13603,6 +13765,21 @@ declare namespace io.flow.internal.v0.models {
13603
13765
  readonly classified_product: io.flow.internal.v0.models.ClassifiedProduct;
13604
13766
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
13605
13767
  }
13768
+ interface ProductHarmonization {
13769
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
13770
+ readonly customs_description: string;
13771
+ readonly hs6_code: string;
13772
+ readonly model_version: string;
13773
+ }
13774
+ interface ProductHarmonizationForm {
13775
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
13776
+ }
13777
+ interface ProductLabels {
13778
+ readonly item_type: string;
13779
+ readonly gender?: io.flow.internal.v0.models.AttributeLabel;
13780
+ readonly material?: io.flow.internal.v0.models.AttributeLabel;
13781
+ readonly construction?: io.flow.internal.v0.models.AttributeLabel;
13782
+ }
13606
13783
  interface QuoteRequest {
13607
13784
  readonly id: string;
13608
13785
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -14326,6 +14503,10 @@ declare namespace io.flow.internal.v0.models {
14326
14503
  readonly created_at: string;
14327
14504
  readonly period: io.flow.common.v0.models.DatetimeRange;
14328
14505
  }
14506
+ interface SupportedLabels {
14507
+ readonly discriminator: 'supported_labels';
14508
+ readonly values: io.flow.internal.v0.models.LabelAliases[];
14509
+ }
14329
14510
  interface SvbVirtualCardClearing {
14330
14511
  readonly id: string;
14331
14512
  readonly virtual_card_id: string;
@@ -14574,7 +14755,7 @@ declare namespace io.flow.internal.v0.models {
14574
14755
  interface UnclassifiedProductsForm {
14575
14756
  readonly organization_id: string;
14576
14757
  readonly product_id: string;
14577
- readonly ignore?: boolean;
14758
+ readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
14578
14759
  }
14579
14760
  interface UnharmonizedItemsExport {
14580
14761
  readonly discriminator: 'unharmonized_items_export';
@@ -14652,6 +14833,10 @@ declare namespace io.flow.internal.v0.unions {
14652
14833
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
14653
14834
  type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
14654
14835
  type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
14836
+ type ClassificationLabelAttribute = {
14837
+ discriminator: 'empty_attribute';
14838
+ value: io.flow.internal.v0.enums.EmptyAttribute;
14839
+ } | io.flow.internal.v0.models.SupportedLabels;
14655
14840
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load;
14656
14841
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
14657
14842
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
@@ -14695,7 +14880,7 @@ declare namespace io.flow.internal.v0.unions {
14695
14880
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
14696
14881
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
14697
14882
  type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
14698
- type VariantForm = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm;
14883
+ type VariantForm = io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm;
14699
14884
  }
14700
14885
  export declare type Account = io.flow.internal.v0.models.Account;
14701
14886
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
@@ -14746,9 +14931,11 @@ export declare type AlertFailureSummaryDetail = io.flow.internal.v0.models.Alert
14746
14931
  export declare type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
14747
14932
  export declare type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
14748
14933
  export declare type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
14934
+ export declare type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
14749
14935
  export declare type ApmContent = io.flow.internal.v0.models.ApmContent;
14750
14936
  export declare type ApplePaymentToken = io.flow.internal.v0.models.ApplePaymentToken;
14751
14937
  export declare type ApplePaymentTokenHeader = io.flow.internal.v0.models.ApplePaymentTokenHeader;
14938
+ export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
14752
14939
  export declare type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
14753
14940
  export declare type Authorization = io.flow.internal.v0.models.Authorization;
14754
14941
  export declare type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
@@ -14880,6 +15067,7 @@ export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
14880
15067
  export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
14881
15068
  export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
14882
15069
  export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
15070
+ export declare type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
14883
15071
  export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
14884
15072
  export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
14885
15073
  export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
@@ -14948,6 +15136,7 @@ export declare type DutySimpleExpression = io.flow.internal.v0.models.DutySimple
14948
15136
  export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
14949
15137
  export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
14950
15138
  export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
15139
+ export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
14951
15140
  export declare type Encryption = io.flow.internal.v0.models.Encryption;
14952
15141
  export declare type Event = io.flow.internal.v0.unions.Event;
14953
15142
  export declare type EventType = io.flow.internal.v0.enums.EventType;
@@ -14965,16 +15154,18 @@ export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVar
14965
15154
  export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
14966
15155
  export declare type Experiment = io.flow.internal.v0.unions.Experiment;
14967
15156
  export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
14968
- export declare type ExperimentDiscriminatorValue = io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
15157
+ export declare type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
14969
15158
  export declare type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
14970
15159
  export declare type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
14971
15160
  export declare type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDefault;
15161
+ export declare type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
15162
+ export declare type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
15163
+ export declare type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
14972
15164
  export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
14973
15165
  export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
14974
15166
  export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
14975
15167
  export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
14976
15168
  export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
14977
- export declare type ExperimentVariantFormDefault = io.flow.internal.v0.models.ExperimentVariantFormDefault;
14978
15169
  export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
14979
15170
  export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
14980
15171
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
@@ -15137,8 +15328,11 @@ export declare type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
15137
15328
  export declare type Key = io.flow.internal.v0.models.Key;
15138
15329
  export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
15139
15330
  export declare type Label = io.flow.internal.v0.models.Label;
15331
+ export declare type LabelAliases = io.flow.internal.v0.models.LabelAliases;
15332
+ export declare type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
15140
15333
  export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
15141
15334
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
15335
+ export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
15142
15336
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
15143
15337
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
15144
15338
  export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -15360,8 +15554,14 @@ export declare type ProcessingTransactionDeleted = io.flow.internal.v0.models.Pr
15360
15554
  export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
15361
15555
  export declare type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
15362
15556
  export declare type Processor = io.flow.internal.v0.enums.Processor;
15557
+ export declare type ProductClassification = io.flow.internal.v0.models.ProductClassification;
15558
+ export declare type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
15559
+ export declare type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
15363
15560
  export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
15364
15561
  export declare type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
15562
+ export declare type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
15563
+ export declare type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
15564
+ export declare type ProductLabels = io.flow.internal.v0.models.ProductLabels;
15365
15565
  export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
15366
15566
  export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
15367
15567
  export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -15509,6 +15709,7 @@ export declare type Subscription = io.flow.internal.v0.models.Subscription;
15509
15709
  export declare type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency;
15510
15710
  export declare type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction;
15511
15711
  export declare type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
15712
+ export declare type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
15512
15713
  export declare type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
15513
15714
  export declare type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
15514
15715
  export declare type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
@@ -15553,6 +15754,7 @@ export declare type TransferTransaction = io.flow.internal.v0.models.TransferTra
15553
15754
  export declare type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
15554
15755
  export declare type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
15555
15756
  export declare type Tribe = io.flow.internal.v0.models.Tribe;
15757
+ export declare type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
15556
15758
  export declare type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
15557
15759
  export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
15558
15760
  export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;