@flowio/types 0.0.1 → 0.0.3

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,3 +1,368 @@
1
+ namespace io.flow.ratecard.v0.enums {}
2
+
3
+ namespace io.flow.ratecard.v0.models {
4
+ export interface CrossdockRatecardFee {
5
+ readonly amount: io.flow.common.v0.models.Money;
6
+ }
7
+
8
+ export interface DdpRatecardFee {
9
+ readonly amount: number;
10
+ }
11
+
12
+ export interface DimensionEstimate {
13
+ readonly id: string;
14
+ readonly q: string;
15
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
16
+ readonly position: number;
17
+ }
18
+
19
+ export interface DimensionEstimateForm {
20
+ readonly q: string;
21
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
22
+ readonly position?: number;
23
+ }
24
+
25
+ export interface DimensionEstimateVersion {
26
+ readonly id: string;
27
+ readonly timestamp: string;
28
+ readonly type: io.flow.common.v0.enums.ChangeType;
29
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
30
+ }
31
+
32
+ export interface EstimatedDimensions {
33
+ readonly depth: io.flow.common.v0.models.Measurement;
34
+ readonly length: io.flow.common.v0.models.Measurement;
35
+ readonly weight: io.flow.common.v0.models.Measurement;
36
+ readonly width: io.flow.common.v0.models.Measurement;
37
+ }
38
+
39
+ export interface FuelSurchargeRatecardFee {
40
+ readonly amount: io.flow.common.v0.models.Money;
41
+ }
42
+
43
+ export interface FuelSurchargeServiceFee {
44
+ readonly percent: number;
45
+ }
46
+
47
+ export interface Hop {
48
+ readonly hop_number: number;
49
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
50
+ }
51
+
52
+ export interface HopEstimate {
53
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
54
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
55
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
56
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
57
+ readonly currency: string;
58
+ readonly amount: number;
59
+ readonly fees: (
60
+ | {
61
+ discriminator: 'ddp_ratecard_fee';
62
+ } & io.flow.ratecard.v0.models.DdpRatecardFee
63
+ | {
64
+ discriminator: 'fuel_surcharge_ratecard_fee';
65
+ } & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
66
+ | {
67
+ discriminator: 'oversized_shipment_ratecard_fee';
68
+ } & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
69
+ | {
70
+ discriminator: 'return_package_ratecard_fee';
71
+ } & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
72
+ | {
73
+ discriminator: 'crossdock_ratecard_fee';
74
+ } & io.flow.ratecard.v0.models.CrossdockRatecardFee
75
+ | {
76
+ discriminator: 'remote_area_ratecard_fee';
77
+ } & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
78
+ readonly total: number;
79
+ }
80
+
81
+ export interface OversizedShipmentRatecardFee {
82
+ readonly weight_threshold: number;
83
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
84
+ readonly margin?: number;
85
+ readonly amount?: number;
86
+ }
87
+
88
+ export interface Ratecard {
89
+ readonly id: string;
90
+ readonly direction: io.flow.label.v0.enums.Direction;
91
+ readonly effective_at: string;
92
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
93
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
94
+ readonly number?: string;
95
+ readonly published_at?: string;
96
+ }
97
+
98
+ export interface RatecardCarrierSummary {
99
+ readonly id: string;
100
+ readonly name: string;
101
+ }
102
+
103
+ export interface RatecardEstimateFormV1 {
104
+ readonly origin?: string;
105
+ readonly destination?: string;
106
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
107
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
108
+ readonly service?: string;
109
+ readonly weight?: number;
110
+ readonly length?: number;
111
+ readonly width?: number;
112
+ readonly depth?: number;
113
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
114
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
115
+ }
116
+
117
+ export interface RatecardEstimateFormV2 {
118
+ readonly origin_address: io.flow.common.v0.models.Address;
119
+ readonly destination_address: io.flow.common.v0.models.Address;
120
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
121
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
122
+ readonly service?: string;
123
+ readonly weight?: number;
124
+ readonly length?: number;
125
+ readonly width?: number;
126
+ readonly depth?: number;
127
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
128
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
129
+ readonly center_id?: string;
130
+ }
131
+
132
+ export interface RatecardEstimateSummaryForm {
133
+ readonly origin?: string;
134
+ readonly destination?: string;
135
+ readonly service?: string;
136
+ readonly center_key?: string;
137
+ }
138
+
139
+ export interface RatecardEstimateV1 {
140
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
141
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
142
+ readonly currency: string;
143
+ readonly amount: number;
144
+ readonly fees: (
145
+ | {
146
+ discriminator: 'ddp_ratecard_fee';
147
+ } & io.flow.ratecard.v0.models.DdpRatecardFee
148
+ | {
149
+ discriminator: 'fuel_surcharge_ratecard_fee';
150
+ } & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
151
+ | {
152
+ discriminator: 'oversized_shipment_ratecard_fee';
153
+ } & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
154
+ | {
155
+ discriminator: 'return_package_ratecard_fee';
156
+ } & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
157
+ | {
158
+ discriminator: 'crossdock_ratecard_fee';
159
+ } & io.flow.ratecard.v0.models.CrossdockRatecardFee
160
+ | {
161
+ discriminator: 'remote_area_ratecard_fee';
162
+ } & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
163
+ readonly total: number;
164
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
165
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
166
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
167
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
168
+ }
169
+
170
+ export interface RatecardEstimateV2 {
171
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
172
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
173
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
174
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
175
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
176
+ }
177
+
178
+ export interface RatecardForm {
179
+ readonly direction: io.flow.label.v0.enums.Direction;
180
+ readonly effective_at: string;
181
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
182
+ readonly service: string;
183
+ readonly number?: string;
184
+ }
185
+
186
+ export interface RatecardLane {
187
+ readonly id: string;
188
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
189
+ readonly currency: string;
190
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
191
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
192
+ readonly destination: io.flow.common.v0.models.Zone;
193
+ readonly dim_factor: number;
194
+ readonly fees: (
195
+ | {
196
+ discriminator: 'ddp_ratecard_fee';
197
+ } & io.flow.ratecard.v0.models.DdpRatecardFee
198
+ | {
199
+ discriminator: 'fuel_surcharge_ratecard_fee';
200
+ } & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
201
+ | {
202
+ discriminator: 'oversized_shipment_ratecard_fee';
203
+ } & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
204
+ | {
205
+ discriminator: 'return_package_ratecard_fee';
206
+ } & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
207
+ | {
208
+ discriminator: 'crossdock_ratecard_fee';
209
+ } & io.flow.ratecard.v0.models.CrossdockRatecardFee
210
+ | {
211
+ discriminator: 'remote_area_ratecard_fee';
212
+ } & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
213
+ readonly origin: io.flow.common.v0.models.Zone;
214
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
215
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
216
+ readonly rounding: io.flow.common.v0.models.Rounding;
217
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
218
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
219
+ }
220
+
221
+ export interface RatecardLaneForm {
222
+ readonly ratecard_id: string;
223
+ readonly currency: string;
224
+ readonly destination: io.flow.common.v0.models.Zone;
225
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
226
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
227
+ readonly dim_factor: number;
228
+ readonly fees: (
229
+ | {
230
+ discriminator: 'ddp_ratecard_fee';
231
+ } & io.flow.ratecard.v0.models.DdpRatecardFee
232
+ | {
233
+ discriminator: 'fuel_surcharge_ratecard_fee';
234
+ } & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
235
+ | {
236
+ discriminator: 'oversized_shipment_ratecard_fee';
237
+ } & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
238
+ | {
239
+ discriminator: 'return_package_ratecard_fee';
240
+ } & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
241
+ | {
242
+ discriminator: 'crossdock_ratecard_fee';
243
+ } & io.flow.ratecard.v0.models.CrossdockRatecardFee
244
+ | {
245
+ discriminator: 'remote_area_ratecard_fee';
246
+ } & io.flow.ratecard.v0.models.RemoteAreaRatecardFee)[];
247
+ readonly origin: io.flow.common.v0.models.Zone;
248
+ readonly rounding: io.flow.common.v0.models.Rounding;
249
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
250
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
251
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
252
+ }
253
+
254
+ export interface RatecardLaneVersion {
255
+ readonly id: string;
256
+ readonly timestamp: string;
257
+ readonly type: io.flow.common.v0.enums.ChangeType;
258
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
259
+ }
260
+
261
+ export interface RatecardLanesImportRequestData {
262
+ readonly id: string;
263
+ readonly source_url: string;
264
+ readonly filename?: string;
265
+ }
266
+
267
+ export interface RatecardRate {
268
+ readonly id: string;
269
+ readonly amount: number;
270
+ readonly weight: number;
271
+ }
272
+
273
+ export interface RatecardRateForm {
274
+ readonly amount: number;
275
+ readonly weight: number;
276
+ }
277
+
278
+ export interface RatecardRateVersion {
279
+ readonly id: string;
280
+ readonly timestamp: string;
281
+ readonly type: io.flow.common.v0.enums.ChangeType;
282
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
283
+ }
284
+
285
+ export interface RatecardReference {
286
+ readonly id: string;
287
+ }
288
+
289
+ export interface RatecardServiceSummary {
290
+ readonly id: string;
291
+ readonly name: string;
292
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
293
+ }
294
+
295
+ export interface RatecardVersion {
296
+ readonly id: string;
297
+ readonly timestamp: string;
298
+ readonly type: io.flow.common.v0.enums.ChangeType;
299
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
300
+ }
301
+
302
+ export interface RemoteAreaRatecardFee {
303
+ readonly amount: io.flow.common.v0.models.Money;
304
+ }
305
+
306
+ export interface RemoteAreaServiceFee {
307
+ readonly amount: io.flow.common.v0.models.Money;
308
+ }
309
+
310
+ export interface ReturnPackageRatecardFee {
311
+ readonly amount: number;
312
+ }
313
+
314
+ export interface ShipmentWindow {
315
+ readonly from: number;
316
+ readonly to: number;
317
+ }
318
+ }
319
+
320
+ namespace io.flow.ratecard.v0.unions {
321
+ export type RatecardEstimate =
322
+ | {
323
+ discriminator: 'ratecard_estimate_v1';
324
+ } & io.flow.ratecard.v0.models.RatecardEstimateV1
325
+ | {
326
+ discriminator: 'ratecard_estimate_v2';
327
+ } & io.flow.ratecard.v0.models.RatecardEstimateV2;
328
+
329
+ export type RatecardEstimateForm =
330
+ | {
331
+ discriminator: 'ratecard_estimate_form_v1';
332
+ } & io.flow.ratecard.v0.models.RatecardEstimateFormV1
333
+ | {
334
+ discriminator: 'ratecard_estimate_form_v2';
335
+ } & io.flow.ratecard.v0.models.RatecardEstimateFormV2;
336
+
337
+ export type RatecardFee =
338
+ | {
339
+ discriminator: 'ddp_ratecard_fee';
340
+ } & io.flow.ratecard.v0.models.DdpRatecardFee
341
+ | {
342
+ discriminator: 'fuel_surcharge_ratecard_fee';
343
+ } & io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
344
+ | {
345
+ discriminator: 'oversized_shipment_ratecard_fee';
346
+ } & io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
347
+ | {
348
+ discriminator: 'return_package_ratecard_fee';
349
+ } & io.flow.ratecard.v0.models.ReturnPackageRatecardFee
350
+ | {
351
+ discriminator: 'crossdock_ratecard_fee';
352
+ } & io.flow.ratecard.v0.models.CrossdockRatecardFee
353
+ | {
354
+ discriminator: 'remote_area_ratecard_fee';
355
+ } & io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
356
+
357
+ export type ServiceFee =
358
+ | {
359
+ discriminator: 'fuel_surcharge_service_fee';
360
+ } & io.flow.ratecard.v0.models.FuelSurchargeServiceFee
361
+ | {
362
+ discriminator: 'remote_area_service_fee';
363
+ } & io.flow.ratecard.v0.models.RemoteAreaServiceFee;
364
+ }
365
+
1
366
  namespace io.flow.optin.internal.v0.enums {
2
367
  export type PromptAction =
3
368
  | 'prompt_displayed'
@@ -1895,7 +2260,7 @@ namespace io.flow.shopify.external.v0.models {
1895
2260
  readonly product_title: string;
1896
2261
  readonly product_description?: string;
1897
2262
  readonly product_type: string;
1898
- readonly variant_title: string;
2263
+ readonly variant_title?: string;
1899
2264
  readonly variant_options?: string[];
1900
2265
  readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
1901
2266
  }
@@ -4082,7 +4447,7 @@ namespace io.flow.bitpay.v0.models {
4082
4447
  readonly url: string;
4083
4448
  readonly posData?: string;
4084
4449
  readonly status: io.flow.bitpay.v0.enums.InvoiceStatus;
4085
- readonly exceptionStatus: unknown;
4450
+ readonly exceptionStatus: string;
4086
4451
  readonly price: number;
4087
4452
  readonly currency: string;
4088
4453
  readonly amountPaid: number;
@@ -4881,6 +5246,19 @@ namespace io.flow.shopify.v0.models {
4881
5246
  };
4882
5247
  }
4883
5248
 
5249
+ export interface ShopifyCartConversion {
5250
+ readonly flow: io.flow.shopify.v0.models.ShopifyCartConversionFlowOrder;
5251
+ readonly shopify: io.flow.shopify.v0.models.ShopifyCartConversionShopifyCart;
5252
+ }
5253
+
5254
+ export interface ShopifyCartConversionFlowOrder {
5255
+ readonly order: io.flow.experience.v0.models.Order;
5256
+ }
5257
+
5258
+ export interface ShopifyCartConversionShopifyCart {
5259
+ readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
5260
+ }
5261
+
4884
5262
  export interface ShopifyCartItem {
4885
5263
  readonly id: string;
4886
5264
  readonly handle: string;
@@ -12270,6 +12648,7 @@ namespace io.flow.internal.v0.enums {
12270
12648
  | 'per_uom'
12271
12649
  | 'flat';
12272
12650
  export type EcommercePlatformType =
12651
+ | 'commercetools'
12273
12652
  | 'custom'
12274
12653
  | 'magento'
12275
12654
  | 'shopify'
@@ -12400,6 +12779,7 @@ namespace io.flow.internal.v0.enums {
12400
12779
  | 'paypal_refund_deleted'
12401
12780
  | 'paypal_refund_upserted'
12402
12781
  | 'order_rates_published_v3'
12782
+ | 'ratecard_lanes_import_request'
12403
12783
  | 'shopify_shop_upserted'
12404
12784
  | 'shopify_shop_deleted'
12405
12785
  | 'shopify_experience_short_id_upserted'
@@ -12426,6 +12806,10 @@ namespace io.flow.internal.v0.enums {
12426
12806
  export type FeatureStatus = 'draft' | 'active' | 'archived';
12427
12807
  export type FeatureType = 'boolean' | 'decimal' | 'string';
12428
12808
  export type FlowApp = 'console';
12809
+ export type FlowFieldName =
12810
+ | 'item-number'
12811
+ | 'sku-attribute'
12812
+ | 'product_id-attribute';
12429
12813
  export type Format = 'text' | 'phone' | 'email';
12430
12814
  export type FtpIntent =
12431
12815
  | 'orders_from_flow'
@@ -12435,6 +12819,8 @@ namespace io.flow.internal.v0.enums {
12435
12819
  | 'inventory_to_flow';
12436
12820
  export type FtpProtocol = 'sftp' | 'ftp';
12437
12821
  export type HttpMethod = 'get' | 'post';
12822
+ export type IncomingFeedFormat = 'google-xml' | 'google-sheet';
12823
+ export type IncomingFieldName = 'id' | 'mpn';
12438
12824
  export type InstallmentPaymentType =
12439
12825
  | 'balance'
12440
12826
  | 'fixed_amount'
@@ -12468,6 +12854,7 @@ namespace io.flow.internal.v0.enums {
12468
12854
  | 'no_existing_market'
12469
12855
  | 'already_configured_external'
12470
12856
  | 'already_configured_flow';
12857
+ export type MarketingGatewayFeedDownloadFormat = 'tsv';
12471
12858
  export type MarketingGatewayGoogleProductDestinationApprovalStatus =
12472
12859
  | 'approved'
12473
12860
  | 'disapproved';
@@ -12500,6 +12887,11 @@ namespace io.flow.internal.v0.enums {
12500
12887
  | 'shipment_exhausted';
12501
12888
  export type OrderEventType = 'order_shipment' | 'order_submission';
12502
12889
  export type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
12890
+ export type OutgoingFeedFormat =
12891
+ | 'facebook-xml'
12892
+ | 'google-tsv'
12893
+ | 'google-xml'
12894
+ | 'criteo-xml';
12503
12895
  export type PaymentSummaryStatus =
12504
12896
  | 'authorized'
12505
12897
  | 'canceled'
@@ -13290,6 +13682,27 @@ namespace io.flow.internal.v0.models {
13290
13682
  readonly timestamp: string;
13291
13683
  }
13292
13684
 
13685
+ export interface CatalogFeed {
13686
+ readonly id: string;
13687
+ readonly experience_feed_summaries: io.flow.internal.v0.models.ExperienceFeedSummary[];
13688
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13689
+ readonly outgoing_feed: io.flow.internal.v0.models.OutgoingFeed;
13690
+ readonly feed_statistics_summary: io.flow.internal.v0.models.FeedStatisticsSummary;
13691
+ }
13692
+
13693
+ export interface CatalogFeedFormPost {
13694
+ readonly experience_keys: string[];
13695
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13696
+ readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
13697
+ }
13698
+
13699
+ export interface CatalogFeedFormPut {
13700
+ readonly id: string;
13701
+ readonly experience_keys: string[];
13702
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13703
+ readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
13704
+ }
13705
+
13293
13706
  export interface CatalogImportRequest {
13294
13707
  readonly event_id: string;
13295
13708
  readonly timestamp: string;
@@ -13353,11 +13766,15 @@ namespace io.flow.internal.v0.models {
13353
13766
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
13354
13767
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
13355
13768
  readonly content: io.flow.internal.v0.models.CheckoutContent;
13769
+ readonly destinations: io.flow.reference.v0.models.Country[];
13356
13770
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
13357
13771
  readonly addresses: unknown[];
13358
13772
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
13359
13773
  readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
13360
13774
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
13775
+ readonly customer?: io.flow.customer.v0.models.Customer;
13776
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
13777
+ readonly payment_sources: unknown[];
13361
13778
  }
13362
13779
 
13363
13780
  export interface CheckoutBehavior {
@@ -13502,14 +13919,20 @@ namespace io.flow.internal.v0.models {
13502
13919
  readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
13503
13920
  }
13504
13921
 
13505
- export interface CheckoutForm {
13922
+ export interface CheckoutMarketingContent {
13923
+ readonly optins: io.flow.internal.v0.models.Checkbox[];
13924
+ }
13925
+
13926
+ export interface CheckoutOrderForm {
13506
13927
  readonly organization: string;
13507
13928
  readonly order: io.flow.experience.v0.models.OrderPutForm;
13508
- readonly feature_q?: string;
13929
+ readonly feature_keys?: string[];
13509
13930
  }
13510
13931
 
13511
- export interface CheckoutMarketingContent {
13512
- readonly optins: io.flow.internal.v0.models.Checkbox[];
13932
+ export interface CheckoutOrderNumberForm {
13933
+ readonly organization: string;
13934
+ readonly order_number: string;
13935
+ readonly feature_keys?: string[];
13513
13936
  }
13514
13937
 
13515
13938
  export interface CheckoutPaymentContent {
@@ -13529,14 +13952,14 @@ namespace io.flow.internal.v0.models {
13529
13952
 
13530
13953
  export interface CheckoutSubmission {
13531
13954
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
13532
- readonly redirect?: unknown;
13955
+ readonly action?: unknown;
13533
13956
  }
13534
13957
 
13535
13958
  export interface CheckoutSubmissionForm {
13536
13959
  readonly authorization_form: unknown;
13537
13960
  readonly installment_program_id?: string;
13538
13961
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
13539
- readonly feature_q?: string;
13962
+ readonly feature_keys?: string[];
13540
13963
  }
13541
13964
 
13542
13965
  export interface CheckoutSubmitOrderBundle {
@@ -14079,6 +14502,12 @@ namespace io.flow.internal.v0.models {
14079
14502
  readonly export_id: string;
14080
14503
  }
14081
14504
 
14505
+ export interface ExperienceFeedSummary {
14506
+ readonly experience: io.flow.experience.v0.models.ExperienceReference;
14507
+ readonly url: string;
14508
+ readonly last_construct_date?: string;
14509
+ }
14510
+
14082
14511
  export interface ExperienceImportRequest {
14083
14512
  readonly event_id: string;
14084
14513
  readonly timestamp: string;
@@ -14310,6 +14739,10 @@ namespace io.flow.internal.v0.models {
14310
14739
  readonly description?: string;
14311
14740
  }
14312
14741
 
14742
+ export interface FeedStatisticsSummary {
14743
+ readonly last_incoming_date?: string;
14744
+ }
14745
+
14313
14746
  export interface Fees {
14314
14747
  readonly processing: io.flow.internal.v0.models.Fee;
14315
14748
  readonly rate_lock: io.flow.internal.v0.models.Fee;
@@ -14682,6 +15115,13 @@ namespace io.flow.internal.v0.models {
14682
15115
  readonly error: string;
14683
15116
  }
14684
15117
 
15118
+ export interface IncomingFeed {
15119
+ readonly url: string;
15120
+ readonly format: io.flow.internal.v0.enums.IncomingFeedFormat;
15121
+ readonly minute: number;
15122
+ readonly item_link: io.flow.internal.v0.models.ItemLink;
15123
+ }
15124
+
14685
15125
  export interface InstallForm {
14686
15126
  readonly token: string;
14687
15127
  }
@@ -15046,6 +15486,11 @@ namespace io.flow.internal.v0.models {
15046
15486
  };
15047
15487
  }
15048
15488
 
15489
+ export interface ItemLink {
15490
+ readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
15491
+ readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
15492
+ }
15493
+
15049
15494
  export interface ItemQueryResponse {
15050
15495
  readonly q: string;
15051
15496
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -15527,11 +15972,17 @@ namespace io.flow.internal.v0.models {
15527
15972
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
15528
15973
  readonly experience: io.flow.common.v0.models.ExperienceSummary;
15529
15974
  readonly schema: io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
15975
+ readonly filter: io.flow.internal.v0.models.MarketingGatewayFilterSummary;
15530
15976
  readonly country: string;
15531
15977
  readonly currency: string;
15532
15978
  readonly language: string;
15533
15979
  }
15534
15980
 
15981
+ export interface MarketingGatewayFilterSummary {
15982
+ readonly id: string;
15983
+ readonly name: string;
15984
+ }
15985
+
15535
15986
  export interface MarketingGatewayGoogleCustomLabels {
15536
15987
  readonly custom_label_0?: string;
15537
15988
  readonly custom_label_1?: string;
@@ -16044,6 +16495,16 @@ namespace io.flow.internal.v0.models {
16044
16495
  readonly respect_session_currency: boolean;
16045
16496
  }
16046
16497
 
16498
+ export interface OutgoingFeed {
16499
+ readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
16500
+ readonly minute: number;
16501
+ }
16502
+
16503
+ export interface OutgoingFeedForm {
16504
+ readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
16505
+ readonly minute: number;
16506
+ }
16507
+
16047
16508
  export interface Partner {
16048
16509
  readonly id: string;
16049
16510
  readonly name: string;
@@ -16451,6 +16912,13 @@ namespace io.flow.internal.v0.models {
16451
16912
  readonly rate: io.flow.currency.internal.v0.models.Rate;
16452
16913
  }
16453
16914
 
16915
+ export interface RatecardLanesImportRequest {
16916
+ readonly event_id: string;
16917
+ readonly timestamp: string;
16918
+ readonly organization: string;
16919
+ readonly data: io.flow.ratecard.v0.models.RatecardLanesImportRequestData;
16920
+ }
16921
+
16454
16922
  export interface ReadyToFulfill {
16455
16923
  readonly event_id: string;
16456
16924
  readonly timestamp: string;
@@ -17332,6 +17800,14 @@ namespace io.flow.internal.v0.unions {
17332
17800
  discriminator: 'dhl';
17333
17801
  } & io.flow.internal.v0.models.Dhl;
17334
17802
 
17803
+ export type CheckoutForm =
17804
+ | {
17805
+ discriminator: 'order';
17806
+ } & io.flow.internal.v0.models.CheckoutOrderForm
17807
+ | {
17808
+ discriminator: 'order_number';
17809
+ } & io.flow.internal.v0.models.CheckoutOrderNumberForm;
17810
+
17335
17811
  export type CheckoutSubmitOrderBundles = {
17336
17812
  discriminator: 'checkout_submit_order_bundle';
17337
17813
  } & io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
@@ -17736,6 +18212,9 @@ namespace io.flow.internal.v0.unions {
17736
18212
  | {
17737
18213
  discriminator: 'order_rates_published_v3';
17738
18214
  } & io.flow.internal.v0.models.OrderRatesPublishedV3
18215
+ | {
18216
+ discriminator: 'ratecard_lanes_import_request';
18217
+ } & io.flow.internal.v0.models.RatecardLanesImportRequest
17739
18218
  | {
17740
18219
  discriminator: 'shopify_shop_upserted';
17741
18220
  } & io.flow.internal.v0.models.ShopifyShopUpserted
@@ -17831,6 +18310,10 @@ namespace io.flow.internal.v0.unions {
17831
18310
  discriminator: 'string';
17832
18311
  } & io.flow.internal.v0.models.StringFeatureValue;
17833
18312
 
18313
+ export type Feed = {
18314
+ discriminator: 'catalog_feed';
18315
+ } & io.flow.internal.v0.models.CatalogFeed;
18316
+
17834
18317
  export type IndexTaskType =
17835
18318
  | {
17836
18319
  discriminator: 'catalog_item_index_task';
@@ -18151,6 +18634,9 @@ export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUp
18151
18634
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
18152
18635
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
18153
18636
  export type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
18637
+ export type CatalogFeed = io.flow.internal.v0.models.CatalogFeed;
18638
+ export type CatalogFeedFormPost = io.flow.internal.v0.models.CatalogFeedFormPost;
18639
+ export type CatalogFeedFormPut = io.flow.internal.v0.models.CatalogFeedFormPut;
18154
18640
  export type CatalogImportRequest = io.flow.internal.v0.models.CatalogImportRequest;
18155
18641
  export type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType;
18156
18642
  export type CatalogItemBatchIndexTask = io.flow.internal.v0.models.CatalogItemBatchIndexTask;
@@ -18178,8 +18664,10 @@ export type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
18178
18664
  export type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
18179
18665
  export type CheckoutContentSummary = io.flow.internal.v0.models.CheckoutContentSummary;
18180
18666
  export type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
18181
- export type CheckoutForm = io.flow.internal.v0.models.CheckoutForm;
18667
+ export type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
18182
18668
  export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
18669
+ export type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
18670
+ export type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
18183
18671
  export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
18184
18672
  export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
18185
18673
  export type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
@@ -18283,6 +18771,7 @@ export type ExclusionRuleStatistic = io.flow.internal.v0.models.ExclusionRuleSta
18283
18771
  export type ExclusionRuleVersion = io.flow.internal.v0.models.ExclusionRuleVersion;
18284
18772
  export type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
18285
18773
  export type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
18774
+ export type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
18286
18775
  export type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
18287
18776
  export type ExperienceImportType = io.flow.internal.v0.enums.ExperienceImportType;
18288
18777
  export type ExperienceOrderAction = io.flow.internal.v0.enums.ExperienceOrderAction;
@@ -18323,6 +18812,8 @@ export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
18323
18812
  export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
18324
18813
  export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
18325
18814
  export type Fee = io.flow.internal.v0.models.Fee;
18815
+ export type Feed = io.flow.internal.v0.unions.Feed;
18816
+ export type FeedStatisticsSummary = io.flow.internal.v0.models.FeedStatisticsSummary;
18326
18817
  export type Fees = io.flow.internal.v0.models.Fees;
18327
18818
  export type FixedAmountInstallmentStep = io.flow.internal.v0.models.FixedAmountInstallmentStep;
18328
18819
  export type FixedAmountInstallmentStepForm = io.flow.internal.v0.models.FixedAmountInstallmentStepForm;
@@ -18330,6 +18821,7 @@ export type FlowApp = io.flow.internal.v0.enums.FlowApp;
18330
18821
  export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
18331
18822
  export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
18332
18823
  export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
18824
+ export type FlowFieldName = io.flow.internal.v0.enums.FlowFieldName;
18333
18825
  export type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting;
18334
18826
  export type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelSettingForm;
18335
18827
  export type Format = io.flow.internal.v0.enums.Format;
@@ -18378,6 +18870,9 @@ export type Href = io.flow.internal.v0.models.Href;
18378
18870
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
18379
18871
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
18380
18872
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
18873
+ export type IncomingFeed = io.flow.internal.v0.models.IncomingFeed;
18874
+ export type IncomingFeedFormat = io.flow.internal.v0.enums.IncomingFeedFormat;
18875
+ export type IncomingFieldName = io.flow.internal.v0.enums.IncomingFieldName;
18381
18876
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
18382
18877
  export type InstallForm = io.flow.internal.v0.models.InstallForm;
18383
18878
  export type Installment = io.flow.internal.v0.models.Installment;
@@ -18436,6 +18931,7 @@ export type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValue
18436
18931
  export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
18437
18932
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
18438
18933
  export type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
18934
+ export type ItemLink = io.flow.internal.v0.models.ItemLink;
18439
18935
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
18440
18936
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
18441
18937
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
@@ -18506,6 +19002,8 @@ export type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.models.Ma
18506
19002
  export type MarketingGatewayExistingMarket = io.flow.internal.v0.models.MarketingGatewayExistingMarket;
18507
19003
  export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
18508
19004
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
19005
+ export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
19006
+ export type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
18509
19007
  export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
18510
19008
  export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
18511
19009
  export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
@@ -18587,6 +19085,9 @@ export type OrganizationMembershipCopy = io.flow.internal.v0.models.Organization
18587
19085
  export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
18588
19086
  export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
18589
19087
  export type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
19088
+ export type OutgoingFeed = io.flow.internal.v0.models.OutgoingFeed;
19089
+ export type OutgoingFeedForm = io.flow.internal.v0.models.OutgoingFeedForm;
19090
+ export type OutgoingFeedFormat = io.flow.internal.v0.enums.OutgoingFeedFormat;
18590
19091
  export type Partner = io.flow.internal.v0.models.Partner;
18591
19092
  export type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization;
18592
19093
  export type PartnerAuthorizationForm = io.flow.internal.v0.models.PartnerAuthorizationForm;
@@ -18648,6 +19149,7 @@ export type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
18648
19149
  export type RateSource = io.flow.internal.v0.enums.RateSource;
18649
19150
  export type RateUpserted = io.flow.internal.v0.models.RateUpserted;
18650
19151
  export type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
19152
+ export type RatecardLanesImportRequest = io.flow.internal.v0.models.RatecardLanesImportRequest;
18651
19153
  export type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
18652
19154
  export type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
18653
19155
  export type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;