@flowio/types 11.24.41 → 11.24.43

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.
@@ -3916,6 +3916,7 @@ declare namespace io.flow.label.v0.models {
3916
3916
  interface ShippingLabelDocument {
3917
3917
  readonly zpl?: string;
3918
3918
  readonly pdf?: string;
3919
+ readonly pdf_data?: string;
3919
3920
  readonly png?: string;
3920
3921
  readonly html?: string;
3921
3922
  readonly required: boolean;
@@ -11378,6 +11379,8 @@ declare namespace io.flow.billing.v0.enums {
11378
11379
  | 'shipping_label_service'
11379
11380
  | 'shipping_label_revenue_share'
11380
11381
  | 'platform_fee'
11382
+ | 'tax'
11383
+ | 'duties'
11381
11384
  | 'other_adjustment'
11382
11385
  | 'tax_adjustment'
11383
11386
  | 'channel'
@@ -13199,6 +13202,7 @@ declare namespace io.flow.internal.v0.enums {
13199
13202
  | 'orders'
13200
13203
  | 'label'
13201
13204
  | 'order_service'
13205
+ | 'tax'
13202
13206
  | 'all';
13203
13207
  type BillingStatementBatchFileKey = 'archive' | 'summary';
13204
13208
  type BillingStatementReviewStatus = 'approved' | 'pending';
@@ -13220,7 +13224,8 @@ declare namespace io.flow.internal.v0.enums {
13220
13224
  | 'channel'
13221
13225
  | 'label'
13222
13226
  | 'order'
13223
- | 'channel_billed';
13227
+ | 'channel_billed'
13228
+ | 'tax';
13224
13229
  type BlazeCheckoutEvent =
13225
13230
  | 'begin_checkout'
13226
13231
  | 'select_promotion'
@@ -13591,8 +13596,6 @@ declare namespace io.flow.internal.v0.enums {
13591
13596
  | 'adyen_capture_upserted'
13592
13597
  | 'adyen_refund_deleted'
13593
13598
  | 'adyen_refund_upserted'
13594
- | 'billable_label_upserted'
13595
- | 'billable_label_deleted'
13596
13599
  | 'account_upserted'
13597
13600
  | 'account_upserted_v2'
13598
13601
  | 'account_deleted_v2'
@@ -13630,6 +13633,8 @@ declare namespace io.flow.internal.v0.enums {
13630
13633
  | 'label_transaction_deleted'
13631
13634
  | 'channel_billed_transaction_upserted'
13632
13635
  | 'channel_billed_transaction_deleted'
13636
+ | 'tax_transaction_upserted'
13637
+ | 'tax_transaction_deleted'
13633
13638
  | 'calculator_organization_settings_upserted'
13634
13639
  | 'calculator_organization_settings_deleted'
13635
13640
  | 'carrier_account_upserted_v2'
@@ -13823,6 +13828,8 @@ declare namespace io.flow.internal.v0.enums {
13823
13828
  | 'shopify_shop_deleted'
13824
13829
  | 'shopify_experience_short_id_upserted'
13825
13830
  | 'shopify_experience_short_id_deleted'
13831
+ | 'shopify_markets_order_upserted'
13832
+ | 'shopify_markets_order_deleted'
13826
13833
  | 'stripe_authorization_deleted'
13827
13834
  | 'stripe_authorization_upserted'
13828
13835
  | 'stripe_reversal_deleted'
@@ -13906,6 +13913,7 @@ declare namespace io.flow.internal.v0.enums {
13906
13913
  | 'billable_label'
13907
13914
  | 'fee'
13908
13915
  | 'revenue_share';
13916
+ type LiabilitiesMethod = 'withholding' | 'transaction';
13909
13917
  type LiabilityType =
13910
13918
  | 'full_value_tax'
13911
13919
  | 'low_value_goods_tax'
@@ -14032,7 +14040,10 @@ declare namespace io.flow.internal.v0.enums {
14032
14040
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
14033
14041
  type OrganizationPaymentStatus = 'active' | 'archived';
14034
14042
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
14035
- type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason';
14043
+ type OrganizationRestrictionNoteType =
14044
+ | 'internal'
14045
+ | 'rejection_reason'
14046
+ | 'additional_rejection_info';
14036
14047
  type OrganizationRestrictionRiskLevel = '5' | '15';
14037
14048
  type OrganizationRestrictionScreeningStatus =
14038
14049
  | 'in_review'
@@ -14203,6 +14214,7 @@ declare namespace io.flow.internal.v0.enums {
14203
14214
  | 'ratecard';
14204
14215
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
14205
14216
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
14217
+ type TaxTransactionType = 'adjustment' | 'tax';
14206
14218
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
14207
14219
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
14208
14220
  type TransactionPostingMethod = 'time' | 'proof';
@@ -15021,46 +15033,6 @@ declare namespace io.flow.internal.v0.models {
15021
15033
  readonly bank_payment: io.flow.internal.v0.models.BankPayment;
15022
15034
  }
15023
15035
 
15024
- interface BillableLabel {
15025
- readonly id: string;
15026
- readonly timestamp: string;
15027
- readonly label: io.flow.internal.v0.models.BillableLabelSummary;
15028
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
15029
- readonly order?: io.flow.internal.v0.models.BillableLabelOrderReference;
15030
- readonly cost: io.flow.common.v0.models.Money;
15031
- }
15032
-
15033
- interface BillableLabelCarrierReference {
15034
- readonly id: string;
15035
- }
15036
-
15037
- interface BillableLabelDeleted {
15038
- readonly discriminator: 'billable_label_deleted';
15039
- readonly event_id: string;
15040
- readonly timestamp: string;
15041
- readonly organization: string;
15042
- readonly id: string;
15043
- }
15044
-
15045
- interface BillableLabelOrderReference {
15046
- readonly number: string;
15047
- }
15048
-
15049
- interface BillableLabelSummary {
15050
- readonly id: string;
15051
- readonly flow_tracking_number: string;
15052
- readonly carrier: io.flow.internal.v0.models.BillableLabelCarrierReference;
15053
- readonly carrier_tracking_number: string;
15054
- }
15055
-
15056
- interface BillableLabelUpserted {
15057
- readonly discriminator: 'billable_label_upserted';
15058
- readonly event_id: string;
15059
- readonly timestamp: string;
15060
- readonly organization: string;
15061
- readonly billable_label: io.flow.internal.v0.models.BillableLabel;
15062
- }
15063
-
15064
15036
  interface BillingAuthorizationReference {
15065
15037
  readonly id: string;
15066
15038
  }
@@ -15077,6 +15049,10 @@ declare namespace io.flow.internal.v0.models {
15077
15049
  readonly carrier_tracking_number: string;
15078
15050
  }
15079
15051
 
15052
+ interface BillingLabelTrackingSummaryReference {
15053
+ readonly id: string;
15054
+ }
15055
+
15080
15056
  interface BillingOrderDestination {
15081
15057
  readonly city?: string;
15082
15058
  readonly province?: string;
@@ -15740,9 +15716,9 @@ declare namespace io.flow.internal.v0.models {
15740
15716
 
15741
15717
  interface ChannelBilledTransaction {
15742
15718
  readonly discriminator: 'channel_billed_transaction';
15719
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
15743
15720
  readonly id: string;
15744
15721
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
15745
- readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
15746
15722
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
15747
15723
  readonly posted_at?: string;
15748
15724
  readonly value: io.flow.common.v0.models.Price;
@@ -15933,9 +15909,9 @@ declare namespace io.flow.internal.v0.models {
15933
15909
 
15934
15910
  interface ChannelTransaction {
15935
15911
  readonly discriminator: 'channel_transaction';
15912
+ readonly transaction: io.flow.internal.v0.models.TransactionReference;
15936
15913
  readonly id: string;
15937
15914
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
15938
- readonly transaction: io.flow.internal.v0.models.TransactionReference;
15939
15915
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
15940
15916
  readonly posted_at?: string;
15941
15917
  readonly value: io.flow.common.v0.models.Price;
@@ -18166,6 +18142,7 @@ declare namespace io.flow.internal.v0.models {
18166
18142
  readonly discriminator: 'undo';
18167
18143
  readonly organization_id: string;
18168
18144
  readonly item_numbers: string[];
18145
+ readonly user: string;
18169
18146
  }
18170
18147
 
18171
18148
  interface ClassificationDetails {
@@ -18246,6 +18223,13 @@ declare namespace io.flow.internal.v0.models {
18246
18223
  readonly message: string;
18247
18224
  }
18248
18225
 
18226
+ interface ClassificationSearch {
18227
+ readonly product_id: string;
18228
+ readonly organization_id: io.flow.common.v0.models.OrganizationSummary;
18229
+ readonly items: io.flow.common.v0.models.CatalogItemSummary[];
18230
+ readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
18231
+ }
18232
+
18249
18233
  interface ClassificationStatistics {
18250
18234
  readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
18251
18235
  readonly number_of_items: number;
@@ -18862,9 +18846,9 @@ declare namespace io.flow.internal.v0.models {
18862
18846
 
18863
18847
  interface DisputeTransaction {
18864
18848
  readonly discriminator: 'dispute_transaction';
18849
+ readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
18865
18850
  readonly id: string;
18866
18851
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
18867
- readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
18868
18852
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
18869
18853
  readonly posted_at?: string;
18870
18854
  readonly value: io.flow.common.v0.models.Price;
@@ -19293,6 +19277,18 @@ declare namespace io.flow.internal.v0.models {
19293
19277
  readonly experiment: io.flow.internal.v0.unions.Experiment;
19294
19278
  }
19295
19279
 
19280
+ interface ExplicitStatement {
19281
+ readonly id: string;
19282
+ readonly statement: io.flow.internal.v0.models.BillingStatementReference;
19283
+ readonly reason: string;
19284
+ }
19285
+
19286
+ interface ExplicitStatementForm {
19287
+ readonly account_id: string;
19288
+ readonly reason: string;
19289
+ readonly transaction_ids: string[];
19290
+ }
19291
+
19296
19292
  interface ExportCompleted {
19297
19293
  readonly discriminator: 'export_completed';
19298
19294
  readonly event_id: string;
@@ -19555,6 +19551,33 @@ declare namespace io.flow.internal.v0.models {
19555
19551
  readonly transfer?: io.flow.internal.v0.models.Fee;
19556
19552
  }
19557
19553
 
19554
+ interface File {
19555
+ readonly id: string;
19556
+ readonly stream: io.flow.internal.v0.models.StreamReference;
19557
+ readonly url: string;
19558
+ readonly created_at: string;
19559
+ readonly metadata: io.flow.internal.v0.models.FileMetadata;
19560
+ readonly confirmation?: io.flow.internal.v0.models.FileConfirmation;
19561
+ }
19562
+
19563
+ interface FileConfirmation {
19564
+ readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
19565
+ }
19566
+
19567
+ interface FileConfirmationForm {
19568
+ readonly count_transactions: number;
19569
+ readonly count_statements: number;
19570
+ }
19571
+
19572
+ interface FileMetadata {
19573
+ readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
19574
+ }
19575
+
19576
+ interface FileMetadataCounts {
19577
+ readonly transactions: number;
19578
+ readonly statements: number;
19579
+ }
19580
+
19558
19581
  interface FinancialMerchantCategory {
19559
19582
  readonly id: string;
19560
19583
  readonly iso_18245_4: string;
@@ -21024,6 +21047,7 @@ declare namespace io.flow.internal.v0.models {
21024
21047
 
21025
21048
  interface InvoiceTransaction {
21026
21049
  readonly discriminator: 'invoice_transaction';
21050
+ readonly invoice: io.flow.internal.v0.models.Invoice;
21027
21051
  readonly id: string;
21028
21052
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21029
21053
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -21032,7 +21056,6 @@ declare namespace io.flow.internal.v0.models {
21032
21056
  readonly description: string;
21033
21057
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21034
21058
  readonly created_at: string;
21035
- readonly invoice: io.flow.internal.v0.models.Invoice;
21036
21059
  }
21037
21060
 
21038
21061
  interface Issuer {
@@ -21440,10 +21463,11 @@ declare namespace io.flow.internal.v0.models {
21440
21463
 
21441
21464
  interface LabelTransaction {
21442
21465
  readonly discriminator: 'label_transaction';
21443
- readonly id: string;
21444
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21445
21466
  readonly label: io.flow.internal.v0.models.BillingLabelSummary;
21446
21467
  readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21468
+ readonly tracking: io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
21469
+ readonly id: string;
21470
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21447
21471
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
21448
21472
  readonly posted_at?: string;
21449
21473
  readonly value: io.flow.common.v0.models.Price;
@@ -21846,16 +21870,16 @@ declare namespace io.flow.internal.v0.models {
21846
21870
 
21847
21871
  interface ManualTransaction {
21848
21872
  readonly discriminator: 'manual_transaction';
21873
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
21874
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21875
+ readonly attributes?: Record<string, string>;
21849
21876
  readonly id: string;
21850
21877
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21851
21878
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
21852
21879
  readonly posted_at?: string;
21853
21880
  readonly value: io.flow.common.v0.models.Price;
21854
21881
  readonly description: string;
21855
- readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
21856
21882
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21857
- readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21858
- readonly attributes?: Record<string, string>;
21859
21883
  readonly created_at: string;
21860
21884
  }
21861
21885
 
@@ -22462,9 +22486,9 @@ declare namespace io.flow.internal.v0.models {
22462
22486
 
22463
22487
  interface OrderTransaction {
22464
22488
  readonly discriminator: 'order_transaction';
22489
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
22465
22490
  readonly id: string;
22466
22491
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
22467
- readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
22468
22492
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
22469
22493
  readonly posted_at?: string;
22470
22494
  readonly value: io.flow.common.v0.models.Price;
@@ -22646,6 +22670,7 @@ declare namespace io.flow.internal.v0.models {
22646
22670
  }
22647
22671
 
22648
22672
  interface OrganizationRestrictionApproval {
22673
+ readonly id: string;
22649
22674
  readonly status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
22650
22675
  readonly reason?: string;
22651
22676
  readonly updated_at: string;
@@ -22669,6 +22694,7 @@ declare namespace io.flow.internal.v0.models {
22669
22694
 
22670
22695
  interface OrganizationRestrictionNoteForm {
22671
22696
  readonly note: string;
22697
+ readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
22672
22698
  }
22673
22699
 
22674
22700
  interface OrganizationRestrictionScreeningDecisionForm {
@@ -22678,8 +22704,7 @@ declare namespace io.flow.internal.v0.models {
22678
22704
  readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
22679
22705
  readonly hs_code?: string;
22680
22706
  readonly merchant_category_code?: string;
22681
- readonly note?: string;
22682
- readonly rejection_reason?: string;
22707
+ readonly notes?: io.flow.internal.v0.models.OrganizationRestrictionNoteForm[];
22683
22708
  }
22684
22709
 
22685
22710
  interface OrganizationRestrictionSnapshot {
@@ -23248,18 +23273,13 @@ declare namespace io.flow.internal.v0.models {
23248
23273
 
23249
23274
  interface ProcessingTransaction {
23250
23275
  readonly discriminator: 'processing_transaction';
23251
- readonly id: string;
23252
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23253
23276
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
23254
23277
  readonly logistics_responsibility: io.flow.internal.v0.enums.ResponsibleParty[];
23255
- readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23256
- readonly posted_at?: string;
23257
- readonly value: io.flow.common.v0.models.Price;
23258
- readonly description: string;
23259
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23260
- readonly created_at: string;
23261
23278
  readonly original_at?: string;
23262
23279
  readonly reference: string;
23280
+ readonly psp_reference_id: string;
23281
+ readonly reference_id: string;
23282
+ readonly reference_key: string;
23263
23283
  readonly primary_identifier?: string;
23264
23284
  readonly payment_method: string;
23265
23285
  readonly original: io.flow.common.v0.models.PriceWithBase;
@@ -23274,6 +23294,14 @@ declare namespace io.flow.internal.v0.models {
23274
23294
  readonly flow_margin: number;
23275
23295
  readonly revenue_share?: io.flow.common.v0.models.Price;
23276
23296
  readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
23297
+ readonly id: string;
23298
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23299
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23300
+ readonly posted_at?: string;
23301
+ readonly value: io.flow.common.v0.models.Price;
23302
+ readonly description: string;
23303
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23304
+ readonly created_at: string;
23277
23305
  }
23278
23306
 
23279
23307
  interface ProcessingTransactionDeleted {
@@ -23397,7 +23425,7 @@ declare namespace io.flow.internal.v0.models {
23397
23425
 
23398
23426
  interface ProofOfPostingFulfilled {
23399
23427
  readonly discriminator: 'fulfilled';
23400
- readonly billable_label_id: string;
23428
+ readonly label_tracking_summary_id: string;
23401
23429
  }
23402
23430
 
23403
23431
  interface ProofOfPostingFullyRefunded {
@@ -23406,6 +23434,11 @@ declare namespace io.flow.internal.v0.models {
23406
23434
  readonly refund_ids: string[];
23407
23435
  }
23408
23436
 
23437
+ interface ProofOfPostingShippingNotification {
23438
+ readonly discriminator: 'shipping_notification';
23439
+ readonly shipping_notification_id: string;
23440
+ }
23441
+
23409
23442
  interface QuoteRequest {
23410
23443
  readonly id: string;
23411
23444
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -24250,6 +24283,27 @@ declare namespace io.flow.internal.v0.models {
24250
24283
  readonly jurisdiction?: string;
24251
24284
  }
24252
24285
 
24286
+ interface ShopifyMarketsOrder {
24287
+ readonly id: string;
24288
+ readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
24289
+ }
24290
+
24291
+ interface ShopifyMarketsOrderDeleted {
24292
+ readonly discriminator: 'shopify_markets_order_deleted';
24293
+ readonly event_id: string;
24294
+ readonly timestamp: string;
24295
+ readonly organization: string;
24296
+ readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
24297
+ }
24298
+
24299
+ interface ShopifyMarketsOrderUpserted {
24300
+ readonly discriminator: 'shopify_markets_order_upserted';
24301
+ readonly event_id: string;
24302
+ readonly timestamp: string;
24303
+ readonly organization: string;
24304
+ readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
24305
+ }
24306
+
24253
24307
  interface ShopifyMarketsShop {
24254
24308
  readonly id: string;
24255
24309
  readonly channel: io.flow.common.v0.models.ChannelReference;
@@ -24528,6 +24582,27 @@ declare namespace io.flow.internal.v0.models {
24528
24582
  readonly initial_customs_description?: string;
24529
24583
  }
24530
24584
 
24585
+ interface SmbTaxCalculation {
24586
+ readonly quote_reference: string;
24587
+ readonly target_currency_code: string;
24588
+ readonly total: number;
24589
+ readonly tax: io.flow.internal.v0.unions.TaxAmount;
24590
+ readonly lines: io.flow.internal.v0.models.TaxCalculationLineItem[];
24591
+ readonly shipping_total: number;
24592
+ readonly shipping_tax: io.flow.internal.v0.unions.TaxAmount;
24593
+ readonly customer_code?: string;
24594
+ }
24595
+
24596
+ interface SmbTaxCalculationForm {
24597
+ readonly quote_reference: string;
24598
+ readonly target_currency_code: string;
24599
+ readonly destination: io.flow.common.v0.models.Address;
24600
+ readonly order_date: string;
24601
+ readonly lines: io.flow.internal.v0.models.TaxCalculationLineItemForm[];
24602
+ readonly shipping_amount: number;
24603
+ readonly customer_code?: string;
24604
+ }
24605
+
24531
24606
  interface SnapchatPixel {
24532
24607
  readonly discriminator: 'snapchat_pixel';
24533
24608
  readonly name?: string;
@@ -24589,6 +24664,15 @@ declare namespace io.flow.internal.v0.models {
24589
24664
  readonly organization: string;
24590
24665
  }
24591
24666
 
24667
+ interface Stream {
24668
+ readonly id: string;
24669
+ readonly key: string;
24670
+ }
24671
+
24672
+ interface StreamReference {
24673
+ readonly id: string;
24674
+ }
24675
+
24592
24676
  interface StringFeatureDefaultValue {
24593
24677
  readonly discriminator: 'string';
24594
24678
  readonly value: string;
@@ -24830,6 +24914,7 @@ declare namespace io.flow.internal.v0.models {
24830
24914
 
24831
24915
  interface SubscriptionTransaction {
24832
24916
  readonly discriminator: 'subscription_transaction';
24917
+ readonly period: io.flow.common.v0.models.DatetimeRange;
24833
24918
  readonly id: string;
24834
24919
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
24835
24920
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -24838,7 +24923,6 @@ declare namespace io.flow.internal.v0.models {
24838
24923
  readonly description: string;
24839
24924
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
24840
24925
  readonly created_at: string;
24841
- readonly period: io.flow.common.v0.models.DatetimeRange;
24842
24926
  }
24843
24927
 
24844
24928
  interface SupportedLabels {
@@ -24977,6 +25061,8 @@ declare namespace io.flow.internal.v0.models {
24977
25061
 
24978
25062
  interface TaxRemittanceTransaction {
24979
25063
  readonly discriminator: 'tax_remittance_transaction';
25064
+ readonly order: io.flow.internal.v0.models.BillingOrderSummary;
25065
+ readonly invoice: io.flow.internal.v0.models.BillingInvoiceSummary;
24980
25066
  readonly id: string;
24981
25067
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
24982
25068
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -24985,8 +25071,6 @@ declare namespace io.flow.internal.v0.models {
24985
25071
  readonly description: string;
24986
25072
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
24987
25073
  readonly created_at: string;
24988
- readonly order: io.flow.internal.v0.models.BillingOrderSummary;
24989
- readonly invoice: io.flow.internal.v0.models.BillingInvoiceSummary;
24990
25074
  }
24991
25075
 
24992
25076
  interface TaxRemittanceTransactionDeleted {
@@ -25005,6 +25089,33 @@ declare namespace io.flow.internal.v0.models {
25005
25089
  readonly transaction: io.flow.internal.v0.models.TaxRemittanceTransaction;
25006
25090
  }
25007
25091
 
25092
+ interface TaxTransaction {
25093
+ readonly discriminator: 'tax_transaction';
25094
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
25095
+ readonly id: string;
25096
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
25097
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
25098
+ readonly posted_at?: string;
25099
+ readonly value: io.flow.common.v0.models.Price;
25100
+ readonly description: string;
25101
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
25102
+ readonly created_at: string;
25103
+ }
25104
+
25105
+ interface TaxTransactionDeleted {
25106
+ readonly discriminator: 'tax_transaction_deleted';
25107
+ readonly event_id: string;
25108
+ readonly timestamp: string;
25109
+ readonly id: string;
25110
+ }
25111
+
25112
+ interface TaxTransactionUpserted {
25113
+ readonly discriminator: 'tax_transaction_upserted';
25114
+ readonly event_id: string;
25115
+ readonly timestamp: string;
25116
+ readonly tax_transaction: io.flow.internal.v0.models.TaxTransaction;
25117
+ }
25118
+
25008
25119
  interface TaxonomyCategory {
25009
25120
  readonly discriminator: 'category';
25010
25121
  readonly name: string;
@@ -25208,6 +25319,7 @@ declare namespace io.flow.internal.v0.models {
25208
25319
 
25209
25320
  interface TransferTransaction {
25210
25321
  readonly discriminator: 'transfer_transaction';
25322
+ readonly method: io.flow.internal.v0.enums.TransferMethod;
25211
25323
  readonly id: string;
25212
25324
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
25213
25325
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -25216,7 +25328,6 @@ declare namespace io.flow.internal.v0.models {
25216
25328
  readonly description: string;
25217
25329
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
25218
25330
  readonly created_at: string;
25219
- readonly method: io.flow.internal.v0.enums.TransferMethod;
25220
25331
  }
25221
25332
 
25222
25333
  interface TransferTransactionDeleted {
@@ -25461,6 +25572,10 @@ declare namespace io.flow.internal.v0.models {
25461
25572
 
25462
25573
  interface VirtualCardTransaction {
25463
25574
  readonly discriminator: 'virtual_card_transaction';
25575
+ readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference;
25576
+ readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
25577
+ readonly original: io.flow.common.v0.models.PriceWithBase;
25578
+ readonly processing_fee: io.flow.internal.v0.models.Fee;
25464
25579
  readonly id: string;
25465
25580
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
25466
25581
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -25469,10 +25584,6 @@ declare namespace io.flow.internal.v0.models {
25469
25584
  readonly description: string;
25470
25585
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
25471
25586
  readonly created_at: string;
25472
- readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference;
25473
- readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
25474
- readonly original: io.flow.common.v0.models.PriceWithBase;
25475
- readonly processing_fee: io.flow.internal.v0.models.Fee;
25476
25587
  }
25477
25588
 
25478
25589
  interface WasteElectricalAndElectronicEquipmentComplianceData {
@@ -25948,8 +26059,6 @@ declare namespace io.flow.internal.v0.unions {
25948
26059
  | io.flow.internal.v0.models.AdyenCaptureUpserted
25949
26060
  | io.flow.internal.v0.models.AdyenRefundDeleted
25950
26061
  | io.flow.internal.v0.models.AdyenRefundUpserted
25951
- | io.flow.internal.v0.models.BillableLabelUpserted
25952
- | io.flow.internal.v0.models.BillableLabelDeleted
25953
26062
  | io.flow.internal.v0.models.AccountUpserted
25954
26063
  | io.flow.internal.v0.models.AccountUpsertedV2
25955
26064
  | io.flow.internal.v0.models.AccountDeletedV2
@@ -25987,6 +26096,8 @@ declare namespace io.flow.internal.v0.unions {
25987
26096
  | io.flow.internal.v0.models.LabelTransactionDeleted
25988
26097
  | io.flow.internal.v0.models.ChannelBilledTransactionUpserted
25989
26098
  | io.flow.internal.v0.models.ChannelBilledTransactionDeleted
26099
+ | io.flow.internal.v0.models.TaxTransactionUpserted
26100
+ | io.flow.internal.v0.models.TaxTransactionDeleted
25990
26101
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
25991
26102
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
25992
26103
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -26180,6 +26291,8 @@ declare namespace io.flow.internal.v0.unions {
26180
26291
  | io.flow.internal.v0.models.ShopifyShopDeleted
26181
26292
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
26182
26293
  | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted
26294
+ | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted
26295
+ | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted
26183
26296
  | io.flow.internal.v0.models.StripeAuthorizationDeleted
26184
26297
  | io.flow.internal.v0.models.StripeAuthorizationUpserted
26185
26298
  | io.flow.internal.v0.models.StripeReversalDeleted
@@ -26386,7 +26499,8 @@ declare namespace io.flow.internal.v0.unions {
26386
26499
  type ProofOfPosting =
26387
26500
  | io.flow.internal.v0.models.ProofOfPostingFulfilled
26388
26501
  | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
26389
- | io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
26502
+ | io.flow.internal.v0.models.ProofOfPostingFullyRefunded
26503
+ | io.flow.internal.v0.models.ProofOfPostingShippingNotification;
26390
26504
  type RoutingEntity =
26391
26505
  | io.flow.internal.v0.models.RoutingProcessor
26392
26506
  | io.flow.internal.v0.models.RoutingAccount
@@ -26439,7 +26553,8 @@ declare namespace io.flow.internal.v0.unions {
26439
26553
  | io.flow.internal.v0.models.ChannelTransaction
26440
26554
  | io.flow.internal.v0.models.LabelTransaction
26441
26555
  | io.flow.internal.v0.models.OrderTransaction
26442
- | io.flow.internal.v0.models.ChannelBilledTransaction;
26556
+ | io.flow.internal.v0.models.ChannelBilledTransaction
26557
+ | io.flow.internal.v0.models.TaxTransaction;
26443
26558
  type TransactionSummary =
26444
26559
  | io.flow.internal.v0.models.PaymentSummaryV2
26445
26560
  | io.flow.internal.v0.models.FraudSummary;
@@ -26638,17 +26753,6 @@ export type BankPaymentUpserted =
26638
26753
  io.flow.internal.v0.models.BankPaymentUpserted;
26639
26754
  export type BankPaymentUpsertedV2 =
26640
26755
  io.flow.internal.v0.models.BankPaymentUpsertedV2;
26641
- export type BillableLabel = io.flow.internal.v0.models.BillableLabel;
26642
- export type BillableLabelCarrierReference =
26643
- io.flow.internal.v0.models.BillableLabelCarrierReference;
26644
- export type BillableLabelDeleted =
26645
- io.flow.internal.v0.models.BillableLabelDeleted;
26646
- export type BillableLabelOrderReference =
26647
- io.flow.internal.v0.models.BillableLabelOrderReference;
26648
- export type BillableLabelSummary =
26649
- io.flow.internal.v0.models.BillableLabelSummary;
26650
- export type BillableLabelUpserted =
26651
- io.flow.internal.v0.models.BillableLabelUpserted;
26652
26756
  export type BillingAllocationKey =
26653
26757
  io.flow.internal.v0.enums.BillingAllocationKey;
26654
26758
  export type BillingAuthorizationReference =
@@ -26657,6 +26761,8 @@ export type BillingInvoiceSummary =
26657
26761
  io.flow.internal.v0.models.BillingInvoiceSummary;
26658
26762
  export type BillingLabelSummary =
26659
26763
  io.flow.internal.v0.models.BillingLabelSummary;
26764
+ export type BillingLabelTrackingSummaryReference =
26765
+ io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
26660
26766
  export type BillingOrderDestination =
26661
26767
  io.flow.internal.v0.models.BillingOrderDestination;
26662
26768
  export type BillingOrderSummary =
@@ -28003,6 +28109,8 @@ export type ClassificationRequeueRequest =
28003
28109
  io.flow.internal.v0.models.ClassificationRequeueRequest;
28004
28110
  export type ClassificationResponse =
28005
28111
  io.flow.internal.v0.unions.ClassificationResponse;
28112
+ export type ClassificationSearch =
28113
+ io.flow.internal.v0.models.ClassificationSearch;
28006
28114
  export type ClassificationStatistics =
28007
28115
  io.flow.internal.v0.models.ClassificationStatistics;
28008
28116
  export type ClassificationTaxonomy =
@@ -28290,6 +28398,9 @@ export type ExperimentSessionQueryForm =
28290
28398
  io.flow.internal.v0.models.ExperimentSessionQueryForm;
28291
28399
  export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
28292
28400
  export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
28401
+ export type ExplicitStatement = io.flow.internal.v0.models.ExplicitStatement;
28402
+ export type ExplicitStatementForm =
28403
+ io.flow.internal.v0.models.ExplicitStatementForm;
28293
28404
  export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
28294
28405
  export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
28295
28406
  export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
@@ -28351,6 +28462,12 @@ export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
28351
28462
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
28352
28463
  export type Fees = io.flow.internal.v0.models.Fees;
28353
28464
  export type FeesSource = io.flow.internal.v0.enums.FeesSource;
28465
+ export type File = io.flow.internal.v0.models.File;
28466
+ export type FileConfirmation = io.flow.internal.v0.models.FileConfirmation;
28467
+ export type FileConfirmationForm =
28468
+ io.flow.internal.v0.models.FileConfirmationForm;
28469
+ export type FileMetadata = io.flow.internal.v0.models.FileMetadata;
28470
+ export type FileMetadataCounts = io.flow.internal.v0.models.FileMetadataCounts;
28354
28471
  export type FinancialMerchantCategory =
28355
28472
  io.flow.internal.v0.models.FinancialMerchantCategory;
28356
28473
  export type FinancialReportingResponsibleParty =
@@ -28760,6 +28877,7 @@ export type Landmark = io.flow.internal.v0.models.Landmark;
28760
28877
  export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
28761
28878
  export type LevyRateSummaryUpserted =
28762
28879
  io.flow.internal.v0.models.LevyRateSummaryUpserted;
28880
+ export type LiabilitiesMethod = io.flow.internal.v0.enums.LiabilitiesMethod;
28763
28881
  export type Liability = io.flow.internal.v0.models.Liability;
28764
28882
  export type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
28765
28883
  export type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;
@@ -29319,6 +29437,8 @@ export type ProofOfPostingFulfilled =
29319
29437
  io.flow.internal.v0.models.ProofOfPostingFulfilled;
29320
29438
  export type ProofOfPostingFullyRefunded =
29321
29439
  io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
29440
+ export type ProofOfPostingShippingNotification =
29441
+ io.flow.internal.v0.models.ProofOfPostingShippingNotification;
29322
29442
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
29323
29443
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
29324
29444
  export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
@@ -29537,6 +29657,12 @@ export type ShopifyMarketsHtsNumberAvailable =
29537
29657
  io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
29538
29658
  export type ShopifyMarketsIncorporationCountry =
29539
29659
  io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
29660
+ export type ShopifyMarketsOrder =
29661
+ io.flow.internal.v0.models.ShopifyMarketsOrder;
29662
+ export type ShopifyMarketsOrderDeleted =
29663
+ io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
29664
+ export type ShopifyMarketsOrderUpserted =
29665
+ io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
29540
29666
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
29541
29667
  export type ShopifyMarketsShopForm =
29542
29668
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
@@ -29640,6 +29766,9 @@ export type SingleClassificationAction =
29640
29766
  io.flow.internal.v0.models.SingleClassificationAction;
29641
29767
  export type SingleClassificationForm =
29642
29768
  io.flow.internal.v0.models.SingleClassificationForm;
29769
+ export type SmbTaxCalculation = io.flow.internal.v0.models.SmbTaxCalculation;
29770
+ export type SmbTaxCalculationForm =
29771
+ io.flow.internal.v0.models.SmbTaxCalculationForm;
29643
29772
  export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
29644
29773
  export type SpotRate = io.flow.internal.v0.models.SpotRate;
29645
29774
  export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
@@ -29658,6 +29787,8 @@ export type Status = io.flow.internal.v0.enums.Status;
29658
29787
  export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
29659
29788
  export type StoreConnectionForm =
29660
29789
  io.flow.internal.v0.models.StoreConnectionForm;
29790
+ export type Stream = io.flow.internal.v0.models.Stream;
29791
+ export type StreamReference = io.flow.internal.v0.models.StreamReference;
29661
29792
  export type StringFeatureDefaultValue =
29662
29793
  io.flow.internal.v0.models.StringFeatureDefaultValue;
29663
29794
  export type StringFeatureRule = io.flow.internal.v0.models.StringFeatureRule;
@@ -29757,6 +29888,12 @@ export type TaxRemittanceTransactionDeleted =
29757
29888
  io.flow.internal.v0.models.TaxRemittanceTransactionDeleted;
29758
29889
  export type TaxRemittanceTransactionUpserted =
29759
29890
  io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
29891
+ export type TaxTransaction = io.flow.internal.v0.models.TaxTransaction;
29892
+ export type TaxTransactionDeleted =
29893
+ io.flow.internal.v0.models.TaxTransactionDeleted;
29894
+ export type TaxTransactionType = io.flow.internal.v0.enums.TaxTransactionType;
29895
+ export type TaxTransactionUpserted =
29896
+ io.flow.internal.v0.models.TaxTransactionUpserted;
29760
29897
  export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
29761
29898
  export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
29762
29899
  export type Test = io.flow.internal.v0.models.Test;