@flowio/types 0.0.2 → 0.0.4

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;
@@ -6739,6 +7117,12 @@ namespace io.flow.experience.internal.v0.models {
6739
7117
  readonly cards: io.flow.experience.internal.v0.models.GiftCard[];
6740
7118
  }
6741
7119
 
7120
+ export interface InternalOrder {
7121
+ readonly order: io.flow.experience.v0.models.Order;
7122
+ readonly session?: unknown;
7123
+ readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
7124
+ }
7125
+
6742
7126
  export interface ItemFilterResponse {
6743
7127
  readonly filter: string;
6744
7128
  readonly responses: io.flow.experience.internal.v0.models.ItemFilterValueResponse[];
@@ -12270,6 +12654,7 @@ namespace io.flow.internal.v0.enums {
12270
12654
  | 'per_uom'
12271
12655
  | 'flat';
12272
12656
  export type EcommercePlatformType =
12657
+ | 'commercetools'
12273
12658
  | 'custom'
12274
12659
  | 'magento'
12275
12660
  | 'shopify'
@@ -12400,6 +12785,7 @@ namespace io.flow.internal.v0.enums {
12400
12785
  | 'paypal_refund_deleted'
12401
12786
  | 'paypal_refund_upserted'
12402
12787
  | 'order_rates_published_v3'
12788
+ | 'ratecard_lanes_import_request'
12403
12789
  | 'shopify_shop_upserted'
12404
12790
  | 'shopify_shop_deleted'
12405
12791
  | 'shopify_experience_short_id_upserted'
@@ -12426,6 +12812,10 @@ namespace io.flow.internal.v0.enums {
12426
12812
  export type FeatureStatus = 'draft' | 'active' | 'archived';
12427
12813
  export type FeatureType = 'boolean' | 'decimal' | 'string';
12428
12814
  export type FlowApp = 'console';
12815
+ export type FlowFieldName =
12816
+ | 'item-number'
12817
+ | 'sku-attribute'
12818
+ | 'product_id-attribute';
12429
12819
  export type Format = 'text' | 'phone' | 'email';
12430
12820
  export type FtpIntent =
12431
12821
  | 'orders_from_flow'
@@ -12435,6 +12825,8 @@ namespace io.flow.internal.v0.enums {
12435
12825
  | 'inventory_to_flow';
12436
12826
  export type FtpProtocol = 'sftp' | 'ftp';
12437
12827
  export type HttpMethod = 'get' | 'post';
12828
+ export type IncomingFeedFormat = 'google-xml' | 'google-sheet';
12829
+ export type IncomingFieldName = 'id' | 'mpn';
12438
12830
  export type InstallmentPaymentType =
12439
12831
  | 'balance'
12440
12832
  | 'fixed_amount'
@@ -12468,6 +12860,7 @@ namespace io.flow.internal.v0.enums {
12468
12860
  | 'no_existing_market'
12469
12861
  | 'already_configured_external'
12470
12862
  | 'already_configured_flow';
12863
+ export type MarketingGatewayFeedDownloadFormat = 'tsv';
12471
12864
  export type MarketingGatewayGoogleProductDestinationApprovalStatus =
12472
12865
  | 'approved'
12473
12866
  | 'disapproved';
@@ -12500,6 +12893,11 @@ namespace io.flow.internal.v0.enums {
12500
12893
  | 'shipment_exhausted';
12501
12894
  export type OrderEventType = 'order_shipment' | 'order_submission';
12502
12895
  export type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
12896
+ export type OutgoingFeedFormat =
12897
+ | 'facebook-xml'
12898
+ | 'google-tsv'
12899
+ | 'google-xml'
12900
+ | 'criteo-xml';
12503
12901
  export type PaymentSummaryStatus =
12504
12902
  | 'authorized'
12505
12903
  | 'canceled'
@@ -13290,6 +13688,27 @@ namespace io.flow.internal.v0.models {
13290
13688
  readonly timestamp: string;
13291
13689
  }
13292
13690
 
13691
+ export interface CatalogFeed {
13692
+ readonly id: string;
13693
+ readonly experience_feed_summaries: io.flow.internal.v0.models.ExperienceFeedSummary[];
13694
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13695
+ readonly outgoing_feed: io.flow.internal.v0.models.OutgoingFeed;
13696
+ readonly feed_statistics_summary: io.flow.internal.v0.models.FeedStatisticsSummary;
13697
+ }
13698
+
13699
+ export interface CatalogFeedFormPost {
13700
+ readonly experience_keys: string[];
13701
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13702
+ readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
13703
+ }
13704
+
13705
+ export interface CatalogFeedFormPut {
13706
+ readonly id: string;
13707
+ readonly experience_keys: string[];
13708
+ readonly incoming_feed: io.flow.internal.v0.models.IncomingFeed;
13709
+ readonly outgoing_feed_form: io.flow.internal.v0.models.OutgoingFeed;
13710
+ }
13711
+
13293
13712
  export interface CatalogImportRequest {
13294
13713
  readonly event_id: string;
13295
13714
  readonly timestamp: string;
@@ -13353,11 +13772,17 @@ namespace io.flow.internal.v0.models {
13353
13772
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
13354
13773
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
13355
13774
  readonly content: io.flow.internal.v0.models.CheckoutContent;
13775
+ readonly destinations: io.flow.reference.v0.models.Country[];
13356
13776
  readonly optins: io.flow.optin.internal.v0.models.OptinPrompt[];
13357
13777
  readonly addresses: unknown[];
13358
13778
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
13359
13779
  readonly configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
13360
13780
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
13781
+ readonly customer?: io.flow.customer.v0.models.Customer;
13782
+ readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
13783
+ readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
13784
+ readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
13785
+ readonly payment: io.flow.internal.v0.models.CheckoutPayment;
13361
13786
  }
13362
13787
 
13363
13788
  export interface CheckoutBehavior {
@@ -13502,14 +13927,27 @@ namespace io.flow.internal.v0.models {
13502
13927
  readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
13503
13928
  }
13504
13929
 
13505
- export interface CheckoutForm {
13930
+ export interface CheckoutMarketingContent {
13931
+ readonly optins: io.flow.internal.v0.models.Checkbox[];
13932
+ }
13933
+
13934
+ export interface CheckoutOrderForm {
13506
13935
  readonly organization: string;
13507
13936
  readonly order: io.flow.experience.v0.models.OrderPutForm;
13508
- readonly feature_q?: string;
13937
+ readonly feature_keys?: string[];
13509
13938
  }
13510
13939
 
13511
- export interface CheckoutMarketingContent {
13512
- readonly optins: io.flow.internal.v0.models.Checkbox[];
13940
+ export interface CheckoutOrderNumberForm {
13941
+ readonly organization: string;
13942
+ readonly order_number: string;
13943
+ readonly feature_keys?: string[];
13944
+ }
13945
+
13946
+ export interface CheckoutPayment {
13947
+ readonly sources: unknown[];
13948
+ readonly public_key: io.flow.payment.v0.models.PublicKey;
13949
+ readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
13950
+ readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
13513
13951
  }
13514
13952
 
13515
13953
  export interface CheckoutPaymentContent {
@@ -13517,6 +13955,10 @@ namespace io.flow.internal.v0.models {
13517
13955
  readonly paypal?: io.flow.internal.v0.models.ApmContent;
13518
13956
  }
13519
13957
 
13958
+ export interface CheckoutReferenceForm {
13959
+ readonly order_number: string;
13960
+ }
13961
+
13520
13962
  export interface CheckoutSettings {
13521
13963
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
13522
13964
  readonly session_persistence_attribute_keys?: string[];
@@ -13529,14 +13971,14 @@ namespace io.flow.internal.v0.models {
13529
13971
 
13530
13972
  export interface CheckoutSubmission {
13531
13973
  readonly builder: io.flow.experience.v0.models.OrderBuilder;
13532
- readonly redirect?: unknown;
13974
+ readonly action?: unknown;
13533
13975
  }
13534
13976
 
13535
13977
  export interface CheckoutSubmissionForm {
13536
13978
  readonly authorization_form: unknown;
13537
13979
  readonly installment_program_id?: string;
13538
13980
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
13539
- readonly feature_q?: string;
13981
+ readonly feature_keys?: string[];
13540
13982
  }
13541
13983
 
13542
13984
  export interface CheckoutSubmitOrderBundle {
@@ -14079,6 +14521,12 @@ namespace io.flow.internal.v0.models {
14079
14521
  readonly export_id: string;
14080
14522
  }
14081
14523
 
14524
+ export interface ExperienceFeedSummary {
14525
+ readonly experience: io.flow.experience.v0.models.ExperienceReference;
14526
+ readonly url: string;
14527
+ readonly last_construct_date?: string;
14528
+ }
14529
+
14082
14530
  export interface ExperienceImportRequest {
14083
14531
  readonly event_id: string;
14084
14532
  readonly timestamp: string;
@@ -14310,6 +14758,10 @@ namespace io.flow.internal.v0.models {
14310
14758
  readonly description?: string;
14311
14759
  }
14312
14760
 
14761
+ export interface FeedStatisticsSummary {
14762
+ readonly last_incoming_date?: string;
14763
+ }
14764
+
14313
14765
  export interface Fees {
14314
14766
  readonly processing: io.flow.internal.v0.models.Fee;
14315
14767
  readonly rate_lock: io.flow.internal.v0.models.Fee;
@@ -14682,6 +15134,13 @@ namespace io.flow.internal.v0.models {
14682
15134
  readonly error: string;
14683
15135
  }
14684
15136
 
15137
+ export interface IncomingFeed {
15138
+ readonly url: string;
15139
+ readonly format: io.flow.internal.v0.enums.IncomingFeedFormat;
15140
+ readonly minute: number;
15141
+ readonly item_link: io.flow.internal.v0.models.ItemLink;
15142
+ }
15143
+
14685
15144
  export interface InstallForm {
14686
15145
  readonly token: string;
14687
15146
  }
@@ -15046,6 +15505,11 @@ namespace io.flow.internal.v0.models {
15046
15505
  };
15047
15506
  }
15048
15507
 
15508
+ export interface ItemLink {
15509
+ readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
15510
+ readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
15511
+ }
15512
+
15049
15513
  export interface ItemQueryResponse {
15050
15514
  readonly q: string;
15051
15515
  readonly items: io.flow.catalog.v0.models.Item[];
@@ -15527,9 +15991,16 @@ namespace io.flow.internal.v0.models {
15527
15991
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
15528
15992
  readonly experience: io.flow.common.v0.models.ExperienceSummary;
15529
15993
  readonly schema: io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
15994
+ readonly filter: io.flow.internal.v0.models.MarketingGatewayFilterSummary;
15530
15995
  readonly country: string;
15531
15996
  readonly currency: string;
15532
15997
  readonly language: string;
15998
+ readonly url: string;
15999
+ }
16000
+
16001
+ export interface MarketingGatewayFilterSummary {
16002
+ readonly id: string;
16003
+ readonly name: string;
15533
16004
  }
15534
16005
 
15535
16006
  export interface MarketingGatewayGoogleCustomLabels {
@@ -16044,6 +16515,16 @@ namespace io.flow.internal.v0.models {
16044
16515
  readonly respect_session_currency: boolean;
16045
16516
  }
16046
16517
 
16518
+ export interface OutgoingFeed {
16519
+ readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
16520
+ readonly minute: number;
16521
+ }
16522
+
16523
+ export interface OutgoingFeedForm {
16524
+ readonly format: io.flow.internal.v0.enums.OutgoingFeedFormat;
16525
+ readonly minute: number;
16526
+ }
16527
+
16047
16528
  export interface Partner {
16048
16529
  readonly id: string;
16049
16530
  readonly name: string;
@@ -16451,6 +16932,13 @@ namespace io.flow.internal.v0.models {
16451
16932
  readonly rate: io.flow.currency.internal.v0.models.Rate;
16452
16933
  }
16453
16934
 
16935
+ export interface RatecardLanesImportRequest {
16936
+ readonly event_id: string;
16937
+ readonly timestamp: string;
16938
+ readonly organization: string;
16939
+ readonly data: io.flow.ratecard.v0.models.RatecardLanesImportRequestData;
16940
+ }
16941
+
16454
16942
  export interface ReadyToFulfill {
16455
16943
  readonly event_id: string;
16456
16944
  readonly timestamp: string;
@@ -17332,6 +17820,14 @@ namespace io.flow.internal.v0.unions {
17332
17820
  discriminator: 'dhl';
17333
17821
  } & io.flow.internal.v0.models.Dhl;
17334
17822
 
17823
+ export type CheckoutForm =
17824
+ | {
17825
+ discriminator: 'order';
17826
+ } & io.flow.internal.v0.models.CheckoutOrderForm
17827
+ | {
17828
+ discriminator: 'order_number';
17829
+ } & io.flow.internal.v0.models.CheckoutOrderNumberForm;
17830
+
17335
17831
  export type CheckoutSubmitOrderBundles = {
17336
17832
  discriminator: 'checkout_submit_order_bundle';
17337
17833
  } & io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
@@ -17736,6 +18232,9 @@ namespace io.flow.internal.v0.unions {
17736
18232
  | {
17737
18233
  discriminator: 'order_rates_published_v3';
17738
18234
  } & io.flow.internal.v0.models.OrderRatesPublishedV3
18235
+ | {
18236
+ discriminator: 'ratecard_lanes_import_request';
18237
+ } & io.flow.internal.v0.models.RatecardLanesImportRequest
17739
18238
  | {
17740
18239
  discriminator: 'shopify_shop_upserted';
17741
18240
  } & io.flow.internal.v0.models.ShopifyShopUpserted
@@ -17831,6 +18330,10 @@ namespace io.flow.internal.v0.unions {
17831
18330
  discriminator: 'string';
17832
18331
  } & io.flow.internal.v0.models.StringFeatureValue;
17833
18332
 
18333
+ export type Feed = {
18334
+ discriminator: 'catalog_feed';
18335
+ } & io.flow.internal.v0.models.CatalogFeed;
18336
+
17834
18337
  export type IndexTaskType =
17835
18338
  | {
17836
18339
  discriminator: 'catalog_item_index_task';
@@ -18151,6 +18654,9 @@ export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUp
18151
18654
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
18152
18655
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
18153
18656
  export type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
18657
+ export type CatalogFeed = io.flow.internal.v0.models.CatalogFeed;
18658
+ export type CatalogFeedFormPost = io.flow.internal.v0.models.CatalogFeedFormPost;
18659
+ export type CatalogFeedFormPut = io.flow.internal.v0.models.CatalogFeedFormPut;
18154
18660
  export type CatalogImportRequest = io.flow.internal.v0.models.CatalogImportRequest;
18155
18661
  export type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType;
18156
18662
  export type CatalogItemBatchIndexTask = io.flow.internal.v0.models.CatalogItemBatchIndexTask;
@@ -18178,10 +18684,14 @@ export type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
18178
18684
  export type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
18179
18685
  export type CheckoutContentSummary = io.flow.internal.v0.models.CheckoutContentSummary;
18180
18686
  export type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
18181
- export type CheckoutForm = io.flow.internal.v0.models.CheckoutForm;
18687
+ export type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
18182
18688
  export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
18689
+ export type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
18690
+ export type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
18691
+ export type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
18183
18692
  export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
18184
18693
  export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
18694
+ export type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReferenceForm;
18185
18695
  export type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
18186
18696
  export type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
18187
18697
  export type CheckoutSourceOrderForm = io.flow.internal.v0.models.CheckoutSourceOrderForm;
@@ -18283,6 +18793,7 @@ export type ExclusionRuleStatistic = io.flow.internal.v0.models.ExclusionRuleSta
18283
18793
  export type ExclusionRuleVersion = io.flow.internal.v0.models.ExclusionRuleVersion;
18284
18794
  export type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
18285
18795
  export type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
18796
+ export type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
18286
18797
  export type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
18287
18798
  export type ExperienceImportType = io.flow.internal.v0.enums.ExperienceImportType;
18288
18799
  export type ExperienceOrderAction = io.flow.internal.v0.enums.ExperienceOrderAction;
@@ -18323,6 +18834,8 @@ export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
18323
18834
  export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
18324
18835
  export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
18325
18836
  export type Fee = io.flow.internal.v0.models.Fee;
18837
+ export type Feed = io.flow.internal.v0.unions.Feed;
18838
+ export type FeedStatisticsSummary = io.flow.internal.v0.models.FeedStatisticsSummary;
18326
18839
  export type Fees = io.flow.internal.v0.models.Fees;
18327
18840
  export type FixedAmountInstallmentStep = io.flow.internal.v0.models.FixedAmountInstallmentStep;
18328
18841
  export type FixedAmountInstallmentStepForm = io.flow.internal.v0.models.FixedAmountInstallmentStepForm;
@@ -18330,6 +18843,7 @@ export type FlowApp = io.flow.internal.v0.enums.FlowApp;
18330
18843
  export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
18331
18844
  export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
18332
18845
  export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
18846
+ export type FlowFieldName = io.flow.internal.v0.enums.FlowFieldName;
18333
18847
  export type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting;
18334
18848
  export type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelSettingForm;
18335
18849
  export type Format = io.flow.internal.v0.enums.Format;
@@ -18378,6 +18892,9 @@ export type Href = io.flow.internal.v0.models.Href;
18378
18892
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
18379
18893
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
18380
18894
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
18895
+ export type IncomingFeed = io.flow.internal.v0.models.IncomingFeed;
18896
+ export type IncomingFeedFormat = io.flow.internal.v0.enums.IncomingFeedFormat;
18897
+ export type IncomingFieldName = io.flow.internal.v0.enums.IncomingFieldName;
18381
18898
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
18382
18899
  export type InstallForm = io.flow.internal.v0.models.InstallForm;
18383
18900
  export type Installment = io.flow.internal.v0.models.Installment;
@@ -18436,6 +18953,7 @@ export type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValue
18436
18953
  export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm;
18437
18954
  export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
18438
18955
  export type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
18956
+ export type ItemLink = io.flow.internal.v0.models.ItemLink;
18439
18957
  export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
18440
18958
  export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
18441
18959
  export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction;
@@ -18506,6 +19024,8 @@ export type MarketingGatewayConfiguredMarketForm = io.flow.internal.v0.models.Ma
18506
19024
  export type MarketingGatewayExistingMarket = io.flow.internal.v0.models.MarketingGatewayExistingMarket;
18507
19025
  export type MarketingGatewayExperience = io.flow.internal.v0.models.MarketingGatewayExperience;
18508
19026
  export type MarketingGatewayFeed = io.flow.internal.v0.models.MarketingGatewayFeed;
19027
+ export type MarketingGatewayFeedDownloadFormat = io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat;
19028
+ export type MarketingGatewayFilterSummary = io.flow.internal.v0.models.MarketingGatewayFilterSummary;
18509
19029
  export type MarketingGatewayGoogleCustomLabels = io.flow.internal.v0.models.MarketingGatewayGoogleCustomLabels;
18510
19030
  export type MarketingGatewayGoogleCustomProductShippingLocation = io.flow.internal.v0.models.MarketingGatewayGoogleCustomProductShippingLocation;
18511
19031
  export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
@@ -18587,6 +19107,9 @@ export type OrganizationMembershipCopy = io.flow.internal.v0.models.Organization
18587
19107
  export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
18588
19108
  export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
18589
19109
  export type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
19110
+ export type OutgoingFeed = io.flow.internal.v0.models.OutgoingFeed;
19111
+ export type OutgoingFeedForm = io.flow.internal.v0.models.OutgoingFeedForm;
19112
+ export type OutgoingFeedFormat = io.flow.internal.v0.enums.OutgoingFeedFormat;
18590
19113
  export type Partner = io.flow.internal.v0.models.Partner;
18591
19114
  export type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization;
18592
19115
  export type PartnerAuthorizationForm = io.flow.internal.v0.models.PartnerAuthorizationForm;
@@ -18648,6 +19171,7 @@ export type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
18648
19171
  export type RateSource = io.flow.internal.v0.enums.RateSource;
18649
19172
  export type RateUpserted = io.flow.internal.v0.models.RateUpserted;
18650
19173
  export type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
19174
+ export type RatecardLanesImportRequest = io.flow.internal.v0.models.RatecardLanesImportRequest;
18651
19175
  export type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
18652
19176
  export type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
18653
19177
  export type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;