@flowio/types 11.24.34 → 11.24.36

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.
@@ -3869,6 +3869,10 @@ declare namespace io.flow.label.v0.models {
3869
3869
  readonly number: string;
3870
3870
  }
3871
3871
 
3872
+ interface LabelReference {
3873
+ readonly id: string;
3874
+ }
3875
+
3872
3876
  interface Manifest {
3873
3877
  readonly id: string;
3874
3878
  readonly timestamp: string;
@@ -3885,11 +3889,11 @@ declare namespace io.flow.label.v0.models {
3885
3889
  interface ShippingLabel {
3886
3890
  readonly id: string;
3887
3891
  readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary;
3888
- readonly reference_id: string;
3892
+ readonly reference_id?: string;
3889
3893
  readonly attributes: Record<string, string>;
3890
3894
  readonly carrier_tracking_number: string;
3891
3895
  readonly carrier_tracking_number_url: string;
3892
- readonly cost_estimate_source: io.flow.label.v0.enums.CostEstimateSource;
3896
+ readonly cost_estimate_source?: io.flow.label.v0.enums.CostEstimateSource;
3893
3897
  readonly cost?: io.flow.common.v0.models.Price;
3894
3898
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
3895
3899
  readonly flow_tracking_number: string;
@@ -5201,11 +5205,13 @@ declare namespace io.flow.adyen.v0.enums {
5201
5205
  type PaymentMethod =
5202
5206
  | 'ach'
5203
5207
  | 'alipay'
5208
+ | 'alipay_hk'
5204
5209
  | 'alipay_wap'
5205
5210
  | 'amex'
5206
5211
  | 'bankTransfer_IBAN'
5207
5212
  | 'bcmc'
5208
5213
  | 'bcmc_mobile'
5214
+ | 'blik'
5209
5215
  | 'cartebancaire'
5210
5216
  | 'cup'
5211
5217
  | 'diners'
@@ -5216,21 +5222,27 @@ declare namespace io.flow.adyen.v0.enums {
5216
5222
  | 'dragonpay_gcash'
5217
5223
  | 'dragonpay_otc_banking'
5218
5224
  | 'ebanking_FI'
5225
+ | 'gcash'
5219
5226
  | 'giropay'
5220
5227
  | 'ideal'
5221
5228
  | 'interac'
5222
5229
  | 'jcb'
5230
+ | 'kakaopay'
5223
5231
  | 'kcp_banktransfer'
5224
5232
  | 'kcp_creditcard'
5225
5233
  | 'kcp_payco'
5226
5234
  | 'maestro'
5235
+ | 'mbway'
5227
5236
  | 'mc'
5237
+ | 'mobilepay'
5228
5238
  | 'molpay_points'
5229
5239
  | 'multibanco'
5240
+ | 'onlineBanking_PL'
5230
5241
  | 'qiwiwallet'
5231
5242
  | 'sepadirectdebit'
5232
5243
  | 'trustly'
5233
5244
  | 'trustpay'
5245
+ | 'twint'
5234
5246
  | 'unionpay'
5235
5247
  | 'visa'
5236
5248
  | 'wechatpay'
@@ -5492,6 +5504,7 @@ declare namespace io.flow.adyen.v0.models {
5492
5504
  readonly metadata?: any /*object*/;
5493
5505
  readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5494
5506
  readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5507
+ readonly storePaymentMethod?: boolean;
5495
5508
  }
5496
5509
 
5497
5510
  interface PaymentResponse {
@@ -5545,6 +5558,13 @@ declare namespace io.flow.adyen.v0.models {
5545
5558
  readonly iDealConsumerIBAN?: string;
5546
5559
  readonly iDealConsumerName?: string;
5547
5560
  readonly iDealTransactionId?: string;
5561
+ readonly 'recurring.recurringDetailReference'?: string;
5562
+ readonly 'recurring.shopperReference'?: string;
5563
+ readonly networkTxReference?: string;
5564
+ readonly PaymentAccountReference?: string;
5565
+ readonly 'networkToken.available'?: string;
5566
+ readonly 'networkToken.bin'?: string;
5567
+ readonly 'networkToken.tokenSummary'?: string;
5548
5568
  }
5549
5569
 
5550
5570
  interface Recurring {
@@ -5576,6 +5596,8 @@ declare namespace io.flow.adyen.v0.models {
5576
5596
  readonly holderName: string;
5577
5597
  readonly number: string;
5578
5598
  readonly cvc?: string;
5599
+ readonly storedPaymentMethodId?: string;
5600
+ readonly networkPaymentReference?: string;
5579
5601
  }
5580
5602
 
5581
5603
  interface SdkV3OnCompleteData {
@@ -10295,6 +10317,25 @@ declare namespace io.flow.tracking.v0.enums {
10295
10317
  }
10296
10318
 
10297
10319
  declare namespace io.flow.tracking.v0.models {
10320
+ interface LabelTrackingCarrierService {
10321
+ readonly carrier_id: string;
10322
+ readonly service_id?: string;
10323
+ }
10324
+
10325
+ interface LabelTrackingSummary {
10326
+ readonly id: string;
10327
+ readonly carrier_service: io.flow.tracking.v0.models.LabelTrackingCarrierService;
10328
+ readonly carrier_tracking_number: string;
10329
+ readonly order_number?: string;
10330
+ readonly label?: io.flow.label.v0.models.LabelReference;
10331
+ readonly in_transit: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
10332
+ readonly delivered?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
10333
+ }
10334
+
10335
+ interface LabelTrackingSummaryUpdate {
10336
+ readonly timestamp: string;
10337
+ }
10338
+
10298
10339
  interface Tracking {
10299
10340
  readonly id: string;
10300
10341
  readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
@@ -10356,6 +10397,7 @@ declare namespace io.flow.tracking.v0.models {
10356
10397
  readonly tracking_id: string;
10357
10398
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
10358
10399
  readonly carrier: string;
10400
+ readonly service_id?: string;
10359
10401
  readonly carrier_tracking_number: string;
10360
10402
  readonly delivery_estimate?: string;
10361
10403
  readonly description?: string;
@@ -10439,6 +10481,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10439
10481
  readonly id?: string;
10440
10482
  }
10441
10483
 
10484
+ interface LogisticsFormat {
10485
+ readonly preference?: string;
10486
+ readonly description?: string;
10487
+ }
10488
+
10442
10489
  interface MerchantInfo {
10443
10490
  readonly legal_name?: string;
10444
10491
  readonly country: string;
@@ -10495,6 +10542,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10495
10542
  readonly phone?: string;
10496
10543
  }
10497
10544
 
10545
+ interface Shop {
10546
+ readonly name: string;
10547
+ readonly id: string;
10548
+ }
10549
+
10498
10550
  interface ShopifyMerchantApplication {
10499
10551
  readonly discriminator: 'shopify_merchant_application';
10500
10552
  readonly id: string;
@@ -10526,6 +10578,12 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10526
10578
  readonly created_at: string;
10527
10579
  readonly activated_at?: string;
10528
10580
  readonly status_updated_at?: string;
10581
+ readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
10582
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10583
+ readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
10584
+ readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
10585
+ readonly average_order_value?: io.flow.common.v0.models.Money;
10586
+ readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
10529
10587
  }
10530
10588
 
10531
10589
  interface ShopifyMerchantApplicationForm {
@@ -10554,6 +10612,12 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10554
10612
  readonly default_country_of_origin?: string;
10555
10613
  readonly ratecard_id?: string;
10556
10614
  readonly rate_card: string;
10615
+ readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
10616
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10617
+ readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
10618
+ readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
10619
+ readonly average_order_value?: io.flow.common.v0.models.Money;
10620
+ readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
10557
10621
  }
10558
10622
 
10559
10623
  interface ShopifyMerchantApplicationPutForm {
@@ -10575,6 +10639,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10575
10639
  readonly center_id?: string;
10576
10640
  }
10577
10641
 
10642
+ interface TotalOrder {
10643
+ readonly value?: io.flow.common.v0.models.Money;
10644
+ readonly count?: number;
10645
+ }
10646
+
10578
10647
  interface UltimateBeneficiaryOwner {
10579
10648
  readonly name: string;
10580
10649
  readonly dob: string;
@@ -11356,6 +11425,11 @@ declare namespace io.flow.billing.v0.models {
11356
11425
  readonly id: string;
11357
11426
  }
11358
11427
 
11428
+ interface BillingDiscount {
11429
+ readonly amount: number;
11430
+ readonly description?: string;
11431
+ }
11432
+
11359
11433
  interface ChannelStatement {
11360
11434
  readonly id: string;
11361
11435
  readonly account: io.flow.billing.v0.models.AccountReference;
@@ -11375,6 +11449,7 @@ declare namespace io.flow.billing.v0.models {
11375
11449
  readonly gross: number;
11376
11450
  readonly fees: io.flow.billing.v0.models.FeeDeduction[];
11377
11451
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11452
+ readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
11378
11453
  readonly net: number;
11379
11454
  readonly created_at: string;
11380
11455
  }
@@ -11426,6 +11501,7 @@ declare namespace io.flow.billing.v0.models {
11426
11501
  readonly gross: number;
11427
11502
  readonly fees: io.flow.billing.v0.models.FeeDeduction[];
11428
11503
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11504
+ readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
11429
11505
  readonly net: number;
11430
11506
  readonly created_at: string;
11431
11507
  }
@@ -12899,6 +12975,7 @@ declare namespace io.flow.organization.v0.models {
12899
12975
  readonly parent_id?: string;
12900
12976
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
12901
12977
  readonly status?: io.flow.common.v0.enums.OrganizationStatus;
12978
+ readonly type?: io.flow.common.v0.enums.OrganizationType;
12902
12979
  }
12903
12980
 
12904
12981
  interface OrganizationPutForm {
@@ -13509,9 +13586,9 @@ declare namespace io.flow.internal.v0.enums {
13509
13586
  | 'billing_statement_deleted'
13510
13587
  | 'tax_remittance_transaction_upserted'
13511
13588
  | 'tax_remittance_transaction_deleted'
13512
- | 'channel_account_upserted'
13589
+ | 'channel_account_upserted_v2'
13513
13590
  | 'channel_account_deleted'
13514
- | 'organization_account_upserted'
13591
+ | 'organization_account_upserted_v2'
13515
13592
  | 'organization_account_deleted'
13516
13593
  | 'account_transactions_export_request'
13517
13594
  | 'account_orders_export_request'
@@ -13619,6 +13696,8 @@ declare namespace io.flow.internal.v0.enums {
13619
13696
  | 'fraud_pending_review_deleted'
13620
13697
  | 'fraud_review_decision_upserted'
13621
13698
  | 'fraud_review_decision_deleted'
13699
+ | 'fraud_provider_configuration_upserted'
13700
+ | 'fraud_provider_configuration_deleted'
13622
13701
  | 'ftp_file_upserted'
13623
13702
  | 'ftp_file_deleted'
13624
13703
  | 'ftp_file_to_process_uploaded'
@@ -13650,6 +13729,8 @@ declare namespace io.flow.internal.v0.enums {
13650
13729
  | 'issuer_upserted'
13651
13730
  | 'issuer_deleted'
13652
13731
  | 'item_form_import_request'
13732
+ | 'label_tracking_summary_upserted'
13733
+ | 'label_tracking_summary_deleted'
13653
13734
  | 'localized_item_upserted_v2'
13654
13735
  | 'localized_item_deleted'
13655
13736
  | 'localized_item_deleted_v2'
@@ -13672,6 +13753,7 @@ declare namespace io.flow.internal.v0.enums {
13672
13753
  | 'organization_restriction_approval_upserted'
13673
13754
  | 'organization_restriction_snapshot_upserted'
13674
13755
  | 'organization_restriction_snapshot_deleted'
13756
+ | 'organization_restriction_status_upserted'
13675
13757
  | 'internal_authorization_upserted'
13676
13758
  | 'internal_authorization_deleted'
13677
13759
  | 'afterpay_authorization_upserted'
@@ -13807,6 +13889,7 @@ declare namespace io.flow.internal.v0.enums {
13807
13889
  type ManualReviewRuleStatus = 'active' | 'archived';
13808
13890
  type ManualTransactionCategory =
13809
13891
  | 'cancelled_order_refund'
13892
+ | 'channel_partner_initiated'
13810
13893
  | 'client_accepted_chargeback'
13811
13894
  | 'fee_reimbursement'
13812
13895
  | 'partial_refund'
@@ -13923,6 +14006,13 @@ declare namespace io.flow.internal.v0.enums {
13923
14006
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
13924
14007
  type OrganizationPaymentStatus = 'active' | 'archived';
13925
14008
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
14009
+ type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason';
14010
+ type OrganizationRestrictionRiskLevel = '5' | '10' | '15';
14011
+ type OrganizationRestrictionScreeningStatus =
14012
+ | 'approved'
14013
+ | 'pending'
14014
+ | 'rejected'
14015
+ | 'unscreened';
13926
14016
  type OutputStyle = 'flow' | 'shopify_p1';
13927
14017
  type Owner = 'flow' | 'organization';
13928
14018
  type PaymentSummaryStatus =
@@ -14083,7 +14173,8 @@ declare namespace io.flow.internal.v0.enums {
14083
14173
  | 'fraud_review'
14084
14174
  | 'carrier_account'
14085
14175
  | 'payment'
14086
- | 'label_generation_settings';
14176
+ | 'label_generation_settings'
14177
+ | 'ratecard';
14087
14178
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
14088
14179
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
14089
14180
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -14854,6 +14945,7 @@ declare namespace io.flow.internal.v0.models {
14854
14945
  readonly account: io.flow.internal.v0.models.AccountReference;
14855
14946
  readonly reference?: string;
14856
14947
  readonly sent_on: string;
14948
+ readonly status: io.flow.billing.v0.models.PayoutStatus;
14857
14949
  readonly expected_delivery_by: string;
14858
14950
  readonly total: io.flow.common.v0.models.Price;
14859
14951
  }
@@ -14883,6 +14975,11 @@ declare namespace io.flow.internal.v0.models {
14883
14975
  readonly transfer_transaction_ids: string[];
14884
14976
  }
14885
14977
 
14978
+ interface BankPaymentStatusForm {
14979
+ readonly code: io.flow.billing.v0.enums.PayoutStatusCode;
14980
+ readonly reason?: string;
14981
+ }
14982
+
14886
14983
  interface BankPaymentUpserted {
14887
14984
  readonly discriminator: 'bank_payment_upserted';
14888
14985
  readonly event_id: string;
@@ -15437,6 +15534,11 @@ declare namespace io.flow.internal.v0.models {
15437
15534
  readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
15438
15535
  }
15439
15536
 
15537
+ interface BulkClassificationAction {
15538
+ readonly discriminator: 'bulk';
15539
+ readonly actions: io.flow.internal.v0.models.SingleClassificationAction[];
15540
+ }
15541
+
15440
15542
  interface ByRuleSnapshot {
15441
15543
  readonly id: string;
15442
15544
  readonly name: string;
@@ -15581,9 +15683,18 @@ declare namespace io.flow.internal.v0.models {
15581
15683
  }
15582
15684
 
15583
15685
  interface ChannelAccount {
15584
- readonly id: string;
15585
15686
  readonly channel: io.flow.common.v0.models.ChannelReference;
15586
- readonly account: io.flow.internal.v0.models.SimpleAccountReference;
15687
+ readonly id: string;
15688
+ readonly currency: string;
15689
+ readonly updated_at: string;
15690
+ readonly timezone: io.flow.reference.v0.models.Timezone;
15691
+ readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
15692
+ readonly payment_conditions?: string;
15693
+ readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule;
15694
+ readonly center_key?: string;
15695
+ readonly statistics: io.flow.internal.v0.models.AccountStatistics;
15696
+ readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
15697
+ readonly created_at: string;
15587
15698
  }
15588
15699
 
15589
15700
  interface ChannelAccountDeleted {
@@ -15593,8 +15704,8 @@ declare namespace io.flow.internal.v0.models {
15593
15704
  readonly id: string;
15594
15705
  }
15595
15706
 
15596
- interface ChannelAccountUpserted {
15597
- readonly discriminator: 'channel_account_upserted';
15707
+ interface ChannelAccountUpsertedV2 {
15708
+ readonly discriminator: 'channel_account_upserted_v2';
15598
15709
  readonly event_id: string;
15599
15710
  readonly timestamp: string;
15600
15711
  readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
@@ -15643,6 +15754,12 @@ declare namespace io.flow.internal.v0.models {
15643
15754
  readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
15644
15755
  }
15645
15756
 
15757
+ interface ChannelDebugTransaction {
15758
+ readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
15759
+ readonly order?: io.flow.internal.v0.models.DebugOrder;
15760
+ readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
15761
+ }
15762
+
15646
15763
  interface ChannelForm {
15647
15764
  readonly name: string;
15648
15765
  readonly environment: io.flow.common.v0.enums.Environment;
@@ -17955,6 +18072,12 @@ declare namespace io.flow.internal.v0.models {
17955
18072
  readonly score?: number;
17956
18073
  }
17957
18074
 
18075
+ interface ClassificationActionFormUndo {
18076
+ readonly discriminator: 'undo';
18077
+ readonly organization_id: string;
18078
+ readonly item_numbers: string[];
18079
+ }
18080
+
17958
18081
  interface ClassificationDetails {
17959
18082
  readonly updated_by_user_id: string;
17960
18083
  readonly organization_id: string;
@@ -18426,12 +18549,6 @@ declare namespace io.flow.internal.v0.models {
18426
18549
  readonly description: string;
18427
18550
  }
18428
18551
 
18429
- interface DebugTransactionForm {
18430
- readonly transaction_id?: string;
18431
- readonly capture_id?: string;
18432
- readonly refund_id?: string;
18433
- }
18434
-
18435
18552
  interface DebugTransactionFx {
18436
18553
  readonly timestamp?: string;
18437
18554
  readonly market: io.flow.internal.v0.models.DebugTransactionFxRate[];
@@ -18446,6 +18563,7 @@ declare namespace io.flow.internal.v0.models {
18446
18563
  }
18447
18564
 
18448
18565
  interface DebugTransactionQueued {
18566
+ readonly id: string;
18449
18567
  readonly reasons: string[];
18450
18568
  }
18451
18569
 
@@ -18543,6 +18661,11 @@ declare namespace io.flow.internal.v0.models {
18543
18661
  readonly description: io.flow.internal.v0.models.ContentLabel;
18544
18662
  }
18545
18663
 
18664
+ interface Discount {
18665
+ readonly amount: number;
18666
+ readonly description?: string;
18667
+ }
18668
+
18546
18669
  interface DiscountCode {
18547
18670
  readonly code: string;
18548
18671
  }
@@ -19499,6 +19622,14 @@ declare namespace io.flow.internal.v0.models {
19499
19622
  readonly fraud_pending_review: io.flow.internal.v0.models.FraudPendingReview;
19500
19623
  }
19501
19624
 
19625
+ interface FraudProviderConfigurationDeleted {
19626
+ readonly discriminator: 'fraud_provider_configuration_deleted';
19627
+ readonly event_id: string;
19628
+ readonly timestamp: string;
19629
+ readonly organization: string;
19630
+ readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration;
19631
+ }
19632
+
19502
19633
  interface FraudProviderConfigurationFormRiskified {
19503
19634
  readonly discriminator: 'riskified';
19504
19635
  readonly external_id: string;
@@ -19512,6 +19643,14 @@ declare namespace io.flow.internal.v0.models {
19512
19643
  readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
19513
19644
  }
19514
19645
 
19646
+ interface FraudProviderConfigurationUpserted {
19647
+ readonly discriminator: 'fraud_provider_configuration_upserted';
19648
+ readonly event_id: string;
19649
+ readonly timestamp: string;
19650
+ readonly organization: string;
19651
+ readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration;
19652
+ }
19653
+
19515
19654
  interface FraudReview {
19516
19655
  readonly id: string;
19517
19656
  readonly organization_id: string;
@@ -21167,6 +21306,22 @@ declare namespace io.flow.internal.v0.models {
21167
21306
  readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute;
21168
21307
  }
21169
21308
 
21309
+ interface LabelTrackingSummaryDeleted {
21310
+ readonly discriminator: 'label_tracking_summary_deleted';
21311
+ readonly event_id: string;
21312
+ readonly timestamp: string;
21313
+ readonly organization: string;
21314
+ readonly id: string;
21315
+ }
21316
+
21317
+ interface LabelTrackingSummaryUpserted {
21318
+ readonly discriminator: 'label_tracking_summary_upserted';
21319
+ readonly event_id: string;
21320
+ readonly timestamp: string;
21321
+ readonly organization: string;
21322
+ readonly summary: io.flow.tracking.v0.models.LabelTrackingSummary;
21323
+ }
21324
+
21170
21325
  interface LabelTransaction {
21171
21326
  readonly discriminator: 'label_transaction';
21172
21327
  readonly id: string;
@@ -21569,14 +21724,24 @@ declare namespace io.flow.internal.v0.models {
21569
21724
  readonly description: string;
21570
21725
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
21571
21726
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21727
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21728
+ readonly attributes?: Record<string, string>;
21572
21729
  readonly created_at: string;
21573
21730
  }
21574
21731
 
21575
21732
  interface ManualTransactionForm {
21576
21733
  readonly amount: number;
21734
+ readonly currency?: string;
21577
21735
  readonly description: string;
21578
21736
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
21579
21737
  readonly posted_at?: string;
21738
+ readonly order?: io.flow.internal.v0.models.ManualTransactionFormOrder;
21739
+ readonly attributes?: Record<string, string>;
21740
+ }
21741
+
21742
+ interface ManualTransactionFormOrder {
21743
+ readonly organization_id: string;
21744
+ readonly number: string;
21580
21745
  }
21581
21746
 
21582
21747
  interface MarketingGatewayChannel {
@@ -22179,9 +22344,18 @@ declare namespace io.flow.internal.v0.models {
22179
22344
  }
22180
22345
 
22181
22346
  interface OrganizationAccount {
22182
- readonly id: string;
22183
22347
  readonly organization: io.flow.common.v0.models.OrganizationReference;
22184
- readonly account: io.flow.internal.v0.models.SimpleAccountReference;
22348
+ readonly id: string;
22349
+ readonly currency: string;
22350
+ readonly updated_at: string;
22351
+ readonly timezone: io.flow.reference.v0.models.Timezone;
22352
+ readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
22353
+ readonly payment_conditions?: string;
22354
+ readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule;
22355
+ readonly center_key?: string;
22356
+ readonly statistics: io.flow.internal.v0.models.AccountStatistics;
22357
+ readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
22358
+ readonly created_at: string;
22185
22359
  }
22186
22360
 
22187
22361
  interface OrganizationAccountDeleted {
@@ -22191,8 +22365,8 @@ declare namespace io.flow.internal.v0.models {
22191
22365
  readonly id: string;
22192
22366
  }
22193
22367
 
22194
- interface OrganizationAccountUpserted {
22195
- readonly discriminator: 'organization_account_upserted';
22368
+ interface OrganizationAccountUpsertedV2 {
22369
+ readonly discriminator: 'organization_account_upserted_v2';
22196
22370
  readonly event_id: string;
22197
22371
  readonly timestamp: string;
22198
22372
  readonly organization_account: io.flow.internal.v0.models.OrganizationAccount;
@@ -22341,6 +22515,16 @@ declare namespace io.flow.internal.v0.models {
22341
22515
  readonly organization_restriction_approval: io.flow.internal.v0.models.OrganizationRestrictionApproval;
22342
22516
  }
22343
22517
 
22518
+ interface OrganizationRestrictionScreeningDecisionForm {
22519
+ readonly organization_id: string;
22520
+ readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
22521
+ readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
22522
+ readonly hs_code?: string;
22523
+ readonly merchant_category_code?: string;
22524
+ readonly note?: string;
22525
+ readonly rejection_reason?: string;
22526
+ }
22527
+
22344
22528
  interface OrganizationRestrictionSnapshot {
22345
22529
  readonly id: string;
22346
22530
  readonly organization_id: string;
@@ -22369,14 +22553,32 @@ declare namespace io.flow.internal.v0.models {
22369
22553
  readonly organization_restriction_snapshot: io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
22370
22554
  }
22371
22555
 
22372
- interface OrganizationRestrictionSummary {
22373
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
22374
- readonly earliest_date: string;
22375
- readonly pending?: io.flow.internal.v0.models.RestrictionPending[];
22376
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
22377
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
22378
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
22379
- readonly total: number;
22556
+ interface OrganizationRestrictionStatus {
22557
+ readonly id: string;
22558
+ readonly organization_id: string;
22559
+ readonly approval: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
22560
+ readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
22561
+ readonly risk_level: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
22562
+ readonly selective_review_start_date?: string;
22563
+ readonly selective_review_end_date?: string;
22564
+ readonly full_review_start_date?: string;
22565
+ readonly full_review_end_date?: string;
22566
+ }
22567
+
22568
+ interface OrganizationRestrictionStatusNote {
22569
+ readonly id: string;
22570
+ readonly note: string;
22571
+ readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
22572
+ readonly created_at: string;
22573
+ readonly updated_by: io.flow.common.v0.models.User;
22574
+ readonly updated_at: string;
22575
+ }
22576
+
22577
+ interface OrganizationRestrictionStatusUpserted {
22578
+ readonly discriminator: 'organization_restriction_status_upserted';
22579
+ readonly event_id: string;
22580
+ readonly timestamp: string;
22581
+ readonly organization_restriction_status: io.flow.internal.v0.models.OrganizationRestrictionStatus;
22380
22582
  }
22381
22583
 
22382
22584
  interface OrganizationSettings {
@@ -23478,6 +23680,12 @@ declare namespace io.flow.internal.v0.models {
23478
23680
  readonly id: string;
23479
23681
  readonly name: string;
23480
23682
  readonly environment: io.flow.common.v0.enums.Environment;
23683
+ readonly url?: string;
23684
+ readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
23685
+ readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
23686
+ readonly hs_code?: string;
23687
+ readonly merchant_category_code?: string;
23688
+ readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
23481
23689
  readonly created_at: string;
23482
23690
  }
23483
23691
 
@@ -24135,6 +24343,15 @@ declare namespace io.flow.internal.v0.models {
24135
24343
  readonly children: io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[];
24136
24344
  }
24137
24345
 
24346
+ interface SingleClassificationAction {
24347
+ readonly discriminator: 'single';
24348
+ readonly organization_id: string;
24349
+ readonly item_summary: io.flow.internal.v0.models.HarmonizationItemSummary;
24350
+ readonly customs_description: string;
24351
+ readonly labels?: io.flow.internal.v0.models.ProductLabels;
24352
+ readonly updated_at: string;
24353
+ }
24354
+
24138
24355
  interface SingleClassificationForm {
24139
24356
  readonly discriminator: 'single_classification_form';
24140
24357
  readonly product_id: string;
@@ -25509,6 +25726,11 @@ declare namespace io.flow.internal.v0.unions {
25509
25726
  io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
25510
25727
  type CheckoutSubmitOrderForms =
25511
25728
  io.flow.internal.v0.models.CheckoutSubmitOrderForm;
25729
+ type ClassificationAction =
25730
+ | io.flow.internal.v0.models.SingleClassificationAction
25731
+ | io.flow.internal.v0.models.BulkClassificationAction;
25732
+ type ClassificationActionForm =
25733
+ io.flow.internal.v0.models.ClassificationActionFormUndo;
25512
25734
  type ClassificationForm =
25513
25735
  | io.flow.internal.v0.models.SingleClassificationForm
25514
25736
  | io.flow.internal.v0.models.EmptyClassificationForm;
@@ -25568,9 +25790,9 @@ declare namespace io.flow.internal.v0.unions {
25568
25790
  | io.flow.internal.v0.models.BillingStatementDeleted
25569
25791
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
25570
25792
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
25571
- | io.flow.internal.v0.models.ChannelAccountUpserted
25793
+ | io.flow.internal.v0.models.ChannelAccountUpsertedV2
25572
25794
  | io.flow.internal.v0.models.ChannelAccountDeleted
25573
- | io.flow.internal.v0.models.OrganizationAccountUpserted
25795
+ | io.flow.internal.v0.models.OrganizationAccountUpsertedV2
25574
25796
  | io.flow.internal.v0.models.OrganizationAccountDeleted
25575
25797
  | io.flow.internal.v0.models.AccountTransactionsExportRequest
25576
25798
  | io.flow.internal.v0.models.AccountOrdersExportRequest
@@ -25678,6 +25900,8 @@ declare namespace io.flow.internal.v0.unions {
25678
25900
  | io.flow.internal.v0.models.FraudPendingReviewDeleted
25679
25901
  | io.flow.internal.v0.models.FraudReviewDecisionUpserted
25680
25902
  | io.flow.internal.v0.models.FraudReviewDecisionDeleted
25903
+ | io.flow.internal.v0.models.FraudProviderConfigurationUpserted
25904
+ | io.flow.internal.v0.models.FraudProviderConfigurationDeleted
25681
25905
  | io.flow.internal.v0.models.FtpFileUpserted
25682
25906
  | io.flow.internal.v0.models.FtpFileDeleted
25683
25907
  | io.flow.internal.v0.models.FtpFileToProcessUploaded
@@ -25709,6 +25933,8 @@ declare namespace io.flow.internal.v0.unions {
25709
25933
  | io.flow.internal.v0.models.IssuerUpserted
25710
25934
  | io.flow.internal.v0.models.IssuerDeleted
25711
25935
  | io.flow.internal.v0.models.ItemFormImportRequest
25936
+ | io.flow.internal.v0.models.LabelTrackingSummaryUpserted
25937
+ | io.flow.internal.v0.models.LabelTrackingSummaryDeleted
25712
25938
  | io.flow.internal.v0.models.LocalizedItemUpsertedV2
25713
25939
  | io.flow.internal.v0.models.LocalizedItemDeleted
25714
25940
  | io.flow.internal.v0.models.LocalizedItemDeletedV2
@@ -25731,6 +25957,7 @@ declare namespace io.flow.internal.v0.unions {
25731
25957
  | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted
25732
25958
  | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted
25733
25959
  | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted
25960
+ | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted
25734
25961
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
25735
25962
  | io.flow.internal.v0.models.InternalAuthorizationDeleted
25736
25963
  | io.flow.internal.v0.models.AfterpayAuthorizationUpserted
@@ -26224,6 +26451,8 @@ export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
26224
26451
  export type BankPaymentDeletedV2 =
26225
26452
  io.flow.internal.v0.models.BankPaymentDeletedV2;
26226
26453
  export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
26454
+ export type BankPaymentStatusForm =
26455
+ io.flow.internal.v0.models.BankPaymentStatusForm;
26227
26456
  export type BankPaymentUpserted =
26228
26457
  io.flow.internal.v0.models.BankPaymentUpserted;
26229
26458
  export type BankPaymentUpsertedV2 =
@@ -26400,6 +26629,8 @@ export type BrowserBundlePaymentMethodForm =
26400
26629
  io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
26401
26630
  export type BrowserBundlePaymentMethods =
26402
26631
  io.flow.internal.v0.models.BrowserBundlePaymentMethods;
26632
+ export type BulkClassificationAction =
26633
+ io.flow.internal.v0.models.BulkClassificationAction;
26403
26634
  export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
26404
26635
  export type CalculatedTaxAmount =
26405
26636
  io.flow.internal.v0.models.CalculatedTaxAmount;
@@ -26445,8 +26676,8 @@ export type ChangeSettingsIndexTask =
26445
26676
  export type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
26446
26677
  export type ChannelAccountDeleted =
26447
26678
  io.flow.internal.v0.models.ChannelAccountDeleted;
26448
- export type ChannelAccountUpserted =
26449
- io.flow.internal.v0.models.ChannelAccountUpserted;
26679
+ export type ChannelAccountUpsertedV2 =
26680
+ io.flow.internal.v0.models.ChannelAccountUpsertedV2;
26450
26681
  export type ChannelBillingStatement =
26451
26682
  io.flow.internal.v0.models.ChannelBillingStatement;
26452
26683
  export type ChannelCurrencyForm =
@@ -26459,6 +26690,8 @@ export type ChannelCurrencySettingForm =
26459
26690
  io.flow.internal.v0.models.ChannelCurrencySettingForm;
26460
26691
  export type ChannelCurrencySettingUpserted =
26461
26692
  io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
26693
+ export type ChannelDebugTransaction =
26694
+ io.flow.internal.v0.models.ChannelDebugTransaction;
26462
26695
  export type ChannelForm = io.flow.internal.v0.models.ChannelForm;
26463
26696
  export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
26464
26697
  export type ChannelMembershipForm =
@@ -27537,6 +27770,12 @@ export type CipherReference = io.flow.internal.v0.models.CipherReference;
27537
27770
  export type ClassicPaymentRedirectForm =
27538
27771
  io.flow.internal.v0.models.ClassicPaymentRedirectForm;
27539
27772
  export type Classification = io.flow.internal.v0.models.Classification;
27773
+ export type ClassificationAction =
27774
+ io.flow.internal.v0.unions.ClassificationAction;
27775
+ export type ClassificationActionForm =
27776
+ io.flow.internal.v0.unions.ClassificationActionForm;
27777
+ export type ClassificationActionFormUndo =
27778
+ io.flow.internal.v0.models.ClassificationActionFormUndo;
27540
27779
  export type ClassificationDetails =
27541
27780
  io.flow.internal.v0.models.ClassificationDetails;
27542
27781
  export type ClassificationError =
@@ -27665,8 +27904,6 @@ export type DebugTransactionDetails =
27665
27904
  io.flow.internal.v0.models.DebugTransactionDetails;
27666
27905
  export type DebugTransactionDetailsStatus =
27667
27906
  io.flow.internal.v0.models.DebugTransactionDetailsStatus;
27668
- export type DebugTransactionForm =
27669
- io.flow.internal.v0.models.DebugTransactionForm;
27670
27907
  export type DebugTransactionFx = io.flow.internal.v0.models.DebugTransactionFx;
27671
27908
  export type DebugTransactionFxRate =
27672
27909
  io.flow.internal.v0.models.DebugTransactionFxRate;
@@ -27699,6 +27936,7 @@ export type Details = io.flow.internal.v0.models.Details;
27699
27936
  export type Dhl = io.flow.internal.v0.models.Dhl;
27700
27937
  export type DhlEcommerce = io.flow.internal.v0.models.DhlEcommerce;
27701
27938
  export type Dict = io.flow.internal.v0.models.Dict;
27939
+ export type Discount = io.flow.internal.v0.models.Discount;
27702
27940
  export type DiscountCode = io.flow.internal.v0.models.DiscountCode;
27703
27941
  export type DiscountRequestForm =
27704
27942
  io.flow.internal.v0.models.DiscountRequestForm;
@@ -27950,12 +28188,16 @@ export type FraudPendingReviewUpserted =
27950
28188
  export type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
27951
28189
  export type FraudProviderConfiguration =
27952
28190
  io.flow.internal.v0.unions.FraudProviderConfiguration;
28191
+ export type FraudProviderConfigurationDeleted =
28192
+ io.flow.internal.v0.models.FraudProviderConfigurationDeleted;
27953
28193
  export type FraudProviderConfigurationForm =
27954
28194
  io.flow.internal.v0.unions.FraudProviderConfigurationForm;
27955
28195
  export type FraudProviderConfigurationFormRiskified =
27956
28196
  io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
27957
28197
  export type FraudProviderConfigurationRiskified =
27958
28198
  io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
28199
+ export type FraudProviderConfigurationUpserted =
28200
+ io.flow.internal.v0.models.FraudProviderConfigurationUpserted;
27959
28201
  export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
27960
28202
  export type FraudReview = io.flow.internal.v0.models.FraudReview;
27961
28203
  export type FraudReviewDecision =
@@ -28293,6 +28535,10 @@ export type LabelGenerationSettingsForm =
28293
28535
  io.flow.internal.v0.models.LabelGenerationSettingsForm;
28294
28536
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
28295
28537
  export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
28538
+ export type LabelTrackingSummaryDeleted =
28539
+ io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
28540
+ export type LabelTrackingSummaryUpserted =
28541
+ io.flow.internal.v0.models.LabelTrackingSummaryUpserted;
28296
28542
  export type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
28297
28543
  export type LabelTransactionType =
28298
28544
  io.flow.internal.v0.enums.LabelTransactionType;
@@ -28385,6 +28631,8 @@ export type ManualTransactionCategory =
28385
28631
  io.flow.internal.v0.enums.ManualTransactionCategory;
28386
28632
  export type ManualTransactionForm =
28387
28633
  io.flow.internal.v0.models.ManualTransactionForm;
28634
+ export type ManualTransactionFormOrder =
28635
+ io.flow.internal.v0.models.ManualTransactionFormOrder;
28388
28636
  export type MarketingGatewayAccountConnectionStatus =
28389
28637
  io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
28390
28638
  export type MarketingGatewayChannel =
@@ -28591,8 +28839,8 @@ export type OrganizationAccount =
28591
28839
  io.flow.internal.v0.models.OrganizationAccount;
28592
28840
  export type OrganizationAccountDeleted =
28593
28841
  io.flow.internal.v0.models.OrganizationAccountDeleted;
28594
- export type OrganizationAccountUpserted =
28595
- io.flow.internal.v0.models.OrganizationAccountUpserted;
28842
+ export type OrganizationAccountUpsertedV2 =
28843
+ io.flow.internal.v0.models.OrganizationAccountUpsertedV2;
28596
28844
  export type OrganizationBillingStatement =
28597
28845
  io.flow.internal.v0.models.OrganizationBillingStatement;
28598
28846
  export type OrganizationBooleanValue =
@@ -28639,14 +28887,26 @@ export type OrganizationRestrictionApprovalStatus =
28639
28887
  io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
28640
28888
  export type OrganizationRestrictionApprovalUpserted =
28641
28889
  io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted;
28890
+ export type OrganizationRestrictionNoteType =
28891
+ io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
28892
+ export type OrganizationRestrictionRiskLevel =
28893
+ io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
28894
+ export type OrganizationRestrictionScreeningDecisionForm =
28895
+ io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm;
28896
+ export type OrganizationRestrictionScreeningStatus =
28897
+ io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
28642
28898
  export type OrganizationRestrictionSnapshot =
28643
28899
  io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
28644
28900
  export type OrganizationRestrictionSnapshotDeleted =
28645
28901
  io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted;
28646
28902
  export type OrganizationRestrictionSnapshotUpserted =
28647
28903
  io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted;
28648
- export type OrganizationRestrictionSummary =
28649
- io.flow.internal.v0.models.OrganizationRestrictionSummary;
28904
+ export type OrganizationRestrictionStatus =
28905
+ io.flow.internal.v0.models.OrganizationRestrictionStatus;
28906
+ export type OrganizationRestrictionStatusNote =
28907
+ io.flow.internal.v0.models.OrganizationRestrictionStatusNote;
28908
+ export type OrganizationRestrictionStatusUpserted =
28909
+ io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted;
28650
28910
  export type OrganizationSettings =
28651
28911
  io.flow.internal.v0.models.OrganizationSettings;
28652
28912
  export type OrganizationSettingsForm =
@@ -29151,6 +29411,8 @@ export type SimplifiedItemLabel =
29151
29411
  io.flow.internal.v0.models.SimplifiedItemLabel;
29152
29412
  export type SimplifiedTaxonomyCategory =
29153
29413
  io.flow.internal.v0.models.SimplifiedTaxonomyCategory;
29414
+ export type SingleClassificationAction =
29415
+ io.flow.internal.v0.models.SingleClassificationAction;
29154
29416
  export type SingleClassificationForm =
29155
29417
  io.flow.internal.v0.models.SingleClassificationForm;
29156
29418
  export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;