@flowio/types 11.24.97 → 11.24.100

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,41 +153,6 @@ 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';
191
156
  type CancellationReason =
192
157
  | 'abandoned'
193
158
  | 'automatic'
@@ -204,6 +169,19 @@ declare namespace io.flow.stripe.v0.enums {
204
169
  | 'JCB'
205
170
  | 'Diners Club'
206
171
  | 'Unknown';
172
+ type CardErrorCode =
173
+ | 'invalid_number'
174
+ | 'invalid_expiry_month'
175
+ | 'invalid_expiry_year'
176
+ | 'invalid_cvc'
177
+ | 'invalid_swipe_data'
178
+ | 'incorrect_number'
179
+ | 'expired_card'
180
+ | 'incorrect_cvc'
181
+ | 'incorrect_zip'
182
+ | 'card_declined'
183
+ | 'missing'
184
+ | 'processing_error';
207
185
  type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
208
186
  type CardNetwork =
209
187
  | 'amex'
@@ -240,7 +218,6 @@ declare namespace io.flow.stripe.v0.enums {
240
218
  | 'invalid_account'
241
219
  | 'invalid_amount'
242
220
  | 'invalid_cvc'
243
- | 'invalid_expiry_month'
244
221
  | 'invalid_expiry_year'
245
222
  | 'invalid_number'
246
223
  | 'invalid_pin'
@@ -263,113 +240,7 @@ declare namespace io.flow.stripe.v0.enums {
263
240
  | 'testmode_decline'
264
241
  | 'transaction_not_allowed'
265
242
  | 'try_again_later'
266
- | 'withdrawal_count_limit_exceeded'
267
- | 'previously_declined_do_not_retry'
268
- | 'highest_risk_level'
269
- | 'requested_block_on_incorrect_cvc';
270
- type DisputeEventType =
271
- | 'charge.dispute.closed'
272
- | 'charge.dispute.created'
273
- | 'charge.dispute.funds_reinstated'
274
- | 'charge.dispute.funds_withdrawn'
275
- | 'charge.dispute.updated';
276
- type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
277
- type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
278
- type DisputeReason =
279
- | 'bank_cannot_process'
280
- | 'check_returned'
281
- | 'credit_not_processed'
282
- | 'customer_initiated'
283
- | 'debit_not_authorized'
284
- | 'duplicate'
285
- | 'fraudulent'
286
- | 'general'
287
- | 'incorrect_account_details'
288
- | 'insufficient_funds'
289
- | 'product_not_received'
290
- | 'product_unacceptable'
291
- | 'subscription_canceled'
292
- | 'unrecognized';
293
- type DisputeStatus =
294
- | 'warning_needs_response'
295
- | 'warning_under_review'
296
- | 'warning_closed'
297
- | 'needs_response'
298
- | 'under_review'
299
- | 'won'
300
- | 'lost';
301
- type ErrorCode =
302
- | 'invalid_number'
303
- | 'invalid_expiry_month'
304
- | 'invalid_expiry_year'
305
- | 'invalid_cvc'
306
- | 'invalid_swipe_data'
307
- | 'country_code_invalid'
308
- | 'email_invalid'
309
- | 'postal_code_invalid'
310
- | 'invalid_characters'
311
- | 'url_invalid'
312
- | 'invalid_charge_amount'
313
- | 'incorrect_number'
314
- | 'incorrect_address'
315
- | 'incorrect_cvc'
316
- | 'incorrect_zip'
317
- | 'card_declined'
318
- | 'expired_card'
319
- | 'missing'
320
- | 'processing_error'
321
- | 'account_closed'
322
- | 'amount_too_small'
323
- | 'amount_too_large'
324
- | 'api_key_expired'
325
- | 'authentication_required'
326
- | 'capture_charge_authorization_expired'
327
- | 'capture_unauthorized_payment'
328
- | 'card_decline_rate_limit_exceeded'
329
- | 'charge_already_captured'
330
- | 'charge_already_refunded'
331
- | 'charge_disputed'
332
- | 'charge_exceeds_source_limit'
333
- | 'charge_expired_for_capture'
334
- | 'charge_invalid_parameter'
335
- | 'charge_not_refundable'
336
- | 'insufficient_funds'
337
- | 'intent_invalid_state'
338
- | 'livemode_mismatch'
339
- | 'parameter_invalid_empty'
340
- | 'parameter_invalid_integer'
341
- | 'parameter_invalid_string_blank'
342
- | 'parameter_invalid_string_empty'
343
- | 'parameter_missing'
344
- | 'parameter_unknown'
345
- | 'parameters_exclusive'
346
- | 'payment_intent_action_required'
347
- | 'payment_intent_authentication_failure'
348
- | 'payment_intent_incompatible_payment_method'
349
- | 'payment_intent_payment_attempt_expired'
350
- | 'payment_intent_payment_attempt_failed'
351
- | 'payment_intent_unexpected_state'
352
- | 'payment_intent_invalid_parameter'
353
- | 'payment_method_billing_details_address_missing'
354
- | 'payment_method_customer_decline'
355
- | 'payment_method_currency_mismatch'
356
- | 'payment_method_invalid_parameter'
357
- | 'payment_method_invalid_parameter_testmode'
358
- | 'payment_method_not_available'
359
- | 'payment_method_provider_decline'
360
- | 'payment_method_provider_timeout'
361
- | 'payment_method_unactivated'
362
- | 'payment_method_unexpected_state'
363
- | 'payment_method_unsupported_type'
364
- | 'platform_api_key_expired'
365
- | 'refund_disputed_payment'
366
- | 'testmode_charges_only'
367
- | 'tls_version_unsupported'
368
- | 'setup_attempt_failed'
369
- | 'setup_intent_authentication_failure'
370
- | 'setup_intent_invalid_parameter'
371
- | 'setup_intent_setup_attempt_expired'
372
- | 'setup_intent_unexpected_state';
243
+ | 'withdrawal_count_limit_exceeded';
373
244
  type ErrorType =
374
245
  | 'api_connection_error'
375
246
  | 'api_error'
@@ -388,11 +259,6 @@ declare namespace io.flow.stripe.v0.enums {
388
259
  | 'charge.succeeded'
389
260
  | 'charge.updated'
390
261
  | 'charge.refund.updated'
391
- | 'charge.dispute.closed'
392
- | 'charge.dispute.created'
393
- | 'charge.dispute.funds_reinstated'
394
- | 'charge.dispute.funds_withdrawn'
395
- | 'charge.dispute.updated'
396
262
  | 'payment_intent.created'
397
263
  | 'payment_intent.amount_capturable_updated'
398
264
  | 'payment_intent.payment_failed'
@@ -403,8 +269,6 @@ declare namespace io.flow.stripe.v0.enums {
403
269
  | 'source.canceled'
404
270
  | 'source.chargeable'
405
271
  | 'source.failed';
406
- type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
407
- type FeatureAvailability = 'available' | 'unavailable';
408
272
  type KlarnaPaymentMethodCategoryType =
409
273
  | 'direct_bank_transfer'
410
274
  | 'direct_debit'
@@ -432,12 +296,7 @@ declare namespace io.flow.stripe.v0.enums {
432
296
  | 'pay_now'
433
297
  | 'pay_with_financing'
434
298
  | 'pay_in_installments';
435
- type PaymentMethodType =
436
- | 'card'
437
- | 'card_present'
438
- | 'ideal'
439
- | 'klarna'
440
- | 'bancontact';
299
+ type PaymentMethodType = 'card' | 'card_present';
441
300
  type PaymentOutcomeType =
442
301
  | 'authorized'
443
302
  | 'manual_review'
@@ -445,7 +304,6 @@ declare namespace io.flow.stripe.v0.enums {
445
304
  | 'blocked'
446
305
  | 'invalid';
447
306
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
448
- type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
449
307
  type PreferredLocaleKlarna =
450
308
  | 'de-AT'
451
309
  | 'en-AT'
@@ -676,7 +534,6 @@ declare namespace io.flow.stripe.v0.models {
676
534
  readonly currency: string;
677
535
  readonly customer?: string;
678
536
  readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
679
- readonly disputed?: boolean;
680
537
  readonly paid: boolean;
681
538
  readonly refunded: boolean;
682
539
  readonly refunds?: io.flow.stripe.v0.models.Refunds;
@@ -685,7 +542,7 @@ declare namespace io.flow.stripe.v0.models {
685
542
  readonly balance_transaction?: string;
686
543
  readonly destination?: string;
687
544
  readonly dispute?: string;
688
- readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
545
+ readonly failure_code?: string;
689
546
  readonly failure_message?: string;
690
547
  readonly on_behalf_of?: string;
691
548
  readonly review?: string;
@@ -696,7 +553,6 @@ declare namespace io.flow.stripe.v0.models {
696
553
  readonly calculated_statement_descriptor?: string;
697
554
  readonly statement_descriptor?: string;
698
555
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
699
- readonly payment_method?: string;
700
556
  }
701
557
 
702
558
  interface ChargeDestination {
@@ -725,7 +581,6 @@ declare namespace io.flow.stripe.v0.models {
725
581
  readonly amount_refunded: number;
726
582
  readonly authorization_code?: string;
727
583
  readonly captured: boolean;
728
- readonly disputed?: boolean;
729
584
  readonly created: number;
730
585
  readonly currency: string;
731
586
  readonly customer?: string;
@@ -738,7 +593,7 @@ declare namespace io.flow.stripe.v0.models {
738
593
  readonly balance_transaction?: string;
739
594
  readonly destination?: string;
740
595
  readonly dispute?: string;
741
- readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode;
596
+ readonly failure_code?: string;
742
597
  readonly failure_message?: string;
743
598
  readonly on_behalf_of?: string;
744
599
  readonly review?: string;
@@ -749,7 +604,6 @@ declare namespace io.flow.stripe.v0.models {
749
604
  readonly calculated_statement_descriptor?: string;
750
605
  readonly statement_descriptor?: string;
751
606
  readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
752
- readonly payment_method?: string;
753
607
  }
754
608
 
755
609
  interface CodeVerification {
@@ -773,66 +627,10 @@ declare namespace io.flow.stripe.v0.models {
773
627
  readonly description?: string;
774
628
  }
775
629
 
776
- interface Dispute {
777
- readonly id: string;
778
- readonly amount: number;
779
- readonly charge: string;
780
- readonly currency: string;
781
- readonly evidence: any /*object*/;
782
- readonly metadata: Record<string, string>;
783
- readonly payment_intent?: string;
784
- readonly reason: io.flow.stripe.v0.enums.DisputeReason;
785
- readonly status: io.flow.stripe.v0.enums.DisputeStatus;
786
- readonly object: string;
787
- readonly balance_transactions: any /*object*/[];
788
- readonly created: number;
789
- readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
790
- readonly is_charge_refundable: boolean;
791
- readonly livemode: boolean;
792
- readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
793
- }
794
-
795
- interface DisputeEvidenceDetails {
796
- readonly due_by?: number;
797
- readonly has_evidence: boolean;
798
- readonly past_due: boolean;
799
- readonly submission_count: number;
800
- }
801
-
802
- interface DisputePaymentMethodDetails {
803
- readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
804
- readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
805
- readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
806
- readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
807
- }
808
-
809
- interface DisputePaymentMethodDetailsCard {
810
- readonly brand: string;
811
- readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
812
- readonly network_reason_code?: string;
813
- }
814
-
815
- interface DisputePaymentMethodDetailsKlarna {
816
- readonly reason_code?: string;
817
- }
818
-
819
- interface DisputePaymentMethodDetailsPaypal {
820
- readonly case_id?: string;
821
- readonly reason_code?: string;
822
- }
823
-
824
630
  interface Error {
825
631
  readonly error: io.flow.stripe.v0.models.StripeError;
826
632
  }
827
633
 
828
- interface ExtendedAuthorization {
829
- readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
830
- }
831
-
832
- interface IncrementalAuthorization {
833
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
834
- }
835
-
836
634
  interface Keys {
837
635
  readonly secret?: string;
838
636
  readonly publishable?: string;
@@ -842,25 +640,24 @@ declare namespace io.flow.stripe.v0.models {
842
640
  readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
843
641
  }
844
642
 
845
- interface KlarnaDobForm {
846
- readonly day: number;
847
- readonly month: number;
848
- readonly year: number;
849
- }
850
-
851
643
  interface KlarnaMarketplaceSellerInfo {
852
644
  readonly sub_merchant_id?: string;
853
645
  readonly product_category?: string;
854
646
  }
855
647
 
856
- interface LegalEntity {
857
- readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
648
+ interface LastPaymentError {
649
+ readonly charge?: string;
650
+ readonly code?: string;
651
+ readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
652
+ readonly doc_url?: string;
653
+ readonly message?: string;
654
+ readonly param?: string;
655
+ readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
656
+ readonly type: io.flow.stripe.v0.enums.ErrorType;
858
657
  }
859
658
 
860
- interface MarketplaceSellerInfo {
861
- readonly name: string;
862
- readonly id?: string;
863
- readonly product_category?: string;
659
+ interface LegalEntity {
660
+ readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
864
661
  }
865
662
 
866
663
  interface Masterpass {
@@ -884,10 +681,6 @@ declare namespace io.flow.stripe.v0.models {
884
681
  readonly payment_request_order_reference?: string;
885
682
  }
886
683
 
887
- interface Multicapture {
888
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
889
- }
890
-
891
684
  interface NetworkTokenUsed {
892
685
  readonly used?: boolean;
893
686
  }
@@ -935,11 +728,6 @@ declare namespace io.flow.stripe.v0.models {
935
728
  readonly shipping?: io.flow.stripe.v0.models.Shipping;
936
729
  }
937
730
 
938
- interface Overcapture {
939
- readonly maximum_amount_capturable?: number;
940
- readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
941
- }
942
-
943
731
  interface Owner {
944
732
  readonly address?: io.flow.stripe.v0.models.Address;
945
733
  readonly email?: string;
@@ -951,10 +739,6 @@ declare namespace io.flow.stripe.v0.models {
951
739
  readonly verified_phone?: string;
952
740
  }
953
741
 
954
- interface PaymentDetails {
955
- readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
956
- }
957
-
958
742
  interface PaymentIntent {
959
743
  readonly id: string;
960
744
  readonly object: string;
@@ -974,7 +758,7 @@ declare namespace io.flow.stripe.v0.models {
974
758
  readonly customer?: string;
975
759
  readonly description?: string;
976
760
  readonly invoice?: string;
977
- readonly last_payment_error?: io.flow.stripe.v0.models.StripeError;
761
+ readonly last_payment_error?: io.flow.stripe.v0.models.LastPaymentError;
978
762
  readonly livemode: boolean;
979
763
  readonly metadata?: io.flow.stripe.v0.models.Metadata;
980
764
  readonly next_action?: io.flow.stripe.v0.models.NextAction;
@@ -1017,7 +801,7 @@ declare namespace io.flow.stripe.v0.models {
1017
801
  readonly off_session?: boolean;
1018
802
  readonly payment_method?: string;
1019
803
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
1020
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
804
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
1021
805
  readonly payment_method_types?: string[];
1022
806
  readonly receipt_email?: string;
1023
807
  readonly save_payment_method?: boolean;
@@ -1038,7 +822,7 @@ declare namespace io.flow.stripe.v0.models {
1038
822
  readonly on_behalf_of?: string;
1039
823
  readonly payment_method?: string;
1040
824
  readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
1041
- readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
825
+ readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
1042
826
  readonly payment_method_types?: string[];
1043
827
  readonly receipt_email?: string;
1044
828
  readonly return_url?: string;
@@ -1077,11 +861,8 @@ declare namespace io.flow.stripe.v0.models {
1077
861
  readonly id: string;
1078
862
  readonly object: string;
1079
863
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1080
- readonly bancontact?: any /*object*/;
1081
864
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
1082
865
  readonly card_present?: any /*object*/;
1083
- readonly ideal?: any /*object*/;
1084
- readonly klarna?: any /*object*/;
1085
866
  readonly created: number;
1086
867
  readonly customer?: string;
1087
868
  readonly livemode: boolean;
@@ -1115,12 +896,6 @@ declare namespace io.flow.stripe.v0.models {
1115
896
  readonly cvc?: string;
1116
897
  }
1117
898
 
1118
- interface PaymentMethodDataBancontact {
1119
- readonly type: 'bancontact';
1120
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1121
- readonly metadata?: any /*object*/;
1122
- }
1123
-
1124
899
  interface PaymentMethodDataCard {
1125
900
  readonly type: 'card';
1126
901
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -1128,36 +903,6 @@ declare namespace io.flow.stripe.v0.models {
1128
903
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
1129
904
  }
1130
905
 
1131
- interface PaymentMethodDataIdeal {
1132
- readonly type: 'ideal';
1133
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1134
- readonly metadata?: any /*object*/;
1135
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
1136
- }
1137
-
1138
- interface PaymentMethodDataKlarna {
1139
- readonly type: 'klarna';
1140
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1141
- readonly metadata?: any /*object*/;
1142
- readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
1143
- }
1144
-
1145
- interface PaymentMethodDetailsBancontact {
1146
- readonly type: 'bancontact';
1147
- readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
1148
- }
1149
-
1150
- interface PaymentMethodDetailsBancontactInformation {
1151
- readonly bank_code?: string;
1152
- readonly bank_name?: string;
1153
- readonly bic?: string;
1154
- readonly generated_sepa_debit?: string;
1155
- readonly generated_sepa_debit_mandate?: string;
1156
- readonly iban_last4?: string;
1157
- readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1158
- readonly verified_name?: string;
1159
- }
1160
-
1161
906
  interface PaymentMethodDetailsCard {
1162
907
  readonly type: 'card';
1163
908
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -1183,24 +928,6 @@ declare namespace io.flow.stripe.v0.models {
1183
928
  readonly issuer?: string;
1184
929
  readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
1185
930
  readonly network_transaction_id?: string;
1186
- readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
1187
- readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
1188
- readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
1189
- readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
1190
- }
1191
-
1192
- interface PaymentMethodDetailsIdeal {
1193
- readonly type: 'ideal';
1194
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
1195
- }
1196
-
1197
- interface PaymentMethodDetailsIdealInformation {
1198
- readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
1199
- readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
1200
- readonly generated_sepa_debit?: string;
1201
- readonly generated_sepa_debit_mandate?: string;
1202
- readonly iban_last4?: string;
1203
- readonly verified_name?: string;
1204
931
  }
1205
932
 
1206
933
  interface PaymentMethodDetailsKlarna {
@@ -1213,13 +940,6 @@ declare namespace io.flow.stripe.v0.models {
1213
940
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
1214
941
  }
1215
942
 
1216
- interface PaymentMethodFormBancontact {
1217
- readonly type: 'bancontact';
1218
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1219
- readonly metadata?: any /*object*/;
1220
- readonly bancontact: any /*object*/;
1221
- }
1222
-
1223
943
  interface PaymentMethodFormCard {
1224
944
  readonly type: 'card';
1225
945
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
@@ -1227,41 +947,8 @@ declare namespace io.flow.stripe.v0.models {
1227
947
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
1228
948
  }
1229
949
 
1230
- interface PaymentMethodFormIdeal {
1231
- readonly type: 'ideal';
1232
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1233
- readonly metadata?: any /*object*/;
1234
- readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
1235
- }
1236
-
1237
- interface PaymentMethodFormKlarna {
1238
- readonly type: 'klarna';
1239
- readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
1240
- readonly metadata?: any /*object*/;
1241
- readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
1242
- }
1243
-
1244
- interface PaymentMethodIdealForm {
1245
- readonly bank?: string;
1246
- }
1247
-
1248
- interface PaymentMethodKlarnaForm {
1249
- readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
1250
- }
1251
-
1252
950
  interface PaymentMethodOptions {
1253
951
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
1254
- readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
1255
- readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
1256
- readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
1257
- }
1258
-
1259
- interface PaymentMethodOptionsBancontact {
1260
- readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1261
- }
1262
-
1263
- interface PaymentMethodOptionsBancontactForm {
1264
- readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
1265
952
  }
1266
953
 
1267
954
  interface PaymentMethodOptionsCard {
@@ -1269,49 +956,12 @@ declare namespace io.flow.stripe.v0.models {
1269
956
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
1270
957
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
1271
958
  readonly mcc?: string;
1272
- readonly capture_before?: number;
1273
- }
1274
-
1275
- interface PaymentMethodOptionsCardForm {
1276
- readonly network?: string;
1277
- readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
1278
- readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
1279
- readonly mcc?: string;
1280
- }
1281
-
1282
- interface PaymentMethodOptionsForm {
1283
- readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
1284
- readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
1285
- readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
1286
- readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
1287
- }
1288
-
1289
- interface PaymentMethodOptionsIdeal {
1290
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1291
- }
1292
-
1293
- interface PaymentMethodOptionsIdealForm {
1294
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1295
- }
1296
-
1297
- interface PaymentMethodOptionsKlarna {
1298
- readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
1299
- readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
1300
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1301
- readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
1302
- }
1303
-
1304
- interface PaymentMethodOptionsKlarnaForm {
1305
- readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
1306
- readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
1307
- readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
1308
- readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
1309
959
  }
1310
960
 
1311
961
  interface PaymentOutcome {
1312
- readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus;
1313
- readonly risk_level?: string;
1314
- readonly seller_message?: string;
962
+ readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
963
+ readonly risk_level: string;
964
+ readonly seller_message: string;
1315
965
  readonly reason?: string;
1316
966
  readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
1317
967
  }
@@ -1506,33 +1156,14 @@ declare namespace io.flow.stripe.v0.models {
1506
1156
  readonly directory_server_encryption?: any /*object*/;
1507
1157
  }
1508
1158
 
1509
- interface StripeDisputeEvent {
1510
- readonly id: string;
1511
- readonly api_version?: string;
1512
- readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
1513
- readonly request?: any /*object*/;
1514
- readonly type: io.flow.stripe.v0.enums.DisputeEventType;
1515
- readonly object: string;
1516
- readonly account?: string;
1517
- readonly created: number;
1518
- readonly livemode: boolean;
1519
- readonly pending_webhooks: number;
1520
- }
1521
-
1522
- interface StripeDisputeEventData {
1523
- readonly object: io.flow.stripe.v0.models.Dispute;
1524
- readonly previous_attributes?: any /*object*/;
1525
- }
1526
-
1527
1159
  interface StripeError {
1528
1160
  readonly type: io.flow.stripe.v0.enums.ErrorType;
1529
1161
  readonly charge?: string;
1530
1162
  readonly message?: string;
1531
- readonly code?: io.flow.stripe.v0.enums.ErrorCode;
1532
- readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
1163
+ readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
1164
+ readonly decline_code?: string;
1533
1165
  readonly param?: string;
1534
1166
  readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
1535
- readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
1536
1167
  }
1537
1168
 
1538
1169
  interface StripeEvent {
@@ -1565,12 +1196,9 @@ declare namespace io.flow.stripe.v0.models {
1565
1196
  interface ThreeDSecureCharge {
1566
1197
  readonly authenticated?: boolean;
1567
1198
  readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
1568
- readonly electronic_commerce_indicator?: string;
1569
- readonly exemption_indicator?: string;
1570
1199
  readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
1571
1200
  readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
1572
1201
  readonly succeeded?: boolean;
1573
- readonly transaction_id?: string;
1574
1202
  readonly version?: string;
1575
1203
  }
1576
1204
 
@@ -1624,21 +1252,11 @@ declare namespace io.flow.stripe.v0.unions {
1624
1252
  | io.flow.stripe.v0.models.Masterpass
1625
1253
  | io.flow.stripe.v0.models.ApplePay
1626
1254
  | io.flow.stripe.v0.models.VisaCheckout;
1627
- type PaymentMethodData =
1628
- | io.flow.stripe.v0.models.PaymentMethodDataCard
1629
- | io.flow.stripe.v0.models.PaymentMethodDataIdeal
1630
- | io.flow.stripe.v0.models.PaymentMethodDataKlarna
1631
- | io.flow.stripe.v0.models.PaymentMethodDataBancontact;
1255
+ type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
1632
1256
  type PaymentMethodDetails =
1633
1257
  | io.flow.stripe.v0.models.PaymentMethodDetailsCard
1634
- | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal
1635
- | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna
1636
- | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact;
1637
- type PaymentMethodForm =
1638
- | io.flow.stripe.v0.models.PaymentMethodFormCard
1639
- | io.flow.stripe.v0.models.PaymentMethodFormIdeal
1640
- | io.flow.stripe.v0.models.PaymentMethodFormKlarna
1641
- | io.flow.stripe.v0.models.PaymentMethodFormBancontact;
1258
+ | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
1259
+ type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
1642
1260
  }
1643
1261
 
1644
1262
  declare namespace io.flow.shopify.external.v0.enums {
@@ -1693,27 +1311,6 @@ declare namespace io.flow.shopify.external.v0.enums {
1693
1311
  type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
1694
1312
  type ShopifyDiscountPaginationDirection = 'next' | 'prev';
1695
1313
  type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
1696
- type ShopifyPlanName =
1697
- | 'basic'
1698
- | 'business'
1699
- | 'cancelled'
1700
- | 'dormant'
1701
- | 'enterprise'
1702
- | 'fraudulent'
1703
- | 'frozen'
1704
- | 'npo_full'
1705
- | 'npo_lite'
1706
- | 'open_learning'
1707
- | 'paid_trial'
1708
- | 'professional'
1709
- | 'retail'
1710
- | 'shopify_alumni'
1711
- | 'shopify_plus'
1712
- | 'staff'
1713
- | 'staff_business'
1714
- | 'starter'
1715
- | 'starter_2022'
1716
- | 'unlimited';
1717
1314
  type ShopifyProcessingMethodType =
1718
1315
  | 'checkout'
1719
1316
  | 'direct'
@@ -1775,7 +1372,6 @@ declare namespace io.flow.shopify.external.v0.enums {
1775
1372
  | 'orders/paid'
1776
1373
  | 'orders/partially_fulfilled'
1777
1374
  | 'orders/updated'
1778
- | 'orders/edited'
1779
1375
  | 'products/create'
1780
1376
  | 'products/delete'
1781
1377
  | 'products/update'
@@ -1920,7 +1516,6 @@ declare namespace io.flow.shopify.external.v0.models {
1920
1516
  readonly published_at?: string;
1921
1517
  readonly created_at: string;
1922
1518
  readonly updated_at: string;
1923
- readonly has_variants_that_requires_components?: boolean;
1924
1519
  }
1925
1520
 
1926
1521
  interface ProductDelete {
@@ -1931,7 +1526,7 @@ declare namespace io.flow.shopify.external.v0.models {
1931
1526
  readonly id: number;
1932
1527
  readonly product_id: number;
1933
1528
  readonly variant_ids: number[];
1934
- readonly src?: string;
1529
+ readonly src: string;
1935
1530
  readonly position: number;
1936
1531
  readonly created_at: string;
1937
1532
  readonly updated_at: string;
@@ -2543,12 +2138,6 @@ declare namespace io.flow.shopify.external.v0.models {
2543
2138
  readonly carrier_identifier?: string;
2544
2139
  }
2545
2140
 
2546
- interface ShopifyShopUpdate {
2547
- readonly id: number;
2548
- readonly plan_display_name: string;
2549
- readonly plan_name: io.flow.shopify.external.v0.enums.ShopifyPlanName;
2550
- }
2551
-
2552
2141
  interface ShopifyTaxLine {
2553
2142
  readonly price: string;
2554
2143
  readonly rate: number;
@@ -3235,7 +2824,7 @@ declare namespace io.flow.v0.enums {
3235
2824
  | 'transfer'
3236
2825
  | 'negative_balance_guarantee';
3237
2826
  type FlowBehavior = 'view_consumer_data';
3238
- type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2827
+ type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
3239
2828
  type FlowRole =
3240
2829
  | 'organization_admin'
3241
2830
  | 'organization_merchant'
@@ -3554,7 +3143,10 @@ declare namespace io.flow.v0.enums {
3554
3143
  | 'ideal'
3555
3144
  | 'sofort'
3556
3145
  | 'afterpay'
3557
- | 'bancontact';
3146
+ | 'bancontact'
3147
+ | 'twint'
3148
+ | 'przelewy24'
3149
+ | 'mobilepay';
3558
3150
  type PayoutAttachmentType = 'transactions';
3559
3151
  type PayoutStatusFailureCode =
3560
3152
  | 'invalid_account_number'
@@ -3831,7 +3423,8 @@ declare namespace io.flow.v0.enums {
3831
3423
  | 'signature_required'
3832
3424
  | 'direct_delivery'
3833
3425
  | 'saturday_stop'
3834
- | 'residential_extended_area_pickup';
3426
+ | 'residential_extended_area_pickup'
3427
+ | 'package_level_detail';
3835
3428
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
3836
3429
  type UnitOfMeasurement =
3837
3430
  | 'millimeter'
@@ -4767,6 +4360,7 @@ declare namespace io.flow.v0.models {
4767
4360
  readonly items?: io.flow.v0.models.LineItemForm[];
4768
4361
  readonly package?: io.flow.v0.models.ShippingLabelPackage;
4769
4362
  readonly origin?: io.flow.v0.models.ShippingAddress;
4363
+ readonly direction?: io.flow.v0.enums.Direction;
4770
4364
  }
4771
4365
 
4772
4366
  interface BrowseOptinResponses {
@@ -10431,16 +10025,31 @@ declare namespace io.flow.v0.models {
10431
10025
  readonly reference?: string;
10432
10026
  }
10433
10027
 
10028
+ interface PaymentMethodDataInitMobilepay {
10029
+ readonly type: 'init_mobilepay';
10030
+ readonly reference?: string;
10031
+ }
10032
+
10434
10033
  interface PaymentMethodDataInitPaypal {
10435
10034
  readonly type: 'init_paypal';
10436
10035
  readonly reference?: string;
10437
10036
  }
10438
10037
 
10038
+ interface PaymentMethodDataInitPrzelewy24 {
10039
+ readonly type: 'init_przelewy24';
10040
+ readonly reference?: string;
10041
+ }
10042
+
10439
10043
  interface PaymentMethodDataInitSofort {
10440
10044
  readonly type: 'init_sofort';
10441
10045
  readonly reference?: string;
10442
10046
  }
10443
10047
 
10048
+ interface PaymentMethodDataInitTwint {
10049
+ readonly type: 'init_twint';
10050
+ readonly reference?: string;
10051
+ }
10052
+
10444
10053
  interface PaymentMethodDataOptionLogoSvg {
10445
10054
  readonly type: 'svg';
10446
10055
  readonly url: string;
@@ -10547,16 +10156,31 @@ declare namespace io.flow.v0.models {
10547
10156
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10548
10157
  }
10549
10158
 
10159
+ interface PaymentMethodSummaryMobilepay {
10160
+ readonly type: 'mobilepay';
10161
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10162
+ }
10163
+
10550
10164
  interface PaymentMethodSummaryPaypal {
10551
10165
  readonly type: 'paypal';
10552
10166
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10553
10167
  }
10554
10168
 
10169
+ interface PaymentMethodSummaryPrzelewy24 {
10170
+ readonly type: 'przelewy24';
10171
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10172
+ }
10173
+
10555
10174
  interface PaymentMethodSummarySofort {
10556
10175
  readonly type: 'sofort';
10557
10176
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10558
10177
  }
10559
10178
 
10179
+ interface PaymentMethodSummaryTwint {
10180
+ readonly type: 'twint';
10181
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
10182
+ }
10183
+
10560
10184
  interface PaymentOrderDetailsLineItem {
10561
10185
  readonly id?: string;
10562
10186
  readonly description: string;
@@ -12519,6 +12143,7 @@ declare namespace io.flow.v0.models {
12519
12143
  readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
12520
12144
  readonly created_at?: string;
12521
12145
  readonly updated_at?: string;
12146
+ readonly direction?: io.flow.v0.enums.Direction;
12522
12147
  }
12523
12148
 
12524
12149
  interface ShippingLabelDocument {
@@ -13201,6 +12826,7 @@ declare namespace io.flow.v0.models {
13201
12826
  readonly order_number: string;
13202
12827
  readonly items: io.flow.v0.models.LineItemForm[];
13203
12828
  readonly center_key?: string;
12829
+ readonly direction?: io.flow.v0.enums.Direction;
13204
12830
  }
13205
12831
 
13206
12832
  interface SummaryShippingNotificationForm {
@@ -14633,6 +14259,9 @@ declare namespace io.flow.v0.unions {
14633
14259
  | io.flow.v0.models.PaymentMethodDataInitPaypal
14634
14260
  | io.flow.v0.models.PaymentMethodDataInitIdeal
14635
14261
  | io.flow.v0.models.PaymentMethodDataInitSofort
14262
+ | io.flow.v0.models.PaymentMethodDataInitTwint
14263
+ | io.flow.v0.models.PaymentMethodDataInitPrzelewy24
14264
+ | io.flow.v0.models.PaymentMethodDataInitMobilepay
14636
14265
  | io.flow.v0.models.PaymentMethodDataInitBancontact
14637
14266
  | io.flow.v0.models.PaymentMethodDataValidateApplepay
14638
14267
  | io.flow.v0.models.PaymentMethodDataAuthorizeCard
@@ -14661,6 +14290,9 @@ declare namespace io.flow.v0.unions {
14661
14290
  | io.flow.v0.models.PaymentMethodSummaryGooglepay
14662
14291
  | io.flow.v0.models.PaymentMethodSummaryPaypal
14663
14292
  | io.flow.v0.models.PaymentMethodSummaryIdeal
14293
+ | io.flow.v0.models.PaymentMethodSummaryTwint
14294
+ | io.flow.v0.models.PaymentMethodSummaryPrzelewy24
14295
+ | io.flow.v0.models.PaymentMethodSummaryMobilepay
14664
14296
  | io.flow.v0.models.PaymentMethodSummarySofort
14665
14297
  | io.flow.v0.models.PaymentMethodSummaryBancontact;
14666
14298
 
@@ -16258,10 +15890,16 @@ export type PaymentMethodDataInitIdeal =
16258
15890
  io.flow.v0.models.PaymentMethodDataInitIdeal;
16259
15891
  export type PaymentMethodDataInitKlarna =
16260
15892
  io.flow.v0.models.PaymentMethodDataInitKlarna;
15893
+ export type PaymentMethodDataInitMobilepay =
15894
+ io.flow.v0.models.PaymentMethodDataInitMobilepay;
16261
15895
  export type PaymentMethodDataInitPaypal =
16262
15896
  io.flow.v0.models.PaymentMethodDataInitPaypal;
15897
+ export type PaymentMethodDataInitPrzelewy24 =
15898
+ io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
16263
15899
  export type PaymentMethodDataInitSofort =
16264
15900
  io.flow.v0.models.PaymentMethodDataInitSofort;
15901
+ export type PaymentMethodDataInitTwint =
15902
+ io.flow.v0.models.PaymentMethodDataInitTwint;
16265
15903
  export type PaymentMethodDataOptionLogo =
16266
15904
  io.flow.v0.unions.PaymentMethodDataOptionLogo;
16267
15905
  export type PaymentMethodDataOptionLogoSvg =
@@ -16303,10 +15941,16 @@ export type PaymentMethodSummaryIdeal =
16303
15941
  io.flow.v0.models.PaymentMethodSummaryIdeal;
16304
15942
  export type PaymentMethodSummaryKlarna =
16305
15943
  io.flow.v0.models.PaymentMethodSummaryKlarna;
15944
+ export type PaymentMethodSummaryMobilepay =
15945
+ io.flow.v0.models.PaymentMethodSummaryMobilepay;
16306
15946
  export type PaymentMethodSummaryPaypal =
16307
15947
  io.flow.v0.models.PaymentMethodSummaryPaypal;
15948
+ export type PaymentMethodSummaryPrzelewy24 =
15949
+ io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
16308
15950
  export type PaymentMethodSummarySofort =
16309
15951
  io.flow.v0.models.PaymentMethodSummarySofort;
15952
+ export type PaymentMethodSummaryTwint =
15953
+ io.flow.v0.models.PaymentMethodSummaryTwint;
16310
15954
  export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
16311
15955
  export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
16312
15956
  export type PaymentOrderDetailsLineItem =