@flowio/api-internal-prop-types 1.2.26 → 1.2.28
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/.apibuilder/.tracked_files +33 -3
- package/.eslintcache +1 -1
- package/lib/index.d.ts +14 -0
- package/lib/io/flow/adyen/v0/models/authorizeRequest.js +6 -1
- package/lib/io/flow/adyen/v0/models/authorizeRequest3D.js +18 -0
- package/lib/io/flow/adyen/v0/models/authorizeResponse.js +4 -1
- package/lib/io/flow/{harmonization/v0/models/avalaraTaxSetting.js → adyen/v0/models/browserInfo.js} +2 -3
- package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +1 -1
- package/lib/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/lib/io/flow/common/v0/enums/discountTarget.js +13 -0
- package/lib/io/flow/common/v0/models/customerForm.js +32 -0
- package/lib/io/flow/common/v0/models/discountForm.js +25 -0
- package/lib/io/flow/{harmonization/v0/unions/taxSetting.js → common/v0/models/discountOfferFixed.js} +5 -3
- package/lib/io/flow/common/v0/models/discountOfferPercent.js +15 -0
- package/lib/io/flow/common/v0/models/discountsForm.js +19 -0
- package/lib/io/flow/common/v0/models/lineItemForm.js +6 -1
- package/lib/io/flow/common/v0/models/priceSourceCatalog.js +19 -0
- package/lib/io/flow/common/v0/models/priceSourcePriceBook.js +29 -0
- package/lib/io/flow/common/v0/models/priceSourcePriceBookReference.js +16 -0
- package/lib/io/flow/common/v0/models/priceSourceProvided.js +19 -0
- package/lib/io/flow/common/v0/unions/discountOffer.js +21 -0
- package/lib/io/flow/common/v0/unions/priceSource.js +25 -0
- package/lib/io/flow/experience/v0/models/localizedLineItem.js +7 -1
- package/lib/io/flow/experience/v0/models/localizedLineItemDiscount.js +2 -1
- package/lib/io/flow/experience/v0/models/orderForm.js +8 -3
- package/lib/io/flow/experience/v0/models/orderPutForm.js +8 -3
- package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/internal/v0/enums/calculationStyle.js +13 -0
- package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
- package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +16 -0
- package/lib/io/flow/internal/v0/models/allItemsExport.js +18 -0
- package/lib/io/flow/internal/v0/models/billingOrderDestination.js +18 -0
- package/lib/io/flow/internal/v0/models/billingOrderSummary.js +6 -1
- package/lib/io/flow/internal/v0/models/checkoutConfigurationDeleted.js +22 -0
- package/lib/io/flow/internal/v0/models/checkoutConfigurationUpserted.js +22 -0
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
- package/lib/io/flow/internal/v0/models/dutiedItemsExport.js +21 -0
- package/lib/io/flow/internal/v0/models/landedCostExport.js +23 -0
- package/lib/io/flow/internal/v0/models/landedCostItem.js +17 -0
- package/lib/io/flow/internal/v0/models/taxCalculation.js +25 -0
- package/lib/io/flow/internal/v0/models/taxCalculationForm.js +33 -0
- package/lib/io/flow/internal/v0/models/taxCalculationLineItem.js +20 -0
- package/lib/io/flow/internal/v0/models/taxCalculationLineItemForm.js +25 -0
- package/lib/io/flow/internal/v0/unions/event.js +21 -1
- package/lib/io/flow/internal/v0/unions/paymentRedirectForm.js +17 -0
- package/lib/io/flow/payment/v0/models/authorizationResult.js +1 -1
- package/lib/io/flow/payment/v0/models/authorizationResultActionPost.js +21 -0
- package/lib/io/flow/payment/v0/models/authorizationResultActionWait.js +19 -0
- package/lib/io/flow/payment/v0/unions/authorizationResultAction.js +25 -0
- package/lib/io/flow/shopify/external/v0/models/priceRule.js +11 -0
- package/lib/io/flow/shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js +16 -0
- package/lib/io/flow/shopify/v0/models/shopifyLine.js +6 -1
- package/lib/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +6 -1
- package/lib/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
- package/lib/mocks.js +14 -0
- package/lib/validators.js +70 -0
- package/package.json +2 -2
- package/src/index.d.ts +14 -0
- package/src/io/flow/adyen/v0/models/authorizeRequest.js +2 -0
- package/src/io/flow/adyen/v0/models/authorizeRequest3D.js +8 -0
- package/src/io/flow/adyen/v0/models/authorizeResponse.js +3 -0
- package/src/io/flow/adyen/v0/models/browserInfo.js +6 -0
- package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +2 -0
- package/src/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +1 -1
- package/src/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/src/io/flow/common/v0/enums/discountTarget.js +3 -0
- package/src/io/flow/common/v0/models/customerForm.js +13 -0
- package/src/io/flow/common/v0/models/discountForm.js +9 -0
- package/src/io/flow/common/v0/models/discountOfferFixed.js +6 -0
- package/src/io/flow/common/v0/models/discountOfferPercent.js +5 -0
- package/src/io/flow/common/v0/models/discountsForm.js +6 -0
- package/src/io/flow/common/v0/models/lineItemForm.js +2 -0
- package/src/io/flow/common/v0/models/priceSourceCatalog.js +6 -0
- package/src/io/flow/common/v0/models/priceSourcePriceBook.js +10 -0
- package/src/io/flow/common/v0/models/priceSourcePriceBookReference.js +6 -0
- package/src/io/flow/common/v0/models/priceSourceProvided.js +6 -0
- package/src/io/flow/common/v0/unions/discountOffer.js +5 -0
- package/src/io/flow/common/v0/unions/priceSource.js +10 -0
- package/src/io/flow/experience/v0/models/localizedLineItem.js +3 -0
- package/src/io/flow/experience/v0/models/localizedLineItemDiscount.js +1 -0
- package/src/io/flow/experience/v0/models/orderForm.js +4 -2
- package/src/io/flow/experience/v0/models/orderPutForm.js +4 -2
- package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +2 -0
- package/src/io/flow/internal/v0/enums/calculationStyle.js +3 -0
- package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
- package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/src/io/flow/internal/v0/enums/eventType.js +5 -0
- package/src/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +6 -0
- package/src/io/flow/internal/v0/models/allItemsExport.js +8 -0
- package/src/io/flow/internal/v0/models/billingOrderDestination.js +8 -0
- package/src/io/flow/internal/v0/models/billingOrderSummary.js +2 -0
- package/src/io/flow/internal/v0/models/checkoutConfigurationDeleted.js +9 -0
- package/src/io/flow/internal/v0/models/checkoutConfigurationUpserted.js +9 -0
- package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
- package/src/io/flow/internal/v0/models/dutiedItemsExport.js +11 -0
- package/src/io/flow/internal/v0/models/landedCostExport.js +10 -0
- package/src/io/flow/internal/v0/models/landedCostItem.js +7 -0
- package/src/io/flow/internal/v0/models/taxCalculation.js +12 -0
- package/src/io/flow/internal/v0/models/taxCalculationForm.js +14 -0
- package/src/io/flow/internal/v0/models/taxCalculationLineItem.js +10 -0
- package/src/io/flow/internal/v0/models/taxCalculationLineItemForm.js +12 -0
- package/src/io/flow/internal/v0/unions/event.js +10 -0
- package/src/io/flow/internal/v0/unions/paymentRedirectForm.js +4 -0
- package/src/io/flow/payment/v0/models/authorizationResult.js +1 -1
- package/src/io/flow/payment/v0/models/authorizationResultActionPost.js +8 -0
- package/src/io/flow/payment/v0/models/authorizationResultActionWait.js +6 -0
- package/src/io/flow/payment/v0/unions/authorizationResultAction.js +10 -0
- package/src/io/flow/shopify/external/v0/models/priceRule.js +8 -0
- package/src/io/flow/shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js +6 -0
- package/src/io/flow/shopify/v0/models/shopifyLine.js +2 -0
- package/src/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +2 -0
- package/src/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
- package/src/mocks.js +14 -0
- package/src/validators.js +28 -0
- package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +0 -7
- package/src/io/flow/harmonization/v0/unions/taxSetting.js +0 -4
- /package/lib/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
- /package/src/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
package/lib/validators.js
CHANGED
|
@@ -20,6 +20,10 @@ var _billingTransactionType = require('./io/flow/internal/v0/enums/billingTransa
|
|
|
20
20
|
|
|
21
21
|
var _billingTransactionType2 = _interopRequireDefault(_billingTransactionType);
|
|
22
22
|
|
|
23
|
+
var _calculationStyle = require('./io/flow/internal/v0/enums/calculationStyle');
|
|
24
|
+
|
|
25
|
+
var _calculationStyle2 = _interopRequireDefault(_calculationStyle);
|
|
26
|
+
|
|
23
27
|
var _carrierLabelGenerationMethod = require('./io/flow/internal/v0/enums/carrierLabelGenerationMethod');
|
|
24
28
|
|
|
25
29
|
var _carrierLabelGenerationMethod2 = _interopRequireDefault(_carrierLabelGenerationMethod);
|
|
@@ -388,6 +392,10 @@ var _adyenCaptureUpserted = require('./io/flow/internal/v0/models/adyenCaptureUp
|
|
|
388
392
|
|
|
389
393
|
var _adyenCaptureUpserted2 = _interopRequireDefault(_adyenCaptureUpserted);
|
|
390
394
|
|
|
395
|
+
var _adyenClassicPaymentRedirectForm = require('./io/flow/internal/v0/models/adyenClassicPaymentRedirectForm');
|
|
396
|
+
|
|
397
|
+
var _adyenClassicPaymentRedirectForm2 = _interopRequireDefault(_adyenClassicPaymentRedirectForm);
|
|
398
|
+
|
|
391
399
|
var _adyenInternalAuthorization = require('./io/flow/internal/v0/models/adyenInternalAuthorization');
|
|
392
400
|
|
|
393
401
|
var _adyenInternalAuthorization2 = _interopRequireDefault(_adyenInternalAuthorization);
|
|
@@ -432,6 +440,10 @@ var _alertRequeueSummary = require('./io/flow/internal/v0/models/alertRequeueSum
|
|
|
432
440
|
|
|
433
441
|
var _alertRequeueSummary2 = _interopRequireDefault(_alertRequeueSummary);
|
|
434
442
|
|
|
443
|
+
var _allItemsExport = require('./io/flow/internal/v0/models/allItemsExport');
|
|
444
|
+
|
|
445
|
+
var _allItemsExport2 = _interopRequireDefault(_allItemsExport);
|
|
446
|
+
|
|
435
447
|
var _allocationItemReference = require('./io/flow/internal/v0/models/allocationItemReference');
|
|
436
448
|
|
|
437
449
|
var _allocationItemReference2 = _interopRequireDefault(_allocationItemReference);
|
|
@@ -516,6 +528,10 @@ var _billingInvoiceSummary = require('./io/flow/internal/v0/models/billingInvoic
|
|
|
516
528
|
|
|
517
529
|
var _billingInvoiceSummary2 = _interopRequireDefault(_billingInvoiceSummary);
|
|
518
530
|
|
|
531
|
+
var _billingOrderDestination = require('./io/flow/internal/v0/models/billingOrderDestination');
|
|
532
|
+
|
|
533
|
+
var _billingOrderDestination2 = _interopRequireDefault(_billingOrderDestination);
|
|
534
|
+
|
|
519
535
|
var _billingOrderSummary = require('./io/flow/internal/v0/models/billingOrderSummary');
|
|
520
536
|
|
|
521
537
|
var _billingOrderSummary2 = _interopRequireDefault(_billingOrderSummary);
|
|
@@ -688,10 +704,18 @@ var _checkoutConfiguration = require('./io/flow/internal/v0/models/checkoutConfi
|
|
|
688
704
|
|
|
689
705
|
var _checkoutConfiguration2 = _interopRequireDefault(_checkoutConfiguration);
|
|
690
706
|
|
|
707
|
+
var _checkoutConfigurationDeleted = require('./io/flow/internal/v0/models/checkoutConfigurationDeleted');
|
|
708
|
+
|
|
709
|
+
var _checkoutConfigurationDeleted2 = _interopRequireDefault(_checkoutConfigurationDeleted);
|
|
710
|
+
|
|
691
711
|
var _checkoutConfigurationReference = require('./io/flow/internal/v0/models/checkoutConfigurationReference');
|
|
692
712
|
|
|
693
713
|
var _checkoutConfigurationReference2 = _interopRequireDefault(_checkoutConfigurationReference);
|
|
694
714
|
|
|
715
|
+
var _checkoutConfigurationUpserted = require('./io/flow/internal/v0/models/checkoutConfigurationUpserted');
|
|
716
|
+
|
|
717
|
+
var _checkoutConfigurationUpserted2 = _interopRequireDefault(_checkoutConfigurationUpserted);
|
|
718
|
+
|
|
695
719
|
var _checkoutContent = require('./io/flow/internal/v0/models/checkoutContent');
|
|
696
720
|
|
|
697
721
|
var _checkoutContent2 = _interopRequireDefault(_checkoutContent);
|
|
@@ -884,6 +908,10 @@ var _discountRequestOrderForm = require('./io/flow/internal/v0/models/discountRe
|
|
|
884
908
|
|
|
885
909
|
var _discountRequestOrderForm2 = _interopRequireDefault(_discountRequestOrderForm);
|
|
886
910
|
|
|
911
|
+
var _dutiedItemsExport = require('./io/flow/internal/v0/models/dutiedItemsExport');
|
|
912
|
+
|
|
913
|
+
var _dutiedItemsExport2 = _interopRequireDefault(_dutiedItemsExport);
|
|
914
|
+
|
|
887
915
|
var _duties = require('./io/flow/internal/v0/models/duties');
|
|
888
916
|
|
|
889
917
|
var _duties2 = _interopRequireDefault(_duties);
|
|
@@ -1540,6 +1568,14 @@ var _labeledContent = require('./io/flow/internal/v0/models/labeledContent');
|
|
|
1540
1568
|
|
|
1541
1569
|
var _labeledContent2 = _interopRequireDefault(_labeledContent);
|
|
1542
1570
|
|
|
1571
|
+
var _landedCostExport = require('./io/flow/internal/v0/models/landedCostExport');
|
|
1572
|
+
|
|
1573
|
+
var _landedCostExport2 = _interopRequireDefault(_landedCostExport);
|
|
1574
|
+
|
|
1575
|
+
var _landedCostItem = require('./io/flow/internal/v0/models/landedCostItem');
|
|
1576
|
+
|
|
1577
|
+
var _landedCostItem2 = _interopRequireDefault(_landedCostItem);
|
|
1578
|
+
|
|
1543
1579
|
var _landmark = require('./io/flow/internal/v0/models/landmark');
|
|
1544
1580
|
|
|
1545
1581
|
var _landmark2 = _interopRequireDefault(_landmark);
|
|
@@ -2504,6 +2540,22 @@ var _taskSummarizeCode = require('./io/flow/internal/v0/models/taskSummarizeCode
|
|
|
2504
2540
|
|
|
2505
2541
|
var _taskSummarizeCode2 = _interopRequireDefault(_taskSummarizeCode);
|
|
2506
2542
|
|
|
2543
|
+
var _taxCalculation = require('./io/flow/internal/v0/models/taxCalculation');
|
|
2544
|
+
|
|
2545
|
+
var _taxCalculation2 = _interopRequireDefault(_taxCalculation);
|
|
2546
|
+
|
|
2547
|
+
var _taxCalculationForm = require('./io/flow/internal/v0/models/taxCalculationForm');
|
|
2548
|
+
|
|
2549
|
+
var _taxCalculationForm2 = _interopRequireDefault(_taxCalculationForm);
|
|
2550
|
+
|
|
2551
|
+
var _taxCalculationLineItem = require('./io/flow/internal/v0/models/taxCalculationLineItem');
|
|
2552
|
+
|
|
2553
|
+
var _taxCalculationLineItem2 = _interopRequireDefault(_taxCalculationLineItem);
|
|
2554
|
+
|
|
2555
|
+
var _taxCalculationLineItemForm = require('./io/flow/internal/v0/models/taxCalculationLineItemForm');
|
|
2556
|
+
|
|
2557
|
+
var _taxCalculationLineItemForm2 = _interopRequireDefault(_taxCalculationLineItemForm);
|
|
2558
|
+
|
|
2507
2559
|
var _taxRemittanceTransaction = require('./io/flow/internal/v0/models/taxRemittanceTransaction');
|
|
2508
2560
|
|
|
2509
2561
|
var _taxRemittanceTransaction2 = _interopRequireDefault(_taxRemittanceTransaction);
|
|
@@ -2704,6 +2756,10 @@ var _paymentRedirect = require('./io/flow/internal/v0/unions/paymentRedirect');
|
|
|
2704
2756
|
|
|
2705
2757
|
var _paymentRedirect2 = _interopRequireDefault(_paymentRedirect);
|
|
2706
2758
|
|
|
2759
|
+
var _paymentRedirectForm = require('./io/flow/internal/v0/unions/paymentRedirectForm');
|
|
2760
|
+
|
|
2761
|
+
var _paymentRedirectForm2 = _interopRequireDefault(_paymentRedirectForm);
|
|
2762
|
+
|
|
2707
2763
|
var _paymentSummaryDetails = require('./io/flow/internal/v0/unions/paymentSummaryDetails');
|
|
2708
2764
|
|
|
2709
2765
|
var _paymentSummaryDetails2 = _interopRequireDefault(_paymentSummaryDetails);
|
|
@@ -2759,6 +2815,7 @@ exports.default = {
|
|
|
2759
2815
|
billingStatementAttachmentKey: _billingStatementAttachmentKey2.default,
|
|
2760
2816
|
billingTransactionStatus: _billingTransactionStatus2.default,
|
|
2761
2817
|
billingTransactionType: _billingTransactionType2.default,
|
|
2818
|
+
calculationStyle: _calculationStyle2.default,
|
|
2762
2819
|
carrierLabelGenerationMethod: _carrierLabelGenerationMethod2.default,
|
|
2763
2820
|
catalogImportType: _catalogImportType2.default,
|
|
2764
2821
|
checkoutPromptBehavior: _checkoutPromptBehavior2.default,
|
|
@@ -2851,6 +2908,7 @@ exports.default = {
|
|
|
2851
2908
|
adyenCancelUpserted: _adyenCancelUpserted2.default,
|
|
2852
2909
|
adyenCaptureDeleted: _adyenCaptureDeleted2.default,
|
|
2853
2910
|
adyenCaptureUpserted: _adyenCaptureUpserted2.default,
|
|
2911
|
+
adyenClassicPaymentRedirectForm: _adyenClassicPaymentRedirectForm2.default,
|
|
2854
2912
|
adyenInternalAuthorization: _adyenInternalAuthorization2.default,
|
|
2855
2913
|
adyenInternalCancel: _adyenInternalCancel2.default,
|
|
2856
2914
|
adyenInternalCapture: _adyenInternalCapture2.default,
|
|
@@ -2862,6 +2920,7 @@ exports.default = {
|
|
|
2862
2920
|
alertFailureSummary: _alertFailureSummary2.default,
|
|
2863
2921
|
alertFailureSummaryDetail: _alertFailureSummaryDetail2.default,
|
|
2864
2922
|
alertRequeueSummary: _alertRequeueSummary2.default,
|
|
2923
|
+
allItemsExport: _allItemsExport2.default,
|
|
2865
2924
|
allocationItemReference: _allocationItemReference2.default,
|
|
2866
2925
|
apmContent: _apmContent2.default,
|
|
2867
2926
|
applePaymentToken: _applePaymentToken2.default,
|
|
@@ -2883,6 +2942,7 @@ exports.default = {
|
|
|
2883
2942
|
billingAllocationBreakout: _billingAllocationBreakout2.default,
|
|
2884
2943
|
billingAuthorizationReference: _billingAuthorizationReference2.default,
|
|
2885
2944
|
billingInvoiceSummary: _billingInvoiceSummary2.default,
|
|
2945
|
+
billingOrderDestination: _billingOrderDestination2.default,
|
|
2886
2946
|
billingOrderSummary: _billingOrderSummary2.default,
|
|
2887
2947
|
billingOrganizationProcessingRates: _billingOrganizationProcessingRates2.default,
|
|
2888
2948
|
billingOrganizationSettings: _billingOrganizationSettings2.default,
|
|
@@ -2926,7 +2986,9 @@ exports.default = {
|
|
|
2926
2986
|
checkoutBehaviorShippingMethod: _checkoutBehaviorShippingMethod2.default,
|
|
2927
2987
|
checkoutBundle: _checkoutBundle2.default,
|
|
2928
2988
|
checkoutConfiguration: _checkoutConfiguration2.default,
|
|
2989
|
+
checkoutConfigurationDeleted: _checkoutConfigurationDeleted2.default,
|
|
2929
2990
|
checkoutConfigurationReference: _checkoutConfigurationReference2.default,
|
|
2991
|
+
checkoutConfigurationUpserted: _checkoutConfigurationUpserted2.default,
|
|
2930
2992
|
checkoutContent: _checkoutContent2.default,
|
|
2931
2993
|
checkoutFinalizeOrderForm: _checkoutFinalizeOrderForm2.default,
|
|
2932
2994
|
checkoutMarketingContent: _checkoutMarketingContent2.default,
|
|
@@ -2975,6 +3037,7 @@ exports.default = {
|
|
|
2975
3037
|
discountRequestOfferFixedAmountForm: _discountRequestOfferFixedAmountForm2.default,
|
|
2976
3038
|
discountRequestOrderEntitlementForm: _discountRequestOrderEntitlementForm2.default,
|
|
2977
3039
|
discountRequestOrderForm: _discountRequestOrderForm2.default,
|
|
3040
|
+
dutiedItemsExport: _dutiedItemsExport2.default,
|
|
2978
3041
|
duties: _duties2.default,
|
|
2979
3042
|
dutyCompoundExpression: _dutyCompoundExpression2.default,
|
|
2980
3043
|
dutyRate: _dutyRate2.default,
|
|
@@ -3139,6 +3202,8 @@ exports.default = {
|
|
|
3139
3202
|
labelInvoiceUpserted: _labelInvoiceUpserted2.default,
|
|
3140
3203
|
labelSummary: _labelSummary2.default,
|
|
3141
3204
|
labeledContent: _labeledContent2.default,
|
|
3205
|
+
landedCostExport: _landedCostExport2.default,
|
|
3206
|
+
landedCostItem: _landedCostItem2.default,
|
|
3142
3207
|
landmark: _landmark2.default,
|
|
3143
3208
|
lineActionForm: _lineActionForm2.default,
|
|
3144
3209
|
lineActionQuantities: _lineActionQuantities2.default,
|
|
@@ -3380,6 +3445,10 @@ exports.default = {
|
|
|
3380
3445
|
taskItemUpserted: _taskItemUpserted2.default,
|
|
3381
3446
|
taskProcessQueuedEvent: _taskProcessQueuedEvent2.default,
|
|
3382
3447
|
taskSummarizeCode: _taskSummarizeCode2.default,
|
|
3448
|
+
taxCalculation: _taxCalculation2.default,
|
|
3449
|
+
taxCalculationForm: _taxCalculationForm2.default,
|
|
3450
|
+
taxCalculationLineItem: _taxCalculationLineItem2.default,
|
|
3451
|
+
taxCalculationLineItemForm: _taxCalculationLineItemForm2.default,
|
|
3383
3452
|
taxRemittanceTransaction: _taxRemittanceTransaction2.default,
|
|
3384
3453
|
timeCondition: _timeCondition2.default,
|
|
3385
3454
|
timeWithTimezone: _timeWithTimezone2.default,
|
|
@@ -3430,6 +3499,7 @@ exports.default = {
|
|
|
3430
3499
|
paymentAccount: _paymentAccount2.default,
|
|
3431
3500
|
paymentAccountForm: _paymentAccountForm2.default,
|
|
3432
3501
|
paymentRedirect: _paymentRedirect2.default,
|
|
3502
|
+
paymentRedirectForm: _paymentRedirectForm2.default,
|
|
3433
3503
|
paymentSummaryDetails: _paymentSummaryDetails2.default,
|
|
3434
3504
|
repeatSchedule: _repeatSchedule2.default,
|
|
3435
3505
|
shopifyCheckoutBundle: _shopifyCheckoutBundle2.default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.28",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"prop-types": "^15.7.2",
|
|
42
42
|
"rimraf": "^2.6.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "c8cc47ba346ea31620799025e79aa372d75316da"
|
|
45
45
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const defaultExport: {
|
|
|
25
25
|
adyenCancelUpserted: Requireable<any> & Validator<any>;
|
|
26
26
|
adyenCaptureDeleted: Requireable<any> & Validator<any>;
|
|
27
27
|
adyenCaptureUpserted: Requireable<any> & Validator<any>;
|
|
28
|
+
adyenClassicPaymentRedirectForm: Requireable<any> & Validator<any>;
|
|
28
29
|
adyenInternalAuthorization: Requireable<any> & Validator<any>;
|
|
29
30
|
adyenInternalCancel: Requireable<any> & Validator<any>;
|
|
30
31
|
adyenInternalCapture: Requireable<any> & Validator<any>;
|
|
@@ -36,6 +37,7 @@ declare const defaultExport: {
|
|
|
36
37
|
alertFailureSummary: Requireable<any> & Validator<any>;
|
|
37
38
|
alertFailureSummaryDetail: Requireable<any> & Validator<any>;
|
|
38
39
|
alertRequeueSummary: Requireable<any> & Validator<any>;
|
|
40
|
+
allItemsExport: Requireable<any> & Validator<any>;
|
|
39
41
|
allocationItemReference: Requireable<any> & Validator<any>;
|
|
40
42
|
apmContent: Requireable<any> & Validator<any>;
|
|
41
43
|
applePaymentToken: Requireable<any> & Validator<any>;
|
|
@@ -60,6 +62,7 @@ declare const defaultExport: {
|
|
|
60
62
|
billingAllocationKey: Requireable<any> & Validator<any>;
|
|
61
63
|
billingAuthorizationReference: Requireable<any> & Validator<any>;
|
|
62
64
|
billingInvoiceSummary: Requireable<any> & Validator<any>;
|
|
65
|
+
billingOrderDestination: Requireable<any> & Validator<any>;
|
|
63
66
|
billingOrderSummary: Requireable<any> & Validator<any>;
|
|
64
67
|
billingOrganizationProcessingRates: Requireable<any> & Validator<any>;
|
|
65
68
|
billingOrganizationSettings: Requireable<any> & Validator<any>;
|
|
@@ -85,6 +88,7 @@ declare const defaultExport: {
|
|
|
85
88
|
booleanFeatureValue: Requireable<any> & Validator<any>;
|
|
86
89
|
brickWebhookEvent: Requireable<any> & Validator<any>;
|
|
87
90
|
brickWebhookEventResponse: Requireable<any> & Validator<any>;
|
|
91
|
+
calculationStyle: Requireable<any> & Validator<any>;
|
|
88
92
|
carrierAccount: Requireable<any> & Validator<any>;
|
|
89
93
|
carrierAccountUpserted: Requireable<any> & Validator<any>;
|
|
90
94
|
carrierCredentials: Requireable<any> & Validator<any>;
|
|
@@ -109,7 +113,9 @@ declare const defaultExport: {
|
|
|
109
113
|
checkoutBehaviorShippingMethod: Requireable<any> & Validator<any>;
|
|
110
114
|
checkoutBundle: Requireable<any> & Validator<any>;
|
|
111
115
|
checkoutConfiguration: Requireable<any> & Validator<any>;
|
|
116
|
+
checkoutConfigurationDeleted: Requireable<any> & Validator<any>;
|
|
112
117
|
checkoutConfigurationReference: Requireable<any> & Validator<any>;
|
|
118
|
+
checkoutConfigurationUpserted: Requireable<any> & Validator<any>;
|
|
113
119
|
checkoutContent: Requireable<any> & Validator<any>;
|
|
114
120
|
checkoutFinalizeOrderForm: Requireable<any> & Validator<any>;
|
|
115
121
|
checkoutMarketingContent: Requireable<any> & Validator<any>;
|
|
@@ -173,6 +179,7 @@ declare const defaultExport: {
|
|
|
173
179
|
discountRequestOrderEntitlementForm: Requireable<any> & Validator<any>;
|
|
174
180
|
discountRequestOrderEntitlementKey: Requireable<any> & Validator<any>;
|
|
175
181
|
discountRequestOrderForm: Requireable<any> & Validator<any>;
|
|
182
|
+
dutiedItemsExport: Requireable<any> & Validator<any>;
|
|
176
183
|
duties: Requireable<any> & Validator<any>;
|
|
177
184
|
dutyCompoundExpression: Requireable<any> & Validator<any>;
|
|
178
185
|
dutyCompoundExpressionType: Requireable<any> & Validator<any>;
|
|
@@ -375,6 +382,8 @@ declare const defaultExport: {
|
|
|
375
382
|
labelInvoiceUpserted: Requireable<any> & Validator<any>;
|
|
376
383
|
labelSummary: Requireable<any> & Validator<any>;
|
|
377
384
|
labeledContent: Requireable<any> & Validator<any>;
|
|
385
|
+
landedCostExport: Requireable<any> & Validator<any>;
|
|
386
|
+
landedCostItem: Requireable<any> & Validator<any>;
|
|
378
387
|
landmark: Requireable<any> & Validator<any>;
|
|
379
388
|
lineActionForm: Requireable<any> & Validator<any>;
|
|
380
389
|
lineActionQuantities: Requireable<any> & Validator<any>;
|
|
@@ -506,6 +515,7 @@ declare const defaultExport: {
|
|
|
506
515
|
paymentAccount: Requireable<any> & Validator<any>;
|
|
507
516
|
paymentAccountForm: Requireable<any> & Validator<any>;
|
|
508
517
|
paymentRedirect: Requireable<any> & Validator<any>;
|
|
518
|
+
paymentRedirectForm: Requireable<any> & Validator<any>;
|
|
509
519
|
paymentSummaryDetails: Requireable<any> & Validator<any>;
|
|
510
520
|
paymentSummaryStatus: Requireable<any> & Validator<any>;
|
|
511
521
|
paymentSummaryType: Requireable<any> & Validator<any>;
|
|
@@ -666,6 +676,10 @@ declare const defaultExport: {
|
|
|
666
676
|
taskItemUpserted: Requireable<any> & Validator<any>;
|
|
667
677
|
taskProcessQueuedEvent: Requireable<any> & Validator<any>;
|
|
668
678
|
taskSummarizeCode: Requireable<any> & Validator<any>;
|
|
679
|
+
taxCalculation: Requireable<any> & Validator<any>;
|
|
680
|
+
taxCalculationForm: Requireable<any> & Validator<any>;
|
|
681
|
+
taxCalculationLineItem: Requireable<any> & Validator<any>;
|
|
682
|
+
taxCalculationLineItemForm: Requireable<any> & Validator<any>;
|
|
669
683
|
taxRemittanceTransaction: Requireable<any> & Validator<any>;
|
|
670
684
|
timeCondition: Requireable<any> & Validator<any>;
|
|
671
685
|
timeWithTimezone: Requireable<any> & Validator<any>;
|
|
@@ -6,6 +6,7 @@ import address from './address';
|
|
|
6
6
|
import shopperInteraction from '../enums/shopperInteraction';
|
|
7
7
|
import bankAccount from './bankAccount';
|
|
8
8
|
import threeDSecureData from './threeDSecureData';
|
|
9
|
+
import browserInfo from './browserInfo';
|
|
9
10
|
|
|
10
11
|
export default PropTypes.shape({
|
|
11
12
|
reference: PropTypes.string.isRequired,
|
|
@@ -26,4 +27,5 @@ export default PropTypes.shape({
|
|
|
26
27
|
additionalData: PropTypes.object,
|
|
27
28
|
mpiData: threeDSecureData,
|
|
28
29
|
selectedBrand: PropTypes.string,
|
|
30
|
+
browserInfo: browserInfo,
|
|
29
31
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import name from './name';
|
|
3
|
+
import billingAddress from './billingAddress';
|
|
4
|
+
import customerInvoice from './customerInvoice';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
name: name,
|
|
8
|
+
number: PropTypes.string,
|
|
9
|
+
phone: PropTypes.string,
|
|
10
|
+
email: PropTypes.string,
|
|
11
|
+
address: billingAddress,
|
|
12
|
+
invoice: customerInvoice,
|
|
13
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import discountOffer from '../unions/discountOffer';
|
|
3
|
+
import discountTarget from '../enums/discountTarget';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
offer: discountOffer.isRequired,
|
|
7
|
+
target: discountTarget,
|
|
8
|
+
label: PropTypes.string,
|
|
9
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import datetimeRange from './datetimeRange';
|
|
3
3
|
import money from './money';
|
|
4
|
+
import discountsForm from './discountsForm';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
number: PropTypes.string.isRequired,
|
|
@@ -10,4 +11,5 @@ export default PropTypes.shape({
|
|
|
10
11
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
11
12
|
center: PropTypes.string,
|
|
12
13
|
discount: money,
|
|
14
|
+
discounts: discountsForm,
|
|
13
15
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import money from './money';
|
|
3
|
+
import includedLevies from './includedLevies';
|
|
4
|
+
import priceSourcePriceBookReference from './priceSourcePriceBookReference';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
price: money.isRequired,
|
|
8
|
+
includes: includedLevies.isRequired,
|
|
9
|
+
price_book_reference: priceSourcePriceBookReference.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import priceSourcePriceBook from '../models/priceSourcePriceBook';
|
|
3
|
+
import priceSourceCatalog from '../models/priceSourceCatalog';
|
|
4
|
+
import priceSourceProvided from '../models/priceSourceProvided';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.oneOfType([
|
|
7
|
+
priceSourcePriceBook,
|
|
8
|
+
priceSourceCatalog,
|
|
9
|
+
priceSourceProvided,
|
|
10
|
+
]);
|
|
@@ -3,6 +3,7 @@ import money from '../../../common/v0/models/money';
|
|
|
3
3
|
import localizedLineItemDiscount from './localizedLineItemDiscount';
|
|
4
4
|
import local from '../../../catalog/v0/models/local';
|
|
5
5
|
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
6
|
+
import priceSource from '../../../common/v0/unions/priceSource';
|
|
6
7
|
|
|
7
8
|
export default PropTypes.shape({
|
|
8
9
|
number: PropTypes.string.isRequired,
|
|
@@ -11,7 +12,9 @@ export default PropTypes.shape({
|
|
|
11
12
|
center: PropTypes.string,
|
|
12
13
|
price: money,
|
|
13
14
|
discount: localizedLineItemDiscount,
|
|
15
|
+
discounts: PropTypes.arrayOf(localizedLineItemDiscount),
|
|
14
16
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
15
17
|
local: local.isRequired,
|
|
16
18
|
shipment_estimate: datetimeRange,
|
|
19
|
+
price_source: priceSource,
|
|
17
20
|
});
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import customerForm from '../../../common/v0/models/customerForm';
|
|
3
3
|
import lineItemForm from '../../../common/v0/models/lineItemForm';
|
|
4
4
|
import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
|
|
5
5
|
import orderAddress from './orderAddress';
|
|
6
6
|
import money from '../../../common/v0/models/money';
|
|
7
|
+
import discountsForm from '../../../common/v0/models/discountsForm';
|
|
7
8
|
|
|
8
9
|
export default PropTypes.shape({
|
|
9
|
-
customer:
|
|
10
|
+
customer: customerForm,
|
|
10
11
|
items: PropTypes.arrayOf(lineItemForm).isRequired,
|
|
11
12
|
delivered_duty: deliveredDuty,
|
|
12
13
|
number: PropTypes.string,
|
|
13
14
|
destination: orderAddress,
|
|
14
15
|
discount: money,
|
|
16
|
+
discounts: discountsForm,
|
|
15
17
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
16
18
|
authorization_keys: PropTypes.arrayOf(PropTypes.string),
|
|
17
19
|
});
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import lineItemForm from '../../../common/v0/models/lineItemForm';
|
|
3
|
-
import
|
|
3
|
+
import customerForm from '../../../common/v0/models/customerForm';
|
|
4
4
|
import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
|
|
5
5
|
import orderAddress from './orderAddress';
|
|
6
6
|
import money from '../../../common/v0/models/money';
|
|
7
|
+
import discountsForm from '../../../common/v0/models/discountsForm';
|
|
7
8
|
|
|
8
9
|
export default PropTypes.shape({
|
|
9
10
|
items: PropTypes.arrayOf(lineItemForm).isRequired,
|
|
10
|
-
customer:
|
|
11
|
+
customer: customerForm,
|
|
11
12
|
delivered_duty: deliveredDuty,
|
|
12
13
|
selections: PropTypes.arrayOf(PropTypes.string),
|
|
13
14
|
destination: orderAddress,
|
|
14
15
|
discount: money,
|
|
16
|
+
discounts: discountsForm,
|
|
15
17
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
16
18
|
authorization_keys: PropTypes.arrayOf(PropTypes.string),
|
|
17
19
|
});
|
|
@@ -14,6 +14,8 @@ export default PropTypes.oneOf([
|
|
|
14
14
|
'carrier_account_upserted',
|
|
15
15
|
'catalog_import_request',
|
|
16
16
|
'catalog_item_region_availabilities_published',
|
|
17
|
+
'checkout_configuration_upserted',
|
|
18
|
+
'checkout_configuration_deleted',
|
|
17
19
|
'localized_content_upserted',
|
|
18
20
|
'localization_upserted',
|
|
19
21
|
'rate_deleted',
|
|
@@ -56,8 +58,11 @@ export default PropTypes.oneOf([
|
|
|
56
58
|
'blacklisted_item_created',
|
|
57
59
|
'blacklisted_item_updated',
|
|
58
60
|
'blacklisted_item_deleted',
|
|
61
|
+
'all_items_export',
|
|
59
62
|
'harmonized_items_hs6_export',
|
|
60
63
|
'unharmonized_items_export',
|
|
64
|
+
'dutied_items_export',
|
|
65
|
+
'landed_cost_export',
|
|
61
66
|
'harmonization_phrase_suggestion_request_import',
|
|
62
67
|
'harmonization_codes_import',
|
|
63
68
|
'customs_description_sugestion_created',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import billingOrderDestination from './billingOrderDestination';
|
|
2
3
|
|
|
3
4
|
export default PropTypes.shape({
|
|
4
5
|
number: PropTypes.string.isRequired,
|
|
5
6
|
submitted_at: PropTypes.string.isRequired,
|
|
6
7
|
primary_identifier: PropTypes.string,
|
|
8
|
+
destination: billingOrderDestination,
|
|
7
9
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import checkoutConfiguration from '../../../checkout/configuration/v0/models/checkoutConfiguration';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
organization: PropTypes.string.isRequired,
|
|
8
|
+
checkout_configuration: checkoutConfiguration.isRequired,
|
|
9
|
+
});
|