@flowio/api-internal-prop-types 1.2.2 → 1.2.3

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.
Files changed (102) hide show
  1. package/lib/index.d.ts +19 -1
  2. package/lib/io/flow/billing/v0/enums/billingTransactionType.js +1 -1
  3. package/lib/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
  4. package/lib/io/flow/experience/internal/v0/enums/discountRequestOrderEntitlementKey.js +13 -0
  5. package/lib/io/flow/experience/internal/v0/models/discountCode.js +15 -0
  6. package/lib/io/flow/experience/internal/v0/models/discountRequestForm.js +19 -0
  7. package/lib/io/flow/experience/internal/v0/models/discountRequestOfferFixedAmountForm.js +16 -0
  8. package/lib/io/flow/experience/internal/v0/models/discountRequestOrderEntitlementForm.js +24 -0
  9. package/lib/io/flow/experience/internal/v0/models/discountRequestOrderForm.js +19 -0
  10. package/lib/io/flow/experience/internal/v0/unions/discountRequestOfferForm.js +17 -0
  11. package/lib/io/flow/fulfillment/v0/enums/physicalDeliverySpecialSerivce.js +13 -0
  12. package/lib/io/flow/fulfillment/v0/models/deliveryOption.js +4 -9
  13. package/lib/io/flow/fulfillment/v0/models/physicalDelivery.js +6 -1
  14. package/lib/io/flow/fulfillment/v0/models/priceWithBaseAndDetails.js +27 -0
  15. package/lib/io/flow/harmonization/internal/v0/models/classificationFeatureSetDefault.js +20 -0
  16. package/lib/io/flow/harmonization/internal/v0/models/classificationFeaturesCategoryApparel.js +18 -0
  17. package/lib/io/flow/harmonization/internal/v0/unions/classificationFeatureSet.js +17 -0
  18. package/lib/io/flow/internal/v0/enums/billingTransactionType.js +1 -1
  19. package/lib/io/flow/internal/v0/enums/discountRequestOrderEntitlementKey.js +13 -0
  20. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  21. package/lib/io/flow/internal/v0/enums/httpMethod.js +13 -0
  22. package/lib/io/flow/internal/v0/models/applePaymentToken.js +22 -0
  23. package/lib/io/flow/internal/v0/models/applePaymentTokenHeader.js +19 -0
  24. package/lib/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  25. package/lib/io/flow/internal/v0/models/classificationFeatureSetDefault.js +20 -0
  26. package/lib/io/flow/internal/v0/models/classificationFeaturesCategoryApparel.js +18 -0
  27. package/lib/io/flow/internal/v0/models/discountCode.js +15 -0
  28. package/lib/io/flow/internal/v0/models/discountRequestForm.js +19 -0
  29. package/lib/io/flow/internal/v0/models/discountRequestOfferFixedAmountForm.js +16 -0
  30. package/lib/io/flow/internal/v0/models/discountRequestOrderEntitlementForm.js +24 -0
  31. package/lib/io/flow/internal/v0/models/discountRequestOrderForm.js +19 -0
  32. package/lib/io/flow/internal/v0/models/harmonizedItemsHs6Export.js +18 -0
  33. package/lib/io/flow/internal/v0/models/manualTransaction.js +33 -0
  34. package/lib/io/flow/internal/v0/models/manualTransactionForm.js +17 -0
  35. package/lib/io/flow/internal/v0/models/marketingGatewayAccount.js +1 -6
  36. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +3 -8
  37. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -4
  38. package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +9 -4
  39. package/lib/io/flow/internal/v0/models/{marketingGatewayCountryLanguage.js → marketingGatewayGoogleMarket.js} +2 -1
  40. package/lib/io/flow/internal/v0/models/marketingGatewayProduct.js +3 -3
  41. package/lib/io/flow/internal/v0/unions/authorizationPayload.js +17 -0
  42. package/lib/io/flow/internal/v0/unions/classificationFeatureSet.js +17 -0
  43. package/lib/io/flow/internal/v0/unions/discountRequestOfferForm.js +17 -0
  44. package/lib/io/flow/internal/v0/unions/event.js +5 -1
  45. package/lib/io/flow/internal/v0/unions/marketingGatewayPlatformMarket.js +17 -0
  46. package/lib/io/flow/internal/v0/unions/transaction.js +9 -5
  47. package/lib/io/flow/reference/v0/models/country.js +1 -0
  48. package/lib/io/flow/shopify/external/v0/models/shopifyLineItemForm.js +1 -0
  49. package/lib/mocks.js +19 -1
  50. package/lib/validators.js +95 -5
  51. package/package.json +1 -1
  52. package/src/index.d.ts +19 -1
  53. package/src/io/flow/billing/v0/enums/billingTransactionType.js +1 -0
  54. package/src/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
  55. package/src/io/flow/experience/internal/v0/enums/discountRequestOrderEntitlementKey.js +3 -0
  56. package/src/io/flow/experience/internal/v0/models/discountCode.js +5 -0
  57. package/src/io/flow/experience/internal/v0/models/discountRequestForm.js +6 -0
  58. package/src/io/flow/experience/internal/v0/models/discountRequestOfferFixedAmountForm.js +6 -0
  59. package/src/io/flow/experience/internal/v0/models/discountRequestOrderEntitlementForm.js +8 -0
  60. package/src/io/flow/experience/internal/v0/models/discountRequestOrderForm.js +8 -0
  61. package/src/io/flow/experience/internal/v0/unions/discountRequestOfferForm.js +4 -0
  62. package/src/io/flow/fulfillment/v0/enums/physicalDeliverySpecialSerivce.js +3 -0
  63. package/src/io/flow/fulfillment/v0/models/deliveryOption.js +3 -5
  64. package/src/io/flow/fulfillment/v0/models/physicalDelivery.js +2 -0
  65. package/src/io/flow/fulfillment/v0/models/priceWithBaseAndDetails.js +11 -0
  66. package/src/io/flow/harmonization/internal/v0/models/classificationFeatureSetDefault.js +7 -0
  67. package/src/io/flow/harmonization/internal/v0/models/classificationFeaturesCategoryApparel.js +8 -0
  68. package/src/io/flow/harmonization/internal/v0/unions/classificationFeatureSet.js +4 -0
  69. package/src/io/flow/internal/v0/enums/billingTransactionType.js +1 -0
  70. package/src/io/flow/internal/v0/enums/discountRequestOrderEntitlementKey.js +3 -0
  71. package/src/io/flow/internal/v0/enums/eventType.js +1 -0
  72. package/src/io/flow/internal/v0/enums/httpMethod.js +3 -0
  73. package/src/io/flow/internal/v0/models/applePaymentToken.js +9 -0
  74. package/src/io/flow/internal/v0/models/applePaymentTokenHeader.js +9 -0
  75. package/src/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  76. package/src/io/flow/internal/v0/models/classificationFeatureSetDefault.js +7 -0
  77. package/src/io/flow/internal/v0/models/classificationFeaturesCategoryApparel.js +8 -0
  78. package/src/io/flow/internal/v0/models/discountCode.js +5 -0
  79. package/src/io/flow/internal/v0/models/discountRequestForm.js +6 -0
  80. package/src/io/flow/internal/v0/models/discountRequestOfferFixedAmountForm.js +6 -0
  81. package/src/io/flow/internal/v0/models/discountRequestOrderEntitlementForm.js +8 -0
  82. package/src/io/flow/internal/v0/models/discountRequestOrderForm.js +8 -0
  83. package/src/io/flow/internal/v0/models/harmonizedItemsHs6Export.js +8 -0
  84. package/src/io/flow/internal/v0/models/manualTransaction.js +14 -0
  85. package/src/io/flow/internal/v0/models/manualTransactionForm.js +7 -0
  86. package/src/io/flow/internal/v0/models/marketingGatewayAccount.js +1 -3
  87. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +2 -4
  88. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +2 -3
  89. package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +5 -2
  90. package/src/io/flow/internal/v0/models/{marketingGatewayCountryLanguage.js → marketingGatewayGoogleMarket.js} +1 -0
  91. package/src/io/flow/internal/v0/models/marketingGatewayProduct.js +2 -2
  92. package/src/io/flow/internal/v0/unions/authorizationPayload.js +4 -0
  93. package/src/io/flow/internal/v0/unions/classificationFeatureSet.js +4 -0
  94. package/src/io/flow/internal/v0/unions/discountRequestOfferForm.js +4 -0
  95. package/src/io/flow/internal/v0/unions/event.js +2 -0
  96. package/src/io/flow/internal/v0/unions/marketingGatewayPlatformMarket.js +4 -0
  97. package/src/io/flow/internal/v0/unions/transaction.js +4 -2
  98. package/src/io/flow/reference/v0/models/country.js +1 -0
  99. package/src/io/flow/shopify/external/v0/models/shopifyLineItemForm.js +1 -0
  100. package/src/mocks.js +19 -1
  101. package/src/validators.js +38 -2
  102. package/.eslintcache +0 -1
package/lib/validators.js CHANGED
@@ -56,6 +56,10 @@ var _deminimisAdjustmentType = require('./io/flow/internal/v0/enums/deminimisAdj
56
56
 
57
57
  var _deminimisAdjustmentType2 = _interopRequireDefault(_deminimisAdjustmentType);
58
58
 
59
+ var _discountRequestOrderEntitlementKey = require('./io/flow/internal/v0/enums/discountRequestOrderEntitlementKey');
60
+
61
+ var _discountRequestOrderEntitlementKey2 = _interopRequireDefault(_discountRequestOrderEntitlementKey);
62
+
59
63
  var _dutyCompoundExpressionType = require('./io/flow/internal/v0/enums/dutyCompoundExpressionType');
60
64
 
61
65
  var _dutyCompoundExpressionType2 = _interopRequireDefault(_dutyCompoundExpressionType);
@@ -124,6 +128,10 @@ var _ftpProtocol = require('./io/flow/internal/v0/enums/ftpProtocol');
124
128
 
125
129
  var _ftpProtocol2 = _interopRequireDefault(_ftpProtocol);
126
130
 
131
+ var _httpMethod = require('./io/flow/internal/v0/enums/httpMethod');
132
+
133
+ var _httpMethod2 = _interopRequireDefault(_httpMethod);
134
+
127
135
  var _installmentPaymentType = require('./io/flow/internal/v0/enums/installmentPaymentType');
128
136
 
129
137
  var _installmentPaymentType2 = _interopRequireDefault(_installmentPaymentType);
@@ -324,6 +332,14 @@ var _apmContent = require('./io/flow/internal/v0/models/apmContent');
324
332
 
325
333
  var _apmContent2 = _interopRequireDefault(_apmContent);
326
334
 
335
+ var _applePaymentToken = require('./io/flow/internal/v0/models/applePaymentToken');
336
+
337
+ var _applePaymentToken2 = _interopRequireDefault(_applePaymentToken);
338
+
339
+ var _applePaymentTokenHeader = require('./io/flow/internal/v0/models/applePaymentTokenHeader');
340
+
341
+ var _applePaymentTokenHeader2 = _interopRequireDefault(_applePaymentTokenHeader);
342
+
327
343
  var _authenticationForm = require('./io/flow/internal/v0/models/authenticationForm');
328
344
 
329
345
  var _authenticationForm2 = _interopRequireDefault(_authenticationForm);
@@ -572,6 +588,14 @@ var _cipherReference = require('./io/flow/internal/v0/models/cipherReference');
572
588
 
573
589
  var _cipherReference2 = _interopRequireDefault(_cipherReference);
574
590
 
591
+ var _classificationFeatureSetDefault = require('./io/flow/internal/v0/models/classificationFeatureSetDefault');
592
+
593
+ var _classificationFeatureSetDefault2 = _interopRequireDefault(_classificationFeatureSetDefault);
594
+
595
+ var _classificationFeaturesCategoryApparel = require('./io/flow/internal/v0/models/classificationFeaturesCategoryApparel');
596
+
597
+ var _classificationFeaturesCategoryApparel2 = _interopRequireDefault(_classificationFeaturesCategoryApparel);
598
+
575
599
  var _completePriceRule = require('./io/flow/internal/v0/models/completePriceRule');
576
600
 
577
601
  var _completePriceRule2 = _interopRequireDefault(_completePriceRule);
@@ -672,6 +696,26 @@ var _dimensionEstimateVersion = require('./io/flow/internal/v0/models/dimensionE
672
696
 
673
697
  var _dimensionEstimateVersion2 = _interopRequireDefault(_dimensionEstimateVersion);
674
698
 
699
+ var _discountCode = require('./io/flow/internal/v0/models/discountCode');
700
+
701
+ var _discountCode2 = _interopRequireDefault(_discountCode);
702
+
703
+ var _discountRequestForm = require('./io/flow/internal/v0/models/discountRequestForm');
704
+
705
+ var _discountRequestForm2 = _interopRequireDefault(_discountRequestForm);
706
+
707
+ var _discountRequestOfferFixedAmountForm = require('./io/flow/internal/v0/models/discountRequestOfferFixedAmountForm');
708
+
709
+ var _discountRequestOfferFixedAmountForm2 = _interopRequireDefault(_discountRequestOfferFixedAmountForm);
710
+
711
+ var _discountRequestOrderEntitlementForm = require('./io/flow/internal/v0/models/discountRequestOrderEntitlementForm');
712
+
713
+ var _discountRequestOrderEntitlementForm2 = _interopRequireDefault(_discountRequestOrderEntitlementForm);
714
+
715
+ var _discountRequestOrderForm = require('./io/flow/internal/v0/models/discountRequestOrderForm');
716
+
717
+ var _discountRequestOrderForm2 = _interopRequireDefault(_discountRequestOrderForm);
718
+
675
719
  var _duties = require('./io/flow/internal/v0/models/duties');
676
720
 
677
721
  var _duties2 = _interopRequireDefault(_duties);
@@ -1088,6 +1132,10 @@ var _harmonizeFullyWithRate = require('./io/flow/internal/v0/models/harmonizeFul
1088
1132
 
1089
1133
  var _harmonizeFullyWithRate2 = _interopRequireDefault(_harmonizeFullyWithRate);
1090
1134
 
1135
+ var _harmonizedItemsHs6Export = require('./io/flow/internal/v0/models/harmonizedItemsHs6Export');
1136
+
1137
+ var _harmonizedItemsHs6Export2 = _interopRequireDefault(_harmonizedItemsHs6Export);
1138
+
1091
1139
  var _hop = require('./io/flow/internal/v0/models/hop');
1092
1140
 
1093
1141
  var _hop2 = _interopRequireDefault(_hop);
@@ -1464,6 +1512,14 @@ var _magentoInstallForm = require('./io/flow/internal/v0/models/magentoInstallFo
1464
1512
 
1465
1513
  var _magentoInstallForm2 = _interopRequireDefault(_magentoInstallForm);
1466
1514
 
1515
+ var _manualTransaction = require('./io/flow/internal/v0/models/manualTransaction');
1516
+
1517
+ var _manualTransaction2 = _interopRequireDefault(_manualTransaction);
1518
+
1519
+ var _manualTransactionForm = require('./io/flow/internal/v0/models/manualTransactionForm');
1520
+
1521
+ var _manualTransactionForm2 = _interopRequireDefault(_manualTransactionForm);
1522
+
1467
1523
  var _marketingGatewayAccount = require('./io/flow/internal/v0/models/marketingGatewayAccount');
1468
1524
 
1469
1525
  var _marketingGatewayAccount2 = _interopRequireDefault(_marketingGatewayAccount);
@@ -1484,14 +1540,14 @@ var _marketingGatewayConfiguredMarketForm = require('./io/flow/internal/v0/model
1484
1540
 
1485
1541
  var _marketingGatewayConfiguredMarketForm2 = _interopRequireDefault(_marketingGatewayConfiguredMarketForm);
1486
1542
 
1487
- var _marketingGatewayCountryLanguage = require('./io/flow/internal/v0/models/marketingGatewayCountryLanguage');
1488
-
1489
- var _marketingGatewayCountryLanguage2 = _interopRequireDefault(_marketingGatewayCountryLanguage);
1490
-
1491
1543
  var _marketingGatewayExistingMarket = require('./io/flow/internal/v0/models/marketingGatewayExistingMarket');
1492
1544
 
1493
1545
  var _marketingGatewayExistingMarket2 = _interopRequireDefault(_marketingGatewayExistingMarket);
1494
1546
 
1547
+ var _marketingGatewayGoogleMarket = require('./io/flow/internal/v0/models/marketingGatewayGoogleMarket');
1548
+
1549
+ var _marketingGatewayGoogleMarket2 = _interopRequireDefault(_marketingGatewayGoogleMarket);
1550
+
1495
1551
  var _marketingGatewayLocalizationFlowCountry = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry');
1496
1552
 
1497
1553
  var _marketingGatewayLocalizationFlowCountry2 = _interopRequireDefault(_marketingGatewayLocalizationFlowCountry);
@@ -2308,6 +2364,10 @@ var _withholdings = require('./io/flow/internal/v0/models/withholdings');
2308
2364
 
2309
2365
  var _withholdings2 = _interopRequireDefault(_withholdings);
2310
2366
 
2367
+ var _authorizationPayload = require('./io/flow/internal/v0/unions/authorizationPayload');
2368
+
2369
+ var _authorizationPayload2 = _interopRequireDefault(_authorizationPayload);
2370
+
2311
2371
  var _authorizedOrderCharge = require('./io/flow/internal/v0/unions/authorizedOrderCharge');
2312
2372
 
2313
2373
  var _authorizedOrderCharge2 = _interopRequireDefault(_authorizedOrderCharge);
@@ -2324,10 +2384,18 @@ var _checkoutSubmitOrderForms = require('./io/flow/internal/v0/unions/checkoutSu
2324
2384
 
2325
2385
  var _checkoutSubmitOrderForms2 = _interopRequireDefault(_checkoutSubmitOrderForms);
2326
2386
 
2387
+ var _classificationFeatureSet = require('./io/flow/internal/v0/unions/classificationFeatureSet');
2388
+
2389
+ var _classificationFeatureSet2 = _interopRequireDefault(_classificationFeatureSet);
2390
+
2327
2391
  var _contentItem = require('./io/flow/internal/v0/unions/contentItem');
2328
2392
 
2329
2393
  var _contentItem2 = _interopRequireDefault(_contentItem);
2330
2394
 
2395
+ var _discountRequestOfferForm = require('./io/flow/internal/v0/unions/discountRequestOfferForm');
2396
+
2397
+ var _discountRequestOfferForm2 = _interopRequireDefault(_discountRequestOfferForm);
2398
+
2331
2399
  var _dutyExpression = require('./io/flow/internal/v0/unions/dutyExpression');
2332
2400
 
2333
2401
  var _dutyExpression2 = _interopRequireDefault(_dutyExpression);
@@ -2384,6 +2452,10 @@ var _marketingGatewayLocalization = require('./io/flow/internal/v0/unions/market
2384
2452
 
2385
2453
  var _marketingGatewayLocalization2 = _interopRequireDefault(_marketingGatewayLocalization);
2386
2454
 
2455
+ var _marketingGatewayPlatformMarket = require('./io/flow/internal/v0/unions/marketingGatewayPlatformMarket');
2456
+
2457
+ var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
2458
+
2387
2459
  var _orderActionForm = require('./io/flow/internal/v0/unions/orderActionForm');
2388
2460
 
2389
2461
  var _orderActionForm2 = _interopRequireDefault(_orderActionForm);
@@ -2476,6 +2548,7 @@ exports.default = {
2476
2548
  crossdockTrackingStatus: _crossdockTrackingStatus2.default,
2477
2549
  deliveredDutyOptionMessageType: _deliveredDutyOptionMessageType2.default,
2478
2550
  deminimisAdjustmentType: _deminimisAdjustmentType2.default,
2551
+ discountRequestOrderEntitlementKey: _discountRequestOrderEntitlementKey2.default,
2479
2552
  dutyCompoundExpressionType: _dutyCompoundExpressionType2.default,
2480
2553
  dutyRateUnitOfMeasure: _dutyRateUnitOfMeasure2.default,
2481
2554
  dutySimpleExpressionType: _dutySimpleExpressionType2.default,
@@ -2493,6 +2566,7 @@ exports.default = {
2493
2566
  ftpFileSource: _ftpFileSource2.default,
2494
2567
  ftpIntent: _ftpIntent2.default,
2495
2568
  ftpProtocol: _ftpProtocol2.default,
2569
+ httpMethod: _httpMethod2.default,
2496
2570
  installmentPaymentType: _installmentPaymentType2.default,
2497
2571
  installmentProgramStatus: _installmentProgramStatus2.default,
2498
2572
  installmentStatus: _installmentStatus2.default,
@@ -2543,6 +2617,8 @@ exports.default = {
2543
2617
  adyenRefundForm: _adyenRefundForm2.default,
2544
2618
  allocationItemReference: _allocationItemReference2.default,
2545
2619
  apmContent: _apmContent2.default,
2620
+ applePaymentToken: _applePaymentToken2.default,
2621
+ applePaymentTokenHeader: _applePaymentTokenHeader2.default,
2546
2622
  authenticationForm: _authenticationForm2.default,
2547
2623
  authorization: _authorization2.default,
2548
2624
  authorizationMetadata: _authorizationMetadata2.default,
@@ -2605,6 +2681,8 @@ exports.default = {
2605
2681
  cipher: _cipher2.default,
2606
2682
  cipherForm: _cipherForm2.default,
2607
2683
  cipherReference: _cipherReference2.default,
2684
+ classificationFeatureSetDefault: _classificationFeatureSetDefault2.default,
2685
+ classificationFeaturesCategoryApparel: _classificationFeaturesCategoryApparel2.default,
2608
2686
  completePriceRule: _completePriceRule2.default,
2609
2687
  consumerOptinActivity: _consumerOptinActivity2.default,
2610
2688
  contentSchema: _contentSchema2.default,
@@ -2630,6 +2708,11 @@ exports.default = {
2630
2708
  dimensionEstimate: _dimensionEstimate2.default,
2631
2709
  dimensionEstimateForm: _dimensionEstimateForm2.default,
2632
2710
  dimensionEstimateVersion: _dimensionEstimateVersion2.default,
2711
+ discountCode: _discountCode2.default,
2712
+ discountRequestForm: _discountRequestForm2.default,
2713
+ discountRequestOfferFixedAmountForm: _discountRequestOfferFixedAmountForm2.default,
2714
+ discountRequestOrderEntitlementForm: _discountRequestOrderEntitlementForm2.default,
2715
+ discountRequestOrderForm: _discountRequestOrderForm2.default,
2633
2716
  duties: _duties2.default,
2634
2717
  dutyCompoundExpression: _dutyCompoundExpression2.default,
2635
2718
  dutyRate: _dutyRate2.default,
@@ -2734,6 +2817,7 @@ exports.default = {
2734
2817
  harmonizationSummary: _harmonizationSummary2.default,
2735
2818
  harmonizeFullyRequest: _harmonizeFullyRequest2.default,
2736
2819
  harmonizeFullyWithRate: _harmonizeFullyWithRate2.default,
2820
+ harmonizedItemsHs6Export: _harmonizedItemsHs6Export2.default,
2737
2821
  hop: _hop2.default,
2738
2822
  hopEstimate: _hopEstimate2.default,
2739
2823
  href: _href2.default,
@@ -2828,13 +2912,15 @@ exports.default = {
2828
2912
  loyaltyProgramReward: _loyaltyProgramReward2.default,
2829
2913
  loyaltyProgramRewards: _loyaltyProgramRewards2.default,
2830
2914
  magentoInstallForm: _magentoInstallForm2.default,
2915
+ manualTransaction: _manualTransaction2.default,
2916
+ manualTransactionForm: _manualTransactionForm2.default,
2831
2917
  marketingGatewayAccount: _marketingGatewayAccount2.default,
2832
2918
  marketingGatewayAccountConnection: _marketingGatewayAccountConnection2.default,
2833
2919
  marketingGatewayAccountConnectionForm: _marketingGatewayAccountConnectionForm2.default,
2834
2920
  marketingGatewayConfiguredMarket: _marketingGatewayConfiguredMarket2.default,
2835
2921
  marketingGatewayConfiguredMarketForm: _marketingGatewayConfiguredMarketForm2.default,
2836
- marketingGatewayCountryLanguage: _marketingGatewayCountryLanguage2.default,
2837
2922
  marketingGatewayExistingMarket: _marketingGatewayExistingMarket2.default,
2923
+ marketingGatewayGoogleMarket: _marketingGatewayGoogleMarket2.default,
2838
2924
  marketingGatewayLocalizationFlowCountry: _marketingGatewayLocalizationFlowCountry2.default,
2839
2925
  marketingGatewayLocalizationFlowExperience: _marketingGatewayLocalizationFlowExperience2.default,
2840
2926
  marketingGatewayProduct: _marketingGatewayProduct2.default,
@@ -3039,11 +3125,14 @@ exports.default = {
3039
3125
  virtualCardTransaction: _virtualCardTransaction2.default,
3040
3126
  wholeOrderActionForm: _wholeOrderActionForm2.default,
3041
3127
  withholdings: _withholdings2.default,
3128
+ authorizationPayload: _authorizationPayload2.default,
3042
3129
  authorizedOrderCharge: _authorizedOrderCharge2.default,
3043
3130
  carrierCredentials: _carrierCredentials2.default,
3044
3131
  checkoutSubmitOrderBundles: _checkoutSubmitOrderBundles2.default,
3045
3132
  checkoutSubmitOrderForms: _checkoutSubmitOrderForms2.default,
3133
+ classificationFeatureSet: _classificationFeatureSet2.default,
3046
3134
  contentItem: _contentItem2.default,
3135
+ discountRequestOfferForm: _discountRequestOfferForm2.default,
3047
3136
  dutyExpression: _dutyExpression2.default,
3048
3137
  event: _event2.default,
3049
3138
  exportSchedule: _exportSchedule2.default,
@@ -3058,6 +3147,7 @@ exports.default = {
3058
3147
  internalRefundForm: _internalRefundForm2.default,
3059
3148
  localizableContent: _localizableContent2.default,
3060
3149
  marketingGatewayLocalization: _marketingGatewayLocalization2.default,
3150
+ marketingGatewayPlatformMarket: _marketingGatewayPlatformMarket2.default,
3061
3151
  orderActionForm: _orderActionForm2.default,
3062
3152
  paymentRedirect: _paymentRedirect2.default,
3063
3153
  paymentSummaryDetails: _paymentSummaryDetails2.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
package/src/index.d.ts CHANGED
@@ -20,11 +20,14 @@ declare const defaultExport: {
20
20
  adyenRefundForm: Requireable<any> & Validator<any>;
21
21
  allocationItemReference: Requireable<any> & Validator<any>;
22
22
  apmContent: Requireable<any> & Validator<any>;
23
+ applePaymentToken: Requireable<any> & Validator<any>;
24
+ applePaymentTokenHeader: Requireable<any> & Validator<any>;
23
25
  authenticationForm: Requireable<any> & Validator<any>;
24
26
  authorization: Requireable<any> & Validator<any>;
25
27
  authorizationMetadata: Requireable<any> & Validator<any>;
26
28
  authorizationParameters: Requireable<any> & Validator<any>;
27
29
  authorizationParametersForm: Requireable<any> & Validator<any>;
30
+ authorizationPayload: Requireable<any> & Validator<any>;
28
31
  authorizedChargeStatus: Requireable<any> & Validator<any>;
29
32
  authorizedLineItemCharge: Requireable<any> & Validator<any>;
30
33
  authorizedOrderCharge: Requireable<any> & Validator<any>;
@@ -92,6 +95,9 @@ declare const defaultExport: {
92
95
  cipher: Requireable<any> & Validator<any>;
93
96
  cipherForm: Requireable<any> & Validator<any>;
94
97
  cipherReference: Requireable<any> & Validator<any>;
98
+ classificationFeatureSet: Requireable<any> & Validator<any>;
99
+ classificationFeatureSetDefault: Requireable<any> & Validator<any>;
100
+ classificationFeaturesCategoryApparel: Requireable<any> & Validator<any>;
95
101
  completePriceRule: Requireable<any> & Validator<any>;
96
102
  consumerOptinActivity: Requireable<any> & Validator<any>;
97
103
  contentElementType: Requireable<any> & Validator<any>;
@@ -125,6 +131,13 @@ declare const defaultExport: {
125
131
  dimensionEstimate: Requireable<any> & Validator<any>;
126
132
  dimensionEstimateForm: Requireable<any> & Validator<any>;
127
133
  dimensionEstimateVersion: Requireable<any> & Validator<any>;
134
+ discountCode: Requireable<any> & Validator<any>;
135
+ discountRequestForm: Requireable<any> & Validator<any>;
136
+ discountRequestOfferFixedAmountForm: Requireable<any> & Validator<any>;
137
+ discountRequestOfferForm: Requireable<any> & Validator<any>;
138
+ discountRequestOrderEntitlementForm: Requireable<any> & Validator<any>;
139
+ discountRequestOrderEntitlementKey: Requireable<any> & Validator<any>;
140
+ discountRequestOrderForm: Requireable<any> & Validator<any>;
128
141
  duties: Requireable<any> & Validator<any>;
129
142
  dutyCompoundExpression: Requireable<any> & Validator<any>;
130
143
  dutyCompoundExpressionType: Requireable<any> & Validator<any>;
@@ -252,10 +265,12 @@ declare const defaultExport: {
252
265
  harmonizationSummary: Requireable<any> & Validator<any>;
253
266
  harmonizeFullyRequest: Requireable<any> & Validator<any>;
254
267
  harmonizeFullyWithRate: Requireable<any> & Validator<any>;
268
+ harmonizedItemsHs6Export: Requireable<any> & Validator<any>;
255
269
  hop: Requireable<any> & Validator<any>;
256
270
  hopEstimate: Requireable<any> & Validator<any>;
257
271
  href: Requireable<any> & Validator<any>;
258
272
  hs10PhraseHintForm: Requireable<any> & Validator<any>;
273
+ httpMethod: Requireable<any> & Validator<any>;
259
274
  importCompleted: Requireable<any> & Validator<any>;
260
275
  importFailed: Requireable<any> & Validator<any>;
261
276
  indexTaskType: Requireable<any> & Validator<any>;
@@ -359,17 +374,20 @@ declare const defaultExport: {
359
374
  loyaltyProgramReward: Requireable<any> & Validator<any>;
360
375
  loyaltyProgramRewards: Requireable<any> & Validator<any>;
361
376
  magentoInstallForm: Requireable<any> & Validator<any>;
377
+ manualTransaction: Requireable<any> & Validator<any>;
378
+ manualTransactionForm: Requireable<any> & Validator<any>;
362
379
  marketingGatewayAccount: Requireable<any> & Validator<any>;
363
380
  marketingGatewayAccountConnection: Requireable<any> & Validator<any>;
364
381
  marketingGatewayAccountConnectionForm: Requireable<any> & Validator<any>;
365
382
  marketingGatewayConfiguredMarket: Requireable<any> & Validator<any>;
366
383
  marketingGatewayConfiguredMarketForm: Requireable<any> & Validator<any>;
367
- marketingGatewayCountryLanguage: Requireable<any> & Validator<any>;
368
384
  marketingGatewayExistingMarket: Requireable<any> & Validator<any>;
385
+ marketingGatewayGoogleMarket: Requireable<any> & Validator<any>;
369
386
  marketingGatewayLocalization: Requireable<any> & Validator<any>;
370
387
  marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
371
388
  marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
372
389
  marketingGatewayPlatform: Requireable<any> & Validator<any>;
390
+ marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
373
391
  marketingGatewayProduct: Requireable<any> & Validator<any>;
374
392
  marketingGatewayProductPrice: Requireable<any> & Validator<any>;
375
393
  marketingGatewayProductWarning: Requireable<any> & Validator<any>;
@@ -1,6 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.oneOf([
4
+ 'manual',
4
5
  'subscription',
5
6
  'invoice',
6
7
  'transfer',
@@ -6,6 +6,7 @@ export default PropTypes.shape({
6
6
  subscription: price.isRequired,
7
7
  transfer: price.isRequired,
8
8
  invoice: price.isRequired,
9
+ manual: price.isRequired,
9
10
  adjustment: price.isRequired,
10
11
  capture: price.isRequired,
11
12
  refund: price.isRequired,
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['subtotal']);
@@ -0,0 +1,5 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ code: PropTypes.string.isRequired,
5
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderForm from './discountRequestOrderForm';
3
+
4
+ export default PropTypes.shape({
5
+ order_form: discountRequestOrderForm,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ amount: PropTypes.number.isRequired,
5
+ currency: PropTypes.string.isRequired,
6
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderEntitlementKey from '../enums/discountRequestOrderEntitlementKey';
3
+ import discountRequestOfferForm from '../unions/discountRequestOfferForm';
4
+
5
+ export default PropTypes.shape({
6
+ entitlement_key: discountRequestOrderEntitlementKey.isRequired,
7
+ offer_form: discountRequestOfferForm.isRequired,
8
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderEntitlementForm from './discountRequestOrderEntitlementForm';
3
+
4
+ export default PropTypes.shape({
5
+ order_entitlement_forms: PropTypes.arrayOf(
6
+ discountRequestOrderEntitlementForm
7
+ ).isRequired,
8
+ });
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOfferFixedAmountForm from '../models/discountRequestOfferFixedAmountForm';
3
+
4
+ export default PropTypes.oneOfType([discountRequestOfferFixedAmountForm]);
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['cold_storage', 'hazardous', 'perishable']);
@@ -1,6 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import priceWithBase from '../../../common/v0/models/priceWithBase';
3
- import deliveryOptionCostDetail from './deliveryOptionCostDetail';
2
+ import priceWithBaseAndDetails from './priceWithBaseAndDetails';
4
3
  import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
5
4
  import serviceSummary from './serviceSummary';
6
5
  import tierSummary from './tierSummary';
@@ -11,10 +10,9 @@ import shippingAddress from './shippingAddress';
11
10
 
12
11
  export default PropTypes.shape({
13
12
  id: PropTypes.string.isRequired,
14
- cost: priceWithBase.isRequired,
15
- cost_details: PropTypes.arrayOf(deliveryOptionCostDetail),
13
+ cost: priceWithBaseAndDetails.isRequired,
16
14
  delivered_duty: deliveredDuty.isRequired,
17
- price: priceWithBase.isRequired,
15
+ price: priceWithBaseAndDetails.isRequired,
18
16
  service: serviceSummary.isRequired,
19
17
  tier: tierSummary.isRequired,
20
18
  window: deliveryWindow.isRequired,
@@ -2,10 +2,12 @@ import PropTypes from 'prop-types';
2
2
  import centerSummary from './centerSummary';
3
3
  import deliveryItem from './deliveryItem';
4
4
  import deliveryOption from './deliveryOption';
5
+ import physicalDeliverySpecialSerivce from '../enums/physicalDeliverySpecialSerivce';
5
6
 
6
7
  export default PropTypes.shape({
7
8
  id: PropTypes.string.isRequired,
8
9
  center: centerSummary,
9
10
  items: PropTypes.arrayOf(deliveryItem).isRequired,
10
11
  options: PropTypes.arrayOf(deliveryOption).isRequired,
12
+ special_services: PropTypes.arrayOf(physicalDeliverySpecialSerivce),
11
13
  });
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ import price from '../../../common/v0/models/price';
3
+ import deliveryOptionCostDetail from './deliveryOptionCostDetail';
4
+
5
+ export default PropTypes.shape({
6
+ currency: PropTypes.string.isRequired,
7
+ amount: PropTypes.number.isRequired,
8
+ label: PropTypes.string.isRequired,
9
+ base: price,
10
+ details: PropTypes.arrayOf(deliveryOptionCostDetail),
11
+ });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ import classificationFeatureSet from '../unions/classificationFeatureSet';
3
+
4
+ export default PropTypes.shape({
5
+ organization_id: PropTypes.string.isRequired,
6
+ default: classificationFeatureSet.isRequired,
7
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ item_identity: PropTypes.string,
5
+ construction: PropTypes.string,
6
+ material: PropTypes.string,
7
+ gender: PropTypes.string,
8
+ });
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import classificationFeaturesCategoryApparel from '../models/classificationFeaturesCategoryApparel';
3
+
4
+ export default PropTypes.oneOfType([classificationFeaturesCategoryApparel]);
@@ -1,6 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.oneOf([
4
+ 'manual',
4
5
  'subscription',
5
6
  'invoice',
6
7
  'transfer',
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['subtotal']);
@@ -45,6 +45,7 @@ export default PropTypes.oneOf([
45
45
  'blacklisted_item_created',
46
46
  'blacklisted_item_updated',
47
47
  'blacklisted_item_deleted',
48
+ 'harmonized_items_hs6_export',
48
49
  'unharmonized_items_export',
49
50
  'harmonization_phrase_suggestion_request_import',
50
51
  'harmonization_codes_import',
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['get', 'post']);
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import applePaymentTokenHeader from './applePaymentTokenHeader';
3
+
4
+ export default PropTypes.shape({
5
+ data: PropTypes.string.isRequired,
6
+ header: applePaymentTokenHeader.isRequired,
7
+ signature: PropTypes.string.isRequired,
8
+ version: PropTypes.string.isRequired,
9
+ });
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ applicationData: PropTypes.string,
5
+ ephemeralPublicKey: PropTypes.string,
6
+ wrappedKey: PropTypes.string,
7
+ publicKeyHash: PropTypes.string.isRequired,
8
+ transactionId: PropTypes.string.isRequired,
9
+ });
@@ -6,6 +6,7 @@ export default PropTypes.shape({
6
6
  subscription: price.isRequired,
7
7
  transfer: price.isRequired,
8
8
  invoice: price.isRequired,
9
+ manual: price.isRequired,
9
10
  adjustment: price.isRequired,
10
11
  capture: price.isRequired,
11
12
  refund: price.isRequired,
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ import classificationFeatureSet from '../unions/classificationFeatureSet';
3
+
4
+ export default PropTypes.shape({
5
+ organization_id: PropTypes.string.isRequired,
6
+ default: classificationFeatureSet.isRequired,
7
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ item_identity: PropTypes.string,
5
+ construction: PropTypes.string,
6
+ material: PropTypes.string,
7
+ gender: PropTypes.string,
8
+ });
@@ -0,0 +1,5 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ code: PropTypes.string.isRequired,
5
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderForm from './discountRequestOrderForm';
3
+
4
+ export default PropTypes.shape({
5
+ order_form: discountRequestOrderForm,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ amount: PropTypes.number.isRequired,
5
+ currency: PropTypes.string.isRequired,
6
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderEntitlementKey from '../enums/discountRequestOrderEntitlementKey';
3
+ import discountRequestOfferForm from '../unions/discountRequestOfferForm';
4
+
5
+ export default PropTypes.shape({
6
+ entitlement_key: discountRequestOrderEntitlementKey.isRequired,
7
+ offer_form: discountRequestOfferForm.isRequired,
8
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import discountRequestOrderEntitlementForm from './discountRequestOrderEntitlementForm';
3
+
4
+ export default PropTypes.shape({
5
+ order_entitlement_forms: PropTypes.arrayOf(
6
+ discountRequestOrderEntitlementForm
7
+ ).isRequired,
8
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ event_id: PropTypes.string.isRequired,
5
+ timestamp: PropTypes.string.isRequired,
6
+ organization: PropTypes.string.isRequired,
7
+ export_id: PropTypes.string.isRequired,
8
+ });
@@ -0,0 +1,14 @@
1
+ import PropTypes from 'prop-types';
2
+ import billingTransactionType from '../../../billing/v0/enums/billingTransactionType';
3
+ import price from '../../../common/v0/models/price';
4
+ import billingStatementReference from '../../../billing/v0/models/billingStatementReference';
5
+
6
+ export default PropTypes.shape({
7
+ id: PropTypes.string.isRequired,
8
+ type: billingTransactionType.isRequired,
9
+ posted_at: PropTypes.string.isRequired,
10
+ value: price.isRequired,
11
+ description: PropTypes.string.isRequired,
12
+ statement: billingStatementReference,
13
+ created_at: PropTypes.string.isRequired,
14
+ });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ amount: PropTypes.number.isRequired,
5
+ description: PropTypes.string.isRequired,
6
+ posted_at: PropTypes.string,
7
+ });