@flowio/api-prop-types 10.16.54 → 10.16.55

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-prop-types",
3
- "version": "10.16.54",
3
+ "version": "10.16.55",
4
4
  "description": "PropType validators that work with Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "prop-types": "^15.7.0"
31
31
  },
32
- "gitHead": "2ec4e55423f8c68d0d75db7df7825e96a4433e9b"
32
+ "gitHead": "8fbab724c6c2213e0635284f23a62cd0996693eb"
33
33
  }
package/src/api.d.ts CHANGED
@@ -921,9 +921,11 @@ declare namespace io.flow.stripe.v0.models {
921
921
  }
922
922
 
923
923
  interface ThreeDSecureCharge {
924
+ readonly 'authenticated'?: boolean;
924
925
  readonly 'authentication_flow'?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
925
926
  readonly 'result'?: io.flow.stripe.v0.enums.ThreeDsResult;
926
927
  readonly 'result_reason'?: io.flow.stripe.v0.enums.ThreeDsResultReason;
928
+ readonly 'succeeded'?: boolean;
927
929
  readonly 'version'?: string;
928
930
  }
929
931
 
@@ -2226,7 +2228,7 @@ declare namespace io.flow.v0.enums {
2226
2228
  type PaymentMethodRuleContentKey = 'description';
2227
2229
  type PaymentMethodType = 'card' | 'online' | 'offline';
2228
2230
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
2229
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
2231
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
2230
2232
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2231
2233
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2232
2234
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
@@ -6605,6 +6607,7 @@ declare namespace io.flow.v0.models {
6605
6607
  readonly 'discriminator': 'know_your_business_usa';
6606
6608
  readonly 'id': string;
6607
6609
  readonly 'organization_id': string;
6610
+ readonly 'shop'?: io.flow.v0.models.Shop;
6608
6611
  readonly 'primary_entity': io.flow.v0.unions.Entity;
6609
6612
  readonly 'parent_company'?: io.flow.v0.models.Company;
6610
6613
  readonly 'ultimate_parent_company'?: io.flow.v0.models.Company;
package/src/api.js CHANGED
@@ -1015,9 +1015,11 @@ T['io.flow.stripe.v0.enums.three_ds_result'] = PropTypes.oneOf([
1015
1015
  T['io.flow.stripe.v0.enums.three_ds_authentication_flow'] = PropTypes.oneOf(['challenge', 'frictionless']);
1016
1016
 
1017
1017
  T['io.flow.stripe.v0.models.three_d_secure_charge'] = PropTypes.exact({
1018
+ authenticated: PropTypes.bool,
1018
1019
  authentication_flow: T['io.flow.stripe.v0.enums.three_ds_authentication_flow'],
1019
1020
  result: T['io.flow.stripe.v0.enums.three_ds_result'],
1020
1021
  result_reason: T['io.flow.stripe.v0.enums.three_ds_result_reason'],
1022
+ succeeded: PropTypes.bool,
1021
1023
  version: PropTypes.string,
1022
1024
  });
1023
1025
 
@@ -3115,11 +3117,6 @@ T['io.flow.v0.models.merchant_onboarding_address'] = PropTypes.exact({
3115
3117
  country: PropTypes.string,
3116
3118
  });
3117
3119
 
3118
- T['io.flow.v0.models.shop'] = PropTypes.exact({
3119
- name: PropTypes.string.isRequired,
3120
- id: PropTypes.string.isRequired,
3121
- });
3122
-
3123
3120
  T['io.flow.v0.models.ratecard_reference'] = PropTypes.exact({
3124
3121
  id: PropTypes.string.isRequired,
3125
3122
  });
@@ -3725,6 +3722,7 @@ T['io.flow.v0.enums.payment_request_review_check_type'] = PropTypes.oneOf([
3725
3722
  'order_unsupported_destination',
3726
3723
  'order_missing_information',
3727
3724
  'order_domestic',
3725
+ 'order_mismatched_currencies',
3728
3726
  ]);
3729
3727
 
3730
3728
  T['io.flow.v0.models.payment_method_data_selected_payment_option'] = PropTypes.exact({
@@ -4853,6 +4851,11 @@ T['io.flow.v0.models.company'] = PropTypes.exact({
4853
4851
 
4854
4852
  T['io.flow.v0.unions.entity'] = PropTypes.oneOfType([T['io.flow.v0.models.company'], T['io.flow.v0.models.individual']]);
4855
4853
 
4854
+ T['io.flow.v0.models.shop'] = PropTypes.exact({
4855
+ name: PropTypes.string.isRequired,
4856
+ id: PropTypes.string.isRequired,
4857
+ });
4858
+
4856
4859
  T['io.flow.v0.models.klarna_payment_method_category'] = PropTypes.exact({
4857
4860
  id: PropTypes.string.isRequired,
4858
4861
  name: PropTypes.string,
@@ -10697,6 +10700,7 @@ T['io.flow.v0.models.know_your_business_usa'] = PropTypes.exact({
10697
10700
  discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
10698
10701
  id: PropTypes.string.isRequired,
10699
10702
  organization_id: PropTypes.string.isRequired,
10703
+ shop: T['io.flow.v0.models.shop'],
10700
10704
  primary_entity: T['io.flow.v0.unions.entity'].isRequired,
10701
10705
  parent_company: T['io.flow.v0.models.company'],
10702
10706
  ultimate_parent_company: T['io.flow.v0.models.company'],