@flowio/types 11.24.69 → 11.24.70

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.
@@ -2597,6 +2597,7 @@ declare namespace io.flow.stripe.v0.models {
2597
2597
  readonly id: string;
2598
2598
  readonly amount: number;
2599
2599
  readonly amount_refunded: number;
2600
+ readonly authorization_code?: string;
2600
2601
  readonly captured: boolean;
2601
2602
  readonly created: number;
2602
2603
  readonly currency: string;
@@ -2647,6 +2648,7 @@ declare namespace io.flow.stripe.v0.models {
2647
2648
  readonly id: string;
2648
2649
  readonly amount: number;
2649
2650
  readonly amount_refunded: number;
2651
+ readonly authorization_code?: string;
2650
2652
  readonly captured: boolean;
2651
2653
  readonly created: number;
2652
2654
  readonly currency: string;
@@ -6945,7 +6947,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6945
6947
  readonly key: string;
6946
6948
  readonly namespace: string;
6947
6949
  readonly value: string;
6948
- readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
6950
+ readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
6949
6951
  readonly description?: string;
6950
6952
  }
6951
6953
 
@@ -7109,6 +7111,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7109
7111
  readonly id: number;
7110
7112
  readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7111
7113
  readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
7114
+ readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafieldForm[];
7112
7115
  }
7113
7116
 
7114
7117
  interface ShopifyWebhookCustomersDataRequest {
@@ -8947,6 +8950,7 @@ declare namespace io.flow.experience.v0.enums {
8947
8950
  | 'card'
8948
8951
  | 'online'
8949
8952
  | 'credit'
8953
+ | 'external'
8950
8954
  | 'subsidized'
8951
8955
  | 'installment_plan'
8952
8956
  | 'cash_on_delivery';
@@ -10773,8 +10777,8 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
10773
10777
  | 'oversize'
10774
10778
  | 'duties_paid'
10775
10779
  | 'emergency'
10776
- | 'peak';
10777
- type WeightSelection = 'dead' | 'dimensional';
10780
+ | 'peak'
10781
+ | 'address_correction';
10778
10782
  }
10779
10783
 
10780
10784
  declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
@@ -10798,11 +10802,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
10798
10802
  readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
10799
10803
  }
10800
10804
 
10805
+ interface LabelInvoiceResponseFile {
10806
+ readonly id: string;
10807
+ readonly url: string;
10808
+ readonly created_at: string;
10809
+ readonly result?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult;
10810
+ }
10811
+
10812
+ interface LabelInvoiceResponseFileForm {
10813
+ readonly url: string;
10814
+ }
10815
+
10816
+ interface LabelInvoiceResponseFileResult {
10817
+ readonly processed_at: string;
10818
+ readonly number_lines_successful: number;
10819
+ readonly number_lines_with_errors: number;
10820
+ readonly errors_url?: string;
10821
+ }
10822
+
10823
+ interface LabelInvoiceResponseForm {
10824
+ readonly id: string;
10825
+ readonly label_invoice_request_id: string;
10826
+ readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits;
10827
+ readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
10828
+ readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
10829
+ readonly total: number;
10830
+ }
10831
+
10801
10832
  interface LabelMetadata {
10802
10833
  readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
10803
10834
  readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
10804
10835
  }
10805
10836
 
10837
+ interface LabelResponseUnits {
10838
+ readonly currency: string;
10839
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
10840
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
10841
+ }
10842
+
10806
10843
  interface LabelSurcharge {
10807
10844
  readonly amount: number;
10808
10845
  readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
@@ -10824,6 +10861,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
10824
10861
  readonly percentage: number;
10825
10862
  }
10826
10863
 
10864
+ interface LabelSurchargeForm {
10865
+ readonly fuel?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10866
+ readonly remote_area?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10867
+ readonly oversize?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10868
+ readonly duties_paid?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10869
+ readonly emergency?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10870
+ readonly peak?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10871
+ readonly address_correction?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
10872
+ }
10873
+
10874
+ interface LabelSurchargeSingleForm {
10875
+ readonly amount: number;
10876
+ readonly percentage?: number;
10877
+ readonly fee_per_weight_unit?: number;
10878
+ }
10879
+
10827
10880
  interface LabelUnits {
10828
10881
  readonly currency: string;
10829
10882
  readonly weight: io.flow.units.v0.enums.UnitOfWeight;
@@ -10841,7 +10894,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
10841
10894
  }
10842
10895
 
10843
10896
  interface MetadataWeights {
10844
- readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
10845
10897
  readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
10846
10898
  readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
10847
10899
  }
@@ -12216,6 +12268,7 @@ declare namespace io.flow.billing.v0.enums {
12216
12268
  | 'reversal'
12217
12269
  | 'shipping_label'
12218
12270
  | 'shipping_label_service'
12271
+ | 'trueup'
12219
12272
  | 'shipping_label_revenue_share'
12220
12273
  | 'platform_fee'
12221
12274
  | 'tax'
@@ -12228,6 +12281,15 @@ declare namespace io.flow.billing.v0.enums {
12228
12281
  | 'order_service'
12229
12282
  | 'virtual_card_capture'
12230
12283
  | 'virtual_card_refund';
12284
+ type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
12285
+ type TrueupSurchargeType =
12286
+ | 'fuel'
12287
+ | 'remote_area'
12288
+ | 'oversize'
12289
+ | 'duties_paid'
12290
+ | 'emergency'
12291
+ | 'peak'
12292
+ | 'address_correction';
12231
12293
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
12232
12294
  }
12233
12295
 
@@ -12472,10 +12534,41 @@ declare namespace io.flow.billing.v0.models {
12472
12534
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
12473
12535
  }
12474
12536
 
12537
+ interface TransactionMetadataTrueup {
12538
+ readonly discriminator: 'trueup';
12539
+ readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData;
12540
+ readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
12541
+ }
12542
+
12543
+ interface TransactionMetadataTrueupData {
12544
+ readonly source: io.flow.billing.v0.enums.TrueupSource;
12545
+ readonly units: io.flow.billing.v0.models.TrueupLabelUnits;
12546
+ readonly base: io.flow.billing.v0.models.TrueupLabelBase;
12547
+ readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
12548
+ readonly total: number;
12549
+ }
12550
+
12475
12551
  interface TransactionReference {
12476
12552
  readonly id: string;
12477
12553
  }
12478
12554
 
12555
+ interface TrueupLabelBase {
12556
+ readonly amount: number;
12557
+ readonly weight: number;
12558
+ }
12559
+
12560
+ interface TrueupLabelSurcharge {
12561
+ readonly amount: number;
12562
+ readonly type: io.flow.billing.v0.enums.TrueupSurchargeType;
12563
+ readonly percentage?: number;
12564
+ readonly per_weight_unit?: number;
12565
+ }
12566
+
12567
+ interface TrueupLabelUnits {
12568
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
12569
+ readonly length?: io.flow.units.v0.enums.UnitOfLength;
12570
+ }
12571
+
12479
12572
  interface WithholdingDeduction {
12480
12573
  readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
12481
12574
  readonly amount: number;
@@ -12495,7 +12588,8 @@ declare namespace io.flow.billing.v0.unions {
12495
12588
  | io.flow.billing.v0.models.SettlementNoPayout
12496
12589
  | io.flow.billing.v0.models.SettlementPayout;
12497
12590
  type TransactionMetadata =
12498
- io.flow.billing.v0.models.TransactionMetadataShippingLabel;
12591
+ | io.flow.billing.v0.models.TransactionMetadataShippingLabel
12592
+ | io.flow.billing.v0.models.TransactionMetadataTrueup;
12499
12593
  }
12500
12594
 
12501
12595
  declare namespace io.flow.harmonization.v0.enums {
@@ -13847,6 +13941,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13847
13941
  readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
13848
13942
  readonly started_at?: string;
13849
13943
  readonly time_blocked?: number;
13944
+ readonly time_in_setup?: number;
13850
13945
  readonly blocked_since?: string;
13851
13946
  readonly completed_at?: string;
13852
13947
  readonly onboarding_started_at?: string;
@@ -14306,6 +14401,7 @@ declare namespace io.flow.internal.v0.enums {
14306
14401
  | 'capture_transactions_ignored_fraud_count'
14307
14402
  | 'capture_transactions_ignored_fully_refunded_count'
14308
14403
  | 'capture_transactions_ignored_other_count'
14404
+ | 'capture_transactions_ignored_previously_processed_count'
14309
14405
  | 'capture_transactions_total'
14310
14406
  | 'channel_transactions_processing_count'
14311
14407
  | 'channel_transactions_processing_total'
@@ -14335,6 +14431,7 @@ declare namespace io.flow.internal.v0.enums {
14335
14431
  | 'refund_transactions_ignored_fraud_count'
14336
14432
  | 'refund_transactions_ignored_fully_refunded_count'
14337
14433
  | 'refund_transactions_ignored_other_count'
14434
+ | 'refund_transactions_ignored_previously_processed_count'
14338
14435
  | 'refund_transactions_total'
14339
14436
  | 'reversal_order_cancellations_transactions_count'
14340
14437
  | 'reversal_order_cancellations_transactions_total'
@@ -14409,7 +14506,8 @@ declare namespace io.flow.internal.v0.enums {
14409
14506
  | 'order'
14410
14507
  | 'channel_billed'
14411
14508
  | 'tax'
14412
- | 'duty';
14509
+ | 'duty'
14510
+ | 'trueup';
14413
14511
  type BlazeCheckoutEvent =
14414
14512
  | 'begin_checkout'
14415
14513
  | 'select_promotion'
@@ -15006,6 +15104,8 @@ declare namespace io.flow.internal.v0.enums {
15006
15104
  | 'localized_item_prices_export_request'
15007
15105
  | 'optin_prompt_upserted'
15008
15106
  | 'optin_prompt_deleted'
15107
+ | 'order_combined_shipment_upserted'
15108
+ | 'order_combined_shipment_deleted'
15009
15109
  | 'order_fulfillment_deleted'
15010
15110
  | 'order_fulfillment_upserted'
15011
15111
  | 'order_placed'
@@ -15176,7 +15276,6 @@ declare namespace io.flow.internal.v0.enums {
15176
15276
  | 'in_review'
15177
15277
  | 'resolved'
15178
15278
  | 'unresolved';
15179
- type LabelInputSource = 'estimate';
15180
15279
  type LabelRequestErrorHandlingResponsibility =
15181
15280
  | 'merchant'
15182
15281
  | 'merchant_integration'
@@ -15399,24 +15498,25 @@ declare namespace io.flow.internal.v0.enums {
15399
15498
  | 'capture'
15400
15499
  | 'capture_deletion'
15401
15500
  | 'channel_transaction'
15402
- | 'channel_organization'
15403
15501
  | 'consumer_invoice'
15404
15502
  | 'fulfillment_in_transit'
15405
15503
  | 'fulfillment_shipping_notification'
15406
15504
  | 'fulfillment_external'
15407
15505
  | 'label_tracking_summary'
15408
15506
  | 'label_invoice_request'
15507
+ | 'label_invoice_response'
15508
+ | 'label_invoice_response_file'
15409
15509
  | 'label_origin'
15410
15510
  | 'order'
15411
15511
  | 'order_identifier'
15512
+ | 'organization_onboarding_state'
15412
15513
  | 'refund'
15413
15514
  | 'refund_deletion'
15414
15515
  | 'refund_over_capture'
15415
15516
  | 'sales_record'
15416
15517
  | 'statement_batch'
15417
15518
  | 'statement_email'
15418
- | 'statement_summary_email'
15419
- | 'wash';
15519
+ | 'statement_summary_email';
15420
15520
  type QuoteRequestType =
15421
15521
  | 'generate'
15422
15522
  | 'delete'
@@ -15552,7 +15652,6 @@ declare namespace io.flow.internal.v0.enums {
15552
15652
  type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
15553
15653
  type SubscriptionFrequency = 'yearly' | 'monthly';
15554
15654
  type SuggestionAction = 'accept' | 'validate' | 'review';
15555
- type SurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid';
15556
15655
  type TariffEligibilityType = 'rex';
15557
15656
  type TaskProcessorKey =
15558
15657
  | 'order_messenger'
@@ -15575,7 +15674,9 @@ declare namespace io.flow.internal.v0.enums {
15575
15674
  | 'oversize'
15576
15675
  | 'duties_paid'
15577
15676
  | 'emergency'
15578
- | 'peak';
15677
+ | 'peak'
15678
+ | 'address_correction';
15679
+ type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup';
15579
15680
  type UnclassifiedProductStatus =
15580
15681
  | 'ignored'
15581
15682
  | 'escalated'
@@ -15583,11 +15684,6 @@ declare namespace io.flow.internal.v0.enums {
15583
15684
  | 'unverified'
15584
15685
  | 'queued'
15585
15686
  | 'unconfident';
15586
- type WashCarrierActualFileStatus =
15587
- | 'pending'
15588
- | 'processing'
15589
- | 'processed'
15590
- | 'failed';
15591
15687
  }
15592
15688
 
15593
15689
  declare namespace io.flow.internal.v0.models {
@@ -15643,15 +15739,6 @@ declare namespace io.flow.internal.v0.models {
15643
15739
  readonly rate: number;
15644
15740
  }
15645
15741
 
15646
- interface AccountForm {
15647
- readonly timezone: string;
15648
- readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
15649
- readonly payment_conditions?: string;
15650
- readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
15651
- readonly center_key?: string;
15652
- readonly bank_account_id?: string;
15653
- }
15654
-
15655
15742
  interface AccountOrdersExportRequest {
15656
15743
  readonly discriminator: 'account_orders_export_request';
15657
15744
  readonly event_id: string;
@@ -15676,6 +15763,10 @@ declare namespace io.flow.internal.v0.models {
15676
15763
  readonly transaction_created_before?: string;
15677
15764
  }
15678
15765
 
15766
+ interface AccountOrigin {
15767
+ readonly country: string;
15768
+ }
15769
+
15679
15770
  interface AccountProcessingRateForm {
15680
15771
  readonly query: string;
15681
15772
  readonly capture: number;
@@ -16614,6 +16705,7 @@ declare namespace io.flow.internal.v0.models {
16614
16705
  readonly channel_billed: io.flow.common.v0.models.Price;
16615
16706
  readonly tax: io.flow.common.v0.models.Price;
16616
16707
  readonly duty: io.flow.common.v0.models.Price;
16708
+ readonly trueup: io.flow.common.v0.models.Price;
16617
16709
  readonly ending_balance: io.flow.common.v0.models.Price;
16618
16710
  }
16619
16711
 
@@ -17144,6 +17236,8 @@ declare namespace io.flow.internal.v0.models {
17144
17236
  interface ChannelAccount {
17145
17237
  readonly channel: io.flow.common.v0.models.ChannelReference;
17146
17238
  readonly id: string;
17239
+ readonly key?: string;
17240
+ readonly origin?: io.flow.internal.v0.models.AccountOrigin;
17147
17241
  readonly currency: string;
17148
17242
  readonly updated_at: string;
17149
17243
  readonly timezone: io.flow.reference.v0.models.Timezone;
@@ -19876,132 +19970,6 @@ declare namespace io.flow.internal.v0.models {
19876
19970
  readonly signature_secret: string;
19877
19971
  }
19878
19972
 
19879
- interface CsvActual {
19880
- readonly id: string;
19881
- readonly currency: string;
19882
- readonly base_amount: number;
19883
- readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
19884
- readonly total: number;
19885
- readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
19886
- readonly weight: number;
19887
- readonly ratecard: io.flow.internal.v0.models.CsvActualRatecard;
19888
- }
19889
-
19890
- interface CsvActualRatecard {
19891
- readonly base_amount?: number;
19892
- }
19893
-
19894
- interface CsvDimensions {
19895
- readonly unit: io.flow.units.v0.enums.UnitOfLength;
19896
- readonly length: number;
19897
- readonly width: number;
19898
- readonly depth: number;
19899
- }
19900
-
19901
- interface CsvFlowRatecard {
19902
- readonly id: string;
19903
- readonly number: string;
19904
- readonly owner: io.flow.fulfillment.v0.enums.RatecardOwner;
19905
- readonly lane: io.flow.internal.v0.models.LaneReference;
19906
- readonly dim_factor: number;
19907
- readonly surcharges: io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
19908
- readonly base_amount?: number;
19909
- }
19910
-
19911
- interface CsvFlowRatecardSurcharges {
19912
- readonly fuel?: io.flow.internal.v0.models.CsvServiceFee;
19913
- readonly remote_area?: io.flow.internal.v0.models.CsvServiceFee;
19914
- readonly oversize?: io.flow.internal.v0.models.CsvServiceFee;
19915
- readonly duties_paid?: io.flow.internal.v0.models.CsvServiceFee;
19916
- }
19917
-
19918
- interface CsvGlobalEProposition {
19919
- readonly name: string;
19920
- }
19921
-
19922
- interface CsvGlobalEShippingMethod {
19923
- readonly id: string;
19924
- readonly proposition: io.flow.internal.v0.models.CsvGlobalEProposition;
19925
- }
19926
-
19927
- interface CsvInput {
19928
- readonly id: string;
19929
- readonly source: io.flow.internal.v0.enums.LabelInputSource;
19930
- readonly currency: string;
19931
- readonly base_amount: number;
19932
- readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
19933
- readonly total: number;
19934
- readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
19935
- readonly weight: number;
19936
- readonly variance: number;
19937
- }
19938
-
19939
- interface CsvLabel {
19940
- readonly id: string;
19941
- readonly cost: io.flow.internal.v0.models.CsvLabelCost;
19942
- readonly created_at: string;
19943
- readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
19944
- readonly trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
19945
- }
19946
-
19947
- interface CsvLabelCost {
19948
- readonly amount: number;
19949
- readonly currency: string;
19950
- readonly source: io.flow.label.v0.enums.CostEstimateSource;
19951
- }
19952
-
19953
- interface CsvOrder {
19954
- readonly organization: io.flow.internal.v0.models.OrganizationReference;
19955
- readonly number: string;
19956
- readonly destination: io.flow.experience.v0.models.OrderAddress;
19957
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
19958
- readonly tax: io.flow.common.v0.models.Money;
19959
- readonly duty: io.flow.common.v0.models.Money;
19960
- readonly total: io.flow.common.v0.models.Money;
19961
- readonly number_items: number;
19962
- }
19963
-
19964
- interface CsvRecord {
19965
- readonly label: io.flow.internal.v0.models.CsvLabel;
19966
- readonly carrier_service_id: string;
19967
- readonly carrier_tracking_number: string;
19968
- readonly order: io.flow.internal.v0.models.CsvOrder;
19969
- readonly flow_ratecard: io.flow.internal.v0.models.CsvFlowRatecard;
19970
- readonly global_e_shipping_method?: io.flow.internal.v0.models.CsvGlobalEShippingMethod;
19971
- readonly weight: io.flow.internal.v0.models.CsvWeight;
19972
- readonly dimensions: io.flow.internal.v0.models.CsvDimensions;
19973
- readonly input?: io.flow.internal.v0.models.CsvInput;
19974
- readonly actual?: io.flow.internal.v0.models.CsvActual;
19975
- readonly variance?: number;
19976
- readonly deltas: string[];
19977
- readonly outliers: string[];
19978
- }
19979
-
19980
- interface CsvServiceFee {
19981
- readonly amount?: number;
19982
- readonly currency?: string;
19983
- readonly percentage?: number;
19984
- }
19985
-
19986
- interface CsvSurchargePercentage {
19987
- readonly percentage: number;
19988
- readonly amount: number;
19989
- }
19990
-
19991
- interface CsvSurcharges {
19992
- readonly fuel: io.flow.internal.v0.models.CsvSurchargePercentage;
19993
- readonly remote_area: number;
19994
- readonly oversize: number;
19995
- readonly duties_paid: number;
19996
- }
19997
-
19998
- interface CsvWeight {
19999
- readonly unit: io.flow.units.v0.enums.UnitOfWeight;
20000
- readonly provided: number;
20001
- readonly dimensional: number;
20002
- readonly lookup: number;
20003
- }
20004
-
20005
19973
  interface CurrencyInternalRate {
20006
19974
  readonly id: string;
20007
19975
  readonly organization_id: string;
@@ -20225,6 +20193,8 @@ declare namespace io.flow.internal.v0.models {
20225
20193
  readonly authorization_id?: string;
20226
20194
  readonly posting_proof_id?: string;
20227
20195
  readonly label_tracking_summary_id?: string;
20196
+ readonly shipping_notification_id?: string;
20197
+ readonly external_fulfillment_proof_id?: string;
20228
20198
  }
20229
20199
 
20230
20200
  interface DebugOrderTransactionFormOrderIdentifier {
@@ -21546,6 +21516,8 @@ declare namespace io.flow.internal.v0.models {
21546
21516
  interface FlowAccount {
21547
21517
  readonly source: io.flow.internal.v0.models.AccountSource;
21548
21518
  readonly id: string;
21519
+ readonly key?: string;
21520
+ readonly origin?: io.flow.internal.v0.models.AccountOrigin;
21549
21521
  readonly currency: string;
21550
21522
  readonly updated_at: string;
21551
21523
  readonly timezone: io.flow.reference.v0.models.Timezone;
@@ -21821,6 +21793,8 @@ declare namespace io.flow.internal.v0.models {
21821
21793
  readonly shipping: io.flow.internal.v0.models.FulfillmentShipping;
21822
21794
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
21823
21795
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
21796
+ readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
21797
+ readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty;
21824
21798
  readonly completes_order: boolean;
21825
21799
  readonly sequence_number: number;
21826
21800
  readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
@@ -23514,6 +23488,24 @@ declare namespace io.flow.internal.v0.models {
23514
23488
  readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
23515
23489
  }
23516
23490
 
23491
+ interface LabelInvoiceResponseFile {
23492
+ readonly id: string;
23493
+ readonly url: string;
23494
+ readonly created_at: string;
23495
+ readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
23496
+ }
23497
+
23498
+ interface LabelInvoiceResponseFileForm {
23499
+ readonly url: string;
23500
+ }
23501
+
23502
+ interface LabelInvoiceResponseFileResult {
23503
+ readonly processed_at: string;
23504
+ readonly number_lines_successful: number;
23505
+ readonly number_lines_with_errors: number;
23506
+ readonly errors_url?: string;
23507
+ }
23508
+
23517
23509
  interface LabelInvoiceResponseForm {
23518
23510
  readonly id: string;
23519
23511
  readonly label_invoice_request_id: string;
@@ -23606,6 +23598,7 @@ declare namespace io.flow.internal.v0.models {
23606
23598
  readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23607
23599
  readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23608
23600
  readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23601
+ readonly address_correction?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
23609
23602
  }
23610
23603
 
23611
23604
  interface LabelSurchargeSingleForm {
@@ -23702,10 +23695,6 @@ declare namespace io.flow.internal.v0.models {
23702
23695
  readonly region: string;
23703
23696
  }
23704
23697
 
23705
- interface LaneReference {
23706
- readonly id: string;
23707
- }
23708
-
23709
23698
  interface LevyRateSummary {
23710
23699
  readonly id: string;
23711
23700
  readonly number: string;
@@ -24529,6 +24518,7 @@ declare namespace io.flow.internal.v0.models {
24529
24518
 
24530
24519
  interface OnboardingOrganization {
24531
24520
  readonly age: number;
24521
+ readonly setup_time: number;
24532
24522
  readonly compliance_approved: boolean;
24533
24523
  readonly compliance_full_review_required: boolean;
24534
24524
  readonly application_received: string;
@@ -24685,6 +24675,38 @@ declare namespace io.flow.internal.v0.models {
24685
24675
  readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence;
24686
24676
  }
24687
24677
 
24678
+ interface OrderCombinedShipment {
24679
+ readonly id: string;
24680
+ readonly label_id: string;
24681
+ readonly carrier_id: string;
24682
+ readonly service_id: string;
24683
+ readonly order_number: string;
24684
+ readonly provided_carrier_name?: string;
24685
+ readonly carrier_tracking_number: string;
24686
+ }
24687
+
24688
+ interface OrderCombinedShipmentDeleted {
24689
+ readonly discriminator: 'order_combined_shipment_deleted';
24690
+ readonly event_id: string;
24691
+ readonly timestamp: string;
24692
+ readonly organization: string;
24693
+ readonly id: string;
24694
+ }
24695
+
24696
+ interface OrderCombinedShipmentForm {
24697
+ readonly order_number: string;
24698
+ readonly provided_carrier_name?: string;
24699
+ readonly carrier_tracking_number: string;
24700
+ }
24701
+
24702
+ interface OrderCombinedShipmentUpserted {
24703
+ readonly discriminator: 'order_combined_shipment_upserted';
24704
+ readonly event_id: string;
24705
+ readonly timestamp: string;
24706
+ readonly organization: string;
24707
+ readonly order_combined_shipment: io.flow.internal.v0.models.OrderCombinedShipment;
24708
+ }
24709
+
24688
24710
  interface OrderDetail {
24689
24711
  readonly order: io.flow.experience.v0.models.Order;
24690
24712
  readonly status: io.flow.experience.v0.enums.OrderStatus;
@@ -24855,6 +24877,8 @@ declare namespace io.flow.internal.v0.models {
24855
24877
  interface OrganizationAccount {
24856
24878
  readonly organization: io.flow.common.v0.models.OrganizationReference;
24857
24879
  readonly id: string;
24880
+ readonly key?: string;
24881
+ readonly origin?: io.flow.internal.v0.models.AccountOrigin;
24858
24882
  readonly currency: string;
24859
24883
  readonly updated_at: string;
24860
24884
  readonly timezone: io.flow.reference.v0.models.Timezone;
@@ -25090,10 +25114,6 @@ declare namespace io.flow.internal.v0.models {
25090
25114
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
25091
25115
  }
25092
25116
 
25093
- interface OrganizationReference {
25094
- readonly id: string;
25095
- }
25096
-
25097
25117
  interface OrganizationRestrictionNoteForm {
25098
25118
  readonly note: string;
25099
25119
  readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
@@ -26488,6 +26508,8 @@ declare namespace io.flow.internal.v0.models {
26488
26508
  readonly hs_code?: string;
26489
26509
  readonly merchant_category_code?: string;
26490
26510
  readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
26511
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
26512
+ readonly last_year_domestic_gmv?: io.flow.common.v0.models.Money;
26491
26513
  }
26492
26514
 
26493
26515
  interface RestrictionOrganizationDecisionSummary {
@@ -27114,6 +27136,7 @@ declare namespace io.flow.internal.v0.models {
27114
27136
  readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
27115
27137
  readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
27116
27138
  readonly fulfillment_created_at?: string;
27139
+ readonly flow_label_id?: string;
27117
27140
  }
27118
27141
 
27119
27142
  interface ShopifyMonitoringFulfillmentMissingDetails {
@@ -27399,6 +27422,8 @@ declare namespace io.flow.internal.v0.models {
27399
27422
  readonly remote_area: number;
27400
27423
  readonly oversize: number;
27401
27424
  readonly ccf: number;
27425
+ readonly emergency: number;
27426
+ readonly peak: number;
27402
27427
  readonly total: number;
27403
27428
  }
27404
27429
 
@@ -27822,12 +27847,6 @@ declare namespace io.flow.internal.v0.models {
27822
27847
  readonly values: io.flow.internal.v0.models.LabelAliases[];
27823
27848
  }
27824
27849
 
27825
- interface Surcharge {
27826
- readonly amount?: number;
27827
- readonly percentage?: number;
27828
- readonly type: io.flow.internal.v0.enums.SurchargeType;
27829
- }
27830
-
27831
27850
  interface SvbVirtualCardClearing {
27832
27851
  readonly id: string;
27833
27852
  readonly virtual_card_id: string;
@@ -28291,6 +28310,19 @@ declare namespace io.flow.internal.v0.models {
28291
28310
  readonly created_at: string;
28292
28311
  }
28293
28312
 
28313
+ interface TrueupTransaction {
28314
+ readonly discriminator: 'trueup_transaction';
28315
+ readonly label_transaction: io.flow.internal.v0.models.TransactionReference;
28316
+ readonly id: string;
28317
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
28318
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
28319
+ readonly posted_at?: string;
28320
+ readonly value: io.flow.common.v0.models.Price;
28321
+ readonly description: string;
28322
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
28323
+ readonly created_at: string;
28324
+ }
28325
+
28294
28326
  interface UnassignedMerchantGuid {
28295
28327
  readonly id: string;
28296
28328
  readonly merchant_guid: string;
@@ -28532,20 +28564,6 @@ declare namespace io.flow.internal.v0.models {
28532
28564
  readonly created_at: string;
28533
28565
  }
28534
28566
 
28535
- interface WashCarrierActualFile {
28536
- readonly id: string;
28537
- readonly url: string;
28538
- readonly status: io.flow.internal.v0.enums.WashCarrierActualFileStatus;
28539
- }
28540
-
28541
- interface WashCarrierActualFileForm {
28542
- readonly url: string;
28543
- }
28544
-
28545
- interface WashExportRequest {
28546
- readonly url: string;
28547
- }
28548
-
28549
28567
  interface WasteElectricalAndElectronicEquipmentComplianceData {
28550
28568
  readonly discriminator: 'weee';
28551
28569
  readonly label: string;
@@ -29236,6 +29254,8 @@ declare namespace io.flow.internal.v0.unions {
29236
29254
  | io.flow.internal.v0.models.LocalizedItemPricesExportRequest
29237
29255
  | io.flow.internal.v0.models.OptinPromptUpserted
29238
29256
  | io.flow.internal.v0.models.OptinPromptDeleted
29257
+ | io.flow.internal.v0.models.OrderCombinedShipmentUpserted
29258
+ | io.flow.internal.v0.models.OrderCombinedShipmentDeleted
29239
29259
  | io.flow.internal.v0.models.OrderFulfillmentDeleted
29240
29260
  | io.flow.internal.v0.models.OrderFulfillmentUpserted
29241
29261
  | io.flow.internal.v0.models.OrderPlaced
@@ -29606,7 +29626,8 @@ declare namespace io.flow.internal.v0.unions {
29606
29626
  | io.flow.internal.v0.models.OrderTransaction
29607
29627
  | io.flow.internal.v0.models.ChannelBilledTransaction
29608
29628
  | io.flow.internal.v0.models.TaxTransaction
29609
- | io.flow.internal.v0.models.DutyTransaction;
29629
+ | io.flow.internal.v0.models.DutyTransaction
29630
+ | io.flow.internal.v0.models.TrueupTransaction;
29610
29631
  type TransactionSummary =
29611
29632
  | io.flow.internal.v0.models.PaymentSummaryV2
29612
29633
  | io.flow.internal.v0.models.FraudSummary;
@@ -29630,9 +29651,9 @@ export type AccountDeletedV2 = io.flow.internal.v0.models.AccountDeletedV2;
29630
29651
  export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
29631
29652
  export type AccountDepositRuleForm =
29632
29653
  io.flow.internal.v0.models.AccountDepositRuleForm;
29633
- export type AccountForm = io.flow.internal.v0.models.AccountForm;
29634
29654
  export type AccountOrdersExportRequest =
29635
29655
  io.flow.internal.v0.models.AccountOrdersExportRequest;
29656
+ export type AccountOrigin = io.flow.internal.v0.models.AccountOrigin;
29636
29657
  export type AccountProcessingRateForm =
29637
29658
  io.flow.internal.v0.models.AccountProcessingRateForm;
29638
29659
  export type AccountProcessingRates =
@@ -31258,26 +31279,6 @@ export type CryptoAuthentication =
31258
31279
  io.flow.internal.v0.models.CryptoAuthentication;
31259
31280
  export type CryptoAuthenticationForm =
31260
31281
  io.flow.internal.v0.models.CryptoAuthenticationForm;
31261
- export type CsvActual = io.flow.internal.v0.models.CsvActual;
31262
- export type CsvActualRatecard = io.flow.internal.v0.models.CsvActualRatecard;
31263
- export type CsvDimensions = io.flow.internal.v0.models.CsvDimensions;
31264
- export type CsvFlowRatecard = io.flow.internal.v0.models.CsvFlowRatecard;
31265
- export type CsvFlowRatecardSurcharges =
31266
- io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
31267
- export type CsvGlobalEProposition =
31268
- io.flow.internal.v0.models.CsvGlobalEProposition;
31269
- export type CsvGlobalEShippingMethod =
31270
- io.flow.internal.v0.models.CsvGlobalEShippingMethod;
31271
- export type CsvInput = io.flow.internal.v0.models.CsvInput;
31272
- export type CsvLabel = io.flow.internal.v0.models.CsvLabel;
31273
- export type CsvLabelCost = io.flow.internal.v0.models.CsvLabelCost;
31274
- export type CsvOrder = io.flow.internal.v0.models.CsvOrder;
31275
- export type CsvRecord = io.flow.internal.v0.models.CsvRecord;
31276
- export type CsvServiceFee = io.flow.internal.v0.models.CsvServiceFee;
31277
- export type CsvSurchargePercentage =
31278
- io.flow.internal.v0.models.CsvSurchargePercentage;
31279
- export type CsvSurcharges = io.flow.internal.v0.models.CsvSurcharges;
31280
- export type CsvWeight = io.flow.internal.v0.models.CsvWeight;
31281
31282
  export type CurrencyInternalRate =
31282
31283
  io.flow.internal.v0.models.CurrencyInternalRate;
31283
31284
  export type CustomerPurgeUpserted =
@@ -32062,13 +32063,18 @@ export type LabelGenerationSettingsForm =
32062
32063
  io.flow.internal.v0.models.LabelGenerationSettingsForm;
32063
32064
  export type LabelGenerationSettingsUpserted =
32064
32065
  io.flow.internal.v0.models.LabelGenerationSettingsUpserted;
32065
- export type LabelInputSource = io.flow.internal.v0.enums.LabelInputSource;
32066
32066
  export type LabelInvoiceRequest =
32067
32067
  io.flow.internal.v0.models.LabelInvoiceRequest;
32068
32068
  export type LabelInvoiceRequestDeleted =
32069
32069
  io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
32070
32070
  export type LabelInvoiceRequestUpserted =
32071
32071
  io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
32072
+ export type LabelInvoiceResponseFile =
32073
+ io.flow.internal.v0.models.LabelInvoiceResponseFile;
32074
+ export type LabelInvoiceResponseFileForm =
32075
+ io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
32076
+ export type LabelInvoiceResponseFileResult =
32077
+ io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
32072
32078
  export type LabelInvoiceResponseForm =
32073
32079
  io.flow.internal.v0.models.LabelInvoiceResponseForm;
32074
32080
  export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
@@ -32110,7 +32116,6 @@ export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
32110
32116
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
32111
32117
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
32112
32118
  export type Landmark = io.flow.internal.v0.models.Landmark;
32113
- export type LaneReference = io.flow.internal.v0.models.LaneReference;
32114
32119
  export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
32115
32120
  export type LevyRateSummaryUpserted =
32116
32121
  io.flow.internal.v0.models.LevyRateSummaryUpserted;
@@ -32409,6 +32414,14 @@ export type OrderCancellationForm =
32409
32414
  export type OrderCancellationInitiatedBy =
32410
32415
  io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
32411
32416
  export type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger;
32417
+ export type OrderCombinedShipment =
32418
+ io.flow.internal.v0.models.OrderCombinedShipment;
32419
+ export type OrderCombinedShipmentDeleted =
32420
+ io.flow.internal.v0.models.OrderCombinedShipmentDeleted;
32421
+ export type OrderCombinedShipmentForm =
32422
+ io.flow.internal.v0.models.OrderCombinedShipmentForm;
32423
+ export type OrderCombinedShipmentUpserted =
32424
+ io.flow.internal.v0.models.OrderCombinedShipmentUpserted;
32412
32425
  export type OrderDetail = io.flow.internal.v0.models.OrderDetail;
32413
32426
  export type OrderFulfillmentDeleted =
32414
32427
  io.flow.internal.v0.models.OrderFulfillmentDeleted;
@@ -32517,8 +32530,6 @@ export type OrganizationPaymentSettingVersion =
32517
32530
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
32518
32531
  export type OrganizationPaymentStatus =
32519
32532
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
32520
- export type OrganizationReference =
32521
- io.flow.internal.v0.models.OrganizationReference;
32522
32533
  export type OrganizationRestrictionApprovalStatus =
32523
32534
  io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
32524
32535
  export type OrganizationRestrictionNoteForm =
@@ -33282,8 +33293,6 @@ export type SubscriptionTransaction =
33282
33293
  io.flow.internal.v0.models.SubscriptionTransaction;
33283
33294
  export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
33284
33295
  export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
33285
- export type Surcharge = io.flow.internal.v0.models.Surcharge;
33286
- export type SurchargeType = io.flow.internal.v0.enums.SurchargeType;
33287
33296
  export type SvbVirtualCardClearing =
33288
33297
  io.flow.internal.v0.models.SvbVirtualCardClearing;
33289
33298
  export type SvbVirtualCardClearingDeleted =
@@ -33404,6 +33413,9 @@ export type TransferTransactionUpsertedV2 =
33404
33413
  export type Tribe = io.flow.internal.v0.models.Tribe;
33405
33414
  export type TrueUpLabelSummary = io.flow.internal.v0.models.TrueUpLabelSummary;
33406
33415
  export type TrueUpSurchargeType = io.flow.internal.v0.enums.TrueUpSurchargeType;
33416
+ export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction;
33417
+ export type TrueupTransactionType =
33418
+ io.flow.internal.v0.enums.TrueupTransactionType;
33407
33419
  export type UnassignedMerchantGuid =
33408
33420
  io.flow.internal.v0.models.UnassignedMerchantGuid;
33409
33421
  export type UnassignedMerchantGuidDeleted =
@@ -33460,13 +33472,6 @@ export type VirtualCardProviderUpserted =
33460
33472
  io.flow.internal.v0.models.VirtualCardProviderUpserted;
33461
33473
  export type VirtualCardTransaction =
33462
33474
  io.flow.internal.v0.models.VirtualCardTransaction;
33463
- export type WashCarrierActualFile =
33464
- io.flow.internal.v0.models.WashCarrierActualFile;
33465
- export type WashCarrierActualFileForm =
33466
- io.flow.internal.v0.models.WashCarrierActualFileForm;
33467
- export type WashCarrierActualFileStatus =
33468
- io.flow.internal.v0.enums.WashCarrierActualFileStatus;
33469
- export type WashExportRequest = io.flow.internal.v0.models.WashExportRequest;
33470
33475
  export type WasteElectricalAndElectronicEquipmentComplianceData =
33471
33476
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
33472
33477
  export type WasteElectricalAndElectronicEquipmentComplianceForm =