@flowio/api-internal-prop-types 9.24.14 → 9.24.15

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.14",
3
+ "version": "9.24.15",
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": "7b2e429840b21cd751e228d0cea9c2845fbedb25"
33
+ "gitHead": "e5ce9112ee3437fbd44a884f62f800a9922e6961"
34
34
  }
@@ -4410,9 +4410,9 @@ declare namespace io.flow.adyen.v0.enums {
4410
4410
  type Contract = 'RECURRING';
4411
4411
  type DeviceChannel = 'app' | 'browser';
4412
4412
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
4413
- type Method = 'GET' | 'POST';
4413
+ type HttpRedirectMethod = 'GET' | 'POST';
4414
4414
  type Operation = 'cancel' | 'capture' | 'refund';
4415
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
4415
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
4416
4416
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
4417
4417
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
4418
4418
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -4434,6 +4434,11 @@ declare namespace io.flow.adyen.v0.models {
4434
4434
  readonly 'currency': string;
4435
4435
  }
4436
4436
 
4437
+ interface Applepay {
4438
+ readonly 'type': 'applepay';
4439
+ readonly 'applePayToken': string;
4440
+ }
4441
+
4437
4442
  interface Authentication {
4438
4443
  readonly 'threeds2.fingerprintToken'?: string;
4439
4444
  readonly 'threeds2.challengeToken'?: string;
@@ -4461,6 +4466,8 @@ declare namespace io.flow.adyen.v0.models {
4461
4466
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
4462
4467
  readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
4463
4468
  readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4469
+ readonly 'mcc'?: string;
4470
+ readonly 'metadata'?: any/*object*/;
4464
4471
  }
4465
4472
 
4466
4473
  interface AuthorizeRequest3D {
@@ -4617,6 +4624,14 @@ declare namespace io.flow.adyen.v0.models {
4617
4624
  readonly 'paymentData'?: string;
4618
4625
  }
4619
4626
 
4627
+ interface PaymentDetailsV663Ds2Challenge {
4628
+ readonly 'threeds2.challengeResult': string;
4629
+ }
4630
+
4631
+ interface PaymentDetailsV663Ds2Fingerprint {
4632
+ readonly 'threeds2.fingerprint': string;
4633
+ }
4634
+
4620
4635
  interface PaymentRequest {
4621
4636
  readonly 'reference': string;
4622
4637
  readonly 'merchantAccount': string;
@@ -4638,7 +4653,11 @@ declare namespace io.flow.adyen.v0.models {
4638
4653
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
4639
4654
  readonly 'origin'?: string;
4640
4655
  readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
4641
- readonly 'returnURL'?: string;
4656
+ readonly 'returnUrl'?: string;
4657
+ readonly 'mcc'?: string;
4658
+ readonly 'metadata'?: any/*object*/;
4659
+ readonly 'redirectToIssuerMethod'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4660
+ readonly 'redirectFromIssuerMethod'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4642
4661
  }
4643
4662
 
4644
4663
  interface PaymentResponse {
@@ -4661,6 +4680,28 @@ declare namespace io.flow.adyen.v0.models {
4661
4680
  readonly 'threeDAuthenticatedResponse'?: string;
4662
4681
  readonly 'threeDOffered'?: string;
4663
4682
  readonly 'threeDOfferedResponse'?: string;
4683
+ readonly 'threeDSVersion'?: string;
4684
+ readonly 'eci'?: string;
4685
+ readonly 'scaExemptionRequested'?: string;
4686
+ readonly 'paymentMethod'?: string;
4687
+ readonly 'paymentMethodVariant'?: string;
4688
+ readonly 'tokenTxVariant'?: string;
4689
+ readonly 'acquirerCode'?: string;
4690
+ readonly 'acquirerAccountCode'?: string;
4691
+ readonly 'cardPaymentMethod'?: string;
4692
+ readonly 'coBrandedWith'?: string;
4693
+ readonly 'cardIssuingCountry'?: string;
4694
+ readonly 'cardIssuingCurrency'?: string;
4695
+ readonly 'cardIssuingBank'?: string;
4696
+ readonly 'cardBin'?: string;
4697
+ readonly 'issuerBin'?: string;
4698
+ readonly 'cardSummary'?: string;
4699
+ readonly 'untokenisedCardSummary'?: string;
4700
+ readonly 'ownerName'?: string;
4701
+ readonly 'bankName'?: string;
4702
+ readonly 'issuerCountry'?: string;
4703
+ readonly 'iban'?: string;
4704
+ readonly 'bic'?: string;
4664
4705
  }
4665
4706
 
4666
4707
  interface Recurring {
@@ -4669,7 +4710,7 @@ declare namespace io.flow.adyen.v0.models {
4669
4710
 
4670
4711
  interface Redirect {
4671
4712
  readonly 'data'?: io.flow.adyen.v0.models.RedirectData;
4672
- readonly 'method'?: io.flow.adyen.v0.enums.Method;
4713
+ readonly 'method'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4673
4714
  readonly 'url'?: string;
4674
4715
  }
4675
4716
 
@@ -4694,6 +4735,15 @@ declare namespace io.flow.adyen.v0.models {
4694
4735
  readonly 'cvc'?: string;
4695
4736
  }
4696
4737
 
4738
+ interface SdkV3OnCompleteData {
4739
+ readonly 'details': any/*object*/;
4740
+ readonly 'payment_data'?: string;
4741
+ }
4742
+
4743
+ interface SdkV3OnCompleteResult {
4744
+ readonly 'data': io.flow.adyen.v0.models.SdkV3OnCompleteData;
4745
+ }
4746
+
4697
4747
  interface ThreeDSecureData {
4698
4748
  readonly 'authenticationResponse'?: string;
4699
4749
  readonly 'cavv'?: string;
@@ -4723,7 +4773,7 @@ declare namespace io.flow.adyen.v0.models {
4723
4773
 
4724
4774
  declare namespace io.flow.adyen.v0.unions {
4725
4775
  type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
4726
- type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
4776
+ type PaymentMethodData = (io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay);
4727
4777
  }
4728
4778
 
4729
4779
  declare namespace io.flow.order.management.v0.enums {
@@ -11299,8 +11349,8 @@ declare namespace io.flow.internal.v0.enums {
11299
11349
  type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
11300
11350
  type ResponsibleParty = 'flow' | 'organization';
11301
11351
  type RestrictionAction = 'prohibited' | 'restricted';
11302
- type RestrictionDecision = 'accept' | 'reject';
11303
- type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
11352
+ type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
11353
+ type RestrictionStatus = 'pending' | 'in_review' | 'escalated' | 'accepted' | 'restricted';
11304
11354
  type RiskCheck = 'three_d_secure';
11305
11355
  type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
11306
11356
  type Scope = 'organization' | 'global';
@@ -2776,7 +2776,15 @@ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
2776
2776
  });
2777
2777
 
2778
2778
  T['io.flow.order.management.v0.enums.fulfillment_item_quantity_status'] = PropTypes.oneOf(['new', 'shipped', 'cancelled']);
2779
- T['io.flow.adyen.v0.enums.method'] = PropTypes.oneOf(['GET', 'POST']);
2779
+
2780
+ T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'] = PropTypes.exact({
2781
+ details: PropTypes.object.isRequired,
2782
+ payment_data: PropTypes.string,
2783
+ });
2784
+
2785
+ T['io.flow.adyen.v0.models.sdk_v3_on_complete_result'] = PropTypes.exact({
2786
+ data: T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'].isRequired,
2787
+ });
2780
2788
 
2781
2789
  T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
2782
2790
  PaReq: PropTypes.string,
@@ -2784,12 +2792,6 @@ T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
2784
2792
  MD: PropTypes.string,
2785
2793
  });
2786
2794
 
2787
- T['io.flow.adyen.v0.models.redirect'] = PropTypes.exact({
2788
- data: T['io.flow.adyen.v0.models.redirect_data'],
2789
- method: T['io.flow.adyen.v0.enums.method'],
2790
- url: PropTypes.string,
2791
- });
2792
-
2793
2795
  T['io.flow.adyen.v0.models.authentication'] = PropTypes.exact({
2794
2796
  'threeds2.fingerprintToken': PropTypes.string,
2795
2797
  'threeds2.challengeToken': PropTypes.string,
@@ -2804,6 +2806,33 @@ T['io.flow.adyen.v0.models.payment_response_additional_data'] = PropTypes.exact(
2804
2806
  threeDAuthenticatedResponse: PropTypes.string,
2805
2807
  threeDOffered: PropTypes.string,
2806
2808
  threeDOfferedResponse: PropTypes.string,
2809
+ threeDSVersion: PropTypes.string,
2810
+ eci: PropTypes.string,
2811
+ scaExemptionRequested: PropTypes.string,
2812
+ paymentMethod: PropTypes.string,
2813
+ paymentMethodVariant: PropTypes.string,
2814
+ tokenTxVariant: PropTypes.string,
2815
+ acquirerCode: PropTypes.string,
2816
+ acquirerAccountCode: PropTypes.string,
2817
+ cardPaymentMethod: PropTypes.string,
2818
+ coBrandedWith: PropTypes.string,
2819
+ cardIssuingCountry: PropTypes.string,
2820
+ cardIssuingCurrency: PropTypes.string,
2821
+ cardIssuingBank: PropTypes.string,
2822
+ cardBin: PropTypes.string,
2823
+ issuerBin: PropTypes.string,
2824
+ cardSummary: PropTypes.string,
2825
+ untokenisedCardSummary: PropTypes.string,
2826
+ ownerName: PropTypes.string,
2827
+ bankName: PropTypes.string,
2828
+ issuerCountry: PropTypes.string,
2829
+ iban: PropTypes.string,
2830
+ bic: PropTypes.string,
2831
+ });
2832
+
2833
+ T['io.flow.adyen.v0.models.applepay'] = PropTypes.exact({
2834
+ type: PropTypes.oneOf(['applepay']).isRequired,
2835
+ applePayToken: PropTypes.string.isRequired,
2807
2836
  });
2808
2837
 
2809
2838
  T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
@@ -2815,6 +2844,14 @@ T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
2815
2844
  cvc: PropTypes.string,
2816
2845
  });
2817
2846
 
2847
+ T['io.flow.adyen.v0.enums.http_redirect_method'] = PropTypes.oneOf(['GET', 'POST']);
2848
+
2849
+ T['io.flow.adyen.v0.models.redirect'] = PropTypes.exact({
2850
+ data: T['io.flow.adyen.v0.models.redirect_data'],
2851
+ method: T['io.flow.adyen.v0.enums.http_redirect_method'],
2852
+ url: PropTypes.string,
2853
+ });
2854
+
2818
2855
  T['io.flow.adyen.v0.enums.channel'] = PropTypes.oneOf(['web']);
2819
2856
 
2820
2857
  T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
@@ -2822,7 +2859,9 @@ T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
2822
2859
  allow3DS2: PropTypes.bool,
2823
2860
  });
2824
2861
 
2825
- T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.adyen.v0.models.scheme']]);
2862
+ T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType(
2863
+ [T['io.flow.adyen.v0.models.scheme'], T['io.flow.adyen.v0.models.applepay']],
2864
+ );
2826
2865
 
2827
2866
  T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2828
2867
  'ach',
@@ -2831,6 +2870,7 @@ T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2831
2870
  'amex',
2832
2871
  'bankTransfer_IBAN',
2833
2872
  'bcmc',
2873
+ 'bcmc_mobile',
2834
2874
  'cartebancaire',
2835
2875
  'cup',
2836
2876
  'diners',
@@ -3054,7 +3094,11 @@ T['io.flow.adyen.v0.models.payment_request'] = PropTypes.exact({
3054
3094
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
3055
3095
  origin: PropTypes.string,
3056
3096
  channel: T['io.flow.adyen.v0.enums.channel'],
3057
- returnURL: PropTypes.string,
3097
+ returnUrl: PropTypes.string,
3098
+ mcc: PropTypes.string,
3099
+ metadata: PropTypes.object,
3100
+ redirectToIssuerMethod: T['io.flow.adyen.v0.enums.http_redirect_method'],
3101
+ redirectFromIssuerMethod: T['io.flow.adyen.v0.enums.http_redirect_method'],
3058
3102
  });
3059
3103
 
3060
3104
  T['io.flow.adyen.v0.models.modification_request'] = PropTypes.exact({
@@ -3110,6 +3154,8 @@ T['io.flow.adyen.v0.models.authorize_request'] = PropTypes.exact({
3110
3154
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
3111
3155
  threeDS2RequestData: T['io.flow.adyen.v0.models.threeds2_request_data'],
3112
3156
  recurringProcessingModel: T['io.flow.adyen.v0.enums.recurring_processing_model'],
3157
+ mcc: PropTypes.string,
3158
+ metadata: PropTypes.object,
3113
3159
  });
3114
3160
 
3115
3161
  T['io.flow.brickftp.v0.models.file_summary'] = PropTypes.exact({
@@ -8515,7 +8561,7 @@ T['io.flow.internal.v0.models.restriction_rule'] = PropTypes.exact({
8515
8561
  negative_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
8516
8562
  });
8517
8563
 
8518
- T['io.flow.internal.v0.enums.restriction_decision'] = PropTypes.oneOf(['accept', 'reject']);
8564
+ T['io.flow.internal.v0.enums.restriction_decision'] = PropTypes.oneOf(['accept', 'escalate', 'reject', 'review']);
8519
8565
 
8520
8566
  T['io.flow.internal.v0.models.restriction_rule_decision_form'] = PropTypes.exact({
8521
8567
  rule_id: PropTypes.string.isRequired,
@@ -8975,7 +9021,7 @@ T['io.flow.internal.v0.models.restriction_pending'] = PropTypes.exact({
8975
9021
  count: PropTypes.number.isRequired,
8976
9022
  });
8977
9023
 
8978
- T['io.flow.internal.v0.enums.restriction_status'] = PropTypes.oneOf(['pending', 'in_review', 'accepted', 'restricted']);
9024
+ T['io.flow.internal.v0.enums.restriction_status'] = PropTypes.oneOf(['pending', 'in_review', 'escalated', 'accepted', 'restricted']);
8979
9025
 
8980
9026
  T['io.flow.internal.v0.models.restriction_keyword_metadata'] = PropTypes.exact({
8981
9027
  keyword: PropTypes.string.isRequired,
@@ -24985,6 +25031,14 @@ T['io.flow.adyen.v0.models.payment_details'] = PropTypes.exact({
24985
25031
  paymentData: PropTypes.string,
24986
25032
  });
24987
25033
 
25034
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_challenge'] = PropTypes.exact({
25035
+ 'threeds2.challengeResult': PropTypes.string.isRequired,
25036
+ });
25037
+
25038
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_fingerprint'] = PropTypes.exact({
25039
+ 'threeds2.fingerprint': PropTypes.string.isRequired,
25040
+ });
25041
+
24988
25042
  T['io.flow.adyen.v0.models.request_for_information_additional_data'] = PropTypes.exact({
24989
25043
  rfiSchemeCode: PropTypes.string.isRequired,
24990
25044
  modificationMerchantReferences: PropTypes.string.isRequired,