@flowio/types 11.24.54 → 11.24.55

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.
package/src/api.ts CHANGED
@@ -2299,6 +2299,7 @@ declare namespace io.flow.v0.enums {
2299
2299
  type EntityIdentifierType = 'ioss' | 'voec';
2300
2300
  type Environment = 'sandbox' | 'production';
2301
2301
  type EventType =
2302
+ | 'test_upserted'
2302
2303
  | 'transaction_upserted'
2303
2304
  | 'organization_transaction_upserted'
2304
2305
  | 'organization_transaction_deleted'
@@ -2799,6 +2800,18 @@ declare namespace io.flow.v0.enums {
2799
2800
  type PaymentMethodDataOptionType = 'ideal_issuer_option';
2800
2801
  type PaymentMethodRuleContentKey = 'description';
2801
2802
  type PaymentMethodType = 'card' | 'online' | 'offline';
2803
+ type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
2804
+ type PaymentRequestReviewCheckType =
2805
+ | 'restricted_party_screening'
2806
+ | 'fraud_suspicious_behavior'
2807
+ | 'fraud_suspicious_past_activity'
2808
+ | 'fraud_risky_velocity'
2809
+ | 'fraud_previous_chargebacks'
2810
+ | 'order_restricted_goods'
2811
+ | 'order_unsupported_destination'
2812
+ | 'order_missing_information'
2813
+ | 'order_domestic';
2814
+ type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2802
2815
  type PaymentSourceConfirmationActionType =
2803
2816
  | 'cvv'
2804
2817
  | 'billing_address'
@@ -3485,6 +3498,12 @@ declare namespace io.flow.v0.models {
3485
3498
  readonly display_name?: string;
3486
3499
  }
3487
3500
 
3501
+ interface ApplepaySdkAuthorizationResultActionDetails {
3502
+ readonly discriminator: 'applepay_sdk_authorization_result_action_details';
3503
+ readonly merchant_identifier: string;
3504
+ readonly payment_data_request: any /*object*/;
3505
+ }
3506
+
3488
3507
  interface AtCost {
3489
3508
  readonly discriminator: 'at_cost';
3490
3509
  readonly ignore?: string;
@@ -3825,7 +3844,6 @@ declare namespace io.flow.v0.models {
3825
3844
  }
3826
3845
 
3827
3846
  interface BankAccountForm {
3828
- readonly last4: string;
3829
3847
  readonly info: io.flow.v0.unions.BankAccountInfo;
3830
3848
  }
3831
3849
 
@@ -3839,6 +3857,10 @@ declare namespace io.flow.v0.models {
3839
3857
  readonly id: string;
3840
3858
  }
3841
3859
 
3860
+ interface BankAccountSummary {
3861
+ readonly last4: string;
3862
+ }
3863
+
3842
3864
  interface BehaviorAudit {
3843
3865
  readonly behavior: io.flow.v0.enums.FlowBehavior;
3844
3866
  readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[];
@@ -4404,6 +4426,12 @@ declare namespace io.flow.v0.models {
4404
4426
  readonly channel_id: string;
4405
4427
  }
4406
4428
 
4429
+ interface ChannelBankAccount {
4430
+ readonly id: string;
4431
+ readonly key: string;
4432
+ readonly last4: string;
4433
+ }
4434
+
4407
4435
  interface ChannelCurrency {
4408
4436
  readonly id: string;
4409
4437
  readonly currency: string;
@@ -4425,6 +4453,11 @@ declare namespace io.flow.v0.models {
4425
4453
  readonly channel_currency: io.flow.v0.models.ChannelCurrency;
4426
4454
  }
4427
4455
 
4456
+ interface ChannelDefaultBankAccount {
4457
+ readonly id: string;
4458
+ readonly bank_account: io.flow.v0.models.BankAccountReference;
4459
+ }
4460
+
4428
4461
  interface ChannelDeleted {
4429
4462
  readonly discriminator: 'channel_deleted';
4430
4463
  readonly event_id: string;
@@ -4485,6 +4518,7 @@ declare namespace io.flow.v0.models {
4485
4518
  readonly id: string;
4486
4519
  readonly account: io.flow.v0.models.AccountReference;
4487
4520
  readonly status: io.flow.v0.unions.PayoutStatus;
4521
+ readonly bank_account?: io.flow.v0.models.BankAccountSummary;
4488
4522
  readonly amount: number;
4489
4523
  readonly attachments: io.flow.v0.models.PayoutAttachment[];
4490
4524
  readonly created_at: string;
@@ -4548,9 +4582,9 @@ declare namespace io.flow.v0.models {
4548
4582
  }
4549
4583
 
4550
4584
  interface ChannelTransaction {
4585
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
4551
4586
  readonly id: string;
4552
4587
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
4553
- readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
4554
4588
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
4555
4589
  readonly currency: string;
4556
4590
  readonly source: io.flow.v0.enums.TransactionSource;
@@ -8705,6 +8739,7 @@ declare namespace io.flow.v0.models {
8705
8739
 
8706
8740
  interface OrganizationBankAccount {
8707
8741
  readonly id: string;
8742
+ readonly key: string;
8708
8743
  readonly last4: string;
8709
8744
  }
8710
8745
 
@@ -8800,6 +8835,7 @@ declare namespace io.flow.v0.models {
8800
8835
  readonly id: string;
8801
8836
  readonly account: io.flow.v0.models.AccountReference;
8802
8837
  readonly status: io.flow.v0.unions.PayoutStatus;
8838
+ readonly bank_account?: io.flow.v0.models.BankAccountSummary;
8803
8839
  readonly amount: number;
8804
8840
  readonly attachments: io.flow.v0.models.PayoutAttachment[];
8805
8841
  readonly created_at: string;
@@ -9524,6 +9560,7 @@ declare namespace io.flow.v0.models {
9524
9560
  readonly payment_information: io.flow.v0.models.PaymentInformation;
9525
9561
  readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
9526
9562
  readonly payment_capture_option?: io.flow.v0.unions.PaymentCaptureOption;
9563
+ readonly review?: io.flow.v0.models.PaymentRequestReview;
9527
9564
  }
9528
9565
 
9529
9566
  interface PaymentRequestBilling {
@@ -9564,6 +9601,16 @@ declare namespace io.flow.v0.models {
9564
9601
  readonly reference?: string;
9565
9602
  }
9566
9603
 
9604
+ interface PaymentRequestReview {
9605
+ readonly status: io.flow.v0.enums.PaymentRequestReviewStatus;
9606
+ readonly checks: io.flow.v0.models.PaymentRequestReviewCheck[];
9607
+ }
9608
+
9609
+ interface PaymentRequestReviewCheck {
9610
+ readonly type: io.flow.v0.enums.PaymentRequestReviewCheckType;
9611
+ readonly status: io.flow.v0.enums.PaymentRequestReviewCheckStatus;
9612
+ }
9613
+
9567
9614
  interface PaymentRequestUpserted {
9568
9615
  readonly discriminator: 'payment_request_upserted';
9569
9616
  readonly event_id: string;
@@ -9637,6 +9684,23 @@ declare namespace io.flow.v0.models {
9637
9684
  readonly timestamp: string;
9638
9685
  }
9639
9686
 
9687
+ interface PayoutTransaction {
9688
+ readonly id: string;
9689
+ readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
9690
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
9691
+ readonly currency: string;
9692
+ readonly source: io.flow.v0.enums.TransactionSource;
9693
+ readonly parent?: io.flow.v0.models.ParentTransactionSummary;
9694
+ readonly gross: number;
9695
+ readonly fees: io.flow.v0.models.FeeDeduction[];
9696
+ readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
9697
+ readonly discounts: io.flow.v0.models.BillingDiscount[];
9698
+ readonly net: number;
9699
+ readonly identifiers: Record<string, string>;
9700
+ readonly created_at: string;
9701
+ readonly updated_at: string;
9702
+ }
9703
+
9640
9704
  interface PaypalAuthorizationDetails {
9641
9705
  readonly discriminator: 'paypal_authorization_details';
9642
9706
  readonly payment_id: string;
@@ -11066,7 +11130,7 @@ declare namespace io.flow.v0.models {
11066
11130
 
11067
11131
  interface SetupCompleted {
11068
11132
  readonly discriminator: 'setup_completed';
11069
- readonly third_party_logistics_guid: string;
11133
+ readonly third_party_logistics_guid?: string;
11070
11134
  }
11071
11135
 
11072
11136
  interface SetupInProgress {
@@ -12110,6 +12174,18 @@ declare namespace io.flow.v0.models {
12110
12174
  readonly email_recipients?: string[];
12111
12175
  }
12112
12176
 
12177
+ interface Test {
12178
+ readonly id: string;
12179
+ }
12180
+
12181
+ interface TestUpserted {
12182
+ readonly discriminator: 'test_upserted';
12183
+ readonly event_id: string;
12184
+ readonly timestamp: string;
12185
+ readonly organization: string;
12186
+ readonly test: io.flow.v0.models.Test;
12187
+ }
12188
+
12113
12189
  interface ThirdPartyLogisticsPartner {
12114
12190
  readonly warehouse_address: io.flow.v0.models.MerchantOnboardingAddress;
12115
12191
  readonly warehouse_url?: string;
@@ -12433,9 +12509,9 @@ declare namespace io.flow.v0.models {
12433
12509
  }
12434
12510
 
12435
12511
  interface Transaction {
12512
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12436
12513
  readonly id: string;
12437
12514
  readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
12438
- readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12439
12515
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12440
12516
  readonly currency: string;
12441
12517
  readonly source: io.flow.v0.enums.TransactionSource;
@@ -12758,6 +12834,7 @@ declare namespace io.flow.v0.unions {
12758
12834
  | io.flow.v0.models.StripeAuthorizationResultActionDetails
12759
12835
  | io.flow.v0.models.ThreedsIdentifyActionDetails
12760
12836
  | io.flow.v0.models.ThreedsChallengeActionDetails
12837
+ | io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails
12761
12838
  | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails
12762
12839
  | io.flow.v0.models.SelectIssuerOptionActionDetails;
12763
12840
  type AvailableFilter =
@@ -12805,6 +12882,7 @@ declare namespace io.flow.v0.unions {
12805
12882
  | io.flow.v0.models.EmailNotificationDataRefund
12806
12883
  | io.flow.v0.models.EmailNotificationAbandonedOrder;
12807
12884
  type Event =
12885
+ | io.flow.v0.models.TestUpserted
12808
12886
  | io.flow.v0.models.TransactionUpserted
12809
12887
  | io.flow.v0.models.OrganizationTransactionUpserted
12810
12888
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -13369,6 +13447,8 @@ export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
13369
13447
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
13370
13448
  export type ApplePayMerchantValidationPayload =
13371
13449
  io.flow.v0.models.ApplePayMerchantValidationPayload;
13450
+ export type ApplepaySdkAuthorizationResultActionDetails =
13451
+ io.flow.v0.models.ApplepaySdkAuthorizationResultActionDetails;
13372
13452
  export type AtCost = io.flow.v0.models.AtCost;
13373
13453
  export type Attachment = io.flow.v0.models.Attachment;
13374
13454
  export type Attribute = io.flow.v0.models.Attribute;
@@ -13455,6 +13535,7 @@ export type BankAccountForm = io.flow.v0.models.BankAccountForm;
13455
13535
  export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo;
13456
13536
  export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa;
13457
13537
  export type BankAccountReference = io.flow.v0.models.BankAccountReference;
13538
+ export type BankAccountSummary = io.flow.v0.models.BankAccountSummary;
13458
13539
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
13459
13540
  export type BillingAddress = io.flow.v0.models.BillingAddress;
13460
13541
  export type BillingChannelOrderSummary =
@@ -13562,11 +13643,14 @@ export type Channel = io.flow.v0.models.Channel;
13562
13643
  export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
13563
13644
  export type ChannelAuthorizationForm =
13564
13645
  io.flow.v0.models.ChannelAuthorizationForm;
13646
+ export type ChannelBankAccount = io.flow.v0.models.ChannelBankAccount;
13565
13647
  export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
13566
13648
  export type ChannelCurrencyCapability =
13567
13649
  io.flow.v0.enums.ChannelCurrencyCapability;
13568
13650
  export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
13569
13651
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
13652
+ export type ChannelDefaultBankAccount =
13653
+ io.flow.v0.models.ChannelDefaultBankAccount;
13570
13654
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
13571
13655
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
13572
13656
  export type ChannelOrganizationAuthorization =
@@ -14735,6 +14819,15 @@ export type PaymentRequestBundleForm =
14735
14819
  io.flow.v0.models.PaymentRequestBundleForm;
14736
14820
  export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
14737
14821
  export type PaymentRequestReference = io.flow.v0.models.PaymentRequestReference;
14822
+ export type PaymentRequestReview = io.flow.v0.models.PaymentRequestReview;
14823
+ export type PaymentRequestReviewCheck =
14824
+ io.flow.v0.models.PaymentRequestReviewCheck;
14825
+ export type PaymentRequestReviewCheckStatus =
14826
+ io.flow.v0.enums.PaymentRequestReviewCheckStatus;
14827
+ export type PaymentRequestReviewCheckType =
14828
+ io.flow.v0.enums.PaymentRequestReviewCheckType;
14829
+ export type PaymentRequestReviewStatus =
14830
+ io.flow.v0.enums.PaymentRequestReviewStatus;
14738
14831
  export type PaymentRequestUpserted = io.flow.v0.models.PaymentRequestUpserted;
14739
14832
  export type PaymentReversal = io.flow.v0.models.PaymentReversal;
14740
14833
  export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
@@ -14757,6 +14850,7 @@ export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed;
14757
14850
  export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode;
14758
14851
  export type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled;
14759
14852
  export type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent;
14853
+ export type PayoutTransaction = io.flow.v0.models.PayoutTransaction;
14760
14854
  export type PaypalAuthorizationDetails =
14761
14855
  io.flow.v0.models.PaypalAuthorizationDetails;
14762
14856
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
@@ -15251,6 +15345,8 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
15251
15345
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
15252
15346
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
15253
15347
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15348
+ export type Test = io.flow.v0.models.Test;
15349
+ export type TestUpserted = io.flow.v0.models.TestUpserted;
15254
15350
  export type ThirdPartyLogisticsPartner =
15255
15351
  io.flow.v0.models.ThirdPartyLogisticsPartner;
15256
15352
  export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;