@flowio/types 11.24.15 → 11.24.17

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.
@@ -3854,9 +3854,9 @@ declare namespace io.flow.adyen.v0.enums {
3854
3854
  type Contract = 'RECURRING';
3855
3855
  type DeviceChannel = 'app' | 'browser';
3856
3856
  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';
3857
- type Method = 'GET' | 'POST';
3857
+ type HttpRedirectMethod = 'GET' | 'POST';
3858
3858
  type Operation = 'cancel' | 'capture' | 'refund';
3859
- 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';
3859
+ 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';
3860
3860
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3861
3861
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3862
3862
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3875,6 +3875,10 @@ declare namespace io.flow.adyen.v0.models {
3875
3875
  readonly value: number;
3876
3876
  readonly currency: string;
3877
3877
  }
3878
+ interface Applepay {
3879
+ readonly type: 'applepay';
3880
+ readonly applePayToken: string;
3881
+ }
3878
3882
  interface Authentication {
3879
3883
  readonly 'threeds2.fingerprintToken'?: string;
3880
3884
  readonly 'threeds2.challengeToken'?: string;
@@ -3901,6 +3905,8 @@ declare namespace io.flow.adyen.v0.models {
3901
3905
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3902
3906
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3903
3907
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3908
+ readonly mcc?: string;
3909
+ readonly metadata?: any;
3904
3910
  }
3905
3911
  interface AuthorizeRequest3D {
3906
3912
  readonly merchantAccount: string;
@@ -4034,6 +4040,12 @@ declare namespace io.flow.adyen.v0.models {
4034
4040
  readonly details: any;
4035
4041
  readonly paymentData?: string;
4036
4042
  }
4043
+ interface PaymentDetailsV663Ds2Challenge {
4044
+ readonly 'threeds2.challengeResult': string;
4045
+ }
4046
+ interface PaymentDetailsV663Ds2Fingerprint {
4047
+ readonly 'threeds2.fingerprint': string;
4048
+ }
4037
4049
  interface PaymentRequest {
4038
4050
  readonly reference: string;
4039
4051
  readonly merchantAccount: string;
@@ -4055,7 +4067,11 @@ declare namespace io.flow.adyen.v0.models {
4055
4067
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4056
4068
  readonly origin?: string;
4057
4069
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4058
- readonly returnURL?: string;
4070
+ readonly returnUrl?: string;
4071
+ readonly mcc?: string;
4072
+ readonly metadata?: any;
4073
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4074
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4059
4075
  }
4060
4076
  interface PaymentResponse {
4061
4077
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4076,13 +4092,35 @@ declare namespace io.flow.adyen.v0.models {
4076
4092
  readonly threeDAuthenticatedResponse?: string;
4077
4093
  readonly threeDOffered?: string;
4078
4094
  readonly threeDOfferedResponse?: string;
4095
+ readonly threeDSVersion?: string;
4096
+ readonly eci?: string;
4097
+ readonly scaExemptionRequested?: string;
4098
+ readonly paymentMethod?: string;
4099
+ readonly paymentMethodVariant?: string;
4100
+ readonly tokenTxVariant?: string;
4101
+ readonly acquirerCode?: string;
4102
+ readonly acquirerAccountCode?: string;
4103
+ readonly cardPaymentMethod?: string;
4104
+ readonly coBrandedWith?: string;
4105
+ readonly cardIssuingCountry?: string;
4106
+ readonly cardIssuingCurrency?: string;
4107
+ readonly cardIssuingBank?: string;
4108
+ readonly cardBin?: string;
4109
+ readonly issuerBin?: string;
4110
+ readonly cardSummary?: string;
4111
+ readonly untokenisedCardSummary?: string;
4112
+ readonly ownerName?: string;
4113
+ readonly bankName?: string;
4114
+ readonly issuerCountry?: string;
4115
+ readonly iban?: string;
4116
+ readonly bic?: string;
4079
4117
  }
4080
4118
  interface Recurring {
4081
4119
  readonly contract: io.flow.adyen.v0.enums.Contract;
4082
4120
  }
4083
4121
  interface Redirect {
4084
4122
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4085
- readonly method?: io.flow.adyen.v0.enums.Method;
4123
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4086
4124
  readonly url?: string;
4087
4125
  }
4088
4126
  interface RedirectData {
@@ -4103,6 +4141,13 @@ declare namespace io.flow.adyen.v0.models {
4103
4141
  readonly number: string;
4104
4142
  readonly cvc?: string;
4105
4143
  }
4144
+ interface SdkV3OnCompleteData {
4145
+ readonly details: any;
4146
+ readonly payment_data?: string;
4147
+ }
4148
+ interface SdkV3OnCompleteResult {
4149
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4150
+ }
4106
4151
  interface ThreeDSecureData {
4107
4152
  readonly authenticationResponse?: string;
4108
4153
  readonly cavv?: string;
@@ -4128,7 +4173,7 @@ declare namespace io.flow.adyen.v0.models {
4128
4173
  }
4129
4174
  declare namespace io.flow.adyen.v0.unions {
4130
4175
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4131
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4176
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4132
4177
  }
4133
4178
  declare namespace io.flow.order.management.v0.enums {
4134
4179
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9776,7 +9821,7 @@ declare namespace io.flow.internal.v0.enums {
9776
9821
  type FinancialReportingResponsibleParty = 'flow' | 'organization';
9777
9822
  type FlowApp = 'console';
9778
9823
  type Format = 'text' | 'phone' | 'email';
9779
- type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
9824
+ type FraudProvider = 'flow' | 'forter' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
9780
9825
  type FraudProviderStatus = 'active' | 'archived';
9781
9826
  type FraudReviewResponsibleParty = 'flow' | 'organization';
9782
9827
  type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
@@ -9849,8 +9894,8 @@ declare namespace io.flow.internal.v0.enums {
9849
9894
  type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
9850
9895
  type ResponsibleParty = 'flow' | 'organization';
9851
9896
  type RestrictionAction = 'prohibited' | 'restricted';
9852
- type RestrictionDecision = 'accept' | 'reject';
9853
- type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
9897
+ type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
9898
+ type RestrictionStatus = 'pending' | 'in_review' | 'escalated' | 'accepted' | 'restricted';
9854
9899
  type RiskCheck = 'three_d_secure';
9855
9900
  type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
9856
9901
  type Scope = 'organization' | 'global';
@@ -17513,6 +17558,13 @@ declare namespace io.flow.internal.v0.models {
17513
17558
  readonly organization: string;
17514
17559
  readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17515
17560
  }
17561
+ interface RatecardServiceFeesOverride {
17562
+ readonly ratecard: io.flow.internal.v0.models.RatecardInternalSummary;
17563
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
17564
+ }
17565
+ interface RatecardServiceFeesOverrideForm {
17566
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
17567
+ }
17516
17568
  interface RatecardStandardConfiguration {
17517
17569
  readonly id: string;
17518
17570
  readonly key: string;
@@ -20750,6 +20802,8 @@ export declare type RatecardLaneAggregateUpserted = io.flow.internal.v0.models.R
20750
20802
  export declare type RatecardLanesImportRequest = io.flow.internal.v0.models.RatecardLanesImportRequest;
20751
20803
  export declare type RatecardServiceFeeDeleted = io.flow.internal.v0.models.RatecardServiceFeeDeleted;
20752
20804
  export declare type RatecardServiceFeeUpserted = io.flow.internal.v0.models.RatecardServiceFeeUpserted;
20805
+ export declare type RatecardServiceFeesOverride = io.flow.internal.v0.models.RatecardServiceFeesOverride;
20806
+ export declare type RatecardServiceFeesOverrideForm = io.flow.internal.v0.models.RatecardServiceFeesOverrideForm;
20753
20807
  export declare type RatecardStandardConfiguration = io.flow.internal.v0.models.RatecardStandardConfiguration;
20754
20808
  export declare type RatecardStandardConfigurationDeleted = io.flow.internal.v0.models.RatecardStandardConfigurationDeleted;
20755
20809
  export declare type RatecardStandardConfigurationForm = io.flow.internal.v0.models.RatecardStandardConfigurationForm;
package/dist/api.d.ts CHANGED
@@ -9533,7 +9533,7 @@ declare namespace io.flow.v0.models {
9533
9533
  interface Transaction {
9534
9534
  readonly id: string;
9535
9535
  readonly external_transaction_id?: string;
9536
- readonly order: io.flow.v0.models.BillingChannelOrderReference;
9536
+ readonly order?: io.flow.v0.models.BillingChannelOrderReference;
9537
9537
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
9538
9538
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
9539
9539
  readonly currency: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.15",
3
+ "version": "11.24.17",
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": "7b2e429840b21cd751e228d0cea9c2845fbedb25"
28
+ "gitHead": "c582d1d2be5045680ce5df4a962e524c84d0dc8f"
29
29
  }