@flowio/types 11.24.26 → 11.24.27
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 +48 -67
- package/package.json +2 -2
- package/src/api-internal.ts +65 -78
package/dist/api-internal.d.ts
CHANGED
|
@@ -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
|
|
3786
|
+
type Method = 'GET' | 'POST';
|
|
3787
3787
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
3788
|
-
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | '
|
|
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';
|
|
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,10 +3804,6 @@ 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
|
-
}
|
|
3811
3807
|
interface Authentication {
|
|
3812
3808
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3813
3809
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3834,8 +3830,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3834
3830
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3835
3831
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
3836
3832
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
3837
|
-
readonly mcc?: string;
|
|
3838
|
-
readonly metadata?: any;
|
|
3839
3833
|
}
|
|
3840
3834
|
interface AuthorizeRequest3D {
|
|
3841
3835
|
readonly merchantAccount: string;
|
|
@@ -3969,12 +3963,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3969
3963
|
readonly details: any;
|
|
3970
3964
|
readonly paymentData?: string;
|
|
3971
3965
|
}
|
|
3972
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
3973
|
-
readonly 'threeds2.challengeResult': string;
|
|
3974
|
-
}
|
|
3975
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
3976
|
-
readonly 'threeds2.fingerprint': string;
|
|
3977
|
-
}
|
|
3978
3966
|
interface PaymentRequest {
|
|
3979
3967
|
readonly reference: string;
|
|
3980
3968
|
readonly merchantAccount: string;
|
|
@@ -3996,11 +3984,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3996
3984
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3997
3985
|
readonly origin?: string;
|
|
3998
3986
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
3999
|
-
readonly
|
|
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;
|
|
3987
|
+
readonly returnURL?: string;
|
|
4004
3988
|
}
|
|
4005
3989
|
interface PaymentResponse {
|
|
4006
3990
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4015,43 +3999,19 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4015
3999
|
interface PaymentResponseAdditionalData {
|
|
4016
4000
|
readonly authCode?: string;
|
|
4017
4001
|
readonly avsResultRaw?: string;
|
|
4018
|
-
readonly avsResult?: string;
|
|
4019
4002
|
readonly cvcResultRaw?: string;
|
|
4020
|
-
readonly cvcResult?: string;
|
|
4021
4003
|
readonly liabilityShift?: string;
|
|
4022
4004
|
readonly threeDAuthenticated?: string;
|
|
4023
4005
|
readonly threeDAuthenticatedResponse?: string;
|
|
4024
4006
|
readonly threeDOffered?: string;
|
|
4025
4007
|
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;
|
|
4048
4008
|
}
|
|
4049
4009
|
interface Recurring {
|
|
4050
4010
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
4051
4011
|
}
|
|
4052
4012
|
interface Redirect {
|
|
4053
4013
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4054
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4014
|
+
readonly method?: io.flow.adyen.v0.enums.Method;
|
|
4055
4015
|
readonly url?: string;
|
|
4056
4016
|
}
|
|
4057
4017
|
interface RedirectData {
|
|
@@ -4072,13 +4032,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4072
4032
|
readonly number: string;
|
|
4073
4033
|
readonly cvc?: string;
|
|
4074
4034
|
}
|
|
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
|
-
}
|
|
4082
4035
|
interface ThreeDSecureData {
|
|
4083
4036
|
readonly authenticationResponse?: string;
|
|
4084
4037
|
readonly cavv?: string;
|
|
@@ -4104,7 +4057,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4104
4057
|
}
|
|
4105
4058
|
declare namespace io.flow.adyen.v0.unions {
|
|
4106
4059
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4107
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme
|
|
4060
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4108
4061
|
}
|
|
4109
4062
|
declare namespace io.flow.order.management.v0.enums {
|
|
4110
4063
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -10006,7 +9959,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10006
9959
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
10007
9960
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
10008
9961
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
10009
|
-
type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
|
|
9962
|
+
type LabelTransactionType = 'adjustment' | 'billable_label' | 'fee' | 'revenue_share';
|
|
10010
9963
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
10011
9964
|
type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
|
|
10012
9965
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
@@ -10310,6 +10263,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10310
10263
|
interface AddressConfigurationSettingForm {
|
|
10311
10264
|
readonly province_code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
10312
10265
|
}
|
|
10266
|
+
interface AdjustmentAmountFixed {
|
|
10267
|
+
readonly discriminator: 'fixed';
|
|
10268
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
10269
|
+
}
|
|
10270
|
+
interface AdjustmentAmountPercentage {
|
|
10271
|
+
readonly discriminator: 'percentage';
|
|
10272
|
+
readonly percentage: number;
|
|
10273
|
+
}
|
|
10313
10274
|
interface AdyenAccount {
|
|
10314
10275
|
readonly discriminator: 'adyen_account';
|
|
10315
10276
|
readonly id: string;
|
|
@@ -17427,18 +17388,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17427
17388
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
17428
17389
|
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
17429
17390
|
}
|
|
17430
|
-
interface ProcessingTransactionAdjustment {
|
|
17431
|
-
readonly id: string;
|
|
17432
|
-
readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
17433
|
-
readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
17434
|
-
readonly description: string;
|
|
17435
|
-
readonly percentage: number;
|
|
17436
|
-
}
|
|
17437
|
-
interface ProcessingTransactionAdjustmentForm {
|
|
17438
|
-
readonly original_transaction_id: string;
|
|
17439
|
-
readonly description: string;
|
|
17440
|
-
readonly percentage: number;
|
|
17441
|
-
}
|
|
17442
17391
|
interface ProcessingTransactionDeleted {
|
|
17443
17392
|
readonly discriminator: 'processing_transaction_deleted';
|
|
17444
17393
|
readonly event_id: string;
|
|
@@ -17533,6 +17482,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17533
17482
|
interface ProductListSettingsForm {
|
|
17534
17483
|
readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
|
|
17535
17484
|
}
|
|
17485
|
+
interface ProductReviewHistory {
|
|
17486
|
+
readonly product_id: string;
|
|
17487
|
+
readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[];
|
|
17488
|
+
}
|
|
17536
17489
|
interface QuoteRequest {
|
|
17537
17490
|
readonly id: string;
|
|
17538
17491
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -17859,6 +17812,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17859
17812
|
interface RestrictionCategory {
|
|
17860
17813
|
readonly category: string;
|
|
17861
17814
|
}
|
|
17815
|
+
interface RestrictionHistoryItemReviewDecision {
|
|
17816
|
+
readonly id: string;
|
|
17817
|
+
readonly product_restriction_id: string;
|
|
17818
|
+
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
17819
|
+
readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
|
|
17820
|
+
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
17821
|
+
readonly created_at: string;
|
|
17822
|
+
readonly updated_at: string;
|
|
17823
|
+
readonly updated_by: io.flow.common.v0.models.User;
|
|
17824
|
+
}
|
|
17862
17825
|
interface RestrictionItem {
|
|
17863
17826
|
readonly id: string;
|
|
17864
17827
|
readonly organization_id: string;
|
|
@@ -19036,6 +18999,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19036
18999
|
readonly organization: string;
|
|
19037
19000
|
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
19038
19001
|
}
|
|
19002
|
+
interface TransactionAdjustment {
|
|
19003
|
+
readonly id: string;
|
|
19004
|
+
readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
19005
|
+
readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
19006
|
+
readonly description: string;
|
|
19007
|
+
readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
|
|
19008
|
+
}
|
|
19009
|
+
interface TransactionAdjustmentForm {
|
|
19010
|
+
readonly original_transaction_id: string;
|
|
19011
|
+
readonly description: string;
|
|
19012
|
+
readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
|
|
19013
|
+
}
|
|
19039
19014
|
interface TransactionReference {
|
|
19040
19015
|
readonly id: string;
|
|
19041
19016
|
}
|
|
@@ -19291,6 +19266,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19291
19266
|
}
|
|
19292
19267
|
}
|
|
19293
19268
|
declare namespace io.flow.internal.v0.unions {
|
|
19269
|
+
type AdjustmentAmount = io.flow.internal.v0.models.AdjustmentAmountPercentage | io.flow.internal.v0.models.AdjustmentAmountFixed;
|
|
19294
19270
|
type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
19295
19271
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
19296
19272
|
type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
|
|
@@ -19473,6 +19449,9 @@ export declare type AddressConfigurationProvinceSetting = io.flow.internal.v0.mo
|
|
|
19473
19449
|
export declare type AddressConfigurationSetting = io.flow.internal.v0.models.AddressConfigurationSetting;
|
|
19474
19450
|
export declare type AddressConfigurationSettingForm = io.flow.internal.v0.models.AddressConfigurationSettingForm;
|
|
19475
19451
|
export declare type AddressConfigurationSettingProvinceCode = io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
19452
|
+
export declare type AdjustmentAmount = io.flow.internal.v0.unions.AdjustmentAmount;
|
|
19453
|
+
export declare type AdjustmentAmountFixed = io.flow.internal.v0.models.AdjustmentAmountFixed;
|
|
19454
|
+
export declare type AdjustmentAmountPercentage = io.flow.internal.v0.models.AdjustmentAmountPercentage;
|
|
19476
19455
|
export declare type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
|
|
19477
19456
|
export declare type AdyenAccountModificationForm = io.flow.internal.v0.models.AdyenAccountModificationForm;
|
|
19478
19457
|
export declare type AdyenAccountPutForm = io.flow.internal.v0.models.AdyenAccountPutForm;
|
|
@@ -20962,8 +20941,6 @@ export declare type PricingIndicatorDynamo = io.flow.internal.v0.models.PricingI
|
|
|
20962
20941
|
export declare type PricingIndicatorStatus = io.flow.internal.v0.enums.PricingIndicatorStatus;
|
|
20963
20942
|
export declare type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
20964
20943
|
export declare type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
|
|
20965
|
-
export declare type ProcessingTransactionAdjustment = io.flow.internal.v0.models.ProcessingTransactionAdjustment;
|
|
20966
|
-
export declare type ProcessingTransactionAdjustmentForm = io.flow.internal.v0.models.ProcessingTransactionAdjustmentForm;
|
|
20967
20944
|
export declare type ProcessingTransactionDeleted = io.flow.internal.v0.models.ProcessingTransactionDeleted;
|
|
20968
20945
|
export declare type ProcessingTransactionReference = io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
20969
20946
|
export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
|
|
@@ -20989,6 +20966,7 @@ export declare type ProductHarmonization = io.flow.internal.v0.models.ProductHar
|
|
|
20989
20966
|
export declare type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
|
|
20990
20967
|
export declare type ProductLabels = io.flow.internal.v0.models.ProductLabels;
|
|
20991
20968
|
export declare type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm;
|
|
20969
|
+
export declare type ProductReviewHistory = io.flow.internal.v0.models.ProductReviewHistory;
|
|
20992
20970
|
export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
20993
20971
|
export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
20994
20972
|
export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
|
|
@@ -21051,6 +21029,7 @@ export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsiblePart
|
|
|
21051
21029
|
export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
21052
21030
|
export declare type RestrictionCategory = io.flow.internal.v0.models.RestrictionCategory;
|
|
21053
21031
|
export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
21032
|
+
export declare type RestrictionHistoryItemReviewDecision = io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision;
|
|
21054
21033
|
export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
21055
21034
|
export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
|
|
21056
21035
|
export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
@@ -21289,6 +21268,8 @@ export declare type TrackingResponse = io.flow.internal.v0.models.TrackingRespon
|
|
|
21289
21268
|
export declare type TrackingResponseUpserted = io.flow.internal.v0.models.TrackingResponseUpserted;
|
|
21290
21269
|
export declare type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
|
|
21291
21270
|
export declare type Transaction = io.flow.internal.v0.unions.Transaction;
|
|
21271
|
+
export declare type TransactionAdjustment = io.flow.internal.v0.models.TransactionAdjustment;
|
|
21272
|
+
export declare type TransactionAdjustmentForm = io.flow.internal.v0.models.TransactionAdjustmentForm;
|
|
21292
21273
|
export declare type TransactionPostingMethod = io.flow.internal.v0.enums.TransactionPostingMethod;
|
|
21293
21274
|
export declare type TransactionReference = io.flow.internal.v0.models.TransactionReference;
|
|
21294
21275
|
export declare type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.27",
|
|
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": "f36adbff1fb121a65bbe46dbfe6e0d9592e1901b"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -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
|
|
5165
|
+
type Method = 'GET' | 'POST';
|
|
5166
5166
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5167
5167
|
type PaymentMethod =
|
|
5168
5168
|
| 'ach'
|
|
@@ -5171,7 +5171,6 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5171
5171
|
| 'amex'
|
|
5172
5172
|
| 'bankTransfer_IBAN'
|
|
5173
5173
|
| 'bcmc'
|
|
5174
|
-
| 'bcmc_mobile'
|
|
5175
5174
|
| 'cartebancaire'
|
|
5176
5175
|
| 'cup'
|
|
5177
5176
|
| 'diners'
|
|
@@ -5234,11 +5233,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5234
5233
|
readonly currency: string;
|
|
5235
5234
|
}
|
|
5236
5235
|
|
|
5237
|
-
interface Applepay {
|
|
5238
|
-
readonly type: 'applepay';
|
|
5239
|
-
readonly applePayToken: string;
|
|
5240
|
-
}
|
|
5241
|
-
|
|
5242
5236
|
interface Authentication {
|
|
5243
5237
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5244
5238
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5266,8 +5260,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5266
5260
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5267
5261
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5268
5262
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5269
|
-
readonly mcc?: string;
|
|
5270
|
-
readonly metadata?: any /*object*/;
|
|
5271
5263
|
}
|
|
5272
5264
|
|
|
5273
5265
|
interface AuthorizeRequest3D {
|
|
@@ -5424,14 +5416,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5424
5416
|
readonly paymentData?: string;
|
|
5425
5417
|
}
|
|
5426
5418
|
|
|
5427
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
5428
|
-
readonly 'threeds2.challengeResult': string;
|
|
5429
|
-
}
|
|
5430
|
-
|
|
5431
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5432
|
-
readonly 'threeds2.fingerprint': string;
|
|
5433
|
-
}
|
|
5434
|
-
|
|
5435
5419
|
interface PaymentRequest {
|
|
5436
5420
|
readonly reference: string;
|
|
5437
5421
|
readonly merchantAccount: string;
|
|
@@ -5453,11 +5437,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5453
5437
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5454
5438
|
readonly origin?: string;
|
|
5455
5439
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5456
|
-
readonly
|
|
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;
|
|
5440
|
+
readonly returnURL?: string;
|
|
5461
5441
|
}
|
|
5462
5442
|
|
|
5463
5443
|
interface PaymentResponse {
|
|
@@ -5474,36 +5454,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5474
5454
|
interface PaymentResponseAdditionalData {
|
|
5475
5455
|
readonly authCode?: string;
|
|
5476
5456
|
readonly avsResultRaw?: string;
|
|
5477
|
-
readonly avsResult?: string;
|
|
5478
5457
|
readonly cvcResultRaw?: string;
|
|
5479
|
-
readonly cvcResult?: string;
|
|
5480
5458
|
readonly liabilityShift?: string;
|
|
5481
5459
|
readonly threeDAuthenticated?: string;
|
|
5482
5460
|
readonly threeDAuthenticatedResponse?: string;
|
|
5483
5461
|
readonly threeDOffered?: string;
|
|
5484
5462
|
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;
|
|
5507
5463
|
}
|
|
5508
5464
|
|
|
5509
5465
|
interface Recurring {
|
|
@@ -5512,7 +5468,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5512
5468
|
|
|
5513
5469
|
interface Redirect {
|
|
5514
5470
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5515
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5471
|
+
readonly method?: io.flow.adyen.v0.enums.Method;
|
|
5516
5472
|
readonly url?: string;
|
|
5517
5473
|
}
|
|
5518
5474
|
|
|
@@ -5537,15 +5493,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5537
5493
|
readonly cvc?: string;
|
|
5538
5494
|
}
|
|
5539
5495
|
|
|
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
|
-
|
|
5549
5496
|
interface ThreeDSecureData {
|
|
5550
5497
|
readonly authenticationResponse?: string;
|
|
5551
5498
|
readonly cavv?: string;
|
|
@@ -5577,9 +5524,7 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5577
5524
|
type BrowserInfo =
|
|
5578
5525
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5579
5526
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5580
|
-
type PaymentMethodData =
|
|
5581
|
-
| io.flow.adyen.v0.models.Scheme
|
|
5582
|
-
| io.flow.adyen.v0.models.Applepay;
|
|
5527
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
5583
5528
|
}
|
|
5584
5529
|
|
|
5585
5530
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -13573,7 +13518,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13573
13518
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
13574
13519
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
13575
13520
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
13576
|
-
type LabelTransactionType =
|
|
13521
|
+
type LabelTransactionType =
|
|
13522
|
+
| 'adjustment'
|
|
13523
|
+
| 'billable_label'
|
|
13524
|
+
| 'fee'
|
|
13525
|
+
| 'revenue_share';
|
|
13577
13526
|
type LiabilityType =
|
|
13578
13527
|
| 'full_value_tax'
|
|
13579
13528
|
| 'low_value_goods_tax'
|
|
@@ -14111,6 +14060,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14111
14060
|
readonly province_code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
14112
14061
|
}
|
|
14113
14062
|
|
|
14063
|
+
interface AdjustmentAmountFixed {
|
|
14064
|
+
readonly discriminator: 'fixed';
|
|
14065
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
14066
|
+
}
|
|
14067
|
+
|
|
14068
|
+
interface AdjustmentAmountPercentage {
|
|
14069
|
+
readonly discriminator: 'percentage';
|
|
14070
|
+
readonly percentage: number;
|
|
14071
|
+
}
|
|
14072
|
+
|
|
14114
14073
|
interface AdyenAccount {
|
|
14115
14074
|
readonly discriminator: 'adyen_account';
|
|
14116
14075
|
readonly id: string;
|
|
@@ -22433,20 +22392,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22433
22392
|
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
22434
22393
|
}
|
|
22435
22394
|
|
|
22436
|
-
interface ProcessingTransactionAdjustment {
|
|
22437
|
-
readonly id: string;
|
|
22438
|
-
readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
22439
|
-
readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
22440
|
-
readonly description: string;
|
|
22441
|
-
readonly percentage: number;
|
|
22442
|
-
}
|
|
22443
|
-
|
|
22444
|
-
interface ProcessingTransactionAdjustmentForm {
|
|
22445
|
-
readonly original_transaction_id: string;
|
|
22446
|
-
readonly description: string;
|
|
22447
|
-
readonly percentage: number;
|
|
22448
|
-
}
|
|
22449
|
-
|
|
22450
22395
|
interface ProcessingTransactionDeleted {
|
|
22451
22396
|
readonly discriminator: 'processing_transaction_deleted';
|
|
22452
22397
|
readonly event_id: string;
|
|
@@ -22556,6 +22501,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22556
22501
|
readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
|
|
22557
22502
|
}
|
|
22558
22503
|
|
|
22504
|
+
interface ProductReviewHistory {
|
|
22505
|
+
readonly product_id: string;
|
|
22506
|
+
readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[];
|
|
22507
|
+
}
|
|
22508
|
+
|
|
22559
22509
|
interface QuoteRequest {
|
|
22560
22510
|
readonly id: string;
|
|
22561
22511
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -22931,6 +22881,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22931
22881
|
readonly category: string;
|
|
22932
22882
|
}
|
|
22933
22883
|
|
|
22884
|
+
interface RestrictionHistoryItemReviewDecision {
|
|
22885
|
+
readonly id: string;
|
|
22886
|
+
readonly product_restriction_id: string;
|
|
22887
|
+
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
22888
|
+
readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
|
|
22889
|
+
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
22890
|
+
readonly created_at: string;
|
|
22891
|
+
readonly updated_at: string;
|
|
22892
|
+
readonly updated_by: io.flow.common.v0.models.User;
|
|
22893
|
+
}
|
|
22894
|
+
|
|
22934
22895
|
interface RestrictionItem {
|
|
22935
22896
|
readonly id: string;
|
|
22936
22897
|
readonly organization_id: string;
|
|
@@ -24303,6 +24264,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24303
24264
|
readonly tracking: io.flow.tracking.v0.models.Tracking;
|
|
24304
24265
|
}
|
|
24305
24266
|
|
|
24267
|
+
interface TransactionAdjustment {
|
|
24268
|
+
readonly id: string;
|
|
24269
|
+
readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
24270
|
+
readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
24271
|
+
readonly description: string;
|
|
24272
|
+
readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
|
|
24273
|
+
}
|
|
24274
|
+
|
|
24275
|
+
interface TransactionAdjustmentForm {
|
|
24276
|
+
readonly original_transaction_id: string;
|
|
24277
|
+
readonly description: string;
|
|
24278
|
+
readonly amount: io.flow.internal.v0.unions.AdjustmentAmount;
|
|
24279
|
+
}
|
|
24280
|
+
|
|
24306
24281
|
interface TransactionReference {
|
|
24307
24282
|
readonly id: string;
|
|
24308
24283
|
}
|
|
@@ -24599,6 +24574,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24599
24574
|
}
|
|
24600
24575
|
|
|
24601
24576
|
declare namespace io.flow.internal.v0.unions {
|
|
24577
|
+
type AdjustmentAmount =
|
|
24578
|
+
| io.flow.internal.v0.models.AdjustmentAmountPercentage
|
|
24579
|
+
| io.flow.internal.v0.models.AdjustmentAmountFixed;
|
|
24602
24580
|
type AuthorizationPayload =
|
|
24603
24581
|
| io.flow.internal.v0.models.ApplePayAuthorizationPayload
|
|
24604
24582
|
| io.flow.internal.v0.models.PaypalAuthorizationPayload;
|
|
@@ -25567,6 +25545,11 @@ export type AddressConfigurationSettingForm =
|
|
|
25567
25545
|
io.flow.internal.v0.models.AddressConfigurationSettingForm;
|
|
25568
25546
|
export type AddressConfigurationSettingProvinceCode =
|
|
25569
25547
|
io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
|
|
25548
|
+
export type AdjustmentAmount = io.flow.internal.v0.unions.AdjustmentAmount;
|
|
25549
|
+
export type AdjustmentAmountFixed =
|
|
25550
|
+
io.flow.internal.v0.models.AdjustmentAmountFixed;
|
|
25551
|
+
export type AdjustmentAmountPercentage =
|
|
25552
|
+
io.flow.internal.v0.models.AdjustmentAmountPercentage;
|
|
25570
25553
|
export type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
|
|
25571
25554
|
export type AdyenAccountModificationForm =
|
|
25572
25555
|
io.flow.internal.v0.models.AdyenAccountModificationForm;
|
|
@@ -28175,10 +28158,6 @@ export type PrioritizedCenterReference =
|
|
|
28175
28158
|
io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
28176
28159
|
export type ProcessingTransaction =
|
|
28177
28160
|
io.flow.internal.v0.models.ProcessingTransaction;
|
|
28178
|
-
export type ProcessingTransactionAdjustment =
|
|
28179
|
-
io.flow.internal.v0.models.ProcessingTransactionAdjustment;
|
|
28180
|
-
export type ProcessingTransactionAdjustmentForm =
|
|
28181
|
-
io.flow.internal.v0.models.ProcessingTransactionAdjustmentForm;
|
|
28182
28161
|
export type ProcessingTransactionDeleted =
|
|
28183
28162
|
io.flow.internal.v0.models.ProcessingTransactionDeleted;
|
|
28184
28163
|
export type ProcessingTransactionReference =
|
|
@@ -28225,6 +28204,8 @@ export type ProductHarmonizationForm =
|
|
|
28225
28204
|
export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
|
|
28226
28205
|
export type ProductListSettingsForm =
|
|
28227
28206
|
io.flow.internal.v0.models.ProductListSettingsForm;
|
|
28207
|
+
export type ProductReviewHistory =
|
|
28208
|
+
io.flow.internal.v0.models.ProductReviewHistory;
|
|
28228
28209
|
export type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
28229
28210
|
export type PromptCheckoutDisplayPosition =
|
|
28230
28211
|
io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -28321,6 +28302,8 @@ export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
|
28321
28302
|
export type RestrictionCategory =
|
|
28322
28303
|
io.flow.internal.v0.models.RestrictionCategory;
|
|
28323
28304
|
export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
28305
|
+
export type RestrictionHistoryItemReviewDecision =
|
|
28306
|
+
io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision;
|
|
28324
28307
|
export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
28325
28308
|
export type RestrictionItemReview =
|
|
28326
28309
|
io.flow.internal.v0.models.RestrictionItemReview;
|
|
@@ -28706,6 +28689,10 @@ export type TrackingResponseUpserted =
|
|
|
28706
28689
|
io.flow.internal.v0.models.TrackingResponseUpserted;
|
|
28707
28690
|
export type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
|
|
28708
28691
|
export type Transaction = io.flow.internal.v0.unions.Transaction;
|
|
28692
|
+
export type TransactionAdjustment =
|
|
28693
|
+
io.flow.internal.v0.models.TransactionAdjustment;
|
|
28694
|
+
export type TransactionAdjustmentForm =
|
|
28695
|
+
io.flow.internal.v0.models.TransactionAdjustmentForm;
|
|
28709
28696
|
export type TransactionPostingMethod =
|
|
28710
28697
|
io.flow.internal.v0.enums.TransactionPostingMethod;
|
|
28711
28698
|
export type TransactionReference =
|