@flowio/types 11.24.48 → 11.24.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +86 -12
- package/dist/api.d.ts +12 -0
- package/package.json +2 -2
- package/src/api-internal.ts +105 -11
- package/src/api.ts +19 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -3836,9 +3836,9 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
3836
3836
|
type Contract = 'RECURRING';
|
|
3837
3837
|
type DeviceChannel = 'app' | 'browser';
|
|
3838
3838
|
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';
|
|
3839
|
-
type
|
|
3839
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
3840
3840
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
3841
|
-
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';
|
|
3841
|
+
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';
|
|
3842
3842
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
3843
3843
|
type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
|
|
3844
3844
|
type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
|
|
@@ -3857,6 +3857,10 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3857
3857
|
readonly value: number;
|
|
3858
3858
|
readonly currency: string;
|
|
3859
3859
|
}
|
|
3860
|
+
interface Applepay {
|
|
3861
|
+
readonly type: 'applepay';
|
|
3862
|
+
readonly applePayToken: string;
|
|
3863
|
+
}
|
|
3860
3864
|
interface Authentication {
|
|
3861
3865
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3862
3866
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3883,6 +3887,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3883
3887
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3884
3888
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
3885
3889
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
3890
|
+
readonly mcc?: string;
|
|
3891
|
+
readonly metadata?: any;
|
|
3886
3892
|
}
|
|
3887
3893
|
interface AuthorizeRequest3D {
|
|
3888
3894
|
readonly merchantAccount: string;
|
|
@@ -4016,6 +4022,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4016
4022
|
readonly details: any;
|
|
4017
4023
|
readonly paymentData?: string;
|
|
4018
4024
|
}
|
|
4025
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
4026
|
+
readonly 'threeds2.challengeResult': string;
|
|
4027
|
+
}
|
|
4028
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
4029
|
+
readonly 'threeds2.fingerprint': string;
|
|
4030
|
+
}
|
|
4019
4031
|
interface PaymentRequest {
|
|
4020
4032
|
readonly reference: string;
|
|
4021
4033
|
readonly merchantAccount: string;
|
|
@@ -4037,7 +4049,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4037
4049
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4038
4050
|
readonly origin?: string;
|
|
4039
4051
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4040
|
-
readonly
|
|
4052
|
+
readonly returnUrl?: string;
|
|
4053
|
+
readonly mcc?: string;
|
|
4054
|
+
readonly metadata?: any;
|
|
4055
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4056
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4057
|
+
readonly storePaymentMethod?: boolean;
|
|
4041
4058
|
}
|
|
4042
4059
|
interface PaymentResponse {
|
|
4043
4060
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4052,19 +4069,57 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4052
4069
|
interface PaymentResponseAdditionalData {
|
|
4053
4070
|
readonly authCode?: string;
|
|
4054
4071
|
readonly avsResultRaw?: string;
|
|
4072
|
+
readonly avsResult?: string;
|
|
4055
4073
|
readonly cvcResultRaw?: string;
|
|
4074
|
+
readonly cvcResult?: string;
|
|
4075
|
+
readonly refusalReasonRaw?: string;
|
|
4056
4076
|
readonly liabilityShift?: string;
|
|
4057
4077
|
readonly threeDAuthenticated?: string;
|
|
4058
4078
|
readonly threeDAuthenticatedResponse?: string;
|
|
4059
4079
|
readonly threeDOffered?: string;
|
|
4060
4080
|
readonly threeDOfferedResponse?: string;
|
|
4081
|
+
readonly threeDSVersion?: string;
|
|
4082
|
+
readonly eci?: string;
|
|
4083
|
+
readonly scaExemptionRequested?: string;
|
|
4084
|
+
readonly paymentMethod?: string;
|
|
4085
|
+
readonly paymentMethodVariant?: string;
|
|
4086
|
+
readonly tokenTxVariant?: string;
|
|
4087
|
+
readonly acquirerCode?: string;
|
|
4088
|
+
readonly acquirerAccountCode?: string;
|
|
4089
|
+
readonly cardPaymentMethod?: string;
|
|
4090
|
+
readonly coBrandedWith?: string;
|
|
4091
|
+
readonly cardIssuingCountry?: string;
|
|
4092
|
+
readonly cardIssuingCurrency?: string;
|
|
4093
|
+
readonly cardIssuingBank?: string;
|
|
4094
|
+
readonly cardBin?: string;
|
|
4095
|
+
readonly issuerBin?: string;
|
|
4096
|
+
readonly cardSummary?: string;
|
|
4097
|
+
readonly untokenisedCardSummary?: string;
|
|
4098
|
+
readonly ownerName?: string;
|
|
4099
|
+
readonly bankName?: string;
|
|
4100
|
+
readonly issuerCountry?: string;
|
|
4101
|
+
readonly iban?: string;
|
|
4102
|
+
readonly bic?: string;
|
|
4103
|
+
readonly iDealConsumerAccountNumber?: string;
|
|
4104
|
+
readonly iDealConsumerBIC?: string;
|
|
4105
|
+
readonly iDealConsumerCity?: string;
|
|
4106
|
+
readonly iDealConsumerIBAN?: string;
|
|
4107
|
+
readonly iDealConsumerName?: string;
|
|
4108
|
+
readonly iDealTransactionId?: string;
|
|
4109
|
+
readonly 'recurring.recurringDetailReference'?: string;
|
|
4110
|
+
readonly 'recurring.shopperReference'?: string;
|
|
4111
|
+
readonly networkTxReference?: string;
|
|
4112
|
+
readonly PaymentAccountReference?: string;
|
|
4113
|
+
readonly 'networkToken.available'?: string;
|
|
4114
|
+
readonly 'networkToken.bin'?: string;
|
|
4115
|
+
readonly 'networkToken.tokenSummary'?: string;
|
|
4061
4116
|
}
|
|
4062
4117
|
interface Recurring {
|
|
4063
4118
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
4064
4119
|
}
|
|
4065
4120
|
interface Redirect {
|
|
4066
4121
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4067
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4122
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4068
4123
|
readonly url?: string;
|
|
4069
4124
|
}
|
|
4070
4125
|
interface RedirectData {
|
|
@@ -4084,6 +4139,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4084
4139
|
readonly holderName: string;
|
|
4085
4140
|
readonly number: string;
|
|
4086
4141
|
readonly cvc?: string;
|
|
4142
|
+
readonly storedPaymentMethodId?: string;
|
|
4143
|
+
readonly networkPaymentReference?: string;
|
|
4144
|
+
}
|
|
4145
|
+
interface SdkV3OnCompleteData {
|
|
4146
|
+
readonly details: any;
|
|
4147
|
+
readonly payment_data?: string;
|
|
4148
|
+
}
|
|
4149
|
+
interface SdkV3OnCompleteResult {
|
|
4150
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
4087
4151
|
}
|
|
4088
4152
|
interface ThreeDSecureData {
|
|
4089
4153
|
readonly authenticationResponse?: string;
|
|
@@ -4110,7 +4174,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4110
4174
|
}
|
|
4111
4175
|
declare namespace io.flow.adyen.v0.unions {
|
|
4112
4176
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4113
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4177
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
|
|
4114
4178
|
}
|
|
4115
4179
|
declare namespace io.flow.order.management.v0.enums {
|
|
4116
4180
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -5253,7 +5317,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5253
5317
|
}
|
|
5254
5318
|
interface ShopifyOrderAttribute {
|
|
5255
5319
|
readonly name: string;
|
|
5256
|
-
readonly value:
|
|
5320
|
+
readonly value: string;
|
|
5257
5321
|
}
|
|
5258
5322
|
interface ShopifyOrderCancellationForm {
|
|
5259
5323
|
readonly refund: io.flow.shopify.markets.v0.models.ShopifyRefund;
|
|
@@ -5466,7 +5530,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5466
5530
|
interface ShopifyOrderShippingLine {
|
|
5467
5531
|
readonly code?: string;
|
|
5468
5532
|
readonly price: string;
|
|
5469
|
-
readonly source
|
|
5533
|
+
readonly source: string;
|
|
5470
5534
|
readonly title: string;
|
|
5471
5535
|
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
5472
5536
|
readonly carrier_identifier?: string;
|
|
@@ -6038,6 +6102,14 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6038
6102
|
}
|
|
6039
6103
|
interface PaymentMethodDataAuthorizeApplepay {
|
|
6040
6104
|
readonly type: 'authorize_applepay';
|
|
6105
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
6106
|
+
}
|
|
6107
|
+
interface PaymentMethodDataAuthorizeApplepayResultFailure {
|
|
6108
|
+
readonly type: 'failure';
|
|
6109
|
+
readonly placeholder?: string;
|
|
6110
|
+
}
|
|
6111
|
+
interface PaymentMethodDataAuthorizeApplepayResultSuccess {
|
|
6112
|
+
readonly type: 'success';
|
|
6041
6113
|
readonly token: string;
|
|
6042
6114
|
}
|
|
6043
6115
|
interface PaymentMethodDataAuthorizeCard {
|
|
@@ -6276,6 +6348,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
6276
6348
|
type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
|
|
6277
6349
|
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
6278
6350
|
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;
|
|
6351
|
+
type PaymentMethodDataAuthorizeApplepayResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
6279
6352
|
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
6280
6353
|
type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
6281
6354
|
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;
|
|
@@ -16123,8 +16196,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16123
16196
|
readonly label: io.flow.internal.v0.models.ContentLabel;
|
|
16124
16197
|
readonly url: string;
|
|
16125
16198
|
}
|
|
16126
|
-
interface
|
|
16127
|
-
readonly
|
|
16199
|
+
interface Hs6 {
|
|
16200
|
+
readonly code: string;
|
|
16128
16201
|
readonly description: string;
|
|
16129
16202
|
}
|
|
16130
16203
|
interface Hs6Metadata {
|
|
@@ -16628,6 +16701,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16628
16701
|
readonly commercial_invoice_only_query?: string;
|
|
16629
16702
|
}
|
|
16630
16703
|
interface LabelSummary {
|
|
16704
|
+
readonly id: string;
|
|
16631
16705
|
readonly commercial_invoice?: string;
|
|
16632
16706
|
readonly pdf?: string;
|
|
16633
16707
|
readonly png?: string;
|
|
@@ -20083,8 +20157,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20083
20157
|
}
|
|
20084
20158
|
interface TransactionAdjustment {
|
|
20085
20159
|
readonly id: string;
|
|
20086
|
-
readonly original_transaction: io.flow.internal.v0.models.
|
|
20087
|
-
readonly adjustment_transaction
|
|
20160
|
+
readonly original_transaction: io.flow.internal.v0.models.TransactionReference;
|
|
20161
|
+
readonly adjustment_transaction?: io.flow.internal.v0.models.TransactionReference;
|
|
20088
20162
|
readonly description: string;
|
|
20089
20163
|
readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
|
|
20090
20164
|
}
|
|
@@ -21728,7 +21802,7 @@ export declare type HeapWebsocketRequest = io.flow.internal.v0.models.HeapWebsoc
|
|
|
21728
21802
|
export declare type HeapWebsocketResponse = io.flow.internal.v0.models.HeapWebsocketResponse;
|
|
21729
21803
|
export declare type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
|
|
21730
21804
|
export declare type Href = io.flow.internal.v0.models.Href;
|
|
21731
|
-
export declare type
|
|
21805
|
+
export declare type Hs6 = io.flow.internal.v0.models.Hs6;
|
|
21732
21806
|
export declare type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
|
|
21733
21807
|
export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
21734
21808
|
export declare type HybrisCatalogItemsImportRequest = io.flow.internal.v0.models.HybrisCatalogItemsImportRequest;
|
package/dist/api.d.ts
CHANGED
|
@@ -7101,6 +7101,14 @@ declare namespace io.flow.v0.models {
|
|
|
7101
7101
|
}
|
|
7102
7102
|
interface PaymentMethodDataAuthorizeApplepay {
|
|
7103
7103
|
readonly type: 'authorize_applepay';
|
|
7104
|
+
readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
7105
|
+
}
|
|
7106
|
+
interface PaymentMethodDataAuthorizeApplepayResultFailure {
|
|
7107
|
+
readonly type: 'failure';
|
|
7108
|
+
readonly placeholder?: string;
|
|
7109
|
+
}
|
|
7110
|
+
interface PaymentMethodDataAuthorizeApplepayResultSuccess {
|
|
7111
|
+
readonly type: 'success';
|
|
7104
7112
|
readonly token: string;
|
|
7105
7113
|
}
|
|
7106
7114
|
interface PaymentMethodDataAuthorizeCard {
|
|
@@ -10144,6 +10152,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10144
10152
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
10145
10153
|
type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
|
|
10146
10154
|
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;
|
|
10155
|
+
type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
10147
10156
|
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
10148
10157
|
type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
10149
10158
|
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;
|
|
@@ -11240,6 +11249,9 @@ export declare type PaymentMethodCardPciDetails = io.flow.v0.models.PaymentMetho
|
|
|
11240
11249
|
export declare type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
|
|
11241
11250
|
export declare type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
|
|
11242
11251
|
export declare type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
|
|
11252
|
+
export declare type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
11253
|
+
export declare type PaymentMethodDataAuthorizeApplepayResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
11254
|
+
export declare type PaymentMethodDataAuthorizeApplepayResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess;
|
|
11243
11255
|
export declare type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard;
|
|
11244
11256
|
export declare type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay;
|
|
11245
11257
|
export declare type PaymentMethodDataAuthorizeKlarna = io.flow.v0.models.PaymentMethodDataAuthorizeKlarna;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.49",
|
|
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": "
|
|
28
|
+
"gitHead": "f8f8ae1c2b9472a8a42afdf320e7baa8341a3533"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5246,15 +5246,18 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5246
5246
|
| 'SECOND_CHARGEBACK'
|
|
5247
5247
|
| 'PREARBITRATION_WON'
|
|
5248
5248
|
| 'PREARBITRATION_LOST';
|
|
5249
|
-
type
|
|
5249
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
5250
5250
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5251
5251
|
type PaymentMethod =
|
|
5252
5252
|
| 'ach'
|
|
5253
5253
|
| 'alipay'
|
|
5254
|
+
| 'alipay_hk'
|
|
5254
5255
|
| 'alipay_wap'
|
|
5255
5256
|
| 'amex'
|
|
5256
5257
|
| 'bankTransfer_IBAN'
|
|
5257
5258
|
| 'bcmc'
|
|
5259
|
+
| 'bcmc_mobile'
|
|
5260
|
+
| 'blik'
|
|
5258
5261
|
| 'cartebancaire'
|
|
5259
5262
|
| 'cup'
|
|
5260
5263
|
| 'diners'
|
|
@@ -5265,21 +5268,27 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5265
5268
|
| 'dragonpay_gcash'
|
|
5266
5269
|
| 'dragonpay_otc_banking'
|
|
5267
5270
|
| 'ebanking_FI'
|
|
5271
|
+
| 'gcash'
|
|
5268
5272
|
| 'giropay'
|
|
5269
5273
|
| 'ideal'
|
|
5270
5274
|
| 'interac'
|
|
5271
5275
|
| 'jcb'
|
|
5276
|
+
| 'kakaopay'
|
|
5272
5277
|
| 'kcp_banktransfer'
|
|
5273
5278
|
| 'kcp_creditcard'
|
|
5274
5279
|
| 'kcp_payco'
|
|
5275
5280
|
| 'maestro'
|
|
5281
|
+
| 'mbway'
|
|
5276
5282
|
| 'mc'
|
|
5283
|
+
| 'mobilepay'
|
|
5277
5284
|
| 'molpay_points'
|
|
5278
5285
|
| 'multibanco'
|
|
5286
|
+
| 'onlineBanking_PL'
|
|
5279
5287
|
| 'qiwiwallet'
|
|
5280
5288
|
| 'sepadirectdebit'
|
|
5281
5289
|
| 'trustly'
|
|
5282
5290
|
| 'trustpay'
|
|
5291
|
+
| 'twint'
|
|
5283
5292
|
| 'unionpay'
|
|
5284
5293
|
| 'visa'
|
|
5285
5294
|
| 'wechatpay'
|
|
@@ -5317,6 +5326,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5317
5326
|
readonly currency: string;
|
|
5318
5327
|
}
|
|
5319
5328
|
|
|
5329
|
+
interface Applepay {
|
|
5330
|
+
readonly type: 'applepay';
|
|
5331
|
+
readonly applePayToken: string;
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5320
5334
|
interface Authentication {
|
|
5321
5335
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5322
5336
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5344,6 +5358,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5344
5358
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5345
5359
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5346
5360
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5361
|
+
readonly mcc?: string;
|
|
5362
|
+
readonly metadata?: any /*object*/;
|
|
5347
5363
|
}
|
|
5348
5364
|
|
|
5349
5365
|
interface AuthorizeRequest3D {
|
|
@@ -5500,6 +5516,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5500
5516
|
readonly paymentData?: string;
|
|
5501
5517
|
}
|
|
5502
5518
|
|
|
5519
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
5520
|
+
readonly 'threeds2.challengeResult': string;
|
|
5521
|
+
}
|
|
5522
|
+
|
|
5523
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5524
|
+
readonly 'threeds2.fingerprint': string;
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5503
5527
|
interface PaymentRequest {
|
|
5504
5528
|
readonly reference: string;
|
|
5505
5529
|
readonly merchantAccount: string;
|
|
@@ -5521,7 +5545,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5521
5545
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5522
5546
|
readonly origin?: string;
|
|
5523
5547
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5524
|
-
readonly
|
|
5548
|
+
readonly returnUrl?: string;
|
|
5549
|
+
readonly mcc?: string;
|
|
5550
|
+
readonly metadata?: any /*object*/;
|
|
5551
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5552
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5553
|
+
readonly storePaymentMethod?: boolean;
|
|
5525
5554
|
}
|
|
5526
5555
|
|
|
5527
5556
|
interface PaymentResponse {
|
|
@@ -5538,12 +5567,50 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5538
5567
|
interface PaymentResponseAdditionalData {
|
|
5539
5568
|
readonly authCode?: string;
|
|
5540
5569
|
readonly avsResultRaw?: string;
|
|
5570
|
+
readonly avsResult?: string;
|
|
5541
5571
|
readonly cvcResultRaw?: string;
|
|
5572
|
+
readonly cvcResult?: string;
|
|
5573
|
+
readonly refusalReasonRaw?: string;
|
|
5542
5574
|
readonly liabilityShift?: string;
|
|
5543
5575
|
readonly threeDAuthenticated?: string;
|
|
5544
5576
|
readonly threeDAuthenticatedResponse?: string;
|
|
5545
5577
|
readonly threeDOffered?: string;
|
|
5546
5578
|
readonly threeDOfferedResponse?: string;
|
|
5579
|
+
readonly threeDSVersion?: string;
|
|
5580
|
+
readonly eci?: string;
|
|
5581
|
+
readonly scaExemptionRequested?: string;
|
|
5582
|
+
readonly paymentMethod?: string;
|
|
5583
|
+
readonly paymentMethodVariant?: string;
|
|
5584
|
+
readonly tokenTxVariant?: string;
|
|
5585
|
+
readonly acquirerCode?: string;
|
|
5586
|
+
readonly acquirerAccountCode?: string;
|
|
5587
|
+
readonly cardPaymentMethod?: string;
|
|
5588
|
+
readonly coBrandedWith?: string;
|
|
5589
|
+
readonly cardIssuingCountry?: string;
|
|
5590
|
+
readonly cardIssuingCurrency?: string;
|
|
5591
|
+
readonly cardIssuingBank?: string;
|
|
5592
|
+
readonly cardBin?: string;
|
|
5593
|
+
readonly issuerBin?: string;
|
|
5594
|
+
readonly cardSummary?: string;
|
|
5595
|
+
readonly untokenisedCardSummary?: string;
|
|
5596
|
+
readonly ownerName?: string;
|
|
5597
|
+
readonly bankName?: string;
|
|
5598
|
+
readonly issuerCountry?: string;
|
|
5599
|
+
readonly iban?: string;
|
|
5600
|
+
readonly bic?: string;
|
|
5601
|
+
readonly iDealConsumerAccountNumber?: string;
|
|
5602
|
+
readonly iDealConsumerBIC?: string;
|
|
5603
|
+
readonly iDealConsumerCity?: string;
|
|
5604
|
+
readonly iDealConsumerIBAN?: string;
|
|
5605
|
+
readonly iDealConsumerName?: string;
|
|
5606
|
+
readonly iDealTransactionId?: string;
|
|
5607
|
+
readonly 'recurring.recurringDetailReference'?: string;
|
|
5608
|
+
readonly 'recurring.shopperReference'?: string;
|
|
5609
|
+
readonly networkTxReference?: string;
|
|
5610
|
+
readonly PaymentAccountReference?: string;
|
|
5611
|
+
readonly 'networkToken.available'?: string;
|
|
5612
|
+
readonly 'networkToken.bin'?: string;
|
|
5613
|
+
readonly 'networkToken.tokenSummary'?: string;
|
|
5547
5614
|
}
|
|
5548
5615
|
|
|
5549
5616
|
interface Recurring {
|
|
@@ -5552,7 +5619,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5552
5619
|
|
|
5553
5620
|
interface Redirect {
|
|
5554
5621
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5555
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5622
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5556
5623
|
readonly url?: string;
|
|
5557
5624
|
}
|
|
5558
5625
|
|
|
@@ -5575,6 +5642,17 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5575
5642
|
readonly holderName: string;
|
|
5576
5643
|
readonly number: string;
|
|
5577
5644
|
readonly cvc?: string;
|
|
5645
|
+
readonly storedPaymentMethodId?: string;
|
|
5646
|
+
readonly networkPaymentReference?: string;
|
|
5647
|
+
}
|
|
5648
|
+
|
|
5649
|
+
interface SdkV3OnCompleteData {
|
|
5650
|
+
readonly details: any /*object*/;
|
|
5651
|
+
readonly payment_data?: string;
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
interface SdkV3OnCompleteResult {
|
|
5655
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5578
5656
|
}
|
|
5579
5657
|
|
|
5580
5658
|
interface ThreeDSecureData {
|
|
@@ -5608,7 +5686,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5608
5686
|
type BrowserInfo =
|
|
5609
5687
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5610
5688
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5611
|
-
type PaymentMethodData =
|
|
5689
|
+
type PaymentMethodData =
|
|
5690
|
+
| io.flow.adyen.v0.models.Scheme
|
|
5691
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
5612
5692
|
}
|
|
5613
5693
|
|
|
5614
5694
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -7127,7 +7207,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7127
7207
|
|
|
7128
7208
|
interface ShopifyOrderAttribute {
|
|
7129
7209
|
readonly name: string;
|
|
7130
|
-
readonly value:
|
|
7210
|
+
readonly value: string;
|
|
7131
7211
|
}
|
|
7132
7212
|
|
|
7133
7213
|
interface ShopifyOrderCancellationForm {
|
|
@@ -7365,7 +7445,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7365
7445
|
interface ShopifyOrderShippingLine {
|
|
7366
7446
|
readonly code?: string;
|
|
7367
7447
|
readonly price: string;
|
|
7368
|
-
readonly source
|
|
7448
|
+
readonly source: string;
|
|
7369
7449
|
readonly title: string;
|
|
7370
7450
|
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
7371
7451
|
readonly carrier_identifier?: string;
|
|
@@ -8088,6 +8168,16 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8088
8168
|
|
|
8089
8169
|
interface PaymentMethodDataAuthorizeApplepay {
|
|
8090
8170
|
readonly type: 'authorize_applepay';
|
|
8171
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
8172
|
+
}
|
|
8173
|
+
|
|
8174
|
+
interface PaymentMethodDataAuthorizeApplepayResultFailure {
|
|
8175
|
+
readonly type: 'failure';
|
|
8176
|
+
readonly placeholder?: string;
|
|
8177
|
+
}
|
|
8178
|
+
|
|
8179
|
+
interface PaymentMethodDataAuthorizeApplepayResultSuccess {
|
|
8180
|
+
readonly type: 'success';
|
|
8091
8181
|
readonly token: string;
|
|
8092
8182
|
}
|
|
8093
8183
|
|
|
@@ -8408,6 +8498,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
8408
8498
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
|
|
8409
8499
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption
|
|
8410
8500
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
8501
|
+
type PaymentMethodDataAuthorizeApplepayResult =
|
|
8502
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess
|
|
8503
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
8411
8504
|
type PaymentMethodDataAuthorizeKlarnaResult =
|
|
8412
8505
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
|
|
8413
8506
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
@@ -21099,8 +21192,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21099
21192
|
readonly url: string;
|
|
21100
21193
|
}
|
|
21101
21194
|
|
|
21102
|
-
interface
|
|
21103
|
-
readonly
|
|
21195
|
+
interface Hs6 {
|
|
21196
|
+
readonly code: string;
|
|
21104
21197
|
readonly description: string;
|
|
21105
21198
|
}
|
|
21106
21199
|
|
|
@@ -21688,6 +21781,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21688
21781
|
}
|
|
21689
21782
|
|
|
21690
21783
|
interface LabelSummary {
|
|
21784
|
+
readonly id: string;
|
|
21691
21785
|
readonly commercial_invoice?: string;
|
|
21692
21786
|
readonly pdf?: string;
|
|
21693
21787
|
readonly png?: string;
|
|
@@ -25690,8 +25784,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25690
25784
|
|
|
25691
25785
|
interface TransactionAdjustment {
|
|
25692
25786
|
readonly id: string;
|
|
25693
|
-
readonly original_transaction: io.flow.internal.v0.models.
|
|
25694
|
-
readonly adjustment_transaction
|
|
25787
|
+
readonly original_transaction: io.flow.internal.v0.models.TransactionReference;
|
|
25788
|
+
readonly adjustment_transaction?: io.flow.internal.v0.models.TransactionReference;
|
|
25695
25789
|
readonly description: string;
|
|
25696
25790
|
readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
|
|
25697
25791
|
}
|
|
@@ -29129,7 +29223,7 @@ export type HeapWebsocketResponse =
|
|
|
29129
29223
|
io.flow.internal.v0.models.HeapWebsocketResponse;
|
|
29130
29224
|
export type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
|
|
29131
29225
|
export type Href = io.flow.internal.v0.models.Href;
|
|
29132
|
-
export type
|
|
29226
|
+
export type Hs6 = io.flow.internal.v0.models.Hs6;
|
|
29133
29227
|
export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
|
|
29134
29228
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
29135
29229
|
export type HybrisCatalogItemsImportRequest =
|
package/src/api.ts
CHANGED
|
@@ -9189,6 +9189,16 @@ declare namespace io.flow.v0.models {
|
|
|
9189
9189
|
|
|
9190
9190
|
interface PaymentMethodDataAuthorizeApplepay {
|
|
9191
9191
|
readonly type: 'authorize_applepay';
|
|
9192
|
+
readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
9193
|
+
}
|
|
9194
|
+
|
|
9195
|
+
interface PaymentMethodDataAuthorizeApplepayResultFailure {
|
|
9196
|
+
readonly type: 'failure';
|
|
9197
|
+
readonly placeholder?: string;
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
interface PaymentMethodDataAuthorizeApplepayResultSuccess {
|
|
9201
|
+
readonly type: 'success';
|
|
9192
9202
|
readonly token: string;
|
|
9193
9203
|
}
|
|
9194
9204
|
|
|
@@ -13072,6 +13082,9 @@ declare namespace io.flow.v0.unions {
|
|
|
13072
13082
|
| io.flow.v0.models.PaymentMethodDataAuthorizeKlarna
|
|
13073
13083
|
| io.flow.v0.models.PaymentMethodDataSelectedPaymentOption
|
|
13074
13084
|
| io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
13085
|
+
type PaymentMethodDataAuthorizeApplepayResult =
|
|
13086
|
+
| io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess
|
|
13087
|
+
| io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
13075
13088
|
type PaymentMethodDataAuthorizeKlarnaResult =
|
|
13076
13089
|
| io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
|
|
13077
13090
|
| io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
@@ -14544,6 +14557,12 @@ export type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
|
|
|
14544
14557
|
export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
|
|
14545
14558
|
export type PaymentMethodDataAuthorizeApplepay =
|
|
14546
14559
|
io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
|
|
14560
|
+
export type PaymentMethodDataAuthorizeApplepayResult =
|
|
14561
|
+
io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
|
|
14562
|
+
export type PaymentMethodDataAuthorizeApplepayResultFailure =
|
|
14563
|
+
io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
14564
|
+
export type PaymentMethodDataAuthorizeApplepayResultSuccess =
|
|
14565
|
+
io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess;
|
|
14547
14566
|
export type PaymentMethodDataAuthorizeCard =
|
|
14548
14567
|
io.flow.v0.models.PaymentMethodDataAuthorizeCard;
|
|
14549
14568
|
export type PaymentMethodDataAuthorizeGooglepay =
|