@flowio/types 11.24.0 → 11.24.1

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.
@@ -3803,9 +3803,9 @@ declare namespace io.flow.adyen.v0.enums {
3803
3803
  type Contract = 'RECURRING';
3804
3804
  type DeviceChannel = 'app' | 'browser';
3805
3805
  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';
3806
- type HttpRedirectMethod = 'GET' | 'POST';
3806
+ type Method = 'GET' | 'POST';
3807
3807
  type Operation = 'cancel' | 'capture' | 'refund';
3808
- 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';
3808
+ 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';
3809
3809
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3810
3810
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3811
3811
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3824,10 +3824,6 @@ declare namespace io.flow.adyen.v0.models {
3824
3824
  readonly value: number;
3825
3825
  readonly currency: string;
3826
3826
  }
3827
- interface Applepay {
3828
- readonly type: 'applepay';
3829
- readonly applePayToken: string;
3830
- }
3831
3827
  interface Authentication {
3832
3828
  readonly 'threeds2.fingerprintToken'?: string;
3833
3829
  readonly 'threeds2.challengeToken'?: string;
@@ -3854,8 +3850,6 @@ declare namespace io.flow.adyen.v0.models {
3854
3850
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3855
3851
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3856
3852
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3857
- readonly mcc?: string;
3858
- readonly metadata?: any;
3859
3853
  }
3860
3854
  interface AuthorizeRequest3D {
3861
3855
  readonly merchantAccount: string;
@@ -3989,12 +3983,6 @@ declare namespace io.flow.adyen.v0.models {
3989
3983
  readonly details: any;
3990
3984
  readonly paymentData?: string;
3991
3985
  }
3992
- interface PaymentDetailsV663Ds2Challenge {
3993
- readonly 'threeds2.challengeResult': string;
3994
- }
3995
- interface PaymentDetailsV663Ds2Fingerprint {
3996
- readonly 'threeds2.fingerprint': string;
3997
- }
3998
3986
  interface PaymentRequest {
3999
3987
  readonly reference: string;
4000
3988
  readonly merchantAccount: string;
@@ -4016,11 +4004,7 @@ declare namespace io.flow.adyen.v0.models {
4016
4004
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4017
4005
  readonly origin?: string;
4018
4006
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4019
- readonly returnUrl?: string;
4020
- readonly mcc?: string;
4021
- readonly metadata?: any;
4022
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4023
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4007
+ readonly returnURL?: string;
4024
4008
  }
4025
4009
  interface PaymentResponse {
4026
4010
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4041,35 +4025,13 @@ declare namespace io.flow.adyen.v0.models {
4041
4025
  readonly threeDAuthenticatedResponse?: string;
4042
4026
  readonly threeDOffered?: string;
4043
4027
  readonly threeDOfferedResponse?: string;
4044
- readonly threeDSVersion?: string;
4045
- readonly eci?: string;
4046
- readonly scaExemptionRequested?: string;
4047
- readonly paymentMethod?: string;
4048
- readonly paymentMethodVariant?: string;
4049
- readonly tokenTxVariant?: string;
4050
- readonly acquirerCode?: string;
4051
- readonly acquirerAccountCode?: string;
4052
- readonly cardPaymentMethod?: string;
4053
- readonly coBrandedWith?: string;
4054
- readonly cardIssuingCountry?: string;
4055
- readonly cardIssuingCurrency?: string;
4056
- readonly cardIssuingBank?: string;
4057
- readonly cardBin?: string;
4058
- readonly issuerBin?: string;
4059
- readonly cardSummary?: string;
4060
- readonly untokenisedCardSummary?: string;
4061
- readonly ownerName?: string;
4062
- readonly bankName?: string;
4063
- readonly issuerCountry?: string;
4064
- readonly iban?: string;
4065
- readonly bic?: string;
4066
4028
  }
4067
4029
  interface Recurring {
4068
4030
  readonly contract: io.flow.adyen.v0.enums.Contract;
4069
4031
  }
4070
4032
  interface Redirect {
4071
4033
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4072
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4034
+ readonly method?: io.flow.adyen.v0.enums.Method;
4073
4035
  readonly url?: string;
4074
4036
  }
4075
4037
  interface RedirectData {
@@ -4090,13 +4052,6 @@ declare namespace io.flow.adyen.v0.models {
4090
4052
  readonly number: string;
4091
4053
  readonly cvc?: string;
4092
4054
  }
4093
- interface SdkV3OnCompleteData {
4094
- readonly details: any;
4095
- readonly payment_data?: string;
4096
- }
4097
- interface SdkV3OnCompleteResult {
4098
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4099
- }
4100
4055
  interface ThreeDSecureData {
4101
4056
  readonly authenticationResponse?: string;
4102
4057
  readonly cavv?: string;
@@ -4122,7 +4077,7 @@ declare namespace io.flow.adyen.v0.models {
4122
4077
  }
4123
4078
  declare namespace io.flow.adyen.v0.unions {
4124
4079
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4125
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4080
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4126
4081
  }
4127
4082
  declare namespace io.flow.order.management.v0.enums {
4128
4083
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -10511,6 +10466,18 @@ declare namespace io.flow.internal.v0.models {
10511
10466
  readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
10512
10467
  readonly billing: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
10513
10468
  }
10469
+ interface AuthorizationBundleDeleted {
10470
+ readonly event_id: string;
10471
+ readonly timestamp: string;
10472
+ readonly organization: string;
10473
+ readonly id: string;
10474
+ }
10475
+ interface AuthorizationBundleUpserted {
10476
+ readonly event_id: string;
10477
+ readonly timestamp: string;
10478
+ readonly organization: string;
10479
+ readonly authorization_bundle: io.flow.internal.v0.models.AuthorizationBundle;
10480
+ }
10514
10481
  interface AuthorizationMetadata {
10515
10482
  readonly limit?: number;
10516
10483
  }
@@ -16311,7 +16278,7 @@ declare namespace io.flow.internal.v0.models {
16311
16278
  }
16312
16279
  interface MarketsOrder {
16313
16280
  readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
16314
- readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
16281
+ readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
16315
16282
  }
16316
16283
  interface MerchantOfRecordEntitySettings {
16317
16284
  readonly id: string;
@@ -18498,6 +18465,13 @@ declare namespace io.flow.internal.v0.models {
18498
18465
  readonly id: string;
18499
18466
  readonly children?: io.flow.internal.v0.models.TaxonomyNode[];
18500
18467
  }
18468
+ interface Test {
18469
+ readonly id: string;
18470
+ readonly name: string;
18471
+ }
18472
+ interface TestForm {
18473
+ readonly name: string;
18474
+ }
18501
18475
  interface ThirdPartyLogisticsPartner {
18502
18476
  readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
18503
18477
  readonly warehouse_url?: string;
@@ -19151,6 +19125,8 @@ export declare type ApplePayAuthorizationPayload = io.flow.internal.v0.models.Ap
19151
19125
  export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
19152
19126
  export declare type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
19153
19127
  export declare type AuthorizationBundle = io.flow.internal.v0.models.AuthorizationBundle;
19128
+ export declare type AuthorizationBundleDeleted = io.flow.internal.v0.models.AuthorizationBundleDeleted;
19129
+ export declare type AuthorizationBundleUpserted = io.flow.internal.v0.models.AuthorizationBundleUpserted;
19154
19130
  export declare type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
19155
19131
  export declare type AuthorizationParameters = io.flow.internal.v0.models.AuthorizationParameters;
19156
19132
  export declare type AuthorizationParametersForm = io.flow.internal.v0.models.AuthorizationParametersForm;
@@ -20831,6 +20807,8 @@ export declare type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models
20831
20807
  export declare type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
20832
20808
  export declare type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
20833
20809
  export declare type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
20810
+ export declare type Test = io.flow.internal.v0.models.Test;
20811
+ export declare type TestForm = io.flow.internal.v0.models.TestForm;
20834
20812
  export declare type ThirdPartyLogisticsPartner = io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
20835
20813
  export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
20836
20814
  export declare type TieredFee = io.flow.internal.v0.models.TieredFee;
package/dist/api.d.ts CHANGED
@@ -5391,12 +5391,14 @@ declare namespace io.flow.v0.models {
5391
5391
  readonly discriminator: 'import_completed_v2';
5392
5392
  readonly event_id: string;
5393
5393
  readonly timestamp: string;
5394
+ readonly organization: string;
5394
5395
  readonly import: io.flow.v0.models.Import;
5395
5396
  }
5396
5397
  interface ImportFailedV2 {
5397
5398
  readonly discriminator: 'import_failed_v2';
5398
5399
  readonly event_id: string;
5399
5400
  readonly timestamp: string;
5401
+ readonly organization: string;
5400
5402
  readonly import: io.flow.v0.models.Import;
5401
5403
  }
5402
5404
  interface ImportForm {
@@ -9697,13 +9699,6 @@ declare namespace io.flow.v0.models {
9697
9699
  readonly types: io.flow.v0.enums.TaxReportType[];
9698
9700
  readonly email_recipients?: string[];
9699
9701
  }
9700
- interface Test {
9701
- readonly id: string;
9702
- readonly name: string;
9703
- }
9704
- interface TestForm {
9705
- readonly name: string;
9706
- }
9707
9702
  interface ThirdPartyLogisticsPartner {
9708
9703
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
9709
9704
  readonly warehouse_url?: string;
@@ -11703,8 +11698,6 @@ export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
11703
11698
  export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
11704
11699
  export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
11705
11700
  export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
11706
- export declare type Test = io.flow.v0.models.Test;
11707
- export declare type TestForm = io.flow.v0.models.TestForm;
11708
11701
  export declare type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner;
11709
11702
  export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
11710
11703
  export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.0",
3
+ "version": "11.24.1",
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": "89ec1ac9dd90acbae21d9b16b218e15c27a0bde2"
28
+ "gitHead": "2e52c92b8e623a2cbbdd2d02c8d16d50a74a604a"
29
29
  }