@flowio/types 11.24.112 → 11.24.114

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.
@@ -1537,6 +1537,7 @@ declare namespace io.flow.payment.v0.enums {
1537
1537
  | 'invalid_customer'
1538
1538
  | 'invalid_destination'
1539
1539
  | 'unknown';
1540
+ type PaymentFeeType = 'fx' | 'mor';
1540
1541
  type PaymentSourceConfirmationActionType =
1541
1542
  | 'cvv'
1542
1543
  | 'billing_address'
@@ -1577,6 +1578,14 @@ declare namespace io.flow.payment.v0.enums {
1577
1578
  | 'small'
1578
1579
  | 'fullscreen';
1579
1580
  type TokenType = 'permanent' | 'one_time';
1581
+ type TransferStatus = 'succeeded' | 'canceled';
1582
+ type TransferType =
1583
+ | 'payout_to_merchant'
1584
+ | 'disputed_amount_to_merchant'
1585
+ | 'duties_and_taxes_adjustment_to_merchant'
1586
+ | 'disputed_amount_from_merchant'
1587
+ | 'duties_and_taxes_adjustment_from_merchant'
1588
+ | 'refund_from_merchant';
1580
1589
  }
1581
1590
 
1582
1591
  declare namespace io.flow.payment.v0.models {
@@ -1765,6 +1774,7 @@ declare namespace io.flow.payment.v0.models {
1765
1774
  readonly attributes?: Record<string, string>;
1766
1775
  readonly status?: io.flow.payment.v0.enums.CaptureStatus;
1767
1776
  readonly base?: io.flow.common.v0.models.Money;
1777
+ readonly fees?: io.flow.payment.v0.models.PaymentFee[];
1768
1778
  }
1769
1779
 
1770
1780
  interface CaptureError {
@@ -1790,6 +1800,7 @@ declare namespace io.flow.payment.v0.models {
1790
1800
  }
1791
1801
 
1792
1802
  interface CaptureReference {
1803
+ readonly discriminator: 'capture_reference';
1793
1804
  readonly id: string;
1794
1805
  readonly key: string;
1795
1806
  }
@@ -2004,11 +2015,28 @@ declare namespace io.flow.payment.v0.models {
2004
2015
  readonly account_holder_name?: string;
2005
2016
  }
2006
2017
 
2018
+ interface DisputeReference {
2019
+ readonly discriminator: 'dispute_reference';
2020
+ readonly id: string;
2021
+ readonly key: string;
2022
+ }
2023
+
2024
+ interface ExchangedMoney {
2025
+ readonly fx_rate: number;
2026
+ readonly money: io.flow.common.v0.models.Money;
2027
+ }
2028
+
2007
2029
  interface Expiration {
2008
2030
  readonly month: number;
2009
2031
  readonly year: number;
2010
2032
  }
2011
2033
 
2034
+ interface ExternalCard {
2035
+ readonly discriminator: 'external_card';
2036
+ readonly id: string;
2037
+ readonly type?: io.flow.payment.v0.enums.CardType;
2038
+ }
2039
+
2012
2040
  interface GooglePayAuthorizationPayload {
2013
2041
  readonly discriminator: 'google_pay_authorization_payload';
2014
2042
  readonly payload: any /*object*/;
@@ -2145,6 +2173,12 @@ declare namespace io.flow.payment.v0.models {
2145
2173
  readonly codes: io.flow.payment.v0.enums.PaymentErrorCode[];
2146
2174
  }
2147
2175
 
2176
+ interface PaymentFee {
2177
+ readonly type: io.flow.payment.v0.enums.PaymentFeeType;
2178
+ readonly money: io.flow.common.v0.models.Money;
2179
+ readonly base?: io.flow.common.v0.models.Money;
2180
+ }
2181
+
2148
2182
  interface PaymentPaymentRequestReference {
2149
2183
  readonly discriminator: 'payment_request';
2150
2184
  readonly payment_request_id: string;
@@ -2345,6 +2379,7 @@ declare namespace io.flow.payment.v0.models {
2345
2379
  }
2346
2380
 
2347
2381
  interface RefundReference {
2382
+ readonly discriminator: 'refund_reference';
2348
2383
  readonly id: string;
2349
2384
  readonly key: string;
2350
2385
  }
@@ -2470,6 +2505,17 @@ declare namespace io.flow.payment.v0.models {
2470
2505
  readonly network?: io.flow.payment.v0.enums.CardType;
2471
2506
  }
2472
2507
 
2508
+ interface Transfer {
2509
+ readonly id: string;
2510
+ readonly type: io.flow.payment.v0.enums.TransferType;
2511
+ readonly money: io.flow.common.v0.models.Money;
2512
+ readonly transferred_money: io.flow.payment.v0.models.ExchangedMoney;
2513
+ readonly status: io.flow.payment.v0.enums.TransferStatus;
2514
+ readonly created_at: string;
2515
+ readonly reference: io.flow.payment.v0.unions.TransferReference;
2516
+ readonly transferred_at: string;
2517
+ }
2518
+
2473
2519
  interface VirtualCard {
2474
2520
  readonly id: string;
2475
2521
  readonly key: string;
@@ -2573,7 +2619,8 @@ declare namespace io.flow.payment.v0.unions {
2573
2619
  type ExpandableCard =
2574
2620
  | io.flow.payment.v0.models.Card
2575
2621
  | io.flow.payment.v0.models.CardReference
2576
- | io.flow.payment.v0.models.CardSummary;
2622
+ | io.flow.payment.v0.models.CardSummary
2623
+ | io.flow.payment.v0.models.ExternalCard;
2577
2624
  type ExpandablePaymentProcessor =
2578
2625
  | io.flow.payment.v0.models.PaymentProcessor
2579
2626
  | io.flow.payment.v0.models.PaymentProcessorReference;
@@ -2604,6 +2651,10 @@ declare namespace io.flow.payment.v0.unions {
2604
2651
  io.flow.payment.v0.models.ThreedsTwoChallengeRequest;
2605
2652
  type ThreedsIdentifyAction = io.flow.payment.v0.models.ThreedsTwoMethod;
2606
2653
  type TransactionDetails = io.flow.payment.v0.models.TransactionDetailsCard;
2654
+ type TransferReference =
2655
+ | io.flow.payment.v0.models.CaptureReference
2656
+ | io.flow.payment.v0.models.RefundReference
2657
+ | io.flow.payment.v0.models.DisputeReference;
2607
2658
  }
2608
2659
 
2609
2660
  declare namespace io.flow.field.validation.v0.models {
@@ -2759,6 +2810,52 @@ declare namespace io.flow.stripe.v0.enums {
2759
2810
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
2760
2811
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
2761
2812
  type ConfirmationMethod = 'automatic' | 'manual';
2813
+ type ConnectReportBalanceReportingCategory =
2814
+ | 'anticipation_repayment'
2815
+ | 'climate_order_purchase'
2816
+ | 'climate_order_refund'
2817
+ | 'contribution'
2818
+ | 'currency_conversion'
2819
+ | 'fee'
2820
+ | 'other_adjustment'
2821
+ | 'payment_network_reserve_hold'
2822
+ | 'payment_network_reserve_release'
2823
+ | 'payout'
2824
+ | 'payout_minimum_balance_hold'
2825
+ | 'payout_minimum_balance_release'
2826
+ | 'payout_reversal'
2827
+ | 'risk_reserved_funds'
2828
+ | 'stripe_balance_payment_debit'
2829
+ | 'stripe_balance_payment_debit_reversal'
2830
+ | 'topup'
2831
+ | 'topup_reversal'
2832
+ | 'unreconciled_customer_funds';
2833
+ type ConnectReportConnectReportingCategory =
2834
+ | 'advance'
2835
+ | 'advance_funding'
2836
+ | 'connect_collection_transfer'
2837
+ | 'connect_reserved_funds'
2838
+ | 'platform_earning'
2839
+ | 'platform_earning_refund'
2840
+ | 'transfer'
2841
+ | 'transfer_reversal';
2842
+ type ConnectReportIssuingReportingCategory =
2843
+ | 'issuing_authorization_hold'
2844
+ | 'issuing_authorization_release'
2845
+ | 'issuing_disbursement'
2846
+ | 'issuing_dispute'
2847
+ | 'issuing_dispute_fraud_liability_debit'
2848
+ | 'issuing_dispute_provisional_credit'
2849
+ | 'issuing_dispute_provisional_credit_reversal'
2850
+ | 'issuing_transaction';
2851
+ type ConnectReportPaymentReportingCategory =
2852
+ | 'charge'
2853
+ | 'charge_failure'
2854
+ | 'dispute'
2855
+ | 'dispute_reversal'
2856
+ | 'partial_capture_reversal'
2857
+ | 'refund'
2858
+ | 'refund_failure';
2762
2859
  type DeclineCode =
2763
2860
  | 'approve_with_id'
2764
2861
  | 'call_issuer'
@@ -4373,6 +4470,25 @@ declare namespace io.flow.stripe.v0.unions {
4373
4470
  | io.flow.stripe.v0.models.Masterpass
4374
4471
  | io.flow.stripe.v0.models.ApplePay
4375
4472
  | io.flow.stripe.v0.models.VisaCheckout;
4473
+
4474
+ type ConnectReportReportingCategory =
4475
+ | {
4476
+ discriminator: 'connect_report_payment_reporting_category';
4477
+ value: io.flow.stripe.v0.enums.ConnectReportPaymentReportingCategory;
4478
+ }
4479
+ | {
4480
+ discriminator: 'connect_report_balance_reporting_category';
4481
+ value: io.flow.stripe.v0.enums.ConnectReportBalanceReportingCategory;
4482
+ }
4483
+ | {
4484
+ discriminator: 'connect_report_issuing_reporting_category';
4485
+ value: io.flow.stripe.v0.enums.ConnectReportIssuingReportingCategory;
4486
+ }
4487
+ | {
4488
+ discriminator: 'connect_report_connect_reporting_category';
4489
+ value: io.flow.stripe.v0.enums.ConnectReportConnectReportingCategory;
4490
+ };
4491
+
4376
4492
  type PaymentMethodData =
4377
4493
  | io.flow.stripe.v0.models.PaymentMethodDataCard
4378
4494
  | io.flow.stripe.v0.models.PaymentMethodDataIdeal
@@ -4487,8 +4603,6 @@ declare namespace io.flow.customer.v0.models {
4487
4603
  declare namespace io.flow.label.v0.enums {
4488
4604
  type CostEstimateSource = 'flow' | 'channel';
4489
4605
  type Direction = 'outbound' | 'return';
4490
- type EstimateOrigin = 'Shopify' | 'GlobalE' | 'Aftership' | 'Carrier';
4491
- type EstimateType = 'Estimated' | 'Final';
4492
4606
  type LabelRequestMethod =
4493
4607
  | 'flow_web_sync'
4494
4608
  | 'channel_web_async'
@@ -4593,15 +4707,6 @@ declare namespace io.flow.label.v0.models {
4593
4707
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
4594
4708
  }
4595
4709
 
4596
- interface Estimate {
4597
- readonly id: string;
4598
- readonly organization_id: string;
4599
- readonly label_id: string;
4600
- readonly estimate: io.flow.label.v0.models.ShippingLabelHopSummary;
4601
- readonly type: io.flow.label.v0.enums.EstimateType;
4602
- readonly origin?: io.flow.label.v0.enums.EstimateOrigin;
4603
- }
4604
-
4605
4710
  interface LabelOrderSummary {
4606
4711
  readonly id: string;
4607
4712
  readonly number: string;
@@ -6048,7 +6153,12 @@ declare namespace io.flow.brickftp.v0.unions {
6048
6153
 
6049
6154
  declare namespace io.flow.units.v0.enums {
6050
6155
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
6051
- type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
6156
+ type UnitOfVolume =
6157
+ | 'cubic_inch'
6158
+ | 'cubic_foot'
6159
+ | 'cubic_millimeter'
6160
+ | 'cubic_centimeter'
6161
+ | 'cubic_meter';
6052
6162
  type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
6053
6163
  }
6054
6164
 
@@ -9443,6 +9553,9 @@ declare namespace io.flow.common.v0.enums {
9443
9553
  | 'inch'
9444
9554
  | 'foot'
9445
9555
  | 'cubic_inch'
9556
+ | 'cubic_foot'
9557
+ | 'cubic_millimeter'
9558
+ | 'cubic_centimeter'
9446
9559
  | 'cubic_meter'
9447
9560
  | 'gram'
9448
9561
  | 'kilogram'
@@ -10284,7 +10397,7 @@ declare namespace io.flow.experience.v0.enums {
10284
10397
  | 'by_quantity_percentage';
10285
10398
  type OrderStatus = 'open' | 'submitted';
10286
10399
  type OrderStorage = 'do_not_persist' | 'persist';
10287
- type OrderType = 'standard' | 'replacement';
10400
+ type OrderType = 'standard' | 'replacement' | 'edit';
10288
10401
  type OrganizationPaymentMethodTag = 'deny';
10289
10402
  type PaymentMethodRuleContentKey = 'description';
10290
10403
  type PriceFacetBoundary = 'min' | 'max';
@@ -11450,6 +11563,7 @@ declare namespace io.flow.ratecard.v0.models {
11450
11563
  interface DutiesTaxesPaidSurchargeServiceFee {
11451
11564
  readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
11452
11565
  readonly amount: io.flow.common.v0.models.Money;
11566
+ readonly destination_countries?: string[];
11453
11567
  readonly starts_at?: string;
11454
11568
  readonly ends_at?: string;
11455
11569
  }
@@ -11717,6 +11831,8 @@ declare namespace io.flow.ratecard.v0.models {
11717
11831
  readonly discriminator: 'ratecard_estimate_v4';
11718
11832
  readonly hops: io.flow.ratecard.v0.models.HopV2[];
11719
11833
  readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
11834
+ readonly distance_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
11835
+ readonly weight_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
11720
11836
  readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
11721
11837
  readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
11722
11838
  readonly ratecard_id?: string;
@@ -13837,9 +13953,9 @@ declare namespace io.flow.billing.v0.enums {
13837
13953
  | 'virtual_card_refund'
13838
13954
  | 'failed_payout'
13839
13955
  | 'tax_refund'
13956
+ | 'duty_refund'
13840
13957
  | 'non_l4l_tax_duty_fx'
13841
- | 'ge_revenue_share'
13842
- | 'tax_duty_delta';
13958
+ | 'ge_revenue_share';
13843
13959
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
13844
13960
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
13845
13961
  }
@@ -16305,8 +16421,7 @@ declare namespace io.flow.internal.v0.enums {
16305
16421
  | 'non_l4l_tax_duty_fx'
16306
16422
  | 'tax_refund'
16307
16423
  | 'duty_refund'
16308
- | 'ge_revenue_share'
16309
- | 'tax_duty_delta';
16424
+ | 'ge_revenue_share';
16310
16425
  type CalculatorEngine =
16311
16426
  | 'dtce_with_deminimis'
16312
16427
  | 'dtce_with_inclusive_pricing'
@@ -16418,7 +16533,7 @@ declare namespace io.flow.internal.v0.enums {
16418
16533
  type ClassificationDecision = 'Accept' | 'Reject';
16419
16534
  type ClassificationErrorCode = 'generic_error';
16420
16535
  type ClassificationPlatform = 'GlobalE' | 'Flow' | 'Borderfree';
16421
- type ClassificationType = 'None' | 'Manual' | 'ML';
16536
+ type ClassificationType = 'None' | 'Manual' | 'ML' | 'System';
16422
16537
  type ClothingAgeClassification =
16423
16538
  | 'None'
16424
16539
  | 'AgeKidsGeneral'
@@ -16427,6 +16542,13 @@ declare namespace io.flow.internal.v0.enums {
16427
16542
  | 'Age13_14';
16428
16543
  type Company = 'globale' | 'flow';
16429
16544
  type ComplianceType = 'weee';
16545
+ type ConnectReportTransferType =
16546
+ | 'ManagedMarketsRefundDebit'
16547
+ | 'ManagedMarketsDutiesAndTaxesAdjustmentDebit'
16548
+ | 'ManagedMarketsDisputedAmountDebit'
16549
+ | 'ManagedMarketsChargeCredit'
16550
+ | 'ManagedMarketsDisputeWonAmountCredit'
16551
+ | 'ManagedMarketsDutiesAndTaxesAdjustmentCredit';
16430
16552
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
16431
16553
  type ContentStatus = 'draft' | 'live' | 'archived';
16432
16554
  type ContentType = 'text' | 'html';
@@ -16476,14 +16598,10 @@ declare namespace io.flow.internal.v0.enums {
16476
16598
  | 'override'
16477
16599
  | 'preferential_rate';
16478
16600
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
16479
- type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
16601
+ type DutyTransactionType = 'adjustment' | 'reversal' | 'duty' | 'refund';
16480
16602
  type EmptyAttribute = 'irrelevant';
16481
16603
  type ErpFileType = 'vendor';
16482
16604
  type EventType =
16483
- | 'adjusted_estimates_upserted'
16484
- | 'adjusted_estimates_deleted'
16485
- | 'shipping_estimate_upserted'
16486
- | 'shipping_estimate_deleted'
16487
16605
  | 'adyen_authorization_deleted'
16488
16606
  | 'adyen_authorization_upserted'
16489
16607
  | 'adyen_cancel_deleted'
@@ -16682,6 +16800,8 @@ declare namespace io.flow.internal.v0.enums {
16682
16800
  | 'order_validation_failure_deleted'
16683
16801
  | 'order_validation_upserted'
16684
16802
  | 'order_validation_deleted'
16803
+ | 'label_creation_job_upserted'
16804
+ | 'label_creation_job_deleted'
16685
16805
  | 'label_tracking_summary_upserted'
16686
16806
  | 'label_tracking_summary_deleted'
16687
16807
  | 'logistics_capabilities_upserted'
@@ -16691,11 +16811,6 @@ declare namespace io.flow.internal.v0.enums {
16691
16811
  | 'order_combined_shipment_deleted'
16692
16812
  | 'order_fulfillment_deleted'
16693
16813
  | 'order_fulfillment_upserted'
16694
- | 'order_placed'
16695
- | 'ready_to_fulfill'
16696
- | 'fulfillment_cancel'
16697
- | 'order_shipped'
16698
- | 'items_shipped'
16699
16814
  | 'organization_business_entity_deleted'
16700
16815
  | 'organization_business_entity_upserted'
16701
16816
  | 'organization_status_change_upserted'
@@ -16714,6 +16829,8 @@ declare namespace io.flow.internal.v0.enums {
16714
16829
  | 'partner_tracking_subscription_deleted'
16715
16830
  | 'spp_tracker_update_request_upserted'
16716
16831
  | 'spp_tracker_update_request_deleted'
16832
+ | 'partner_request_upserted'
16833
+ | 'partner_request_deleted'
16717
16834
  | 'internal_authorization_upserted'
16718
16835
  | 'internal_authorization_deleted'
16719
16836
  | 'afterpay_authorization_upserted'
@@ -16811,6 +16928,10 @@ declare namespace io.flow.internal.v0.enums {
16811
16928
  | 'shopify_monitoring_order_monitor_event_deleted'
16812
16929
  | 'shopify_order_fulfillments_snapshot_upserted'
16813
16930
  | 'shopify_order_fulfillments_snapshot_deleted'
16931
+ | 'shopify_merchant_plan_upserted'
16932
+ | 'shopify_merchant_plan_deleted'
16933
+ | 'shopify_dispute_upserted'
16934
+ | 'shopify_dispute_deleted'
16814
16935
  | 'stripe_authorization_deleted'
16815
16936
  | 'stripe_authorization_upserted'
16816
16937
  | 'stripe_reversal_deleted'
@@ -16821,6 +16942,8 @@ declare namespace io.flow.internal.v0.enums {
16821
16942
  | 'stripe_refund_upserted'
16822
16943
  | 'stripe_dispute_upserted'
16823
16944
  | 'stripe_dispute_deleted'
16945
+ | 'stripe_connect_report_record_upserted'
16946
+ | 'stripe_connect_report_record_deleted'
16824
16947
  | 'liability_remittance_plan_upserted'
16825
16948
  | 'liability_remittance_plan_deleted'
16826
16949
  | 'tracking_processing_error_upserted'
@@ -16886,8 +17009,14 @@ declare namespace io.flow.internal.v0.enums {
16886
17009
  type HarmonizationDecisionSource =
16887
17010
  | 'human'
16888
17011
  | 'legacy_model'
16889
- | 'enterprise_model';
17012
+ | 'enterprise_model'
17013
+ | 'merchant';
16890
17014
  type HttpMethod = 'get' | 'post';
17015
+ type InternalPaymentEntityType =
17016
+ | 'authorization'
17017
+ | 'capture'
17018
+ | 'refund'
17019
+ | 'dispute';
16891
17020
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
16892
17021
  type ItemClassificationStatus =
16893
17022
  | 'unknown'
@@ -16955,6 +17084,12 @@ declare namespace io.flow.internal.v0.enums {
16955
17084
  | 'negative_balance_guarantee'
16956
17085
  | 'bank_payment_failure'
16957
17086
  | 'non_fraud_chargeback';
17087
+ type MerchantOfRecord =
17088
+ | 'global_e_united_states'
17089
+ | 'global_e_united_kingdom'
17090
+ | 'global_e_canada'
17091
+ | 'global_e_netherlands';
17092
+ type MerchantOverrideStatus = 'in_review' | 'accepted' | 'rejected';
16958
17093
  type MixedBagWeight = '0' | '1' | '2';
16959
17094
  type NatureOfSale =
16960
17095
  | 'consumer'
@@ -16989,7 +17124,6 @@ declare namespace io.flow.internal.v0.enums {
16989
17124
  | 'dtce'
16990
17125
  | 'restrictions'
16991
17126
  | 'organization_status'
16992
- | 'category_constraints'
16993
17127
  | 'miscellaneous';
16994
17128
  type OnboardingAutomationProcessState =
16995
17129
  | 'not_started'
@@ -17116,6 +17250,8 @@ declare namespace io.flow.internal.v0.enums {
17116
17250
  | 'risky_velocity'
17117
17251
  | 'suspicious_behavior'
17118
17252
  | 'suspicious_past_activity';
17253
+ type ReportFileStatus = 'processing' | 'failed' | 'succeeded';
17254
+ type ReportFileType = 'stripe_connect_report';
17119
17255
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
17120
17256
  type ReportPaymentType = 'credit' | 'debit';
17121
17257
  type ReportStatus =
@@ -17551,29 +17687,6 @@ declare namespace io.flow.internal.v0.models {
17551
17687
  readonly province_code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
17552
17688
  }
17553
17689
 
17554
- interface AdjustedEstimates {
17555
- readonly id: string;
17556
- readonly organization_id: string;
17557
- readonly label_id: string;
17558
- readonly estimates: io.flow.label.v0.models.ShippingLabelHopSummary[];
17559
- }
17560
-
17561
- interface AdjustedEstimatesDeleted {
17562
- readonly discriminator: 'adjusted_estimates_deleted';
17563
- readonly event_id: string;
17564
- readonly timestamp: string;
17565
- readonly organization: string;
17566
- readonly id: string;
17567
- }
17568
-
17569
- interface AdjustedEstimatesUpserted {
17570
- readonly discriminator: 'adjusted_estimates_upserted';
17571
- readonly event_id: string;
17572
- readonly timestamp: string;
17573
- readonly organization: string;
17574
- readonly adjusted_estimates: io.flow.internal.v0.models.AdjustedEstimates;
17575
- }
17576
-
17577
17690
  interface AdjustmentAmountFixed {
17578
17691
  readonly discriminator: 'fixed';
17579
17692
  readonly amount: io.flow.common.v0.models.Money;
@@ -21731,19 +21844,6 @@ declare namespace io.flow.internal.v0.models {
21731
21844
  readonly vat_registration_number: string;
21732
21845
  }
21733
21846
 
21734
- interface FulfillmentCancel {
21735
- readonly discriminator: 'fulfillment_cancel';
21736
- readonly event_id: string;
21737
- readonly timestamp: string;
21738
- readonly organization: string;
21739
- readonly order_number: string;
21740
- readonly order: io.flow.experience.v0.models.Order;
21741
- readonly fulfillments: io.flow.order.management.v0.models.Fulfillment[];
21742
- readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
21743
- readonly reason: io.flow.order.management.v0.enums.CancelReason;
21744
- readonly cancelled_lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
21745
- }
21746
-
21747
21847
  interface FulfillmentCarrier {
21748
21848
  readonly id: string;
21749
21849
  readonly service_id?: string;
@@ -21830,14 +21930,6 @@ declare namespace io.flow.internal.v0.models {
21830
21930
  readonly id: string;
21831
21931
  }
21832
21932
 
21833
- interface FulfillmentShipmentTracking {
21834
- readonly fulfillment_key: string;
21835
- readonly flow_tracking_number: string;
21836
- readonly carrier_tracking_number?: string;
21837
- readonly carrier_tracking_url?: string;
21838
- readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
21839
- }
21840
-
21841
21933
  interface FulfillmentShopperBreakdown {
21842
21934
  readonly shipping: io.flow.internal.v0.models.ReportingMonetaryValue;
21843
21935
  readonly fees: io.flow.internal.v0.models.ReportingShopperFees;
@@ -22587,18 +22679,6 @@ declare namespace io.flow.internal.v0.models {
22587
22679
  readonly values: string[];
22588
22680
  }
22589
22681
 
22590
- interface ItemsShipped {
22591
- readonly discriminator: 'items_shipped';
22592
- readonly event_id: string;
22593
- readonly timestamp: string;
22594
- readonly organization: string;
22595
- readonly order_number: string;
22596
- readonly order: io.flow.experience.v0.models.Order;
22597
- readonly fulfillments: io.flow.order.management.v0.models.Fulfillment[];
22598
- readonly flow_tracking_number: string;
22599
- readonly shipped_item_values: io.flow.internal.v0.models.ShippedItemValue[];
22600
- }
22601
-
22602
22682
  interface JeanDemoItem {
22603
22683
  readonly id: string;
22604
22684
  readonly name: string;
@@ -22666,14 +22746,31 @@ declare namespace io.flow.internal.v0.models {
22666
22746
  readonly service_id?: string;
22667
22747
  readonly carrier_tracking_number?: string;
22668
22748
  readonly flow_tracking_number?: string;
22749
+ readonly label_id?: string;
22669
22750
  readonly errors: string[];
22670
22751
  }
22671
22752
 
22753
+ interface LabelCreationJobDeleted {
22754
+ readonly discriminator: 'label_creation_job_deleted';
22755
+ readonly event_id: string;
22756
+ readonly timestamp: string;
22757
+ readonly organization: string;
22758
+ readonly id: string;
22759
+ }
22760
+
22672
22761
  interface LabelCreationJobSummary {
22673
22762
  readonly reference_id: string;
22674
22763
  readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
22675
22764
  }
22676
22765
 
22766
+ interface LabelCreationJobUpserted {
22767
+ readonly discriminator: 'label_creation_job_upserted';
22768
+ readonly event_id: string;
22769
+ readonly timestamp: string;
22770
+ readonly organization: string;
22771
+ readonly label_creation_job: io.flow.internal.v0.models.LabelCreationJob;
22772
+ }
22773
+
22677
22774
  interface LabelCreationRequestForm {
22678
22775
  readonly organization: string;
22679
22776
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
@@ -22796,6 +22893,7 @@ declare namespace io.flow.internal.v0.models {
22796
22893
  readonly destination_country?: string;
22797
22894
  readonly reference_id?: string;
22798
22895
  readonly logistics_integration_provider?: string;
22896
+ readonly tax_lrp_liabilities?: io.flow.internal.v0.models.Liability[];
22799
22897
  }
22800
22898
 
22801
22899
  interface LabelSummary {
@@ -23222,6 +23320,7 @@ declare namespace io.flow.internal.v0.models {
23222
23320
  readonly paid_at?: string;
23223
23321
  readonly posted_at?: string;
23224
23322
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23323
+ readonly channel_statement?: io.flow.internal.v0.models.BillingStatementReference;
23225
23324
  readonly created_at: string;
23226
23325
  readonly original_at?: string;
23227
23326
  }
@@ -23429,6 +23528,23 @@ declare namespace io.flow.internal.v0.models {
23429
23528
  readonly currency?: string;
23430
23529
  }
23431
23530
 
23531
+ interface MerchantOverride {
23532
+ readonly id: string;
23533
+ readonly organization_id: string;
23534
+ readonly item_number: string;
23535
+ readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus;
23536
+ readonly hs6_code: string;
23537
+ readonly merchant_hs6_code: string;
23538
+ readonly created_at: string;
23539
+ readonly updated_at: string;
23540
+ readonly updated_by_user_id: string;
23541
+ }
23542
+
23543
+ interface MerchantOverrideDecisionForm {
23544
+ readonly id: string;
23545
+ readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus;
23546
+ }
23547
+
23432
23548
  interface MerchantSearchResult {
23433
23549
  readonly organization_id: string;
23434
23550
  readonly shop_name?: string;
@@ -23807,16 +23923,6 @@ declare namespace io.flow.internal.v0.models {
23807
23923
  readonly placeholder: string;
23808
23924
  }
23809
23925
 
23810
- interface OrderPlaced {
23811
- readonly discriminator: 'order_placed';
23812
- readonly event_id: string;
23813
- readonly timestamp: string;
23814
- readonly organization: string;
23815
- readonly order_number: string;
23816
- readonly order: io.flow.experience.v0.models.Order;
23817
- readonly allocation: io.flow.experience.v0.models.AllocationV2;
23818
- }
23819
-
23820
23926
  interface OrderRatesDataV3 {
23821
23927
  readonly organization: string;
23822
23928
  readonly order_id: string;
@@ -23869,17 +23975,6 @@ declare namespace io.flow.internal.v0.models {
23869
23975
  readonly to_service_id: string;
23870
23976
  }
23871
23977
 
23872
- interface OrderShipped {
23873
- readonly discriminator: 'order_shipped';
23874
- readonly event_id: string;
23875
- readonly timestamp: string;
23876
- readonly organization: string;
23877
- readonly order_number: string;
23878
- readonly order: io.flow.experience.v0.models.Order;
23879
- readonly fulfillments: io.flow.order.management.v0.models.Fulfillment[];
23880
- readonly shipment_trackings: io.flow.internal.v0.models.FulfillmentShipmentTracking[];
23881
- }
23882
-
23883
23978
  interface OrderSubmissionForm {
23884
23979
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
23885
23980
  }
@@ -24227,6 +24322,9 @@ declare namespace io.flow.internal.v0.models {
24227
24322
  readonly last_order_submitted_at?: string;
24228
24323
  readonly matching_positive_keywords: string[];
24229
24324
  readonly product_categories: string[];
24325
+ readonly matching_negative_keywords: string[];
24326
+ readonly decisions_user_ids: string[];
24327
+ readonly restriction_rule_ids: string[];
24230
24328
  }
24231
24329
 
24232
24330
  interface OrganizationMetadataDeleted {
@@ -24636,6 +24734,33 @@ declare namespace io.flow.internal.v0.models {
24636
24734
  readonly partner_organization_settings: io.flow.internal.v0.models.PartnerOrganizationSettings;
24637
24735
  }
24638
24736
 
24737
+ interface PartnerRequest {
24738
+ readonly id: string;
24739
+ readonly partner_id: string;
24740
+ readonly organization_id: string;
24741
+ readonly method: string;
24742
+ readonly path: string;
24743
+ readonly request_id: string;
24744
+ readonly parameters?: Record<string, string>;
24745
+ readonly request_body?: any /*object*/;
24746
+ readonly response_body?: any /*object*/;
24747
+ readonly reference_id?: string;
24748
+ }
24749
+
24750
+ interface PartnerRequestDeleted {
24751
+ readonly discriminator: 'partner_request_deleted';
24752
+ readonly event_id: string;
24753
+ readonly timestamp: string;
24754
+ readonly id: string;
24755
+ }
24756
+
24757
+ interface PartnerRequestUpserted {
24758
+ readonly discriminator: 'partner_request_upserted';
24759
+ readonly event_id: string;
24760
+ readonly timestamp: string;
24761
+ readonly partner_request: io.flow.internal.v0.models.PartnerRequest;
24762
+ }
24763
+
24639
24764
  interface PartnerTrackingSubscriptionDeleted {
24640
24765
  readonly discriminator: 'partner_tracking_subscription_deleted';
24641
24766
  readonly event_id: string;
@@ -25767,17 +25892,6 @@ declare namespace io.flow.internal.v0.models {
25767
25892
  readonly summaries: io.flow.internal.v0.models.RateNameSummary[];
25768
25893
  }
25769
25894
 
25770
- interface ReadyToFulfill {
25771
- readonly discriminator: 'ready_to_fulfill';
25772
- readonly event_id: string;
25773
- readonly timestamp: string;
25774
- readonly organization: string;
25775
- readonly order_number: string;
25776
- readonly order: io.flow.experience.v0.models.Order;
25777
- readonly fulfillments?: io.flow.order.management.v0.models.Fulfillment[];
25778
- readonly fulfillment_item_allocation_details?: io.flow.order.management.event.v0.models.FulfillmentItemAllocationDetails[];
25779
- }
25780
-
25781
25895
  interface ReboundConfiguration {
25782
25896
  readonly id: string;
25783
25897
  readonly login: string;
@@ -25856,6 +25970,16 @@ declare namespace io.flow.internal.v0.models {
25856
25970
  readonly account_number: string;
25857
25971
  }
25858
25972
 
25973
+ interface ReportFile {
25974
+ readonly id: string;
25975
+ readonly processor: string;
25976
+ readonly report_file_type: io.flow.internal.v0.enums.ReportFileType;
25977
+ readonly merchant_of_record_identifier: io.flow.internal.v0.enums.MerchantOfRecord;
25978
+ readonly file_name: string;
25979
+ readonly status: io.flow.internal.v0.enums.ReportFileStatus;
25980
+ readonly failure_reason?: string;
25981
+ }
25982
+
25859
25983
  interface ReportFilter {
25860
25984
  readonly source_type?: io.flow.internal.v0.enums.SourceTypeFilter;
25861
25985
  }
@@ -25894,6 +26018,21 @@ declare namespace io.flow.internal.v0.models {
25894
26018
  readonly created_at: string;
25895
26019
  }
25896
26020
 
26021
+ interface ReportRecordError {
26022
+ readonly id: string;
26023
+ readonly file_id: string;
26024
+ readonly line_number: number;
26025
+ readonly failure_reason: string;
26026
+ }
26027
+
26028
+ interface ReportRecordRetryQueue {
26029
+ readonly id: string;
26030
+ readonly report_file_type: io.flow.internal.v0.enums.ReportFileType;
26031
+ readonly type: io.flow.internal.v0.enums.InternalPaymentEntityType;
26032
+ readonly report_record_id: string;
26033
+ readonly dependent_source_id: string;
26034
+ }
26035
+
25897
26036
  interface ReportRuleDecision {
25898
26037
  readonly rule_id: string;
25899
26038
  readonly rule_name: string;
@@ -26164,8 +26303,11 @@ declare namespace io.flow.internal.v0.models {
26164
26303
  readonly organization_id: string;
26165
26304
  readonly restriction_product_id: string;
26166
26305
  readonly product_id: string;
26306
+ readonly item_numbers: string[];
26307
+ readonly primary_item_number?: string;
26167
26308
  readonly name: string;
26168
26309
  readonly price: io.flow.common.v0.models.Price;
26310
+ readonly hs_code?: string;
26169
26311
  readonly description: string;
26170
26312
  readonly categories: string[];
26171
26313
  readonly images: io.flow.catalog.v0.models.Image[];
@@ -26183,6 +26325,7 @@ declare namespace io.flow.internal.v0.models {
26183
26325
  readonly user_ids?: string[];
26184
26326
  readonly categories?: string[];
26185
26327
  readonly product_name_query?: string;
26328
+ readonly hs6?: string;
26186
26329
  readonly positive_keywords?: string[];
26187
26330
  readonly negative_keywords?: string[];
26188
26331
  readonly product_id?: string;
@@ -26311,6 +26454,7 @@ declare namespace io.flow.internal.v0.models {
26311
26454
  readonly user_ids?: string[];
26312
26455
  readonly categories?: string[];
26313
26456
  readonly product_name_query?: string;
26457
+ readonly hs6?: string;
26314
26458
  readonly product_id?: string;
26315
26459
  }
26316
26460
 
@@ -26431,7 +26575,7 @@ declare namespace io.flow.internal.v0.models {
26431
26575
  readonly num_products_transacting_prs: number;
26432
26576
  readonly oldest_pr_product_date_setup_complete: string;
26433
26577
  readonly oldest_pr_date_transacting: string;
26434
- readonly percent_products_reviewed_transacting: number;
26578
+ readonly percent_products_reviewed_transacting?: number;
26435
26579
  readonly num_pv_inflow_net_new: number;
26436
26580
  readonly num_pv_outflow_human_decisions: number;
26437
26581
  readonly num_pv_outflow_auto_review_decisions: number;
@@ -26441,6 +26585,9 @@ declare namespace io.flow.internal.v0.models {
26441
26585
  readonly num_pr_outflow_auto_review_decisions: number;
26442
26586
  readonly num_pr_outflow_side_effect_decisions: number;
26443
26587
  readonly num_pending_decisions_transacting: number;
26588
+ readonly oldest_insufficient_details_pv_onboarding?: string;
26589
+ readonly oldest_insufficient_details_pv_active?: string;
26590
+ readonly oldest_insufficient_details_pv_transacting?: string;
26444
26591
  }
26445
26592
 
26446
26593
  interface RestrictionsDailyopsDeleted {
@@ -26740,29 +26887,6 @@ declare namespace io.flow.internal.v0.models {
26740
26887
  readonly customer_id: string;
26741
26888
  }
26742
26889
 
26743
- interface ShippedItemValue {
26744
- readonly item: io.flow.common.v0.models.CatalogItemReference;
26745
- readonly taxes: io.flow.common.v0.models.PriceWithBase;
26746
- readonly duties: io.flow.common.v0.models.PriceWithBase;
26747
- readonly total: io.flow.common.v0.models.PriceWithBase;
26748
- }
26749
-
26750
- interface ShippingEstimateDeleted {
26751
- readonly discriminator: 'shipping_estimate_deleted';
26752
- readonly event_id: string;
26753
- readonly timestamp: string;
26754
- readonly organization: string;
26755
- readonly id: string;
26756
- }
26757
-
26758
- interface ShippingEstimateUpserted {
26759
- readonly discriminator: 'shipping_estimate_upserted';
26760
- readonly event_id: string;
26761
- readonly timestamp: string;
26762
- readonly organization: string;
26763
- readonly estimate: io.flow.label.v0.models.Estimate;
26764
- }
26765
-
26766
26890
  interface ShippingLane {
26767
26891
  readonly origin: string;
26768
26892
  readonly destination: string;
@@ -26810,6 +26934,36 @@ declare namespace io.flow.internal.v0.models {
26810
26934
  readonly code: string;
26811
26935
  }
26812
26936
 
26937
+ interface ShopifyDispute {
26938
+ readonly id: string;
26939
+ readonly organization_id: string;
26940
+ readonly authorization_id: string;
26941
+ readonly amount: number;
26942
+ readonly currency: string;
26943
+ readonly status: string;
26944
+ readonly category: string;
26945
+ readonly attributes?: Record<string, string>;
26946
+ readonly external_reference_id: string;
26947
+ readonly issued_at: string;
26948
+ readonly updated_at: string;
26949
+ }
26950
+
26951
+ interface ShopifyDisputeDeleted {
26952
+ readonly discriminator: 'shopify_dispute_deleted';
26953
+ readonly event_id: string;
26954
+ readonly timestamp: string;
26955
+ readonly organization: string;
26956
+ readonly id: string;
26957
+ }
26958
+
26959
+ interface ShopifyDisputeUpserted {
26960
+ readonly discriminator: 'shopify_dispute_upserted';
26961
+ readonly event_id: string;
26962
+ readonly timestamp: string;
26963
+ readonly organization: string;
26964
+ readonly dispute: io.flow.internal.v0.models.ShopifyDispute;
26965
+ }
26966
+
26813
26967
  interface ShopifyExperienceShortId {
26814
26968
  readonly id: string;
26815
26969
  readonly experience: io.flow.experience.v0.models.ExperienceReference;
@@ -27174,6 +27328,20 @@ declare namespace io.flow.internal.v0.models {
27174
27328
  readonly plan: io.flow.internal.v0.enums.ShopifyPlanType;
27175
27329
  }
27176
27330
 
27331
+ interface ShopifyMerchantPlanDeleted {
27332
+ readonly discriminator: 'shopify_merchant_plan_deleted';
27333
+ readonly event_id: string;
27334
+ readonly timestamp: string;
27335
+ readonly id: string;
27336
+ }
27337
+
27338
+ interface ShopifyMerchantPlanUpserted {
27339
+ readonly discriminator: 'shopify_merchant_plan_upserted';
27340
+ readonly event_id: string;
27341
+ readonly timestamp: string;
27342
+ readonly shopify_merchant_plan: io.flow.internal.v0.models.ShopifyMerchantPlan;
27343
+ }
27344
+
27177
27345
  interface ShopifyMetadata {
27178
27346
  readonly domain: string;
27179
27347
  readonly myshopify_domain: string;
@@ -27915,6 +28083,63 @@ declare namespace io.flow.internal.v0.models {
27915
28083
  readonly capture: io.flow.internal.v0.models.StripeInternalCapture;
27916
28084
  }
27917
28085
 
28086
+ interface StripeConnectReportRecord {
28087
+ readonly id: string;
28088
+ readonly file_id: string;
28089
+ readonly line_number: number;
28090
+ readonly created_utc: string;
28091
+ readonly charge_id?: string;
28092
+ readonly payment_intent_id?: string;
28093
+ readonly gross: number;
28094
+ readonly fee: number;
28095
+ readonly net: number;
28096
+ readonly currency: string;
28097
+ readonly connected_account: string;
28098
+ readonly reporting_category: io.flow.stripe.v0.unions.ConnectReportReportingCategory;
28099
+ readonly dispute_reason?: string;
28100
+ readonly available_on_utc: string;
28101
+ readonly automatic_payout_effective_at_utc?: string;
28102
+ readonly source_id?: string;
28103
+ readonly customer_facing_amount?: number;
28104
+ readonly customer_facing_currency?: string;
28105
+ readonly payment_method_type?: string;
28106
+ readonly card_brand?: string;
28107
+ readonly statement_descriptor?: string;
28108
+ readonly payment_metadata?: io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata;
28109
+ readonly transfer_metadata?: any /*object*/;
28110
+ }
28111
+
28112
+ interface StripeConnectReportRecordDeleted {
28113
+ readonly discriminator: 'stripe_connect_report_record_deleted';
28114
+ readonly event_id: string;
28115
+ readonly timestamp: string;
28116
+ readonly id: string;
28117
+ }
28118
+
28119
+ interface StripeConnectReportRecordPaymentMetadata {
28120
+ readonly shop_id?: number;
28121
+ readonly shop_plan?: io.flow.internal.v0.enums.ShopifyPlanType;
28122
+ readonly checkout_id?: string;
28123
+ readonly order_id?: number;
28124
+ readonly order_transaction_id?: number;
28125
+ readonly transfer_type?: io.flow.internal.v0.enums.ConnectReportTransferType;
28126
+ readonly transfer_exchange_rate?: number;
28127
+ readonly charge_total?: number;
28128
+ readonly charge_currency?: string;
28129
+ readonly charge_exchange_rate?: number;
28130
+ readonly duties?: number;
28131
+ readonly import_taxes?: number;
28132
+ readonly mor_fee?: number;
28133
+ readonly fx_fee?: number;
28134
+ }
28135
+
28136
+ interface StripeConnectReportRecordUpserted {
28137
+ readonly discriminator: 'stripe_connect_report_record_upserted';
28138
+ readonly event_id: string;
28139
+ readonly timestamp: string;
28140
+ readonly record: io.flow.internal.v0.models.StripeConnectReportRecord;
28141
+ }
28142
+
27918
28143
  interface StripeDisputeDeleted {
27919
28144
  readonly discriminator: 'stripe_dispute_deleted';
27920
28145
  readonly event_id: string;
@@ -28216,40 +28441,6 @@ declare namespace io.flow.internal.v0.models {
28216
28441
  readonly category_code?: string;
28217
28442
  }
28218
28443
 
28219
- interface TaxDutyDeltaMetadataActual {
28220
- readonly processing: io.flow.internal.v0.models.TaxDutyDeltaMetadataActualProcessing;
28221
- }
28222
-
28223
- interface TaxDutyDeltaMetadataActualProcessing {
28224
- readonly capture: io.flow.common.v0.models.Money;
28225
- readonly fees: io.flow.common.v0.models.Money;
28226
- readonly transfer: io.flow.common.v0.models.Money;
28227
- readonly total: io.flow.common.v0.models.Money;
28228
- }
28229
-
28230
- interface TaxDutyDeltaMetadataExpected {
28231
- readonly processing: io.flow.internal.v0.models.TaxDutyDeltaMetadataExpectedProcessing;
28232
- }
28233
-
28234
- interface TaxDutyDeltaMetadataExpectedProcessing {
28235
- readonly tax: io.flow.common.v0.models.Money;
28236
- readonly duty: io.flow.common.v0.models.Money;
28237
- readonly total: io.flow.common.v0.models.Money;
28238
- }
28239
-
28240
- interface TaxDutyDeltaTransaction {
28241
- readonly discriminator: 'tax_duty_delta_transaction';
28242
- readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
28243
- readonly id: string;
28244
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
28245
- readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
28246
- readonly posted_at?: string;
28247
- readonly value: io.flow.common.v0.models.Price;
28248
- readonly description: string;
28249
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
28250
- readonly created_at: string;
28251
- }
28252
-
28253
28444
  interface TaxRemittanceTransaction {
28254
28445
  readonly discriminator: 'tax_remittance_transaction';
28255
28446
  readonly order: io.flow.internal.v0.models.BillingOrderSummary;
@@ -29046,10 +29237,6 @@ declare namespace io.flow.internal.v0.unions {
29046
29237
  | io.flow.internal.v0.models.DutyCompoundExpression
29047
29238
  | io.flow.internal.v0.models.DutySimpleExpression;
29048
29239
  type Event =
29049
- | io.flow.internal.v0.models.AdjustedEstimatesUpserted
29050
- | io.flow.internal.v0.models.AdjustedEstimatesDeleted
29051
- | io.flow.internal.v0.models.ShippingEstimateUpserted
29052
- | io.flow.internal.v0.models.ShippingEstimateDeleted
29053
29240
  | io.flow.internal.v0.models.AdyenAuthorizationDeleted
29054
29241
  | io.flow.internal.v0.models.AdyenAuthorizationUpserted
29055
29242
  | io.flow.internal.v0.models.AdyenCancelDeleted
@@ -29248,6 +29435,8 @@ declare namespace io.flow.internal.v0.unions {
29248
29435
  | io.flow.internal.v0.models.OrderValidationFailureDeleted
29249
29436
  | io.flow.internal.v0.models.OrderValidationUpserted
29250
29437
  | io.flow.internal.v0.models.OrderValidationDeleted
29438
+ | io.flow.internal.v0.models.LabelCreationJobUpserted
29439
+ | io.flow.internal.v0.models.LabelCreationJobDeleted
29251
29440
  | io.flow.internal.v0.models.LabelTrackingSummaryUpserted
29252
29441
  | io.flow.internal.v0.models.LabelTrackingSummaryDeleted
29253
29442
  | io.flow.internal.v0.models.LogisticsCapabilitiesUpserted
@@ -29257,11 +29446,6 @@ declare namespace io.flow.internal.v0.unions {
29257
29446
  | io.flow.internal.v0.models.OrderCombinedShipmentDeleted
29258
29447
  | io.flow.internal.v0.models.OrderFulfillmentDeleted
29259
29448
  | io.flow.internal.v0.models.OrderFulfillmentUpserted
29260
- | io.flow.internal.v0.models.OrderPlaced
29261
- | io.flow.internal.v0.models.ReadyToFulfill
29262
- | io.flow.internal.v0.models.FulfillmentCancel
29263
- | io.flow.internal.v0.models.OrderShipped
29264
- | io.flow.internal.v0.models.ItemsShipped
29265
29449
  | io.flow.internal.v0.models.OrganizationBusinessEntityDeleted
29266
29450
  | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted
29267
29451
  | io.flow.internal.v0.models.OrganizationStatusChangeUpserted
@@ -29280,6 +29464,8 @@ declare namespace io.flow.internal.v0.unions {
29280
29464
  | io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted
29281
29465
  | io.flow.internal.v0.models.SppTrackerUpdateRequestUpserted
29282
29466
  | io.flow.internal.v0.models.SppTrackerUpdateRequestDeleted
29467
+ | io.flow.internal.v0.models.PartnerRequestUpserted
29468
+ | io.flow.internal.v0.models.PartnerRequestDeleted
29283
29469
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
29284
29470
  | io.flow.internal.v0.models.InternalAuthorizationDeleted
29285
29471
  | io.flow.internal.v0.models.AfterpayAuthorizationUpserted
@@ -29377,6 +29563,10 @@ declare namespace io.flow.internal.v0.unions {
29377
29563
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
29378
29564
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
29379
29565
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted
29566
+ | io.flow.internal.v0.models.ShopifyMerchantPlanUpserted
29567
+ | io.flow.internal.v0.models.ShopifyMerchantPlanDeleted
29568
+ | io.flow.internal.v0.models.ShopifyDisputeUpserted
29569
+ | io.flow.internal.v0.models.ShopifyDisputeDeleted
29380
29570
  | io.flow.internal.v0.models.StripeAuthorizationDeleted
29381
29571
  | io.flow.internal.v0.models.StripeAuthorizationUpserted
29382
29572
  | io.flow.internal.v0.models.StripeReversalDeleted
@@ -29387,6 +29577,8 @@ declare namespace io.flow.internal.v0.unions {
29387
29577
  | io.flow.internal.v0.models.StripeRefundUpserted
29388
29578
  | io.flow.internal.v0.models.StripeDisputeUpserted
29389
29579
  | io.flow.internal.v0.models.StripeDisputeDeleted
29580
+ | io.flow.internal.v0.models.StripeConnectReportRecordUpserted
29581
+ | io.flow.internal.v0.models.StripeConnectReportRecordDeleted
29390
29582
  | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted
29391
29583
  | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted
29392
29584
  | io.flow.internal.v0.models.TrackingProcessingErrorUpserted
@@ -29609,8 +29801,7 @@ declare namespace io.flow.internal.v0.unions {
29609
29801
  | io.flow.internal.v0.models.TrueupTransaction
29610
29802
  | io.flow.internal.v0.models.CarrierChargeTransaction
29611
29803
  | io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction
29612
- | io.flow.internal.v0.models.GeRevenueShareTransaction
29613
- | io.flow.internal.v0.models.TaxDutyDeltaTransaction;
29804
+ | io.flow.internal.v0.models.GeRevenueShareTransaction;
29614
29805
  type TransactionSummary =
29615
29806
  | io.flow.internal.v0.models.PaymentSummaryV2
29616
29807
  | io.flow.internal.v0.models.FraudSummary;
@@ -29679,11 +29870,6 @@ export type AddressConfigurationSettingForm =
29679
29870
  io.flow.internal.v0.models.AddressConfigurationSettingForm;
29680
29871
  export type AddressConfigurationSettingProvinceCode =
29681
29872
  io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
29682
- export type AdjustedEstimates = io.flow.internal.v0.models.AdjustedEstimates;
29683
- export type AdjustedEstimatesDeleted =
29684
- io.flow.internal.v0.models.AdjustedEstimatesDeleted;
29685
- export type AdjustedEstimatesUpserted =
29686
- io.flow.internal.v0.models.AdjustedEstimatesUpserted;
29687
29873
  export type AdjustmentAmount = io.flow.internal.v0.unions.AdjustmentAmount;
29688
29874
  export type AdjustmentAmountFixed =
29689
29875
  io.flow.internal.v0.models.AdjustmentAmountFixed;
@@ -30300,6 +30486,8 @@ export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
30300
30486
  export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
30301
30487
  export type ComplianceType = io.flow.internal.v0.enums.ComplianceType;
30302
30488
  export type Components = io.flow.internal.v0.models.Components;
30489
+ export type ConnectReportTransferType =
30490
+ io.flow.internal.v0.enums.ConnectReportTransferType;
30303
30491
  export type ConsoleLabelRequestForm =
30304
30492
  io.flow.internal.v0.models.ConsoleLabelRequestForm;
30305
30493
  export type ConsoleLabelValidationForm =
@@ -30760,7 +30948,6 @@ export type FulfillmentActionForm =
30760
30948
  io.flow.internal.v0.models.FulfillmentActionForm;
30761
30949
  export type FulfillmentBusiness =
30762
30950
  io.flow.internal.v0.models.FulfillmentBusiness;
30763
- export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
30764
30951
  export type FulfillmentCarrier = io.flow.internal.v0.models.FulfillmentCarrier;
30765
30952
  export type FulfillmentDeleted = io.flow.internal.v0.models.FulfillmentDeleted;
30766
30953
  export type FulfillmentFallbacks =
@@ -30781,8 +30968,6 @@ export type FulfillmentProofShippingNotificationReference =
30781
30968
  io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference;
30782
30969
  export type FulfillmentReference =
30783
30970
  io.flow.internal.v0.models.FulfillmentReference;
30784
- export type FulfillmentShipmentTracking =
30785
- io.flow.internal.v0.models.FulfillmentShipmentTracking;
30786
30971
  export type FulfillmentShopperBreakdown =
30787
30972
  io.flow.internal.v0.models.FulfillmentShopperBreakdown;
30788
30973
  export type FulfillmentSnapshot =
@@ -30906,6 +31091,8 @@ export type InternalHarmonizationStatistic =
30906
31091
  io.flow.internal.v0.unions.InternalHarmonizationStatistic;
30907
31092
  export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
30908
31093
  export type InternalOrder = io.flow.internal.v0.models.InternalOrder;
31094
+ export type InternalPaymentEntityType =
31095
+ io.flow.internal.v0.enums.InternalPaymentEntityType;
30909
31096
  export type InternalPaymentRequest =
30910
31097
  io.flow.internal.v0.models.InternalPaymentRequest;
30911
31098
  export type InternalPaymentRequestVerification =
@@ -30981,7 +31168,6 @@ export type ItemSalesMarginVersion =
30981
31168
  export type ItemSummary = io.flow.internal.v0.models.ItemSummary;
30982
31169
  export type ItemType = io.flow.internal.v0.enums.ItemType;
30983
31170
  export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
30984
- export type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
30985
31171
  export type JeanDemoItem = io.flow.internal.v0.models.JeanDemoItem;
30986
31172
  export type Key = io.flow.internal.v0.models.Key;
30987
31173
  export type KeyReference = io.flow.internal.v0.models.KeyReference;
@@ -31004,8 +31190,12 @@ export type LabelCancellationError =
31004
31190
  export type LabelCancellationErrorCode =
31005
31191
  io.flow.internal.v0.enums.LabelCancellationErrorCode;
31006
31192
  export type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob;
31193
+ export type LabelCreationJobDeleted =
31194
+ io.flow.internal.v0.models.LabelCreationJobDeleted;
31007
31195
  export type LabelCreationJobSummary =
31008
31196
  io.flow.internal.v0.models.LabelCreationJobSummary;
31197
+ export type LabelCreationJobUpserted =
31198
+ io.flow.internal.v0.models.LabelCreationJobUpserted;
31009
31199
  export type LabelCreationRequestForm =
31010
31200
  io.flow.internal.v0.models.LabelCreationRequestForm;
31011
31201
  export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
@@ -31173,10 +31363,16 @@ export type MerchantHubOverride =
31173
31363
  io.flow.internal.v0.models.MerchantHubOverride;
31174
31364
  export type MerchantHubOverrideForm =
31175
31365
  io.flow.internal.v0.models.MerchantHubOverrideForm;
31366
+ export type MerchantOfRecord = io.flow.internal.v0.enums.MerchantOfRecord;
31176
31367
  export type MerchantOfRecordEntitySettings =
31177
31368
  io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
31178
31369
  export type MerchantOfRecordEntitySettingsForm =
31179
31370
  io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
31371
+ export type MerchantOverride = io.flow.internal.v0.models.MerchantOverride;
31372
+ export type MerchantOverrideDecisionForm =
31373
+ io.flow.internal.v0.models.MerchantOverrideDecisionForm;
31374
+ export type MerchantOverrideStatus =
31375
+ io.flow.internal.v0.enums.MerchantOverrideStatus;
31180
31376
  export type MerchantSearchResult =
31181
31377
  io.flow.internal.v0.models.MerchantSearchResult;
31182
31378
  export type MerchantSubsidies = io.flow.internal.v0.models.MerchantSubsidies;
@@ -31292,7 +31488,6 @@ export type OrderNote = io.flow.internal.v0.models.OrderNote;
31292
31488
  export type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm;
31293
31489
  export type OrderPaymentAuthorization =
31294
31490
  io.flow.internal.v0.models.OrderPaymentAuthorization;
31295
- export type OrderPlaced = io.flow.internal.v0.models.OrderPlaced;
31296
31491
  export type OrderRatesDataV3 = io.flow.internal.v0.models.OrderRatesDataV3;
31297
31492
  export type OrderRatesPublishedV3 =
31298
31493
  io.flow.internal.v0.models.OrderRatesPublishedV3;
@@ -31307,7 +31502,6 @@ export type OrderRevenueTimelineDataPoint =
31307
31502
  io.flow.internal.v0.models.OrderRevenueTimelineDataPoint;
31308
31503
  export type OrderServiceChangeCsvForm =
31309
31504
  io.flow.internal.v0.models.OrderServiceChangeCsvForm;
31310
- export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
31311
31505
  export type OrderSubmissionForm =
31312
31506
  io.flow.internal.v0.models.OrderSubmissionForm;
31313
31507
  export type OrderSummary = io.flow.internal.v0.models.OrderSummary;
@@ -31518,6 +31712,11 @@ export type PartnerOrganizationSettingsForm =
31518
31712
  io.flow.internal.v0.models.PartnerOrganizationSettingsForm;
31519
31713
  export type PartnerOrganizationSettingsUpserted =
31520
31714
  io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted;
31715
+ export type PartnerRequest = io.flow.internal.v0.models.PartnerRequest;
31716
+ export type PartnerRequestDeleted =
31717
+ io.flow.internal.v0.models.PartnerRequestDeleted;
31718
+ export type PartnerRequestUpserted =
31719
+ io.flow.internal.v0.models.PartnerRequestUpserted;
31521
31720
  export type PartnerTrackingSubscriptionDeleted =
31522
31721
  io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted;
31523
31722
  export type PartnerTrackingSubscriptionUpserted =
@@ -31800,7 +31999,6 @@ export type RatecardStandardSettings =
31800
31999
  io.flow.internal.v0.models.RatecardStandardSettings;
31801
32000
  export type RatesChanged = io.flow.internal.v0.models.RatesChanged;
31802
32001
  export type RatesNamesSummary = io.flow.internal.v0.models.RatesNamesSummary;
31803
- export type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
31804
32002
  export type ReboundConfiguration =
31805
32003
  io.flow.internal.v0.models.ReboundConfiguration;
31806
32004
  export type ReboundConfigurationForm =
@@ -31824,6 +32022,9 @@ export type ReportAccount = io.flow.internal.v0.models.ReportAccount;
31824
32022
  export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
31825
32023
  export type ReportBankAccountCleartext =
31826
32024
  io.flow.internal.v0.models.ReportBankAccountCleartext;
32025
+ export type ReportFile = io.flow.internal.v0.models.ReportFile;
32026
+ export type ReportFileStatus = io.flow.internal.v0.enums.ReportFileStatus;
32027
+ export type ReportFileType = io.flow.internal.v0.enums.ReportFileType;
31827
32028
  export type ReportFilter = io.flow.internal.v0.models.ReportFilter;
31828
32029
  export type ReportForm = io.flow.internal.v0.models.ReportForm;
31829
32030
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
@@ -31835,6 +32036,9 @@ export type ReportOrganizationReference =
31835
32036
  export type ReportOwner = io.flow.internal.v0.models.ReportOwner;
31836
32037
  export type ReportPayment = io.flow.internal.v0.models.ReportPayment;
31837
32038
  export type ReportPaymentType = io.flow.internal.v0.enums.ReportPaymentType;
32039
+ export type ReportRecordError = io.flow.internal.v0.models.ReportRecordError;
32040
+ export type ReportRecordRetryQueue =
32041
+ io.flow.internal.v0.models.ReportRecordRetryQueue;
31838
32042
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
31839
32043
  export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
31840
32044
  export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
@@ -32033,11 +32237,6 @@ export type SessionRollout = io.flow.internal.v0.models.SessionRollout;
32033
32237
  export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
32034
32238
  export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
32035
32239
  export type SfExpress = io.flow.internal.v0.models.SfExpress;
32036
- export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
32037
- export type ShippingEstimateDeleted =
32038
- io.flow.internal.v0.models.ShippingEstimateDeleted;
32039
- export type ShippingEstimateUpserted =
32040
- io.flow.internal.v0.models.ShippingEstimateUpserted;
32041
32240
  export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
32042
32241
  export type ShippingMethodReference =
32043
32242
  io.flow.internal.v0.models.ShippingMethodReference;
@@ -32053,6 +32252,11 @@ export type ShopifyCheckInventoryError =
32053
32252
  export type ShopifyCheckInventoryErrorCode =
32054
32253
  io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
32055
32254
  export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
32255
+ export type ShopifyDispute = io.flow.internal.v0.models.ShopifyDispute;
32256
+ export type ShopifyDisputeDeleted =
32257
+ io.flow.internal.v0.models.ShopifyDisputeDeleted;
32258
+ export type ShopifyDisputeUpserted =
32259
+ io.flow.internal.v0.models.ShopifyDisputeUpserted;
32056
32260
  export type ShopifyExperienceShortId =
32057
32261
  io.flow.internal.v0.models.ShopifyExperienceShortId;
32058
32262
  export type ShopifyExperienceShortIdDeleted =
@@ -32165,6 +32369,10 @@ export type ShopifyMarketsWebhookRegistrationUpserted =
32165
32369
  io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationUpserted;
32166
32370
  export type ShopifyMerchantPlan =
32167
32371
  io.flow.internal.v0.models.ShopifyMerchantPlan;
32372
+ export type ShopifyMerchantPlanDeleted =
32373
+ io.flow.internal.v0.models.ShopifyMerchantPlanDeleted;
32374
+ export type ShopifyMerchantPlanUpserted =
32375
+ io.flow.internal.v0.models.ShopifyMerchantPlanUpserted;
32168
32376
  export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
32169
32377
  export type ShopifyMonitoringCarrierService =
32170
32378
  io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
@@ -32393,6 +32601,14 @@ export type StripeCaptureDeleted =
32393
32601
  io.flow.internal.v0.models.StripeCaptureDeleted;
32394
32602
  export type StripeCaptureUpserted =
32395
32603
  io.flow.internal.v0.models.StripeCaptureUpserted;
32604
+ export type StripeConnectReportRecord =
32605
+ io.flow.internal.v0.models.StripeConnectReportRecord;
32606
+ export type StripeConnectReportRecordDeleted =
32607
+ io.flow.internal.v0.models.StripeConnectReportRecordDeleted;
32608
+ export type StripeConnectReportRecordPaymentMetadata =
32609
+ io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata;
32610
+ export type StripeConnectReportRecordUpserted =
32611
+ io.flow.internal.v0.models.StripeConnectReportRecordUpserted;
32396
32612
  export type StripeDisputeDeleted =
32397
32613
  io.flow.internal.v0.models.StripeDisputeDeleted;
32398
32614
  export type StripeDisputeUpserted =
@@ -32463,16 +32679,6 @@ export type TaxCalculationLineItem =
32463
32679
  io.flow.internal.v0.models.TaxCalculationLineItem;
32464
32680
  export type TaxCalculationLineItemForm =
32465
32681
  io.flow.internal.v0.models.TaxCalculationLineItemForm;
32466
- export type TaxDutyDeltaMetadataActual =
32467
- io.flow.internal.v0.models.TaxDutyDeltaMetadataActual;
32468
- export type TaxDutyDeltaMetadataActualProcessing =
32469
- io.flow.internal.v0.models.TaxDutyDeltaMetadataActualProcessing;
32470
- export type TaxDutyDeltaMetadataExpected =
32471
- io.flow.internal.v0.models.TaxDutyDeltaMetadataExpected;
32472
- export type TaxDutyDeltaMetadataExpectedProcessing =
32473
- io.flow.internal.v0.models.TaxDutyDeltaMetadataExpectedProcessing;
32474
- export type TaxDutyDeltaTransaction =
32475
- io.flow.internal.v0.models.TaxDutyDeltaTransaction;
32476
32682
  export type TaxParty = io.flow.internal.v0.enums.TaxParty;
32477
32683
  export type TaxRemittanceTransaction =
32478
32684
  io.flow.internal.v0.models.TaxRemittanceTransaction;