@flowio/types 11.24.67 → 11.24.68

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,13 @@ declare namespace io.flow.stripe.v0.models {
976
1131
  readonly customer?: string;
977
1132
  }
978
1133
 
1134
+ interface ThreeDSecureCharge {
1135
+ readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1136
+ readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
1137
+ readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
1138
+ readonly version?: string;
1139
+ }
1140
+
979
1141
  interface ThreeDSecureRedirect {
980
1142
  readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
981
1143
  readonly stripe_js: string;
@@ -1002,6 +1164,35 @@ declare namespace io.flow.stripe.v0.models {
1002
1164
  readonly amount?: number;
1003
1165
  readonly destination?: string;
1004
1166
  }
1167
+
1168
+ interface VisaCheckout {
1169
+ readonly type: 'visa_checkout';
1170
+ readonly visa_checkout: io.flow.stripe.v0.models.VisaCheckoutInformation;
1171
+ readonly dynamic_last4?: string;
1172
+ }
1173
+
1174
+ interface VisaCheckoutInformation {
1175
+ readonly billing_address?: io.flow.stripe.v0.models.Address;
1176
+ readonly email?: string;
1177
+ readonly name?: string;
1178
+ readonly shipping_address?: io.flow.stripe.v0.models.Address;
1179
+ }
1180
+ }
1181
+
1182
+ declare namespace io.flow.stripe.v0.unions {
1183
+ type CardWallet =
1184
+ | io.flow.stripe.v0.models.Masterpass
1185
+ | io.flow.stripe.v0.models.ApplePay
1186
+ | io.flow.stripe.v0.models.VisaCheckout;
1187
+ type PaymentMethodDetails =
1188
+ | io.flow.stripe.v0.models.PaymentMethodDetailsCard
1189
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
1190
+ }
1191
+
1192
+ declare namespace io.flow.units.v0.enums {
1193
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
1194
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
1195
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
1005
1196
  }
1006
1197
 
1007
1198
  declare namespace io.flow.shopify.external.v0.enums {
@@ -1188,7 +1379,7 @@ declare namespace io.flow.shopify.external.v0.models {
1188
1379
  readonly starts_at: string;
1189
1380
  readonly ends_at?: string;
1190
1381
  readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
1191
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
1382
+ readonly prerequisite_shipping_price_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
1192
1383
  readonly usage_limit?: number;
1193
1384
  readonly entitled_product_ids: number[];
1194
1385
  readonly entitled_variant_ids: number[];
@@ -1198,7 +1389,7 @@ declare namespace io.flow.shopify.external.v0.models {
1198
1389
  readonly once_per_customer: boolean;
1199
1390
  readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
1200
1391
  readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
1201
- readonly prerequisite_saved_search_ids: number[];
1392
+ readonly customer_segment_prerequisite_ids?: number[];
1202
1393
  readonly prerequisite_customer_ids?: number[];
1203
1394
  readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
1204
1395
  readonly prerequisite_product_ids?: number[];
@@ -2001,6 +2192,35 @@ declare namespace io.flow.shopify.external.v0.models {
2001
2192
  }
2002
2193
  }
2003
2194
 
2195
+ declare namespace io.flow.ben.test.internal.v0.models {
2196
+ interface GenerateLoadMultipleOrgs {
2197
+ readonly discriminator: 'generate_load_multiple_orgs';
2198
+ readonly organization_ids: string[];
2199
+ readonly num_events: number;
2200
+ }
2201
+
2202
+ interface GenerateLoadSingleOrg {
2203
+ readonly discriminator: 'generate_load_single_org';
2204
+ readonly organization_id: string;
2205
+ readonly num_events: number;
2206
+ }
2207
+
2208
+ interface Test {
2209
+ readonly id: string;
2210
+ readonly name: string;
2211
+ }
2212
+
2213
+ interface TestForm {
2214
+ readonly name: string;
2215
+ }
2216
+ }
2217
+
2218
+ declare namespace io.flow.ben.test.internal.v0.unions {
2219
+ type GenerateLoad =
2220
+ | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
2221
+ | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
2222
+ }
2223
+
2004
2224
  declare namespace io.flow.apple.pay.v0.enums {
2005
2225
  type ApplePayContactField =
2006
2226
  | 'email'
@@ -2089,6 +2309,128 @@ declare namespace io.flow.apple.pay.v0.models {
2089
2309
  }
2090
2310
  }
2091
2311
 
2312
+ declare namespace io.flow.error.v0.enums {
2313
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
2314
+ }
2315
+
2316
+ declare namespace io.flow.error.v0.models {
2317
+ interface GenericError {
2318
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
2319
+ readonly messages: string[];
2320
+ }
2321
+ }
2322
+
2323
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
2324
+ type TrueUpSurchargeType =
2325
+ | 'fuel'
2326
+ | 'remote_area'
2327
+ | 'oversize'
2328
+ | 'duties_paid'
2329
+ | 'emergency'
2330
+ | 'peak';
2331
+ type WeightSelection = 'dead' | 'dimensional';
2332
+ }
2333
+
2334
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2335
+ interface LabelBase {
2336
+ readonly amount: number;
2337
+ readonly weight: number;
2338
+ }
2339
+
2340
+ interface LabelDestination {
2341
+ readonly country: string;
2342
+ }
2343
+
2344
+ interface LabelInvoiceRequest {
2345
+ readonly id: string;
2346
+ readonly label: io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary;
2347
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
2348
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
2349
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
2350
+ readonly total: number;
2351
+ readonly destination: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination;
2352
+ readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
2353
+ }
2354
+
2355
+ interface LabelMetadata {
2356
+ readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
2357
+ readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
2358
+ }
2359
+
2360
+ interface LabelSurcharge {
2361
+ readonly amount: number;
2362
+ readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
2363
+ readonly detail: io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail;
2364
+ }
2365
+
2366
+ interface LabelSurchargeDetailFlat {
2367
+ readonly discriminator: 'flat';
2368
+ readonly placeholder?: string;
2369
+ }
2370
+
2371
+ interface LabelSurchargeDetailPerWeightUnit {
2372
+ readonly discriminator: 'per_weight_unit';
2373
+ readonly fee: number;
2374
+ }
2375
+
2376
+ interface LabelSurchargeDetailPercentage {
2377
+ readonly discriminator: 'percentage';
2378
+ readonly percentage: number;
2379
+ }
2380
+
2381
+ interface LabelUnits {
2382
+ readonly currency: string;
2383
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
2384
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
2385
+ }
2386
+
2387
+ interface MetadataProposition {
2388
+ readonly shipping_method: io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference;
2389
+ readonly name: string;
2390
+ }
2391
+
2392
+ interface MetadataRatecard {
2393
+ readonly id: string;
2394
+ readonly proposition: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition;
2395
+ }
2396
+
2397
+ interface MetadataWeights {
2398
+ readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
2399
+ readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
2400
+ readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
2401
+ }
2402
+
2403
+ interface ShippingMethodReference {
2404
+ readonly id: string;
2405
+ }
2406
+
2407
+ interface TrueUpLabelSummary {
2408
+ readonly id: string;
2409
+ readonly carrier_service_id: string;
2410
+ readonly carrier_tracking_number: string;
2411
+ readonly flow_tracking_number: string;
2412
+ readonly created_at: string;
2413
+ }
2414
+
2415
+ interface WeightsDead {
2416
+ readonly weight: number;
2417
+ }
2418
+
2419
+ interface WeightsDimensional {
2420
+ readonly weight: number;
2421
+ readonly length: number;
2422
+ readonly width: number;
2423
+ readonly height: number;
2424
+ }
2425
+ }
2426
+
2427
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.unions {
2428
+ type LabelSurchargeDetail =
2429
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat
2430
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage
2431
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit;
2432
+ }
2433
+
2092
2434
  declare namespace io.flow.v0.enums {
2093
2435
  type AbandonedOrderPromotionStatus = 'active' | 'inactive';
2094
2436
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
@@ -2303,6 +2645,7 @@ declare namespace io.flow.v0.enums {
2303
2645
  type Environment = 'sandbox' | 'production';
2304
2646
  type EventType =
2305
2647
  | 'test_upserted'
2648
+ | 'generate_load'
2306
2649
  | 'transaction_upserted'
2307
2650
  | 'organization_transaction_upserted'
2308
2651
  | 'organization_transaction_deleted'
@@ -2775,6 +3118,7 @@ declare namespace io.flow.v0.enums {
2775
3118
  | 'deactivated'
2776
3119
  | 'provisioned';
2777
3120
  type OrganizationType = 'standalone' | 'channel';
3121
+ type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
2778
3122
  type PaymentActionType =
2779
3123
  | 'redirect'
2780
3124
  | 'redirect_get'
@@ -2860,6 +3204,10 @@ declare namespace io.flow.v0.enums {
2860
3204
  | 'hazardous'
2861
3205
  | 'perishable';
2862
3206
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
3207
+ type PreferredServiceSelectionStrategy =
3208
+ | 'calculated_rate'
3209
+ | 'flat_rate'
3210
+ | 'custom_rate';
2863
3211
  type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
2864
3212
  type PriceBookStatus = 'draft' | 'published' | 'archived';
2865
3213
  type PriceDetailComponentKey =
@@ -2974,6 +3322,7 @@ declare namespace io.flow.v0.enums {
2974
3322
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
2975
3323
  type SortDirection = 'ascending' | 'descending';
2976
3324
  type StatementAttachmentType = 'csv';
3325
+ type StoredMethodUsageStep = 'initial' | 'subsequent';
2977
3326
  type Strategy = 'range' | 'from' | 'to';
2978
3327
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
2979
3328
  type SurchargeResponsibleParty = 'organization' | 'customer';
@@ -3037,6 +3386,13 @@ declare namespace io.flow.v0.enums {
3037
3386
  | 'expired';
3038
3387
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3039
3388
  type TradeAgreementStatus = 'supported' | 'not_supported';
3389
+ type TransactionPayoutPendingReason =
3390
+ | 'waiting_for_full_refund'
3391
+ | 'waiting_for_fulfillment'
3392
+ | 'waiting_for_in_transit'
3393
+ | 'waiting_for_next_payout_date'
3394
+ | 'external_fulfillment_missing_tracking_info'
3395
+ | 'waiting_for_positive_account_balance';
3040
3396
  type TransactionSource =
3041
3397
  | 'capture'
3042
3398
  | 'refund'
@@ -3057,6 +3413,7 @@ declare namespace io.flow.v0.enums {
3057
3413
  | 'order_service'
3058
3414
  | 'virtual_card_capture'
3059
3415
  | 'virtual_card_refund';
3416
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
3060
3417
  type UnitOfMeasurement =
3061
3418
  | 'millimeter'
3062
3419
  | 'centimeter'
@@ -3070,12 +3427,14 @@ declare namespace io.flow.v0.enums {
3070
3427
  | 'ounce'
3071
3428
  | 'pound';
3072
3429
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
3430
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
3431
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
3073
3432
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
3074
3433
  type UpdateType = 'change' | 'set';
3075
3434
  type UserStatus = 'pending' | 'active' | 'inactive';
3076
3435
  type ValueAddedService = 'Hazardous Material';
3077
3436
  type Visibility = 'public' | 'private';
3078
- type WebhookStatus = 'pending' | 'success' | 'failure';
3437
+ type WebhookStatus = 'pending' | 'success' | 'failure' | 'ignored';
3079
3438
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
3080
3439
  type ZeroAmountIndicator = 'zero' | 'free';
3081
3440
  type ZeroLevyReasonCode =
@@ -4126,6 +4485,8 @@ declare namespace io.flow.v0.models {
4126
4485
  readonly expires_at?: string;
4127
4486
  readonly base?: io.flow.v0.models.Money;
4128
4487
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
4488
+ readonly stored_method_usage_step?: io.flow.v0.enums.StoredMethodUsageStep;
4489
+ readonly authorized_at?: string;
4129
4490
  }
4130
4491
 
4131
4492
  interface CardAuthorizationDeletedV2 {
@@ -4686,6 +5047,7 @@ declare namespace io.flow.v0.models {
4686
5047
  interface ChannelTransaction {
4687
5048
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
4688
5049
  readonly id: string;
5050
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
4689
5051
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
4690
5052
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
4691
5053
  readonly currency: string;
@@ -4717,6 +5079,12 @@ declare namespace io.flow.v0.models {
4717
5079
  readonly id: string;
4718
5080
  }
4719
5081
 
5082
+ interface ChannelTransactionPayout {
5083
+ readonly transaction: io.flow.v0.models.TransactionReference;
5084
+ readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
5085
+ readonly payout?: io.flow.v0.models.PayoutReference;
5086
+ }
5087
+
4720
5088
  interface ChannelTransactionUpserted {
4721
5089
  readonly discriminator: 'channel_transaction_upserted';
4722
5090
  readonly event_id: string;
@@ -5042,6 +5410,14 @@ declare namespace io.flow.v0.models {
5042
5410
  readonly language: string;
5043
5411
  }
5044
5412
 
5413
+ interface CountryOfOrigin {
5414
+ readonly country: io.flow.v0.models.Country;
5415
+ }
5416
+
5417
+ interface CountryOfOriginForm {
5418
+ readonly country: string;
5419
+ }
5420
+
5045
5421
  interface CountryPicker {
5046
5422
  readonly id: string;
5047
5423
  readonly source: io.flow.v0.enums.CountryPickerSource;
@@ -5389,6 +5765,10 @@ declare namespace io.flow.v0.models {
5389
5765
  readonly amount: number;
5390
5766
  }
5391
5767
 
5768
+ interface DeactivationPutForm {
5769
+ readonly reason: string;
5770
+ }
5771
+
5392
5772
  interface DefaultBankAccountForm {
5393
5773
  readonly bank_account_id: string;
5394
5774
  }
@@ -5538,6 +5918,7 @@ declare namespace io.flow.v0.models {
5538
5918
  readonly order_number: string;
5539
5919
  readonly service?: string;
5540
5920
  readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
5921
+ readonly package_dimensions_source?: io.flow.v0.enums.PackageDimensionsSource;
5541
5922
  }
5542
5923
 
5543
5924
  interface DetailedShippingNotificationForm {
@@ -6548,6 +6929,15 @@ declare namespace io.flow.v0.models {
6548
6929
  readonly landed_costs: io.flow.v0.models.LaneLandedCost[];
6549
6930
  }
6550
6931
 
6932
+ interface GenerateLoad {
6933
+ readonly discriminator: 'generate_load';
6934
+ readonly event_id: string;
6935
+ readonly timestamp: string;
6936
+ readonly organization: string;
6937
+ readonly test_name: string;
6938
+ readonly num_tests: number;
6939
+ }
6940
+
6551
6941
  interface GenericError {
6552
6942
  readonly code: io.flow.v0.enums.GenericErrorCode;
6553
6943
  readonly messages: string[];
@@ -7355,6 +7745,7 @@ declare namespace io.flow.v0.models {
7355
7745
  interface KnowYourBusinessUsa {
7356
7746
  readonly discriminator: 'know_your_business_usa';
7357
7747
  readonly id: string;
7748
+ readonly organization_id: string;
7358
7749
  readonly primary_entity: io.flow.v0.unions.Entity;
7359
7750
  readonly parent_company?: io.flow.v0.models.Company;
7360
7751
  readonly ultimate_parent_company?: io.flow.v0.models.Company;
@@ -7424,6 +7815,7 @@ declare namespace io.flow.v0.models {
7424
7815
  readonly label?: io.flow.v0.models.LabelReference;
7425
7816
  readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
7426
7817
  readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7818
+ readonly rejected?: io.flow.v0.models.LabelTrackingSummaryUpdate;
7427
7819
  }
7428
7820
 
7429
7821
  interface LabelTrackingSummaryUpdate {
@@ -7837,6 +8229,11 @@ declare namespace io.flow.v0.models {
7837
8229
  readonly merchant_application: io.flow.v0.unions.MerchantApplication;
7838
8230
  }
7839
8231
 
8232
+ interface MerchantDeactivated {
8233
+ readonly discriminator: 'merchant_deactivated';
8234
+ readonly reason: string;
8235
+ }
8236
+
7840
8237
  interface MerchantGiftCardBalance {
7841
8238
  readonly amount: number;
7842
8239
  readonly currency: string;
@@ -8059,6 +8456,7 @@ declare namespace io.flow.v0.models {
8059
8456
  readonly base?: io.flow.v0.models.Money;
8060
8457
  readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor;
8061
8458
  readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
8459
+ readonly authorized_at?: string;
8062
8460
  }
8063
8461
 
8064
8462
  interface OnlineAuthorizationDeletedV2 {
@@ -8085,7 +8483,6 @@ declare namespace io.flow.v0.models {
8085
8483
  }
8086
8484
 
8087
8485
  interface OperationsContact {
8088
- readonly full_name?: string;
8089
8486
  readonly company?: string;
8090
8487
  readonly email?: string;
8091
8488
  readonly phone?: string;
@@ -8968,6 +9365,7 @@ declare namespace io.flow.v0.models {
8968
9365
  readonly time_blocked?: number;
8969
9366
  readonly blocked_since?: string;
8970
9367
  readonly completed_at?: string;
9368
+ readonly onboarding_started_at?: string;
8971
9369
  }
8972
9370
 
8973
9371
  interface OrganizationOnboardingStateDeleted {
@@ -9122,6 +9520,12 @@ declare namespace io.flow.v0.models {
9122
9520
  readonly id: string;
9123
9521
  }
9124
9522
 
9523
+ interface OrganizationTransactionPayout {
9524
+ readonly transaction: io.flow.v0.models.TransactionReference;
9525
+ readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
9526
+ readonly payout?: io.flow.v0.models.PayoutReference;
9527
+ }
9528
+
9125
9529
  interface OrganizationTransactionUpserted {
9126
9530
  readonly discriminator: 'organization_transaction_upserted';
9127
9531
  readonly event_id: string;
@@ -9170,12 +9574,30 @@ declare namespace io.flow.v0.models {
9170
9574
  readonly amount: io.flow.v0.models.Money;
9171
9575
  }
9172
9576
 
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;
9577
+ interface OversizePieceSurchargeRatecardFee {
9578
+ readonly discriminator: 'oversize_piece_surcharge_ratecard_fee';
9579
+ readonly dimensional_threshold?: number;
9580
+ readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
9581
+ readonly weight_threshold?: number;
9582
+ readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
9583
+ readonly amount: io.flow.v0.models.Money;
9584
+ }
9585
+
9586
+ interface OversizePieceSurchargeServiceFee {
9587
+ readonly discriminator: 'oversize_piece_surcharge_service_fee';
9588
+ readonly dimensional_threshold?: number;
9589
+ readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement;
9590
+ readonly weight_threshold?: number;
9591
+ readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
9592
+ readonly amount: io.flow.v0.models.Money;
9593
+ }
9594
+
9595
+ interface PackageDimensions {
9596
+ readonly dimensions: io.flow.v0.models.Dimension[];
9597
+ }
9598
+
9599
+ interface PackageDimensionsForm {
9600
+ readonly dimensions: io.flow.v0.models.Dimension[];
9179
9601
  }
9180
9602
 
9181
9603
  interface Packaging {
@@ -9853,6 +10275,10 @@ declare namespace io.flow.v0.models {
9853
10275
  readonly url: string;
9854
10276
  }
9855
10277
 
10278
+ interface PayoutReference {
10279
+ readonly id: string;
10280
+ }
10281
+
9856
10282
  interface PayoutStatusFailed {
9857
10283
  readonly code: 'failed';
9858
10284
  readonly timestamp: string;
@@ -9871,6 +10297,7 @@ declare namespace io.flow.v0.models {
9871
10297
 
9872
10298
  interface PayoutTransaction {
9873
10299
  readonly id: string;
10300
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
9874
10301
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
9875
10302
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
9876
10303
  readonly currency: string;
@@ -9983,6 +10410,12 @@ declare namespace io.flow.v0.models {
9983
10410
  readonly total?: io.flow.v0.models.LocalizedTotal;
9984
10411
  readonly goods_supply?: io.flow.v0.enums.GoodsSupply;
9985
10412
  readonly merchant_of_record_flow_entity?: io.flow.v0.enums.FlowEntity;
10413
+ readonly preferred_service?: io.flow.v0.models.PhysicalDeliveryPreferredService;
10414
+ }
10415
+
10416
+ interface PhysicalDeliveryPreferredService {
10417
+ readonly id: string;
10418
+ readonly selection_stratey: io.flow.v0.enums.PreferredServiceSelectionStrategy;
9986
10419
  }
9987
10420
 
9988
10421
  interface PostPaymentRedirectUrls {
@@ -10432,12 +10865,16 @@ declare namespace io.flow.v0.models {
10432
10865
  interface Ratecard {
10433
10866
  readonly id: string;
10434
10867
  readonly number: string;
10868
+ readonly rate_level_key?: string;
10435
10869
  readonly direction: io.flow.v0.enums.Direction;
10436
10870
  readonly effective_at: string;
10437
10871
  readonly origination_zones: io.flow.v0.models.Zone[];
10438
10872
  readonly service: io.flow.v0.models.RatecardServiceSummary;
10439
10873
  readonly published_at?: string;
10440
10874
  readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
10875
+ readonly glbe_shipping_method_id?: string;
10876
+ readonly glbe_proposition_name?: string;
10877
+ readonly channel_revenue_share_percentage?: number;
10441
10878
  }
10442
10879
 
10443
10880
  interface RatecardCarrierSummary {
@@ -10516,6 +10953,10 @@ declare namespace io.flow.v0.models {
10516
10953
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
10517
10954
  readonly gravitational_weight?: io.flow.v0.models.Measurement;
10518
10955
  readonly ratecard_id?: string;
10956
+ readonly glbe_shipping_method_id?: string;
10957
+ readonly glbe_proposition_name?: string;
10958
+ readonly channel_revenue_share_percentage?: number;
10959
+ readonly rate_level_key?: string;
10519
10960
  readonly line_items?: io.flow.v0.models.LineItemForm[];
10520
10961
  }
10521
10962
 
@@ -10525,7 +10966,12 @@ declare namespace io.flow.v0.models {
10525
10966
  readonly origination_zones: io.flow.v0.models.Zone[];
10526
10967
  readonly service: string;
10527
10968
  readonly number?: string;
10969
+ readonly rate_level_key?: string;
10528
10970
  readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
10971
+ readonly glbe_shipping_method_id?: string;
10972
+ readonly glbe_proposition_name?: string;
10973
+ readonly channel_revenue_share_percentage?: number;
10974
+ readonly data?: Record<string, string>;
10529
10975
  }
10530
10976
 
10531
10977
  interface RatecardLane {
@@ -11456,6 +11902,9 @@ declare namespace io.flow.v0.models {
11456
11902
  readonly carrier_tracking_number_url: string;
11457
11903
  readonly cost_estimate_source?: io.flow.v0.enums.CostEstimateSource;
11458
11904
  readonly cost?: io.flow.v0.models.Price;
11905
+ readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
11906
+ readonly taxes_owed?: io.flow.v0.models.Money;
11907
+ readonly duties_owed?: io.flow.v0.models.Money;
11459
11908
  readonly destination: io.flow.v0.models.ShippingAddress;
11460
11909
  readonly flow_tracking_number: string;
11461
11910
  readonly flow_tracking_number_url: string;
@@ -11467,6 +11916,7 @@ declare namespace io.flow.v0.models {
11467
11916
  readonly return?: io.flow.v0.models.ShippingLabelDocument;
11468
11917
  readonly order?: io.flow.v0.models.LabelOrderSummary;
11469
11918
  readonly package?: io.flow.v0.models.ShippingLabelPackage;
11919
+ readonly package_dimension_source?: io.flow.v0.enums.PackageDimensionsSource;
11470
11920
  readonly order_identifier?: string;
11471
11921
  readonly fulfillment_key?: string;
11472
11922
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
@@ -11486,9 +11936,16 @@ declare namespace io.flow.v0.models {
11486
11936
  readonly required: boolean;
11487
11937
  }
11488
11938
 
11939
+ interface ShippingLabelHopCostItemizedEstimate {
11940
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
11941
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
11942
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
11943
+ }
11944
+
11489
11945
  interface ShippingLabelHopSummary {
11490
11946
  readonly lane: io.flow.v0.models.ShippingLabelLaneSummary;
11491
11947
  readonly cost: io.flow.v0.models.Money;
11948
+ readonly itemized_estimate?: io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
11492
11949
  }
11493
11950
 
11494
11951
  interface ShippingLabelLaneSummary {
@@ -11498,6 +11955,7 @@ declare namespace io.flow.v0.models {
11498
11955
 
11499
11956
  interface ShippingLabelPackage {
11500
11957
  readonly dimensions: io.flow.v0.models.Dimension;
11958
+ readonly volumetric_weight?: number;
11501
11959
  readonly items: io.flow.v0.models.LineItemForm[];
11502
11960
  readonly reference_number?: string;
11503
11961
  }
@@ -11505,6 +11963,11 @@ declare namespace io.flow.v0.models {
11505
11963
  interface ShippingLabelRatecardSummary {
11506
11964
  readonly id?: string;
11507
11965
  readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
11966
+ readonly rate_level_key?: string;
11967
+ readonly glbe_shipping_method_id?: string;
11968
+ readonly glbe_proposition_name?: string;
11969
+ readonly channel_revenue_share_percentage?: number;
11970
+ readonly shopify_grc_gid?: string;
11508
11971
  }
11509
11972
 
11510
11973
  interface ShippingLabelSummary {
@@ -11802,7 +12265,6 @@ declare namespace io.flow.v0.models {
11802
12265
  readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11803
12266
  readonly company?: io.flow.v0.models.MerchantInfo;
11804
12267
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11805
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
11806
12268
  readonly beneficiary?: string;
11807
12269
  readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11808
12270
  readonly business_url?: string;
@@ -11812,31 +12274,30 @@ declare namespace io.flow.v0.models {
11812
12274
  readonly chargeback_percentage?: number;
11813
12275
  readonly bank_account_number?: string;
11814
12276
  readonly aba_routing_transit_number?: string;
11815
- readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11816
12277
  readonly other_trade_sector?: string;
11817
12278
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
12279
+ readonly center_contact?: io.flow.v0.models.OperationsContact;
11818
12280
  readonly average_order_weight?: number;
11819
12281
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11820
12282
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11821
- readonly dangerous_goods?: boolean;
11822
12283
  readonly default_country_of_origin?: string;
11823
12284
  readonly ratecard?: io.flow.v0.models.RatecardReference;
11824
12285
  readonly rate_card: string;
11825
12286
  readonly created_at: string;
11826
12287
  readonly activated_at?: string;
11827
12288
  readonly status_updated_at?: string;
11828
- readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11829
12289
  readonly shop?: io.flow.v0.models.Shop;
11830
12290
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11831
12291
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11832
12292
  readonly average_order_value?: io.flow.v0.models.Money;
12293
+ readonly glbe_merchant_guid?: string;
12294
+ readonly mcc_codes?: number[];
11833
12295
  }
11834
12296
 
11835
12297
  interface ShopifyMerchantApplicationForm {
11836
12298
  readonly discriminator: 'shopify_merchant_application_form';
11837
12299
  readonly company?: io.flow.v0.models.MerchantInfo;
11838
12300
  readonly indirect_tax?: io.flow.v0.models.IndirectTax;
11839
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
11840
12301
  readonly beneficiary?: string;
11841
12302
  readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
11842
12303
  readonly business_url?: string;
@@ -11846,23 +12307,22 @@ declare namespace io.flow.v0.models {
11846
12307
  readonly chargeback_percentage?: number;
11847
12308
  readonly bank_account_number?: string;
11848
12309
  readonly aba_routing_transit_number?: string;
11849
- readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11850
12310
  readonly other_trade_sector?: string;
11851
12311
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
12312
+ readonly center_contact?: io.flow.v0.models.OperationsContact;
11852
12313
  readonly average_order_weight?: number;
11853
12314
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11854
12315
  readonly monthly_average_volume_amount?: number;
11855
12316
  readonly monthly_average_volume_currency?: string;
11856
12317
  readonly monthly_average_number_transactions?: number;
11857
- readonly dangerous_goods?: boolean;
11858
12318
  readonly default_country_of_origin?: string;
11859
12319
  readonly ratecard_id?: string;
11860
12320
  readonly rate_card: string;
11861
- readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11862
12321
  readonly shop?: io.flow.v0.models.Shop;
11863
12322
  readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11864
12323
  readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11865
12324
  readonly average_order_value?: io.flow.v0.models.Money;
12325
+ readonly mcc_codes?: number[];
11866
12326
  }
11867
12327
 
11868
12328
  interface ShopifyMerchantApplicationPutForm {
@@ -12363,16 +12823,11 @@ declare namespace io.flow.v0.models {
12363
12823
  readonly email_recipients?: string[];
12364
12824
  }
12365
12825
 
12366
- interface Test {
12367
- readonly id: string;
12368
- }
12369
-
12370
12826
  interface TestUpserted {
12371
12827
  readonly discriminator: 'test_upserted';
12372
12828
  readonly event_id: string;
12373
12829
  readonly timestamp: string;
12374
- readonly organization: string;
12375
- readonly test: io.flow.v0.models.Test;
12830
+ readonly test: io.flow.ben.test.internal.v0.models.Test;
12376
12831
  }
12377
12832
 
12378
12833
  interface ThirdPartyLogisticsPartner {
@@ -12700,6 +13155,7 @@ declare namespace io.flow.v0.models {
12700
13155
  interface Transaction {
12701
13156
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12702
13157
  readonly id: string;
13158
+ readonly metadata?: io.flow.v0.unions.TransactionMetadata;
12703
13159
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
12704
13160
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12705
13161
  readonly currency: string;
@@ -12722,11 +13178,20 @@ declare namespace io.flow.v0.models {
12722
13178
  readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
12723
13179
  }
12724
13180
 
13181
+ interface TransactionMetadataShippingLabel {
13182
+ readonly discriminator: 'shipping_label';
13183
+ readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
13184
+ }
13185
+
12725
13186
  interface TransactionNetworkDetailsCard {
12726
13187
  readonly network_transaction_id?: string;
12727
13188
  readonly network?: io.flow.v0.enums.CardType;
12728
13189
  }
12729
13190
 
13191
+ interface TransactionReference {
13192
+ readonly id: string;
13193
+ }
13194
+
12730
13195
  interface TransactionUpserted {
12731
13196
  readonly discriminator: 'transaction_upserted';
12732
13197
  readonly event_id: string;
@@ -13084,6 +13549,7 @@ declare namespace io.flow.v0.unions {
13084
13549
  type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
13085
13550
  type Event =
13086
13551
  | io.flow.v0.models.TestUpserted
13552
+ | io.flow.v0.models.GenerateLoad
13087
13553
  | io.flow.v0.models.TransactionUpserted
13088
13554
  | io.flow.v0.models.OrganizationTransactionUpserted
13089
13555
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -13368,7 +13834,8 @@ declare namespace io.flow.v0.unions {
13368
13834
  | io.flow.v0.models.MerchantRejected
13369
13835
  | io.flow.v0.models.SetupBlocked
13370
13836
  | io.flow.v0.models.SetupCompleted
13371
- | io.flow.v0.models.MerchantActivated;
13837
+ | io.flow.v0.models.MerchantActivated
13838
+ | io.flow.v0.models.MerchantDeactivated;
13372
13839
  type OnlineAuthorizationDetails =
13373
13840
  | io.flow.v0.models.CryptopayAuthorizationDetails
13374
13841
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -13486,7 +13953,7 @@ declare namespace io.flow.v0.unions {
13486
13953
  type RatecardFee =
13487
13954
  | io.flow.v0.models.DdpRatecardFee
13488
13955
  | io.flow.v0.models.FuelSurchargeRatecardFee
13489
- | io.flow.v0.models.OversizedShipmentRatecardFee
13956
+ | io.flow.v0.models.OversizePieceSurchargeRatecardFee
13490
13957
  | io.flow.v0.models.ReturnPackageRatecardFee
13491
13958
  | io.flow.v0.models.CrossdockRatecardFee
13492
13959
  | io.flow.v0.models.RemoteAreaRatecardFee
@@ -13518,7 +13985,8 @@ declare namespace io.flow.v0.unions {
13518
13985
  | io.flow.v0.models.EmergencySituationSurchargeServiceFee
13519
13986
  | io.flow.v0.models.PeakSurchargeServiceFee
13520
13987
  | io.flow.v0.models.PeakSurchargeByWeightServiceFee
13521
- | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
13988
+ | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee
13989
+ | io.flow.v0.models.OversizePieceSurchargeServiceFee;
13522
13990
  type Session = io.flow.v0.models.OrganizationSession;
13523
13991
  type SessionAuthorization =
13524
13992
  io.flow.v0.models.OrganizationSessionAuthorization;
@@ -13564,6 +14032,7 @@ declare namespace io.flow.v0.unions {
13564
14032
  | io.flow.v0.models.OrganizationTokenV2Reference
13565
14033
  | io.flow.v0.models.PartnerTokenReference;
13566
14034
  type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
14035
+ type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel;
13567
14036
  }
13568
14037
 
13569
14038
  export type AbandonedOrderEmailSettings =
@@ -13906,6 +14375,8 @@ export type ChannelTransactionDeleted =
13906
14375
  io.flow.v0.models.ChannelTransactionDeleted;
13907
14376
  export type ChannelTransactionDeletedV2 =
13908
14377
  io.flow.v0.models.ChannelTransactionDeletedV2;
14378
+ export type ChannelTransactionPayout =
14379
+ io.flow.v0.models.ChannelTransactionPayout;
13909
14380
  export type ChannelTransactionUpserted =
13910
14381
  io.flow.v0.models.ChannelTransactionUpserted;
13911
14382
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
@@ -13976,6 +14447,8 @@ export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
13976
14447
  export type Country = io.flow.v0.models.Country;
13977
14448
  export type CountryAvailability = io.flow.v0.models.CountryAvailability;
13978
14449
  export type CountryDefaults = io.flow.v0.models.CountryDefaults;
14450
+ export type CountryOfOrigin = io.flow.v0.models.CountryOfOrigin;
14451
+ export type CountryOfOriginForm = io.flow.v0.models.CountryOfOriginForm;
13979
14452
  export type CountryPicker = io.flow.v0.models.CountryPicker;
13980
14453
  export type CountryPickerForm = io.flow.v0.models.CountryPickerForm;
13981
14454
  export type CountryPickerSource = io.flow.v0.enums.CountryPickerSource;
@@ -14047,6 +14520,7 @@ export type DatetimeRange = io.flow.v0.models.DatetimeRange;
14047
14520
  export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
14048
14521
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
14049
14522
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
14523
+ export type DeactivationPutForm = io.flow.v0.models.DeactivationPutForm;
14050
14524
  export type DefaultBankAccountForm = io.flow.v0.models.DefaultBankAccountForm;
14051
14525
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
14052
14526
  export type DeliveredDutyDisplayType =
@@ -14351,6 +14825,7 @@ export type GatewayAuthenticationData =
14351
14825
  io.flow.v0.unions.GatewayAuthenticationData;
14352
14826
  export type GatewayAuthenticationDataForm =
14353
14827
  io.flow.v0.unions.GatewayAuthenticationDataForm;
14828
+ export type GenerateLoad = io.flow.v0.models.GenerateLoad;
14354
14829
  export type GenericError = io.flow.v0.models.GenericError;
14355
14830
  export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
14356
14831
  export type GenericReservationError = io.flow.v0.models.GenericReservationError;
@@ -14598,6 +15073,7 @@ export type MerchantApplicationUpserted =
14598
15073
  io.flow.v0.models.MerchantApplicationUpserted;
14599
15074
  export type MerchantApplicationsSummary =
14600
15075
  io.flow.v0.unions.MerchantApplicationsSummary;
15076
+ export type MerchantDeactivated = io.flow.v0.models.MerchantDeactivated;
14601
15077
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
14602
15078
  export type MerchantGiftCardBalanceForm =
14603
15079
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -14879,6 +15355,8 @@ export type OrganizationTokenV2Reference =
14879
15355
  io.flow.v0.models.OrganizationTokenV2Reference;
14880
15356
  export type OrganizationTransactionDeleted =
14881
15357
  io.flow.v0.models.OrganizationTransactionDeleted;
15358
+ export type OrganizationTransactionPayout =
15359
+ io.flow.v0.models.OrganizationTransactionPayout;
14882
15360
  export type OrganizationTransactionUpserted =
14883
15361
  io.flow.v0.models.OrganizationTransactionUpserted;
14884
15362
  export type OrganizationType = io.flow.v0.enums.OrganizationType;
@@ -14887,8 +15365,13 @@ export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
14887
15365
  export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
14888
15366
  export type OriginalPrices = io.flow.v0.models.OriginalPrices;
14889
15367
  export type OutboundCartonFee = io.flow.v0.models.OutboundCartonFee;
14890
- export type OversizedShipmentRatecardFee =
14891
- io.flow.v0.models.OversizedShipmentRatecardFee;
15368
+ export type OversizePieceSurchargeRatecardFee =
15369
+ io.flow.v0.models.OversizePieceSurchargeRatecardFee;
15370
+ export type OversizePieceSurchargeServiceFee =
15371
+ io.flow.v0.models.OversizePieceSurchargeServiceFee;
15372
+ export type PackageDimensions = io.flow.v0.models.PackageDimensions;
15373
+ export type PackageDimensionsForm = io.flow.v0.models.PackageDimensionsForm;
15374
+ export type PackageDimensionsSource = io.flow.v0.enums.PackageDimensionsSource;
14892
15375
  export type Packaging = io.flow.v0.models.Packaging;
14893
15376
  export type ParentTransactionSummary =
14894
15377
  io.flow.v0.models.ParentTransactionSummary;
@@ -15087,6 +15570,7 @@ export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
15087
15570
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
15088
15571
  export type PayoutAttachment = io.flow.v0.models.PayoutAttachment;
15089
15572
  export type PayoutAttachmentType = io.flow.v0.enums.PayoutAttachmentType;
15573
+ export type PayoutReference = io.flow.v0.models.PayoutReference;
15090
15574
  export type PayoutStatus = io.flow.v0.unions.PayoutStatus;
15091
15575
  export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
15092
15576
  export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
@@ -15112,10 +15596,14 @@ export type PfsInventoryCheckResponseItem =
15112
15596
  io.flow.v0.models.PfsInventoryCheckResponseItem;
15113
15597
  export type PfsInventoryStatus = io.flow.v0.models.PfsInventoryStatus;
15114
15598
  export type PhysicalDelivery = io.flow.v0.models.PhysicalDelivery;
15599
+ export type PhysicalDeliveryPreferredService =
15600
+ io.flow.v0.models.PhysicalDeliveryPreferredService;
15115
15601
  export type PhysicalDeliverySpecialSerivce =
15116
15602
  io.flow.v0.enums.PhysicalDeliverySpecialSerivce;
15117
15603
  export type PostPaymentRedirectUrls = io.flow.v0.models.PostPaymentRedirectUrls;
15118
15604
  export type PostalType = io.flow.v0.enums.PostalType;
15605
+ export type PreferredServiceSelectionStrategy =
15606
+ io.flow.v0.enums.PreferredServiceSelectionStrategy;
15119
15607
  export type Price = io.flow.v0.models.Price;
15120
15608
  export type PriceAccuracy = io.flow.v0.enums.PriceAccuracy;
15121
15609
  export type PriceBook = io.flow.v0.models.PriceBook;
@@ -15402,6 +15890,8 @@ export type ShippingConfigurationVersion =
15402
15890
  export type ShippingLabel = io.flow.v0.models.ShippingLabel;
15403
15891
  export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
15404
15892
  export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
15893
+ export type ShippingLabelHopCostItemizedEstimate =
15894
+ io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
15405
15895
  export type ShippingLabelHopSummary = io.flow.v0.models.ShippingLabelHopSummary;
15406
15896
  export type ShippingLabelLaneSummary =
15407
15897
  io.flow.v0.models.ShippingLabelLaneSummary;
@@ -15512,6 +16002,7 @@ export type Statement = io.flow.v0.models.Statement;
15512
16002
  export type StatementAttachmentType = io.flow.v0.enums.StatementAttachmentType;
15513
16003
  export type StatementDeleted = io.flow.v0.models.StatementDeleted;
15514
16004
  export type StatementUpserted = io.flow.v0.models.StatementUpserted;
16005
+ export type StoredMethodUsageStep = io.flow.v0.enums.StoredMethodUsageStep;
15515
16006
  export type Strategy = io.flow.v0.enums.Strategy;
15516
16007
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15517
16008
  export type StripeAuthenticationData =
@@ -15587,7 +16078,6 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
15587
16078
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
15588
16079
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
15589
16080
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15590
- export type Test = io.flow.v0.models.Test;
15591
16081
  export type TestUpserted = io.flow.v0.models.TestUpserted;
15592
16082
  export type ThirdPartyLogisticsPartner =
15593
16083
  io.flow.v0.models.ThirdPartyLogisticsPartner;
@@ -15657,8 +16147,14 @@ export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15657
16147
  export type Transaction = io.flow.v0.models.Transaction;
15658
16148
  export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
15659
16149
  export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
16150
+ export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
16151
+ export type TransactionMetadataShippingLabel =
16152
+ io.flow.v0.models.TransactionMetadataShippingLabel;
15660
16153
  export type TransactionNetworkDetailsCard =
15661
16154
  io.flow.v0.models.TransactionNetworkDetailsCard;
16155
+ export type TransactionPayoutPendingReason =
16156
+ io.flow.v0.enums.TransactionPayoutPendingReason;
16157
+ export type TransactionReference = io.flow.v0.models.TransactionReference;
15662
16158
  export type TransactionSource = io.flow.v0.enums.TransactionSource;
15663
16159
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
15664
16160
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
@@ -15667,8 +16163,11 @@ export type UltimateBeneficiaryOwner =
15667
16163
  io.flow.v0.models.UltimateBeneficiaryOwner;
15668
16164
  export type UnharmonizedItemExportType =
15669
16165
  io.flow.v0.models.UnharmonizedItemExportType;
16166
+ export type UnitOfLength = io.flow.v0.enums.UnitOfLength;
15670
16167
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
15671
16168
  export type UnitOfTime = io.flow.v0.enums.UnitOfTime;
16169
+ export type UnitOfVolume = io.flow.v0.enums.UnitOfVolume;
16170
+ export type UnitOfWeight = io.flow.v0.enums.UnitOfWeight;
15672
16171
  export type UpdatePolicy = io.flow.v0.enums.UpdatePolicy;
15673
16172
  export type UpdateType = io.flow.v0.enums.UpdateType;
15674
16173
  export type Upload = io.flow.v0.models.Upload;