@flowio/types 11.24.63 → 11.24.64

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.
@@ -3483,9 +3483,9 @@ declare namespace io.flow.adyen.v0.enums {
3483
3483
  type Contract = 'RECURRING';
3484
3484
  type DeviceChannel = 'app' | 'browser';
3485
3485
  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';
3486
- type Method = 'GET' | 'POST';
3486
+ type HttpRedirectMethod = 'GET' | 'POST';
3487
3487
  type Operation = 'cancel' | 'capture' | 'refund';
3488
- 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';
3488
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_hk' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'blik' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'gcash' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kakaopay' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mbway' | 'mc' | 'mobilepay' | 'molpay_points' | 'multibanco' | 'onlineBanking_PL' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'twint' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3489
3489
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3490
3490
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3491
3491
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3504,6 +3504,10 @@ declare namespace io.flow.adyen.v0.models {
3504
3504
  readonly value: number;
3505
3505
  readonly currency: string;
3506
3506
  }
3507
+ interface Applepay {
3508
+ readonly type: 'applepay';
3509
+ readonly applePayToken: string;
3510
+ }
3507
3511
  interface Authentication {
3508
3512
  readonly 'threeds2.fingerprintToken'?: string;
3509
3513
  readonly 'threeds2.challengeToken'?: string;
@@ -3530,6 +3534,8 @@ declare namespace io.flow.adyen.v0.models {
3530
3534
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3531
3535
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3532
3536
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3537
+ readonly mcc?: string;
3538
+ readonly metadata?: any;
3533
3539
  }
3534
3540
  interface AuthorizeRequest3D {
3535
3541
  readonly merchantAccount: string;
@@ -3663,6 +3669,12 @@ declare namespace io.flow.adyen.v0.models {
3663
3669
  readonly details: any;
3664
3670
  readonly paymentData?: string;
3665
3671
  }
3672
+ interface PaymentDetailsV663Ds2Challenge {
3673
+ readonly 'threeds2.challengeResult': string;
3674
+ }
3675
+ interface PaymentDetailsV663Ds2Fingerprint {
3676
+ readonly 'threeds2.fingerprint': string;
3677
+ }
3666
3678
  interface PaymentRequest {
3667
3679
  readonly reference: string;
3668
3680
  readonly merchantAccount: string;
@@ -3684,7 +3696,12 @@ declare namespace io.flow.adyen.v0.models {
3684
3696
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3685
3697
  readonly origin?: string;
3686
3698
  readonly channel?: io.flow.adyen.v0.enums.Channel;
3687
- readonly returnURL?: string;
3699
+ readonly returnUrl?: string;
3700
+ readonly mcc?: string;
3701
+ readonly metadata?: any;
3702
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
3703
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
3704
+ readonly storePaymentMethod?: boolean;
3688
3705
  }
3689
3706
  interface PaymentResponse {
3690
3707
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -3699,19 +3716,61 @@ declare namespace io.flow.adyen.v0.models {
3699
3716
  interface PaymentResponseAdditionalData {
3700
3717
  readonly authCode?: string;
3701
3718
  readonly avsResultRaw?: string;
3719
+ readonly avsResult?: string;
3702
3720
  readonly cvcResultRaw?: string;
3721
+ readonly cvcResult?: string;
3722
+ readonly refusalReasonRaw?: string;
3703
3723
  readonly liabilityShift?: string;
3704
3724
  readonly threeDAuthenticated?: string;
3705
3725
  readonly threeDAuthenticatedResponse?: string;
3706
3726
  readonly threeDOffered?: string;
3707
3727
  readonly threeDOfferedResponse?: string;
3728
+ readonly threeDSVersion?: string;
3729
+ readonly eci?: string;
3730
+ readonly cavv?: string;
3731
+ readonly scaExemptionRequested?: string;
3732
+ readonly paymentMethod?: string;
3733
+ readonly paymentMethodVariant?: string;
3734
+ readonly tokenTxVariant?: string;
3735
+ readonly acquirerCode?: string;
3736
+ readonly acquirerAccountCode?: string;
3737
+ readonly cardPaymentMethod?: string;
3738
+ readonly coBrandedWith?: string;
3739
+ readonly cardIssuingCountry?: string;
3740
+ readonly cardIssuingCurrency?: string;
3741
+ readonly cardIssuingBank?: string;
3742
+ readonly cardBin?: string;
3743
+ readonly issuerBin?: string;
3744
+ readonly cardSummary?: string;
3745
+ readonly untokenisedCardSummary?: string;
3746
+ readonly expiryDate?: string;
3747
+ readonly cardHolderName?: string;
3748
+ readonly fundingSource?: string;
3749
+ readonly ownerName?: string;
3750
+ readonly bankName?: string;
3751
+ readonly issuerCountry?: string;
3752
+ readonly iban?: string;
3753
+ readonly bic?: string;
3754
+ readonly iDealConsumerAccountNumber?: string;
3755
+ readonly iDealConsumerBIC?: string;
3756
+ readonly iDealConsumerCity?: string;
3757
+ readonly iDealConsumerIBAN?: string;
3758
+ readonly iDealConsumerName?: string;
3759
+ readonly iDealTransactionId?: string;
3760
+ readonly 'recurring.recurringDetailReference'?: string;
3761
+ readonly 'recurring.shopperReference'?: string;
3762
+ readonly networkTxReference?: string;
3763
+ readonly PaymentAccountReference?: string;
3764
+ readonly 'networkToken.available'?: string;
3765
+ readonly 'networkToken.bin'?: string;
3766
+ readonly 'networkToken.tokenSummary'?: string;
3708
3767
  }
3709
3768
  interface Recurring {
3710
3769
  readonly contract: io.flow.adyen.v0.enums.Contract;
3711
3770
  }
3712
3771
  interface Redirect {
3713
3772
  readonly data?: io.flow.adyen.v0.models.RedirectData;
3714
- readonly method?: io.flow.adyen.v0.enums.Method;
3773
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
3715
3774
  readonly url?: string;
3716
3775
  }
3717
3776
  interface RedirectData {
@@ -3731,6 +3790,15 @@ declare namespace io.flow.adyen.v0.models {
3731
3790
  readonly holderName: string;
3732
3791
  readonly number: string;
3733
3792
  readonly cvc?: string;
3793
+ readonly storedPaymentMethodId?: string;
3794
+ readonly networkPaymentReference?: string;
3795
+ }
3796
+ interface SdkV3OnCompleteData {
3797
+ readonly details: any;
3798
+ readonly payment_data?: string;
3799
+ }
3800
+ interface SdkV3OnCompleteResult {
3801
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
3734
3802
  }
3735
3803
  interface ThreeDSecureData {
3736
3804
  readonly authenticationResponse?: string;
@@ -3757,7 +3825,7 @@ declare namespace io.flow.adyen.v0.models {
3757
3825
  }
3758
3826
  declare namespace io.flow.adyen.v0.unions {
3759
3827
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
3760
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
3828
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
3761
3829
  }
3762
3830
  declare namespace io.flow.order.management.v0.enums {
3763
3831
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9990,17 +10058,17 @@ declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models {
9990
10058
  }
9991
10059
  }
9992
10060
  declare namespace io.flow.apple.pay.v0.enums {
9993
- type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
10061
+ type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
9994
10062
  type ApplePayLineItemType = 'final' | 'pending';
9995
10063
  type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
9996
- type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
10064
+ type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
9997
10065
  type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
9998
10066
  }
9999
10067
  declare namespace io.flow.apple.pay.v0.models {
10000
10068
  interface ApplePayLineItem {
10001
10069
  readonly label: string;
10002
10070
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
10003
- readonly amount: number;
10071
+ readonly amount: string;
10004
10072
  }
10005
10073
  interface ApplePayPaymentContact {
10006
10074
  readonly email_address?: string;
@@ -10047,7 +10115,7 @@ declare namespace io.flow.apple.pay.v0.models {
10047
10115
  interface ApplePayShippingMethod {
10048
10116
  readonly label: string;
10049
10117
  readonly detail: string;
10050
- readonly amount: number;
10118
+ readonly amount: string;
10051
10119
  readonly identifier: string;
10052
10120
  }
10053
10121
  }
@@ -10118,6 +10186,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
10118
10186
  readonly description?: string;
10119
10187
  }
10120
10188
  interface OnboardingStateTransition {
10189
+ readonly id: string;
10121
10190
  readonly state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
10122
10191
  readonly started_at: string;
10123
10192
  }
@@ -10603,10 +10672,10 @@ declare namespace io.flow.internal.v0.enums {
10603
10672
  type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
10604
10673
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
10605
10674
  type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
10606
- type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'miscellaneous';
10675
+ type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'organization_status' | 'miscellaneous';
10607
10676
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
10608
10677
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
10609
- type OnboardingStateSource = 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status';
10678
+ type OnboardingStateSource = 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'api_internal_delete_transaction' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status';
10610
10679
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
10611
10680
  type OrderAttributeIntent = 'discount_code';
10612
10681
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
@@ -17865,6 +17934,7 @@ declare namespace io.flow.internal.v0.models {
17865
17934
  readonly organization_id: string;
17866
17935
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
17867
17936
  readonly setup_completed_at?: string;
17937
+ readonly activated_at?: string;
17868
17938
  readonly gmv: number;
17869
17939
  readonly health_score: number;
17870
17940
  readonly blocked_since?: string;
@@ -18261,6 +18331,9 @@ declare namespace io.flow.internal.v0.models {
18261
18331
  readonly from: string;
18262
18332
  readonly to: string;
18263
18333
  }
18334
+ interface OrganizationOnboardingStateAdjustmentResult {
18335
+ readonly organization_onboarding_state?: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
18336
+ }
18264
18337
  interface OrganizationPaymentSetting {
18265
18338
  readonly id: string;
18266
18339
  readonly organization_id: string;
@@ -19526,7 +19599,7 @@ declare namespace io.flow.internal.v0.models {
19526
19599
  interface RestrictionRuleDecisionForm {
19527
19600
  readonly rule_id: string;
19528
19601
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
19529
- readonly product_id?: string;
19602
+ readonly product_id: string;
19530
19603
  }
19531
19604
  interface RestrictionRuleForm {
19532
19605
  readonly name: string;
@@ -22826,6 +22899,7 @@ export declare type OrganizationDebugTransaction = io.flow.internal.v0.models.Or
22826
22899
  export declare type OrganizationInvitationAcceptForm = io.flow.internal.v0.models.OrganizationInvitationAcceptForm;
22827
22900
  export declare type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
22828
22901
  export declare type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
22902
+ export declare type OrganizationOnboardingStateAdjustmentResult = io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult;
22829
22903
  export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.OrganizationPaymentSetting;
22830
22904
  export declare type OrganizationPaymentSettingDeleted = io.flow.internal.v0.models.OrganizationPaymentSettingDeleted;
22831
22905
  export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
package/dist/api.d.ts CHANGED
@@ -1580,17 +1580,17 @@ declare namespace io.flow.shopify.external.v0.models {
1580
1580
  }
1581
1581
  }
1582
1582
  declare namespace io.flow.apple.pay.v0.enums {
1583
- type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
1583
+ type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
1584
1584
  type ApplePayLineItemType = 'final' | 'pending';
1585
1585
  type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
1586
- type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
1586
+ type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
1587
1587
  type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
1588
1588
  }
1589
1589
  declare namespace io.flow.apple.pay.v0.models {
1590
1590
  interface ApplePayLineItem {
1591
1591
  readonly label: string;
1592
1592
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
1593
- readonly amount: number;
1593
+ readonly amount: string;
1594
1594
  }
1595
1595
  interface ApplePayPaymentContact {
1596
1596
  readonly email_address?: string;
@@ -1637,7 +1637,7 @@ declare namespace io.flow.apple.pay.v0.models {
1637
1637
  interface ApplePayShippingMethod {
1638
1638
  readonly label: string;
1639
1639
  readonly detail: string;
1640
- readonly amount: number;
1640
+ readonly amount: string;
1641
1641
  readonly identifier: string;
1642
1642
  }
1643
1643
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.63",
3
+ "version": "11.24.64",
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": "bc548be3553cff4232e1a8c5d37e7a2baeab2c73"
28
+ "gitHead": "304f46c2533d37256ff6dc855066e33408d43adc"
29
29
  }
@@ -4773,15 +4773,18 @@ declare namespace io.flow.adyen.v0.enums {
4773
4773
  | 'SECOND_CHARGEBACK'
4774
4774
  | 'PREARBITRATION_WON'
4775
4775
  | 'PREARBITRATION_LOST';
4776
- type Method = 'GET' | 'POST';
4776
+ type HttpRedirectMethod = 'GET' | 'POST';
4777
4777
  type Operation = 'cancel' | 'capture' | 'refund';
4778
4778
  type PaymentMethod =
4779
4779
  | 'ach'
4780
4780
  | 'alipay'
4781
+ | 'alipay_hk'
4781
4782
  | 'alipay_wap'
4782
4783
  | 'amex'
4783
4784
  | 'bankTransfer_IBAN'
4784
4785
  | 'bcmc'
4786
+ | 'bcmc_mobile'
4787
+ | 'blik'
4785
4788
  | 'cartebancaire'
4786
4789
  | 'cup'
4787
4790
  | 'diners'
@@ -4792,21 +4795,27 @@ declare namespace io.flow.adyen.v0.enums {
4792
4795
  | 'dragonpay_gcash'
4793
4796
  | 'dragonpay_otc_banking'
4794
4797
  | 'ebanking_FI'
4798
+ | 'gcash'
4795
4799
  | 'giropay'
4796
4800
  | 'ideal'
4797
4801
  | 'interac'
4798
4802
  | 'jcb'
4803
+ | 'kakaopay'
4799
4804
  | 'kcp_banktransfer'
4800
4805
  | 'kcp_creditcard'
4801
4806
  | 'kcp_payco'
4802
4807
  | 'maestro'
4808
+ | 'mbway'
4803
4809
  | 'mc'
4810
+ | 'mobilepay'
4804
4811
  | 'molpay_points'
4805
4812
  | 'multibanco'
4813
+ | 'onlineBanking_PL'
4806
4814
  | 'qiwiwallet'
4807
4815
  | 'sepadirectdebit'
4808
4816
  | 'trustly'
4809
4817
  | 'trustpay'
4818
+ | 'twint'
4810
4819
  | 'unionpay'
4811
4820
  | 'visa'
4812
4821
  | 'wechatpay'
@@ -4844,6 +4853,11 @@ declare namespace io.flow.adyen.v0.models {
4844
4853
  readonly currency: string;
4845
4854
  }
4846
4855
 
4856
+ interface Applepay {
4857
+ readonly type: 'applepay';
4858
+ readonly applePayToken: string;
4859
+ }
4860
+
4847
4861
  interface Authentication {
4848
4862
  readonly 'threeds2.fingerprintToken'?: string;
4849
4863
  readonly 'threeds2.challengeToken'?: string;
@@ -4871,6 +4885,8 @@ declare namespace io.flow.adyen.v0.models {
4871
4885
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4872
4886
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
4873
4887
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4888
+ readonly mcc?: string;
4889
+ readonly metadata?: any /*object*/;
4874
4890
  }
4875
4891
 
4876
4892
  interface AuthorizeRequest3D {
@@ -5027,6 +5043,14 @@ declare namespace io.flow.adyen.v0.models {
5027
5043
  readonly paymentData?: string;
5028
5044
  }
5029
5045
 
5046
+ interface PaymentDetailsV663Ds2Challenge {
5047
+ readonly 'threeds2.challengeResult': string;
5048
+ }
5049
+
5050
+ interface PaymentDetailsV663Ds2Fingerprint {
5051
+ readonly 'threeds2.fingerprint': string;
5052
+ }
5053
+
5030
5054
  interface PaymentRequest {
5031
5055
  readonly reference: string;
5032
5056
  readonly merchantAccount: string;
@@ -5048,7 +5072,12 @@ declare namespace io.flow.adyen.v0.models {
5048
5072
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5049
5073
  readonly origin?: string;
5050
5074
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5051
- readonly returnURL?: string;
5075
+ readonly returnUrl?: string;
5076
+ readonly mcc?: string;
5077
+ readonly metadata?: any /*object*/;
5078
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5079
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5080
+ readonly storePaymentMethod?: boolean;
5052
5081
  }
5053
5082
 
5054
5083
  interface PaymentResponse {
@@ -5065,12 +5094,54 @@ declare namespace io.flow.adyen.v0.models {
5065
5094
  interface PaymentResponseAdditionalData {
5066
5095
  readonly authCode?: string;
5067
5096
  readonly avsResultRaw?: string;
5097
+ readonly avsResult?: string;
5068
5098
  readonly cvcResultRaw?: string;
5099
+ readonly cvcResult?: string;
5100
+ readonly refusalReasonRaw?: string;
5069
5101
  readonly liabilityShift?: string;
5070
5102
  readonly threeDAuthenticated?: string;
5071
5103
  readonly threeDAuthenticatedResponse?: string;
5072
5104
  readonly threeDOffered?: string;
5073
5105
  readonly threeDOfferedResponse?: string;
5106
+ readonly threeDSVersion?: string;
5107
+ readonly eci?: string;
5108
+ readonly cavv?: string;
5109
+ readonly scaExemptionRequested?: string;
5110
+ readonly paymentMethod?: string;
5111
+ readonly paymentMethodVariant?: string;
5112
+ readonly tokenTxVariant?: string;
5113
+ readonly acquirerCode?: string;
5114
+ readonly acquirerAccountCode?: string;
5115
+ readonly cardPaymentMethod?: string;
5116
+ readonly coBrandedWith?: string;
5117
+ readonly cardIssuingCountry?: string;
5118
+ readonly cardIssuingCurrency?: string;
5119
+ readonly cardIssuingBank?: string;
5120
+ readonly cardBin?: string;
5121
+ readonly issuerBin?: string;
5122
+ readonly cardSummary?: string;
5123
+ readonly untokenisedCardSummary?: string;
5124
+ readonly expiryDate?: string;
5125
+ readonly cardHolderName?: string;
5126
+ readonly fundingSource?: string;
5127
+ readonly ownerName?: string;
5128
+ readonly bankName?: string;
5129
+ readonly issuerCountry?: string;
5130
+ readonly iban?: string;
5131
+ readonly bic?: string;
5132
+ readonly iDealConsumerAccountNumber?: string;
5133
+ readonly iDealConsumerBIC?: string;
5134
+ readonly iDealConsumerCity?: string;
5135
+ readonly iDealConsumerIBAN?: string;
5136
+ readonly iDealConsumerName?: string;
5137
+ readonly iDealTransactionId?: string;
5138
+ readonly 'recurring.recurringDetailReference'?: string;
5139
+ readonly 'recurring.shopperReference'?: string;
5140
+ readonly networkTxReference?: string;
5141
+ readonly PaymentAccountReference?: string;
5142
+ readonly 'networkToken.available'?: string;
5143
+ readonly 'networkToken.bin'?: string;
5144
+ readonly 'networkToken.tokenSummary'?: string;
5074
5145
  }
5075
5146
 
5076
5147
  interface Recurring {
@@ -5079,7 +5150,7 @@ declare namespace io.flow.adyen.v0.models {
5079
5150
 
5080
5151
  interface Redirect {
5081
5152
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5082
- readonly method?: io.flow.adyen.v0.enums.Method;
5153
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5083
5154
  readonly url?: string;
5084
5155
  }
5085
5156
 
@@ -5102,6 +5173,17 @@ declare namespace io.flow.adyen.v0.models {
5102
5173
  readonly holderName: string;
5103
5174
  readonly number: string;
5104
5175
  readonly cvc?: string;
5176
+ readonly storedPaymentMethodId?: string;
5177
+ readonly networkPaymentReference?: string;
5178
+ }
5179
+
5180
+ interface SdkV3OnCompleteData {
5181
+ readonly details: any /*object*/;
5182
+ readonly payment_data?: string;
5183
+ }
5184
+
5185
+ interface SdkV3OnCompleteResult {
5186
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5105
5187
  }
5106
5188
 
5107
5189
  interface ThreeDSecureData {
@@ -5135,7 +5217,9 @@ declare namespace io.flow.adyen.v0.unions {
5135
5217
  type BrowserInfo =
5136
5218
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5137
5219
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5138
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5220
+ type PaymentMethodData =
5221
+ | io.flow.adyen.v0.models.Scheme
5222
+ | io.flow.adyen.v0.models.Applepay;
5139
5223
  }
5140
5224
 
5141
5225
  declare namespace io.flow.order.management.v0.enums {
@@ -13079,8 +13163,8 @@ declare namespace io.flow.apple.pay.v0.enums {
13079
13163
  | 'email'
13080
13164
  | 'name'
13081
13165
  | 'phone'
13082
- | 'postal_address'
13083
- | 'phonetic_name';
13166
+ | 'postalAddress'
13167
+ | 'phoneticName';
13084
13168
  type ApplePayLineItemType = 'final' | 'pending';
13085
13169
  type ApplePayMerchantCapability =
13086
13170
  | 'supports3DS'
@@ -13090,8 +13174,8 @@ declare namespace io.flow.apple.pay.v0.enums {
13090
13174
  type ApplePayShippingType =
13091
13175
  | 'shipping'
13092
13176
  | 'delivery'
13093
- | 'store_pickup'
13094
- | 'service_pickup';
13177
+ | 'storePickup'
13178
+ | 'servicePickup';
13095
13179
  type ApplePaySupportedNetworks =
13096
13180
  | 'amex'
13097
13181
  | 'chinaUnionPay'
@@ -13106,7 +13190,7 @@ declare namespace io.flow.apple.pay.v0.models {
13106
13190
  interface ApplePayLineItem {
13107
13191
  readonly label: string;
13108
13192
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
13109
- readonly amount: number;
13193
+ readonly amount: string;
13110
13194
  }
13111
13195
 
13112
13196
  interface ApplePayPaymentContact {
@@ -13157,7 +13241,7 @@ declare namespace io.flow.apple.pay.v0.models {
13157
13241
  interface ApplePayShippingMethod {
13158
13242
  readonly label: string;
13159
13243
  readonly detail: string;
13160
- readonly amount: number;
13244
+ readonly amount: string;
13161
13245
  readonly identifier: string;
13162
13246
  }
13163
13247
  }
@@ -13250,6 +13334,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13250
13334
  }
13251
13335
 
13252
13336
  interface OnboardingStateTransition {
13337
+ readonly id: string;
13253
13338
  readonly state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
13254
13339
  readonly started_at: string;
13255
13340
  }
@@ -14552,6 +14637,7 @@ declare namespace io.flow.internal.v0.enums {
14552
14637
  | 'integration_partner'
14553
14638
  | 'dtce'
14554
14639
  | 'restrictions'
14640
+ | 'organization_status'
14555
14641
  | 'miscellaneous';
14556
14642
  type OnboardingAutomationProcessState =
14557
14643
  | 'not_started'
@@ -14571,6 +14657,7 @@ declare namespace io.flow.internal.v0.enums {
14571
14657
  | 'api_internal'
14572
14658
  | 'api_internal_block'
14573
14659
  | 'api_internal_unblock'
14660
+ | 'api_internal_delete_transaction'
14574
14661
  | 'onboarding_application'
14575
14662
  | 'organization_state_change'
14576
14663
  | 'restriction_organization_status';
@@ -23195,6 +23282,7 @@ declare namespace io.flow.internal.v0.models {
23195
23282
  readonly organization_id: string;
23196
23283
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
23197
23284
  readonly setup_completed_at?: string;
23285
+ readonly activated_at?: string;
23198
23286
  readonly gmv: number;
23199
23287
  readonly health_score: number;
23200
23288
  readonly blocked_since?: string;
@@ -23654,6 +23742,10 @@ declare namespace io.flow.internal.v0.models {
23654
23742
  readonly to: string;
23655
23743
  }
23656
23744
 
23745
+ interface OrganizationOnboardingStateAdjustmentResult {
23746
+ readonly organization_onboarding_state?: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
23747
+ }
23748
+
23657
23749
  interface OrganizationPaymentSetting {
23658
23750
  readonly id: string;
23659
23751
  readonly organization_id: string;
@@ -25104,7 +25196,7 @@ declare namespace io.flow.internal.v0.models {
25104
25196
  interface RestrictionRuleDecisionForm {
25105
25197
  readonly rule_id: string;
25106
25198
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
25107
- readonly product_id?: string;
25199
+ readonly product_id: string;
25108
25200
  }
25109
25201
 
25110
25202
  interface RestrictionRuleForm {
@@ -30695,6 +30787,8 @@ export type OrganizationMembershipCopy =
30695
30787
  io.flow.internal.v0.models.OrganizationMembershipCopy;
30696
30788
  export type OrganizationMembershipCopyForm =
30697
30789
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
30790
+ export type OrganizationOnboardingStateAdjustmentResult =
30791
+ io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult;
30698
30792
  export type OrganizationPaymentSetting =
30699
30793
  io.flow.internal.v0.models.OrganizationPaymentSetting;
30700
30794
  export type OrganizationPaymentSettingDeleted =
package/src/api.ts CHANGED
@@ -2005,8 +2005,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2005
2005
  | 'email'
2006
2006
  | 'name'
2007
2007
  | 'phone'
2008
- | 'postal_address'
2009
- | 'phonetic_name';
2008
+ | 'postalAddress'
2009
+ | 'phoneticName';
2010
2010
  type ApplePayLineItemType = 'final' | 'pending';
2011
2011
  type ApplePayMerchantCapability =
2012
2012
  | 'supports3DS'
@@ -2016,8 +2016,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2016
2016
  type ApplePayShippingType =
2017
2017
  | 'shipping'
2018
2018
  | 'delivery'
2019
- | 'store_pickup'
2020
- | 'service_pickup';
2019
+ | 'storePickup'
2020
+ | 'servicePickup';
2021
2021
  type ApplePaySupportedNetworks =
2022
2022
  | 'amex'
2023
2023
  | 'chinaUnionPay'
@@ -2032,7 +2032,7 @@ declare namespace io.flow.apple.pay.v0.models {
2032
2032
  interface ApplePayLineItem {
2033
2033
  readonly label: string;
2034
2034
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
2035
- readonly amount: number;
2035
+ readonly amount: string;
2036
2036
  }
2037
2037
 
2038
2038
  interface ApplePayPaymentContact {
@@ -2083,7 +2083,7 @@ declare namespace io.flow.apple.pay.v0.models {
2083
2083
  interface ApplePayShippingMethod {
2084
2084
  readonly label: string;
2085
2085
  readonly detail: string;
2086
- readonly amount: number;
2086
+ readonly amount: string;
2087
2087
  readonly identifier: string;
2088
2088
  }
2089
2089
  }