@flowio/types 11.24.27 → 11.24.28

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.
@@ -3783,9 +3783,9 @@ declare namespace io.flow.adyen.v0.enums {
3783
3783
  type Contract = 'RECURRING';
3784
3784
  type DeviceChannel = 'app' | 'browser';
3785
3785
  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';
3786
- type Method = 'GET' | 'POST';
3786
+ type HttpRedirectMethod = 'GET' | 'POST';
3787
3787
  type Operation = 'cancel' | 'capture' | 'refund';
3788
- 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';
3788
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | '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';
3789
3789
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3790
3790
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3791
3791
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3804,6 +3804,10 @@ declare namespace io.flow.adyen.v0.models {
3804
3804
  readonly value: number;
3805
3805
  readonly currency: string;
3806
3806
  }
3807
+ interface Applepay {
3808
+ readonly type: 'applepay';
3809
+ readonly applePayToken: string;
3810
+ }
3807
3811
  interface Authentication {
3808
3812
  readonly 'threeds2.fingerprintToken'?: string;
3809
3813
  readonly 'threeds2.challengeToken'?: string;
@@ -3830,6 +3834,8 @@ declare namespace io.flow.adyen.v0.models {
3830
3834
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3831
3835
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3832
3836
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3837
+ readonly mcc?: string;
3838
+ readonly metadata?: any;
3833
3839
  }
3834
3840
  interface AuthorizeRequest3D {
3835
3841
  readonly merchantAccount: string;
@@ -3963,6 +3969,12 @@ declare namespace io.flow.adyen.v0.models {
3963
3969
  readonly details: any;
3964
3970
  readonly paymentData?: string;
3965
3971
  }
3972
+ interface PaymentDetailsV663Ds2Challenge {
3973
+ readonly 'threeds2.challengeResult': string;
3974
+ }
3975
+ interface PaymentDetailsV663Ds2Fingerprint {
3976
+ readonly 'threeds2.fingerprint': string;
3977
+ }
3966
3978
  interface PaymentRequest {
3967
3979
  readonly reference: string;
3968
3980
  readonly merchantAccount: string;
@@ -3984,7 +3996,11 @@ declare namespace io.flow.adyen.v0.models {
3984
3996
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3985
3997
  readonly origin?: string;
3986
3998
  readonly channel?: io.flow.adyen.v0.enums.Channel;
3987
- readonly returnURL?: string;
3999
+ readonly returnUrl?: string;
4000
+ readonly mcc?: string;
4001
+ readonly metadata?: any;
4002
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4003
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
3988
4004
  }
3989
4005
  interface PaymentResponse {
3990
4006
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -3999,19 +4015,43 @@ declare namespace io.flow.adyen.v0.models {
3999
4015
  interface PaymentResponseAdditionalData {
4000
4016
  readonly authCode?: string;
4001
4017
  readonly avsResultRaw?: string;
4018
+ readonly avsResult?: string;
4002
4019
  readonly cvcResultRaw?: string;
4020
+ readonly cvcResult?: string;
4003
4021
  readonly liabilityShift?: string;
4004
4022
  readonly threeDAuthenticated?: string;
4005
4023
  readonly threeDAuthenticatedResponse?: string;
4006
4024
  readonly threeDOffered?: string;
4007
4025
  readonly threeDOfferedResponse?: string;
4026
+ readonly threeDSVersion?: string;
4027
+ readonly eci?: string;
4028
+ readonly scaExemptionRequested?: string;
4029
+ readonly paymentMethod?: string;
4030
+ readonly paymentMethodVariant?: string;
4031
+ readonly tokenTxVariant?: string;
4032
+ readonly acquirerCode?: string;
4033
+ readonly acquirerAccountCode?: string;
4034
+ readonly cardPaymentMethod?: string;
4035
+ readonly coBrandedWith?: string;
4036
+ readonly cardIssuingCountry?: string;
4037
+ readonly cardIssuingCurrency?: string;
4038
+ readonly cardIssuingBank?: string;
4039
+ readonly cardBin?: string;
4040
+ readonly issuerBin?: string;
4041
+ readonly cardSummary?: string;
4042
+ readonly untokenisedCardSummary?: string;
4043
+ readonly ownerName?: string;
4044
+ readonly bankName?: string;
4045
+ readonly issuerCountry?: string;
4046
+ readonly iban?: string;
4047
+ readonly bic?: string;
4008
4048
  }
4009
4049
  interface Recurring {
4010
4050
  readonly contract: io.flow.adyen.v0.enums.Contract;
4011
4051
  }
4012
4052
  interface Redirect {
4013
4053
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4014
- readonly method?: io.flow.adyen.v0.enums.Method;
4054
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4015
4055
  readonly url?: string;
4016
4056
  }
4017
4057
  interface RedirectData {
@@ -4032,6 +4072,13 @@ declare namespace io.flow.adyen.v0.models {
4032
4072
  readonly number: string;
4033
4073
  readonly cvc?: string;
4034
4074
  }
4075
+ interface SdkV3OnCompleteData {
4076
+ readonly details: any;
4077
+ readonly payment_data?: string;
4078
+ }
4079
+ interface SdkV3OnCompleteResult {
4080
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4081
+ }
4035
4082
  interface ThreeDSecureData {
4036
4083
  readonly authenticationResponse?: string;
4037
4084
  readonly cavv?: string;
@@ -4057,7 +4104,7 @@ declare namespace io.flow.adyen.v0.models {
4057
4104
  }
4058
4105
  declare namespace io.flow.adyen.v0.unions {
4059
4106
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4060
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4107
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4061
4108
  }
4062
4109
  declare namespace io.flow.order.management.v0.enums {
4063
4110
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9978,7 +10025,7 @@ declare namespace io.flow.internal.v0.enums {
9978
10025
  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';
9979
10026
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
9980
10027
  type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
9981
- type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
10028
+ type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
9982
10029
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
9983
10030
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
9984
10031
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.27",
3
+ "version": "11.24.28",
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": "f36adbff1fb121a65bbe46dbfe6e0d9592e1901b"
28
+ "gitHead": "ff651fefde62162c873a8140da058ee29b956e40"
29
29
  }
@@ -5162,7 +5162,7 @@ declare namespace io.flow.adyen.v0.enums {
5162
5162
  | 'SECOND_CHARGEBACK'
5163
5163
  | 'PREARBITRATION_WON'
5164
5164
  | 'PREARBITRATION_LOST';
5165
- type Method = 'GET' | 'POST';
5165
+ type HttpRedirectMethod = 'GET' | 'POST';
5166
5166
  type Operation = 'cancel' | 'capture' | 'refund';
5167
5167
  type PaymentMethod =
5168
5168
  | 'ach'
@@ -5171,6 +5171,7 @@ declare namespace io.flow.adyen.v0.enums {
5171
5171
  | 'amex'
5172
5172
  | 'bankTransfer_IBAN'
5173
5173
  | 'bcmc'
5174
+ | 'bcmc_mobile'
5174
5175
  | 'cartebancaire'
5175
5176
  | 'cup'
5176
5177
  | 'diners'
@@ -5233,6 +5234,11 @@ declare namespace io.flow.adyen.v0.models {
5233
5234
  readonly currency: string;
5234
5235
  }
5235
5236
 
5237
+ interface Applepay {
5238
+ readonly type: 'applepay';
5239
+ readonly applePayToken: string;
5240
+ }
5241
+
5236
5242
  interface Authentication {
5237
5243
  readonly 'threeds2.fingerprintToken'?: string;
5238
5244
  readonly 'threeds2.challengeToken'?: string;
@@ -5260,6 +5266,8 @@ declare namespace io.flow.adyen.v0.models {
5260
5266
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5261
5267
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5262
5268
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5269
+ readonly mcc?: string;
5270
+ readonly metadata?: any /*object*/;
5263
5271
  }
5264
5272
 
5265
5273
  interface AuthorizeRequest3D {
@@ -5416,6 +5424,14 @@ declare namespace io.flow.adyen.v0.models {
5416
5424
  readonly paymentData?: string;
5417
5425
  }
5418
5426
 
5427
+ interface PaymentDetailsV663Ds2Challenge {
5428
+ readonly 'threeds2.challengeResult': string;
5429
+ }
5430
+
5431
+ interface PaymentDetailsV663Ds2Fingerprint {
5432
+ readonly 'threeds2.fingerprint': string;
5433
+ }
5434
+
5419
5435
  interface PaymentRequest {
5420
5436
  readonly reference: string;
5421
5437
  readonly merchantAccount: string;
@@ -5437,7 +5453,11 @@ declare namespace io.flow.adyen.v0.models {
5437
5453
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5438
5454
  readonly origin?: string;
5439
5455
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5440
- readonly returnURL?: string;
5456
+ readonly returnUrl?: string;
5457
+ readonly mcc?: string;
5458
+ readonly metadata?: any /*object*/;
5459
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5460
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5441
5461
  }
5442
5462
 
5443
5463
  interface PaymentResponse {
@@ -5454,12 +5474,36 @@ declare namespace io.flow.adyen.v0.models {
5454
5474
  interface PaymentResponseAdditionalData {
5455
5475
  readonly authCode?: string;
5456
5476
  readonly avsResultRaw?: string;
5477
+ readonly avsResult?: string;
5457
5478
  readonly cvcResultRaw?: string;
5479
+ readonly cvcResult?: string;
5458
5480
  readonly liabilityShift?: string;
5459
5481
  readonly threeDAuthenticated?: string;
5460
5482
  readonly threeDAuthenticatedResponse?: string;
5461
5483
  readonly threeDOffered?: string;
5462
5484
  readonly threeDOfferedResponse?: string;
5485
+ readonly threeDSVersion?: string;
5486
+ readonly eci?: string;
5487
+ readonly scaExemptionRequested?: string;
5488
+ readonly paymentMethod?: string;
5489
+ readonly paymentMethodVariant?: string;
5490
+ readonly tokenTxVariant?: string;
5491
+ readonly acquirerCode?: string;
5492
+ readonly acquirerAccountCode?: string;
5493
+ readonly cardPaymentMethod?: string;
5494
+ readonly coBrandedWith?: string;
5495
+ readonly cardIssuingCountry?: string;
5496
+ readonly cardIssuingCurrency?: string;
5497
+ readonly cardIssuingBank?: string;
5498
+ readonly cardBin?: string;
5499
+ readonly issuerBin?: string;
5500
+ readonly cardSummary?: string;
5501
+ readonly untokenisedCardSummary?: string;
5502
+ readonly ownerName?: string;
5503
+ readonly bankName?: string;
5504
+ readonly issuerCountry?: string;
5505
+ readonly iban?: string;
5506
+ readonly bic?: string;
5463
5507
  }
5464
5508
 
5465
5509
  interface Recurring {
@@ -5468,7 +5512,7 @@ declare namespace io.flow.adyen.v0.models {
5468
5512
 
5469
5513
  interface Redirect {
5470
5514
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5471
- readonly method?: io.flow.adyen.v0.enums.Method;
5515
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5472
5516
  readonly url?: string;
5473
5517
  }
5474
5518
 
@@ -5493,6 +5537,15 @@ declare namespace io.flow.adyen.v0.models {
5493
5537
  readonly cvc?: string;
5494
5538
  }
5495
5539
 
5540
+ interface SdkV3OnCompleteData {
5541
+ readonly details: any /*object*/;
5542
+ readonly payment_data?: string;
5543
+ }
5544
+
5545
+ interface SdkV3OnCompleteResult {
5546
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5547
+ }
5548
+
5496
5549
  interface ThreeDSecureData {
5497
5550
  readonly authenticationResponse?: string;
5498
5551
  readonly cavv?: string;
@@ -5524,7 +5577,9 @@ declare namespace io.flow.adyen.v0.unions {
5524
5577
  type BrowserInfo =
5525
5578
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5526
5579
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5527
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5580
+ type PaymentMethodData =
5581
+ | io.flow.adyen.v0.models.Scheme
5582
+ | io.flow.adyen.v0.models.Applepay;
5528
5583
  }
5529
5584
 
5530
5585
  declare namespace io.flow.order.management.v0.enums {
@@ -13613,6 +13668,7 @@ declare namespace io.flow.internal.v0.enums {
13613
13668
  | 'billing'
13614
13669
  | 'b2b_invoicing'
13615
13670
  | 'catalog'
13671
+ | 'currency'
13616
13672
  | 'checkout'
13617
13673
  | 'fraud'
13618
13674
  | 'logistics'