@flowio/types 11.23.5 → 11.23.6

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.
@@ -2768,6 +2768,7 @@ declare namespace io.flow.payment.v0.models {
2768
2768
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
2769
2769
  readonly amount: number;
2770
2770
  readonly currency: string;
2771
+ readonly created_at?: string;
2771
2772
  readonly cryptopay: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
2772
2773
  }
2773
2774
  interface PaymentError {
@@ -2785,6 +2786,7 @@ declare namespace io.flow.payment.v0.models {
2785
2786
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
2786
2787
  readonly amount: number;
2787
2788
  readonly currency: string;
2789
+ readonly created_at?: string;
2788
2790
  readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
2789
2791
  }
2790
2792
  interface PaymentProcessor {
@@ -4706,7 +4708,7 @@ declare namespace io.flow.adyen.v0.enums {
4706
4708
  type Contract = 'RECURRING';
4707
4709
  type DeviceChannel = 'app' | 'browser';
4708
4710
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
4709
- type HttpRedirectMethod = 'GET' | 'POST';
4711
+ type Method = 'GET' | 'POST';
4710
4712
  type Operation = 'cancel' | 'capture' | 'refund';
4711
4713
  type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
4712
4714
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
@@ -4727,10 +4729,6 @@ declare namespace io.flow.adyen.v0.models {
4727
4729
  readonly value: number;
4728
4730
  readonly currency: string;
4729
4731
  }
4730
- interface Applepay {
4731
- readonly type: 'applepay';
4732
- readonly applePayToken: string;
4733
- }
4734
4732
  interface Authentication {
4735
4733
  readonly 'threeds2.fingerprintToken'?: string;
4736
4734
  readonly 'threeds2.challengeToken'?: string;
@@ -4757,8 +4755,6 @@ declare namespace io.flow.adyen.v0.models {
4757
4755
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4758
4756
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
4759
4757
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4760
- readonly mcc?: string;
4761
- readonly metadata?: any;
4762
4758
  }
4763
4759
  interface AuthorizeRequest3D {
4764
4760
  readonly merchantAccount: string;
@@ -4892,12 +4888,6 @@ declare namespace io.flow.adyen.v0.models {
4892
4888
  readonly details: any;
4893
4889
  readonly paymentData?: string;
4894
4890
  }
4895
- interface PaymentDetailsV663Ds2Challenge {
4896
- readonly 'threeds2.challengeResult': string;
4897
- }
4898
- interface PaymentDetailsV663Ds2Fingerprint {
4899
- readonly 'threeds2.fingerprint': string;
4900
- }
4901
4891
  interface PaymentRequest {
4902
4892
  readonly reference: string;
4903
4893
  readonly merchantAccount: string;
@@ -4919,11 +4909,7 @@ declare namespace io.flow.adyen.v0.models {
4919
4909
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4920
4910
  readonly origin?: string;
4921
4911
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4922
- readonly returnUrl?: string;
4923
- readonly mcc?: string;
4924
- readonly metadata?: any;
4925
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4926
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4912
+ readonly returnURL?: string;
4927
4913
  }
4928
4914
  interface PaymentResponse {
4929
4915
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4950,7 +4936,7 @@ declare namespace io.flow.adyen.v0.models {
4950
4936
  }
4951
4937
  interface Redirect {
4952
4938
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4953
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4939
+ readonly method?: io.flow.adyen.v0.enums.Method;
4954
4940
  readonly url?: string;
4955
4941
  }
4956
4942
  interface RedirectData {
@@ -4971,13 +4957,6 @@ declare namespace io.flow.adyen.v0.models {
4971
4957
  readonly number: string;
4972
4958
  readonly cvc?: string;
4973
4959
  }
4974
- interface SdkV3OnCompleteData {
4975
- readonly details: any;
4976
- readonly payment_data?: string;
4977
- }
4978
- interface SdkV3OnCompleteResult {
4979
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4980
- }
4981
4960
  interface ThreeDSecureData {
4982
4961
  readonly authenticationResponse?: string;
4983
4962
  readonly cavv?: string;
@@ -5003,7 +4982,7 @@ declare namespace io.flow.adyen.v0.models {
5003
4982
  }
5004
4983
  declare namespace io.flow.adyen.v0.unions {
5005
4984
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5006
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4985
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5007
4986
  }
5008
4987
  declare namespace io.flow.order.management.v0.enums {
5009
4988
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -6606,10 +6585,11 @@ declare namespace io.flow.svb.v0.models {
6606
6585
  }
6607
6586
  declare namespace io.flow.payment.gateway.v0.enums {
6608
6587
  type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
6609
- type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'ideal_select_issuer' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
6588
+ type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
6610
6589
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
6590
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
6611
6591
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
6612
- type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay';
6592
+ type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
6613
6593
  }
6614
6594
  declare namespace io.flow.payment.gateway.v0.models {
6615
6595
  interface ActionDisplayInlineWindow {
@@ -6625,10 +6605,6 @@ declare namespace io.flow.payment.gateway.v0.models {
6625
6605
  readonly expires_at?: string;
6626
6606
  readonly script: string;
6627
6607
  }
6628
- interface ActionIdealSelectIssuer {
6629
- readonly type: 'select_ideal_issuer';
6630
- readonly issuers: io.flow.payment.gateway.v0.models.IdealIssuer[];
6631
- }
6632
6608
  interface ActionRedirect {
6633
6609
  readonly type: 'redirect';
6634
6610
  readonly expires_at?: string;
@@ -6636,6 +6612,12 @@ declare namespace io.flow.payment.gateway.v0.models {
6636
6612
  readonly url: string;
6637
6613
  readonly data?: any;
6638
6614
  }
6615
+ interface ActionSelectPaymentOption {
6616
+ readonly type: 'select_payment_option';
6617
+ readonly expires_at?: string;
6618
+ readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[];
6619
+ readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType;
6620
+ }
6639
6621
  interface ActionUseSdkAdyenV3 {
6640
6622
  readonly type: 'use_sdk_adyen_v3';
6641
6623
  readonly expires_at?: string;
@@ -6717,11 +6699,6 @@ declare namespace io.flow.payment.gateway.v0.models {
6717
6699
  readonly screen_width: number;
6718
6700
  readonly time_zone_offset: number;
6719
6701
  }
6720
- interface IdealIssuer {
6721
- readonly id: string;
6722
- readonly name: string;
6723
- readonly images?: io.flow.reference.v0.models.PaymentMethodImages;
6724
- }
6725
6702
  interface KlarnaPaymentCategory {
6726
6703
  readonly id: string;
6727
6704
  readonly name: string;
@@ -6905,6 +6882,10 @@ declare namespace io.flow.payment.gateway.v0.models {
6905
6882
  readonly type: 'init_applepay';
6906
6883
  readonly placeholder?: string;
6907
6884
  }
6885
+ interface PaymentMethodDataInitBancontact {
6886
+ readonly type: 'init_bancontact';
6887
+ readonly placeholder?: string;
6888
+ }
6908
6889
  interface PaymentMethodDataInitGooglepay {
6909
6890
  readonly type: 'init_googlepay';
6910
6891
  readonly placeholder?: string;
@@ -6925,6 +6906,19 @@ declare namespace io.flow.payment.gateway.v0.models {
6925
6906
  readonly type: 'init_sofort';
6926
6907
  readonly placeholder?: string;
6927
6908
  }
6909
+ interface PaymentMethodDataOptionLogoSvg {
6910
+ readonly type: 'svg';
6911
+ readonly url: string;
6912
+ }
6913
+ interface PaymentMethodDataPaymentOption {
6914
+ readonly id: string;
6915
+ readonly name: string;
6916
+ readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[];
6917
+ }
6918
+ interface PaymentMethodDataSelectedPaymentOption {
6919
+ readonly type: 'select_option';
6920
+ readonly option_id: string;
6921
+ }
6928
6922
  interface PaymentMethodDataValidateApplepay {
6929
6923
  readonly type: 'validate_applepay';
6930
6924
  readonly validation_url: string;
@@ -6937,6 +6931,10 @@ declare namespace io.flow.payment.gateway.v0.models {
6937
6931
  readonly type: 'applepay';
6938
6932
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6939
6933
  }
6934
+ interface PaymentMethodSummaryBancontact {
6935
+ readonly type: 'bancontact';
6936
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
6937
+ }
6940
6938
  interface PaymentMethodSummaryCard {
6941
6939
  readonly type: 'card';
6942
6940
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -7068,7 +7066,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7068
7066
  }
7069
7067
  }
7070
7068
  declare namespace io.flow.payment.gateway.v0.unions {
7071
- type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionIdealSelectIssuer | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
7069
+ type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
7072
7070
  type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
7073
7071
  type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
7074
7072
  type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
@@ -7076,9 +7074,10 @@ declare namespace io.flow.payment.gateway.v0.unions {
7076
7074
  type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
7077
7075
  type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
7078
7076
  type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
7079
- type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
7077
+ type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
7080
7078
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
7081
- type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort;
7079
+ type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
7080
+ type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
7082
7081
  type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
7083
7082
  }
7084
7083
  declare namespace io.flow.order.price.v0.enums {
package/dist/api.d.ts CHANGED
@@ -2343,15 +2343,16 @@ declare namespace io.flow.v0.enums {
2343
2343
  type OrderType = 'standard' | 'replacement';
2344
2344
  type OrganizationPaymentMethodTag = 'deny';
2345
2345
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
2346
- type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'ideal_select_issuer' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
2346
+ type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
2347
2347
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
2348
2348
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
2349
2349
  type PaymentMethodCapability = 'credit' | 'debit';
2350
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
2350
2351
  type PaymentMethodRuleContentKey = 'description';
2351
2352
  type PaymentMethodType = 'card' | 'online' | 'offline';
2352
2353
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2353
2354
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2354
- type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay';
2355
+ type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
2355
2356
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2356
2357
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
2357
2358
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -2507,11 +2508,6 @@ declare namespace io.flow.v0.models {
2507
2508
  readonly expires_at?: string;
2508
2509
  readonly script: string;
2509
2510
  }
2510
- interface ActionIdealSelectIssuer {
2511
- readonly type: 'select_ideal_issuer';
2512
- readonly expires_at?: string;
2513
- readonly issuers: io.flow.v0.models.IdealIssuer[];
2514
- }
2515
2511
  interface ActionRedirect {
2516
2512
  readonly type: 'redirect';
2517
2513
  readonly expires_at?: string;
@@ -2519,6 +2515,12 @@ declare namespace io.flow.v0.models {
2519
2515
  readonly url: string;
2520
2516
  readonly data?: any;
2521
2517
  }
2518
+ interface ActionSelectPaymentOption {
2519
+ readonly type: 'select_payment_option';
2520
+ readonly expires_at?: string;
2521
+ readonly options: io.flow.v0.models.PaymentMethodDataPaymentOption[];
2522
+ readonly option_type: io.flow.v0.enums.PaymentMethodDataOptionType;
2523
+ }
2522
2524
  interface ActionUseSdkAdyenV3 {
2523
2525
  readonly type: 'use_sdk_adyen_v3';
2524
2526
  readonly expires_at?: string;
@@ -5361,11 +5363,6 @@ declare namespace io.flow.v0.models {
5361
5363
  readonly number: string;
5362
5364
  readonly code: string;
5363
5365
  }
5364
- interface IdealIssuer {
5365
- readonly id: string;
5366
- readonly name: string;
5367
- readonly images?: io.flow.v0.models.PaymentMethodImages;
5368
- }
5369
5366
  interface IdentifierForm {
5370
5367
  readonly primary?: boolean;
5371
5368
  readonly name: string;
@@ -7419,6 +7416,10 @@ declare namespace io.flow.v0.models {
7419
7416
  readonly type: 'init_applepay';
7420
7417
  readonly placeholder?: string;
7421
7418
  }
7419
+ interface PaymentMethodDataInitBancontact {
7420
+ readonly type: 'init_bancontact';
7421
+ readonly placeholder?: string;
7422
+ }
7422
7423
  interface PaymentMethodDataInitGooglepay {
7423
7424
  readonly type: 'init_googlepay';
7424
7425
  readonly placeholder?: string;
@@ -7439,6 +7440,19 @@ declare namespace io.flow.v0.models {
7439
7440
  readonly type: 'init_sofort';
7440
7441
  readonly placeholder?: string;
7441
7442
  }
7443
+ interface PaymentMethodDataOptionLogoSvg {
7444
+ readonly type: 'svg';
7445
+ readonly url: string;
7446
+ }
7447
+ interface PaymentMethodDataPaymentOption {
7448
+ readonly id: string;
7449
+ readonly name: string;
7450
+ readonly logo?: io.flow.v0.unions.PaymentMethodDataOptionLogo[];
7451
+ }
7452
+ interface PaymentMethodDataSelectedPaymentOption {
7453
+ readonly type: 'select_option';
7454
+ readonly option_id: string;
7455
+ }
7442
7456
  interface PaymentMethodDataValidateApplepay {
7443
7457
  readonly type: 'validate_applepay';
7444
7458
  readonly validation_url: string;
@@ -7478,6 +7492,10 @@ declare namespace io.flow.v0.models {
7478
7492
  readonly type: 'applepay';
7479
7493
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
7480
7494
  }
7495
+ interface PaymentMethodSummaryBancontact {
7496
+ readonly type: 'bancontact';
7497
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
7498
+ }
7481
7499
  interface PaymentMethodSummaryCard {
7482
7500
  readonly type: 'card';
7483
7501
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
@@ -10116,7 +10134,7 @@ declare namespace io.flow.v0.models {
10116
10134
  }
10117
10135
  declare namespace io.flow.v0.unions {
10118
10136
  type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
10119
- type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionIdealSelectIssuer | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
10137
+ type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionSelectPaymentOption | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
10120
10138
  type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
10121
10139
  type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
10122
10140
  type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
@@ -10172,9 +10190,10 @@ declare namespace io.flow.v0.unions {
10172
10190
  type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
10173
10191
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
10174
10192
  type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
10175
- type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10193
+ type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10176
10194
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
10177
- type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort;
10195
+ type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
10196
+ type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
10178
10197
  type PaymentMethodTag = {
10179
10198
  discriminator: 'organization_payment_method_tag';
10180
10199
  value: io.flow.v0.enums.OrganizationPaymentMethodTag;
@@ -10226,8 +10245,8 @@ export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationFor
10226
10245
  export declare type Action = io.flow.v0.unions.Action;
10227
10246
  export declare type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow;
10228
10247
  export declare type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
10229
- export declare type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
10230
10248
  export declare type ActionRedirect = io.flow.v0.models.ActionRedirect;
10249
+ export declare type ActionSelectPaymentOption = io.flow.v0.models.ActionSelectPaymentOption;
10231
10250
  export declare type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
10232
10251
  export declare type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
10233
10252
  export declare type ActionUseSdkApplepayJsCompleteValidation = io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation;
@@ -10798,7 +10817,6 @@ export declare type Hs10Version = io.flow.v0.models.Hs10Version;
10798
10817
  export declare type Hs6 = io.flow.v0.models.Hs6;
10799
10818
  export declare type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
10800
10819
  export declare type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
10801
- export declare type IdealIssuer = io.flow.v0.models.IdealIssuer;
10802
10820
  export declare type IdentifierForm = io.flow.v0.models.IdentifierForm;
10803
10821
  export declare type Image = io.flow.v0.models.Image;
10804
10822
  export declare type ImageForm = io.flow.v0.models.ImageForm;
@@ -11196,11 +11214,17 @@ export declare type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.Payment
11196
11214
  export declare type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
11197
11215
  export declare type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay;
11198
11216
  export declare type PaymentMethodDataInitApplepay = io.flow.v0.models.PaymentMethodDataInitApplepay;
11217
+ export declare type PaymentMethodDataInitBancontact = io.flow.v0.models.PaymentMethodDataInitBancontact;
11199
11218
  export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay;
11200
11219
  export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
11201
11220
  export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
11202
11221
  export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
11203
11222
  export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
11223
+ export declare type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo;
11224
+ export declare type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
11225
+ export declare type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType;
11226
+ export declare type PaymentMethodDataPaymentOption = io.flow.v0.models.PaymentMethodDataPaymentOption;
11227
+ export declare type PaymentMethodDataSelectedPaymentOption = io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
11204
11228
  export declare type PaymentMethodDataValidateApplepay = io.flow.v0.models.PaymentMethodDataValidateApplepay;
11205
11229
  export declare type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
11206
11230
  export declare type PaymentMethodImages = io.flow.v0.models.PaymentMethodImages;
@@ -11211,6 +11235,7 @@ export declare type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethod
11211
11235
  export declare type PaymentMethodSummary = io.flow.v0.unions.PaymentMethodSummary;
11212
11236
  export declare type PaymentMethodSummaryAfterpay = io.flow.v0.models.PaymentMethodSummaryAfterpay;
11213
11237
  export declare type PaymentMethodSummaryApplepay = io.flow.v0.models.PaymentMethodSummaryApplepay;
11238
+ export declare type PaymentMethodSummaryBancontact = io.flow.v0.models.PaymentMethodSummaryBancontact;
11214
11239
  export declare type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSummaryCard;
11215
11240
  export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay;
11216
11241
  export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.23.5",
3
+ "version": "11.23.6",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "8d26790d7b5a0972ae0243ebf14d224f1ec78fea"
28
+ "gitHead": "61b03b38690bbff0fced499b2608f485158cb283"
29
29
  }
@@ -3516,6 +3516,7 @@ declare namespace io.flow.payment.v0.models {
3516
3516
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
3517
3517
  readonly amount: number;
3518
3518
  readonly currency: string;
3519
+ readonly created_at?: string;
3519
3520
  readonly cryptopay: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
3520
3521
  }
3521
3522
 
@@ -3536,6 +3537,7 @@ declare namespace io.flow.payment.v0.models {
3536
3537
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
3537
3538
  readonly amount: number;
3538
3539
  readonly currency: string;
3540
+ readonly created_at?: string;
3539
3541
  readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
3540
3542
  }
3541
3543
 
@@ -6263,7 +6265,7 @@ declare namespace io.flow.adyen.v0.enums {
6263
6265
  | 'SECOND_CHARGEBACK'
6264
6266
  | 'PREARBITRATION_WON'
6265
6267
  | 'PREARBITRATION_LOST';
6266
- type HttpRedirectMethod = 'GET' | 'POST';
6268
+ type Method = 'GET' | 'POST';
6267
6269
  type Operation = 'cancel' | 'capture' | 'refund';
6268
6270
  type PaymentMethod =
6269
6271
  | 'ach'
@@ -6334,11 +6336,6 @@ declare namespace io.flow.adyen.v0.models {
6334
6336
  readonly currency: string;
6335
6337
  }
6336
6338
 
6337
- interface Applepay {
6338
- readonly type: 'applepay';
6339
- readonly applePayToken: string;
6340
- }
6341
-
6342
6339
  interface Authentication {
6343
6340
  readonly 'threeds2.fingerprintToken'?: string;
6344
6341
  readonly 'threeds2.challengeToken'?: string;
@@ -6366,8 +6363,6 @@ declare namespace io.flow.adyen.v0.models {
6366
6363
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6367
6364
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
6368
6365
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
6369
- readonly mcc?: string;
6370
- readonly metadata?: any /*object*/;
6371
6366
  }
6372
6367
 
6373
6368
  interface AuthorizeRequest3D {
@@ -6524,14 +6519,6 @@ declare namespace io.flow.adyen.v0.models {
6524
6519
  readonly paymentData?: string;
6525
6520
  }
6526
6521
 
6527
- interface PaymentDetailsV663Ds2Challenge {
6528
- readonly 'threeds2.challengeResult': string;
6529
- }
6530
-
6531
- interface PaymentDetailsV663Ds2Fingerprint {
6532
- readonly 'threeds2.fingerprint': string;
6533
- }
6534
-
6535
6522
  interface PaymentRequest {
6536
6523
  readonly reference: string;
6537
6524
  readonly merchantAccount: string;
@@ -6553,11 +6540,7 @@ declare namespace io.flow.adyen.v0.models {
6553
6540
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6554
6541
  readonly origin?: string;
6555
6542
  readonly channel?: io.flow.adyen.v0.enums.Channel;
6556
- readonly returnUrl?: string;
6557
- readonly mcc?: string;
6558
- readonly metadata?: any /*object*/;
6559
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6560
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6543
+ readonly returnURL?: string;
6561
6544
  }
6562
6545
 
6563
6546
  interface PaymentResponse {
@@ -6588,7 +6571,7 @@ declare namespace io.flow.adyen.v0.models {
6588
6571
 
6589
6572
  interface Redirect {
6590
6573
  readonly data?: io.flow.adyen.v0.models.RedirectData;
6591
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
6574
+ readonly method?: io.flow.adyen.v0.enums.Method;
6592
6575
  readonly url?: string;
6593
6576
  }
6594
6577
 
@@ -6613,15 +6596,6 @@ declare namespace io.flow.adyen.v0.models {
6613
6596
  readonly cvc?: string;
6614
6597
  }
6615
6598
 
6616
- interface SdkV3OnCompleteData {
6617
- readonly details: any /*object*/;
6618
- readonly payment_data?: string;
6619
- }
6620
-
6621
- interface SdkV3OnCompleteResult {
6622
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
6623
- }
6624
-
6625
6599
  interface ThreeDSecureData {
6626
6600
  readonly authenticationResponse?: string;
6627
6601
  readonly cavv?: string;
@@ -6653,9 +6627,7 @@ declare namespace io.flow.adyen.v0.unions {
6653
6627
  type BrowserInfo =
6654
6628
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
6655
6629
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
6656
- type PaymentMethodData =
6657
- | io.flow.adyen.v0.models.Scheme
6658
- | io.flow.adyen.v0.models.Applepay;
6630
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
6659
6631
  }
6660
6632
 
6661
6633
  declare namespace io.flow.order.management.v0.enums {
@@ -8686,7 +8658,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
8686
8658
  | 'redirect'
8687
8659
  | 'redirect_get'
8688
8660
  | 'redirect_post'
8689
- | 'ideal_select_issuer'
8661
+ | 'select_payment_option'
8690
8662
  | 'use_sdk_klarna_v1'
8691
8663
  | 'use_sdk_applepay_js'
8692
8664
  | 'use_sdk_googlepay'
@@ -8705,6 +8677,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
8705
8677
  | 'fraudulent'
8706
8678
  | 'error'
8707
8679
  | 'payment_checks_declined';
8680
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
8708
8681
  type PaymentStatus =
8709
8682
  | 'requires_payment_method'
8710
8683
  | 'requires_action'
@@ -8725,7 +8698,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
8725
8698
  | 'applepay'
8726
8699
  | 'ideal'
8727
8700
  | 'sofort'
8728
- | 'afterpay';
8701
+ | 'afterpay'
8702
+ | 'bancontact';
8729
8703
  }
8730
8704
 
8731
8705
  declare namespace io.flow.payment.gateway.v0.models {
@@ -8744,11 +8718,6 @@ declare namespace io.flow.payment.gateway.v0.models {
8744
8718
  readonly script: string;
8745
8719
  }
8746
8720
 
8747
- interface ActionIdealSelectIssuer {
8748
- readonly type: 'select_ideal_issuer';
8749
- readonly issuers: io.flow.payment.gateway.v0.models.IdealIssuer[];
8750
- }
8751
-
8752
8721
  interface ActionRedirect {
8753
8722
  readonly type: 'redirect';
8754
8723
  readonly expires_at?: string;
@@ -8757,6 +8726,13 @@ declare namespace io.flow.payment.gateway.v0.models {
8757
8726
  readonly data?: any /*object*/;
8758
8727
  }
8759
8728
 
8729
+ interface ActionSelectPaymentOption {
8730
+ readonly type: 'select_payment_option';
8731
+ readonly expires_at?: string;
8732
+ readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[];
8733
+ readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType;
8734
+ }
8735
+
8760
8736
  interface ActionUseSdkAdyenV3 {
8761
8737
  readonly type: 'use_sdk_adyen_v3';
8762
8738
  readonly expires_at?: string;
@@ -8853,12 +8829,6 @@ declare namespace io.flow.payment.gateway.v0.models {
8853
8829
  readonly time_zone_offset: number;
8854
8830
  }
8855
8831
 
8856
- interface IdealIssuer {
8857
- readonly id: string;
8858
- readonly name: string;
8859
- readonly images?: io.flow.reference.v0.models.PaymentMethodImages;
8860
- }
8861
-
8862
8832
  interface KlarnaPaymentCategory {
8863
8833
  readonly id: string;
8864
8834
  readonly name: string;
@@ -9077,6 +9047,11 @@ declare namespace io.flow.payment.gateway.v0.models {
9077
9047
  readonly placeholder?: string;
9078
9048
  }
9079
9049
 
9050
+ interface PaymentMethodDataInitBancontact {
9051
+ readonly type: 'init_bancontact';
9052
+ readonly placeholder?: string;
9053
+ }
9054
+
9080
9055
  interface PaymentMethodDataInitGooglepay {
9081
9056
  readonly type: 'init_googlepay';
9082
9057
  readonly placeholder?: string;
@@ -9102,6 +9077,22 @@ declare namespace io.flow.payment.gateway.v0.models {
9102
9077
  readonly placeholder?: string;
9103
9078
  }
9104
9079
 
9080
+ interface PaymentMethodDataOptionLogoSvg {
9081
+ readonly type: 'svg';
9082
+ readonly url: string;
9083
+ }
9084
+
9085
+ interface PaymentMethodDataPaymentOption {
9086
+ readonly id: string;
9087
+ readonly name: string;
9088
+ readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[];
9089
+ }
9090
+
9091
+ interface PaymentMethodDataSelectedPaymentOption {
9092
+ readonly type: 'select_option';
9093
+ readonly option_id: string;
9094
+ }
9095
+
9105
9096
  interface PaymentMethodDataValidateApplepay {
9106
9097
  readonly type: 'validate_applepay';
9107
9098
  readonly validation_url: string;
@@ -9117,6 +9108,11 @@ declare namespace io.flow.payment.gateway.v0.models {
9117
9108
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9118
9109
  }
9119
9110
 
9111
+ interface PaymentMethodSummaryBancontact {
9112
+ readonly type: 'bancontact';
9113
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9114
+ }
9115
+
9120
9116
  interface PaymentMethodSummaryCard {
9121
9117
  readonly type: 'card';
9122
9118
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
@@ -9277,7 +9273,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
9277
9273
  | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3
9278
9274
  | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3
9279
9275
  | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
9280
- | io.flow.payment.gateway.v0.models.ActionIdealSelectIssuer
9276
+ | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption
9281
9277
  | io.flow.payment.gateway.v0.models.ActionExecuteScript
9282
9278
  | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
9283
9279
  | io.flow.payment.gateway.v0.models.ActionWait;
@@ -9307,16 +9303,20 @@ declare namespace io.flow.payment.gateway.v0.unions {
9307
9303
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal
9308
9304
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal
9309
9305
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort
9306
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact
9310
9307
  | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay
9311
9308
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard
9312
9309
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
9313
9310
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
9314
9311
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
9315
9312
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
9313
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption
9316
9314
  | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
9317
9315
  type PaymentMethodDataAuthorizeKlarnaResult =
9318
9316
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
9319
9317
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
9318
+ type PaymentMethodDataOptionLogo =
9319
+ io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
9320
9320
  type PaymentMethodSummary =
9321
9321
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
9322
9322
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
@@ -9325,7 +9325,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
9325
9325
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay
9326
9326
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal
9327
9327
  | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal
9328
- | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort;
9328
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort
9329
+ | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
9329
9330
  type SdkAdyenV3AuthenticationToken =
9330
9331
  | io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken
9331
9332
  | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
package/src/api.ts CHANGED
@@ -3478,7 +3478,7 @@ declare namespace io.flow.v0.enums {
3478
3478
  | 'redirect'
3479
3479
  | 'redirect_get'
3480
3480
  | 'redirect_post'
3481
- | 'ideal_select_issuer'
3481
+ | 'select_payment_option'
3482
3482
  | 'use_sdk_klarna_v1'
3483
3483
  | 'use_sdk_applepay_js'
3484
3484
  | 'use_sdk_googlepay'
@@ -3507,6 +3507,7 @@ declare namespace io.flow.v0.enums {
3507
3507
  | 'error'
3508
3508
  | 'payment_checks_declined';
3509
3509
  type PaymentMethodCapability = 'credit' | 'debit';
3510
+ type PaymentMethodDataOptionType = 'ideal_issuer_option';
3510
3511
  type PaymentMethodRuleContentKey = 'description';
3511
3512
  type PaymentMethodType = 'card' | 'online' | 'offline';
3512
3513
  type PaymentSourceConfirmationActionType =
@@ -3533,7 +3534,8 @@ declare namespace io.flow.v0.enums {
3533
3534
  | 'applepay'
3534
3535
  | 'ideal'
3535
3536
  | 'sofort'
3536
- | 'afterpay';
3537
+ | 'afterpay'
3538
+ | 'bancontact';
3537
3539
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3538
3540
  type PhysicalDeliverySpecialSerivce =
3539
3541
  | 'cold_storage'
@@ -3848,12 +3850,6 @@ declare namespace io.flow.v0.models {
3848
3850
  readonly script: string;
3849
3851
  }
3850
3852
 
3851
- interface ActionIdealSelectIssuer {
3852
- readonly type: 'select_ideal_issuer';
3853
- readonly expires_at?: string;
3854
- readonly issuers: io.flow.v0.models.IdealIssuer[];
3855
- }
3856
-
3857
3853
  interface ActionRedirect {
3858
3854
  readonly type: 'redirect';
3859
3855
  readonly expires_at?: string;
@@ -3862,6 +3858,13 @@ declare namespace io.flow.v0.models {
3862
3858
  readonly data?: any /*object*/;
3863
3859
  }
3864
3860
 
3861
+ interface ActionSelectPaymentOption {
3862
+ readonly type: 'select_payment_option';
3863
+ readonly expires_at?: string;
3864
+ readonly options: io.flow.v0.models.PaymentMethodDataPaymentOption[];
3865
+ readonly option_type: io.flow.v0.enums.PaymentMethodDataOptionType;
3866
+ }
3867
+
3865
3868
  interface ActionUseSdkAdyenV3 {
3866
3869
  readonly type: 'use_sdk_adyen_v3';
3867
3870
  readonly expires_at?: string;
@@ -7165,12 +7168,6 @@ declare namespace io.flow.v0.models {
7165
7168
  readonly code: string;
7166
7169
  }
7167
7170
 
7168
- interface IdealIssuer {
7169
- readonly id: string;
7170
- readonly name: string;
7171
- readonly images?: io.flow.v0.models.PaymentMethodImages;
7172
- }
7173
-
7174
7171
  interface IdentifierForm {
7175
7172
  readonly primary?: boolean;
7176
7173
  readonly name: string;
@@ -9564,6 +9561,11 @@ declare namespace io.flow.v0.models {
9564
9561
  readonly placeholder?: string;
9565
9562
  }
9566
9563
 
9564
+ interface PaymentMethodDataInitBancontact {
9565
+ readonly type: 'init_bancontact';
9566
+ readonly placeholder?: string;
9567
+ }
9568
+
9567
9569
  interface PaymentMethodDataInitGooglepay {
9568
9570
  readonly type: 'init_googlepay';
9569
9571
  readonly placeholder?: string;
@@ -9589,6 +9591,22 @@ declare namespace io.flow.v0.models {
9589
9591
  readonly placeholder?: string;
9590
9592
  }
9591
9593
 
9594
+ interface PaymentMethodDataOptionLogoSvg {
9595
+ readonly type: 'svg';
9596
+ readonly url: string;
9597
+ }
9598
+
9599
+ interface PaymentMethodDataPaymentOption {
9600
+ readonly id: string;
9601
+ readonly name: string;
9602
+ readonly logo?: io.flow.v0.unions.PaymentMethodDataOptionLogo[];
9603
+ }
9604
+
9605
+ interface PaymentMethodDataSelectedPaymentOption {
9606
+ readonly type: 'select_option';
9607
+ readonly option_id: string;
9608
+ }
9609
+
9592
9610
  interface PaymentMethodDataValidateApplepay {
9593
9611
  readonly type: 'validate_applepay';
9594
9612
  readonly validation_url: string;
@@ -9636,6 +9654,11 @@ declare namespace io.flow.v0.models {
9636
9654
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9637
9655
  }
9638
9656
 
9657
+ interface PaymentMethodSummaryBancontact {
9658
+ readonly type: 'bancontact';
9659
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9660
+ }
9661
+
9639
9662
  interface PaymentMethodSummaryCard {
9640
9663
  readonly type: 'card';
9641
9664
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
@@ -12707,7 +12730,7 @@ declare namespace io.flow.v0.unions {
12707
12730
  | io.flow.v0.models.ActionUseSdkStripeV3
12708
12731
  | io.flow.v0.models.ActionUseSdkAdyenV3
12709
12732
  | io.flow.v0.models.ActionUseSdkAdyenV4
12710
- | io.flow.v0.models.ActionIdealSelectIssuer
12733
+ | io.flow.v0.models.ActionSelectPaymentOption
12711
12734
  | io.flow.v0.models.ActionExecuteScript
12712
12735
  | io.flow.v0.models.ActionDisplayInlineWindow
12713
12736
  | io.flow.v0.models.ActionWait;
@@ -13077,16 +13100,20 @@ declare namespace io.flow.v0.unions {
13077
13100
  | io.flow.v0.models.PaymentMethodDataInitPaypal
13078
13101
  | io.flow.v0.models.PaymentMethodDataInitIdeal
13079
13102
  | io.flow.v0.models.PaymentMethodDataInitSofort
13103
+ | io.flow.v0.models.PaymentMethodDataInitBancontact
13080
13104
  | io.flow.v0.models.PaymentMethodDataValidateApplepay
13081
13105
  | io.flow.v0.models.PaymentMethodDataAuthorizeCard
13082
13106
  | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay
13083
13107
  | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay
13084
13108
  | io.flow.v0.models.PaymentMethodDataAuthorizePaypal
13085
13109
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna
13110
+ | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption
13086
13111
  | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
13087
13112
  type PaymentMethodDataAuthorizeKlarnaResult =
13088
13113
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
13089
13114
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
13115
+ type PaymentMethodDataOptionLogo =
13116
+ io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
13090
13117
  type PaymentMethodSummary =
13091
13118
  | io.flow.v0.models.PaymentMethodSummaryCard
13092
13119
  | io.flow.v0.models.PaymentMethodSummaryKlarna
@@ -13095,7 +13122,8 @@ declare namespace io.flow.v0.unions {
13095
13122
  | io.flow.v0.models.PaymentMethodSummaryGooglepay
13096
13123
  | io.flow.v0.models.PaymentMethodSummaryPaypal
13097
13124
  | io.flow.v0.models.PaymentMethodSummaryIdeal
13098
- | io.flow.v0.models.PaymentMethodSummarySofort;
13125
+ | io.flow.v0.models.PaymentMethodSummarySofort
13126
+ | io.flow.v0.models.PaymentMethodSummaryBancontact;
13099
13127
 
13100
13128
  type PaymentMethodTag =
13101
13129
  | {
@@ -13227,8 +13255,9 @@ export type Action = io.flow.v0.unions.Action;
13227
13255
  export type ActionDisplayInlineWindow =
13228
13256
  io.flow.v0.models.ActionDisplayInlineWindow;
13229
13257
  export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
13230
- export type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
13231
13258
  export type ActionRedirect = io.flow.v0.models.ActionRedirect;
13259
+ export type ActionSelectPaymentOption =
13260
+ io.flow.v0.models.ActionSelectPaymentOption;
13232
13261
  export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
13233
13262
  export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
13234
13263
  export type ActionUseSdkApplepayJsCompleteValidation =
@@ -13963,7 +13992,6 @@ export type Hs10Version = io.flow.v0.models.Hs10Version;
13963
13992
  export type Hs6 = io.flow.v0.models.Hs6;
13964
13993
  export type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
13965
13994
  export type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
13966
- export type IdealIssuer = io.flow.v0.models.IdealIssuer;
13967
13995
  export type IdentifierForm = io.flow.v0.models.IdentifierForm;
13968
13996
  export type Image = io.flow.v0.models.Image;
13969
13997
  export type ImageForm = io.flow.v0.models.ImageForm;
@@ -14458,6 +14486,8 @@ export type PaymentMethodDataInitAfterpay =
14458
14486
  io.flow.v0.models.PaymentMethodDataInitAfterpay;
14459
14487
  export type PaymentMethodDataInitApplepay =
14460
14488
  io.flow.v0.models.PaymentMethodDataInitApplepay;
14489
+ export type PaymentMethodDataInitBancontact =
14490
+ io.flow.v0.models.PaymentMethodDataInitBancontact;
14461
14491
  export type PaymentMethodDataInitGooglepay =
14462
14492
  io.flow.v0.models.PaymentMethodDataInitGooglepay;
14463
14493
  export type PaymentMethodDataInitIdeal =
@@ -14468,6 +14498,16 @@ export type PaymentMethodDataInitPaypal =
14468
14498
  io.flow.v0.models.PaymentMethodDataInitPaypal;
14469
14499
  export type PaymentMethodDataInitSofort =
14470
14500
  io.flow.v0.models.PaymentMethodDataInitSofort;
14501
+ export type PaymentMethodDataOptionLogo =
14502
+ io.flow.v0.unions.PaymentMethodDataOptionLogo;
14503
+ export type PaymentMethodDataOptionLogoSvg =
14504
+ io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
14505
+ export type PaymentMethodDataOptionType =
14506
+ io.flow.v0.enums.PaymentMethodDataOptionType;
14507
+ export type PaymentMethodDataPaymentOption =
14508
+ io.flow.v0.models.PaymentMethodDataPaymentOption;
14509
+ export type PaymentMethodDataSelectedPaymentOption =
14510
+ io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
14471
14511
  export type PaymentMethodDataValidateApplepay =
14472
14512
  io.flow.v0.models.PaymentMethodDataValidateApplepay;
14473
14513
  export type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
@@ -14483,6 +14523,8 @@ export type PaymentMethodSummaryAfterpay =
14483
14523
  io.flow.v0.models.PaymentMethodSummaryAfterpay;
14484
14524
  export type PaymentMethodSummaryApplepay =
14485
14525
  io.flow.v0.models.PaymentMethodSummaryApplepay;
14526
+ export type PaymentMethodSummaryBancontact =
14527
+ io.flow.v0.models.PaymentMethodSummaryBancontact;
14486
14528
  export type PaymentMethodSummaryCard =
14487
14529
  io.flow.v0.models.PaymentMethodSummaryCard;
14488
14530
  export type PaymentMethodSummaryGooglepay =