@flowio/api-internal-prop-types 9.24.26 → 9.24.27

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.26",
3
+ "version": "9.24.27",
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": "f36adbff1fb121a65bbe46dbfe6e0d9592e1901b"
33
+ "gitHead": "ff651fefde62162c873a8140da058ee29b956e40"
34
34
  }
@@ -4329,9 +4329,9 @@ declare namespace io.flow.adyen.v0.enums {
4329
4329
  type Contract = 'RECURRING';
4330
4330
  type DeviceChannel = 'app' | 'browser';
4331
4331
  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';
4332
- type Method = 'GET' | 'POST';
4332
+ type HttpRedirectMethod = 'GET' | 'POST';
4333
4333
  type Operation = 'cancel' | 'capture' | 'refund';
4334
- 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';
4334
+ 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';
4335
4335
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
4336
4336
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
4337
4337
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -4353,6 +4353,11 @@ declare namespace io.flow.adyen.v0.models {
4353
4353
  readonly 'currency': string;
4354
4354
  }
4355
4355
 
4356
+ interface Applepay {
4357
+ readonly 'type': 'applepay';
4358
+ readonly 'applePayToken': string;
4359
+ }
4360
+
4356
4361
  interface Authentication {
4357
4362
  readonly 'threeds2.fingerprintToken'?: string;
4358
4363
  readonly 'threeds2.challengeToken'?: string;
@@ -4380,6 +4385,8 @@ declare namespace io.flow.adyen.v0.models {
4380
4385
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
4381
4386
  readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
4382
4387
  readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4388
+ readonly 'mcc'?: string;
4389
+ readonly 'metadata'?: any/*object*/;
4383
4390
  }
4384
4391
 
4385
4392
  interface AuthorizeRequest3D {
@@ -4536,6 +4543,14 @@ declare namespace io.flow.adyen.v0.models {
4536
4543
  readonly 'paymentData'?: string;
4537
4544
  }
4538
4545
 
4546
+ interface PaymentDetailsV663Ds2Challenge {
4547
+ readonly 'threeds2.challengeResult': string;
4548
+ }
4549
+
4550
+ interface PaymentDetailsV663Ds2Fingerprint {
4551
+ readonly 'threeds2.fingerprint': string;
4552
+ }
4553
+
4539
4554
  interface PaymentRequest {
4540
4555
  readonly 'reference': string;
4541
4556
  readonly 'merchantAccount': string;
@@ -4557,7 +4572,11 @@ declare namespace io.flow.adyen.v0.models {
4557
4572
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
4558
4573
  readonly 'origin'?: string;
4559
4574
  readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
4560
- readonly 'returnURL'?: string;
4575
+ readonly 'returnUrl'?: string;
4576
+ readonly 'mcc'?: string;
4577
+ readonly 'metadata'?: any/*object*/;
4578
+ readonly 'redirectToIssuerMethod'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4579
+ readonly 'redirectFromIssuerMethod'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4561
4580
  }
4562
4581
 
4563
4582
  interface PaymentResponse {
@@ -4574,12 +4593,36 @@ declare namespace io.flow.adyen.v0.models {
4574
4593
  interface PaymentResponseAdditionalData {
4575
4594
  readonly 'authCode'?: string;
4576
4595
  readonly 'avsResultRaw'?: string;
4596
+ readonly 'avsResult'?: string;
4577
4597
  readonly 'cvcResultRaw'?: string;
4598
+ readonly 'cvcResult'?: string;
4578
4599
  readonly 'liabilityShift'?: string;
4579
4600
  readonly 'threeDAuthenticated'?: string;
4580
4601
  readonly 'threeDAuthenticatedResponse'?: string;
4581
4602
  readonly 'threeDOffered'?: string;
4582
4603
  readonly 'threeDOfferedResponse'?: string;
4604
+ readonly 'threeDSVersion'?: string;
4605
+ readonly 'eci'?: string;
4606
+ readonly 'scaExemptionRequested'?: string;
4607
+ readonly 'paymentMethod'?: string;
4608
+ readonly 'paymentMethodVariant'?: string;
4609
+ readonly 'tokenTxVariant'?: string;
4610
+ readonly 'acquirerCode'?: string;
4611
+ readonly 'acquirerAccountCode'?: string;
4612
+ readonly 'cardPaymentMethod'?: string;
4613
+ readonly 'coBrandedWith'?: string;
4614
+ readonly 'cardIssuingCountry'?: string;
4615
+ readonly 'cardIssuingCurrency'?: string;
4616
+ readonly 'cardIssuingBank'?: string;
4617
+ readonly 'cardBin'?: string;
4618
+ readonly 'issuerBin'?: string;
4619
+ readonly 'cardSummary'?: string;
4620
+ readonly 'untokenisedCardSummary'?: string;
4621
+ readonly 'ownerName'?: string;
4622
+ readonly 'bankName'?: string;
4623
+ readonly 'issuerCountry'?: string;
4624
+ readonly 'iban'?: string;
4625
+ readonly 'bic'?: string;
4583
4626
  }
4584
4627
 
4585
4628
  interface Recurring {
@@ -4588,7 +4631,7 @@ declare namespace io.flow.adyen.v0.models {
4588
4631
 
4589
4632
  interface Redirect {
4590
4633
  readonly 'data'?: io.flow.adyen.v0.models.RedirectData;
4591
- readonly 'method'?: io.flow.adyen.v0.enums.Method;
4634
+ readonly 'method'?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4592
4635
  readonly 'url'?: string;
4593
4636
  }
4594
4637
 
@@ -4613,6 +4656,15 @@ declare namespace io.flow.adyen.v0.models {
4613
4656
  readonly 'cvc'?: string;
4614
4657
  }
4615
4658
 
4659
+ interface SdkV3OnCompleteData {
4660
+ readonly 'details': any/*object*/;
4661
+ readonly 'payment_data'?: string;
4662
+ }
4663
+
4664
+ interface SdkV3OnCompleteResult {
4665
+ readonly 'data': io.flow.adyen.v0.models.SdkV3OnCompleteData;
4666
+ }
4667
+
4616
4668
  interface ThreeDSecureData {
4617
4669
  readonly 'authenticationResponse'?: string;
4618
4670
  readonly 'cavv'?: string;
@@ -4642,7 +4694,7 @@ declare namespace io.flow.adyen.v0.models {
4642
4694
 
4643
4695
  declare namespace io.flow.adyen.v0.unions {
4644
4696
  type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
4645
- type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
4697
+ type PaymentMethodData = (io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay);
4646
4698
  }
4647
4699
 
4648
4700
  declare namespace io.flow.order.management.v0.enums {
@@ -11449,7 +11501,7 @@ declare namespace io.flow.internal.v0.enums {
11449
11501
  type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
11450
11502
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
11451
11503
  type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
11452
- type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
11504
+ type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
11453
11505
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
11454
11506
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
11455
11507
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
@@ -2885,7 +2885,15 @@ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
2885
2885
  });
2886
2886
 
2887
2887
  T['io.flow.order.management.v0.enums.fulfillment_item_quantity_status'] = PropTypes.oneOf(['new', 'shipped', 'cancelled']);
2888
- T['io.flow.adyen.v0.enums.method'] = PropTypes.oneOf(['GET', 'POST']);
2888
+
2889
+ T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'] = PropTypes.exact({
2890
+ details: PropTypes.object.isRequired,
2891
+ payment_data: PropTypes.string,
2892
+ });
2893
+
2894
+ T['io.flow.adyen.v0.models.sdk_v3_on_complete_result'] = PropTypes.exact({
2895
+ data: T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'].isRequired,
2896
+ });
2889
2897
 
2890
2898
  T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
2891
2899
  PaReq: PropTypes.string,
@@ -2893,12 +2901,6 @@ T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
2893
2901
  MD: PropTypes.string,
2894
2902
  });
2895
2903
 
2896
- T['io.flow.adyen.v0.models.redirect'] = PropTypes.exact({
2897
- data: T['io.flow.adyen.v0.models.redirect_data'],
2898
- method: T['io.flow.adyen.v0.enums.method'],
2899
- url: PropTypes.string,
2900
- });
2901
-
2902
2904
  T['io.flow.adyen.v0.models.authentication'] = PropTypes.exact({
2903
2905
  'threeds2.fingerprintToken': PropTypes.string,
2904
2906
  'threeds2.challengeToken': PropTypes.string,
@@ -2907,12 +2909,41 @@ T['io.flow.adyen.v0.models.authentication'] = PropTypes.exact({
2907
2909
  T['io.flow.adyen.v0.models.payment_response_additional_data'] = PropTypes.exact({
2908
2910
  authCode: PropTypes.string,
2909
2911
  avsResultRaw: PropTypes.string,
2912
+ avsResult: PropTypes.string,
2910
2913
  cvcResultRaw: PropTypes.string,
2914
+ cvcResult: PropTypes.string,
2911
2915
  liabilityShift: PropTypes.string,
2912
2916
  threeDAuthenticated: PropTypes.string,
2913
2917
  threeDAuthenticatedResponse: PropTypes.string,
2914
2918
  threeDOffered: PropTypes.string,
2915
2919
  threeDOfferedResponse: PropTypes.string,
2920
+ threeDSVersion: PropTypes.string,
2921
+ eci: PropTypes.string,
2922
+ scaExemptionRequested: PropTypes.string,
2923
+ paymentMethod: PropTypes.string,
2924
+ paymentMethodVariant: PropTypes.string,
2925
+ tokenTxVariant: PropTypes.string,
2926
+ acquirerCode: PropTypes.string,
2927
+ acquirerAccountCode: PropTypes.string,
2928
+ cardPaymentMethod: PropTypes.string,
2929
+ coBrandedWith: PropTypes.string,
2930
+ cardIssuingCountry: PropTypes.string,
2931
+ cardIssuingCurrency: PropTypes.string,
2932
+ cardIssuingBank: PropTypes.string,
2933
+ cardBin: PropTypes.string,
2934
+ issuerBin: PropTypes.string,
2935
+ cardSummary: PropTypes.string,
2936
+ untokenisedCardSummary: PropTypes.string,
2937
+ ownerName: PropTypes.string,
2938
+ bankName: PropTypes.string,
2939
+ issuerCountry: PropTypes.string,
2940
+ iban: PropTypes.string,
2941
+ bic: PropTypes.string,
2942
+ });
2943
+
2944
+ T['io.flow.adyen.v0.models.applepay'] = PropTypes.exact({
2945
+ type: PropTypes.oneOf(['applepay']).isRequired,
2946
+ applePayToken: PropTypes.string.isRequired,
2916
2947
  });
2917
2948
 
2918
2949
  T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
@@ -2924,6 +2955,14 @@ T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
2924
2955
  cvc: PropTypes.string,
2925
2956
  });
2926
2957
 
2958
+ T['io.flow.adyen.v0.enums.http_redirect_method'] = PropTypes.oneOf(['GET', 'POST']);
2959
+
2960
+ T['io.flow.adyen.v0.models.redirect'] = PropTypes.exact({
2961
+ data: T['io.flow.adyen.v0.models.redirect_data'],
2962
+ method: T['io.flow.adyen.v0.enums.http_redirect_method'],
2963
+ url: PropTypes.string,
2964
+ });
2965
+
2927
2966
  T['io.flow.adyen.v0.enums.channel'] = PropTypes.oneOf(['web']);
2928
2967
 
2929
2968
  T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
@@ -2931,7 +2970,9 @@ T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
2931
2970
  allow3DS2: PropTypes.bool,
2932
2971
  });
2933
2972
 
2934
- T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.adyen.v0.models.scheme']]);
2973
+ T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType(
2974
+ [T['io.flow.adyen.v0.models.scheme'], T['io.flow.adyen.v0.models.applepay']],
2975
+ );
2935
2976
 
2936
2977
  T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2937
2978
  'ach',
@@ -2940,6 +2981,7 @@ T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2940
2981
  'amex',
2941
2982
  'bankTransfer_IBAN',
2942
2983
  'bcmc',
2984
+ 'bcmc_mobile',
2943
2985
  'cartebancaire',
2944
2986
  'cup',
2945
2987
  'diners',
@@ -3163,7 +3205,11 @@ T['io.flow.adyen.v0.models.payment_request'] = PropTypes.exact({
3163
3205
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
3164
3206
  origin: PropTypes.string,
3165
3207
  channel: T['io.flow.adyen.v0.enums.channel'],
3166
- returnURL: PropTypes.string,
3208
+ returnUrl: PropTypes.string,
3209
+ mcc: PropTypes.string,
3210
+ metadata: PropTypes.object,
3211
+ redirectToIssuerMethod: T['io.flow.adyen.v0.enums.http_redirect_method'],
3212
+ redirectFromIssuerMethod: T['io.flow.adyen.v0.enums.http_redirect_method'],
3167
3213
  });
3168
3214
 
3169
3215
  T['io.flow.adyen.v0.models.modification_request'] = PropTypes.exact({
@@ -3219,6 +3265,8 @@ T['io.flow.adyen.v0.models.authorize_request'] = PropTypes.exact({
3219
3265
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
3220
3266
  threeDS2RequestData: T['io.flow.adyen.v0.models.threeds2_request_data'],
3221
3267
  recurringProcessingModel: T['io.flow.adyen.v0.enums.recurring_processing_model'],
3268
+ mcc: PropTypes.string,
3269
+ metadata: PropTypes.object,
3222
3270
  });
3223
3271
 
3224
3272
  T['io.flow.brickftp.v0.models.file_summary'] = PropTypes.exact({
@@ -9268,6 +9316,7 @@ T['io.flow.internal.v0.enums.onboarding_audit_theme_key'] = PropTypes.oneOf([
9268
9316
  'billing',
9269
9317
  'b2b_invoicing',
9270
9318
  'catalog',
9319
+ 'currency',
9271
9320
  'checkout',
9272
9321
  'fraud',
9273
9322
  'logistics',
@@ -25313,6 +25362,14 @@ T['io.flow.adyen.v0.models.payment_details'] = PropTypes.exact({
25313
25362
  paymentData: PropTypes.string,
25314
25363
  });
25315
25364
 
25365
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_challenge'] = PropTypes.exact({
25366
+ 'threeds2.challengeResult': PropTypes.string.isRequired,
25367
+ });
25368
+
25369
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_fingerprint'] = PropTypes.exact({
25370
+ 'threeds2.fingerprint': PropTypes.string.isRequired,
25371
+ });
25372
+
25316
25373
  T['io.flow.adyen.v0.models.request_for_information_additional_data'] = PropTypes.exact({
25317
25374
  rfiSchemeCode: PropTypes.string.isRequired,
25318
25375
  modificationMerchantReferences: PropTypes.string.isRequired,