@flowio/types 11.24.95 → 11.24.96

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
@@ -153,6 +153,41 @@ declare namespace io.flow.google.pay.v0.unions {
153
153
  declare namespace io.flow.stripe.v0.enums {
154
154
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
155
155
  type ApplePayType = 'apple_pay' | 'apple_pay_later';
156
+ type BankIdeal =
157
+ | 'abn_amro'
158
+ | 'asn_bank'
159
+ | 'bunq'
160
+ | 'handelsbanken'
161
+ | 'ing'
162
+ | 'knab'
163
+ | 'moneyou'
164
+ | 'n26'
165
+ | 'nn'
166
+ | 'rabobank'
167
+ | 'regiobank'
168
+ | 'revolut'
169
+ | 'sns_bank'
170
+ | 'triodos_bank'
171
+ | 'van_lanschot'
172
+ | 'yoursafe';
173
+ type BicIdeal =
174
+ | 'ABNANL2A'
175
+ | 'ASNBNL21'
176
+ | 'BITSNL2A'
177
+ | 'BUNQNL2A'
178
+ | 'FVLBNL22'
179
+ | 'HANDNL2A'
180
+ | 'INGBNL2A'
181
+ | 'KNABNL2H'
182
+ | 'MOYONL21'
183
+ | 'NNBANL2G'
184
+ | 'NTSBDEB1'
185
+ | 'RABONL2U'
186
+ | 'RBRBNL21'
187
+ | 'REVOIE23'
188
+ | 'REVOLT21'
189
+ | 'SNSBNL2A'
190
+ | 'TRIONL2U';
156
191
  type CancellationReason =
157
192
  | 'abandoned'
158
193
  | 'automatic'
@@ -361,7 +396,12 @@ declare namespace io.flow.stripe.v0.enums {
361
396
  | 'pay_now'
362
397
  | 'pay_with_financing'
363
398
  | 'pay_in_installments';
364
- type PaymentMethodType = 'card' | 'card_present' | 'klarna';
399
+ type PaymentMethodType =
400
+ | 'card'
401
+ | 'card_present'
402
+ | 'ideal'
403
+ | 'klarna'
404
+ | 'bancontact';
365
405
  type PaymentOutcomeType =
366
406
  | 'authorized'
367
407
  | 'manual_review'
@@ -369,6 +409,7 @@ declare namespace io.flow.stripe.v0.enums {
369
409
  | 'blocked'
370
410
  | 'invalid';
371
411
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
412
+ type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
372
413
  type PreferredLocaleKlarna =
373
414
  | 'de-AT'
374
415
  | 'en-AT'
@@ -952,8 +993,10 @@ declare namespace io.flow.stripe.v0.models {
952
993
  readonly id: string;
953
994
  readonly object: string;
954
995
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
996
+ readonly bancontact?: any /*object*/;
955
997
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
956
998
  readonly card_present?: any /*object*/;
999
+ readonly ideal?: any /*object*/;
957
1000
  readonly klarna?: any /*object*/;
958
1001
  readonly created: number;
959
1002
  readonly customer?: string;
@@ -988,6 +1031,12 @@ declare namespace io.flow.stripe.v0.models {
988
1031
  readonly cvc?: string;
989
1032
  }
990
1033
 
1034
+ interface PaymentMethodDataBancontact {
1035
+ readonly type: 'bancontact';
1036
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1037
+ readonly metadata?: any /*object*/;
1038
+ }
1039
+
991
1040
  interface PaymentMethodDataCard {
992
1041
  readonly type: 'card';
993
1042
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -995,6 +1044,13 @@ declare namespace io.flow.stripe.v0.models {
995
1044
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
996
1045
  }
997
1046
 
1047
+ interface PaymentMethodDataIdeal {
1048
+ readonly type: 'ideal';
1049
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1050
+ readonly metadata?: any /*object*/;
1051
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
1052
+ }
1053
+
998
1054
  interface PaymentMethodDataKlarna {
999
1055
  readonly type: 'klarna';
1000
1056
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -1002,6 +1058,22 @@ declare namespace io.flow.stripe.v0.models {
1002
1058
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
1003
1059
  }
1004
1060
 
1061
+ interface PaymentMethodDetailsBancontact {
1062
+ readonly type: 'bancontact';
1063
+ readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
1064
+ }
1065
+
1066
+ interface PaymentMethodDetailsBancontactInformation {
1067
+ readonly bank_code?: string;
1068
+ readonly bank_name?: string;
1069
+ readonly bic?: string;
1070
+ readonly generated_sepa_debit?: string;
1071
+ readonly generated_sepa_debit_mandate?: string;
1072
+ readonly iban_last4?: string;
1073
+ readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1074
+ readonly verified_name?: string;
1075
+ }
1076
+
1005
1077
  interface PaymentMethodDetailsCard {
1006
1078
  readonly type: 'card';
1007
1079
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -1033,6 +1105,20 @@ declare namespace io.flow.stripe.v0.models {
1033
1105
  readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
1034
1106
  }
1035
1107
 
1108
+ interface PaymentMethodDetailsIdeal {
1109
+ readonly type: 'ideal';
1110
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
1111
+ }
1112
+
1113
+ interface PaymentMethodDetailsIdealInformation {
1114
+ readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
1115
+ readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
1116
+ readonly generated_sepa_debit?: string;
1117
+ readonly generated_sepa_debit_mandate?: string;
1118
+ readonly iban_last4?: string;
1119
+ readonly verified_name?: string;
1120
+ }
1121
+
1036
1122
  interface PaymentMethodDetailsKlarna {
1037
1123
  readonly type: 'klarna';
1038
1124
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
@@ -1043,6 +1129,13 @@ declare namespace io.flow.stripe.v0.models {
1043
1129
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
1044
1130
  }
1045
1131
 
1132
+ interface PaymentMethodFormBancontact {
1133
+ readonly type: 'bancontact';
1134
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1135
+ readonly metadata?: any /*object*/;
1136
+ readonly bancontact: any /*object*/;
1137
+ }
1138
+
1046
1139
  interface PaymentMethodFormCard {
1047
1140
  readonly type: 'card';
1048
1141
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -1050,6 +1143,13 @@ declare namespace io.flow.stripe.v0.models {
1050
1143
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
1051
1144
  }
1052
1145
 
1146
+ interface PaymentMethodFormIdeal {
1147
+ readonly type: 'ideal';
1148
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1149
+ readonly metadata?: any /*object*/;
1150
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
1151
+ }
1152
+
1053
1153
  interface PaymentMethodFormKlarna {
1054
1154
  readonly type: 'klarna';
1055
1155
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -1057,13 +1157,27 @@ declare namespace io.flow.stripe.v0.models {
1057
1157
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
1058
1158
  }
1059
1159
 
1160
+ interface PaymentMethodIdealForm {
1161
+ readonly bank?: string;
1162
+ }
1163
+
1060
1164
  interface PaymentMethodKlarnaForm {
1061
1165
  readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
1062
1166
  }
1063
1167
 
1064
1168
  interface PaymentMethodOptions {
1065
1169
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
1170
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
1066
1171
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
1172
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
1173
+ }
1174
+
1175
+ interface PaymentMethodOptionsBancontact {
1176
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1177
+ }
1178
+
1179
+ interface PaymentMethodOptionsBancontactForm {
1180
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1067
1181
  }
1068
1182
 
1069
1183
  interface PaymentMethodOptionsCard {
@@ -1083,7 +1197,17 @@ declare namespace io.flow.stripe.v0.models {
1083
1197
 
1084
1198
  interface PaymentMethodOptionsForm {
1085
1199
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
1200
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
1086
1201
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
1202
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
1203
+ }
1204
+
1205
+ interface PaymentMethodOptionsIdeal {
1206
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1207
+ }
1208
+
1209
+ interface PaymentMethodOptionsIdealForm {
1210
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1087
1211
  }
1088
1212
 
1089
1213
  interface PaymentMethodOptionsKlarna {
@@ -1400,13 +1524,19 @@ declare namespace io.flow.stripe.v0.unions {
1400
1524
  | io.flow.stripe.v0.models.VisaCheckout;
1401
1525
  type PaymentMethodData =
1402
1526
  | io.flow.stripe.v0.models.PaymentMethodDataCard
1403
- | io.flow.stripe.v0.models.PaymentMethodDataKlarna;
1527
+ | io.flow.stripe.v0.models.PaymentMethodDataIdeal
1528
+ | io.flow.stripe.v0.models.PaymentMethodDataKlarna
1529
+ | io.flow.stripe.v0.models.PaymentMethodDataBancontact;
1404
1530
  type PaymentMethodDetails =
1405
1531
  | io.flow.stripe.v0.models.PaymentMethodDetailsCard
1406
- | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
1532
+ | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal
1533
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna
1534
+ | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact;
1407
1535
  type PaymentMethodForm =
1408
1536
  | io.flow.stripe.v0.models.PaymentMethodFormCard
1409
- | io.flow.stripe.v0.models.PaymentMethodFormKlarna;
1537
+ | io.flow.stripe.v0.models.PaymentMethodFormIdeal
1538
+ | io.flow.stripe.v0.models.PaymentMethodFormKlarna
1539
+ | io.flow.stripe.v0.models.PaymentMethodFormBancontact;
1410
1540
  }
1411
1541
 
1412
1542
  declare namespace io.flow.shopify.external.v0.enums {
@@ -1688,6 +1818,7 @@ declare namespace io.flow.shopify.external.v0.models {
1688
1818
  readonly published_at?: string;
1689
1819
  readonly created_at: string;
1690
1820
  readonly updated_at: string;
1821
+ readonly has_variants_that_requires_components?: boolean;
1691
1822
  }
1692
1823
 
1693
1824
  interface ProductDelete {
@@ -3292,7 +3423,8 @@ declare namespace io.flow.v0.enums {
3292
3423
  | 'order_unsupported_destination'
3293
3424
  | 'order_missing_information'
3294
3425
  | 'order_domestic'
3295
- | 'order_mismatched_currencies';
3426
+ | 'order_mismatched_currencies'
3427
+ | 'order_missing';
3296
3428
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
3297
3429
  type PaymentSourceConfirmationActionType =
3298
3430
  | 'cvv'
@@ -10390,6 +10522,15 @@ declare namespace io.flow.v0.models {
10390
10522
  readonly processor: string;
10391
10523
  }
10392
10524
 
10525
+ interface PaymentProcessorTransactionDetailsApm {
10526
+ readonly discriminator: 'apm';
10527
+ readonly transaction_identifier?: string;
10528
+ readonly capture_identifier?: string;
10529
+ readonly method_type?: string;
10530
+ readonly result_status?: string;
10531
+ readonly reason_code?: string;
10532
+ }
10533
+
10393
10534
  interface PaymentProcessorTransactionDetailsCard {
10394
10535
  readonly discriminator: 'card';
10395
10536
  readonly transaction_identifier?: string;
@@ -10477,6 +10618,11 @@ declare namespace io.flow.v0.models {
10477
10618
  readonly billing: io.flow.v0.models.PaymentRequestBilling;
10478
10619
  }
10479
10620
 
10621
+ interface PaymentRequestCancellationReasonOrderMissing {
10622
+ readonly type: 'order_missing';
10623
+ readonly description?: string;
10624
+ }
10625
+
10480
10626
  interface PaymentRequestDeleted {
10481
10627
  readonly discriminator: 'payment_request_deleted';
10482
10628
  readonly event_id: string;
@@ -10617,6 +10763,7 @@ declare namespace io.flow.v0.models {
10617
10763
  interface PaypalAuthorizationDetails {
10618
10764
  readonly discriminator: 'paypal_authorization_details';
10619
10765
  readonly payment_id: string;
10766
+ readonly internal_payment_id?: string;
10620
10767
  readonly payment_method?: string;
10621
10768
  readonly payment_state?: string;
10622
10769
  readonly payer_id?: string;
@@ -11616,6 +11763,11 @@ declare namespace io.flow.v0.models {
11616
11763
  readonly status: io.flow.v0.enums.AvailabilityStatus;
11617
11764
  }
11618
11765
 
11766
+ interface RejectionPutForm {
11767
+ readonly reason: io.flow.v0.enums.MerchantRejectedReason;
11768
+ readonly description: string;
11769
+ }
11770
+
11619
11771
  interface RemoteAreaByWeightServiceFee {
11620
11772
  readonly discriminator: 'remote_area_by_weight_service_fee';
11621
11773
  readonly amount: io.flow.v0.models.Money;
@@ -13535,7 +13687,7 @@ declare namespace io.flow.v0.models {
13535
13687
  readonly discriminator: 'channel';
13536
13688
  readonly method: string;
13537
13689
  readonly card?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
13538
- readonly organization_transaction: io.flow.v0.models.TransactionReference;
13690
+ readonly organization_transaction: io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
13539
13691
  }
13540
13692
 
13541
13693
  interface TransactionMetadataChannelCardMetadata {
@@ -13548,6 +13700,11 @@ declare namespace io.flow.v0.models {
13548
13700
  readonly country: string;
13549
13701
  }
13550
13702
 
13703
+ interface TransactionMetadataChannelOrganizationTransaction {
13704
+ readonly id: string;
13705
+ readonly metadata: io.flow.v0.models.TransactionMetadataPaymentTransaction;
13706
+ }
13707
+
13551
13708
  interface TransactionMetadataFailedPayout {
13552
13709
  readonly discriminator: 'failed_payout';
13553
13710
  readonly failed_payout: io.flow.v0.models.TransactionMetadataFailedPayoutReference;
@@ -14418,7 +14575,10 @@ declare namespace io.flow.v0.unions {
14418
14575
  | io.flow.v0.models.AuthorizationOrderReference
14419
14576
  | io.flow.v0.models.PaymentPaymentRequestReference;
14420
14577
  type PaymentProcessorTransactionDetails =
14421
- io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
14578
+ | io.flow.v0.models.PaymentProcessorTransactionDetailsCard
14579
+ | io.flow.v0.models.PaymentProcessorTransactionDetailsApm;
14580
+ type PaymentRequestCancellationReason =
14581
+ io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
14422
14582
  type PaymentSource = io.flow.v0.models.CardPaymentSource;
14423
14583
  type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
14424
14584
  type PayoutStatus =
@@ -16063,6 +16223,8 @@ export type PaymentProcessorReference =
16063
16223
  io.flow.v0.models.PaymentProcessorReference;
16064
16224
  export type PaymentProcessorTransactionDetails =
16065
16225
  io.flow.v0.unions.PaymentProcessorTransactionDetails;
16226
+ export type PaymentProcessorTransactionDetailsApm =
16227
+ io.flow.v0.models.PaymentProcessorTransactionDetailsApm;
16066
16228
  export type PaymentProcessorTransactionDetailsCard =
16067
16229
  io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
16068
16230
  export type PaymentReference = io.flow.v0.models.PaymentReference;
@@ -16078,6 +16240,10 @@ export type PaymentRequestBillingFees =
16078
16240
  export type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
16079
16241
  export type PaymentRequestBundleForm =
16080
16242
  io.flow.v0.models.PaymentRequestBundleForm;
16243
+ export type PaymentRequestCancellationReason =
16244
+ io.flow.v0.unions.PaymentRequestCancellationReason;
16245
+ export type PaymentRequestCancellationReasonOrderMissing =
16246
+ io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
16081
16247
  export type PaymentRequestDeleted = io.flow.v0.models.PaymentRequestDeleted;
16082
16248
  export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
16083
16249
  export type PaymentRequestReference = io.flow.v0.models.PaymentRequestReference;
@@ -16293,6 +16459,7 @@ export type RegionReference = io.flow.v0.models.RegionReference;
16293
16459
  export type RegionSetting = io.flow.v0.models.RegionSetting;
16294
16460
  export type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
16295
16461
  export type RegionType = io.flow.v0.enums.RegionType;
16462
+ export type RejectionPutForm = io.flow.v0.models.RejectionPutForm;
16296
16463
  export type RemoteAreaByWeightServiceFee =
16297
16464
  io.flow.v0.models.RemoteAreaByWeightServiceFee;
16298
16465
  export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
@@ -16707,6 +16874,8 @@ export type TransactionMetadataChannelCardMetadata =
16707
16874
  io.flow.v0.models.TransactionMetadataChannelCardMetadata;
16708
16875
  export type TransactionMetadataChannelCardMetadataIssuerSummary =
16709
16876
  io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
16877
+ export type TransactionMetadataChannelOrganizationTransaction =
16878
+ io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
16710
16879
  export type TransactionMetadataFailedPayout =
16711
16880
  io.flow.v0.models.TransactionMetadataFailedPayout;
16712
16881
  export type TransactionMetadataFailedPayoutReference =