@flowio/types 11.24.67 → 11.24.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -152,6 +152,7 @@ declare namespace io.flow.google.pay.v0.unions {
152
152
 
153
153
  declare namespace io.flow.stripe.v0.enums {
154
154
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
155
+ type ApplePayType = 'apple_pay' | 'apple_pay_later';
155
156
  type CancellationReason =
156
157
  | 'abandoned'
157
158
  | 'automatic'
@@ -182,6 +183,18 @@ declare namespace io.flow.stripe.v0.enums {
182
183
  | 'missing'
183
184
  | 'processing_error';
184
185
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
186
+ type CardNetwork =
187
+ | 'amex'
188
+ | 'cartes_bancaires'
189
+ | 'diners'
190
+ | 'discover'
191
+ | 'eftpos_au'
192
+ | 'interac'
193
+ | 'jcb'
194
+ | 'mastercard'
195
+ | 'unionpay'
196
+ | 'visa'
197
+ | 'unknown';
185
198
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
186
199
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
187
200
  type ConfirmationMethod = 'automatic' | 'manual';
@@ -273,6 +286,11 @@ declare namespace io.flow.stripe.v0.enums {
273
286
  | 'requires_confirmation'
274
287
  | 'requires_payment_method'
275
288
  | 'succeeded';
289
+ type PaymentMethodCategoryKlarna =
290
+ | 'pay_later'
291
+ | 'pay_now'
292
+ | 'pay_with_financing'
293
+ | 'pay_in_installments';
276
294
  type PaymentMethodType = 'card' | 'card_present';
277
295
  type PaymentOutcomeType =
278
296
  | 'authorized'
@@ -281,6 +299,51 @@ declare namespace io.flow.stripe.v0.enums {
281
299
  | 'blocked'
282
300
  | 'invalid';
283
301
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
302
+ type PreferredLocaleKlarna =
303
+ | 'de-AT'
304
+ | 'en-AT'
305
+ | 'nl-BE'
306
+ | 'fr-BE'
307
+ | 'en-BE'
308
+ | 'de-DE'
309
+ | 'en-DE'
310
+ | 'da-DK'
311
+ | 'en-DK'
312
+ | 'es-ES'
313
+ | 'en-ES'
314
+ | 'fi-FI'
315
+ | 'sv-FI'
316
+ | 'en-FI'
317
+ | 'en-GB'
318
+ | 'en-IE'
319
+ | 'it-IT'
320
+ | 'en-IT'
321
+ | 'nl-NL'
322
+ | 'en-NL'
323
+ | 'nb-NO'
324
+ | 'en-NO'
325
+ | 'sv-SE'
326
+ | 'en-SE'
327
+ | 'en-US'
328
+ | 'es-US'
329
+ | 'fr-FR'
330
+ | 'en-FR'
331
+ | 'cs-CZ'
332
+ | 'en-CZ'
333
+ | 'el-GR'
334
+ | 'en-GR'
335
+ | 'en-AU'
336
+ | 'en-NZ'
337
+ | 'en-CA'
338
+ | 'fr-CA'
339
+ | 'pl-PL'
340
+ | 'en-PL'
341
+ | 'pt-PT'
342
+ | 'en-PT'
343
+ | 'de-CH'
344
+ | 'fr-CH'
345
+ | 'it-CH'
346
+ | 'en-CH';
284
347
  type RefundFailureReason =
285
348
  | 'lost_or_stolen_card'
286
349
  | 'expired_or_canceled_card'
@@ -322,6 +385,22 @@ declare namespace io.flow.stripe.v0.enums {
322
385
  | 'recommended'
323
386
  | 'optional'
324
387
  | 'not_supported';
388
+ type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
389
+ type ThreeDsResult =
390
+ | 'authenticated'
391
+ | 'attempt_acknowledged'
392
+ | 'exempted'
393
+ | 'not_supported'
394
+ | 'failed'
395
+ | 'processing_error';
396
+ type ThreeDsResultReason =
397
+ | 'card_not_enrolled'
398
+ | 'network_not_supported'
399
+ | 'abandoned'
400
+ | 'canceled'
401
+ | 'rejected'
402
+ | 'bypassed'
403
+ | 'protocol_error';
325
404
  type TokenType = 'account' | 'bank_account' | 'card' | 'pii';
326
405
  type UseStripeSdkType = 'three_d_secure_redirect' | 'stripe_3ds2_fingerprint';
327
406
  }
@@ -371,6 +450,16 @@ declare namespace io.flow.stripe.v0.models {
371
450
  readonly state?: string;
372
451
  }
373
452
 
453
+ interface ApplePay {
454
+ readonly type: 'apple_pay';
455
+ readonly apple_pay: io.flow.stripe.v0.models.ApplePayInformation;
456
+ readonly dynamic_last4?: string;
457
+ }
458
+
459
+ interface ApplePayInformation {
460
+ readonly type: io.flow.stripe.v0.enums.ApplePayType;
461
+ }
462
+
374
463
  interface Card {
375
464
  readonly id: string;
376
465
  readonly object: string;
@@ -396,6 +485,12 @@ declare namespace io.flow.stripe.v0.models {
396
485
  readonly tokenization_method?: string;
397
486
  }
398
487
 
488
+ interface CardChecks {
489
+ readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome;
490
+ readonly address_postal_code_check?: io.flow.stripe.v0.enums.CheckOutcome;
491
+ readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
492
+ }
493
+
399
494
  interface CardRequest {
400
495
  readonly object: string;
401
496
  readonly exp_month: string;
@@ -439,7 +534,7 @@ declare namespace io.flow.stripe.v0.models {
439
534
  readonly payment_intent?: string;
440
535
  readonly calculated_statement_descriptor?: string;
441
536
  readonly statement_descriptor?: string;
442
- readonly payment_method_details?: any /*object*/;
537
+ readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
443
538
  }
444
539
 
445
540
  interface ChargeDestination {
@@ -489,7 +584,7 @@ declare namespace io.flow.stripe.v0.models {
489
584
  readonly payment_intent?: string;
490
585
  readonly calculated_statement_descriptor?: string;
491
586
  readonly statement_descriptor?: string;
492
- readonly payment_method_details?: any /*object*/;
587
+ readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
493
588
  }
494
589
 
495
590
  interface CodeVerification {
@@ -546,12 +641,29 @@ declare namespace io.flow.stripe.v0.models {
546
641
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
547
642
  }
548
643
 
644
+ interface Masterpass {
645
+ readonly type: 'masterpass';
646
+ readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
647
+ readonly dynamic_last4?: string;
648
+ }
649
+
650
+ interface MasterpassInformation {
651
+ readonly billing_address?: io.flow.stripe.v0.models.Address;
652
+ readonly email?: string;
653
+ readonly name?: string;
654
+ readonly shipping_address?: io.flow.stripe.v0.models.Address;
655
+ }
656
+
549
657
  interface Metadata {
550
658
  readonly order_number?: string;
551
659
  readonly authorization_id?: string;
552
660
  readonly organization_id?: string;
553
661
  }
554
662
 
663
+ interface NetworkTokenUsed {
664
+ readonly used?: boolean;
665
+ }
666
+
555
667
  interface NextAction {
556
668
  readonly type: io.flow.stripe.v0.enums.NextActionType;
557
669
  readonly use_stripe_sdk?: any /*object*/;
@@ -733,6 +845,43 @@ declare namespace io.flow.stripe.v0.models {
733
845
  readonly phone?: string;
734
846
  }
735
847
 
848
+ interface PaymentMethodDetailsCard {
849
+ readonly type: 'card';
850
+ readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
851
+ }
852
+
853
+ interface PaymentMethodDetailsCardInformation {
854
+ readonly brand?: string;
855
+ readonly checks?: io.flow.stripe.v0.models.CardChecks;
856
+ readonly country?: string;
857
+ readonly exp_month?: number;
858
+ readonly exp_year?: number;
859
+ readonly fingerprint?: string;
860
+ readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
861
+ readonly installments?: io.flow.stripe.v0.models.Plan;
862
+ readonly last4?: string;
863
+ readonly mandate?: string;
864
+ readonly network?: io.flow.stripe.v0.enums.CardNetwork;
865
+ readonly network_token?: io.flow.stripe.v0.models.NetworkTokenUsed;
866
+ readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecureCharge;
867
+ readonly capture_before?: number;
868
+ readonly description?: string;
869
+ readonly iin?: string;
870
+ readonly issuer?: string;
871
+ readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
872
+ readonly network_transaction_id?: string;
873
+ }
874
+
875
+ interface PaymentMethodDetailsKlarna {
876
+ readonly type: 'klarna';
877
+ readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
878
+ }
879
+
880
+ interface PaymentMethodDetailsKlarnaInformation {
881
+ readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
882
+ readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
883
+ }
884
+
736
885
  interface PaymentMethodForm {
737
886
  readonly type: io.flow.stripe.v0.enums.PaymentMethodType;
738
887
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -755,6 +904,12 @@ declare namespace io.flow.stripe.v0.models {
755
904
  readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
756
905
  }
757
906
 
907
+ interface Plan {
908
+ readonly count?: number;
909
+ readonly interval?: string;
910
+ readonly type?: string;
911
+ }
912
+
758
913
  interface Receiver {
759
914
  readonly address?: string;
760
915
  readonly amount_charged?: number;
@@ -976,6 +1131,15 @@ declare namespace io.flow.stripe.v0.models {
976
1131
  readonly customer?: string;
977
1132
  }
978
1133
 
1134
+ interface ThreeDSecureCharge {
1135
+ readonly authenticated?: boolean;
1136
+ readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1137
+ readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
1138
+ readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
1139
+ readonly succeeded?: boolean;
1140
+ readonly version?: string;
1141
+ }
1142
+
979
1143
  interface ThreeDSecureRedirect {
980
1144
  readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
981
1145
  readonly stripe_js: string;
@@ -1002,6 +1166,35 @@ declare namespace io.flow.stripe.v0.models {
1002
1166
  readonly amount?: number;
1003
1167
  readonly destination?: string;
1004
1168
  }
1169
+
1170
+ interface VisaCheckout {
1171
+ readonly type: 'visa_checkout';
1172
+ readonly visa_checkout: io.flow.stripe.v0.models.VisaCheckoutInformation;
1173
+ readonly dynamic_last4?: string;
1174
+ }
1175
+
1176
+ interface VisaCheckoutInformation {
1177
+ readonly billing_address?: io.flow.stripe.v0.models.Address;
1178
+ readonly email?: string;
1179
+ readonly name?: string;
1180
+ readonly shipping_address?: io.flow.stripe.v0.models.Address;
1181
+ }
1182
+ }
1183
+
1184
+ declare namespace io.flow.stripe.v0.unions {
1185
+ type CardWallet =
1186
+ | io.flow.stripe.v0.models.Masterpass
1187
+ | io.flow.stripe.v0.models.ApplePay
1188
+ | io.flow.stripe.v0.models.VisaCheckout;
1189
+ type PaymentMethodDetails =
1190
+ | io.flow.stripe.v0.models.PaymentMethodDetailsCard
1191
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
1192
+ }
1193
+
1194
+ declare namespace io.flow.units.v0.enums {
1195
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
1196
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
1197
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
1005
1198
  }
1006
1199
 
1007
1200
  declare namespace io.flow.shopify.external.v0.enums {
@@ -1188,7 +1381,7 @@ declare namespace io.flow.shopify.external.v0.models {
1188
1381
  readonly starts_at: string;
1189
1382
  readonly ends_at?: string;
1190
1383
  readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
1191
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
1384
+ readonly prerequisite_shipping_price_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
1192
1385
  readonly usage_limit?: number;
1193
1386
  readonly entitled_product_ids: number[];
1194
1387
  readonly entitled_variant_ids: number[];
@@ -1198,7 +1391,7 @@ declare namespace io.flow.shopify.external.v0.models {
1198
1391
  readonly once_per_customer: boolean;
1199
1392
  readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
1200
1393
  readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
1201
- readonly prerequisite_saved_search_ids: number[];
1394
+ readonly customer_segment_prerequisite_ids?: number[];
1202
1395
  readonly prerequisite_customer_ids?: number[];
1203
1396
  readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
1204
1397
  readonly prerequisite_product_ids?: number[];
@@ -2001,6 +2194,35 @@ declare namespace io.flow.shopify.external.v0.models {
2001
2194
  }
2002
2195
  }
2003
2196
 
2197
+ declare namespace io.flow.ben.test.internal.v0.models {
2198
+ interface GenerateLoadMultipleOrgs {
2199
+ readonly discriminator: 'generate_load_multiple_orgs';
2200
+ readonly organization_ids: string[];
2201
+ readonly num_events: number;
2202
+ }
2203
+
2204
+ interface GenerateLoadSingleOrg {
2205
+ readonly discriminator: 'generate_load_single_org';
2206
+ readonly organization_id: string;
2207
+ readonly num_events: number;
2208
+ }
2209
+
2210
+ interface Test {
2211
+ readonly id: string;
2212
+ readonly name: string;
2213
+ }
2214
+
2215
+ interface TestForm {
2216
+ readonly name: string;
2217
+ }
2218
+ }
2219
+
2220
+ declare namespace io.flow.ben.test.internal.v0.unions {
2221
+ type GenerateLoad =
2222
+ | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
2223
+ | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
2224
+ }
2225
+
2004
2226
  declare namespace io.flow.apple.pay.v0.enums {
2005
2227
  type ApplePayContactField =
2006
2228
  | 'email'
@@ -2089,6 +2311,128 @@ declare namespace io.flow.apple.pay.v0.models {
2089
2311
  }
2090
2312
  }
2091
2313
 
2314
+ declare namespace io.flow.error.v0.enums {
2315
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
2316
+ }
2317
+
2318
+ declare namespace io.flow.error.v0.models {
2319
+ interface GenericError {
2320
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
2321
+ readonly messages: string[];
2322
+ }
2323
+ }
2324
+
2325
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
2326
+ type TrueUpSurchargeType =
2327
+ | 'fuel'
2328
+ | 'remote_area'
2329
+ | 'oversize'
2330
+ | 'duties_paid'
2331
+ | 'emergency'
2332
+ | 'peak';
2333
+ type WeightSelection = 'dead' | 'dimensional';
2334
+ }
2335
+
2336
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2337
+ interface LabelBase {
2338
+ readonly amount: number;
2339
+ readonly weight: number;
2340
+ }
2341
+
2342
+ interface LabelDestination {
2343
+ readonly country: string;
2344
+ }
2345
+
2346
+ interface LabelInvoiceRequest {
2347
+ readonly id: string;
2348
+ readonly label: io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary;
2349
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
2350
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
2351
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
2352
+ readonly total: number;
2353
+ readonly destination: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination;
2354
+ readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
2355
+ }
2356
+
2357
+ interface LabelMetadata {
2358
+ readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
2359
+ readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
2360
+ }
2361
+
2362
+ interface LabelSurcharge {
2363
+ readonly amount: number;
2364
+ readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
2365
+ readonly detail: io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail;
2366
+ }
2367
+
2368
+ interface LabelSurchargeDetailFlat {
2369
+ readonly discriminator: 'flat';
2370
+ readonly placeholder?: string;
2371
+ }
2372
+
2373
+ interface LabelSurchargeDetailPerWeightUnit {
2374
+ readonly discriminator: 'per_weight_unit';
2375
+ readonly fee: number;
2376
+ }
2377
+
2378
+ interface LabelSurchargeDetailPercentage {
2379
+ readonly discriminator: 'percentage';
2380
+ readonly percentage: number;
2381
+ }
2382
+
2383
+ interface LabelUnits {
2384
+ readonly currency: string;
2385
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
2386
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
2387
+ }
2388
+
2389
+ interface MetadataProposition {
2390
+ readonly shipping_method: io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference;
2391
+ readonly name: string;
2392
+ }
2393
+
2394
+ interface MetadataRatecard {
2395
+ readonly id: string;
2396
+ readonly proposition: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition;
2397
+ }
2398
+
2399
+ interface MetadataWeights {
2400
+ readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
2401
+ readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
2402
+ readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
2403
+ }
2404
+
2405
+ interface ShippingMethodReference {
2406
+ readonly id: string;
2407
+ }
2408
+
2409
+ interface TrueUpLabelSummary {
2410
+ readonly id: string;
2411
+ readonly carrier_service_id: string;
2412
+ readonly carrier_tracking_number: string;
2413
+ readonly flow_tracking_number: string;
2414
+ readonly created_at: string;
2415
+ }
2416
+
2417
+ interface WeightsDead {
2418
+ readonly weight: number;
2419
+ }
2420
+
2421
+ interface WeightsDimensional {
2422
+ readonly weight: number;
2423
+ readonly length: number;
2424
+ readonly width: number;
2425
+ readonly height: number;
2426
+ }
2427
+ }
2428
+
2429
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.unions {
2430
+ type LabelSurchargeDetail =
2431
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat
2432
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage
2433
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit;
2434
+ }
2435
+
2092
2436
  declare namespace io.flow.v0.enums {
2093
2437
  type AbandonedOrderPromotionStatus = 'active' | 'inactive';
2094
2438
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
@@ -2303,6 +2647,7 @@ declare namespace io.flow.v0.enums {
2303
2647
  type Environment = 'sandbox' | 'production';
2304
2648
  type EventType =
2305
2649
  | 'test_upserted'
2650
+ | 'generate_load'
2306
2651
  | 'transaction_upserted'
2307
2652
  | 'organization_transaction_upserted'
2308
2653
  | 'organization_transaction_deleted'
@@ -2775,6 +3120,7 @@ declare namespace io.flow.v0.enums {
2775
3120
  | 'deactivated'
2776
3121
  | 'provisioned';
2777
3122
  type OrganizationType = 'standalone' | 'channel';
3123
+ type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
2778
3124
  type PaymentActionType =
2779
3125
  | 'redirect'
2780
3126
  | 'redirect_get'
@@ -2821,7 +3167,8 @@ declare namespace io.flow.v0.enums {
2821
3167
  | 'order_restricted_goods'
2822
3168
  | 'order_unsupported_destination'
2823
3169
  | 'order_missing_information'
2824
- | 'order_domestic';
3170
+ | 'order_domestic'
3171
+ | 'order_mismatched_currencies';
2825
3172
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2826
3173
  type PaymentSourceConfirmationActionType =
2827
3174
  | 'cvv'
@@ -2860,6 +3207,10 @@ declare namespace io.flow.v0.enums {
2860
3207
  | 'hazardous'
2861
3208
  | 'perishable';
2862
3209
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
3210
+ type PreferredServiceSelectionStrategy =
3211
+ | 'calculated_rate'
3212
+ | 'flat_rate'
3213
+ | 'custom_rate';
2863
3214
  type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
2864
3215
  type PriceBookStatus = 'draft' | 'published' | 'archived';
2865
3216
  type PriceDetailComponentKey =
@@ -2974,6 +3325,7 @@ declare namespace io.flow.v0.enums {
2974
3325
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
2975
3326
  type SortDirection = 'ascending' | 'descending';
2976
3327
  type StatementAttachmentType = 'csv';
3328
+ type StoredMethodUsageStep = 'initial' | 'subsequent';
2977
3329
  type Strategy = 'range' | 'from' | 'to';
2978
3330
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
2979
3331
  type SurchargeResponsibleParty = 'organization' | 'customer';
@@ -3037,6 +3389,13 @@ declare namespace io.flow.v0.enums {
3037
3389
  | 'expired';
3038
3390
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3039
3391
  type TradeAgreementStatus = 'supported' | 'not_supported';
3392
+ type TransactionPayoutPendingReason =
3393
+ | 'waiting_for_full_refund'
3394
+ | 'waiting_for_fulfillment'
3395
+ | 'waiting_for_in_transit'
3396
+ | 'waiting_for_next_payout_date'
3397
+ | 'external_fulfillment_missing_tracking_info'
3398
+ | 'waiting_for_positive_account_balance';
3040
3399
  type TransactionSource =
3041
3400
  | 'capture'
3042
3401
  | 'refund'
@@ -3057,6 +3416,7 @@ declare namespace io.flow.v0.enums {
3057
3416
  | 'order_service'
3058
3417
  | 'virtual_card_capture'
3059
3418
  | 'virtual_card_refund';
3419
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
3060
3420
  type UnitOfMeasurement =
3061
3421
  | 'millimeter'
3062
3422
  | 'centimeter'
@@ -3070,12 +3430,14 @@ declare namespace io.flow.v0.enums {
3070
3430
  | 'ounce'
3071
3431
  | 'pound';
3072
3432
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
3433
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
3434
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
3073
3435
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
3074
3436
  type UpdateType = 'change' | 'set';
3075
3437
  type UserStatus = 'pending' | 'active' | 'inactive';
3076
3438
  type ValueAddedService = 'Hazardous Material';
3077
3439
  type Visibility = 'public' | 'private';
3078
- type WebhookStatus = 'pending' | 'success' | 'failure';
3440
+ type WebhookStatus = 'pending' | 'success' | 'failure' | 'ignored';
3079
3441
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
3080
3442
  type ZeroAmountIndicator = 'zero' | 'free';
3081
3443
  type ZeroLevyReasonCode =
@@ -4126,6 +4488,8 @@ declare namespace io.flow.v0.models {
4126
4488
  readonly expires_at?: string;
4127
4489
  readonly base?: io.flow.v0.models.Money;
4128
4490
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
4491
+ readonly stored_method_usage_step?: io.flow.v0.enums.StoredMethodUsageStep;
4492
+ readonly authorized_at?: string;
4129
4493
  }
4130
4494
 
4131
4495
  interface CardAuthorizationDeletedV2 {
@@ -4686,6 +5050,7 @@ declare namespace io.flow.v0.models {
4686
5050
  interface ChannelTransaction {
4687
5051
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
4688
5052
  readonly id: string;
5053
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
4689
5054
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
4690
5055
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
4691
5056
  readonly currency: string;
@@ -4717,6 +5082,12 @@ declare namespace io.flow.v0.models {
4717
5082
  readonly id: string;
4718
5083
  }
4719
5084
 
5085
+ interface ChannelTransactionPayout {
5086
+ readonly transaction: io.flow.v0.models.TransactionReference;
5087
+ readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
5088
+ readonly payout?: io.flow.v0.models.PayoutReference;
5089
+ }
5090
+
4720
5091
  interface ChannelTransactionUpserted {
4721
5092
  readonly discriminator: 'channel_transaction_upserted';
4722
5093
  readonly event_id: string;
@@ -5042,6 +5413,14 @@ declare namespace io.flow.v0.models {
5042
5413
  readonly language: string;
5043
5414
  }
5044
5415
 
5416
+ interface CountryOfOrigin {
5417
+ readonly country: io.flow.v0.models.Country;
5418
+ }
5419
+
5420
+ interface CountryOfOriginForm {
5421
+ readonly country: string;
5422
+ }
5423
+
5045
5424
  interface CountryPicker {
5046
5425
  readonly id: string;
5047
5426
  readonly source: io.flow.v0.enums.CountryPickerSource;
@@ -5389,6 +5768,10 @@ declare namespace io.flow.v0.models {
5389
5768
  readonly amount: number;
5390
5769
  }
5391
5770
 
5771
+ interface DeactivationPutForm {
5772
+ readonly reason: string;
5773
+ }
5774
+
5392
5775
  interface DefaultBankAccountForm {
5393
5776
  readonly bank_account_id: string;
5394
5777
  }
@@ -5538,6 +5921,7 @@ declare namespace io.flow.v0.models {
5538
5921
  readonly order_number: string;
5539
5922
  readonly service?: string;
5540
5923
  readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
5924
+ readonly package_dimensions_source?: io.flow.v0.enums.PackageDimensionsSource;
5541
5925
  }
5542
5926
 
5543
5927
  interface DetailedShippingNotificationForm {
@@ -6548,6 +6932,15 @@ declare namespace io.flow.v0.models {
6548
6932
  readonly landed_costs: io.flow.v0.models.LaneLandedCost[];
6549
6933
  }
6550
6934
 
6935
+ interface GenerateLoad {
6936
+ readonly discriminator: 'generate_load';
6937
+ readonly event_id: string;
6938
+ readonly timestamp: string;
6939
+ readonly organization: string;
6940
+ readonly test_name: string;
6941
+ readonly num_tests: number;
6942
+ }
6943
+
6551
6944
  interface GenericError {
6552
6945
  readonly code: io.flow.v0.enums.GenericErrorCode;
6553
6946
  readonly messages: string[];
@@ -7355,6 +7748,8 @@ declare namespace io.flow.v0.models {
7355
7748
  interface KnowYourBusinessUsa {
7356
7749
  readonly discriminator: 'know_your_business_usa';
7357
7750
  readonly id: string;
7751
+ readonly organization_id: string;
7752
+ readonly shop?: io.flow.v0.models.Shop;
7358
7753
  readonly primary_entity: io.flow.v0.unions.Entity;
7359
7754
  readonly parent_company?: io.flow.v0.models.Company;
7360
7755
  readonly ultimate_parent_company?: io.flow.v0.models.Company;
@@ -7424,6 +7819,7 @@ declare namespace io.flow.v0.models {
7424
7819
  readonly label?: io.flow.v0.models.LabelReference;
7425
7820
  readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
7426
7821
  readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7822
+ readonly rejected?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7427
7823
  }
7428
7824
 
7429
7825
  interface LabelTrackingSummaryUpdate {
@@ -7837,6 +8233,11 @@ declare namespace io.flow.v0.models {
7837
8233
  readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7838
8234
  }
7839
8235
 
8236
+ interface MerchantDeactivated {
8237
+ readonly discriminator: 'merchant_deactivated';
8238
+ readonly reason: string;
8239
+ }
8240
+
7840
8241
  interface MerchantGiftCardBalance {
7841
8242
  readonly amount: number;
7842
8243
  readonly currency: string;
@@ -8059,6 +8460,7 @@ declare namespace io.flow.v0.models {
8059
8460
  readonly base?: io.flow.v0.models.Money;
8060
8461
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
8061
8462
  readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
8463
+ readonly authorized_at?: string;
8062
8464
  }
8063
8465
 
8064
8466
  interface OnlineAuthorizationDeletedV2 {
@@ -8085,7 +8487,6 @@ declare namespace io.flow.v0.models {
8085
8487
  }
8086
8488
 
8087
8489
  interface OperationsContact {
8088
- readonly full_name?: string;
8089
8490
  readonly company?: string;
8090
8491
  readonly email?: string;
8091
8492
  readonly phone?: string;
@@ -8968,6 +9369,7 @@ declare namespace io.flow.v0.models {
8968
9369
  readonly time_blocked?: number;
8969
9370
  readonly blocked_since?: string;
8970
9371
  readonly completed_at?: string;
9372
+ readonly onboarding_started_at?: string;
8971
9373
  }
8972
9374
 
8973
9375
  interface OrganizationOnboardingStateDeleted {
@@ -9122,6 +9524,12 @@ declare namespace io.flow.v0.models {
9122
9524
  readonly id: string;
9123
9525
  }
9124
9526
 
9527
+ interface OrganizationTransactionPayout {
9528
+ readonly transaction: io.flow.v0.models.TransactionReference;
9529
+ readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
9530
+ readonly payout?: io.flow.v0.models.PayoutReference;
9531
+ }
9532
+
9125
9533
  interface OrganizationTransactionUpserted {
9126
9534
  readonly discriminator: 'organization_transaction_upserted';
9127
9535
  readonly event_id: string;
@@ -9170,12 +9578,30 @@ declare namespace io.flow.v0.models {
9170
9578
  readonly amount: io.flow.v0.models.Money;
9171
9579
  }
9172
9580
 
9173
- interface OversizedShipmentRatecardFee {
9174
- readonly discriminator: 'oversized_shipment_ratecard_fee';
9175
- readonly weight_threshold: number;
9176
- readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
9177
- readonly margin?: number;
9178
- readonly amount?: number;
9581
+ interface OversizePieceSurchargeRatecardFee {
9582
+ readonly discriminator: 'oversize_piece_surcharge_ratecard_fee';
9583
+ readonly dimensional_threshold?: number;
9584
+ readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
9585
+ readonly weight_threshold?: number;
9586
+ readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
9587
+ readonly amount: io.flow.v0.models.Money;
9588
+ }
9589
+
9590
+ interface OversizePieceSurchargeServiceFee {
9591
+ readonly discriminator: 'oversize_piece_surcharge_service_fee';
9592
+ readonly dimensional_threshold?: number;
9593
+ readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
9594
+ readonly weight_threshold?: number;
9595
+ readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
9596
+ readonly amount: io.flow.v0.models.Money;
9597
+ }
9598
+
9599
+ interface PackageDimensions {
9600
+ readonly dimensions: io.flow.v0.models.Dimension[];
9601
+ }
9602
+
9603
+ interface PackageDimensionsForm {
9604
+ readonly dimensions: io.flow.v0.models.Dimension[];
9179
9605
  }
9180
9606
 
9181
9607
  interface Packaging {
@@ -9853,6 +10279,10 @@ declare namespace io.flow.v0.models {
9853
10279
  readonly url: string;
9854
10280
  }
9855
10281
 
10282
+ interface PayoutReference {
10283
+ readonly id: string;
10284
+ }
10285
+
9856
10286
  interface PayoutStatusFailed {
9857
10287
  readonly code: 'failed';
9858
10288
  readonly timestamp: string;
@@ -9871,6 +10301,7 @@ declare namespace io.flow.v0.models {
9871
10301
 
9872
10302
  interface PayoutTransaction {
9873
10303
  readonly id: string;
10304
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
9874
10305
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
9875
10306
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
9876
10307
  readonly currency: string;
@@ -9983,6 +10414,12 @@ declare namespace io.flow.v0.models {
9983
10414
  readonly total?: io.flow.v0.models.LocalizedTotal;
9984
10415
  readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
9985
10416
  readonly merchant_of_record_flow_entity?: io.flow.v0.enums.FlowEntity;
10417
+ readonly preferred_service?: io.flow.v0.models.PhysicalDeliveryPreferredService;
10418
+ }
10419
+
10420
+ interface PhysicalDeliveryPreferredService {
10421
+ readonly id: string;
10422
+ readonly selection_stratey: io.flow.v0.enums.PreferredServiceSelectionStrategy;
9986
10423
  }
9987
10424
 
9988
10425
  interface PostPaymentRedirectUrls {
@@ -10432,12 +10869,16 @@ declare namespace io.flow.v0.models {
10432
10869
  interface Ratecard {
10433
10870
  readonly id: string;
10434
10871
  readonly number: string;
10872
+ readonly rate_level_key?: string;
10435
10873
  readonly direction: io.flow.v0.enums.Direction;
10436
10874
  readonly effective_at: string;
10437
10875
  readonly origination_zones: io.flow.v0.models.Zone[];
10438
10876
  readonly service: io.flow.v0.models.RatecardServiceSummary;
10439
10877
  readonly published_at?: string;
10440
10878
  readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
10879
+ readonly glbe_shipping_method_id?: string;
10880
+ readonly glbe_proposition_name?: string;
10881
+ readonly channel_revenue_share_percentage?: number;
10441
10882
  }
10442
10883
 
10443
10884
  interface RatecardCarrierSummary {
@@ -10516,6 +10957,10 @@ declare namespace io.flow.v0.models {
10516
10957
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
10517
10958
  readonly gravitational_weight?: io.flow.v0.models.Measurement;
10518
10959
  readonly ratecard_id?: string;
10960
+ readonly glbe_shipping_method_id?: string;
10961
+ readonly glbe_proposition_name?: string;
10962
+ readonly channel_revenue_share_percentage?: number;
10963
+ readonly rate_level_key?: string;
10519
10964
  readonly line_items?: io.flow.v0.models.LineItemForm[];
10520
10965
  }
10521
10966
 
@@ -10525,7 +10970,12 @@ declare namespace io.flow.v0.models {
10525
10970
  readonly origination_zones: io.flow.v0.models.Zone[];
10526
10971
  readonly service: string;
10527
10972
  readonly number?: string;
10973
+ readonly rate_level_key?: string;
10528
10974
  readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
10975
+ readonly glbe_shipping_method_id?: string;
10976
+ readonly glbe_proposition_name?: string;
10977
+ readonly channel_revenue_share_percentage?: number;
10978
+ readonly data?: Record<string, string>;
10529
10979
  }
10530
10980
 
10531
10981
  interface RatecardLane {
@@ -11456,6 +11906,9 @@ declare namespace io.flow.v0.models {
11456
11906
  readonly carrier_tracking_number_url: string;
11457
11907
  readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
11458
11908
  readonly cost?: io.flow.v0.models.Price;
11909
+ readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
11910
+ readonly taxes_owed?: io.flow.v0.models.Money;
11911
+ readonly duties_owed?: io.flow.v0.models.Money;
11459
11912
  readonly destination: io.flow.v0.models.ShippingAddress;
11460
11913
  readonly flow_tracking_number: string;
11461
11914
  readonly flow_tracking_number_url: string;
@@ -11467,6 +11920,7 @@ declare namespace io.flow.v0.models {
11467
11920
  readonly return?: io.flow.v0.models.ShippingLabelDocument;
11468
11921
  readonly order?: io.flow.v0.models.LabelOrderSummary;
11469
11922
  readonly package?: io.flow.v0.models.ShippingLabelPackage;
11923
+ readonly package_dimension_source?: io.flow.v0.enums.PackageDimensionsSource;
11470
11924
  readonly order_identifier?: string;
11471
11925
  readonly fulfillment_key?: string;
11472
11926
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
@@ -11486,9 +11940,16 @@ declare namespace io.flow.v0.models {
11486
11940
  readonly required: boolean;
11487
11941
  }
11488
11942
 
11943
+ interface ShippingLabelHopCostItemizedEstimate {
11944
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
11945
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
11946
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
11947
+ }
11948
+
11489
11949
  interface ShippingLabelHopSummary {
11490
11950
  readonly lane: io.flow.v0.models.ShippingLabelLaneSummary;
11491
11951
  readonly cost: io.flow.v0.models.Money;
11952
+ readonly itemized_estimate?: io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
11492
11953
  }
11493
11954
 
11494
11955
  interface ShippingLabelLaneSummary {
@@ -11498,6 +11959,7 @@ declare namespace io.flow.v0.models {
11498
11959
 
11499
11960
  interface ShippingLabelPackage {
11500
11961
  readonly dimensions: io.flow.v0.models.Dimension;
11962
+ readonly volumetric_weight?: number;
11501
11963
  readonly items: io.flow.v0.models.LineItemForm[];
11502
11964
  readonly reference_number?: string;
11503
11965
  }
@@ -11505,6 +11967,11 @@ declare namespace io.flow.v0.models {
11505
11967
  interface ShippingLabelRatecardSummary {
11506
11968
  readonly id?: string;
11507
11969
  readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
11970
+ readonly rate_level_key?: string;
11971
+ readonly glbe_shipping_method_id?: string;
11972
+ readonly glbe_proposition_name?: string;
11973
+ readonly channel_revenue_share_percentage?: number;
11974
+ readonly shopify_grc_gid?: string;
11508
11975
  }
11509
11976
 
11510
11977
  interface ShippingLabelSummary {
@@ -11802,7 +12269,6 @@ declare namespace io.flow.v0.models {
11802
12269
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11803
12270
  readonly company?: io.flow.v0.models.MerchantInfo;
11804
12271
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11805
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
11806
12272
  readonly beneficiary?: string;
11807
12273
  readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11808
12274
  readonly business_url?: string;
@@ -11812,31 +12278,30 @@ declare namespace io.flow.v0.models {
11812
12278
  readonly chargeback_percentage?: number;
11813
12279
  readonly bank_account_number?: string;
11814
12280
  readonly aba_routing_transit_number?: string;
11815
- readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11816
12281
  readonly other_trade_sector?: string;
11817
12282
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
12283
+ readonly center_contact?: io.flow.v0.models.OperationsContact;
11818
12284
  readonly average_order_weight?: number;
11819
12285
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11820
12286
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11821
- readonly dangerous_goods?: boolean;
11822
12287
  readonly default_country_of_origin?: string;
11823
12288
  readonly ratecard?: io.flow.v0.models.RatecardReference;
11824
12289
  readonly rate_card: string;
11825
12290
  readonly created_at: string;
11826
12291
  readonly activated_at?: string;
11827
12292
  readonly status_updated_at?: string;
11828
- readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11829
12293
  readonly shop?: io.flow.v0.models.Shop;
11830
12294
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11831
12295
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11832
12296
  readonly average_order_value?: io.flow.v0.models.Money;
12297
+ readonly glbe_merchant_guid?: string;
12298
+ readonly mcc_codes?: number[];
11833
12299
  }
11834
12300
 
11835
12301
  interface ShopifyMerchantApplicationForm {
11836
12302
  readonly discriminator: 'shopify_merchant_application_form';
11837
12303
  readonly company?: io.flow.v0.models.MerchantInfo;
11838
12304
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11839
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
11840
12305
  readonly beneficiary?: string;
11841
12306
  readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11842
12307
  readonly business_url?: string;
@@ -11846,23 +12311,22 @@ declare namespace io.flow.v0.models {
11846
12311
  readonly chargeback_percentage?: number;
11847
12312
  readonly bank_account_number?: string;
11848
12313
  readonly aba_routing_transit_number?: string;
11849
- readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11850
12314
  readonly other_trade_sector?: string;
11851
12315
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
12316
+ readonly center_contact?: io.flow.v0.models.OperationsContact;
11852
12317
  readonly average_order_weight?: number;
11853
12318
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11854
12319
  readonly monthly_average_volume_amount?: number;
11855
12320
  readonly monthly_average_volume_currency?: string;
11856
12321
  readonly monthly_average_number_transactions?: number;
11857
- readonly dangerous_goods?: boolean;
11858
12322
  readonly default_country_of_origin?: string;
11859
12323
  readonly ratecard_id?: string;
11860
12324
  readonly rate_card: string;
11861
- readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11862
12325
  readonly shop?: io.flow.v0.models.Shop;
11863
12326
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11864
12327
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11865
12328
  readonly average_order_value?: io.flow.v0.models.Money;
12329
+ readonly mcc_codes?: number[];
11866
12330
  }
11867
12331
 
11868
12332
  interface ShopifyMerchantApplicationPutForm {
@@ -12363,16 +12827,11 @@ declare namespace io.flow.v0.models {
12363
12827
  readonly email_recipients?: string[];
12364
12828
  }
12365
12829
 
12366
- interface Test {
12367
- readonly id: string;
12368
- }
12369
-
12370
12830
  interface TestUpserted {
12371
12831
  readonly discriminator: 'test_upserted';
12372
12832
  readonly event_id: string;
12373
12833
  readonly timestamp: string;
12374
- readonly organization: string;
12375
- readonly test: io.flow.v0.models.Test;
12834
+ readonly test: io.flow.ben.test.internal.v0.models.Test;
12376
12835
  }
12377
12836
 
12378
12837
  interface ThirdPartyLogisticsPartner {
@@ -12700,6 +13159,7 @@ declare namespace io.flow.v0.models {
12700
13159
  interface Transaction {
12701
13160
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12702
13161
  readonly id: string;
13162
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
12703
13163
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
12704
13164
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12705
13165
  readonly currency: string;
@@ -12722,11 +13182,20 @@ declare namespace io.flow.v0.models {
12722
13182
  readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
12723
13183
  }
12724
13184
 
13185
+ interface TransactionMetadataShippingLabel {
13186
+ readonly discriminator: 'shipping_label';
13187
+ readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
13188
+ }
13189
+
12725
13190
  interface TransactionNetworkDetailsCard {
12726
13191
  readonly network_transaction_id?: string;
12727
13192
  readonly network?: io.flow.v0.enums.CardType;
12728
13193
  }
12729
13194
 
13195
+ interface TransactionReference {
13196
+ readonly id: string;
13197
+ }
13198
+
12730
13199
  interface TransactionUpserted {
12731
13200
  readonly discriminator: 'transaction_upserted';
12732
13201
  readonly event_id: string;
@@ -13084,6 +13553,7 @@ declare namespace io.flow.v0.unions {
13084
13553
  type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
13085
13554
  type Event =
13086
13555
  | io.flow.v0.models.TestUpserted
13556
+ | io.flow.v0.models.GenerateLoad
13087
13557
  | io.flow.v0.models.TransactionUpserted
13088
13558
  | io.flow.v0.models.OrganizationTransactionUpserted
13089
13559
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -13368,7 +13838,8 @@ declare namespace io.flow.v0.unions {
13368
13838
  | io.flow.v0.models.MerchantRejected
13369
13839
  | io.flow.v0.models.SetupBlocked
13370
13840
  | io.flow.v0.models.SetupCompleted
13371
- | io.flow.v0.models.MerchantActivated;
13841
+ | io.flow.v0.models.MerchantActivated
13842
+ | io.flow.v0.models.MerchantDeactivated;
13372
13843
  type OnlineAuthorizationDetails =
13373
13844
  | io.flow.v0.models.CryptopayAuthorizationDetails
13374
13845
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -13486,7 +13957,7 @@ declare namespace io.flow.v0.unions {
13486
13957
  type RatecardFee =
13487
13958
  | io.flow.v0.models.DdpRatecardFee
13488
13959
  | io.flow.v0.models.FuelSurchargeRatecardFee
13489
- | io.flow.v0.models.OversizedShipmentRatecardFee
13960
+ | io.flow.v0.models.OversizePieceSurchargeRatecardFee
13490
13961
  | io.flow.v0.models.ReturnPackageRatecardFee
13491
13962
  | io.flow.v0.models.CrossdockRatecardFee
13492
13963
  | io.flow.v0.models.RemoteAreaRatecardFee
@@ -13518,7 +13989,8 @@ declare namespace io.flow.v0.unions {
13518
13989
  | io.flow.v0.models.EmergencySituationSurchargeServiceFee
13519
13990
  | io.flow.v0.models.PeakSurchargeServiceFee
13520
13991
  | io.flow.v0.models.PeakSurchargeByWeightServiceFee
13521
- | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
13992
+ | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee
13993
+ | io.flow.v0.models.OversizePieceSurchargeServiceFee;
13522
13994
  type Session = io.flow.v0.models.OrganizationSession;
13523
13995
  type SessionAuthorization =
13524
13996
  io.flow.v0.models.OrganizationSessionAuthorization;
@@ -13564,6 +14036,7 @@ declare namespace io.flow.v0.unions {
13564
14036
  | io.flow.v0.models.OrganizationTokenV2Reference
13565
14037
  | io.flow.v0.models.PartnerTokenReference;
13566
14038
  type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
14039
+ type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel;
13567
14040
  }
13568
14041
 
13569
14042
  export type AbandonedOrderEmailSettings =
@@ -13906,6 +14379,8 @@ export type ChannelTransactionDeleted =
13906
14379
  io.flow.v0.models.ChannelTransactionDeleted;
13907
14380
  export type ChannelTransactionDeletedV2 =
13908
14381
  io.flow.v0.models.ChannelTransactionDeletedV2;
14382
+ export type ChannelTransactionPayout =
14383
+ io.flow.v0.models.ChannelTransactionPayout;
13909
14384
  export type ChannelTransactionUpserted =
13910
14385
  io.flow.v0.models.ChannelTransactionUpserted;
13911
14386
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
@@ -13976,6 +14451,8 @@ export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
13976
14451
  export type Country = io.flow.v0.models.Country;
13977
14452
  export type CountryAvailability = io.flow.v0.models.CountryAvailability;
13978
14453
  export type CountryDefaults = io.flow.v0.models.CountryDefaults;
14454
+ export type CountryOfOrigin = io.flow.v0.models.CountryOfOrigin;
14455
+ export type CountryOfOriginForm = io.flow.v0.models.CountryOfOriginForm;
13979
14456
  export type CountryPicker = io.flow.v0.models.CountryPicker;
13980
14457
  export type CountryPickerForm = io.flow.v0.models.CountryPickerForm;
13981
14458
  export type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
@@ -14047,6 +14524,7 @@ export type DatetimeRange = io.flow.v0.models.DatetimeRange;
14047
14524
  export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
14048
14525
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
14049
14526
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
14527
+ export type DeactivationPutForm = io.flow.v0.models.DeactivationPutForm;
14050
14528
  export type DefaultBankAccountForm = io.flow.v0.models.DefaultBankAccountForm;
14051
14529
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
14052
14530
  export type DeliveredDutyDisplayType =
@@ -14351,6 +14829,7 @@ export type GatewayAuthenticationData =
14351
14829
  io.flow.v0.unions.GatewayAuthenticationData;
14352
14830
  export type GatewayAuthenticationDataForm =
14353
14831
  io.flow.v0.unions.GatewayAuthenticationDataForm;
14832
+ export type GenerateLoad = io.flow.v0.models.GenerateLoad;
14354
14833
  export type GenericError = io.flow.v0.models.GenericError;
14355
14834
  export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
14356
14835
  export type GenericReservationError = io.flow.v0.models.GenericReservationError;
@@ -14598,6 +15077,7 @@ export type MerchantApplicationUpserted =
14598
15077
  io.flow.v0.models.MerchantApplicationUpserted;
14599
15078
  export type MerchantApplicationsSummary =
14600
15079
  io.flow.v0.unions.MerchantApplicationsSummary;
15080
+ export type MerchantDeactivated = io.flow.v0.models.MerchantDeactivated;
14601
15081
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
14602
15082
  export type MerchantGiftCardBalanceForm =
14603
15083
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -14879,6 +15359,8 @@ export type OrganizationTokenV2Reference =
14879
15359
  io.flow.v0.models.OrganizationTokenV2Reference;
14880
15360
  export type OrganizationTransactionDeleted =
14881
15361
  io.flow.v0.models.OrganizationTransactionDeleted;
15362
+ export type OrganizationTransactionPayout =
15363
+ io.flow.v0.models.OrganizationTransactionPayout;
14882
15364
  export type OrganizationTransactionUpserted =
14883
15365
  io.flow.v0.models.OrganizationTransactionUpserted;
14884
15366
  export type OrganizationType = io.flow.v0.enums.OrganizationType;
@@ -14887,8 +15369,13 @@ export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
14887
15369
  export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
14888
15370
  export type OriginalPrices = io.flow.v0.models.OriginalPrices;
14889
15371
  export type OutboundCartonFee = io.flow.v0.models.OutboundCartonFee;
14890
- export type OversizedShipmentRatecardFee =
14891
- io.flow.v0.models.OversizedShipmentRatecardFee;
15372
+ export type OversizePieceSurchargeRatecardFee =
15373
+ io.flow.v0.models.OversizePieceSurchargeRatecardFee;
15374
+ export type OversizePieceSurchargeServiceFee =
15375
+ io.flow.v0.models.OversizePieceSurchargeServiceFee;
15376
+ export type PackageDimensions = io.flow.v0.models.PackageDimensions;
15377
+ export type PackageDimensionsForm = io.flow.v0.models.PackageDimensionsForm;
15378
+ export type PackageDimensionsSource = io.flow.v0.enums.PackageDimensionsSource;
14892
15379
  export type Packaging = io.flow.v0.models.Packaging;
14893
15380
  export type ParentTransactionSummary =
14894
15381
  io.flow.v0.models.ParentTransactionSummary;
@@ -15087,6 +15574,7 @@ export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
15087
15574
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
15088
15575
  export type PayoutAttachment = io.flow.v0.models.PayoutAttachment;
15089
15576
  export type PayoutAttachmentType = io.flow.v0.enums.PayoutAttachmentType;
15577
+ export type PayoutReference = io.flow.v0.models.PayoutReference;
15090
15578
  export type PayoutStatus = io.flow.v0.unions.PayoutStatus;
15091
15579
  export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
15092
15580
  export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
@@ -15112,10 +15600,14 @@ export type PfsInventoryCheckResponseItem =
15112
15600
  io.flow.v0.models.PfsInventoryCheckResponseItem;
15113
15601
  export type PfsInventoryStatus = io.flow.v0.models.PfsInventoryStatus;
15114
15602
  export type PhysicalDelivery = io.flow.v0.models.PhysicalDelivery;
15603
+ export type PhysicalDeliveryPreferredService =
15604
+ io.flow.v0.models.PhysicalDeliveryPreferredService;
15115
15605
  export type PhysicalDeliverySpecialSerivce =
15116
15606
  io.flow.v0.enums.PhysicalDeliverySpecialSerivce;
15117
15607
  export type PostPaymentRedirectUrls = io.flow.v0.models.PostPaymentRedirectUrls;
15118
15608
  export type PostalType = io.flow.v0.enums.PostalType;
15609
+ export type PreferredServiceSelectionStrategy =
15610
+ io.flow.v0.enums.PreferredServiceSelectionStrategy;
15119
15611
  export type Price = io.flow.v0.models.Price;
15120
15612
  export type PriceAccuracy = io.flow.v0.enums.PriceAccuracy;
15121
15613
  export type PriceBook = io.flow.v0.models.PriceBook;
@@ -15402,6 +15894,8 @@ export type ShippingConfigurationVersion =
15402
15894
  export type ShippingLabel = io.flow.v0.models.ShippingLabel;
15403
15895
  export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
15404
15896
  export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
15897
+ export type ShippingLabelHopCostItemizedEstimate =
15898
+ io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
15405
15899
  export type ShippingLabelHopSummary = io.flow.v0.models.ShippingLabelHopSummary;
15406
15900
  export type ShippingLabelLaneSummary =
15407
15901
  io.flow.v0.models.ShippingLabelLaneSummary;
@@ -15512,6 +16006,7 @@ export type Statement = io.flow.v0.models.Statement;
15512
16006
  export type StatementAttachmentType = io.flow.v0.enums.StatementAttachmentType;
15513
16007
  export type StatementDeleted = io.flow.v0.models.StatementDeleted;
15514
16008
  export type StatementUpserted = io.flow.v0.models.StatementUpserted;
16009
+ export type StoredMethodUsageStep = io.flow.v0.enums.StoredMethodUsageStep;
15515
16010
  export type Strategy = io.flow.v0.enums.Strategy;
15516
16011
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15517
16012
  export type StripeAuthenticationData =
@@ -15587,7 +16082,6 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
15587
16082
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
15588
16083
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
15589
16084
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15590
- export type Test = io.flow.v0.models.Test;
15591
16085
  export type TestUpserted = io.flow.v0.models.TestUpserted;
15592
16086
  export type ThirdPartyLogisticsPartner =
15593
16087
  io.flow.v0.models.ThirdPartyLogisticsPartner;
@@ -15657,8 +16151,14 @@ export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15657
16151
  export type Transaction = io.flow.v0.models.Transaction;
15658
16152
  export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
15659
16153
  export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
16154
+ export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
16155
+ export type TransactionMetadataShippingLabel =
16156
+ io.flow.v0.models.TransactionMetadataShippingLabel;
15660
16157
  export type TransactionNetworkDetailsCard =
15661
16158
  io.flow.v0.models.TransactionNetworkDetailsCard;
16159
+ export type TransactionPayoutPendingReason =
16160
+ io.flow.v0.enums.TransactionPayoutPendingReason;
16161
+ export type TransactionReference = io.flow.v0.models.TransactionReference;
15662
16162
  export type TransactionSource = io.flow.v0.enums.TransactionSource;
15663
16163
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
15664
16164
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
@@ -15667,8 +16167,11 @@ export type UltimateBeneficiaryOwner =
15667
16167
  io.flow.v0.models.UltimateBeneficiaryOwner;
15668
16168
  export type UnharmonizedItemExportType =
15669
16169
  io.flow.v0.models.UnharmonizedItemExportType;
16170
+ export type UnitOfLength = io.flow.v0.enums.UnitOfLength;
15670
16171
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
15671
16172
  export type UnitOfTime = io.flow.v0.enums.UnitOfTime;
16173
+ export type UnitOfVolume = io.flow.v0.enums.UnitOfVolume;
16174
+ export type UnitOfWeight = io.flow.v0.enums.UnitOfWeight;
15672
16175
  export type UpdatePolicy = io.flow.v0.enums.UpdatePolicy;
15673
16176
  export type UpdateType = io.flow.v0.enums.UpdateType;
15674
16177
  export type Upload = io.flow.v0.models.Upload;