@flowio/api-internal-prop-types 9.24.69 → 9.24.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.69",
3
+ "version": "9.24.70",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "1c87d63f654d1b7f4aa3ef5237a2cf0558fda3d5"
33
+ "gitHead": "cc45ff4a674f1a129166e04d6910cb7a1a2f0da1"
34
34
  }
@@ -2004,7 +2004,7 @@ declare namespace io.flow.stripe.v0.enums {
2004
2004
  type ConfirmationMethod = 'automatic' | 'manual';
2005
2005
  type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
2006
2006
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
2007
- type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
2007
+ type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
2008
2008
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
2009
2009
  type KlarnaProduct = 'payment';
2010
2010
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -2026,6 +2026,7 @@ declare namespace io.flow.stripe.v0.enums {
2026
2026
  type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
2027
2027
  type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
2028
2028
  type SourceUsageType = 'reusable' | 'single_use';
2029
+ type StoredCredentialTransactionType = 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled';
2029
2030
  type ThreeDSecureSupport = 'required' | 'recommended' | 'optional' | 'not_supported';
2030
2031
  type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
2031
2032
  type ThreeDsResult = 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error';
@@ -2120,6 +2121,11 @@ declare namespace io.flow.stripe.v0.models {
2120
2121
  readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
2121
2122
  }
2122
2123
 
2124
+ interface CardNetworks {
2125
+ readonly 'available'?: string[];
2126
+ readonly 'preferred'?: string;
2127
+ }
2128
+
2123
2129
  interface CardRequest {
2124
2130
  readonly 'object': string;
2125
2131
  readonly 'exp_month': string;
@@ -2289,6 +2295,8 @@ declare namespace io.flow.stripe.v0.models {
2289
2295
  readonly 'order_number'?: string;
2290
2296
  readonly 'authorization_id'?: string;
2291
2297
  readonly 'organization_id'?: string;
2298
+ readonly 'payment_request_id'?: string;
2299
+ readonly 'payment_request_order_reference'?: string;
2292
2300
  }
2293
2301
 
2294
2302
  interface NetworkTokenUsed {
@@ -2409,6 +2417,7 @@ declare namespace io.flow.stripe.v0.models {
2409
2417
  interface PaymentIntentConfirmationForm {
2410
2418
  readonly 'off_session'?: boolean;
2411
2419
  readonly 'payment_method'?: string;
2420
+ readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2412
2421
  readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2413
2422
  readonly 'payment_method_types'?: string[];
2414
2423
  readonly 'receipt_email'?: string;
@@ -2429,6 +2438,7 @@ declare namespace io.flow.stripe.v0.models {
2429
2438
  readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
2430
2439
  readonly 'on_behalf_of'?: string;
2431
2440
  readonly 'payment_method'?: string;
2441
+ readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2432
2442
  readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2433
2443
  readonly 'payment_method_types'?: string[];
2434
2444
  readonly 'receipt_email'?: string;
@@ -2461,7 +2471,7 @@ declare namespace io.flow.stripe.v0.models {
2461
2471
  readonly 'id': string;
2462
2472
  readonly 'object': string;
2463
2473
  readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2464
- readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
2474
+ readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
2465
2475
  readonly 'card_present'?: any/*object*/;
2466
2476
  readonly 'created': number;
2467
2477
  readonly 'customer'?: string;
@@ -2476,6 +2486,33 @@ declare namespace io.flow.stripe.v0.models {
2476
2486
  readonly 'phone'?: string;
2477
2487
  }
2478
2488
 
2489
+ interface PaymentMethodCardDetails {
2490
+ readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
2491
+ readonly 'checks'?: io.flow.stripe.v0.models.CardChecks;
2492
+ readonly 'country'?: string;
2493
+ readonly 'exp_month'?: number;
2494
+ readonly 'exp_year'?: number;
2495
+ readonly 'fingerprint'?: string;
2496
+ readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
2497
+ readonly 'last4'?: string;
2498
+ readonly 'networks'?: io.flow.stripe.v0.models.CardNetworks;
2499
+ readonly 'three_d_secure_usage'?: io.flow.stripe.v0.models.ThreeDSecureUsage;
2500
+ }
2501
+
2502
+ interface PaymentMethodCardForm {
2503
+ readonly 'exp_month': string;
2504
+ readonly 'exp_year': string;
2505
+ readonly 'number': string;
2506
+ readonly 'cvc'?: string;
2507
+ }
2508
+
2509
+ interface PaymentMethodDataCard {
2510
+ readonly 'type': 'card';
2511
+ readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2512
+ readonly 'metadata'?: any/*object*/;
2513
+ readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
2514
+ }
2515
+
2479
2516
  interface PaymentMethodDetailsCard {
2480
2517
  readonly 'type': 'card';
2481
2518
  readonly 'card': io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -2513,10 +2550,11 @@ declare namespace io.flow.stripe.v0.models {
2513
2550
  readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
2514
2551
  }
2515
2552
 
2516
- interface PaymentMethodForm {
2517
- readonly 'type': io.flow.stripe.v0.enums.PaymentMethodType;
2553
+ interface PaymentMethodFormCard {
2554
+ readonly 'type': 'card';
2518
2555
  readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
2519
- readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
2556
+ readonly 'metadata'?: any/*object*/;
2557
+ readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
2520
2558
  }
2521
2559
 
2522
2560
  interface PaymentMethodOptions {
@@ -2524,7 +2562,9 @@ declare namespace io.flow.stripe.v0.models {
2524
2562
  }
2525
2563
 
2526
2564
  interface PaymentMethodOptionsCard {
2565
+ readonly 'network'?: string;
2527
2566
  readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2567
+ readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2528
2568
  }
2529
2569
 
2530
2570
  interface PaymentOutcome {
@@ -2776,6 +2816,10 @@ declare namespace io.flow.stripe.v0.models {
2776
2816
  readonly 'stripe_js': string;
2777
2817
  }
2778
2818
 
2819
+ interface ThreeDSecureUsage {
2820
+ readonly 'supported'?: boolean;
2821
+ }
2822
+
2779
2823
  interface Token {
2780
2824
  readonly 'id': string;
2781
2825
  readonly 'object': string;
@@ -2814,7 +2858,9 @@ declare namespace io.flow.stripe.v0.models {
2814
2858
 
2815
2859
  declare namespace io.flow.stripe.v0.unions {
2816
2860
  type CardWallet = (io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout);
2861
+ type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard);
2817
2862
  type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna);
2863
+ type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard);
2818
2864
  }
2819
2865
 
2820
2866
  declare namespace io.flow.customer.v0.enums {
@@ -10833,6 +10879,12 @@ declare namespace io.flow.billing.v0.models {
10833
10879
  readonly 'updated_at': string;
10834
10880
  }
10835
10881
 
10882
+ interface PendingTransaction {
10883
+ readonly 'id': string;
10884
+ readonly 'reason': io.flow.billing.v0.enums.TransactionPayoutPendingReason;
10885
+ readonly 'reason_set_at': string;
10886
+ }
10887
+
10836
10888
  interface SettlementNoPayout {
10837
10889
  readonly 'discriminator': 'no_payout';
10838
10890
  readonly 'placeholder'?: string;
@@ -12024,10 +12076,10 @@ declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models {
12024
12076
  }
12025
12077
 
12026
12078
  declare namespace io.flow.apple.pay.v0.enums {
12027
- type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
12079
+ type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
12028
12080
  type ApplePayLineItemType = 'final' | 'pending';
12029
12081
  type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
12030
- type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
12082
+ type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
12031
12083
  type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
12032
12084
  }
12033
12085
 
@@ -12035,7 +12087,7 @@ declare namespace io.flow.apple.pay.v0.models {
12035
12087
  interface ApplePayLineItem {
12036
12088
  readonly 'label': string;
12037
12089
  readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
12038
- readonly 'amount': string;
12090
+ readonly 'amount': number;
12039
12091
  }
12040
12092
 
12041
12093
  interface ApplePayPaymentContact {
@@ -12086,7 +12138,7 @@ declare namespace io.flow.apple.pay.v0.models {
12086
12138
  interface ApplePayShippingMethod {
12087
12139
  readonly 'label': string;
12088
12140
  readonly 'detail': string;
12089
- readonly 'amount': string;
12141
+ readonly 'amount': number;
12090
12142
  readonly 'identifier': string;
12091
12143
  }
12092
12144
  }
@@ -414,6 +414,12 @@ T['io.flow.billing.v0.enums.transaction_payout_pending_reason'] = PropTypes.oneO
414
414
  'waiting_for_positive_account_balance',
415
415
  ]);
416
416
 
417
+ T['io.flow.billing.v0.models.pending_transaction'] = PropTypes.exact({
418
+ id: PropTypes.string.isRequired,
419
+ reason: T['io.flow.billing.v0.enums.transaction_payout_pending_reason'].isRequired,
420
+ reason_set_at: PropTypes.string.isRequired,
421
+ });
422
+
417
423
  T['io.flow.billing.v0.models.transaction_reference'] = PropTypes.exact({
418
424
  id: PropTypes.string.isRequired,
419
425
  });
@@ -1801,7 +1807,7 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_contact'] = PropTypes.exact({
1801
1807
  country_code: PropTypes.string,
1802
1808
  });
1803
1809
 
1804
- T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', 'postalAddress', 'phoneticName']);
1810
+ T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', 'postal_address', 'phonetic_name']);
1805
1811
 
1806
1812
  T['io.flow.apple.pay.v0.enums.apple_pay_supported_networks'] = PropTypes.oneOf([
1807
1813
  'amex',
@@ -1813,12 +1819,12 @@ T['io.flow.apple.pay.v0.enums.apple_pay_supported_networks'] = PropTypes.oneOf([
1813
1819
  'visa',
1814
1820
  ]);
1815
1821
 
1816
- T['io.flow.apple.pay.v0.enums.apple_pay_shipping_type'] = PropTypes.oneOf(['shipping', 'delivery', 'storePickup', 'servicePickup']);
1822
+ T['io.flow.apple.pay.v0.enums.apple_pay_shipping_type'] = PropTypes.oneOf(['shipping', 'delivery', 'store_pickup', 'service_pickup']);
1817
1823
 
1818
1824
  T['io.flow.apple.pay.v0.models.apple_pay_shipping_method'] = PropTypes.exact({
1819
1825
  label: PropTypes.string.isRequired,
1820
1826
  detail: PropTypes.string.isRequired,
1821
- amount: PropTypes.string.isRequired,
1827
+ amount: PropTypes.number.isRequired,
1822
1828
  identifier: PropTypes.string.isRequired,
1823
1829
  });
1824
1830
 
@@ -1827,7 +1833,7 @@ T['io.flow.apple.pay.v0.enums.apple_pay_merchant_capability'] = PropTypes.oneOf(
1827
1833
  T['io.flow.apple.pay.v0.models.apple_pay_line_item'] = PropTypes.exact({
1828
1834
  label: PropTypes.string.isRequired,
1829
1835
  type: T['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'].isRequired,
1830
- amount: PropTypes.string.isRequired,
1836
+ amount: PropTypes.number.isRequired,
1831
1837
  });
1832
1838
 
1833
1839
  T['io.flow.apple.pay.v0.models.apple_pay_payment_info'] = PropTypes.exact({
@@ -4822,6 +4828,13 @@ T['io.flow.stripe.v0.models.three_d_secure'] = PropTypes.exact({
4822
4828
  customer: PropTypes.string,
4823
4829
  });
4824
4830
 
4831
+ T['io.flow.stripe.v0.models.source_card_request'] = PropTypes.exact({
4832
+ exp_month: PropTypes.string.isRequired,
4833
+ exp_year: PropTypes.string.isRequired,
4834
+ number: PropTypes.string.isRequired,
4835
+ cvc: PropTypes.string,
4836
+ });
4837
+
4825
4838
  T['io.flow.stripe.v0.enums.klarna_product'] = PropTypes.oneOf(['payment']);
4826
4839
 
4827
4840
  T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
@@ -4835,19 +4848,21 @@ T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
4835
4848
  locale: PropTypes.string,
4836
4849
  });
4837
4850
 
4851
+ T['io.flow.stripe.v0.enums.three_d_secure_support'] = PropTypes.oneOf(['required', 'recommended', 'optional', 'not_supported']);
4838
4852
  T['io.flow.stripe.v0.enums.refund_reason'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
4839
4853
  T['io.flow.stripe.v0.enums.refund_failure_reason'] = PropTypes.oneOf(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']);
4840
4854
  T['io.flow.stripe.v0.enums.refund_status'] = PropTypes.oneOf(['succeeded', 'failed', 'pending', 'canceled']);
4841
- T['io.flow.stripe.v0.enums.request_three_d_secure_type'] = PropTypes.oneOf(['automatic', 'any']);
4842
4855
 
4843
- T['io.flow.stripe.v0.models.source_card_request'] = PropTypes.exact({
4844
- exp_month: PropTypes.string.isRequired,
4845
- exp_year: PropTypes.string.isRequired,
4846
- number: PropTypes.string.isRequired,
4847
- cvc: PropTypes.string,
4848
- });
4856
+ T['io.flow.stripe.v0.enums.stored_credential_transaction_type'] = PropTypes.oneOf([
4857
+ 'setup_on_session',
4858
+ 'setup_off_session_recurring',
4859
+ 'setup_off_session_unscheduled',
4860
+ 'stored_on_session',
4861
+ 'stored_on_session_recurring',
4862
+ 'stored_on_session_unscheduled',
4863
+ ]);
4849
4864
 
4850
- T['io.flow.stripe.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'card_present']);
4865
+ T['io.flow.stripe.v0.enums.request_three_d_secure_type'] = PropTypes.oneOf(['automatic', 'any']);
4851
4866
 
4852
4867
  T['io.flow.stripe.v0.enums.preferred_locale_klarna'] = PropTypes.oneOf([
4853
4868
  'de-AT',
@@ -4957,10 +4972,26 @@ T['io.flow.stripe.v0.models.plan'] = PropTypes.exact({
4957
4972
  type: PropTypes.string,
4958
4973
  });
4959
4974
 
4960
- T['io.flow.stripe.v0.enums.three_d_secure_support'] = PropTypes.oneOf(['required', 'recommended', 'optional', 'not_supported']);
4975
+ T['io.flow.stripe.v0.models.payment_method_card_form'] = PropTypes.exact({
4976
+ exp_month: PropTypes.string.isRequired,
4977
+ exp_year: PropTypes.string.isRequired,
4978
+ number: PropTypes.string.isRequired,
4979
+ cvc: PropTypes.string,
4980
+ });
4981
+
4982
+ T['io.flow.stripe.v0.models.three_d_secure_usage'] = PropTypes.exact({
4983
+ supported: PropTypes.bool,
4984
+ });
4985
+
4986
+ T['io.flow.stripe.v0.models.card_networks'] = PropTypes.exact({
4987
+ available: PropTypes.arrayOf(PropTypes.string),
4988
+ preferred: PropTypes.string,
4989
+ });
4961
4990
 
4962
4991
  T['io.flow.stripe.v0.models.payment_method_options_card'] = PropTypes.exact({
4992
+ network: PropTypes.string,
4963
4993
  request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
4994
+ stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
4964
4995
  });
4965
4996
 
4966
4997
  T['io.flow.stripe.v0.enums.payment_intent_status'] = PropTypes.oneOf([
@@ -4979,16 +5010,6 @@ T['io.flow.stripe.v0.models.payment_method_options'] = PropTypes.exact({
4979
5010
  card: T['io.flow.stripe.v0.models.payment_method_options_card'],
4980
5011
  });
4981
5012
 
4982
- T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
4983
- off_session: PropTypes.bool,
4984
- payment_method: PropTypes.string,
4985
- payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
4986
- payment_method_types: PropTypes.arrayOf(PropTypes.string),
4987
- receipt_email: PropTypes.string,
4988
- save_payment_method: PropTypes.bool,
4989
- setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
4990
- });
4991
-
4992
5013
  T['io.flow.stripe.v0.enums.confirmation_method'] = PropTypes.oneOf(['automatic', 'manual']);
4993
5014
  T['io.flow.stripe.v0.enums.capture_method'] = PropTypes.oneOf(['automatic', 'manual']);
4994
5015
 
@@ -5111,10 +5132,33 @@ T['io.flow.stripe.v0.models.payment_method_billing_details'] = PropTypes.exact({
5111
5132
  phone: PropTypes.string,
5112
5133
  });
5113
5134
 
5114
- T['io.flow.stripe.v0.models.payment_method_form'] = PropTypes.exact({
5115
- type: T['io.flow.stripe.v0.enums.payment_method_type'].isRequired,
5135
+ T['io.flow.stripe.v0.models.payment_method_form_card'] = PropTypes.exact({
5136
+ type: PropTypes.oneOf(['card']).isRequired,
5116
5137
  billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
5117
- card: T['io.flow.stripe.v0.models.source_card_request'],
5138
+ metadata: PropTypes.object,
5139
+ card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
5140
+ });
5141
+
5142
+ T['io.flow.stripe.v0.unions.payment_method_form'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_form_card']]);
5143
+
5144
+ T['io.flow.stripe.v0.models.payment_method_data_card'] = PropTypes.exact({
5145
+ type: PropTypes.oneOf(['card']).isRequired,
5146
+ billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
5147
+ metadata: PropTypes.object,
5148
+ card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
5149
+ });
5150
+
5151
+ T['io.flow.stripe.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_data_card']]);
5152
+
5153
+ T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
5154
+ off_session: PropTypes.bool,
5155
+ payment_method: PropTypes.string,
5156
+ payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
5157
+ payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
5158
+ payment_method_types: PropTypes.arrayOf(PropTypes.string),
5159
+ receipt_email: PropTypes.string,
5160
+ save_payment_method: PropTypes.bool,
5161
+ setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
5118
5162
  });
5119
5163
 
5120
5164
  T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
@@ -5232,6 +5276,8 @@ T['io.flow.stripe.v0.models.metadata'] = PropTypes.exact({
5232
5276
  order_number: PropTypes.string,
5233
5277
  authorization_id: PropTypes.string,
5234
5278
  organization_id: PropTypes.string,
5279
+ payment_request_id: PropTypes.string,
5280
+ payment_request_order_reference: PropTypes.string,
5235
5281
  });
5236
5282
 
5237
5283
  T['io.flow.stripe.v0.models.refund_request'] = PropTypes.exact({
@@ -5257,6 +5303,7 @@ T['io.flow.stripe.v0.models.payment_intent_form'] = PropTypes.exact({
5257
5303
  metadata: T['io.flow.stripe.v0.models.metadata'],
5258
5304
  on_behalf_of: PropTypes.string,
5259
5305
  payment_method: PropTypes.string,
5306
+ payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
5260
5307
  payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
5261
5308
  payment_method_types: PropTypes.arrayOf(PropTypes.string),
5262
5309
  receipt_email: PropTypes.string,
@@ -5444,11 +5491,30 @@ T['io.flow.stripe.v0.models.source_card'] = PropTypes.exact({
5444
5491
  dynamic_last4: PropTypes.string,
5445
5492
  });
5446
5493
 
5494
+ T['io.flow.stripe.v0.models.card_checks'] = PropTypes.exact({
5495
+ address_line1_check: T['io.flow.stripe.v0.enums.check_outcome'],
5496
+ address_postal_code_check: T['io.flow.stripe.v0.enums.check_outcome'],
5497
+ cvc_check: T['io.flow.stripe.v0.enums.check_outcome'],
5498
+ });
5499
+
5500
+ T['io.flow.stripe.v0.models.payment_method_card_details'] = PropTypes.exact({
5501
+ brand: T['io.flow.stripe.v0.enums.card_brand'],
5502
+ checks: T['io.flow.stripe.v0.models.card_checks'],
5503
+ country: PropTypes.string,
5504
+ exp_month: PropTypes.number,
5505
+ exp_year: PropTypes.number,
5506
+ fingerprint: PropTypes.string,
5507
+ funding: T['io.flow.stripe.v0.enums.card_funding_type'],
5508
+ last4: PropTypes.string,
5509
+ networks: T['io.flow.stripe.v0.models.card_networks'],
5510
+ three_d_secure_usage: T['io.flow.stripe.v0.models.three_d_secure_usage'],
5511
+ });
5512
+
5447
5513
  T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
5448
5514
  id: PropTypes.string.isRequired,
5449
5515
  object: PropTypes.string.isRequired,
5450
5516
  billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
5451
- card: T['io.flow.stripe.v0.models.source_card'],
5517
+ card: T['io.flow.stripe.v0.models.payment_method_card_details'],
5452
5518
  card_present: PropTypes.object,
5453
5519
  created: PropTypes.number.isRequired,
5454
5520
  customer: PropTypes.string,
@@ -5467,12 +5533,6 @@ T['io.flow.stripe.v0.models.last_payment_error'] = PropTypes.exact({
5467
5533
  type: T['io.flow.stripe.v0.enums.error_type'].isRequired,
5468
5534
  });
5469
5535
 
5470
- T['io.flow.stripe.v0.models.card_checks'] = PropTypes.exact({
5471
- address_line1_check: T['io.flow.stripe.v0.enums.check_outcome'],
5472
- address_postal_code_check: T['io.flow.stripe.v0.enums.check_outcome'],
5473
- cvc_check: T['io.flow.stripe.v0.enums.check_outcome'],
5474
- });
5475
-
5476
5536
  T['io.flow.stripe.v0.enums.apple_pay_type'] = PropTypes.oneOf(['apple_pay', 'apple_pay_later']);
5477
5537
 
5478
5538
  T['io.flow.stripe.v0.models.apple_pay_information'] = PropTypes.exact({
@@ -29165,12 +29225,17 @@ T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
29165
29225
  'charge.failed',
29166
29226
  'charge.pending',
29167
29227
  'charge.refunded',
29168
- 'charge.refund.updated',
29228
+ 'charge.expired',
29169
29229
  'charge.succeeded',
29170
29230
  'charge.updated',
29231
+ 'charge.refund.updated',
29232
+ 'payment_intent.created',
29171
29233
  'payment_intent.amount_capturable_updated',
29172
29234
  'payment_intent.payment_failed',
29173
29235
  'payment_intent.succeeded',
29236
+ 'payment_intent.requires_action',
29237
+ 'payment_intent.canceled',
29238
+ 'payment_intent.processing',
29174
29239
  'source.canceled',
29175
29240
  'source.chargeable',
29176
29241
  'source.failed',
@@ -29184,6 +29249,8 @@ T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.one
29184
29249
  'pay_over_time',
29185
29250
  ]);
29186
29251
 
29252
+ T['io.flow.stripe.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'card_present']);
29253
+
29187
29254
  T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
29188
29255
  object: PropTypes.string.isRequired,
29189
29256
  exp_month: PropTypes.string.isRequired,