@flowio/types 11.12.1 → 11.12.3

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/src/api.ts CHANGED
@@ -1178,7 +1178,7 @@ declare namespace io.flow.v0.enums {
1178
1178
  | 'solidus'
1179
1179
  | 'workarea';
1180
1180
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1181
- type EntityIdentifierType = 'ioss';
1181
+ type EntityIdentifierType = 'ioss' | 'voec';
1182
1182
  type Environment = 'sandbox' | 'production';
1183
1183
  type EventType =
1184
1184
  | 'attribute_upserted'
@@ -1507,6 +1507,14 @@ declare namespace io.flow.v0.enums {
1507
1507
  | 'invalid_customer'
1508
1508
  | 'invalid_destination'
1509
1509
  | 'unknown';
1510
+ type PaymentFailureCode =
1511
+ | 'action_expired'
1512
+ | 'action_cancelled'
1513
+ | 'action_failed'
1514
+ | 'authorization_declined'
1515
+ | 'not_supported'
1516
+ | 'fraudulent'
1517
+ | 'error';
1510
1518
  type PaymentMethodCapability = 'credit' | 'debit';
1511
1519
  type PaymentMethodRuleContentKey = 'description';
1512
1520
  type PaymentMethodType = 'card' | 'online' | 'offline';
@@ -1514,6 +1522,26 @@ declare namespace io.flow.v0.enums {
1514
1522
  | 'cvv'
1515
1523
  | 'billing_address'
1516
1524
  | 'number';
1525
+ type PaymentStatus =
1526
+ | 'requires_payment_method'
1527
+ | 'requires_action'
1528
+ | 'processing'
1529
+ | 'cancelled'
1530
+ | 'expired'
1531
+ | 'authorized'
1532
+ | 'reversed'
1533
+ | 'captured'
1534
+ | 'refunded'
1535
+ | 'in_dispute'
1536
+ | 'charged_back';
1537
+ type PaymentType =
1538
+ | 'card'
1539
+ | 'klarna'
1540
+ | 'googlepay'
1541
+ | 'paypal'
1542
+ | 'applepay'
1543
+ | 'ideal'
1544
+ | 'afterpay';
1517
1545
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
1518
1546
  type PhysicalDeliverySpecialSerivce =
1519
1547
  | 'cold_storage'
@@ -1754,6 +1782,99 @@ declare namespace io.flow.v0.models {
1754
1782
  readonly ip?: string;
1755
1783
  }
1756
1784
 
1785
+ interface ActionAddPaymentMethod {
1786
+ readonly type: 'add_payment_method';
1787
+ readonly expires_at?: string;
1788
+ readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
1789
+ readonly payment_failure?: io.flow.v0.models.PaymentFailure;
1790
+ }
1791
+
1792
+ interface ActionCapture {
1793
+ readonly type: 'capture';
1794
+ readonly expires_at?: string;
1795
+ readonly amount_awaiting_capture?: number;
1796
+ }
1797
+
1798
+ interface ActionDisplayInlineWindow {
1799
+ readonly type: 'display_inline_window';
1800
+ readonly expires_at?: string;
1801
+ readonly method: string;
1802
+ readonly url: string;
1803
+ readonly data?: any /*object*/;
1804
+ }
1805
+
1806
+ interface ActionExecuteScript {
1807
+ readonly type: 'execute_script';
1808
+ readonly expires_at?: string;
1809
+ readonly script: string;
1810
+ }
1811
+
1812
+ interface ActionRedirect {
1813
+ readonly type: 'redirect';
1814
+ readonly expires_at?: string;
1815
+ readonly method: string;
1816
+ readonly url: string;
1817
+ readonly data?: any /*object*/;
1818
+ }
1819
+
1820
+ interface ActionUseSdkAdyenV3 {
1821
+ readonly type: 'use_sdk_adyen_v3';
1822
+ readonly expires_at?: string;
1823
+ readonly origin_key: string;
1824
+ readonly authentication_token: io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
1825
+ }
1826
+
1827
+ interface ActionUseSdkAdyenV4 {
1828
+ readonly type: 'use_sdk_adyen_v4';
1829
+ readonly expires_at?: string;
1830
+ readonly client_key: string;
1831
+ readonly action: any /*object*/;
1832
+ }
1833
+
1834
+ interface ActionUseSdkApplepayCompleteValidation {
1835
+ readonly type: 'use_sdk_applepay_complete_validation';
1836
+ readonly expires_at?: string;
1837
+ readonly payment_session: any /*object*/;
1838
+ }
1839
+
1840
+ interface ActionUseSdkApplepayCreateSession {
1841
+ readonly type: 'use_sdk_applepay_create_session';
1842
+ readonly expires_at?: string;
1843
+ readonly merchant_identifier: string;
1844
+ readonly payment_data_request: any /*object*/;
1845
+ }
1846
+
1847
+ interface ActionUseSdkGooglepay {
1848
+ readonly type: 'use_sdk_googlepay';
1849
+ readonly expires_at?: string;
1850
+ readonly payment_data_request: any /*object*/;
1851
+ }
1852
+
1853
+ interface ActionUseSdkKlarnaV1 {
1854
+ readonly type: 'use_sdk_klarna_v1';
1855
+ readonly expires_at?: string;
1856
+ readonly client_token: string;
1857
+ readonly payment_method_categories: string[];
1858
+ }
1859
+
1860
+ interface ActionUseSdkPaypal {
1861
+ readonly type: 'use_sdk_paypal';
1862
+ readonly expires_at?: string;
1863
+ readonly payment_id: string;
1864
+ }
1865
+
1866
+ interface ActionUseSdkStripeV3 {
1867
+ readonly type: 'use_sdk_stripe_v3';
1868
+ readonly expires_at?: string;
1869
+ readonly client_secret: string;
1870
+ readonly publishable_key: string;
1871
+ }
1872
+
1873
+ interface ActionWait {
1874
+ readonly type: 'wait';
1875
+ readonly expires_at?: string;
1876
+ }
1877
+
1757
1878
  interface Address {
1758
1879
  readonly text?: string;
1759
1880
  readonly streets?: string[];
@@ -1848,6 +1969,16 @@ declare namespace io.flow.v0.models {
1848
1969
  readonly data?: io.flow.v0.unions.AdyenNativeData;
1849
1970
  }
1850
1971
 
1972
+ interface AdyenV3ChallengeToken {
1973
+ readonly type: 'token';
1974
+ readonly challenge_token: string;
1975
+ }
1976
+
1977
+ interface AdyenV3FingerprintToken {
1978
+ readonly type: 'fingerprint';
1979
+ readonly fingerprint_token: string;
1980
+ }
1981
+
1851
1982
  interface Allocation {
1852
1983
  readonly order: io.flow.v0.models.AllocationOrderSummary;
1853
1984
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -2015,6 +2146,16 @@ declare namespace io.flow.v0.models {
2015
2146
  readonly password: string;
2016
2147
  }
2017
2148
 
2149
+ interface AuthorizationActionResultAdyenV3 {
2150
+ readonly type: 'adyen_v3';
2151
+ readonly details: any /*object*/;
2152
+ }
2153
+
2154
+ interface AuthorizationActionResultAdyenV4 {
2155
+ readonly type: 'adyen_v4';
2156
+ readonly details: any /*object*/;
2157
+ }
2158
+
2018
2159
  interface AuthorizationCopyForm {
2019
2160
  readonly discriminator: 'authorization_copy_form';
2020
2161
  readonly source_authorization_key: string;
@@ -2299,6 +2440,19 @@ declare namespace io.flow.v0.models {
2299
2440
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
2300
2441
  }
2301
2442
 
2443
+ interface BrowserDetails {
2444
+ readonly type: 'browser';
2445
+ readonly origin?: string;
2446
+ readonly language?: string;
2447
+ readonly java_enabled?: boolean;
2448
+ readonly color_depth?: number;
2449
+ readonly screen_height?: number;
2450
+ readonly screen_width?: number;
2451
+ readonly time_zone_offset?: number;
2452
+ readonly user_agent?: string;
2453
+ readonly accept?: string;
2454
+ }
2455
+
2302
2456
  interface BrowserInfo {
2303
2457
  readonly origin?: string;
2304
2458
  readonly language?: string;
@@ -5866,6 +6020,10 @@ declare namespace io.flow.v0.models {
5866
6020
  readonly destination: io.flow.v0.models.OrderAddress;
5867
6021
  }
5868
6022
 
6023
+ interface OrderDetails {
6024
+ readonly line_items: io.flow.v0.models.PaymentOrderDetailsLineItem[];
6025
+ }
6026
+
5869
6027
  interface OrderError {
5870
6028
  readonly code: io.flow.v0.enums.OrderErrorCode;
5871
6029
  readonly messages: string[];
@@ -6565,6 +6723,41 @@ declare namespace io.flow.v0.models {
6565
6723
  readonly email: string;
6566
6724
  }
6567
6725
 
6726
+ interface PaymentAuthorization {
6727
+ readonly id: string;
6728
+ readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
6729
+ readonly captures: io.flow.v0.models.PaymentCapture[];
6730
+ readonly refunds: io.flow.v0.models.PaymentRefund[];
6731
+ readonly reversals: io.flow.v0.models.PaymentReversal[];
6732
+ readonly created_at: string;
6733
+ readonly updated_at: string;
6734
+ readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
6735
+ }
6736
+
6737
+ interface PaymentAuthorizationStatus {
6738
+ readonly status: io.flow.v0.enums.AuthorizationStatus;
6739
+ readonly reason?: io.flow.v0.enums.AuthorizationDeclineCode;
6740
+ }
6741
+
6742
+ interface PaymentCapture {
6743
+ readonly id: string;
6744
+ readonly amount: number;
6745
+ readonly currency: string;
6746
+ readonly created_at: string;
6747
+ readonly updated_at: string;
6748
+ readonly status: io.flow.v0.models.PaymentCaptureStatus;
6749
+ }
6750
+
6751
+ interface PaymentCaptureForm {
6752
+ readonly amount?: number;
6753
+ readonly currency?: string;
6754
+ }
6755
+
6756
+ interface PaymentCaptureStatus {
6757
+ readonly status: io.flow.v0.enums.CaptureStatus;
6758
+ readonly reason?: io.flow.v0.enums.CaptureDeclineCode;
6759
+ }
6760
+
6568
6761
  interface PaymentCryptopay {
6569
6762
  readonly discriminator: 'payment_cryptopay';
6570
6763
  readonly id: string;
@@ -6588,6 +6781,12 @@ declare namespace io.flow.v0.models {
6588
6781
  readonly codes: io.flow.v0.enums.PaymentErrorCode[];
6589
6782
  }
6590
6783
 
6784
+ interface PaymentFailure {
6785
+ readonly authorization_id: string;
6786
+ readonly failure_code: io.flow.v0.enums.PaymentFailureCode;
6787
+ readonly failure_message: string;
6788
+ }
6789
+
6591
6790
  interface PaymentMethod {
6592
6791
  readonly id: string;
6593
6792
  readonly type: io.flow.v0.enums.PaymentMethodType;
@@ -6597,6 +6796,80 @@ declare namespace io.flow.v0.models {
6597
6796
  readonly capabilities?: io.flow.v0.enums.PaymentMethodCapability[];
6598
6797
  }
6599
6798
 
6799
+ interface PaymentMethodBrand {
6800
+ readonly id: string;
6801
+ readonly name: string;
6802
+ readonly images: io.flow.v0.models.PaymentMethodImages;
6803
+ }
6804
+
6805
+ interface PaymentMethodCardToken {
6806
+ readonly type: 'token';
6807
+ readonly token: string;
6808
+ }
6809
+
6810
+ interface PaymentMethodDataAuthorizeApplepay {
6811
+ readonly type: 'authorize_applepay';
6812
+ readonly token: string;
6813
+ }
6814
+
6815
+ interface PaymentMethodDataAuthorizeCard {
6816
+ readonly type: 'authorize_card';
6817
+ readonly card_data: io.flow.v0.unions.PaymentMethodCard;
6818
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
6819
+ readonly cvv?: string;
6820
+ }
6821
+
6822
+ interface PaymentMethodDataAuthorizeGooglepay {
6823
+ readonly type: 'authorize_googlepay';
6824
+ readonly payment_data: any /*object*/;
6825
+ }
6826
+
6827
+ interface PaymentMethodDataAuthorizePaypal {
6828
+ readonly type: 'authorize_paypal';
6829
+ readonly payment_id: string;
6830
+ readonly payer_id: string;
6831
+ }
6832
+
6833
+ interface PaymentMethodDataCompleteAuthorizationCard {
6834
+ readonly type: 'complete_authorization_card';
6835
+ readonly action_result: io.flow.v0.unions.CardAuthorizationActionResult;
6836
+ }
6837
+
6838
+ interface PaymentMethodDataInitAfterpay {
6839
+ readonly type: 'init_afterpay';
6840
+ readonly placeholder?: string;
6841
+ }
6842
+
6843
+ interface PaymentMethodDataInitApplepay {
6844
+ readonly type: 'init_applepay';
6845
+ readonly placeholder?: string;
6846
+ }
6847
+
6848
+ interface PaymentMethodDataInitGooglepay {
6849
+ readonly type: 'init_googlepay';
6850
+ readonly placeholder?: string;
6851
+ }
6852
+
6853
+ interface PaymentMethodDataInitIdeal {
6854
+ readonly type: 'init_ideal';
6855
+ readonly issuer?: string;
6856
+ }
6857
+
6858
+ interface PaymentMethodDataInitKlarna {
6859
+ readonly type: 'init_klarna';
6860
+ readonly placeholder?: string;
6861
+ }
6862
+
6863
+ interface PaymentMethodDataInitPaypal {
6864
+ readonly type: 'init_paypal';
6865
+ readonly placeholder?: string;
6866
+ }
6867
+
6868
+ interface PaymentMethodDataValidateApplepay {
6869
+ readonly type: 'validate_applepay';
6870
+ readonly validation_url: string;
6871
+ }
6872
+
6600
6873
  interface PaymentMethodImage {
6601
6874
  readonly url: string;
6602
6875
  readonly width: number;
@@ -6629,6 +6902,62 @@ declare namespace io.flow.v0.models {
6629
6902
  readonly value: string;
6630
6903
  }
6631
6904
 
6905
+ interface PaymentMethodSummaryAfterpay {
6906
+ readonly type: 'afterpay';
6907
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6908
+ }
6909
+
6910
+ interface PaymentMethodSummaryApplepay {
6911
+ readonly type: 'applepay';
6912
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6913
+ }
6914
+
6915
+ interface PaymentMethodSummaryCard {
6916
+ readonly type: 'card';
6917
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6918
+ readonly last_four: string;
6919
+ }
6920
+
6921
+ interface PaymentMethodSummaryGooglepay {
6922
+ readonly type: 'googlepay';
6923
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6924
+ }
6925
+
6926
+ interface PaymentMethodSummaryIdeal {
6927
+ readonly type: 'ideal';
6928
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6929
+ readonly issuer: string;
6930
+ }
6931
+
6932
+ interface PaymentMethodSummaryKlarna {
6933
+ readonly type: 'klarna';
6934
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6935
+ }
6936
+
6937
+ interface PaymentMethodSummaryPaypal {
6938
+ readonly type: 'paypal';
6939
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6940
+ }
6941
+
6942
+ interface PaymentOrderDetailsLineItem {
6943
+ readonly description: string;
6944
+ readonly quantity: number;
6945
+ readonly amount_excluding_tax_and_duty: number;
6946
+ readonly tax_amount?: number;
6947
+ readonly duty_amount?: number;
6948
+ readonly product_url?: string;
6949
+ readonly image_url?: string;
6950
+ }
6951
+
6952
+ interface PaymentPaymentMethod {
6953
+ readonly id: string;
6954
+ readonly name: string;
6955
+ readonly type: io.flow.v0.enums.PaymentType;
6956
+ readonly brands: io.flow.v0.models.PaymentMethodBrand[];
6957
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
6958
+ readonly images: io.flow.v0.models.PaymentMethodImages;
6959
+ }
6960
+
6632
6961
  interface PaymentPaypal {
6633
6962
  readonly discriminator: 'payment_paypal';
6634
6963
  readonly id: string;
@@ -6671,6 +7000,79 @@ declare namespace io.flow.v0.models {
6671
7000
  readonly id: string;
6672
7001
  }
6673
7002
 
7003
+ interface PaymentRefund {
7004
+ readonly id: string;
7005
+ readonly amount: number;
7006
+ readonly currency: string;
7007
+ readonly created_at: string;
7008
+ readonly updated_at: string;
7009
+ readonly status: io.flow.v0.models.PaymentRefundStatus;
7010
+ }
7011
+
7012
+ interface PaymentRefundForm {
7013
+ readonly amount?: number;
7014
+ readonly currency?: string;
7015
+ }
7016
+
7017
+ interface PaymentRefundStatus {
7018
+ readonly status: io.flow.v0.enums.RefundStatus;
7019
+ readonly reason?: io.flow.v0.enums.RefundDeclineCode;
7020
+ }
7021
+
7022
+ interface PaymentRequest {
7023
+ readonly id: string;
7024
+ readonly status: io.flow.v0.models.PaymentRequestStatus;
7025
+ readonly next_action?: io.flow.v0.unions.Action;
7026
+ readonly amount: number;
7027
+ readonly amount_refundable?: number;
7028
+ readonly currency: string;
7029
+ readonly order_details: io.flow.v0.models.OrderDetails;
7030
+ readonly customer?: io.flow.v0.models.OrderCustomer;
7031
+ readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7032
+ readonly ip?: string;
7033
+ readonly return_url: string;
7034
+ readonly attributes?: Record<string, string>;
7035
+ readonly reference?: string;
7036
+ readonly authorizations: io.flow.v0.models.PaymentAuthorization[];
7037
+ }
7038
+
7039
+ interface PaymentRequestForm {
7040
+ readonly amount: number;
7041
+ readonly currency: string;
7042
+ readonly order_details: io.flow.v0.models.OrderDetails;
7043
+ readonly customer?: io.flow.v0.models.OrderCustomer;
7044
+ readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7045
+ readonly ip?: string;
7046
+ readonly return_url: string;
7047
+ readonly attributes?: Record<string, string>;
7048
+ readonly reference?: string;
7049
+ readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
7050
+ }
7051
+
7052
+ interface PaymentRequestStatus {
7053
+ readonly status: io.flow.v0.enums.PaymentStatus;
7054
+ readonly reason?: string;
7055
+ }
7056
+
7057
+ interface PaymentReversal {
7058
+ readonly id: string;
7059
+ readonly amount: number;
7060
+ readonly currency: string;
7061
+ readonly created_at: string;
7062
+ readonly updated_at: string;
7063
+ readonly status: io.flow.v0.models.PaymentReversalStatus;
7064
+ }
7065
+
7066
+ interface PaymentReversalForm {
7067
+ readonly amount?: number;
7068
+ readonly currency?: string;
7069
+ }
7070
+
7071
+ interface PaymentReversalStatus {
7072
+ readonly status: io.flow.v0.enums.ReversalStatus;
7073
+ readonly reason?: io.flow.v0.enums.ReversalErrorCode;
7074
+ }
7075
+
6674
7076
  interface PaymentSourceConfirmationAction {
6675
7077
  readonly type: io.flow.v0.enums.PaymentSourceConfirmationActionType;
6676
7078
  }
@@ -9341,6 +9743,21 @@ declare namespace io.flow.v0.models {
9341
9743
  }
9342
9744
 
9343
9745
  declare namespace io.flow.v0.unions {
9746
+ type Action =
9747
+ | io.flow.v0.models.ActionRedirect
9748
+ | io.flow.v0.models.ActionUseSdkKlarnaV1
9749
+ | io.flow.v0.models.ActionUseSdkApplepayCreateSession
9750
+ | io.flow.v0.models.ActionUseSdkApplepayCompleteValidation
9751
+ | io.flow.v0.models.ActionUseSdkGooglepay
9752
+ | io.flow.v0.models.ActionUseSdkPaypal
9753
+ | io.flow.v0.models.ActionUseSdkStripeV3
9754
+ | io.flow.v0.models.ActionUseSdkAdyenV3
9755
+ | io.flow.v0.models.ActionUseSdkAdyenV4
9756
+ | io.flow.v0.models.ActionExecuteScript
9757
+ | io.flow.v0.models.ActionDisplayInlineWindow
9758
+ | io.flow.v0.models.ActionCapture
9759
+ | io.flow.v0.models.ActionAddPaymentMethod
9760
+ | io.flow.v0.models.ActionWait;
9344
9761
  type AdyenNativeData =
9345
9762
  | io.flow.v0.models.AdyenIdentifyShopperData
9346
9763
  | io.flow.v0.models.AdyenChallengeShopperData;
@@ -9380,6 +9797,9 @@ declare namespace io.flow.v0.unions {
9380
9797
  | io.flow.v0.models.AvailableFilterStructured
9381
9798
  | io.flow.v0.models.AvailableFilterUnstructured;
9382
9799
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
9800
+ type CardAuthorizationActionResult =
9801
+ | io.flow.v0.models.AuthorizationActionResultAdyenV3
9802
+ | io.flow.v0.models.AuthorizationActionResultAdyenV4;
9383
9803
  type CheckoutTokenForm =
9384
9804
  | io.flow.v0.models.CheckoutTokenOrderForm
9385
9805
  | io.flow.v0.models.CheckoutTokenReferenceForm;
@@ -9398,6 +9818,7 @@ declare namespace io.flow.v0.unions {
9398
9818
  type Deminimis =
9399
9819
  | io.flow.v0.models.DeminimisSimple
9400
9820
  | io.flow.v0.models.DeminimisPerItem;
9821
+ type DeviceDetails = io.flow.v0.models.BrowserDetails;
9401
9822
  type DiscountOffer =
9402
9823
  | io.flow.v0.models.DiscountOfferFixed
9403
9824
  | io.flow.v0.models.DiscountOfferPercent;
@@ -9656,6 +10077,28 @@ declare namespace io.flow.v0.unions {
9656
10077
  | io.flow.v0.models.PaymentPaypal
9657
10078
  | io.flow.v0.models.PaymentCryptopay;
9658
10079
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
10080
+ type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardToken;
10081
+ type PaymentMethodData =
10082
+ | io.flow.v0.models.PaymentMethodDataInitKlarna
10083
+ | io.flow.v0.models.PaymentMethodDataInitAfterpay
10084
+ | io.flow.v0.models.PaymentMethodDataInitApplepay
10085
+ | io.flow.v0.models.PaymentMethodDataInitGooglepay
10086
+ | io.flow.v0.models.PaymentMethodDataInitPaypal
10087
+ | io.flow.v0.models.PaymentMethodDataInitIdeal
10088
+ | io.flow.v0.models.PaymentMethodDataValidateApplepay
10089
+ | io.flow.v0.models.PaymentMethodDataAuthorizeCard
10090
+ | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay
10091
+ | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay
10092
+ | io.flow.v0.models.PaymentMethodDataAuthorizePaypal
10093
+ | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10094
+ type PaymentMethodSummary =
10095
+ | io.flow.v0.models.PaymentMethodSummaryCard
10096
+ | io.flow.v0.models.PaymentMethodSummaryKlarna
10097
+ | io.flow.v0.models.PaymentMethodSummaryAfterpay
10098
+ | io.flow.v0.models.PaymentMethodSummaryApplepay
10099
+ | io.flow.v0.models.PaymentMethodSummaryGooglepay
10100
+ | io.flow.v0.models.PaymentMethodSummaryPaypal
10101
+ | io.flow.v0.models.PaymentMethodSummaryIdeal;
9659
10102
 
9660
10103
  type PaymentMethodTag =
9661
10104
  | {
@@ -9709,6 +10152,9 @@ declare namespace io.flow.v0.unions {
9709
10152
  type ReturnSource =
9710
10153
  | io.flow.v0.models.ReturnSourceFlow
9711
10154
  | io.flow.v0.models.ReturnSourceExternalVendor;
10155
+ type SdkAdyenV3AuthenticationToken =
10156
+ | io.flow.v0.models.AdyenV3FingerprintToken
10157
+ | io.flow.v0.models.AdyenV3ChallengeToken;
9712
10158
  type ServiceFee =
9713
10159
  | io.flow.v0.models.FuelSurchargeServiceFee
9714
10160
  | io.flow.v0.models.RemoteAreaServiceFee
@@ -9754,6 +10200,21 @@ export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
9754
10200
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
9755
10201
  export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
9756
10202
  export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
10203
+ export type Action = io.flow.v0.unions.Action;
10204
+ export type ActionAddPaymentMethod = io.flow.v0.models.ActionAddPaymentMethod;
10205
+ export type ActionCapture = io.flow.v0.models.ActionCapture;
10206
+ export type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow;
10207
+ export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
10208
+ export type ActionRedirect = io.flow.v0.models.ActionRedirect;
10209
+ export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
10210
+ export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
10211
+ export type ActionUseSdkApplepayCompleteValidation = io.flow.v0.models.ActionUseSdkApplepayCompleteValidation;
10212
+ export type ActionUseSdkApplepayCreateSession = io.flow.v0.models.ActionUseSdkApplepayCreateSession;
10213
+ export type ActionUseSdkGooglepay = io.flow.v0.models.ActionUseSdkGooglepay;
10214
+ export type ActionUseSdkKlarnaV1 = io.flow.v0.models.ActionUseSdkKlarnaV1;
10215
+ export type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal;
10216
+ export type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3;
10217
+ export type ActionWait = io.flow.v0.models.ActionWait;
9757
10218
  export type Address = io.flow.v0.models.Address;
9758
10219
  export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
9759
10220
  export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
@@ -9771,6 +10232,8 @@ export type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperD
9771
10232
  export type AdyenIdentifyShopperData = io.flow.v0.models.AdyenIdentifyShopperData;
9772
10233
  export type AdyenNativeActionDetails = io.flow.v0.models.AdyenNativeActionDetails;
9773
10234
  export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
10235
+ export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken;
10236
+ export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken;
9774
10237
  export type Aggregate = io.flow.v0.enums.Aggregate;
9775
10238
  export type Allocation = io.flow.v0.models.Allocation;
9776
10239
  export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
@@ -9800,6 +10263,8 @@ export type AttributeVersion = io.flow.v0.models.AttributeVersion;
9800
10263
  export type AuthenticationForm = io.flow.v0.models.AuthenticationForm;
9801
10264
  export type AuthenticationTechnique = io.flow.v0.enums.AuthenticationTechnique;
9802
10265
  export type Authorization = io.flow.v0.unions.Authorization;
10266
+ export type AuthorizationActionResultAdyenV3 = io.flow.v0.models.AuthorizationActionResultAdyenV3;
10267
+ export type AuthorizationActionResultAdyenV4 = io.flow.v0.models.AuthorizationActionResultAdyenV4;
9803
10268
  export type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm;
9804
10269
  export type AuthorizationDeclineCode = io.flow.v0.enums.AuthorizationDeclineCode;
9805
10270
  export type AuthorizationDeletedV2 = io.flow.v0.models.AuthorizationDeletedV2;
@@ -9851,6 +10316,7 @@ export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
9851
10316
  export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
9852
10317
  export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
9853
10318
  export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
10319
+ export type BrowserDetails = io.flow.v0.models.BrowserDetails;
9854
10320
  export type BrowserInfo = io.flow.v0.models.BrowserInfo;
9855
10321
  export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
9856
10322
  export type Calendar = io.flow.v0.enums.Calendar;
@@ -9870,6 +10336,7 @@ export type CaptureUpsertedV2 = io.flow.v0.models.CaptureUpsertedV2;
9870
10336
  export type CaptureVersion = io.flow.v0.models.CaptureVersion;
9871
10337
  export type Card = io.flow.v0.models.Card;
9872
10338
  export type CardAuthorization = io.flow.v0.models.CardAuthorization;
10339
+ export type CardAuthorizationActionResult = io.flow.v0.unions.CardAuthorizationActionResult;
9873
10340
  export type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2;
9874
10341
  export type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2;
9875
10342
  export type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
@@ -10056,6 +10523,7 @@ export type DeminimisSimple = io.flow.v0.models.DeminimisSimple;
10056
10523
  export type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm;
10057
10524
  export type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm;
10058
10525
  export type DetailedTaxRegistration = io.flow.v0.models.DetailedTaxRegistration;
10526
+ export type DeviceDetails = io.flow.v0.unions.DeviceDetails;
10059
10527
  export type DigitalDelivery = io.flow.v0.models.DigitalDelivery;
10060
10528
  export type Dimension = io.flow.v0.models.Dimension;
10061
10529
  export type DimensionEstimate = io.flow.v0.models.DimensionEstimate;
@@ -10456,6 +10924,7 @@ export type OrderCustomerForm = io.flow.v0.models.OrderCustomerForm;
10456
10924
  export type OrderDeleted = io.flow.v0.models.OrderDeleted;
10457
10925
  export type OrderDeletedV2 = io.flow.v0.models.OrderDeletedV2;
10458
10926
  export type OrderDestinationPutForm = io.flow.v0.models.OrderDestinationPutForm;
10927
+ export type OrderDetails = io.flow.v0.models.OrderDetails;
10459
10928
  export type OrderError = io.flow.v0.models.OrderError;
10460
10929
  export type OrderErrorCode = io.flow.v0.enums.OrderErrorCode;
10461
10930
  export type OrderEstimate = io.flow.v0.models.OrderEstimate;
@@ -10562,21 +11031,54 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
10562
11031
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
10563
11032
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
10564
11033
  export type Payment = io.flow.v0.unions.Payment;
11034
+ export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
11035
+ export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
11036
+ export type PaymentCapture = io.flow.v0.models.PaymentCapture;
11037
+ export type PaymentCaptureForm = io.flow.v0.models.PaymentCaptureForm;
11038
+ export type PaymentCaptureStatus = io.flow.v0.models.PaymentCaptureStatus;
10565
11039
  export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
10566
11040
  export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
10567
11041
  export type PaymentError = io.flow.v0.models.PaymentError;
10568
11042
  export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
11043
+ export type PaymentFailure = io.flow.v0.models.PaymentFailure;
11044
+ export type PaymentFailureCode = io.flow.v0.enums.PaymentFailureCode;
10569
11045
  export type PaymentForm = io.flow.v0.unions.PaymentForm;
10570
11046
  export type PaymentMethod = io.flow.v0.models.PaymentMethod;
11047
+ export type PaymentMethodBrand = io.flow.v0.models.PaymentMethodBrand;
10571
11048
  export type PaymentMethodCapability = io.flow.v0.enums.PaymentMethodCapability;
11049
+ export type PaymentMethodCard = io.flow.v0.unions.PaymentMethodCard;
11050
+ export type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
11051
+ export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
11052
+ export type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
11053
+ export type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard;
11054
+ export type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay;
11055
+ export type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.PaymentMethodDataAuthorizePaypal;
11056
+ export type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
11057
+ export type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay;
11058
+ export type PaymentMethodDataInitApplepay = io.flow.v0.models.PaymentMethodDataInitApplepay;
11059
+ export type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay;
11060
+ export type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
11061
+ export type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
11062
+ export type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
11063
+ export type PaymentMethodDataValidateApplepay = io.flow.v0.models.PaymentMethodDataValidateApplepay;
10572
11064
  export type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
10573
11065
  export type PaymentMethodImages = io.flow.v0.models.PaymentMethodImages;
10574
11066
  export type PaymentMethodIssuer = io.flow.v0.models.PaymentMethodIssuer;
10575
11067
  export type PaymentMethodRule = io.flow.v0.models.PaymentMethodRule;
10576
11068
  export type PaymentMethodRuleContent = io.flow.v0.models.PaymentMethodRuleContent;
10577
11069
  export type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethodRuleContentKey;
11070
+ export type PaymentMethodSummary = io.flow.v0.unions.PaymentMethodSummary;
11071
+ export type PaymentMethodSummaryAfterpay = io.flow.v0.models.PaymentMethodSummaryAfterpay;
11072
+ export type PaymentMethodSummaryApplepay = io.flow.v0.models.PaymentMethodSummaryApplepay;
11073
+ export type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSummaryCard;
11074
+ export type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay;
11075
+ export type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
11076
+ export type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna;
11077
+ export type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal;
10578
11078
  export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
10579
11079
  export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
11080
+ export type PaymentOrderDetailsLineItem = io.flow.v0.models.PaymentOrderDetailsLineItem;
11081
+ export type PaymentPaymentMethod = io.flow.v0.models.PaymentPaymentMethod;
10580
11082
  export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
10581
11083
  export type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
10582
11084
  export type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
@@ -10584,10 +11086,21 @@ export type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcesso
10584
11086
  export type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
10585
11087
  export type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
10586
11088
  export type PaymentReference = io.flow.v0.models.PaymentReference;
11089
+ export type PaymentRefund = io.flow.v0.models.PaymentRefund;
11090
+ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
11091
+ export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
11092
+ export type PaymentRequest = io.flow.v0.models.PaymentRequest;
11093
+ export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
11094
+ export type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
11095
+ export type PaymentReversal = io.flow.v0.models.PaymentReversal;
11096
+ export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
11097
+ export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;
10587
11098
  export type PaymentSource = io.flow.v0.unions.PaymentSource;
10588
11099
  export type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;
10589
11100
  export type PaymentSourceConfirmationActionType = io.flow.v0.enums.PaymentSourceConfirmationActionType;
10590
11101
  export type PaymentSourceForm = io.flow.v0.unions.PaymentSourceForm;
11102
+ export type PaymentStatus = io.flow.v0.enums.PaymentStatus;
11103
+ export type PaymentType = io.flow.v0.enums.PaymentType;
10591
11104
  export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
10592
11105
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
10593
11106
  export type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
@@ -10795,6 +11308,7 @@ export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
10795
11308
  export type ScheduledExport = io.flow.v0.models.ScheduledExport;
10796
11309
  export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
10797
11310
  export type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
11311
+ export type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
10798
11312
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
10799
11313
  export type ServiceReference = io.flow.v0.models.ServiceReference;
10800
11314
  export type ServiceSummary = io.flow.v0.models.ServiceSummary;