@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.
@@ -257,6 +257,12 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
257
257
  | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
258
258
  }
259
259
 
260
+ declare namespace io.flow.units.v0.enums {
261
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
262
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
263
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
264
+ }
265
+
260
266
  declare namespace io.flow.order.price.v0.enums {
261
267
  type OrderPriceDetailComponentKey =
262
268
  | 'adjustment'
@@ -323,209 +329,6 @@ declare namespace io.flow.order.price.v0.models {
323
329
  }
324
330
  }
325
331
 
326
- declare namespace io.flow.error.v0.enums {
327
- type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
328
- }
329
-
330
- declare namespace io.flow.error.v0.models {
331
- interface GenericError {
332
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
333
- readonly messages: string[];
334
- }
335
- }
336
-
337
- declare namespace io.flow.price.v0.enums {
338
- type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
339
- type LevyStrategy = 'minimum' | 'average' | 'maximum';
340
- type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
341
- type PriceDetailComponentKey =
342
- | 'base_price'
343
- | 'discount'
344
- | 'currency_margin'
345
- | 'percent_item_margin'
346
- | 'fixed_item_margin'
347
- | 'duties_item_price'
348
- | 'duties_added_margin'
349
- | 'duties_rounding'
350
- | 'duties_deminimis'
351
- | 'vat_item_price'
352
- | 'vat_added_margin'
353
- | 'vat_rounding'
354
- | 'vat_duties_item_price'
355
- | 'vat_duties_added_margin'
356
- | 'vat_duties_rounding'
357
- | 'vat_deminimis'
358
- | 'item_price_percent_sales_margin'
359
- | 'margins_percent_sales_margin'
360
- | 'rounding_percent_sales_margin'
361
- | 'vat_percent_sales_margin'
362
- | 'vat_duty_percent_sales_margin'
363
- | 'duty_percent_sales_margin';
364
- type PriceDetailKey =
365
- | 'item_price'
366
- | 'margins'
367
- | 'vat'
368
- | 'duty'
369
- | 'rounding'
370
- | 'adjustment';
371
- type PricingLevySetting = 'included' | 'displayed' | 'ignored';
372
- }
373
-
374
- declare namespace io.flow.price.v0.models {
375
- interface CurrencyFormat {
376
- readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
377
- readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
378
- }
379
-
380
- interface DeminimisPerItem {
381
- readonly discriminator: 'deminimis_per_item';
382
- readonly currency: string;
383
- readonly minimum?: number;
384
- readonly maximum?: number;
385
- }
386
-
387
- interface DeminimisSimple {
388
- readonly discriminator: 'deminimis_simple';
389
- readonly value?: number;
390
- readonly currency: string;
391
- readonly components: io.flow.price.v0.enums.LevyComponent[];
392
- readonly minimum?: number;
393
- }
394
-
395
- interface Duty {
396
- readonly rate: number;
397
- readonly components: io.flow.price.v0.enums.LevyComponent[];
398
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
399
- readonly name?: string;
400
- }
401
-
402
- interface LocalPriceDetails {
403
- readonly base: io.flow.price.v0.models.PriceDetails;
404
- readonly local: io.flow.price.v0.models.PriceDetails;
405
- readonly discount?: io.flow.price.v0.models.PriceDetail;
406
- readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
407
- }
408
-
409
- interface PriceBook {
410
- readonly id: string;
411
- readonly key: string;
412
- readonly currency: string;
413
- readonly name: string;
414
- readonly includes: io.flow.common.v0.models.IncludedLevies;
415
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
416
- }
417
-
418
- interface PriceBookForm {
419
- readonly currency: string;
420
- readonly name: string;
421
- readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
422
- readonly status?: io.flow.common.v0.enums.PriceBookStatus;
423
- }
424
-
425
- interface PriceBookItem {
426
- readonly id: string;
427
- readonly key: string;
428
- readonly price_book: io.flow.price.v0.models.PriceBookReference;
429
- readonly price: io.flow.common.v0.models.Price;
430
- readonly item_number: string;
431
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
432
- readonly item_attributes?: Record<string, string>;
433
- }
434
-
435
- interface PriceBookItemForm {
436
- readonly price_book_key: string;
437
- readonly item_number: string;
438
- readonly amount: number;
439
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
440
- readonly item_attributes?: Record<string, string>;
441
- }
442
-
443
- interface PriceBookItemQueryForm {
444
- readonly price_book_key: string;
445
- readonly item_query: string;
446
- readonly amount: number;
447
- readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
448
- readonly item_attributes?: Record<string, string>;
449
- }
450
-
451
- interface PriceBookItemSchedule {
452
- readonly starts_at: string;
453
- readonly ends_at?: string;
454
- }
455
-
456
- interface PriceBookReference {
457
- readonly id: string;
458
- readonly key: string;
459
- }
460
-
461
- interface PriceCheck {
462
- readonly display: io.flow.price.v0.models.LocalPriceDetails;
463
- readonly final: io.flow.price.v0.models.LocalPriceDetails;
464
- }
465
-
466
- interface PriceDetail {
467
- readonly key: io.flow.price.v0.enums.PriceDetailKey;
468
- readonly components: io.flow.price.v0.models.PriceDetailComponent[];
469
- readonly amount: number;
470
- readonly label: string;
471
- readonly name?: string;
472
- readonly basis?: number;
473
- }
474
-
475
- interface PriceDetailComponent {
476
- readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
477
- readonly amount: number;
478
- readonly label: string;
479
- readonly name?: string;
480
- }
481
-
482
- interface PriceDetails {
483
- readonly currency: string;
484
- readonly item_price: io.flow.price.v0.models.PriceDetail;
485
- readonly margins: io.flow.price.v0.models.PriceDetail;
486
- readonly vat: io.flow.price.v0.models.PriceDetail;
487
- readonly duty: io.flow.price.v0.models.PriceDetail;
488
- readonly rounding: io.flow.price.v0.models.PriceDetail;
489
- readonly price: io.flow.common.v0.models.Price;
490
- readonly total: io.flow.common.v0.models.Price;
491
- readonly adjustment?: io.flow.price.v0.models.PriceDetail;
492
- }
493
-
494
- interface PriceEquation {
495
- readonly contracted_rate: number;
496
- readonly rate: number;
497
- readonly pricing: io.flow.price.v0.models.Pricing;
498
- readonly base_price: number;
499
- readonly discount: number;
500
- readonly fixed_margin: number;
501
- readonly percent_margin: number;
502
- readonly insurance: number;
503
- readonly freight: number;
504
- readonly duty?: io.flow.price.v0.models.Duty;
505
- readonly tax?: io.flow.price.v0.models.Tax;
506
- readonly percent_sales_margin: number;
507
- }
508
-
509
- interface Pricing {
510
- readonly vat: io.flow.price.v0.enums.PricingLevySetting;
511
- readonly duty: io.flow.price.v0.enums.PricingLevySetting;
512
- readonly rounding?: io.flow.common.v0.models.Rounding;
513
- }
514
-
515
- interface Tax {
516
- readonly name: string;
517
- readonly rate: number;
518
- readonly components: io.flow.price.v0.enums.LevyComponent[];
519
- readonly deminimis?: io.flow.price.v0.unions.Deminimis;
520
- }
521
- }
522
-
523
- declare namespace io.flow.price.v0.unions {
524
- type Deminimis =
525
- | io.flow.price.v0.models.DeminimisSimple
526
- | io.flow.price.v0.models.DeminimisPerItem;
527
- }
528
-
529
332
  declare namespace io.flow.channel.v0.enums {
530
333
  type ChannelCurrencyCapability =
531
334
  | 'payment_authorizations'
@@ -1399,6 +1202,7 @@ declare namespace io.flow.payment.v0.enums {
1399
1202
  | 'partial_reversal_not_supported'
1400
1203
  | 'unknown';
1401
1204
  type ReversalStatus = 'pending' | 'processed' | 'failed';
1205
+ type StoredMethodUsageStep = 'initial' | 'subsequent';
1402
1206
  type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed';
1403
1207
  type ThreedsTwoChallengeViewport =
1404
1208
  | 'xxx_small'
@@ -1655,6 +1459,8 @@ declare namespace io.flow.payment.v0.models {
1655
1459
  readonly expires_at?: string;
1656
1460
  readonly base?: io.flow.common.v0.models.Money;
1657
1461
  readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
1462
+ readonly stored_method_usage_step?: io.flow.payment.v0.enums.StoredMethodUsageStep;
1463
+ readonly authorized_at?: string;
1658
1464
  }
1659
1465
 
1660
1466
  interface CardBrowserActionConfiguration {
@@ -1935,6 +1741,7 @@ declare namespace io.flow.payment.v0.models {
1935
1741
  readonly base?: io.flow.common.v0.models.Money;
1936
1742
  readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor;
1937
1743
  readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails;
1744
+ readonly authorized_at?: string;
1938
1745
  }
1939
1746
 
1940
1747
  interface OnlinePaymentAuthorizationForm {
@@ -2431,6 +2238,7 @@ declare namespace io.flow.field.validation.v0.unions {
2431
2238
 
2432
2239
  declare namespace io.flow.stripe.v0.enums {
2433
2240
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
2241
+ type ApplePayType = 'apple_pay' | 'apple_pay_later';
2434
2242
  type CancellationReason =
2435
2243
  | 'abandoned'
2436
2244
  | 'automatic'
@@ -2461,6 +2269,18 @@ declare namespace io.flow.stripe.v0.enums {
2461
2269
  | 'missing'
2462
2270
  | 'processing_error';
2463
2271
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
2272
+ type CardNetwork =
2273
+ | 'amex'
2274
+ | 'cartes_bancaires'
2275
+ | 'diners'
2276
+ | 'discover'
2277
+ | 'eftpos_au'
2278
+ | 'interac'
2279
+ | 'jcb'
2280
+ | 'mastercard'
2281
+ | 'unionpay'
2282
+ | 'visa'
2283
+ | 'unknown';
2464
2284
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
2465
2285
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
2466
2286
  type ConfirmationMethod = 'automatic' | 'manual';
@@ -2552,6 +2372,11 @@ declare namespace io.flow.stripe.v0.enums {
2552
2372
  | 'requires_confirmation'
2553
2373
  | 'requires_payment_method'
2554
2374
  | 'succeeded';
2375
+ type PaymentMethodCategoryKlarna =
2376
+ | 'pay_later'
2377
+ | 'pay_now'
2378
+ | 'pay_with_financing'
2379
+ | 'pay_in_installments';
2555
2380
  type PaymentMethodType = 'card' | 'card_present';
2556
2381
  type PaymentOutcomeType =
2557
2382
  | 'authorized'
@@ -2560,6 +2385,51 @@ declare namespace io.flow.stripe.v0.enums {
2560
2385
  | 'blocked'
2561
2386
  | 'invalid';
2562
2387
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
2388
+ type PreferredLocaleKlarna =
2389
+ | 'de-AT'
2390
+ | 'en-AT'
2391
+ | 'nl-BE'
2392
+ | 'fr-BE'
2393
+ | 'en-BE'
2394
+ | 'de-DE'
2395
+ | 'en-DE'
2396
+ | 'da-DK'
2397
+ | 'en-DK'
2398
+ | 'es-ES'
2399
+ | 'en-ES'
2400
+ | 'fi-FI'
2401
+ | 'sv-FI'
2402
+ | 'en-FI'
2403
+ | 'en-GB'
2404
+ | 'en-IE'
2405
+ | 'it-IT'
2406
+ | 'en-IT'
2407
+ | 'nl-NL'
2408
+ | 'en-NL'
2409
+ | 'nb-NO'
2410
+ | 'en-NO'
2411
+ | 'sv-SE'
2412
+ | 'en-SE'
2413
+ | 'en-US'
2414
+ | 'es-US'
2415
+ | 'fr-FR'
2416
+ | 'en-FR'
2417
+ | 'cs-CZ'
2418
+ | 'en-CZ'
2419
+ | 'el-GR'
2420
+ | 'en-GR'
2421
+ | 'en-AU'
2422
+ | 'en-NZ'
2423
+ | 'en-CA'
2424
+ | 'fr-CA'
2425
+ | 'pl-PL'
2426
+ | 'en-PL'
2427
+ | 'pt-PT'
2428
+ | 'en-PT'
2429
+ | 'de-CH'
2430
+ | 'fr-CH'
2431
+ | 'it-CH'
2432
+ | 'en-CH';
2563
2433
  type RefundFailureReason =
2564
2434
  | 'lost_or_stolen_card'
2565
2435
  | 'expired_or_canceled_card'
@@ -2601,6 +2471,22 @@ declare namespace io.flow.stripe.v0.enums {
2601
2471
  | 'recommended'
2602
2472
  | 'optional'
2603
2473
  | 'not_supported';
2474
+ type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
2475
+ type ThreeDsResult =
2476
+ | 'authenticated'
2477
+ | 'attempt_acknowledged'
2478
+ | 'exempted'
2479
+ | 'not_supported'
2480
+ | 'failed'
2481
+ | 'processing_error';
2482
+ type ThreeDsResultReason =
2483
+ | 'card_not_enrolled'
2484
+ | 'network_not_supported'
2485
+ | 'abandoned'
2486
+ | 'canceled'
2487
+ | 'rejected'
2488
+ | 'bypassed'
2489
+ | 'protocol_error';
2604
2490
  type TokenType = 'account' | 'bank_account' | 'card' | 'pii';
2605
2491
  type UseStripeSdkType = 'three_d_secure_redirect' | 'stripe_3ds2_fingerprint';
2606
2492
  }
@@ -2650,6 +2536,16 @@ declare namespace io.flow.stripe.v0.models {
2650
2536
  readonly state?: string;
2651
2537
  }
2652
2538
 
2539
+ interface ApplePay {
2540
+ readonly type: 'apple_pay';
2541
+ readonly apple_pay: io.flow.stripe.v0.models.ApplePayInformation;
2542
+ readonly dynamic_last4?: string;
2543
+ }
2544
+
2545
+ interface ApplePayInformation {
2546
+ readonly type: io.flow.stripe.v0.enums.ApplePayType;
2547
+ }
2548
+
2653
2549
  interface Card {
2654
2550
  readonly id: string;
2655
2551
  readonly object: string;
@@ -2675,6 +2571,12 @@ declare namespace io.flow.stripe.v0.models {
2675
2571
  readonly tokenization_method?: string;
2676
2572
  }
2677
2573
 
2574
+ interface CardChecks {
2575
+ readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome;
2576
+ readonly address_postal_code_check?: io.flow.stripe.v0.enums.CheckOutcome;
2577
+ readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
2578
+ }
2579
+
2678
2580
  interface CardRequest {
2679
2581
  readonly object: string;
2680
2582
  readonly exp_month: string;
@@ -2718,7 +2620,7 @@ declare namespace io.flow.stripe.v0.models {
2718
2620
  readonly payment_intent?: string;
2719
2621
  readonly calculated_statement_descriptor?: string;
2720
2622
  readonly statement_descriptor?: string;
2721
- readonly payment_method_details?: any /*object*/;
2623
+ readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2722
2624
  }
2723
2625
 
2724
2626
  interface ChargeDestination {
@@ -2768,7 +2670,7 @@ declare namespace io.flow.stripe.v0.models {
2768
2670
  readonly payment_intent?: string;
2769
2671
  readonly calculated_statement_descriptor?: string;
2770
2672
  readonly statement_descriptor?: string;
2771
- readonly payment_method_details?: any /*object*/;
2673
+ readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2772
2674
  }
2773
2675
 
2774
2676
  interface CodeVerification {
@@ -2825,12 +2727,29 @@ declare namespace io.flow.stripe.v0.models {
2825
2727
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
2826
2728
  }
2827
2729
 
2730
+ interface Masterpass {
2731
+ readonly type: 'masterpass';
2732
+ readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
2733
+ readonly dynamic_last4?: string;
2734
+ }
2735
+
2736
+ interface MasterpassInformation {
2737
+ readonly billing_address?: io.flow.stripe.v0.models.Address;
2738
+ readonly email?: string;
2739
+ readonly name?: string;
2740
+ readonly shipping_address?: io.flow.stripe.v0.models.Address;
2741
+ }
2742
+
2828
2743
  interface Metadata {
2829
2744
  readonly order_number?: string;
2830
2745
  readonly authorization_id?: string;
2831
2746
  readonly organization_id?: string;
2832
2747
  }
2833
2748
 
2749
+ interface NetworkTokenUsed {
2750
+ readonly used?: boolean;
2751
+ }
2752
+
2834
2753
  interface NextAction {
2835
2754
  readonly type: io.flow.stripe.v0.enums.NextActionType;
2836
2755
  readonly use_stripe_sdk?: any /*object*/;
@@ -3012,28 +2931,71 @@ declare namespace io.flow.stripe.v0.models {
3012
2931
  readonly phone?: string;
3013
2932
  }
3014
2933
 
3015
- interface PaymentMethodForm {
3016
- readonly type: io.flow.stripe.v0.enums.PaymentMethodType;
3017
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
3018
- readonly card?: io.flow.stripe.v0.models.SourceCardRequest;
3019
- }
3020
-
3021
- interface PaymentMethodOptions {
3022
- readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
3023
- }
3024
-
3025
- interface PaymentMethodOptionsCard {
3026
- readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2934
+ interface PaymentMethodDetailsCard {
2935
+ readonly type: 'card';
2936
+ readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
3027
2937
  }
3028
2938
 
3029
- interface PaymentOutcome {
3030
- readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
2939
+ interface PaymentMethodDetailsCardInformation {
2940
+ readonly brand?: string;
2941
+ readonly checks?: io.flow.stripe.v0.models.CardChecks;
2942
+ readonly country?: string;
2943
+ readonly exp_month?: number;
2944
+ readonly exp_year?: number;
2945
+ readonly fingerprint?: string;
2946
+ readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
2947
+ readonly installments?: io.flow.stripe.v0.models.Plan;
2948
+ readonly last4?: string;
2949
+ readonly mandate?: string;
2950
+ readonly network?: io.flow.stripe.v0.enums.CardNetwork;
2951
+ readonly network_token?: io.flow.stripe.v0.models.NetworkTokenUsed;
2952
+ readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecureCharge;
2953
+ readonly capture_before?: number;
2954
+ readonly description?: string;
2955
+ readonly iin?: string;
2956
+ readonly issuer?: string;
2957
+ readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
2958
+ readonly network_transaction_id?: string;
2959
+ }
2960
+
2961
+ interface PaymentMethodDetailsKlarna {
2962
+ readonly type: 'klarna';
2963
+ readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
2964
+ }
2965
+
2966
+ interface PaymentMethodDetailsKlarnaInformation {
2967
+ readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
2968
+ readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
2969
+ }
2970
+
2971
+ interface PaymentMethodForm {
2972
+ readonly type: io.flow.stripe.v0.enums.PaymentMethodType;
2973
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2974
+ readonly card?: io.flow.stripe.v0.models.SourceCardRequest;
2975
+ }
2976
+
2977
+ interface PaymentMethodOptions {
2978
+ readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
2979
+ }
2980
+
2981
+ interface PaymentMethodOptionsCard {
2982
+ readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2983
+ }
2984
+
2985
+ interface PaymentOutcome {
2986
+ readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
3031
2987
  readonly risk_level: string;
3032
2988
  readonly seller_message: string;
3033
2989
  readonly reason?: string;
3034
2990
  readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
3035
2991
  }
3036
2992
 
2993
+ interface Plan {
2994
+ readonly count?: number;
2995
+ readonly interval?: string;
2996
+ readonly type?: string;
2997
+ }
2998
+
3037
2999
  interface Receiver {
3038
3000
  readonly address?: string;
3039
3001
  readonly amount_charged?: number;
@@ -3255,6 +3217,13 @@ declare namespace io.flow.stripe.v0.models {
3255
3217
  readonly customer?: string;
3256
3218
  }
3257
3219
 
3220
+ interface ThreeDSecureCharge {
3221
+ readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
3222
+ readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
3223
+ readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
3224
+ readonly version?: string;
3225
+ }
3226
+
3258
3227
  interface ThreeDSecureRedirect {
3259
3228
  readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
3260
3229
  readonly stripe_js: string;
@@ -3281,6 +3250,29 @@ declare namespace io.flow.stripe.v0.models {
3281
3250
  readonly amount?: number;
3282
3251
  readonly destination?: string;
3283
3252
  }
3253
+
3254
+ interface VisaCheckout {
3255
+ readonly type: 'visa_checkout';
3256
+ readonly visa_checkout: io.flow.stripe.v0.models.VisaCheckoutInformation;
3257
+ readonly dynamic_last4?: string;
3258
+ }
3259
+
3260
+ interface VisaCheckoutInformation {
3261
+ readonly billing_address?: io.flow.stripe.v0.models.Address;
3262
+ readonly email?: string;
3263
+ readonly name?: string;
3264
+ readonly shipping_address?: io.flow.stripe.v0.models.Address;
3265
+ }
3266
+ }
3267
+
3268
+ declare namespace io.flow.stripe.v0.unions {
3269
+ type CardWallet =
3270
+ | io.flow.stripe.v0.models.Masterpass
3271
+ | io.flow.stripe.v0.models.ApplePay
3272
+ | io.flow.stripe.v0.models.VisaCheckout;
3273
+ type PaymentMethodDetails =
3274
+ | io.flow.stripe.v0.models.PaymentMethodDetailsCard
3275
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
3284
3276
  }
3285
3277
 
3286
3278
  declare namespace io.flow.customer.v0.enums {
@@ -3390,6 +3382,7 @@ declare namespace io.flow.label.v0.enums {
3390
3382
  | 'notification_requiring_crossdock'
3391
3383
  | 'autogenerated';
3392
3384
  type LabelTriggerMethod = 'autogenerated' | 'on_demand';
3385
+ type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
3393
3386
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
3394
3387
  type TrackingNumberType = 'flow' | 'carrier';
3395
3388
  }
@@ -3433,6 +3426,7 @@ declare namespace io.flow.label.v0.models {
3433
3426
  readonly order_number: string;
3434
3427
  readonly service?: string;
3435
3428
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
3429
+ readonly package_dimensions_source?: io.flow.label.v0.enums.PackageDimensionsSource;
3436
3430
  }
3437
3431
 
3438
3432
  interface DetailedShippingNotificationForm {
@@ -3479,6 +3473,9 @@ declare namespace io.flow.label.v0.models {
3479
3473
  readonly carrier_tracking_number_url: string;
3480
3474
  readonly cost_estimate_source?: io.flow.label.v0.enums.CostEstimateSource;
3481
3475
  readonly cost?: io.flow.common.v0.models.Price;
3476
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
3477
+ readonly taxes_owed?: io.flow.common.v0.models.Money;
3478
+ readonly duties_owed?: io.flow.common.v0.models.Money;
3482
3479
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
3483
3480
  readonly flow_tracking_number: string;
3484
3481
  readonly flow_tracking_number_url: string;
@@ -3490,6 +3487,7 @@ declare namespace io.flow.label.v0.models {
3490
3487
  readonly return?: io.flow.label.v0.models.ShippingLabelDocument;
3491
3488
  readonly order?: io.flow.label.v0.models.LabelOrderSummary;
3492
3489
  readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
3490
+ readonly package_dimension_source?: io.flow.label.v0.enums.PackageDimensionsSource;
3493
3491
  readonly order_identifier?: string;
3494
3492
  readonly fulfillment_key?: string;
3495
3493
  readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
@@ -3509,9 +3507,16 @@ declare namespace io.flow.label.v0.models {
3509
3507
  readonly required: boolean;
3510
3508
  }
3511
3509
 
3510
+ interface ShippingLabelHopCostItemizedEstimate {
3511
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
3512
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
3513
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
3514
+ }
3515
+
3512
3516
  interface ShippingLabelHopSummary {
3513
3517
  readonly lane: io.flow.label.v0.models.ShippingLabelLaneSummary;
3514
3518
  readonly cost: io.flow.common.v0.models.Money;
3519
+ readonly itemized_estimate?: io.flow.label.v0.models.ShippingLabelHopCostItemizedEstimate;
3515
3520
  }
3516
3521
 
3517
3522
  interface ShippingLabelLaneSummary {
@@ -3521,6 +3526,7 @@ declare namespace io.flow.label.v0.models {
3521
3526
 
3522
3527
  interface ShippingLabelPackage {
3523
3528
  readonly dimensions: io.flow.common.v0.models.Dimension;
3529
+ readonly volumetric_weight?: number;
3524
3530
  readonly items: io.flow.common.v0.models.LineItemForm[];
3525
3531
  readonly reference_number?: string;
3526
3532
  }
@@ -3528,6 +3534,11 @@ declare namespace io.flow.label.v0.models {
3528
3534
  interface ShippingLabelRatecardSummary {
3529
3535
  readonly id?: string;
3530
3536
  readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
3537
+ readonly rate_level_key?: string;
3538
+ readonly glbe_shipping_method_id?: string;
3539
+ readonly glbe_proposition_name?: string;
3540
+ readonly channel_revenue_share_percentage?: number;
3541
+ readonly shopify_grc_gid?: string;
3531
3542
  }
3532
3543
 
3533
3544
  interface ShippingLabelSummary {
@@ -4320,14 +4331,14 @@ declare namespace io.flow.external.paypal.v1.models {
4320
4331
  }
4321
4332
 
4322
4333
  interface ShippingAddress {
4323
- readonly recipient_name: string;
4334
+ readonly recipient_name?: string;
4324
4335
  readonly line1: string;
4325
4336
  readonly line2?: string;
4326
- readonly city: string;
4337
+ readonly city?: string;
4327
4338
  readonly country_code: string;
4328
- readonly postal_code: string;
4339
+ readonly postal_code?: string;
4329
4340
  readonly phone?: string;
4330
- readonly state: string;
4341
+ readonly state?: string;
4331
4342
  }
4332
4343
 
4333
4344
  interface SupportingInfo {
@@ -4897,7 +4908,7 @@ declare namespace io.flow.adyen.v0.models {
4897
4908
  readonly merchantOrderReference?: string;
4898
4909
  readonly shopperInteraction: io.flow.adyen.v0.enums.ShopperInteraction;
4899
4910
  readonly bankAccount?: io.flow.adyen.v0.models.BankAccount;
4900
- readonly additionalData?: any /*object*/;
4911
+ readonly additionalData?: io.flow.adyen.v0.models.AuthorizeRequestAdditionalData;
4901
4912
  readonly mpiData?: io.flow.adyen.v0.models.ThreeDSecureData;
4902
4913
  readonly selectedBrand?: string;
4903
4914
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
@@ -4905,6 +4916,7 @@ declare namespace io.flow.adyen.v0.models {
4905
4916
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4906
4917
  readonly mcc?: string;
4907
4918
  readonly metadata?: any /*object*/;
4919
+ readonly captureDelayHours?: number;
4908
4920
  }
4909
4921
 
4910
4922
  interface AuthorizeRequest3D {
@@ -4921,6 +4933,11 @@ declare namespace io.flow.adyen.v0.models {
4921
4933
  readonly threeDS2Result?: io.flow.adyen.v0.models.Threeds2Result;
4922
4934
  }
4923
4935
 
4936
+ interface AuthorizeRequestAdditionalData {
4937
+ readonly manualCapture?: boolean;
4938
+ readonly 'paywithgoogle.token'?: string;
4939
+ }
4940
+
4924
4941
  interface AuthorizeResponse {
4925
4942
  readonly pspReference: string;
4926
4943
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -5096,6 +5113,7 @@ declare namespace io.flow.adyen.v0.models {
5096
5113
  readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5097
5114
  readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5098
5115
  readonly storePaymentMethod?: boolean;
5116
+ readonly captureDelayHours?: number;
5099
5117
  }
5100
5118
 
5101
5119
  interface PaymentResponse {
@@ -5228,6 +5246,7 @@ declare namespace io.flow.adyen.v0.models {
5228
5246
  interface ThreedsAdditionalData {
5229
5247
  readonly executeThreeD?: boolean;
5230
5248
  readonly allow3DS2?: boolean;
5249
+ readonly manualCapture?: boolean;
5231
5250
  }
5232
5251
  }
5233
5252
 
@@ -5479,7 +5498,7 @@ declare namespace io.flow.shopify.external.v0.models {
5479
5498
  readonly starts_at: string;
5480
5499
  readonly ends_at?: string;
5481
5500
  readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
5482
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
5501
+ readonly prerequisite_shipping_price_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
5483
5502
  readonly usage_limit?: number;
5484
5503
  readonly entitled_product_ids: number[];
5485
5504
  readonly entitled_variant_ids: number[];
@@ -5489,7 +5508,7 @@ declare namespace io.flow.shopify.external.v0.models {
5489
5508
  readonly once_per_customer: boolean;
5490
5509
  readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
5491
5510
  readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
5492
- readonly prerequisite_saved_search_ids: number[];
5511
+ readonly customer_segment_prerequisite_ids?: number[];
5493
5512
  readonly prerequisite_customer_ids?: number[];
5494
5513
  readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
5495
5514
  readonly prerequisite_product_ids?: number[];
@@ -6731,6 +6750,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6731
6750
  readonly send_receipt?: boolean;
6732
6751
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
6733
6752
  readonly merchant_of_record_app_id?: number;
6753
+ readonly total_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
6734
6754
  }
6735
6755
 
6736
6756
  interface ShopifyOrderAddress {
@@ -6884,7 +6904,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6884
6904
  readonly grams?: number;
6885
6905
  readonly id: number;
6886
6906
  readonly price?: string;
6887
- readonly price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
6907
+ readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
6888
6908
  readonly product_id?: number;
6889
6909
  readonly quantity: number;
6890
6910
  readonly requires_shipping: boolean;
@@ -6893,7 +6913,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6893
6913
  readonly variant_id?: number;
6894
6914
  readonly variant_title?: string;
6895
6915
  readonly vendor?: string;
6896
- readonly name?: string;
6916
+ readonly name: string;
6897
6917
  readonly gift_card: boolean;
6898
6918
  readonly properties: io.flow.shopify.markets.v0.models.ShopifyOrderProperty[];
6899
6919
  readonly taxable: boolean;
@@ -6993,6 +7013,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6993
7013
  readonly carrier_identifier?: string;
6994
7014
  readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
6995
7015
  readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7016
+ readonly discount_allocations?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[];
6996
7017
  }
6997
7018
 
6998
7019
  interface ShopifyOrderTaxLine {
@@ -7022,8 +7043,8 @@ declare namespace io.flow.shopify.markets.v0.models {
7022
7043
  readonly user_id?: number;
7023
7044
  }
7024
7045
 
7025
- interface ShopifyOrderUpdateShippingAddressForm {
7026
- readonly order: io.flow.shopify.markets.v0.models.ShopifyUpdateShippingAddress;
7046
+ interface ShopifyOrderUpdateForm {
7047
+ readonly order: io.flow.shopify.markets.v0.models.ShopifyUpdateOrder;
7027
7048
  }
7028
7049
 
7029
7050
  interface ShopifyOrderWrapper {
@@ -7082,9 +7103,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7082
7103
  readonly gateway: string;
7083
7104
  }
7084
7105
 
7085
- interface ShopifyUpdateShippingAddress {
7106
+ interface ShopifyUpdateOrder {
7086
7107
  readonly id: number;
7087
- readonly shipping_address: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7108
+ readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7109
+ readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
7088
7110
  }
7089
7111
 
7090
7112
  interface ShopifyWebhookCustomersDataRequest {
@@ -10143,12 +10165,22 @@ declare namespace io.flow.ratecard.v0.models {
10143
10165
  readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
10144
10166
  }
10145
10167
 
10146
- interface OversizedShipmentRatecardFee {
10147
- readonly discriminator: 'oversized_shipment_ratecard_fee';
10148
- readonly weight_threshold: number;
10149
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
10150
- readonly margin?: number;
10151
- readonly amount?: number;
10168
+ interface OversizePieceSurchargeRatecardFee {
10169
+ readonly discriminator: 'oversize_piece_surcharge_ratecard_fee';
10170
+ readonly dimensional_threshold?: number;
10171
+ readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
10172
+ readonly weight_threshold?: number;
10173
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
10174
+ readonly amount: io.flow.common.v0.models.Money;
10175
+ }
10176
+
10177
+ interface OversizePieceSurchargeServiceFee {
10178
+ readonly discriminator: 'oversize_piece_surcharge_service_fee';
10179
+ readonly dimensional_threshold?: number;
10180
+ readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
10181
+ readonly weight_threshold?: number;
10182
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
10183
+ readonly amount: io.flow.common.v0.models.Money;
10152
10184
  }
10153
10185
 
10154
10186
  interface PeakSurchargeByWeightServiceFee {
@@ -10177,12 +10209,16 @@ declare namespace io.flow.ratecard.v0.models {
10177
10209
  interface Ratecard {
10178
10210
  readonly id: string;
10179
10211
  readonly number: string;
10212
+ readonly rate_level_key?: string;
10180
10213
  readonly direction: io.flow.label.v0.enums.Direction;
10181
10214
  readonly effective_at: string;
10182
10215
  readonly origination_zones: io.flow.common.v0.models.Zone[];
10183
10216
  readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
10184
10217
  readonly published_at?: string;
10185
10218
  readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
10219
+ readonly glbe_shipping_method_id?: string;
10220
+ readonly glbe_proposition_name?: string;
10221
+ readonly channel_revenue_share_percentage?: number;
10186
10222
  }
10187
10223
 
10188
10224
  interface RatecardCarrierSummary {
@@ -10253,6 +10289,10 @@ declare namespace io.flow.ratecard.v0.models {
10253
10289
  readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
10254
10290
  readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
10255
10291
  readonly ratecard_id?: string;
10292
+ readonly glbe_shipping_method_id?: string;
10293
+ readonly glbe_proposition_name?: string;
10294
+ readonly channel_revenue_share_percentage?: number;
10295
+ readonly rate_level_key?: string;
10256
10296
  readonly line_items?: io.flow.common.v0.models.LineItemForm[];
10257
10297
  }
10258
10298
 
@@ -10262,7 +10302,12 @@ declare namespace io.flow.ratecard.v0.models {
10262
10302
  readonly origination_zones: io.flow.common.v0.models.Zone[];
10263
10303
  readonly service: string;
10264
10304
  readonly number?: string;
10305
+ readonly rate_level_key?: string;
10265
10306
  readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
10307
+ readonly glbe_shipping_method_id?: string;
10308
+ readonly glbe_proposition_name?: string;
10309
+ readonly channel_revenue_share_percentage?: number;
10310
+ readonly data?: Record<string, string>;
10266
10311
  }
10267
10312
 
10268
10313
  interface RatecardLane {
@@ -10399,7 +10444,7 @@ declare namespace io.flow.ratecard.v0.unions {
10399
10444
  type RatecardFee =
10400
10445
  | io.flow.ratecard.v0.models.DdpRatecardFee
10401
10446
  | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
10402
- | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
10447
+ | io.flow.ratecard.v0.models.OversizePieceSurchargeRatecardFee
10403
10448
  | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
10404
10449
  | io.flow.ratecard.v0.models.CrossdockRatecardFee
10405
10450
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
@@ -10413,7 +10458,8 @@ declare namespace io.flow.ratecard.v0.unions {
10413
10458
  | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
10414
10459
  | io.flow.ratecard.v0.models.PeakSurchargeServiceFee
10415
10460
  | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
10416
- | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
10461
+ | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee
10462
+ | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee;
10417
10463
  }
10418
10464
 
10419
10465
  declare namespace io.flow.token.v0.models {
@@ -10551,161 +10597,540 @@ declare namespace io.flow.token.v0.unions {
10551
10597
  | io.flow.token.v0.models.PartnerTokenReference;
10552
10598
  }
10553
10599
 
10554
- declare namespace io.flow.catalog.exclusion.v0.enums {
10555
- type ExclusionRuleState = 'current' | 'deleting' | 'updating';
10556
- }
10600
+ declare namespace io.flow.catalog.exclusion.v0.enums {
10601
+ type ExclusionRuleState = 'current' | 'deleting' | 'updating';
10602
+ }
10603
+
10604
+ declare namespace io.flow.catalog.exclusion.v0.models {
10605
+ interface ExclusionRule {
10606
+ readonly id: string;
10607
+ readonly q: string;
10608
+ readonly query: io.flow.query.builder.v0.models.Query;
10609
+ readonly regions: io.flow.reference.v0.models.Region[];
10610
+ readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
10611
+ readonly description?: string;
10612
+ readonly statistics: io.flow.catalog.exclusion.v0.models.ExclusionRuleStatistic;
10613
+ }
10614
+
10615
+ interface ExclusionRuleForm {
10616
+ readonly q: string;
10617
+ readonly regions: string[];
10618
+ readonly description?: string;
10619
+ }
10620
+
10621
+ interface ExclusionRuleStatistic {
10622
+ readonly state: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState;
10623
+ readonly number_items: number;
10624
+ }
10625
+
10626
+ interface ExclusionRuleVersion {
10627
+ readonly id: string;
10628
+ readonly timestamp: string;
10629
+ readonly type: io.flow.common.v0.enums.ChangeType;
10630
+ readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
10631
+ }
10632
+ }
10633
+
10634
+ declare namespace io.flow.session.context.v0.models {
10635
+ interface Context {
10636
+ readonly id: string;
10637
+ readonly experiments: io.flow.session.context.v0.models.SessionContextExperiment[];
10638
+ }
10639
+
10640
+ interface ContextForm {
10641
+ readonly experiments: io.flow.session.context.v0.models.SessionContextExperiment[];
10642
+ }
10643
+
10644
+ interface ContextReference {
10645
+ readonly id: string;
10646
+ }
10647
+
10648
+ interface ExperimentVariant {
10649
+ readonly key: string;
10650
+ }
10651
+
10652
+ interface SessionContextExperiment {
10653
+ readonly key: string;
10654
+ readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
10655
+ }
10656
+ }
10657
+
10658
+ declare namespace io.flow.crypto.v0.enums {
10659
+ type ErrorType =
10660
+ | 'authentication_error'
10661
+ | 'invalid_request_error'
10662
+ | 'rate_limit_error';
10663
+ type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
10664
+ type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
10665
+ type RefundStatus = 'pending' | 'succeeded';
10666
+ type WebhookEventName =
10667
+ | 'payment.created'
10668
+ | 'payment.fulfilled'
10669
+ | 'payment.captured'
10670
+ | 'payment.refund_requested'
10671
+ | 'payment.refund_transferred';
10672
+ type WebhookObjectType = 'event';
10673
+ }
10674
+
10675
+ declare namespace io.flow.crypto.v0.models {
10676
+ interface CryptoEvent {
10677
+ readonly id: string;
10678
+ readonly object_type: io.flow.crypto.v0.enums.WebhookObjectType;
10679
+ readonly type: io.flow.crypto.v0.enums.WebhookEventName;
10680
+ readonly created: number;
10681
+ readonly data: any /*object*/;
10682
+ }
10683
+
10684
+ interface CryptoPaymentInfo {
10685
+ readonly publishable_key: string;
10686
+ }
10687
+
10688
+ interface Error {
10689
+ readonly type?: io.flow.crypto.v0.enums.ErrorType;
10690
+ readonly code?: string;
10691
+ readonly param?: string;
10692
+ }
10693
+
10694
+ interface ErrorResponse {
10695
+ readonly error?: io.flow.crypto.v0.models.Error;
10696
+ }
10697
+
10698
+ interface Payment {
10699
+ readonly id: string;
10700
+ readonly amount: number;
10701
+ readonly amount_refunded: number;
10702
+ readonly created: number;
10703
+ readonly crypto_currency: string;
10704
+ readonly crypto_amount: string;
10705
+ readonly currency: string;
10706
+ readonly customer_id?: string;
10707
+ readonly data_url: string;
10708
+ readonly description?: string;
10709
+ readonly live_mode: boolean;
10710
+ readonly metadata?: any /*object*/;
10711
+ readonly order_id?: string;
10712
+ readonly recipient: string;
10713
+ readonly refunded: boolean;
10714
+ readonly status: io.flow.crypto.v0.enums.PaymentStatus;
10715
+ }
10716
+
10717
+ interface PaymentRequest {
10718
+ readonly amount: number;
10719
+ readonly currency: string;
10720
+ readonly customer_id?: string;
10721
+ readonly description?: string;
10722
+ readonly metadata?: any /*object*/;
10723
+ readonly order_id?: string;
10724
+ }
10725
+
10726
+ interface Refund {
10727
+ readonly id: string;
10728
+ readonly status: io.flow.crypto.v0.enums.RefundStatus;
10729
+ readonly payment_id: string;
10730
+ readonly currency: string;
10731
+ readonly amount: number;
10732
+ readonly debit_currency: string;
10733
+ readonly debit_amount: number;
10734
+ readonly reason?: io.flow.crypto.v0.enums.ReasonType;
10735
+ readonly description?: string;
10736
+ readonly created: number;
10737
+ }
10738
+
10739
+ interface RefundRequest {
10740
+ readonly payment_id: string;
10741
+ readonly amount: number;
10742
+ readonly reason?: io.flow.crypto.v0.enums.ReasonType;
10743
+ readonly description?: string;
10744
+ }
10745
+
10746
+ interface WebhookPayment {
10747
+ readonly object: io.flow.crypto.v0.models.Payment;
10748
+ }
10749
+
10750
+ interface WebhookRefund {
10751
+ readonly object: io.flow.crypto.v0.models.Refund;
10752
+ }
10753
+ }
10754
+
10755
+ declare namespace io.flow.error.v0.enums {
10756
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
10757
+ }
10758
+
10759
+ declare namespace io.flow.error.v0.models {
10760
+ interface GenericError {
10761
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
10762
+ readonly messages: string[];
10763
+ }
10764
+ }
10765
+
10766
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
10767
+ type TrueUpSurchargeType =
10768
+ | 'fuel'
10769
+ | 'remote_area'
10770
+ | 'oversize'
10771
+ | 'duties_paid'
10772
+ | 'emergency'
10773
+ | 'peak';
10774
+ type WeightSelection = 'dead' | 'dimensional';
10775
+ }
10776
+
10777
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
10778
+ interface LabelBase {
10779
+ readonly amount: number;
10780
+ readonly weight: number;
10781
+ }
10782
+
10783
+ interface LabelDestination {
10784
+ readonly country: string;
10785
+ }
10786
+
10787
+ interface LabelInvoiceRequest {
10788
+ readonly id: string;
10789
+ readonly label: io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary;
10790
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
10791
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
10792
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
10793
+ readonly total: number;
10794
+ readonly destination: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination;
10795
+ readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
10796
+ }
10797
+
10798
+ interface LabelMetadata {
10799
+ readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
10800
+ readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
10801
+ }
10802
+
10803
+ interface LabelSurcharge {
10804
+ readonly amount: number;
10805
+ readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
10806
+ readonly detail: io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail;
10807
+ }
10808
+
10809
+ interface LabelSurchargeDetailFlat {
10810
+ readonly discriminator: 'flat';
10811
+ readonly placeholder?: string;
10812
+ }
10813
+
10814
+ interface LabelSurchargeDetailPerWeightUnit {
10815
+ readonly discriminator: 'per_weight_unit';
10816
+ readonly fee: number;
10817
+ }
10818
+
10819
+ interface LabelSurchargeDetailPercentage {
10820
+ readonly discriminator: 'percentage';
10821
+ readonly percentage: number;
10822
+ }
10823
+
10824
+ interface LabelUnits {
10825
+ readonly currency: string;
10826
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
10827
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
10828
+ }
10829
+
10830
+ interface MetadataProposition {
10831
+ readonly shipping_method: io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference;
10832
+ readonly name: string;
10833
+ }
10834
+
10835
+ interface MetadataRatecard {
10836
+ readonly id: string;
10837
+ readonly proposition: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition;
10838
+ }
10839
+
10840
+ interface MetadataWeights {
10841
+ readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
10842
+ readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
10843
+ readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
10844
+ }
10845
+
10846
+ interface ShippingMethodReference {
10847
+ readonly id: string;
10848
+ }
10849
+
10850
+ interface TrueUpLabelSummary {
10851
+ readonly id: string;
10852
+ readonly carrier_service_id: string;
10853
+ readonly carrier_tracking_number: string;
10854
+ readonly flow_tracking_number: string;
10855
+ readonly created_at: string;
10856
+ }
10857
+
10858
+ interface WeightsDead {
10859
+ readonly weight: number;
10860
+ }
10861
+
10862
+ interface WeightsDimensional {
10863
+ readonly weight: number;
10864
+ readonly length: number;
10865
+ readonly width: number;
10866
+ readonly height: number;
10867
+ }
10868
+ }
10869
+
10870
+ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.unions {
10871
+ type LabelSurchargeDetail =
10872
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat
10873
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage
10874
+ | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit;
10875
+ }
10876
+
10877
+ declare namespace io.flow.shopify.merchant.config.v0.models {
10878
+ interface Company {
10879
+ readonly discriminator: 'company';
10880
+ readonly legal_name: string;
10881
+ readonly incorporation_country: string;
10882
+ readonly incorporation_jurisdiction: string;
10883
+ readonly tax_registration_number: string;
10884
+ }
10885
+
10886
+ interface CountryOfOrigin {
10887
+ readonly country: io.flow.reference.v0.models.Country;
10888
+ }
10889
+
10890
+ interface CountryOfOriginForm {
10891
+ readonly country: string;
10892
+ }
10893
+
10894
+ interface Individual {
10895
+ readonly discriminator: 'individual';
10896
+ readonly legal_name: string;
10897
+ readonly tax_registration_number?: string;
10898
+ readonly date_of_birth: string;
10899
+ }
10900
+
10901
+ interface KnowYourBusinessUsa {
10902
+ readonly discriminator: 'know_your_business_usa';
10903
+ readonly id: string;
10904
+ readonly organization_id: string;
10905
+ readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity;
10906
+ readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
10907
+ readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
10908
+ readonly ultimate_beneficiary_owner: io.flow.shopify.merchant.config.v0.models.Individual;
10909
+ readonly business_url: string;
10910
+ readonly business_address: io.flow.common.v0.models.Address;
10911
+ }
10912
+
10913
+ interface KnowYourBusinessUsaForm {
10914
+ readonly discriminator: 'know_your_business_usa_form';
10915
+ readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity;
10916
+ readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
10917
+ readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
10918
+ readonly ultimate_beneficiary_owner: io.flow.shopify.merchant.config.v0.models.Individual;
10919
+ readonly business_url: string;
10920
+ readonly business_address: io.flow.common.v0.models.Address;
10921
+ }
10922
+
10923
+ interface PackageDimensions {
10924
+ readonly dimensions: io.flow.common.v0.models.Dimension[];
10925
+ }
10926
+
10927
+ interface PackageDimensionsForm {
10928
+ readonly dimensions: io.flow.common.v0.models.Dimension[];
10929
+ }
10930
+ }
10931
+
10932
+ declare namespace io.flow.shopify.merchant.config.v0.unions {
10933
+ type Entity =
10934
+ | io.flow.shopify.merchant.config.v0.models.Company
10935
+ | io.flow.shopify.merchant.config.v0.models.Individual;
10936
+ type KnowYourBusiness =
10937
+ io.flow.shopify.merchant.config.v0.models.KnowYourBusinessUsa;
10938
+ type KnowYourBusinessForm =
10939
+ io.flow.shopify.merchant.config.v0.models.KnowYourBusinessUsaForm;
10940
+ }
10941
+
10942
+ declare namespace io.flow.price.v0.enums {
10943
+ type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
10944
+ type LevyStrategy = 'minimum' | 'average' | 'maximum';
10945
+ type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
10946
+ type PriceDetailComponentKey =
10947
+ | 'base_price'
10948
+ | 'discount'
10949
+ | 'currency_margin'
10950
+ | 'percent_item_margin'
10951
+ | 'fixed_item_margin'
10952
+ | 'duties_item_price'
10953
+ | 'duties_added_margin'
10954
+ | 'duties_rounding'
10955
+ | 'duties_deminimis'
10956
+ | 'vat_item_price'
10957
+ | 'vat_added_margin'
10958
+ | 'vat_rounding'
10959
+ | 'vat_duties_item_price'
10960
+ | 'vat_duties_added_margin'
10961
+ | 'vat_duties_rounding'
10962
+ | 'vat_deminimis'
10963
+ | 'item_price_percent_sales_margin'
10964
+ | 'margins_percent_sales_margin'
10965
+ | 'rounding_percent_sales_margin'
10966
+ | 'vat_percent_sales_margin'
10967
+ | 'vat_duty_percent_sales_margin'
10968
+ | 'duty_percent_sales_margin';
10969
+ type PriceDetailKey =
10970
+ | 'item_price'
10971
+ | 'margins'
10972
+ | 'vat'
10973
+ | 'duty'
10974
+ | 'rounding'
10975
+ | 'adjustment';
10976
+ type PricingLevySetting = 'included' | 'displayed' | 'ignored';
10977
+ }
10978
+
10979
+ declare namespace io.flow.price.v0.models {
10980
+ interface CurrencyFormat {
10981
+ readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
10982
+ readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
10983
+ }
10557
10984
 
10558
- declare namespace io.flow.catalog.exclusion.v0.models {
10559
- interface ExclusionRule {
10560
- readonly id: string;
10561
- readonly q: string;
10562
- readonly query: io.flow.query.builder.v0.models.Query;
10563
- readonly regions: io.flow.reference.v0.models.Region[];
10564
- readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
10565
- readonly description?: string;
10566
- readonly statistics: io.flow.catalog.exclusion.v0.models.ExclusionRuleStatistic;
10985
+ interface DeminimisPerItem {
10986
+ readonly discriminator: 'deminimis_per_item';
10987
+ readonly currency: string;
10988
+ readonly minimum?: number;
10989
+ readonly maximum?: number;
10567
10990
  }
10568
10991
 
10569
- interface ExclusionRuleForm {
10570
- readonly q: string;
10571
- readonly regions: string[];
10572
- readonly description?: string;
10992
+ interface DeminimisSimple {
10993
+ readonly discriminator: 'deminimis_simple';
10994
+ readonly value?: number;
10995
+ readonly currency: string;
10996
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
10997
+ readonly minimum?: number;
10573
10998
  }
10574
10999
 
10575
- interface ExclusionRuleStatistic {
10576
- readonly state: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState;
10577
- readonly number_items: number;
11000
+ interface Duty {
11001
+ readonly rate: number;
11002
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
11003
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
11004
+ readonly name?: string;
10578
11005
  }
10579
11006
 
10580
- interface ExclusionRuleVersion {
10581
- readonly id: string;
10582
- readonly timestamp: string;
10583
- readonly type: io.flow.common.v0.enums.ChangeType;
10584
- readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule;
11007
+ interface LocalPriceDetails {
11008
+ readonly base: io.flow.price.v0.models.PriceDetails;
11009
+ readonly local: io.flow.price.v0.models.PriceDetails;
11010
+ readonly discount?: io.flow.price.v0.models.PriceDetail;
11011
+ readonly local_before_discount?: io.flow.price.v0.models.PriceDetail;
10585
11012
  }
10586
- }
10587
11013
 
10588
- declare namespace io.flow.session.context.v0.models {
10589
- interface Context {
11014
+ interface PriceBook {
10590
11015
  readonly id: string;
10591
- readonly experiments: io.flow.session.context.v0.models.SessionContextExperiment[];
11016
+ readonly key: string;
11017
+ readonly currency: string;
11018
+ readonly name: string;
11019
+ readonly includes: io.flow.common.v0.models.IncludedLevies;
11020
+ readonly status: io.flow.common.v0.enums.PriceBookStatus;
10592
11021
  }
10593
11022
 
10594
- interface ContextForm {
10595
- readonly experiments: io.flow.session.context.v0.models.SessionContextExperiment[];
11023
+ interface PriceBookForm {
11024
+ readonly currency: string;
11025
+ readonly name: string;
11026
+ readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
11027
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
10596
11028
  }
10597
11029
 
10598
- interface ContextReference {
11030
+ interface PriceBookItem {
10599
11031
  readonly id: string;
10600
- }
10601
-
10602
- interface ExperimentVariant {
10603
11032
  readonly key: string;
11033
+ readonly price_book: io.flow.price.v0.models.PriceBookReference;
11034
+ readonly price: io.flow.common.v0.models.Price;
11035
+ readonly item_number: string;
11036
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
11037
+ readonly item_attributes?: Record<string, string>;
10604
11038
  }
10605
11039
 
10606
- interface SessionContextExperiment {
10607
- readonly key: string;
10608
- readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
11040
+ interface PriceBookItemForm {
11041
+ readonly price_book_key: string;
11042
+ readonly item_number: string;
11043
+ readonly amount: number;
11044
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
11045
+ readonly item_attributes?: Record<string, string>;
10609
11046
  }
10610
- }
10611
-
10612
- declare namespace io.flow.crypto.v0.enums {
10613
- type ErrorType =
10614
- | 'authentication_error'
10615
- | 'invalid_request_error'
10616
- | 'rate_limit_error';
10617
- type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
10618
- type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
10619
- type RefundStatus = 'pending' | 'succeeded';
10620
- type WebhookEventName =
10621
- | 'payment.created'
10622
- | 'payment.fulfilled'
10623
- | 'payment.captured'
10624
- | 'payment.refund_requested'
10625
- | 'payment.refund_transferred';
10626
- type WebhookObjectType = 'event';
10627
- }
10628
11047
 
10629
- declare namespace io.flow.crypto.v0.models {
10630
- interface CryptoEvent {
10631
- readonly id: string;
10632
- readonly object_type: io.flow.crypto.v0.enums.WebhookObjectType;
10633
- readonly type: io.flow.crypto.v0.enums.WebhookEventName;
10634
- readonly created: number;
10635
- readonly data: any /*object*/;
11048
+ interface PriceBookItemQueryForm {
11049
+ readonly price_book_key: string;
11050
+ readonly item_query: string;
11051
+ readonly amount: number;
11052
+ readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
11053
+ readonly item_attributes?: Record<string, string>;
10636
11054
  }
10637
11055
 
10638
- interface CryptoPaymentInfo {
10639
- readonly publishable_key: string;
11056
+ interface PriceBookItemSchedule {
11057
+ readonly starts_at: string;
11058
+ readonly ends_at?: string;
10640
11059
  }
10641
11060
 
10642
- interface Error {
10643
- readonly type?: io.flow.crypto.v0.enums.ErrorType;
10644
- readonly code?: string;
10645
- readonly param?: string;
11061
+ interface PriceBookReference {
11062
+ readonly id: string;
11063
+ readonly key: string;
10646
11064
  }
10647
11065
 
10648
- interface ErrorResponse {
10649
- readonly error?: io.flow.crypto.v0.models.Error;
11066
+ interface PriceCheck {
11067
+ readonly display: io.flow.price.v0.models.LocalPriceDetails;
11068
+ readonly final: io.flow.price.v0.models.LocalPriceDetails;
10650
11069
  }
10651
11070
 
10652
- interface Payment {
10653
- readonly id: string;
11071
+ interface PriceDetail {
11072
+ readonly key: io.flow.price.v0.enums.PriceDetailKey;
11073
+ readonly components: io.flow.price.v0.models.PriceDetailComponent[];
10654
11074
  readonly amount: number;
10655
- readonly amount_refunded: number;
10656
- readonly created: number;
10657
- readonly crypto_currency: string;
10658
- readonly crypto_amount: string;
10659
- readonly currency: string;
10660
- readonly customer_id?: string;
10661
- readonly data_url: string;
10662
- readonly description?: string;
10663
- readonly live_mode: boolean;
10664
- readonly metadata?: any /*object*/;
10665
- readonly order_id?: string;
10666
- readonly recipient: string;
10667
- readonly refunded: boolean;
10668
- readonly status: io.flow.crypto.v0.enums.PaymentStatus;
11075
+ readonly label: string;
11076
+ readonly name?: string;
11077
+ readonly basis?: number;
10669
11078
  }
10670
11079
 
10671
- interface PaymentRequest {
11080
+ interface PriceDetailComponent {
11081
+ readonly key: io.flow.price.v0.enums.PriceDetailComponentKey;
10672
11082
  readonly amount: number;
10673
- readonly currency: string;
10674
- readonly customer_id?: string;
10675
- readonly description?: string;
10676
- readonly metadata?: any /*object*/;
10677
- readonly order_id?: string;
11083
+ readonly label: string;
11084
+ readonly name?: string;
10678
11085
  }
10679
11086
 
10680
- interface Refund {
10681
- readonly id: string;
10682
- readonly status: io.flow.crypto.v0.enums.RefundStatus;
10683
- readonly payment_id: string;
11087
+ interface PriceDetails {
10684
11088
  readonly currency: string;
10685
- readonly amount: number;
10686
- readonly debit_currency: string;
10687
- readonly debit_amount: number;
10688
- readonly reason?: io.flow.crypto.v0.enums.ReasonType;
10689
- readonly description?: string;
10690
- readonly created: number;
11089
+ readonly item_price: io.flow.price.v0.models.PriceDetail;
11090
+ readonly margins: io.flow.price.v0.models.PriceDetail;
11091
+ readonly vat: io.flow.price.v0.models.PriceDetail;
11092
+ readonly duty: io.flow.price.v0.models.PriceDetail;
11093
+ readonly rounding: io.flow.price.v0.models.PriceDetail;
11094
+ readonly price: io.flow.common.v0.models.Price;
11095
+ readonly total: io.flow.common.v0.models.Price;
11096
+ readonly adjustment?: io.flow.price.v0.models.PriceDetail;
10691
11097
  }
10692
11098
 
10693
- interface RefundRequest {
10694
- readonly payment_id: string;
10695
- readonly amount: number;
10696
- readonly reason?: io.flow.crypto.v0.enums.ReasonType;
10697
- readonly description?: string;
11099
+ interface PriceEquation {
11100
+ readonly contracted_rate: number;
11101
+ readonly rate: number;
11102
+ readonly pricing: io.flow.price.v0.models.Pricing;
11103
+ readonly base_price: number;
11104
+ readonly discount: number;
11105
+ readonly fixed_margin: number;
11106
+ readonly percent_margin: number;
11107
+ readonly insurance: number;
11108
+ readonly freight: number;
11109
+ readonly duty?: io.flow.price.v0.models.Duty;
11110
+ readonly tax?: io.flow.price.v0.models.Tax;
11111
+ readonly percent_sales_margin: number;
10698
11112
  }
10699
11113
 
10700
- interface WebhookPayment {
10701
- readonly object: io.flow.crypto.v0.models.Payment;
11114
+ interface Pricing {
11115
+ readonly vat: io.flow.price.v0.enums.PricingLevySetting;
11116
+ readonly duty: io.flow.price.v0.enums.PricingLevySetting;
11117
+ readonly rounding?: io.flow.common.v0.models.Rounding;
10702
11118
  }
10703
11119
 
10704
- interface WebhookRefund {
10705
- readonly object: io.flow.crypto.v0.models.Refund;
11120
+ interface Tax {
11121
+ readonly name: string;
11122
+ readonly rate: number;
11123
+ readonly components: io.flow.price.v0.enums.LevyComponent[];
11124
+ readonly deminimis?: io.flow.price.v0.unions.Deminimis;
10706
11125
  }
10707
11126
  }
10708
11127
 
11128
+ declare namespace io.flow.price.v0.unions {
11129
+ type Deminimis =
11130
+ | io.flow.price.v0.models.DeminimisSimple
11131
+ | io.flow.price.v0.models.DeminimisPerItem;
11132
+ }
11133
+
10709
11134
  declare namespace io.flow.tracking.v0.enums {
10710
11135
  type TrackingStatus =
10711
11136
  | 'label_created'
@@ -10735,6 +11160,7 @@ declare namespace io.flow.tracking.v0.models {
10735
11160
  readonly label?: io.flow.label.v0.models.LabelReference;
10736
11161
  readonly in_transit: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
10737
11162
  readonly delivered?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
11163
+ readonly rejected?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
10738
11164
  }
10739
11165
 
10740
11166
  interface LabelTrackingSummaryUpdate {
@@ -10946,7 +11372,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10946
11372
  }
10947
11373
 
10948
11374
  interface OperationsContact {
10949
- readonly full_name?: string;
10950
11375
  readonly company?: string;
10951
11376
  readonly email?: string;
10952
11377
  readonly phone?: string;
@@ -10965,7 +11390,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10965
11390
  readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
10966
11391
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10967
11392
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
10968
- readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10969
11393
  readonly beneficiary?: string;
10970
11394
  readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
10971
11395
  readonly business_url?: string;
@@ -10975,31 +11399,30 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10975
11399
  readonly chargeback_percentage?: number;
10976
11400
  readonly bank_account_number?: string;
10977
11401
  readonly aba_routing_transit_number?: string;
10978
- readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
10979
11402
  readonly other_trade_sector?: string;
10980
11403
  readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
11404
+ readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
10981
11405
  readonly average_order_weight?: number;
10982
11406
  readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
10983
11407
  readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
10984
- readonly dangerous_goods?: boolean;
10985
11408
  readonly default_country_of_origin?: string;
10986
11409
  readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference;
10987
11410
  readonly rate_card: string;
10988
11411
  readonly created_at: string;
10989
11412
  readonly activated_at?: string;
10990
11413
  readonly status_updated_at?: string;
10991
- readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
10992
11414
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10993
11415
  readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
10994
11416
  readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
10995
11417
  readonly average_order_value?: io.flow.common.v0.models.Money;
11418
+ readonly glbe_merchant_guid?: string;
11419
+ readonly mcc_codes?: number[];
10996
11420
  }
10997
11421
 
10998
11422
  interface ShopifyMerchantApplicationForm {
10999
11423
  readonly discriminator: 'shopify_merchant_application_form';
11000
11424
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
11001
11425
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
11002
- readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
11003
11426
  readonly beneficiary?: string;
11004
11427
  readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
11005
11428
  readonly business_url?: string;
@@ -11009,23 +11432,22 @@ declare namespace io.flow.merchant.onboarding.v0.models {
11009
11432
  readonly chargeback_percentage?: number;
11010
11433
  readonly bank_account_number?: string;
11011
11434
  readonly aba_routing_transit_number?: string;
11012
- readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
11013
11435
  readonly other_trade_sector?: string;
11014
11436
  readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
11437
+ readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
11015
11438
  readonly average_order_weight?: number;
11016
11439
  readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
11017
11440
  readonly monthly_average_volume_amount?: number;
11018
11441
  readonly monthly_average_volume_currency?: string;
11019
11442
  readonly monthly_average_number_transactions?: number;
11020
- readonly dangerous_goods?: boolean;
11021
11443
  readonly default_country_of_origin?: string;
11022
11444
  readonly ratecard_id?: string;
11023
11445
  readonly rate_card: string;
11024
- readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
11025
11446
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
11026
11447
  readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
11027
11448
  readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
11028
11449
  readonly average_order_value?: io.flow.common.v0.models.Money;
11450
+ readonly mcc_codes?: number[];
11029
11451
  }
11030
11452
 
11031
11453
  interface ShopifyMerchantApplicationPutForm {
@@ -11775,6 +12197,13 @@ declare namespace io.flow.billing.v0.enums {
11775
12197
  | 'account_closed'
11776
12198
  | 'could_not_process';
11777
12199
  type StatementAttachmentType = 'csv';
12200
+ type TransactionPayoutPendingReason =
12201
+ | 'waiting_for_full_refund'
12202
+ | 'waiting_for_fulfillment'
12203
+ | 'waiting_for_in_transit'
12204
+ | 'waiting_for_next_payout_date'
12205
+ | 'external_fulfillment_missing_tracking_info'
12206
+ | 'waiting_for_positive_account_balance';
11778
12207
  type TransactionSource =
11779
12208
  | 'capture'
11780
12209
  | 'refund'
@@ -11886,6 +12315,7 @@ declare namespace io.flow.billing.v0.models {
11886
12315
  interface ChannelTransaction {
11887
12316
  readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
11888
12317
  readonly id: string;
12318
+ readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
11889
12319
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
11890
12320
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
11891
12321
  readonly currency: string;
@@ -11901,6 +12331,12 @@ declare namespace io.flow.billing.v0.models {
11901
12331
  readonly updated_at: string;
11902
12332
  }
11903
12333
 
12334
+ interface ChannelTransactionPayout {
12335
+ readonly transaction: io.flow.billing.v0.models.TransactionReference;
12336
+ readonly waiting_for?: io.flow.billing.v0.enums.TransactionPayoutPendingReason;
12337
+ readonly payout?: io.flow.billing.v0.models.PayoutReference;
12338
+ }
12339
+
11904
12340
  interface DefaultBankAccountForm {
11905
12341
  readonly bank_account_id: string;
11906
12342
  }
@@ -11933,6 +12369,12 @@ declare namespace io.flow.billing.v0.models {
11933
12369
  readonly updated_at: string;
11934
12370
  }
11935
12371
 
12372
+ interface OrganizationTransactionPayout {
12373
+ readonly transaction: io.flow.billing.v0.models.TransactionReference;
12374
+ readonly waiting_for?: io.flow.billing.v0.enums.TransactionPayoutPendingReason;
12375
+ readonly payout?: io.flow.billing.v0.models.PayoutReference;
12376
+ }
12377
+
11936
12378
  interface ParentTransactionSummary {
11937
12379
  readonly id: string;
11938
12380
  readonly source: io.flow.billing.v0.enums.TransactionSource;
@@ -11943,6 +12385,10 @@ declare namespace io.flow.billing.v0.models {
11943
12385
  readonly url: string;
11944
12386
  }
11945
12387
 
12388
+ interface PayoutReference {
12389
+ readonly id: string;
12390
+ }
12391
+
11946
12392
  interface PayoutStatusFailed {
11947
12393
  readonly code: 'failed';
11948
12394
  readonly timestamp: string;
@@ -11961,6 +12407,7 @@ declare namespace io.flow.billing.v0.models {
11961
12407
 
11962
12408
  interface PayoutTransaction {
11963
12409
  readonly id: string;
12410
+ readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
11964
12411
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
11965
12412
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
11966
12413
  readonly currency: string;
@@ -12000,6 +12447,7 @@ declare namespace io.flow.billing.v0.models {
12000
12447
  interface Transaction {
12001
12448
  readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
12002
12449
  readonly id: string;
12450
+ readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
12003
12451
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
12004
12452
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
12005
12453
  readonly currency: string;
@@ -12015,6 +12463,15 @@ declare namespace io.flow.billing.v0.models {
12015
12463
  readonly updated_at: string;
12016
12464
  }
12017
12465
 
12466
+ interface TransactionMetadataShippingLabel {
12467
+ readonly discriminator: 'shipping_label';
12468
+ readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
12469
+ }
12470
+
12471
+ interface TransactionReference {
12472
+ readonly id: string;
12473
+ }
12474
+
12018
12475
  interface WithholdingDeduction {
12019
12476
  readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
12020
12477
  readonly amount: number;
@@ -12033,6 +12490,8 @@ declare namespace io.flow.billing.v0.unions {
12033
12490
  type Settlement =
12034
12491
  | io.flow.billing.v0.models.SettlementNoPayout
12035
12492
  | io.flow.billing.v0.models.SettlementPayout;
12493
+ type TransactionMetadata =
12494
+ io.flow.billing.v0.models.TransactionMetadataShippingLabel;
12036
12495
  }
12037
12496
 
12038
12497
  declare namespace io.flow.harmonization.v0.enums {
@@ -12487,6 +12946,10 @@ declare namespace io.flow.fulfillment.v0.enums {
12487
12946
  | 'cold_storage'
12488
12947
  | 'hazardous'
12489
12948
  | 'perishable';
12949
+ type PreferredServiceSelectionStrategy =
12950
+ | 'calculated_rate'
12951
+ | 'flat_rate'
12952
+ | 'custom_rate';
12490
12953
  type QuoteErrorCode =
12491
12954
  | 'generic_error'
12492
12955
  | 'items_not_available'
@@ -12799,6 +13262,12 @@ declare namespace io.flow.fulfillment.v0.models {
12799
13262
  readonly total?: io.flow.catalog.v0.models.LocalizedTotal;
12800
13263
  readonly goods_supply?: io.flow.common.v0.enums.GoodsSupply;
12801
13264
  readonly merchant_of_record_flow_entity?: io.flow.merchant.of.record.v0.enums.FlowEntity;
13265
+ readonly preferred_service?: io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService;
13266
+ }
13267
+
13268
+ interface PhysicalDeliveryPreferredService {
13269
+ readonly id: string;
13270
+ readonly selection_stratey: io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy;
12802
13271
  }
12803
13272
 
12804
13273
  interface PriceWithBaseAndDetails {
@@ -13336,6 +13805,10 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13336
13805
  readonly placeholder?: boolean;
13337
13806
  }
13338
13807
 
13808
+ interface DeactivationPutForm {
13809
+ readonly reason: string;
13810
+ }
13811
+
13339
13812
  interface InComplianceReview {
13340
13813
  readonly discriminator: 'in_compliance_review';
13341
13814
  readonly placeholder?: boolean;
@@ -13346,6 +13819,11 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13346
13819
  readonly placeholder?: boolean;
13347
13820
  }
13348
13821
 
13822
+ interface MerchantDeactivated {
13823
+ readonly discriminator: 'merchant_deactivated';
13824
+ readonly reason: string;
13825
+ }
13826
+
13349
13827
  interface MerchantRejected {
13350
13828
  readonly discriminator: 'merchant_rejected';
13351
13829
  readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason;
@@ -13367,6 +13845,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13367
13845
  readonly time_blocked?: number;
13368
13846
  readonly blocked_since?: string;
13369
13847
  readonly completed_at?: string;
13848
+ readonly onboarding_started_at?: string;
13370
13849
  }
13371
13850
 
13372
13851
  interface SetupBlocked {
@@ -13392,7 +13871,8 @@ declare namespace io.flow.organization.onboarding.state.v0.unions {
13392
13871
  | io.flow.organization.onboarding.state.v0.models.MerchantRejected
13393
13872
  | io.flow.organization.onboarding.state.v0.models.SetupBlocked
13394
13873
  | io.flow.organization.onboarding.state.v0.models.SetupCompleted
13395
- | io.flow.organization.onboarding.state.v0.models.MerchantActivated;
13874
+ | io.flow.organization.onboarding.state.v0.models.MerchantActivated
13875
+ | io.flow.organization.onboarding.state.v0.models.MerchantDeactivated;
13396
13876
  }
13397
13877
 
13398
13878
  declare namespace io.flow.fraud.v0.enums {
@@ -13819,9 +14299,18 @@ declare namespace io.flow.internal.v0.enums {
13819
14299
  | 'adjustment_transactions_count'
13820
14300
  | 'adjustment_transactions_total'
13821
14301
  | 'capture_transactions_count'
14302
+ | 'capture_transactions_ignored_fraud_count'
14303
+ | 'capture_transactions_ignored_fully_refunded_count'
14304
+ | 'capture_transactions_ignored_other_count'
13822
14305
  | 'capture_transactions_total'
13823
- | 'channel_transactions_count'
13824
- | 'channel_transactions_total'
14306
+ | 'channel_transactions_capture_count'
14307
+ | 'channel_transactions_capture_total'
14308
+ | 'channel_transactions_adjustment_count'
14309
+ | 'channel_transactions_adjustment_total'
14310
+ | 'channel_transactions_reversal_count'
14311
+ | 'channel_transactions_reversal_total'
14312
+ | 'channel_transactions_other_count'
14313
+ | 'channel_transactions_other_total'
13825
14314
  | 'channel_billed_transactions_count'
13826
14315
  | 'channel_billed_transactions_total'
13827
14316
  | 'credit_payment_transactions_count'
@@ -13831,14 +14320,19 @@ declare namespace io.flow.internal.v0.enums {
13831
14320
  | 'fully_subsidized_order_transactions_count'
13832
14321
  | 'fully_subsidized_order_transactions_total'
13833
14322
  | 'billable_label_transactions_count'
14323
+ | 'billable_label_transactions_count_for_unique_orders'
13834
14324
  | 'billable_label_transactions_total'
13835
14325
  | 'revenue_share_label_transactions_count'
14326
+ | 'revenue_share_label_transactions_count_for_unique_orders'
13836
14327
  | 'revenue_share_label_transactions_total'
13837
14328
  | 'manual_transactions_count'
13838
14329
  | 'manual_transactions_total'
13839
14330
  | 'order_transactions_count'
13840
14331
  | 'order_transactions_total'
13841
14332
  | 'refund_transactions_count'
14333
+ | 'refund_transactions_ignored_fraud_count'
14334
+ | 'refund_transactions_ignored_fully_refunded_count'
14335
+ | 'refund_transactions_ignored_other_count'
13842
14336
  | 'refund_transactions_total'
13843
14337
  | 'reversal_order_cancellations_transactions_count'
13844
14338
  | 'reversal_order_cancellations_transactions_total'
@@ -13849,23 +14343,34 @@ declare namespace io.flow.internal.v0.enums {
13849
14343
  | 'transfer_transactions_count'
13850
14344
  | 'transfer_transactions_total'
13851
14345
  | 'fulfillments_count'
13852
- | 'fulfillments_total'
14346
+ | 'fulfilled_via_replacement_order_count'
14347
+ | 'percentage_orders_with_fulfillment_proof_2_weeks'
14348
+ | 'percentage_orders_with_fulfillment_proof_4_weeks'
14349
+ | 'percentage_orders_with_fulfillment_proof_6_weeks'
14350
+ | 'percentage_orders_with_fulfillment_proof_all'
13853
14351
  | 'shipping_notifications_count'
13854
14352
  | 'queued_capture_unprocessed_count'
13855
14353
  | 'queued_capture_deletion_unprocessed_count'
13856
14354
  | 'queued_channel_transaction_unprocessed_count'
13857
14355
  | 'queued_channel_organization_unprocessed_count'
13858
14356
  | 'queued_consumer_invoice_unprocessed_count'
14357
+ | 'queued_fulfillment_external_unprocessed_count'
14358
+ | 'queued_fulfillment_in_transit_unprocessed_count'
14359
+ | 'queued_fulfillment_shipping_notification_unprocessed_count'
14360
+ | 'queued_label_invoice_request_unprocessed_count'
13859
14361
  | 'queued_label_tracking_summary_unprocessed_count'
14362
+ | 'queued_label_origin_unprocessed_count'
13860
14363
  | 'queued_order_unprocessed_count'
13861
14364
  | 'queued_order_identifier_unprocessed_count'
13862
14365
  | 'queued_refund_unprocessed_count'
13863
14366
  | 'queued_refund_deletion_unprocessed_count'
14367
+ | 'queued_refund_over_capture_unprocessed_count'
14368
+ | 'queued_sales_record_unprocessed_count'
13864
14369
  | 'queued_statement_batch_unprocessed_count'
13865
- | 'queued_statement_batch_email_unprocessed_count'
13866
14370
  | 'queued_statement_email_unprocessed_count'
13867
14371
  | 'queued_statement_summary_email_unprocessed_count'
13868
- | 'shipping_notifications_total'
14372
+ | 'queued_record_snooze_count'
14373
+ | 'queued_record_snooze_ending_in_48_hours_count'
13869
14374
  | 'statements_no_payout_count'
13870
14375
  | 'statements_no_payout_total'
13871
14376
  | 'statements_pending_payout_count'
@@ -13877,7 +14382,10 @@ declare namespace io.flow.internal.v0.enums {
13877
14382
  | 'payouts_failed_count'
13878
14383
  | 'payouts_failed_total'
13879
14384
  | 'pending_payouts_max_age'
13880
- | 'average_payout_amount';
14385
+ | 'average_payout_amount'
14386
+ | 'orders_with_payments_count'
14387
+ | 'orders_without_payments_count'
14388
+ | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
13881
14389
  type BillingStatementAttachmentKey =
13882
14390
  | 'invoice'
13883
14391
  | 'statement'
@@ -13893,7 +14401,7 @@ declare namespace io.flow.internal.v0.enums {
13893
14401
  | 'order_service'
13894
14402
  | 'tax'
13895
14403
  | 'all';
13896
- type BillingStatementBatchFileKey = 'archive' | 'summary';
14404
+ type BillingStatementBatchFileKey = 'summary';
13897
14405
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
13898
14406
  type BillingTransactionType =
13899
14407
  | 'manual'
@@ -13931,6 +14439,7 @@ declare namespace io.flow.internal.v0.enums {
13931
14439
  | 'dtce_with_deminimis'
13932
14440
  | 'dtce_merged_with_tax';
13933
14441
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
14442
+ type CarrierValidationStatus = 'success' | 'error';
13934
14443
  type CatalogImportType =
13935
14444
  | 'catalog_items'
13936
14445
  | 'item_form_overlays'
@@ -13941,7 +14450,14 @@ declare namespace io.flow.internal.v0.enums {
13941
14450
  | 'adjustment'
13942
14451
  | 'reversal'
13943
14452
  | 'channel_initiated';
13944
- type ChannelOrderAcceptanceErrorAction = 'auto_reject';
14453
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
14454
+ type ChannelOrderAcceptanceNextActionFrom =
14455
+ | 'cx_team'
14456
+ | 'core_team'
14457
+ | 'core_team_investigate'
14458
+ | 'mex_team'
14459
+ | 'payments_team'
14460
+ | 'tlc_team';
13945
14461
  type ChannelOrderAcceptanceRejectionReason =
13946
14462
  | 'unsupported_origin_country'
13947
14463
  | 'unsupported_destination_country'
@@ -13956,7 +14472,8 @@ declare namespace io.flow.internal.v0.enums {
13956
14472
  | 'shipping_estimation_failed'
13957
14473
  | 'payment_authorization_failed'
13958
14474
  | 'unsupported_subsidized_order'
13959
- | 'unsupported_virtual_goods';
14475
+ | 'unsupported_virtual_goods'
14476
+ | 'non_matching_currencies';
13960
14477
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13961
14478
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13962
14479
  type ChargebackPaymentStatus = 'captured' | 'refunded';
@@ -14265,6 +14782,7 @@ declare namespace io.flow.internal.v0.enums {
14265
14782
  type DisputeLiability = 'flow' | 'organization';
14266
14783
  type DisputeProcessor = 'adyen' | 'paypal';
14267
14784
  type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
14785
+ type DisputeTransactionType = 'adjustment' | 'dispute';
14268
14786
  type DisputeType = 'chargeback';
14269
14787
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
14270
14788
  type DutyExemptItemTypes =
@@ -14300,6 +14818,8 @@ declare namespace io.flow.internal.v0.enums {
14300
14818
  | 'adyen_capture_upserted'
14301
14819
  | 'adyen_refund_deleted'
14302
14820
  | 'adyen_refund_upserted'
14821
+ | 'index_assignment_upserted'
14822
+ | 'index_assignment_deleted'
14303
14823
  | 'account_upserted'
14304
14824
  | 'account_upserted_v2'
14305
14825
  | 'account_deleted_v2'
@@ -14341,8 +14861,12 @@ declare namespace io.flow.internal.v0.enums {
14341
14861
  | 'tax_transaction_deleted'
14342
14862
  | 'duty_transaction_upserted'
14343
14863
  | 'duty_transaction_deleted'
14864
+ | 'transaction_statement_upserted'
14865
+ | 'transaction_statement_deleted'
14344
14866
  | 'daily_value_upserted'
14345
14867
  | 'daily_value_deleted'
14868
+ | 'label_invoice_request_upserted'
14869
+ | 'label_invoice_request_deleted'
14346
14870
  | 'calculator_organization_settings_upserted'
14347
14871
  | 'calculator_organization_settings_deleted'
14348
14872
  | 'carrier_account_upserted_v2'
@@ -14479,6 +15003,8 @@ declare namespace io.flow.internal.v0.enums {
14479
15003
  | 'issuer_upserted'
14480
15004
  | 'issuer_deleted'
14481
15005
  | 'item_form_import_request'
15006
+ | 'label_request_error_upserted'
15007
+ | 'label_request_error_deleted'
14482
15008
  | 'label_tracking_summary_upserted'
14483
15009
  | 'label_tracking_summary_deleted'
14484
15010
  | 'localized_item_upserted_v2'
@@ -14504,8 +15030,14 @@ declare namespace io.flow.internal.v0.enums {
14504
15030
  | 'organization_business_entity_upserted'
14505
15031
  | 'organization_status_change_upserted'
14506
15032
  | 'organization_status_change_deleted'
15033
+ | 'organization_deactivation_upserted'
15034
+ | 'organization_deactivation_deleted'
15035
+ | 'merchant_guid_assignment_upserted'
15036
+ | 'merchant_guid_assignment_deleted'
14507
15037
  | 'partner_organization_settings_upserted'
14508
15038
  | 'partner_organization_settings_deleted'
15039
+ | 'unassigned_merchant_guid_upserted'
15040
+ | 'unassigned_merchant_guid_deleted'
14509
15041
  | 'internal_authorization_upserted'
14510
15042
  | 'internal_authorization_deleted'
14511
15043
  | 'afterpay_authorization_upserted'
@@ -14569,6 +15101,8 @@ declare namespace io.flow.internal.v0.enums {
14569
15101
  | 'shopify_markets_webhook_registration_deleted'
14570
15102
  | 'shopify_markets_shop_statistics_upserted'
14571
15103
  | 'shopify_markets_shop_statistics_deleted'
15104
+ | 'shopify_markets_metrics_upserted'
15105
+ | 'shopify_markets_metrics_deleted'
14572
15106
  | 'shopify_monitoring_order_monitor_event_upserted'
14573
15107
  | 'shopify_monitoring_order_monitor_event_deleted'
14574
15108
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -14656,6 +15190,12 @@ declare namespace io.flow.internal.v0.enums {
14656
15190
  | 'resolved'
14657
15191
  | 'unresolved';
14658
15192
  type LabelInputSource = 'estimate';
15193
+ type LabelRequestErrorHandlingResponsibility =
15194
+ | 'merchant'
15195
+ | 'merchant_integration'
15196
+ | 'shopify_integration'
15197
+ | 'globale_cx'
15198
+ | 'globale_system';
14659
15199
  type LabelTransactionType =
14660
15200
  | 'adjustment'
14661
15201
  | 'reversal'
@@ -14780,6 +15320,7 @@ declare namespace io.flow.internal.v0.enums {
14780
15320
  | 'unit_test'
14781
15321
  | 'api'
14782
15322
  | 'api_activation'
15323
+ | 'api_sandbox_setup'
14783
15324
  | 'api_internal'
14784
15325
  | 'api_internal_block'
14785
15326
  | 'api_internal_unblock'
@@ -14873,13 +15414,19 @@ declare namespace io.flow.internal.v0.enums {
14873
15414
  | 'channel_transaction'
14874
15415
  | 'channel_organization'
14875
15416
  | 'consumer_invoice'
15417
+ | 'fulfillment_in_transit'
15418
+ | 'fulfillment_shipping_notification'
15419
+ | 'fulfillment_external'
14876
15420
  | 'label_tracking_summary'
15421
+ | 'label_invoice_request'
15422
+ | 'label_origin'
14877
15423
  | 'order'
14878
15424
  | 'order_identifier'
14879
15425
  | 'refund'
14880
15426
  | 'refund_deletion'
15427
+ | 'refund_over_capture'
15428
+ | 'sales_record'
14881
15429
  | 'statement_batch'
14882
- | 'statement_batch_email'
14883
15430
  | 'statement_email'
14884
15431
  | 'statement_summary_email'
14885
15432
  | 'wash';
@@ -14888,16 +15435,27 @@ declare namespace io.flow.internal.v0.enums {
14888
15435
  | 'delete'
14889
15436
  | 'update_currency_rate'
14890
15437
  | 'update_country';
15438
+ type RateLevelKey =
15439
+ | 'shopify_small_usa'
15440
+ | 'shopify_medium_usa'
15441
+ | 'shopify_enterprise_usa'
15442
+ | 'shopify_small_sdc_usa';
14891
15443
  type RateSource = 'calculated' | 'market';
14892
15444
  type ReboundConfigurationStatus = 'active' | 'inactive';
14893
15445
  type RedirectReason = 'three_d_secure';
14894
15446
  type RejectionReason =
14895
- | 'suspicious_behavior'
14896
- | 'suspicious_past_activity'
14897
- | 'risky_velocity'
15447
+ | 'merchant_policy'
14898
15448
  | 'previous_chargebacks'
14899
- | 'restricted_party_screening';
15449
+ | 'restricted_party_screening'
15450
+ | 'risky_velocity'
15451
+ | 'suspicious_behavior'
15452
+ | 'suspicious_past_activity';
14900
15453
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
15454
+ type ReportStatus =
15455
+ | 'created'
15456
+ | 'completed'
15457
+ | 'completed_no_records'
15458
+ | 'failed';
14901
15459
  type ReportingScheme =
14902
15460
  | 'immediate_reporting_to_tax_authority'
14903
15461
  | 'periodic_reporting_to_tax_authority'
@@ -14953,6 +15511,13 @@ declare namespace io.flow.internal.v0.enums {
14953
15511
  | 'prohibited_carriage'
14954
15512
  | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
14955
15513
  type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
15514
+ type ShopifyMarketsQueuedRecordType =
15515
+ | 'order_update'
15516
+ | 'card_payment'
15517
+ | 'online_payment'
15518
+ | 'flow_shop'
15519
+ | 'catalog_publication_sync'
15520
+ | 'product_restriction_result';
14956
15521
  type ShopifyMarketsTradeSector =
14957
15522
  | 'apparel_and_accessories'
14958
15523
  | 'beauty_and_cosmetics'
@@ -15008,8 +15573,7 @@ declare namespace io.flow.internal.v0.enums {
15008
15573
  | 'fraud_review'
15009
15574
  | 'carrier_account'
15010
15575
  | 'payment'
15011
- | 'ratecard'
15012
- | 'logistics_center'
15576
+ | 'rate_levels'
15013
15577
  | 'center_defaults';
15014
15578
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
15015
15579
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
@@ -15018,6 +15582,13 @@ declare namespace io.flow.internal.v0.enums {
15018
15582
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
15019
15583
  type TransactionPostingMethod = 'time' | 'proof';
15020
15584
  type TransferMethod = 'ach';
15585
+ type TrueUpSurchargeType =
15586
+ | 'fuel'
15587
+ | 'remote_area'
15588
+ | 'oversize'
15589
+ | 'duties_paid'
15590
+ | 'emergency'
15591
+ | 'peak';
15021
15592
  type UnclassifiedProductStatus =
15022
15593
  | 'ignored'
15023
15594
  | 'escalated'
@@ -15025,6 +15596,12 @@ declare namespace io.flow.internal.v0.enums {
15025
15596
  | 'unverified'
15026
15597
  | 'queued'
15027
15598
  | 'unconfident';
15599
+ type WashCarrierActualFileStatus =
15600
+ | 'pending'
15601
+ | 'processing'
15602
+ | 'processed'
15603
+ | 'failed';
15604
+ type WeightSelection = 'dead' | 'dimensional';
15028
15605
  }
15029
15606
 
15030
15607
  declare namespace io.flow.internal.v0.models {
@@ -15332,6 +15909,7 @@ declare namespace io.flow.internal.v0.models {
15332
15909
  readonly authentication: io.flow.internal.v0.models.AdyenAuthenticationForm;
15333
15910
  readonly country: string;
15334
15911
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
15912
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
15335
15913
  }
15336
15914
 
15337
15915
  interface AdyenAuthentication {
@@ -15493,6 +16071,7 @@ declare namespace io.flow.internal.v0.models {
15493
16071
  readonly external_id: string;
15494
16072
  readonly country: string;
15495
16073
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
16074
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
15496
16075
  }
15497
16076
 
15498
16077
  interface AdyenPaymentDetailsForm {
@@ -15551,6 +16130,7 @@ declare namespace io.flow.internal.v0.models {
15551
16130
  readonly country: string;
15552
16131
  readonly authentication: io.flow.internal.v0.models.AfterpayAuthenticationForm;
15553
16132
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
16133
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
15554
16134
  }
15555
16135
 
15556
16136
  interface AfterpayAuthentication {
@@ -15674,6 +16254,12 @@ declare namespace io.flow.internal.v0.models {
15674
16254
  readonly count: number;
15675
16255
  }
15676
16256
 
16257
+ interface AlgoliaIndexAssignment {
16258
+ readonly id: string;
16259
+ readonly name: string;
16260
+ readonly application_id: string;
16261
+ }
16262
+
15677
16263
  interface AllItemsExport {
15678
16264
  readonly discriminator: 'all_items_export';
15679
16265
  readonly event_id: string;
@@ -15779,6 +16365,12 @@ declare namespace io.flow.internal.v0.models {
15779
16365
  readonly charge_trigger: io.flow.internal.v0.enums.OrderChargeTrigger;
15780
16366
  }
15781
16367
 
16368
+ interface AutoReviewCriteria {
16369
+ readonly hs_code?: string;
16370
+ readonly keywords?: string[];
16371
+ readonly action?: io.flow.internal.v0.enums.RestrictionStatus;
16372
+ }
16373
+
15782
16374
  interface Backfill {
15783
16375
  readonly days_to_backfill: string[];
15784
16376
  }
@@ -15955,7 +16547,6 @@ declare namespace io.flow.internal.v0.models {
15955
16547
 
15956
16548
  interface BillingStatementBatch {
15957
16549
  readonly id: string;
15958
- readonly reconciliation: io.flow.internal.v0.models.BillingStatementBatchReconciliation;
15959
16550
  }
15960
16551
 
15961
16552
  interface BillingStatementBatchDeleted {
@@ -15965,10 +16556,6 @@ declare namespace io.flow.internal.v0.models {
15965
16556
  readonly id: string;
15966
16557
  }
15967
16558
 
15968
- interface BillingStatementBatchReconciliation {
15969
- readonly month: string;
15970
- }
15971
-
15972
16559
  interface BillingStatementBatchReference {
15973
16560
  readonly id: string;
15974
16561
  }
@@ -16089,6 +16676,7 @@ declare namespace io.flow.internal.v0.models {
16089
16676
  readonly authentication: io.flow.internal.v0.models.BitpayAuthenticationForm;
16090
16677
  readonly country: string;
16091
16678
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
16679
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
16092
16680
  }
16093
16681
 
16094
16682
  interface BitpayAuthentication {
@@ -16358,6 +16946,32 @@ declare namespace io.flow.internal.v0.models {
16358
16946
  readonly name: string;
16359
16947
  }
16360
16948
 
16949
+ interface CalculatorDtcePostBody {
16950
+ readonly products: io.flow.internal.v0.models.CalculatorDtceProduct[];
16951
+ readonly countryCodeFrom: string;
16952
+ readonly countryCodeTo: string;
16953
+ readonly classification: string;
16954
+ readonly shippingCost: number;
16955
+ readonly insuranceCost: number;
16956
+ readonly totalShipmentWeight: number;
16957
+ readonly currencyCode: string;
16958
+ readonly outputCurrencyCode: string;
16959
+ readonly explanation: boolean;
16960
+ readonly responseFormat: number;
16961
+ readonly requestId: string;
16962
+ readonly provinceCode?: string;
16963
+ }
16964
+
16965
+ interface CalculatorDtceProduct {
16966
+ readonly origin: string;
16967
+ readonly hsCode: string;
16968
+ readonly sku: string;
16969
+ readonly value: number;
16970
+ readonly weight: number;
16971
+ readonly quantity: number;
16972
+ readonly reference?: string;
16973
+ }
16974
+
16361
16975
  interface CalculatorOrganizationSettings {
16362
16976
  readonly id: string;
16363
16977
  readonly default_country_of_origin?: string;
@@ -16416,6 +17030,12 @@ declare namespace io.flow.internal.v0.models {
16416
17030
  readonly carrier_account: io.flow.internal.v0.models.CarrierAccount;
16417
17031
  }
16418
17032
 
17033
+ interface CarrierAccountValidation {
17034
+ readonly organization: string;
17035
+ readonly status: io.flow.internal.v0.enums.CarrierValidationStatus;
17036
+ readonly error_message?: string;
17037
+ }
17038
+
16419
17039
  interface CarrierInvoice {
16420
17040
  readonly number: string;
16421
17041
  readonly timestamp: string;
@@ -16468,6 +17088,12 @@ declare namespace io.flow.internal.v0.models {
16468
17088
  readonly data: io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
16469
17089
  }
16470
17090
 
17091
+ interface CatalogPublicationSyncValidationError {
17092
+ readonly message: string;
17093
+ readonly reason: string;
17094
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
17095
+ }
17096
+
16471
17097
  interface CatalogSettings {
16472
17098
  readonly id: string;
16473
17099
  readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight;
@@ -16689,6 +17315,7 @@ declare namespace io.flow.internal.v0.models {
16689
17315
  readonly payment_request_id?: string;
16690
17316
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
16691
17317
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
17318
+ readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
16692
17319
  readonly order_created_at?: string;
16693
17320
  }
16694
17321
 
@@ -19045,6 +19672,7 @@ declare namespace io.flow.internal.v0.models {
19045
19672
  readonly customs_description?: string;
19046
19673
  readonly hs6_code?: string;
19047
19674
  readonly hs6_description?: string;
19675
+ readonly status?: io.flow.internal.v0.enums.ItemHarmonizationStatus;
19048
19676
  }
19049
19677
 
19050
19678
  interface ClassificationProductId {
@@ -19109,6 +19737,10 @@ declare namespace io.flow.internal.v0.models {
19109
19737
  readonly urls: string[];
19110
19738
  }
19111
19739
 
19740
+ interface CompanyReference {
19741
+ readonly id: string;
19742
+ }
19743
+
19112
19744
  interface Compliance {
19113
19745
  readonly id: string;
19114
19746
  readonly destination: string;
@@ -19243,6 +19875,7 @@ declare namespace io.flow.internal.v0.models {
19243
19875
  readonly authentication: io.flow.internal.v0.models.CryptoAuthenticationForm;
19244
19876
  readonly country: string;
19245
19877
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
19878
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
19246
19879
  }
19247
19880
 
19248
19881
  interface CryptoAuthentication {
@@ -19263,7 +19896,7 @@ declare namespace io.flow.internal.v0.models {
19263
19896
  readonly base_amount: number;
19264
19897
  readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
19265
19898
  readonly total: number;
19266
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
19899
+ readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
19267
19900
  readonly weight: number;
19268
19901
  readonly ratecard: io.flow.internal.v0.models.CsvActualRatecard;
19269
19902
  }
@@ -19273,7 +19906,7 @@ declare namespace io.flow.internal.v0.models {
19273
19906
  }
19274
19907
 
19275
19908
  interface CsvDimensions {
19276
- readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
19909
+ readonly unit: io.flow.units.v0.enums.UnitOfLength;
19277
19910
  readonly length: number;
19278
19911
  readonly width: number;
19279
19912
  readonly depth: number;
@@ -19312,7 +19945,7 @@ declare namespace io.flow.internal.v0.models {
19312
19945
  readonly base_amount: number;
19313
19946
  readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
19314
19947
  readonly total: number;
19315
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
19948
+ readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
19316
19949
  readonly weight: number;
19317
19950
  readonly variance: number;
19318
19951
  }
@@ -19377,7 +20010,7 @@ declare namespace io.flow.internal.v0.models {
19377
20010
  }
19378
20011
 
19379
20012
  interface CsvWeight {
19380
- readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
20013
+ readonly unit: io.flow.units.v0.enums.UnitOfWeight;
19381
20014
  readonly provided: number;
19382
20015
  readonly dimensional: number;
19383
20016
  readonly lookup: number;
@@ -19592,6 +20225,7 @@ declare namespace io.flow.internal.v0.models {
19592
20225
  readonly order: io.flow.internal.v0.models.DebugOrder;
19593
20226
  readonly debug: io.flow.internal.v0.models.DebugDetails;
19594
20227
  readonly transactions: io.flow.billing.v0.models.Transaction[];
20228
+ readonly reporting: io.flow.internal.v0.models.ReportingDetails;
19595
20229
  }
19596
20230
 
19597
20231
  interface DebugOrderTransactionForm {
@@ -19603,6 +20237,8 @@ declare namespace io.flow.internal.v0.models {
19603
20237
  readonly refund_id?: string;
19604
20238
  readonly order_identifier?: io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier;
19605
20239
  readonly authorization_id?: string;
20240
+ readonly posting_proof_id?: string;
20241
+ readonly label_tracking_summary_id?: string;
19606
20242
  }
19607
20243
 
19608
20244
  interface DebugOrderTransactionFormOrderIdentifier {
@@ -20109,6 +20745,8 @@ declare namespace io.flow.internal.v0.models {
20109
20745
  }
20110
20746
 
20111
20747
  interface ErpFlowVendor {
20748
+ readonly company: io.flow.internal.v0.models.CompanyReference;
20749
+ readonly entity: io.flow.internal.v0.models.EntityReference;
20112
20750
  readonly acc_des: string;
20113
20751
  readonly country_name: string;
20114
20752
  readonly acng_code: string;
@@ -20120,7 +20758,6 @@ declare namespace io.flow.internal.v0.models {
20120
20758
  readonly state_a: string;
20121
20759
  readonly bank_code: string;
20122
20760
  readonly id: string;
20123
- readonly entity: io.flow.internal.v0.models.EntityReference;
20124
20761
  readonly tax_code?: string;
20125
20762
  readonly vat_flag?: string;
20126
20763
  readonly w_tax_percent?: string;
@@ -20161,16 +20798,101 @@ declare namespace io.flow.internal.v0.models {
20161
20798
 
20162
20799
  interface ErpPriorityFileForm {
20163
20800
  readonly type: io.flow.internal.v0.enums.ErpFileType;
20801
+ readonly name: string;
20164
20802
  readonly url: string;
20165
20803
  }
20166
20804
 
20805
+ interface ErpPriorityVendor {
20806
+ readonly id: string;
20807
+ readonly acc_des?: string;
20808
+ readonly tax_code?: string;
20809
+ readonly vat_flag?: string;
20810
+ readonly country_name?: string;
20811
+ readonly w_tax_percent?: string;
20812
+ readonly iban?: string;
20813
+ readonly confirmed_date?: string;
20814
+ readonly w_tax_date?: string;
20815
+ readonly w_tax_num_expl?: string;
20816
+ readonly acng_code?: string;
20817
+ readonly phone?: string;
20818
+ readonly address?: string;
20819
+ readonly address_a?: string;
20820
+ readonly address_2?: string;
20821
+ readonly address_3?: string;
20822
+ readonly state_name?: string;
20823
+ readonly code?: string;
20824
+ readonly zip?: string;
20825
+ readonly pay_account?: string;
20826
+ readonly comp_num?: string;
20827
+ readonly w_tax_num?: string;
20828
+ readonly vat_num?: string;
20829
+ readonly orig_acc_name?: string;
20830
+ readonly branch?: string;
20831
+ readonly form_1099_code?: string;
20832
+ readonly trial_bal_code?: string;
20833
+ readonly sec_name?: string;
20834
+ readonly state?: string;
20835
+ readonly state_a?: string;
20836
+ readonly fax?: string;
20837
+ readonly details?: string;
20838
+ readonly bank_code?: string;
20839
+ readonly state_code?: string;
20840
+ readonly tax_office_code?: string;
20841
+ readonly pay_code?: string;
20842
+ readonly eacc_des?: string;
20843
+ readonly acng_des?: string;
20844
+ readonly branch_des?: string;
20845
+ }
20846
+
20847
+ interface ErpPriorityVendorForm {
20848
+ readonly acc_des?: string;
20849
+ readonly tax_code?: string;
20850
+ readonly vat_flag?: string;
20851
+ readonly country_name?: string;
20852
+ readonly w_tax_percent?: string;
20853
+ readonly iban?: string;
20854
+ readonly confirmed_date?: string;
20855
+ readonly w_tax_date?: string;
20856
+ readonly w_tax_num_expl?: string;
20857
+ readonly acng_code?: string;
20858
+ readonly phone?: string;
20859
+ readonly address?: string;
20860
+ readonly address_a?: string;
20861
+ readonly address_2?: string;
20862
+ readonly address_3?: string;
20863
+ readonly state_name?: string;
20864
+ readonly code?: string;
20865
+ readonly zip?: string;
20866
+ readonly pay_account?: string;
20867
+ readonly comp_num?: string;
20868
+ readonly w_tax_num?: string;
20869
+ readonly vat_num?: string;
20870
+ readonly orig_acc_name?: string;
20871
+ readonly branch?: string;
20872
+ readonly form_1099_code?: string;
20873
+ readonly trial_bal_code?: string;
20874
+ readonly sec_name?: string;
20875
+ readonly state?: string;
20876
+ readonly state_a?: string;
20877
+ readonly fax?: string;
20878
+ readonly details?: string;
20879
+ readonly bank_code?: string;
20880
+ readonly state_code?: string;
20881
+ readonly tax_office_code?: string;
20882
+ readonly pay_code?: string;
20883
+ readonly eacc_des?: string;
20884
+ readonly acng_des?: string;
20885
+ readonly branch_des?: string;
20886
+ }
20887
+
20167
20888
  interface ErpVendor {
20168
20889
  readonly placeholder?: string;
20169
20890
  }
20170
20891
 
20171
20892
  interface ErpVendorStatus {
20172
20893
  readonly entities: io.flow.internal.v0.models.ErpVendorStatusEntity[];
20173
- readonly latest_priority_file?: io.flow.internal.v0.models.ErpVendorStatusFile;
20894
+ readonly latest_flow_file?: io.flow.internal.v0.models.ErpVendorStatusFlowFile;
20895
+ readonly latest_priority_file?: io.flow.internal.v0.models.ErpVendorStatusPriorityFile;
20174
20896
  }
20175
20897
 
20176
20898
  interface ErpVendorStatusEntity {
@@ -20178,8 +20900,14 @@ declare namespace io.flow.internal.v0.models {
20178
20900
  readonly number_differences: number;
20179
20901
  }
20180
20902
 
20181
- interface ErpVendorStatusFile {
20903
+ interface ErpVendorStatusFlowFile {
20904
+ readonly url: string;
20905
+ readonly created_at: string;
20906
+ }
20907
+
20908
+ interface ErpVendorStatusPriorityFile {
20182
20909
  readonly name: string;
20910
+ readonly url: string;
20183
20911
  readonly created_at: string;
20184
20912
  readonly errors?: string[];
20185
20913
  readonly processed_at?: string;
@@ -20496,12 +21224,14 @@ declare namespace io.flow.internal.v0.models {
20496
21224
  readonly carrier_id?: string;
20497
21225
  readonly service_id?: string;
20498
21226
  readonly carrier_tracking_number?: string;
21227
+ readonly fulfilled_via_replacement_order?: boolean;
20499
21228
  }
20500
21229
 
20501
21230
  interface ExternalFulfillmentProofTrackingForm {
20502
21231
  readonly carrier_id?: string;
20503
21232
  readonly service_id?: string;
20504
21233
  readonly carrier_tracking_number?: string;
21234
+ readonly fulfilled_via_replacement_order?: boolean;
20505
21235
  }
20506
21236
 
20507
21237
  interface FacebookPixel {
@@ -20773,6 +21503,7 @@ declare namespace io.flow.internal.v0.models {
20773
21503
  readonly authentication: io.flow.internal.v0.models.FiservAuthenticationForm;
20774
21504
  readonly country: string;
20775
21505
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
21506
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
20776
21507
  }
20777
21508
 
20778
21509
  interface FiservAuthentication {
@@ -20823,6 +21554,7 @@ declare namespace io.flow.internal.v0.models {
20823
21554
  readonly funding_currency: string;
20824
21555
  readonly country: string;
20825
21556
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
21557
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
20826
21558
  }
20827
21559
 
20828
21560
  interface FlowAccount {
@@ -20871,6 +21603,12 @@ declare namespace io.flow.internal.v0.models {
20871
21603
  readonly default_contents: string;
20872
21604
  }
20873
21605
 
21606
+ interface FlowShopValidationError {
21607
+ readonly message: string;
21608
+ readonly reason: string;
21609
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
21610
+ }
21611
+
20874
21612
  interface FraudPendingReview {
20875
21613
  readonly id: string;
20876
21614
  readonly fraud_review_id: string;
@@ -20957,6 +21695,7 @@ declare namespace io.flow.internal.v0.models {
20957
21695
  readonly provider?: io.flow.internal.v0.enums.FraudProvider;
20958
21696
  readonly payment_authorization_id?: string;
20959
21697
  readonly decline_reason?: io.flow.internal.v0.unions.DeclineReason;
21698
+ readonly created_at?: string;
20960
21699
  }
20961
21700
 
20962
21701
  interface FraudReviewDecision {
@@ -20967,6 +21706,7 @@ declare namespace io.flow.internal.v0.models {
20967
21706
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
20968
21707
  readonly created_at: string;
20969
21708
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
21709
+ readonly updated_by_user?: io.flow.common.v0.models.UserReference;
20970
21710
  }
20971
21711
 
20972
21712
  interface FraudReviewDecisionDeleted {
@@ -21085,12 +21825,31 @@ declare namespace io.flow.internal.v0.models {
21085
21825
  readonly percent: number;
21086
21826
  }
21087
21827
 
21828
+ interface Fulfillment {
21829
+ readonly id: string;
21830
+ readonly fulfilled_at: string;
21831
+ readonly currency: string;
21832
+ readonly order: io.flow.internal.v0.models.OrderSummary;
21833
+ readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
21834
+ readonly lines: io.flow.internal.v0.models.FulfillmentLine[];
21835
+ readonly shipping: io.flow.internal.v0.models.FulfillmentShipping;
21836
+ readonly shopper: io.flow.internal.v0.models.ShopperSummary;
21837
+ readonly merchant: io.flow.internal.v0.models.MerchantSummary;
21838
+ readonly completes_order: boolean;
21839
+ readonly sequence_number: number;
21840
+ readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
21841
+ }
21842
+
21088
21843
  interface FulfillmentActionForm {
21089
21844
  readonly discriminator: 'fulfillment_action_form';
21090
21845
  readonly fulfillment_key: string;
21091
21846
  readonly actions: io.flow.internal.v0.models.LineActionQuantities[];
21092
21847
  }
21093
21848
 
21849
+ interface FulfillmentBusiness {
21850
+ readonly vat_registration_number: string;
21851
+ }
21852
+
21094
21853
  interface FulfillmentCancel {
21095
21854
  readonly discriminator: 'fulfillment_cancel';
21096
21855
  readonly event_id: string;
@@ -21109,6 +21868,41 @@ declare namespace io.flow.internal.v0.models {
21109
21868
  readonly key: string;
21110
21869
  }
21111
21870
 
21871
+ interface FulfillmentLine {
21872
+ readonly item: io.flow.internal.v0.models.ItemSummary;
21873
+ readonly quantity: number;
21874
+ readonly unit_price: number;
21875
+ readonly price: number;
21876
+ readonly discount: number;
21877
+ readonly tax: number;
21878
+ readonly duty: number;
21879
+ readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
21880
+ }
21881
+
21882
+ interface FulfillmentOrigin {
21883
+ readonly country: string;
21884
+ readonly province_code?: string;
21885
+ }
21886
+
21887
+ interface FulfillmentProofExternalFulfillmentProofReference {
21888
+ readonly discriminator: 'external_fulfillment';
21889
+ readonly id: string;
21890
+ }
21891
+
21892
+ interface FulfillmentProofLabelTrackingReference {
21893
+ readonly discriminator: 'label_tracking';
21894
+ readonly id: string;
21895
+ }
21896
+
21897
+ interface FulfillmentProofShippingNotificationReference {
21898
+ readonly discriminator: 'shipping_notification';
21899
+ readonly id: string;
21900
+ }
21901
+
21902
+ interface FulfillmentReference {
21903
+ readonly id: string;
21904
+ }
21905
+
21112
21906
  interface FulfillmentShipmentTracking {
21113
21907
  readonly fulfillment_key: string;
21114
21908
  readonly flow_tracking_number: string;
@@ -21117,6 +21911,14 @@ declare namespace io.flow.internal.v0.models {
21117
21911
  readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
21118
21912
  }
21119
21913
 
21914
+ interface FulfillmentShipping {
21915
+ readonly price: number;
21916
+ readonly discount: number;
21917
+ readonly tax: number;
21918
+ readonly duty: number;
21919
+ readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
21920
+ }
21921
+
21120
21922
  interface FulfillmentSnapshot {
21121
21923
  readonly tracking_source: string;
21122
21924
  readonly fulfillment_status?: string;
@@ -21127,6 +21929,11 @@ declare namespace io.flow.internal.v0.models {
21127
21929
  readonly fulfillment_updated_at?: string;
21128
21930
  }
21129
21931
 
21932
+ interface FulfillmentSubsidyBreakdown {
21933
+ readonly tax: number;
21934
+ readonly duty: number;
21935
+ }
21936
+
21130
21937
  interface FxFee {
21131
21938
  readonly base: io.flow.common.v0.models.Money;
21132
21939
  readonly local: io.flow.common.v0.models.Money;
@@ -21187,6 +21994,12 @@ declare namespace io.flow.internal.v0.models {
21187
21994
  readonly num_events: number;
21188
21995
  }
21189
21996
 
21997
+ interface GenericValidationError {
21998
+ readonly message: string;
21999
+ readonly reason: string;
22000
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
22001
+ }
22002
+
21190
22003
  interface GiftCard {
21191
22004
  readonly id: string;
21192
22005
  readonly number: string;
@@ -21326,6 +22139,18 @@ declare namespace io.flow.internal.v0.models {
21326
22139
  readonly filename?: string;
21327
22140
  }
21328
22141
 
22142
+ interface HarmonizationThreshold {
22143
+ readonly id: string;
22144
+ readonly chapter: number;
22145
+ readonly value: number;
22146
+ readonly updated_at: string;
22147
+ }
22148
+
22149
+ interface HarmonizationThresholdForm {
22150
+ readonly chapter: number;
22151
+ readonly value: number;
22152
+ }
22153
+
21329
22154
  interface HarmonizationUnclassifiedStatistics {
21330
22155
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21331
22156
  readonly statistics: io.flow.internal.v0.models.UnclassifiedProductStatistic[];
@@ -22073,6 +22898,22 @@ declare namespace io.flow.internal.v0.models {
22073
22898
  readonly error: string;
22074
22899
  }
22075
22900
 
22901
+ interface IndexAssignmentDeleted {
22902
+ readonly discriminator: 'index_assignment_deleted';
22903
+ readonly event_id: string;
22904
+ readonly timestamp: string;
22905
+ readonly organization: string;
22906
+ readonly id: string;
22907
+ }
22908
+
22909
+ interface IndexAssignmentUpserted {
22910
+ readonly discriminator: 'index_assignment_upserted';
22911
+ readonly event_id: string;
22912
+ readonly timestamp: string;
22913
+ readonly organization: string;
22914
+ readonly assignment: io.flow.internal.v0.models.AlgoliaIndexAssignment;
22915
+ }
22916
+
22076
22917
  interface InstallForm {
22077
22918
  readonly token: string;
22078
22919
  }
@@ -22387,7 +23228,7 @@ declare namespace io.flow.internal.v0.models {
22387
23228
  }
22388
23229
 
22389
23230
  interface ItemHarmonization {
22390
- readonly id?: string;
23231
+ readonly id: string;
22391
23232
  readonly organization_id: string;
22392
23233
  readonly item_number: string;
22393
23234
  readonly item_name?: string;
@@ -22510,6 +23351,11 @@ declare namespace io.flow.internal.v0.models {
22510
23351
  readonly item_sales_margin: io.flow.internal.v0.models.ItemSalesMargin;
22511
23352
  }
22512
23353
 
23354
+ interface ItemSummary {
23355
+ readonly number: string;
23356
+ readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
23357
+ }
23358
+
22513
23359
  interface ItemValuesForm {
22514
23360
  readonly values: string[];
22515
23361
  }
@@ -22574,6 +23420,11 @@ declare namespace io.flow.internal.v0.models {
22574
23420
  readonly constructions: Record<string, string[]>;
22575
23421
  }
22576
23422
 
23423
+ interface LabelBase {
23424
+ readonly amount: number;
23425
+ readonly weight: number;
23426
+ }
23427
+
22577
23428
  interface LabelCancellationError {
22578
23429
  readonly code: io.flow.internal.v0.enums.LabelCancellationErrorCode;
22579
23430
  readonly messages: string[];
@@ -22603,47 +23454,113 @@ declare namespace io.flow.internal.v0.models {
22603
23454
  readonly reference_id?: string;
22604
23455
  }
22605
23456
 
22606
- interface LabelGenerationAddressFailureStatusUpdateForm {
22607
- readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
23457
+ interface LabelDestination {
23458
+ readonly country: string;
23459
+ }
23460
+
23461
+ interface LabelGenerationAddressFailureStatusUpdateForm {
23462
+ readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
23463
+ }
23464
+
23465
+ interface LabelGenerationAddressFailures {
23466
+ readonly id: string;
23467
+ readonly organization_id: string;
23468
+ readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
23469
+ readonly order_number: string;
23470
+ readonly order_submitted_at: string;
23471
+ readonly carrier_id: string;
23472
+ readonly destination_errors: io.flow.internal.v0.models.DestinationError[];
23473
+ }
23474
+
23475
+ interface LabelGenerationSettings {
23476
+ readonly id: string;
23477
+ readonly item_identifier?: string;
23478
+ readonly auto_generate_query?: string;
23479
+ readonly commercial_invoice_only_query?: string;
23480
+ }
23481
+
23482
+ interface LabelGenerationSettingsDeleted {
23483
+ readonly discriminator: 'label_generation_settings_deleted';
23484
+ readonly event_id: string;
23485
+ readonly timestamp: string;
23486
+ readonly organization: string;
23487
+ readonly id: string;
23488
+ }
23489
+
23490
+ interface LabelGenerationSettingsForm {
23491
+ readonly item_identifier?: string;
23492
+ readonly auto_generate_query?: string;
23493
+ readonly commercial_invoice_only_query?: string;
23494
+ }
23495
+
23496
+ interface LabelGenerationSettingsUpserted {
23497
+ readonly discriminator: 'label_generation_settings_upserted';
23498
+ readonly event_id: string;
23499
+ readonly timestamp: string;
23500
+ readonly organization: string;
23501
+ readonly label_generation_settings: io.flow.internal.v0.models.LabelGenerationSettings;
23502
+ }
23503
+
23504
+ interface LabelInvoiceRequest {
23505
+ readonly id: string;
23506
+ readonly label: io.flow.internal.v0.models.TrueUpLabelSummary;
23507
+ readonly units: io.flow.internal.v0.models.LabelUnits;
23508
+ readonly base: io.flow.internal.v0.models.LabelBase;
23509
+ readonly surcharges: io.flow.internal.v0.models.LabelSurcharge[];
23510
+ readonly total: number;
23511
+ readonly destination: io.flow.internal.v0.models.LabelDestination;
23512
+ readonly metadata: io.flow.internal.v0.models.LabelMetadata;
23513
+ }
23514
+
23515
+ interface LabelInvoiceRequestDeleted {
23516
+ readonly discriminator: 'label_invoice_request_deleted';
23517
+ readonly event_id: string;
23518
+ readonly timestamp: string;
23519
+ readonly organization: string;
23520
+ readonly id: string;
23521
+ }
23522
+
23523
+ interface LabelInvoiceRequestUpserted {
23524
+ readonly discriminator: 'label_invoice_request_upserted';
23525
+ readonly event_id: string;
23526
+ readonly timestamp: string;
23527
+ readonly organization: string;
23528
+ readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
22608
23529
  }
22609
23530
 
22610
- interface LabelGenerationAddressFailures {
22611
- readonly id: string;
22612
- readonly organization_id: string;
22613
- readonly status: io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
22614
- readonly order_number: string;
22615
- readonly order_submitted_at: string;
22616
- readonly carrier_id: string;
22617
- readonly destination_errors: io.flow.internal.v0.models.DestinationError[];
23531
+ interface LabelMetadata {
23532
+ readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
23533
+ readonly weights: io.flow.internal.v0.models.MetadataWeights;
22618
23534
  }
22619
23535
 
22620
- interface LabelGenerationSettings {
23536
+ interface LabelRequestError {
22621
23537
  readonly id: string;
22622
- readonly item_identifier?: string;
22623
- readonly auto_generate_query?: string;
22624
- readonly commercial_invoice_only_query?: string;
23538
+ readonly order_number: string;
23539
+ readonly created_at: string;
23540
+ readonly reference_id: string;
23541
+ readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod;
23542
+ readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
23543
+ readonly order_identifier: string[];
23544
+ readonly suggested_responsibility: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
23545
+ readonly carrier_id?: string;
23546
+ readonly service_id?: string;
23547
+ readonly errors: string[];
22625
23548
  }
22626
23549
 
22627
- interface LabelGenerationSettingsDeleted {
22628
- readonly discriminator: 'label_generation_settings_deleted';
23550
+ interface LabelRequestErrorDeleted {
23551
+ readonly discriminator: 'label_request_error_deleted';
22629
23552
  readonly event_id: string;
22630
23553
  readonly timestamp: string;
22631
23554
  readonly organization: string;
22632
23555
  readonly id: string;
22633
23556
  }
22634
23557
 
22635
- interface LabelGenerationSettingsForm {
22636
- readonly item_identifier?: string;
22637
- readonly auto_generate_query?: string;
22638
- readonly commercial_invoice_only_query?: string;
22639
- }
22640
-
22641
- interface LabelGenerationSettingsUpserted {
22642
- readonly discriminator: 'label_generation_settings_upserted';
23558
+ interface LabelRequestErrorUpserted {
23559
+ readonly discriminator: 'label_request_error_upserted';
22643
23560
  readonly event_id: string;
22644
23561
  readonly timestamp: string;
22645
23562
  readonly organization: string;
22646
- readonly label_generation_settings: io.flow.internal.v0.models.LabelGenerationSettings;
23563
+ readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
22647
23564
  }
22648
23565
 
22649
23566
  interface LabelSummary {
@@ -22660,6 +23577,27 @@ declare namespace io.flow.internal.v0.models {
22660
23577
  readonly service?: io.flow.reference.v0.models.CarrierService;
22661
23578
  }
22662
23579
 
23580
+ interface LabelSurcharge {
23581
+ readonly amount: number;
23582
+ readonly type: io.flow.internal.v0.enums.TrueUpSurchargeType;
23583
+ readonly detail: io.flow.internal.v0.unions.LabelSurchargeDetail;
23584
+ }
23585
+
23586
+ interface LabelSurchargeDetailFlat {
23587
+ readonly discriminator: 'flat';
23588
+ readonly placeholder?: string;
23589
+ }
23590
+
23591
+ interface LabelSurchargeDetailPerWeightUnit {
23592
+ readonly discriminator: 'per_weight_unit';
23593
+ readonly fee: number;
23594
+ }
23595
+
23596
+ interface LabelSurchargeDetailPercentage {
23597
+ readonly discriminator: 'percentage';
23598
+ readonly percentage: number;
23599
+ }
23600
+
22663
23601
  interface LabelTaxonomy {
22664
23602
  readonly discriminator: 'item';
22665
23603
  readonly item_type: string;
@@ -22688,8 +23626,10 @@ declare namespace io.flow.internal.v0.models {
22688
23626
  interface LabelTransaction {
22689
23627
  readonly discriminator: 'label_transaction';
22690
23628
  readonly label: io.flow.internal.v0.models.BillingLabelSummary;
22691
- readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
22692
23629
  readonly tracking: io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
23630
+ readonly gross_value: io.flow.common.v0.models.Price;
23631
+ readonly discount: io.flow.internal.v0.models.Discount;
23632
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
22693
23633
  readonly id: string;
22694
23634
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
22695
23635
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -22714,6 +23654,12 @@ declare namespace io.flow.internal.v0.models {
22714
23654
  readonly label_transaction: io.flow.internal.v0.models.LabelTransaction;
22715
23655
  }
22716
23656
 
23657
+ interface LabelUnits {
23658
+ readonly currency: string;
23659
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
23660
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
23661
+ }
23662
+
22717
23663
  interface LabeledContent {
22718
23664
  readonly label: io.flow.internal.v0.models.ContentLabel;
22719
23665
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -23012,11 +23958,6 @@ declare namespace io.flow.internal.v0.models {
23012
23958
  readonly url: string;
23013
23959
  }
23014
23960
 
23015
- interface LogisticsCenterCheck {
23016
- readonly issues?: string[];
23017
- readonly is_valid: boolean;
23018
- }
23019
-
23020
23961
  interface Logo {
23021
23962
  readonly url: string;
23022
23963
  }
@@ -23417,6 +24358,44 @@ declare namespace io.flow.internal.v0.models {
23417
24358
  readonly organization_reference: io.flow.common.v0.models.Organization;
23418
24359
  }
23419
24360
 
24361
+ interface MerchantCharges {
24362
+ readonly labels: number;
24363
+ readonly total: number;
24364
+ }
24365
+
24366
+ interface MerchantFees {
24367
+ readonly duty_guarantee: number;
24368
+ readonly mor: number;
24369
+ readonly fraud: number;
24370
+ readonly fx: number;
24371
+ readonly processing: number;
24372
+ readonly rate_lock: number;
24373
+ readonly transfer: number;
24374
+ readonly total: number;
24375
+ }
24376
+
24377
+ interface MerchantGuidAssignment {
24378
+ readonly id: string;
24379
+ readonly merchant_guid: string;
24380
+ readonly created_at: string;
24381
+ }
24382
+
24383
+ interface MerchantGuidAssignmentDeleted {
24384
+ readonly discriminator: 'merchant_guid_assignment_deleted';
24385
+ readonly event_id: string;
24386
+ readonly timestamp: string;
24387
+ readonly organization: string;
24388
+ readonly id: string;
24389
+ }
24390
+
24391
+ interface MerchantGuidAssignmentUpserted {
24392
+ readonly discriminator: 'merchant_guid_assignment_upserted';
24393
+ readonly event_id: string;
24394
+ readonly timestamp: string;
24395
+ readonly organization: string;
24396
+ readonly merchant_guid_assignment: io.flow.internal.v0.models.MerchantGuidAssignment;
24397
+ }
24398
+
23420
24399
  interface MerchantOfRecordEntitySettings {
23421
24400
  readonly id: string;
23422
24401
  readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
@@ -23442,6 +24421,44 @@ declare namespace io.flow.internal.v0.models {
23442
24421
  readonly currency?: string;
23443
24422
  }
23444
24423
 
24424
+ interface MerchantSearchResult {
24425
+ readonly organization_id: string;
24426
+ readonly shop_name?: string;
24427
+ readonly legal_name: string;
24428
+ readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
24429
+ }
24430
+
24431
+ interface MerchantSubsidies {
24432
+ readonly fees: io.flow.internal.v0.models.ShopperFees;
24433
+ readonly shipping: number;
24434
+ readonly tax: number;
24435
+ readonly duty: number;
24436
+ readonly total: number;
24437
+ }
24438
+
24439
+ interface MerchantSummary {
24440
+ readonly subsidies: io.flow.internal.v0.models.MerchantSubsidies;
24441
+ readonly fees: io.flow.internal.v0.models.MerchantFees;
24442
+ readonly charges: io.flow.internal.v0.models.MerchantCharges;
24443
+ readonly discounts: number;
24444
+ }
24445
+
24446
+ interface MetadataProposition {
24447
+ readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference;
24448
+ readonly name: string;
24449
+ }
24450
+
24451
+ interface MetadataRatecard {
24452
+ readonly id: string;
24453
+ readonly proposition: io.flow.internal.v0.models.MetadataProposition;
24454
+ }
24455
+
24456
+ interface MetadataWeights {
24457
+ readonly selected: io.flow.internal.v0.enums.WeightSelection;
24458
+ readonly dead?: io.flow.internal.v0.models.WeightsDead;
24459
+ readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
24460
+ }
24461
+
23445
24462
  interface NextBillingStatement {
23446
24463
  readonly date: string;
23447
24464
  readonly amount: io.flow.common.v0.models.Price;
@@ -23477,6 +24494,7 @@ declare namespace io.flow.internal.v0.models {
23477
24494
  readonly description: string;
23478
24495
  readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
23479
24496
  readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
24497
+ readonly execution_time_ms?: number;
23480
24498
  }
23481
24499
 
23482
24500
  interface OnboardingAuditSnapshot {
@@ -23501,7 +24519,7 @@ declare namespace io.flow.internal.v0.models {
23501
24519
  readonly compliance_full_review_required: boolean;
23502
24520
  readonly application_received: string;
23503
24521
  readonly legal_name: string;
23504
- readonly shop_name: string;
24522
+ readonly shop_name?: string;
23505
24523
  readonly organization_id: string;
23506
24524
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
23507
24525
  readonly setup_completed_at?: string;
@@ -23780,6 +24798,12 @@ declare namespace io.flow.internal.v0.models {
23780
24798
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
23781
24799
  }
23782
24800
 
24801
+ interface OrderSummary {
24802
+ readonly id: string;
24803
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
24804
+ readonly number: string;
24805
+ }
24806
+
23783
24807
  interface OrderTransaction {
23784
24808
  readonly discriminator: 'order_transaction';
23785
24809
  readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
@@ -23807,6 +24831,13 @@ declare namespace io.flow.internal.v0.models {
23807
24831
  readonly order_transaction: io.flow.internal.v0.models.OrderTransaction;
23808
24832
  }
23809
24833
 
24834
+ interface OrderValidationError {
24835
+ readonly message: string;
24836
+ readonly reason: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
24837
+ readonly action?: io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
24838
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
24839
+ }
24840
+
23810
24841
  interface OrganizationAccount {
23811
24842
  readonly organization: io.flow.common.v0.models.OrganizationReference;
23812
24843
  readonly id: string;
@@ -23945,6 +24976,32 @@ declare namespace io.flow.internal.v0.models {
23945
24976
  readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
23946
24977
  }
23947
24978
 
24979
+ interface OrganizationDeactivation {
24980
+ readonly id: string;
24981
+ readonly deactivate_at: string;
24982
+ readonly created_at: string;
24983
+ }
24984
+
24985
+ interface OrganizationDeactivationDeleted {
24986
+ readonly discriminator: 'organization_deactivation_deleted';
24987
+ readonly event_id: string;
24988
+ readonly timestamp: string;
24989
+ readonly organization: string;
24990
+ readonly id: string;
24991
+ }
24992
+
24993
+ interface OrganizationDeactivationForm {
24994
+ readonly deactivate_at: string;
24995
+ }
24996
+
24997
+ interface OrganizationDeactivationUpserted {
24998
+ readonly discriminator: 'organization_deactivation_upserted';
24999
+ readonly event_id: string;
25000
+ readonly timestamp: string;
25001
+ readonly organization: string;
25002
+ readonly organization_deactivation: io.flow.internal.v0.models.OrganizationDeactivation;
25003
+ }
25004
+
23948
25005
  interface OrganizationDebugTransaction {
23949
25006
  readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
23950
25007
  readonly order?: io.flow.internal.v0.models.DebugOrder;
@@ -24149,6 +25206,13 @@ declare namespace io.flow.internal.v0.models {
24149
25206
  readonly organization_status_change: io.flow.internal.v0.models.OrganizationStatusChange;
24150
25207
  }
24151
25208
 
25209
+ interface OrganizationsAuditCheckReport {
25210
+ readonly organization_id: string;
25211
+ readonly organization_status: io.flow.common.v0.enums.OrganizationStatus;
25212
+ readonly onboarding_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
25213
+ readonly audit_result: io.flow.internal.v0.enums.OnboardingAuditResult;
25214
+ }
25215
+
24152
25216
  interface Partner {
24153
25217
  readonly id: string;
24154
25218
  readonly name: string;
@@ -24333,6 +25397,12 @@ declare namespace io.flow.internal.v0.models {
24333
25397
  readonly status?: io.flow.internal.v0.enums.PaymentSummaryStatus;
24334
25398
  }
24335
25399
 
25400
+ interface PayoutStatusCounts {
25401
+ readonly scheduled: number;
25402
+ readonly sent: number;
25403
+ readonly failed: number;
25404
+ }
25405
+
24336
25406
  interface PaypalAccount {
24337
25407
  readonly discriminator: 'paypal_account';
24338
25408
  readonly id: string;
@@ -24360,6 +25430,7 @@ declare namespace io.flow.internal.v0.models {
24360
25430
  readonly country: string;
24361
25431
  readonly authentication: io.flow.internal.v0.models.PaypalAuthenticationForm;
24362
25432
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
25433
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
24363
25434
  }
24364
25435
 
24365
25436
  interface PaypalAccountReference {
@@ -24482,6 +25553,7 @@ declare namespace io.flow.internal.v0.models {
24482
25553
  readonly external_id: string;
24483
25554
  readonly country: string;
24484
25555
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
25556
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
24485
25557
  }
24486
25558
 
24487
25559
  interface PaypalPaymentDeleted {
@@ -24791,6 +25863,12 @@ declare namespace io.flow.internal.v0.models {
24791
25863
  readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
24792
25864
  }
24793
25865
 
25866
+ interface ProductRestrictionResultValidationError {
25867
+ readonly message: string;
25868
+ readonly reason: string;
25869
+ readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
25870
+ }
25871
+
24794
25872
  interface ProductReviewHistory {
24795
25873
  readonly product_id: string;
24796
25874
  readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[];
@@ -24816,6 +25894,20 @@ declare namespace io.flow.internal.v0.models {
24816
25894
  readonly shipping_notification_id: string;
24817
25895
  }
24818
25896
 
25897
+ interface QueuedRecord {
25898
+ readonly type: string;
25899
+ readonly type_id: string;
25900
+ readonly source_type?: string;
25901
+ readonly source_id?: string;
25902
+ readonly environment?: string;
25903
+ readonly created_at: string;
25904
+ readonly num_attempts: number;
25905
+ readonly next_attempt_at: string;
25906
+ readonly errors?: string[];
25907
+ readonly stacktrace?: string;
25908
+ readonly snooze_id?: string;
25909
+ }
25910
+
24819
25911
  interface QuoteRequest {
24820
25912
  readonly id: string;
24821
25913
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -24923,10 +26015,12 @@ declare namespace io.flow.internal.v0.models {
24923
26015
  interface RateLevel {
24924
26016
  readonly id: string;
24925
26017
  readonly name: string;
26018
+ readonly key: string;
24926
26019
  }
24927
26020
 
24928
26021
  interface RateLevelForm {
24929
26022
  readonly name: string;
26023
+ readonly key: string;
24930
26024
  }
24931
26025
 
24932
26026
  interface RateLevelOrganization {
@@ -24955,6 +26049,7 @@ declare namespace io.flow.internal.v0.models {
24955
26049
  readonly id: string;
24956
26050
  readonly name: string;
24957
26051
  readonly effective_at: string;
26052
+ readonly key: string;
24958
26053
  }
24959
26054
 
24960
26055
  interface RateNameSummary {
@@ -25260,6 +26355,23 @@ declare namespace io.flow.internal.v0.models {
25260
26355
  readonly number: string;
25261
26356
  }
25262
26357
 
26358
+ interface Report {
26359
+ readonly key: string;
26360
+ readonly status: io.flow.internal.v0.enums.ReportStatus;
26361
+ readonly from: string;
26362
+ readonly to: string;
26363
+ readonly organization_id?: string;
26364
+ readonly sales_url?: string;
26365
+ readonly refunds_url?: string;
26366
+ }
26367
+
26368
+ interface ReportForm {
26369
+ readonly key?: string;
26370
+ readonly from: string;
26371
+ readonly to: string;
26372
+ readonly organization_id?: string;
26373
+ }
26374
+
25263
26375
  interface ReportRuleDecision {
25264
26376
  readonly rule_id: string;
25265
26377
  readonly rule_name: string;
@@ -25271,6 +26383,11 @@ declare namespace io.flow.internal.v0.models {
25271
26383
  readonly task_id: string;
25272
26384
  }
25273
26385
 
26386
+ interface ReportingDetails {
26387
+ readonly sales_records?: any /*object*/[];
26388
+ readonly refund_records?: any /*object*/[];
26389
+ }
26390
+
25274
26391
  interface RequeueRequestForm {
25275
26392
  readonly product_ids?: string[];
25276
26393
  readonly hs6_codes?: string[];
@@ -25431,6 +26548,7 @@ declare namespace io.flow.internal.v0.models {
25431
26548
  readonly positive_keywords: string[];
25432
26549
  readonly negative_keywords: string[];
25433
26550
  readonly value_threshold_usd?: number;
26551
+ readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
25434
26552
  }
25435
26553
 
25436
26554
  interface RestrictionRuleDecisionForm {
@@ -25447,6 +26565,7 @@ declare namespace io.flow.internal.v0.models {
25447
26565
  readonly positive_keywords: string[];
25448
26566
  readonly negative_keywords: string[];
25449
26567
  readonly value_threshold_usd?: number;
26568
+ readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
25450
26569
  }
25451
26570
 
25452
26571
  interface RestrictionRuleMetadata {
@@ -25484,6 +26603,16 @@ declare namespace io.flow.internal.v0.models {
25484
26603
  readonly destinations: io.flow.reference.v0.models.Country[];
25485
26604
  }
25486
26605
 
26606
+ interface Retracking {
26607
+ readonly carrier: string;
26608
+ readonly tracking_number?: string;
26609
+ }
26610
+
26611
+ interface RetrackingForm {
26612
+ readonly carrier: string;
26613
+ readonly carrier_tracking_numbers: string[];
26614
+ }
26615
+
25487
26616
  interface ReturnPolicyDeleted {
25488
26617
  readonly discriminator: 'return_policy_deleted';
25489
26618
  readonly event_id: string;
@@ -25541,6 +26670,14 @@ declare namespace io.flow.internal.v0.models {
25541
26670
  readonly processor: io.flow.internal.v0.enums.Processor;
25542
26671
  }
25543
26672
 
26673
+ interface SandboxSetup {
26674
+ readonly requested_by: string;
26675
+ }
26676
+
26677
+ interface SandboxSetupForm {
26678
+ readonly requested_by: string;
26679
+ }
26680
+
25544
26681
  interface Screen {
25545
26682
  readonly id: string;
25546
26683
  readonly q: string;
@@ -25672,6 +26809,10 @@ declare namespace io.flow.internal.v0.models {
25672
26809
  readonly destination: string;
25673
26810
  }
25674
26811
 
26812
+ interface ShippingMethodReference {
26813
+ readonly id: string;
26814
+ }
26815
+
25675
26816
  interface Shop {
25676
26817
  readonly id: string;
25677
26818
  readonly organization?: io.flow.common.v0.models.OrganizationReference;
@@ -25780,6 +26921,16 @@ declare namespace io.flow.internal.v0.models {
25780
26921
  readonly placeholder: string;
25781
26922
  }
25782
26923
 
26924
+ interface ShopifyMarketsDiscrepancy {
26925
+ readonly organization_id: string;
26926
+ readonly count: number;
26927
+ }
26928
+
26929
+ interface ShopifyMarketsDiscrepancyData {
26930
+ readonly total_count: number;
26931
+ readonly discrepancies: io.flow.internal.v0.models.ShopifyMarketsDiscrepancy[];
26932
+ }
26933
+
25783
26934
  interface ShopifyMarketsIncorporationCountry {
25784
26935
  readonly country: string;
25785
26936
  readonly state?: string;
@@ -25787,6 +26938,24 @@ declare namespace io.flow.internal.v0.models {
25787
26938
  readonly jurisdiction?: string;
25788
26939
  }
25789
26940
 
26941
+ interface ShopifyMarketsInternalOrderMetrics {
26942
+ readonly total_order_count: number;
26943
+ }
26944
+
26945
+ interface ShopifyMarketsMetricsDeleted {
26946
+ readonly discriminator: 'shopify_markets_metrics_deleted';
26947
+ readonly event_id: string;
26948
+ readonly timestamp: string;
26949
+ readonly id: string;
26950
+ }
26951
+
26952
+ interface ShopifyMarketsMetricsUpserted {
26953
+ readonly discriminator: 'shopify_markets_metrics_upserted';
26954
+ readonly event_id: string;
26955
+ readonly timestamp: string;
26956
+ readonly shopify_markets_metrics: io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
26957
+ }
26958
+
25790
26959
  interface ShopifyMarketsOrder {
25791
26960
  readonly id: string;
25792
26961
  readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
@@ -25808,8 +26977,17 @@ declare namespace io.flow.internal.v0.models {
25808
26977
  readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
25809
26978
  }
25810
26979
 
26980
+ interface ShopifyMarketsOrdersMetrics {
26981
+ readonly id: string;
26982
+ readonly range: io.flow.common.v0.models.DatetimeRange;
26983
+ readonly shopify: io.flow.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
26984
+ readonly internal: io.flow.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
26985
+ readonly discrepancy_data: io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData;
26986
+ }
26987
+
25811
26988
  interface ShopifyMarketsShop {
25812
26989
  readonly id: string;
26990
+ readonly shopify_shop_id?: string;
25813
26991
  readonly channel: io.flow.common.v0.models.ChannelReference;
25814
26992
  readonly domain: string;
25815
26993
  readonly myshopify_domain: string;
@@ -25869,6 +27047,10 @@ declare namespace io.flow.internal.v0.models {
25869
27047
  readonly shopify_markets_shop: io.flow.internal.v0.models.ShopifyMarketsShop;
25870
27048
  }
25871
27049
 
27050
+ interface ShopifyMarketsShopifyOrderMetrics {
27051
+ readonly total_order_count: number;
27052
+ }
27053
+
25872
27054
  interface ShopifyMarketsSubsidiaryCompany {
25873
27055
  readonly legal_name?: string;
25874
27056
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -26175,6 +27357,11 @@ declare namespace io.flow.internal.v0.models {
26175
27357
  readonly shop: io.flow.internal.v0.models.Shop;
26176
27358
  }
26177
27359
 
27360
+ interface ShopifyStorePassword {
27361
+ readonly temporary_password: string;
27362
+ readonly expiry: string;
27363
+ }
27364
+
26178
27365
  interface ShopifyWebhook {
26179
27366
  readonly id: string;
26180
27367
  readonly shop_id: string;
@@ -26192,6 +27379,18 @@ declare namespace io.flow.internal.v0.models {
26192
27379
  readonly topic: io.flow.shopify.external.v0.enums.Topic;
26193
27380
  }
26194
27381
 
27382
+ interface ShopperFees {
27383
+ readonly fuel: number;
27384
+ readonly remote_area: number;
27385
+ readonly oversize: number;
27386
+ readonly ccf: number;
27387
+ readonly total: number;
27388
+ }
27389
+
27390
+ interface ShopperSummary {
27391
+ readonly fees: io.flow.internal.v0.models.ShopperFees;
27392
+ }
27393
+
26195
27394
  interface SimpleAccountReference {
26196
27395
  readonly id: string;
26197
27396
  }
@@ -26407,6 +27606,7 @@ declare namespace io.flow.internal.v0.models {
26407
27606
  readonly country: string;
26408
27607
  readonly authentication: io.flow.internal.v0.models.StripeAuthenticationForm;
26409
27608
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
27609
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
26410
27610
  }
26411
27611
 
26412
27612
  interface StripeAuthentication {
@@ -26535,6 +27735,7 @@ declare namespace io.flow.internal.v0.models {
26535
27735
  readonly account_type: io.flow.stripe.v0.enums.AccountType;
26536
27736
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
26537
27737
  readonly country: string;
27738
+ readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability;
26538
27739
  }
26539
27740
 
26540
27741
  interface StripeRefundDeleted {
@@ -27000,6 +28201,25 @@ declare namespace io.flow.internal.v0.models {
27000
28201
  readonly id: string;
27001
28202
  }
27002
28203
 
28204
+ interface TransactionStatement {
28205
+ readonly id: string;
28206
+ readonly statement: io.flow.internal.v0.models.BillingStatementReference;
28207
+ }
28208
+
28209
+ interface TransactionStatementDeleted {
28210
+ readonly discriminator: 'transaction_statement_deleted';
28211
+ readonly event_id: string;
28212
+ readonly timestamp: string;
28213
+ readonly id: string;
28214
+ }
28215
+
28216
+ interface TransactionStatementUpserted {
28217
+ readonly discriminator: 'transaction_statement_upserted';
28218
+ readonly event_id: string;
28219
+ readonly timestamp: string;
28220
+ readonly transaction_statement: io.flow.internal.v0.models.TransactionStatement;
28221
+ }
28222
+
27003
28223
  interface TransferTransaction {
27004
28224
  readonly discriminator: 'transfer_transaction';
27005
28225
  readonly method: io.flow.internal.v0.enums.TransferMethod;
@@ -27048,6 +28268,34 @@ declare namespace io.flow.internal.v0.models {
27048
28268
  readonly description: string;
27049
28269
  }
27050
28270
 
28271
+ interface TrueUpLabelSummary {
28272
+ readonly id: string;
28273
+ readonly carrier_service_id: string;
28274
+ readonly carrier_tracking_number: string;
28275
+ readonly flow_tracking_number: string;
28276
+ readonly created_at: string;
28277
+ }
28278
+
28279
+ interface UnassignedMerchantGuid {
28280
+ readonly id: string;
28281
+ readonly merchant_guid: string;
28282
+ readonly created_at: string;
28283
+ }
28284
+
28285
+ interface UnassignedMerchantGuidDeleted {
28286
+ readonly discriminator: 'unassigned_merchant_guid_deleted';
28287
+ readonly event_id: string;
28288
+ readonly timestamp: string;
28289
+ readonly id: string;
28290
+ }
28291
+
28292
+ interface UnassignedMerchantGuidUpserted {
28293
+ readonly discriminator: 'unassigned_merchant_guid_upserted';
28294
+ readonly event_id: string;
28295
+ readonly timestamp: string;
28296
+ readonly unassigned_merchant_guid: io.flow.internal.v0.models.UnassignedMerchantGuid;
28297
+ }
28298
+
27051
28299
  interface UnclassifiedProductStatistic {
27052
28300
  readonly status: io.flow.internal.v0.enums.UnclassifiedProductStatus;
27053
28301
  readonly number_of_items: number;
@@ -27269,6 +28517,16 @@ declare namespace io.flow.internal.v0.models {
27269
28517
  readonly created_at: string;
27270
28518
  }
27271
28519
 
28520
+ interface WashCarrierActualFile {
28521
+ readonly id: string;
28522
+ readonly url: string;
28523
+ readonly status: io.flow.internal.v0.enums.WashCarrierActualFileStatus;
28524
+ }
28525
+
28526
+ interface WashCarrierActualFileForm {
28527
+ readonly url: string;
28528
+ }
28529
+
27272
28530
  interface WashExportRequest {
27273
28531
  readonly url: string;
27274
28532
  }
@@ -27289,6 +28547,17 @@ declare namespace io.flow.internal.v0.models {
27289
28547
  readonly placeholder?: any /*json*/;
27290
28548
  }
27291
28549
 
28550
+ interface WeightsDead {
28551
+ readonly weight: number;
28552
+ }
28553
+
28554
+ interface WeightsDimensional {
28555
+ readonly weight: number;
28556
+ readonly length: number;
28557
+ readonly width: number;
28558
+ readonly height: number;
28559
+ }
28560
+
27292
28561
  interface WholeOrderActionForm {
27293
28562
  readonly discriminator: 'whole_order_action_form';
27294
28563
  readonly action: io.flow.internal.v0.enums.OrderAction;
@@ -27751,6 +29020,8 @@ declare namespace io.flow.internal.v0.unions {
27751
29020
  | io.flow.internal.v0.models.AdyenCaptureUpserted
27752
29021
  | io.flow.internal.v0.models.AdyenRefundDeleted
27753
29022
  | io.flow.internal.v0.models.AdyenRefundUpserted
29023
+ | io.flow.internal.v0.models.IndexAssignmentUpserted
29024
+ | io.flow.internal.v0.models.IndexAssignmentDeleted
27754
29025
  | io.flow.internal.v0.models.AccountUpserted
27755
29026
  | io.flow.internal.v0.models.AccountUpsertedV2
27756
29027
  | io.flow.internal.v0.models.AccountDeletedV2
@@ -27792,8 +29063,12 @@ declare namespace io.flow.internal.v0.unions {
27792
29063
  | io.flow.internal.v0.models.TaxTransactionDeleted
27793
29064
  | io.flow.internal.v0.models.DutyTransactionUpserted
27794
29065
  | io.flow.internal.v0.models.DutyTransactionDeleted
29066
+ | io.flow.internal.v0.models.TransactionStatementUpserted
29067
+ | io.flow.internal.v0.models.TransactionStatementDeleted
27795
29068
  | io.flow.internal.v0.models.DailyValueUpserted
27796
29069
  | io.flow.internal.v0.models.DailyValueDeleted
29070
+ | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
29071
+ | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
27797
29072
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
27798
29073
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
27799
29074
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -27930,6 +29205,8 @@ declare namespace io.flow.internal.v0.unions {
27930
29205
  | io.flow.internal.v0.models.IssuerUpserted
27931
29206
  | io.flow.internal.v0.models.IssuerDeleted
27932
29207
  | io.flow.internal.v0.models.ItemFormImportRequest
29208
+ | io.flow.internal.v0.models.LabelRequestErrorUpserted
29209
+ | io.flow.internal.v0.models.LabelRequestErrorDeleted
27933
29210
  | io.flow.internal.v0.models.LabelTrackingSummaryUpserted
27934
29211
  | io.flow.internal.v0.models.LabelTrackingSummaryDeleted
27935
29212
  | io.flow.internal.v0.models.LocalizedItemUpsertedV2
@@ -27955,8 +29232,14 @@ declare namespace io.flow.internal.v0.unions {
27955
29232
  | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted
27956
29233
  | io.flow.internal.v0.models.OrganizationStatusChangeUpserted
27957
29234
  | io.flow.internal.v0.models.OrganizationStatusChangeDeleted
29235
+ | io.flow.internal.v0.models.OrganizationDeactivationUpserted
29236
+ | io.flow.internal.v0.models.OrganizationDeactivationDeleted
29237
+ | io.flow.internal.v0.models.MerchantGuidAssignmentUpserted
29238
+ | io.flow.internal.v0.models.MerchantGuidAssignmentDeleted
27958
29239
  | io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted
27959
29240
  | io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted
29241
+ | io.flow.internal.v0.models.UnassignedMerchantGuidUpserted
29242
+ | io.flow.internal.v0.models.UnassignedMerchantGuidDeleted
27960
29243
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
27961
29244
  | io.flow.internal.v0.models.InternalAuthorizationDeleted
27962
29245
  | io.flow.internal.v0.models.AfterpayAuthorizationUpserted
@@ -28020,6 +29303,8 @@ declare namespace io.flow.internal.v0.unions {
28020
29303
  | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted
28021
29304
  | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted
28022
29305
  | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted
29306
+ | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted
29307
+ | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted
28023
29308
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
28024
29309
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
28025
29310
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -28074,6 +29359,10 @@ declare namespace io.flow.internal.v0.unions {
28074
29359
  type FuelSurchargeServiceFeePutForm =
28075
29360
  | io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm
28076
29361
  | io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
29362
+ type FulfillmentProof =
29363
+ | io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference
29364
+ | io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference
29365
+ | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
28077
29366
  type GenerateLoad =
28078
29367
  | io.flow.internal.v0.models.GenerateLoadSingleOrg
28079
29368
  | io.flow.internal.v0.models.GenerateLoadMultipleOrgs;
@@ -28158,6 +29447,10 @@ declare namespace io.flow.internal.v0.unions {
28158
29447
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
28159
29448
  type InternalTransactionDetails =
28160
29449
  io.flow.internal.v0.models.InternalTransactionDetailsCard;
29450
+ type LabelSurchargeDetail =
29451
+ | io.flow.internal.v0.models.LabelSurchargeDetailFlat
29452
+ | io.flow.internal.v0.models.LabelSurchargeDetailPercentage
29453
+ | io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
28161
29454
  type LocalizableContent =
28162
29455
  | io.flow.internal.v0.models.LocalizableContentReference
28163
29456
  | io.flow.internal.v0.models.Localization;
@@ -28463,6 +29756,8 @@ export type AlertFailureSummaryDetail =
28463
29756
  export type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
28464
29757
  export type AlertRequeueSummary =
28465
29758
  io.flow.internal.v0.models.AlertRequeueSummary;
29759
+ export type AlgoliaIndexAssignment =
29760
+ io.flow.internal.v0.models.AlgoliaIndexAssignment;
28466
29761
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
28467
29762
  export type AllOrganizationsMembership =
28468
29763
  io.flow.internal.v0.models.AllOrganizationsMembership;
@@ -28499,6 +29794,7 @@ export type AuthorizedOrderCharge =
28499
29794
  export type AuthorizedShippingCharge =
28500
29795
  io.flow.internal.v0.models.AuthorizedShippingCharge;
28501
29796
  export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule;
29797
+ export type AutoReviewCriteria = io.flow.internal.v0.models.AutoReviewCriteria;
28502
29798
  export type Backfill = io.flow.internal.v0.models.Backfill;
28503
29799
  export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
28504
29800
  export type BankAccountReference =
@@ -28555,8 +29851,6 @@ export type BillingStatementBatchDeleted =
28555
29851
  io.flow.internal.v0.models.BillingStatementBatchDeleted;
28556
29852
  export type BillingStatementBatchFileKey =
28557
29853
  io.flow.internal.v0.enums.BillingStatementBatchFileKey;
28558
- export type BillingStatementBatchReconciliation =
28559
- io.flow.internal.v0.models.BillingStatementBatchReconciliation;
28560
29854
  export type BillingStatementBatchReference =
28561
29855
  io.flow.internal.v0.models.BillingStatementBatchReference;
28562
29856
  export type BillingStatementBatchStatement =
@@ -28677,6 +29971,10 @@ export type BulkClassificationAction =
28677
29971
  export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
28678
29972
  export type CalculatedTaxAmount =
28679
29973
  io.flow.internal.v0.models.CalculatedTaxAmount;
29974
+ export type CalculatorDtcePostBody =
29975
+ io.flow.internal.v0.models.CalculatorDtcePostBody;
29976
+ export type CalculatorDtceProduct =
29977
+ io.flow.internal.v0.models.CalculatorDtceProduct;
28680
29978
  export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
28681
29979
  export type CalculatorOrganizationSettings =
28682
29980
  io.flow.internal.v0.models.CalculatorOrganizationSettings;
@@ -28692,10 +29990,14 @@ export type CarrierAccountDeleted =
28692
29990
  export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
28693
29991
  export type CarrierAccountUpsertedV2 =
28694
29992
  io.flow.internal.v0.models.CarrierAccountUpsertedV2;
29993
+ export type CarrierAccountValidation =
29994
+ io.flow.internal.v0.models.CarrierAccountValidation;
28695
29995
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
28696
29996
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
28697
29997
  export type CarrierLabelGenerationMethod =
28698
29998
  io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
29999
+ export type CarrierValidationStatus =
30000
+ io.flow.internal.v0.enums.CarrierValidationStatus;
28699
30001
  export type CatalogImportRequest =
28700
30002
  io.flow.internal.v0.models.CatalogImportRequest;
28701
30003
  export type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType;
@@ -28711,6 +30013,8 @@ export type CatalogItemRegionAvailabilitiesData =
28711
30013
  io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
28712
30014
  export type CatalogItemRegionAvailabilitiesPublished =
28713
30015
  io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
30016
+ export type CatalogPublicationSyncValidationError =
30017
+ io.flow.internal.v0.models.CatalogPublicationSyncValidationError;
28714
30018
  export type CatalogSettings = io.flow.internal.v0.models.CatalogSettings;
28715
30019
  export type CatalogSettingsDeleted =
28716
30020
  io.flow.internal.v0.models.CatalogSettingsDeleted;
@@ -28774,6 +30078,8 @@ export type ChannelOrderAcceptanceErrorAction =
28774
30078
  io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
28775
30079
  export type ChannelOrderAcceptanceForm =
28776
30080
  io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
30081
+ export type ChannelOrderAcceptanceNextActionFrom =
30082
+ io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
28777
30083
  export type ChannelOrderAcceptanceReason =
28778
30084
  io.flow.internal.v0.models.ChannelOrderAcceptanceReason;
28779
30085
  export type ChannelOrderAcceptanceRejectionReason =
@@ -29891,6 +31197,7 @@ export type ClassifiedProductDetail =
29891
31197
  io.flow.internal.v0.models.ClassifiedProductDetail;
29892
31198
  export type CommercialInvoiceComparison =
29893
31199
  io.flow.internal.v0.models.CommercialInvoiceComparison;
31200
+ export type CompanyReference = io.flow.internal.v0.models.CompanyReference;
29894
31201
  export type Compliance = io.flow.internal.v0.models.Compliance;
29895
31202
  export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
29896
31203
  export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
@@ -30085,6 +31392,8 @@ export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
30085
31392
  export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
30086
31393
  export type DisputeStatusForm = io.flow.internal.v0.models.DisputeStatusForm;
30087
31394
  export type DisputeTransaction = io.flow.internal.v0.models.DisputeTransaction;
31395
+ export type DisputeTransactionType =
31396
+ io.flow.internal.v0.enums.DisputeTransactionType;
30088
31397
  export type DisputeType = io.flow.internal.v0.enums.DisputeType;
30089
31398
  export type DisputeUpserted = io.flow.internal.v0.models.DisputeUpserted;
30090
31399
  export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
@@ -30145,12 +31454,17 @@ export type ErpFlowVendor = io.flow.internal.v0.models.ErpFlowVendor;
30145
31454
  export type ErpPriorityFile = io.flow.internal.v0.models.ErpPriorityFile;
30146
31455
  export type ErpPriorityFileForm =
30147
31456
  io.flow.internal.v0.models.ErpPriorityFileForm;
31457
+ export type ErpPriorityVendor = io.flow.internal.v0.models.ErpPriorityVendor;
31458
+ export type ErpPriorityVendorForm =
31459
+ io.flow.internal.v0.models.ErpPriorityVendorForm;
30148
31460
  export type ErpVendor = io.flow.internal.v0.models.ErpVendor;
30149
31461
  export type ErpVendorStatus = io.flow.internal.v0.models.ErpVendorStatus;
30150
31462
  export type ErpVendorStatusEntity =
30151
31463
  io.flow.internal.v0.models.ErpVendorStatusEntity;
30152
- export type ErpVendorStatusFile =
30153
- io.flow.internal.v0.models.ErpVendorStatusFile;
31464
+ export type ErpVendorStatusFlowFile =
31465
+ io.flow.internal.v0.models.ErpVendorStatusFlowFile;
31466
+ export type ErpVendorStatusPriorityFile =
31467
+ io.flow.internal.v0.models.ErpVendorStatusPriorityFile;
30154
31468
  export type Event = io.flow.internal.v0.unions.Event;
30155
31469
  export type EventType = io.flow.internal.v0.enums.EventType;
30156
31470
  export type ExclusionRuleDeleted =
@@ -30322,6 +31636,8 @@ export type FlowLabProjectPutForm =
30322
31636
  export type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting;
30323
31637
  export type FlowLabelSettingForm =
30324
31638
  io.flow.internal.v0.models.FlowLabelSettingForm;
31639
+ export type FlowShopValidationError =
31640
+ io.flow.internal.v0.models.FlowShopValidationError;
30325
31641
  export type Format = io.flow.internal.v0.enums.Format;
30326
31642
  export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
30327
31643
  export type FraudPendingReviewDeleted =
@@ -30376,15 +31692,33 @@ export type FuelSurchargeServiceFeePercentPutForm =
30376
31692
  io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm;
30377
31693
  export type FuelSurchargeServiceFeePutForm =
30378
31694
  io.flow.internal.v0.unions.FuelSurchargeServiceFeePutForm;
31695
+ export type Fulfillment = io.flow.internal.v0.models.Fulfillment;
30379
31696
  export type FulfillmentActionForm =
30380
31697
  io.flow.internal.v0.models.FulfillmentActionForm;
31698
+ export type FulfillmentBusiness =
31699
+ io.flow.internal.v0.models.FulfillmentBusiness;
30381
31700
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
30382
31701
  export type FulfillmentInternalExperienceReference =
30383
31702
  io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
31703
+ export type FulfillmentLine = io.flow.internal.v0.models.FulfillmentLine;
31704
+ export type FulfillmentOrigin = io.flow.internal.v0.models.FulfillmentOrigin;
31705
+ export type FulfillmentProof = io.flow.internal.v0.unions.FulfillmentProof;
31706
+ export type FulfillmentProofExternalFulfillmentProofReference =
31707
+ io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
31708
+ export type FulfillmentProofLabelTrackingReference =
31709
+ io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference;
31710
+ export type FulfillmentProofShippingNotificationReference =
31711
+ io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference;
31712
+ export type FulfillmentReference =
31713
+ io.flow.internal.v0.models.FulfillmentReference;
30384
31714
  export type FulfillmentShipmentTracking =
30385
31715
  io.flow.internal.v0.models.FulfillmentShipmentTracking;
31716
+ export type FulfillmentShipping =
31717
+ io.flow.internal.v0.models.FulfillmentShipping;
30386
31718
  export type FulfillmentSnapshot =
30387
31719
  io.flow.internal.v0.models.FulfillmentSnapshot;
31720
+ export type FulfillmentSubsidyBreakdown =
31721
+ io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
30388
31722
  export type FxFee = io.flow.internal.v0.models.FxFee;
30389
31723
  export type FxRevenueRecognition =
30390
31724
  io.flow.internal.v0.models.FxRevenueRecognition;
@@ -30405,6 +31739,8 @@ export type GenerateLoadMultipleOrgs =
30405
31739
  io.flow.internal.v0.models.GenerateLoadMultipleOrgs;
30406
31740
  export type GenerateLoadSingleOrg =
30407
31741
  io.flow.internal.v0.models.GenerateLoadSingleOrg;
31742
+ export type GenericValidationError =
31743
+ io.flow.internal.v0.models.GenericValidationError;
30408
31744
  export type GiftCard = io.flow.internal.v0.models.GiftCard;
30409
31745
  export type GiftCardAuthorizationError =
30410
31746
  io.flow.internal.v0.models.GiftCardAuthorizationError;
@@ -30442,6 +31778,10 @@ export type HarmonizationMlModelSummary =
30442
31778
  io.flow.internal.v0.models.HarmonizationMlModelSummary;
30443
31779
  export type HarmonizationPhraseSuggestionRequestImport =
30444
31780
  io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
31781
+ export type HarmonizationThreshold =
31782
+ io.flow.internal.v0.models.HarmonizationThreshold;
31783
+ export type HarmonizationThresholdForm =
31784
+ io.flow.internal.v0.models.HarmonizationThresholdForm;
30445
31785
  export type HarmonizationUnclassifiedStatistics =
30446
31786
  io.flow.internal.v0.models.HarmonizationUnclassifiedStatistics;
30447
31787
  export type HarmonizeFullyRequestV2 =
@@ -30537,6 +31877,10 @@ export type HybrisCatalogItemsImportRequestData =
30537
31877
  io.flow.internal.v0.models.HybrisCatalogItemsImportRequestData;
30538
31878
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
30539
31879
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
31880
+ export type IndexAssignmentDeleted =
31881
+ io.flow.internal.v0.models.IndexAssignmentDeleted;
31882
+ export type IndexAssignmentUpserted =
31883
+ io.flow.internal.v0.models.IndexAssignmentUpserted;
30540
31884
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
30541
31885
  export type InitialInputDataSource =
30542
31886
  io.flow.internal.v0.enums.InitialInputDataSource;
@@ -30657,6 +32001,7 @@ export type ItemSalesMarginUpserted =
30657
32001
  io.flow.internal.v0.models.ItemSalesMarginUpserted;
30658
32002
  export type ItemSalesMarginVersion =
30659
32003
  io.flow.internal.v0.models.ItemSalesMarginVersion;
32004
+ export type ItemSummary = io.flow.internal.v0.models.ItemSummary;
30660
32005
  export type ItemType = io.flow.internal.v0.enums.ItemType;
30661
32006
  export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
30662
32007
  export type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
@@ -30674,6 +32019,7 @@ export type LabProjectSettingsFormAcceptance =
30674
32019
  io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
30675
32020
  export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
30676
32021
  export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
32022
+ export type LabelBase = io.flow.internal.v0.models.LabelBase;
30677
32023
  export type LabelBillingStrategy =
30678
32024
  io.flow.internal.v0.enums.LabelBillingStrategy;
30679
32025
  export type LabelCancellationError =
@@ -30686,6 +32032,7 @@ export type LabelCreationJobSummary =
30686
32032
  export type LabelCreationRequestForm =
30687
32033
  io.flow.internal.v0.models.LabelCreationRequestForm;
30688
32034
  export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
32035
+ export type LabelDestination = io.flow.internal.v0.models.LabelDestination;
30689
32036
  export type LabelGenerationAddressFailureStatus =
30690
32037
  io.flow.internal.v0.enums.LabelGenerationAddressFailureStatus;
30691
32038
  export type LabelGenerationAddressFailureStatusUpdateForm =
@@ -30701,7 +32048,30 @@ export type LabelGenerationSettingsForm =
30701
32048
  export type LabelGenerationSettingsUpserted =
30702
32049
  io.flow.internal.v0.models.LabelGenerationSettingsUpserted;
30703
32050
  export type LabelInputSource = io.flow.internal.v0.enums.LabelInputSource;
32051
+ export type LabelInvoiceRequest =
32052
+ io.flow.internal.v0.models.LabelInvoiceRequest;
32053
+ export type LabelInvoiceRequestDeleted =
32054
+ io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
32055
+ export type LabelInvoiceRequestUpserted =
32056
+ io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
32057
+ export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
32058
+ export type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
32059
+ export type LabelRequestErrorDeleted =
32060
+ io.flow.internal.v0.models.LabelRequestErrorDeleted;
32061
+ export type LabelRequestErrorHandlingResponsibility =
32062
+ io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
32063
+ export type LabelRequestErrorUpserted =
32064
+ io.flow.internal.v0.models.LabelRequestErrorUpserted;
30704
32065
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
32066
+ export type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
32067
+ export type LabelSurchargeDetail =
32068
+ io.flow.internal.v0.unions.LabelSurchargeDetail;
32069
+ export type LabelSurchargeDetailFlat =
32070
+ io.flow.internal.v0.models.LabelSurchargeDetailFlat;
32071
+ export type LabelSurchargeDetailPerWeightUnit =
32072
+ io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
32073
+ export type LabelSurchargeDetailPercentage =
32074
+ io.flow.internal.v0.models.LabelSurchargeDetailPercentage;
30705
32075
  export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
30706
32076
  export type LabelTrackingSummaryDeleted =
30707
32077
  io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
@@ -30714,6 +32084,7 @@ export type LabelTransactionType =
30714
32084
  io.flow.internal.v0.enums.LabelTransactionType;
30715
32085
  export type LabelTransactionUpserted =
30716
32086
  io.flow.internal.v0.models.LabelTransactionUpserted;
32087
+ export type LabelUnits = io.flow.internal.v0.models.LabelUnits;
30717
32088
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
30718
32089
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
30719
32090
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -30774,8 +32145,6 @@ export type LocalizedPriceBookItemDeleted =
30774
32145
  export type LocalizedPriceBookItemUpserted =
30775
32146
  io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
30776
32147
  export type Location = io.flow.internal.v0.models.Location;
30777
- export type LogisticsCenterCheck =
30778
- io.flow.internal.v0.models.LogisticsCenterCheck;
30779
32148
  export type Logo = io.flow.internal.v0.models.Logo;
30780
32149
  export type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
30781
32150
  export type LoyaltyProgramMessage =
@@ -30921,10 +32290,26 @@ export type MerchantApplicationSummaries =
30921
32290
  io.flow.internal.v0.models.MerchantApplicationSummaries;
30922
32291
  export type MerchantApplicationSummary =
30923
32292
  io.flow.internal.v0.models.MerchantApplicationSummary;
32293
+ export type MerchantCharges = io.flow.internal.v0.models.MerchantCharges;
32294
+ export type MerchantFees = io.flow.internal.v0.models.MerchantFees;
32295
+ export type MerchantGuidAssignment =
32296
+ io.flow.internal.v0.models.MerchantGuidAssignment;
32297
+ export type MerchantGuidAssignmentDeleted =
32298
+ io.flow.internal.v0.models.MerchantGuidAssignmentDeleted;
32299
+ export type MerchantGuidAssignmentUpserted =
32300
+ io.flow.internal.v0.models.MerchantGuidAssignmentUpserted;
30924
32301
  export type MerchantOfRecordEntitySettings =
30925
32302
  io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
30926
32303
  export type MerchantOfRecordEntitySettingsForm =
30927
32304
  io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
32305
+ export type MerchantSearchResult =
32306
+ io.flow.internal.v0.models.MerchantSearchResult;
32307
+ export type MerchantSubsidies = io.flow.internal.v0.models.MerchantSubsidies;
32308
+ export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary;
32309
+ export type MetadataProposition =
32310
+ io.flow.internal.v0.models.MetadataProposition;
32311
+ export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;
32312
+ export type MetadataWeights = io.flow.internal.v0.models.MetadataWeights;
30928
32313
  export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
30929
32314
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
30930
32315
  export type NextBillingStatement =
@@ -31031,6 +32416,7 @@ export type OrderServiceChangeCsvForm =
31031
32416
  export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
31032
32417
  export type OrderSubmissionForm =
31033
32418
  io.flow.internal.v0.models.OrderSubmissionForm;
32419
+ export type OrderSummary = io.flow.internal.v0.models.OrderSummary;
31034
32420
  export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
31035
32421
  export type OrderTransactionDeleted =
31036
32422
  io.flow.internal.v0.models.OrderTransactionDeleted;
@@ -31038,6 +32424,8 @@ export type OrderTransactionType =
31038
32424
  io.flow.internal.v0.enums.OrderTransactionType;
31039
32425
  export type OrderTransactionUpserted =
31040
32426
  io.flow.internal.v0.models.OrderTransactionUpserted;
32427
+ export type OrderValidationError =
32428
+ io.flow.internal.v0.models.OrderValidationError;
31041
32429
  export type OrganizationAccount =
31042
32430
  io.flow.internal.v0.models.OrganizationAccount;
31043
32431
  export type OrganizationAccountDeleted =
@@ -31074,6 +32462,14 @@ export type OrganizationCurrencySettingUpserted =
31074
32462
  io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
31075
32463
  export type OrganizationCurrencySettingVersion =
31076
32464
  io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
32465
+ export type OrganizationDeactivation =
32466
+ io.flow.internal.v0.models.OrganizationDeactivation;
32467
+ export type OrganizationDeactivationDeleted =
32468
+ io.flow.internal.v0.models.OrganizationDeactivationDeleted;
32469
+ export type OrganizationDeactivationForm =
32470
+ io.flow.internal.v0.models.OrganizationDeactivationForm;
32471
+ export type OrganizationDeactivationUpserted =
32472
+ io.flow.internal.v0.models.OrganizationDeactivationUpserted;
31077
32473
  export type OrganizationDebugTransaction =
31078
32474
  io.flow.internal.v0.models.OrganizationDebugTransaction;
31079
32475
  export type OrganizationInvitationAcceptForm =
@@ -31138,6 +32534,8 @@ export type OrganizationStatusChangeDeleted =
31138
32534
  io.flow.internal.v0.models.OrganizationStatusChangeDeleted;
31139
32535
  export type OrganizationStatusChangeUpserted =
31140
32536
  io.flow.internal.v0.models.OrganizationStatusChangeUpserted;
32537
+ export type OrganizationsAuditCheckReport =
32538
+ io.flow.internal.v0.models.OrganizationsAuditCheckReport;
31141
32539
  export type OutputStyle = io.flow.internal.v0.enums.OutputStyle;
31142
32540
  export type Owner = io.flow.internal.v0.enums.Owner;
31143
32541
  export type Partner = io.flow.internal.v0.models.Partner;
@@ -31194,6 +32592,7 @@ export type PaymentSummaryStatus =
31194
32592
  export type PaymentSummaryType = io.flow.internal.v0.enums.PaymentSummaryType;
31195
32593
  export type PaymentSummaryV2 = io.flow.internal.v0.models.PaymentSummaryV2;
31196
32594
  export type PaymentTerm = io.flow.internal.v0.enums.PaymentTerm;
32595
+ export type PayoutStatusCounts = io.flow.internal.v0.models.PayoutStatusCounts;
31197
32596
  export type PaypalAccount = io.flow.internal.v0.models.PaypalAccount;
31198
32597
  export type PaypalAccountModificationForm =
31199
32598
  io.flow.internal.v0.models.PaypalAccountModificationForm;
@@ -31315,6 +32714,8 @@ export type ProductHarmonizationForm =
31315
32714
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
31316
32715
  export type ProductListSettingsForm =
31317
32716
  io.flow.internal.v0.models.ProductListSettingsForm;
32717
+ export type ProductRestrictionResultValidationError =
32718
+ io.flow.internal.v0.models.ProductRestrictionResultValidationError;
31318
32719
  export type ProductReviewHistory =
31319
32720
  io.flow.internal.v0.models.ProductReviewHistory;
31320
32721
  export type ProductStatus = io.flow.internal.v0.enums.ProductStatus;
@@ -31332,6 +32733,7 @@ export type ProofOfPostingOrderCancellation =
31332
32733
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
31333
32734
  export type ProofOfPostingShippingNotification =
31334
32735
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
32736
+ export type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
31335
32737
  export type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
31336
32738
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
31337
32739
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
@@ -31355,6 +32757,7 @@ export type RateFreshnessSummaryUpserted =
31355
32757
  io.flow.internal.v0.models.RateFreshnessSummaryUpserted;
31356
32758
  export type RateLevel = io.flow.internal.v0.models.RateLevel;
31357
32759
  export type RateLevelForm = io.flow.internal.v0.models.RateLevelForm;
32760
+ export type RateLevelKey = io.flow.internal.v0.enums.RateLevelKey;
31358
32761
  export type RateLevelOrganization =
31359
32762
  io.flow.internal.v0.models.RateLevelOrganization;
31360
32763
  export type RateLevelOrganizationForm =
@@ -31440,9 +32843,13 @@ export type RegisteredExporterTariffEligibilityData =
31440
32843
  export type RegisteredExporterTariffEligibilityForm =
31441
32844
  io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm;
31442
32845
  export type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
32846
+ export type Report = io.flow.internal.v0.models.Report;
32847
+ export type ReportForm = io.flow.internal.v0.models.ReportForm;
31443
32848
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
31444
32849
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
32850
+ export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
31445
32851
  export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
32852
+ export type ReportingDetails = io.flow.internal.v0.models.ReportingDetails;
31446
32853
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
31447
32854
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
31448
32855
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
@@ -31495,6 +32902,8 @@ export type ResyncByHs6Destinations =
31495
32902
  export type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
31496
32903
  export type ResyncFallbackRates =
31497
32904
  io.flow.internal.v0.models.ResyncFallbackRates;
32905
+ export type Retracking = io.flow.internal.v0.models.Retracking;
32906
+ export type RetrackingForm = io.flow.internal.v0.models.RetrackingForm;
31498
32907
  export type ReturnPolicyDeleted =
31499
32908
  io.flow.internal.v0.models.ReturnPolicyDeleted;
31500
32909
  export type ReturnPolicyItemResultDeleted =
@@ -31510,6 +32919,8 @@ export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
31510
32919
  export type RoutingEntity = io.flow.internal.v0.unions.RoutingEntity;
31511
32920
  export type RoutingMerchant = io.flow.internal.v0.models.RoutingMerchant;
31512
32921
  export type RoutingProcessor = io.flow.internal.v0.models.RoutingProcessor;
32922
+ export type SandboxSetup = io.flow.internal.v0.models.SandboxSetup;
32923
+ export type SandboxSetupForm = io.flow.internal.v0.models.SandboxSetupForm;
31513
32924
  export type Scope = io.flow.internal.v0.enums.Scope;
31514
32925
  export type Screen = io.flow.internal.v0.models.Screen;
31515
32926
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
@@ -31544,6 +32955,8 @@ export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
31544
32955
  export type ShipperAccountInfoForm =
31545
32956
  io.flow.internal.v0.models.ShipperAccountInfoForm;
31546
32957
  export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
32958
+ export type ShippingMethodReference =
32959
+ io.flow.internal.v0.models.ShippingMethodReference;
31547
32960
  export type Shop = io.flow.internal.v0.models.Shop;
31548
32961
  export type ShopForm = io.flow.internal.v0.models.ShopForm;
31549
32962
  export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
@@ -31580,16 +32993,30 @@ export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
31580
32993
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
31581
32994
  export type ShopifyMarketsDangerousGoods =
31582
32995
  io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
32996
+ export type ShopifyMarketsDiscrepancy =
32997
+ io.flow.internal.v0.models.ShopifyMarketsDiscrepancy;
32998
+ export type ShopifyMarketsDiscrepancyData =
32999
+ io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData;
31583
33000
  export type ShopifyMarketsHtsNumberAvailable =
31584
33001
  io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
31585
33002
  export type ShopifyMarketsIncorporationCountry =
31586
33003
  io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
33004
+ export type ShopifyMarketsInternalOrderMetrics =
33005
+ io.flow.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
33006
+ export type ShopifyMarketsMetricsDeleted =
33007
+ io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted;
33008
+ export type ShopifyMarketsMetricsUpserted =
33009
+ io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted;
31587
33010
  export type ShopifyMarketsOrder =
31588
33011
  io.flow.internal.v0.models.ShopifyMarketsOrder;
31589
33012
  export type ShopifyMarketsOrderDeleted =
31590
33013
  io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
31591
33014
  export type ShopifyMarketsOrderUpserted =
31592
33015
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
33016
+ export type ShopifyMarketsOrdersMetrics =
33017
+ io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
33018
+ export type ShopifyMarketsQueuedRecordType =
33019
+ io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
31593
33020
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
31594
33021
  export type ShopifyMarketsShopDeleted =
31595
33022
  io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
@@ -31603,6 +33030,8 @@ export type ShopifyMarketsShopSummary =
31603
33030
  io.flow.internal.v0.models.ShopifyMarketsShopSummary;
31604
33031
  export type ShopifyMarketsShopUpserted =
31605
33032
  io.flow.internal.v0.models.ShopifyMarketsShopUpserted;
33033
+ export type ShopifyMarketsShopifyOrderMetrics =
33034
+ io.flow.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
31606
33035
  export type ShopifyMarketsSubsidiaryCompany =
31607
33036
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
31608
33037
  export type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
@@ -31718,10 +33147,14 @@ export type ShopifyShopStatistics =
31718
33147
  io.flow.internal.v0.models.ShopifyShopStatistics;
31719
33148
  export type ShopifyShopUpserted =
31720
33149
  io.flow.internal.v0.models.ShopifyShopUpserted;
33150
+ export type ShopifyStorePassword =
33151
+ io.flow.internal.v0.models.ShopifyStorePassword;
31721
33152
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
31722
33153
  export type ShopifyWebhookEvent =
31723
33154
  io.flow.internal.v0.models.ShopifyWebhookEvent;
31724
33155
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
33156
+ export type ShopperFees = io.flow.internal.v0.models.ShopperFees;
33157
+ export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
31725
33158
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
31726
33159
  export type SimpleAccountReference =
31727
33160
  io.flow.internal.v0.models.SimpleAccountReference;
@@ -31929,6 +33362,12 @@ export type TransactionPostingMethod =
31929
33362
  io.flow.internal.v0.enums.TransactionPostingMethod;
31930
33363
  export type TransactionReference =
31931
33364
  io.flow.internal.v0.models.TransactionReference;
33365
+ export type TransactionStatement =
33366
+ io.flow.internal.v0.models.TransactionStatement;
33367
+ export type TransactionStatementDeleted =
33368
+ io.flow.internal.v0.models.TransactionStatementDeleted;
33369
+ export type TransactionStatementUpserted =
33370
+ io.flow.internal.v0.models.TransactionStatementUpserted;
31932
33371
  export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
31933
33372
  export type TransferMethod = io.flow.internal.v0.enums.TransferMethod;
31934
33373
  export type TransferTransaction =
@@ -31942,6 +33381,14 @@ export type TransferTransactionUpserted =
31942
33381
  export type TransferTransactionUpsertedV2 =
31943
33382
  io.flow.internal.v0.models.TransferTransactionUpsertedV2;
31944
33383
  export type Tribe = io.flow.internal.v0.models.Tribe;
33384
+ export type TrueUpLabelSummary = io.flow.internal.v0.models.TrueUpLabelSummary;
33385
+ export type TrueUpSurchargeType = io.flow.internal.v0.enums.TrueUpSurchargeType;
33386
+ export type UnassignedMerchantGuid =
33387
+ io.flow.internal.v0.models.UnassignedMerchantGuid;
33388
+ export type UnassignedMerchantGuidDeleted =
33389
+ io.flow.internal.v0.models.UnassignedMerchantGuidDeleted;
33390
+ export type UnassignedMerchantGuidUpserted =
33391
+ io.flow.internal.v0.models.UnassignedMerchantGuidUpserted;
31945
33392
  export type UnclassifiedProductStatistic =
31946
33393
  io.flow.internal.v0.models.UnclassifiedProductStatistic;
31947
33394
  export type UnclassifiedProductStatus =
@@ -31992,11 +33439,20 @@ export type VirtualCardProviderUpserted =
31992
33439
  io.flow.internal.v0.models.VirtualCardProviderUpserted;
31993
33440
  export type VirtualCardTransaction =
31994
33441
  io.flow.internal.v0.models.VirtualCardTransaction;
33442
+ export type WashCarrierActualFile =
33443
+ io.flow.internal.v0.models.WashCarrierActualFile;
33444
+ export type WashCarrierActualFileForm =
33445
+ io.flow.internal.v0.models.WashCarrierActualFileForm;
33446
+ export type WashCarrierActualFileStatus =
33447
+ io.flow.internal.v0.enums.WashCarrierActualFileStatus;
31995
33448
  export type WashExportRequest = io.flow.internal.v0.models.WashExportRequest;
31996
33449
  export type WasteElectricalAndElectronicEquipmentComplianceData =
31997
33450
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
31998
33451
  export type WasteElectricalAndElectronicEquipmentComplianceForm =
31999
33452
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
32000
33453
  export type Webhook = io.flow.internal.v0.models.Webhook;
33454
+ export type WeightSelection = io.flow.internal.v0.enums.WeightSelection;
33455
+ export type WeightsDead = io.flow.internal.v0.models.WeightsDead;
33456
+ export type WeightsDimensional = io.flow.internal.v0.models.WeightsDimensional;
32001
33457
  export type WholeOrderActionForm =
32002
33458
  io.flow.internal.v0.models.WholeOrderActionForm;