@flowio/api-internal-prop-types 1.2.13 → 1.2.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.
Files changed (144) hide show
  1. package/.apibuilder/.tracked_files +2174 -0
  2. package/.apibuilder/config +306 -0
  3. package/README.md +1 -1
  4. package/lib/index.d.ts +29 -3
  5. package/lib/io/flow/catalog/v0/models/subcatalogItem.js +1 -6
  6. package/lib/io/flow/experience/v0/enums/orderErrorCode.js +1 -1
  7. package/lib/io/flow/experiment/internal/v0/models/externalVariant.js +22 -0
  8. package/lib/io/flow/experiment/internal/v0/unions/variant.js +5 -1
  9. package/lib/io/flow/fulfillment/v0/enums/zeroAmountIndicator.js +13 -0
  10. package/lib/io/flow/fulfillment/v0/models/flatRate.js +6 -1
  11. package/lib/io/flow/fulfillment/v0/models/flatRateForm.js +6 -1
  12. package/lib/io/flow/fulfillment/v0/models/tier.js +1 -0
  13. package/lib/io/flow/fulfillment/v0/models/tierForm.js +1 -0
  14. package/lib/io/flow/harmonization/internal/v0/models/classificationItemId.js +17 -0
  15. package/lib/io/flow/harmonization/internal/v0/models/classifiedItem.js +29 -0
  16. package/lib/io/flow/harmonization/internal/v0/models/itemClassificationForm.js +18 -0
  17. package/lib/io/flow/harmonization/internal/v0/models/itemClassificationResult.js +24 -0
  18. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  19. package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +2 -1
  20. package/lib/io/flow/internal/v0/models/classificationItemId.js +17 -0
  21. package/lib/io/flow/internal/v0/models/classifiedItem.js +29 -0
  22. package/lib/io/flow/internal/v0/models/externalVariant.js +22 -0
  23. package/lib/io/flow/internal/v0/models/itemClassificationForm.js +18 -0
  24. package/lib/io/flow/internal/v0/models/itemClassificationResult.js +24 -0
  25. package/lib/io/flow/internal/v0/models/localizationSummary.js +16 -0
  26. package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -3
  27. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -3
  28. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -5
  29. package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +5 -1
  30. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleMarket.js +1 -0
  31. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +1 -1
  32. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +1 -1
  33. package/lib/io/flow/internal/v0/models/{marketingGatewayLocalizationFlowCountry.js → marketingGatewayGoogleProductResult.js} +2 -1
  34. package/lib/io/flow/internal/v0/models/paypalExecutionDeleted.js +21 -0
  35. package/lib/io/flow/internal/v0/models/paypalExecutionUpserted.js +21 -0
  36. package/lib/io/flow/internal/v0/models/paypalInternalExecution.js +33 -0
  37. package/lib/io/flow/internal/v0/models/paypalInternalPayment.js +29 -0
  38. package/lib/io/flow/internal/v0/models/paypalInternalRefund.js +29 -0
  39. package/lib/io/flow/internal/v0/models/paypalPaymentDeleted.js +21 -0
  40. package/lib/io/flow/internal/v0/models/paypalPaymentUpserted.js +21 -0
  41. package/lib/io/flow/internal/v0/models/paypalRefundDeleted.js +21 -0
  42. package/lib/io/flow/internal/v0/models/paypalRefundUpserted.js +21 -0
  43. package/lib/io/flow/internal/v0/models/productResult.js +25 -0
  44. package/lib/io/flow/internal/v0/models/stripeAuthorizationDeleted.js +21 -0
  45. package/lib/io/flow/internal/v0/models/stripeAuthorizationUpserted.js +21 -0
  46. package/lib/io/flow/internal/v0/models/stripeCaptureDeleted.js +21 -0
  47. package/lib/io/flow/internal/v0/models/stripeCaptureUpserted.js +21 -0
  48. package/lib/io/flow/internal/v0/models/stripeInternalAuthorization.js +23 -0
  49. package/lib/io/flow/internal/v0/models/stripeInternalCapture.js +20 -0
  50. package/lib/io/flow/internal/v0/models/stripeInternalRefund.js +21 -0
  51. package/lib/io/flow/internal/v0/models/stripeInternalReversal.js +20 -0
  52. package/lib/io/flow/internal/v0/models/stripeRefundDeleted.js +21 -0
  53. package/lib/io/flow/internal/v0/models/stripeRefundUpserted.js +21 -0
  54. package/lib/io/flow/internal/v0/models/stripeReversalDeleted.js +21 -0
  55. package/lib/io/flow/internal/v0/models/stripeReversalUpserted.js +21 -0
  56. package/lib/io/flow/internal/v0/unions/event.js +57 -1
  57. package/lib/io/flow/internal/v0/unions/variant.js +5 -1
  58. package/lib/io/flow/label/v0/models/detailedShippingLabelForm.js +43 -0
  59. package/lib/io/flow/label/v0/models/summaryShippingLabelForm.js +20 -0
  60. package/lib/io/flow/label/v0/unions/shippingLabelForm.js +21 -0
  61. package/lib/io/flow/shopify/external/v0/models/collect.js +22 -0
  62. package/lib/io/flow/shopify/external/v0/models/collection.js +20 -0
  63. package/lib/io/flow/{internal/v0/models/marketingGatewayLocalizationFlowExperience.js → shopify/external/v0/models/responseCollect.js} +3 -3
  64. package/lib/io/flow/shopify/external/v0/models/responseCollects.js +19 -0
  65. package/lib/io/flow/shopify/v0/enums/shopifySyncCheck.js +13 -0
  66. package/lib/io/flow/shopify/v0/models/shopifyItemEventBucket.js +25 -0
  67. package/lib/io/flow/shopify/v0/models/shopifyItemEventData.js +25 -0
  68. package/lib/io/flow/shopify/v0/models/shopifySyncStatus.js +32 -0
  69. package/lib/io/flow/shopify/v0/unions/shopifyEventBucket.js +17 -0
  70. package/lib/mocks.js +29 -3
  71. package/lib/validators.js +145 -15
  72. package/package.json +1 -1
  73. package/src/index.d.ts +29 -3
  74. package/src/io/flow/catalog/v0/models/subcatalogItem.js +0 -2
  75. package/src/io/flow/experience/v0/enums/orderErrorCode.js +2 -0
  76. package/src/io/flow/experiment/internal/v0/models/externalVariant.js +9 -0
  77. package/src/io/flow/experiment/internal/v0/unions/variant.js +2 -1
  78. package/src/io/flow/fulfillment/v0/enums/zeroAmountIndicator.js +3 -0
  79. package/src/io/flow/fulfillment/v0/models/flatRate.js +2 -0
  80. package/src/io/flow/fulfillment/v0/models/flatRateForm.js +2 -0
  81. package/src/io/flow/fulfillment/v0/models/tier.js +1 -0
  82. package/src/io/flow/fulfillment/v0/models/tierForm.js +1 -0
  83. package/src/io/flow/harmonization/internal/v0/models/classificationItemId.js +7 -0
  84. package/src/io/flow/harmonization/internal/v0/models/classifiedItem.js +16 -0
  85. package/src/io/flow/harmonization/internal/v0/models/itemClassificationForm.js +8 -0
  86. package/src/io/flow/harmonization/internal/v0/models/itemClassificationResult.js +8 -0
  87. package/src/io/flow/internal/v0/enums/eventType.js +14 -0
  88. package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +1 -0
  89. package/src/io/flow/internal/v0/models/classificationItemId.js +7 -0
  90. package/src/io/flow/internal/v0/models/classifiedItem.js +16 -0
  91. package/src/io/flow/internal/v0/models/externalVariant.js +9 -0
  92. package/src/io/flow/internal/v0/models/itemClassificationForm.js +8 -0
  93. package/src/io/flow/internal/v0/models/itemClassificationResult.js +8 -0
  94. package/src/io/flow/internal/v0/models/localizationSummary.js +6 -0
  95. package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +2 -2
  96. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -2
  97. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -2
  98. package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -1
  99. package/src/io/flow/internal/v0/models/marketingGatewayGoogleMarket.js +1 -0
  100. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +1 -1
  101. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +1 -1
  102. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductResult.js +6 -0
  103. package/src/io/flow/internal/v0/models/paypalExecutionDeleted.js +8 -0
  104. package/src/io/flow/internal/v0/models/paypalExecutionUpserted.js +8 -0
  105. package/src/io/flow/internal/v0/models/paypalInternalExecution.js +23 -0
  106. package/src/io/flow/internal/v0/models/paypalInternalPayment.js +19 -0
  107. package/src/io/flow/internal/v0/models/paypalInternalRefund.js +19 -0
  108. package/src/io/flow/internal/v0/models/paypalPaymentDeleted.js +8 -0
  109. package/src/io/flow/internal/v0/models/paypalPaymentUpserted.js +8 -0
  110. package/src/io/flow/internal/v0/models/paypalRefundDeleted.js +8 -0
  111. package/src/io/flow/internal/v0/models/paypalRefundUpserted.js +8 -0
  112. package/src/io/flow/internal/v0/models/productResult.js +9 -0
  113. package/src/io/flow/internal/v0/models/stripeAuthorizationDeleted.js +8 -0
  114. package/src/io/flow/internal/v0/models/stripeAuthorizationUpserted.js +8 -0
  115. package/src/io/flow/internal/v0/models/stripeCaptureDeleted.js +8 -0
  116. package/src/io/flow/internal/v0/models/stripeCaptureUpserted.js +8 -0
  117. package/src/io/flow/internal/v0/models/stripeInternalAuthorization.js +13 -0
  118. package/src/io/flow/internal/v0/models/stripeInternalCapture.js +10 -0
  119. package/src/io/flow/internal/v0/models/stripeInternalRefund.js +11 -0
  120. package/src/io/flow/internal/v0/models/stripeInternalReversal.js +10 -0
  121. package/src/io/flow/internal/v0/models/stripeRefundDeleted.js +8 -0
  122. package/src/io/flow/internal/v0/models/stripeRefundUpserted.js +8 -0
  123. package/src/io/flow/internal/v0/models/stripeReversalDeleted.js +8 -0
  124. package/src/io/flow/internal/v0/models/stripeReversalUpserted.js +8 -0
  125. package/src/io/flow/internal/v0/unions/event.js +28 -0
  126. package/src/io/flow/internal/v0/unions/variant.js +2 -1
  127. package/src/io/flow/label/v0/models/detailedShippingLabelForm.js +18 -0
  128. package/src/io/flow/label/v0/models/summaryShippingLabelForm.js +7 -0
  129. package/src/io/flow/label/v0/unions/shippingLabelForm.js +8 -0
  130. package/src/io/flow/shopify/external/v0/models/collect.js +12 -0
  131. package/src/io/flow/shopify/external/v0/models/collection.js +10 -0
  132. package/src/io/flow/{internal/v0/models/marketingGatewayLocalizationFlowCountry.js → shopify/external/v0/models/responseCollect.js} +2 -1
  133. package/src/io/flow/shopify/external/v0/models/responseCollects.js +6 -0
  134. package/src/io/flow/shopify/v0/enums/shopifySyncCheck.js +6 -0
  135. package/src/io/flow/shopify/v0/models/shopifyItemEventBucket.js +9 -0
  136. package/src/io/flow/shopify/v0/models/shopifyItemEventData.js +9 -0
  137. package/src/io/flow/shopify/v0/models/shopifySyncStatus.js +13 -0
  138. package/src/io/flow/shopify/v0/unions/shopifyEventBucket.js +4 -0
  139. package/src/mocks.js +29 -3
  140. package/src/validators.js +58 -6
  141. package/.eslintcache +0 -1
  142. package/lib/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -21
  143. package/src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience.js +0 -6
  144. package/src/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -8
package/lib/validators.js CHANGED
@@ -656,6 +656,10 @@ var _classificationItem = require('./io/flow/internal/v0/models/classificationIt
656
656
 
657
657
  var _classificationItem2 = _interopRequireDefault(_classificationItem);
658
658
 
659
+ var _classificationItemId = require('./io/flow/internal/v0/models/classificationItemId');
660
+
661
+ var _classificationItemId2 = _interopRequireDefault(_classificationItemId);
662
+
659
663
  var _classificationItemSummary = require('./io/flow/internal/v0/models/classificationItemSummary');
660
664
 
661
665
  var _classificationItemSummary2 = _interopRequireDefault(_classificationItemSummary);
@@ -664,6 +668,10 @@ var _classificationItemSummaryPage = require('./io/flow/internal/v0/models/class
664
668
 
665
669
  var _classificationItemSummaryPage2 = _interopRequireDefault(_classificationItemSummaryPage);
666
670
 
671
+ var _classifiedItem = require('./io/flow/internal/v0/models/classifiedItem');
672
+
673
+ var _classifiedItem2 = _interopRequireDefault(_classifiedItem);
674
+
667
675
  var _completePriceRule = require('./io/flow/internal/v0/models/completePriceRule');
668
676
 
669
677
  var _completePriceRule2 = _interopRequireDefault(_completePriceRule);
@@ -948,6 +956,10 @@ var _exportScheduleRepeated = require('./io/flow/internal/v0/models/exportSchedu
948
956
 
949
957
  var _exportScheduleRepeated2 = _interopRequireDefault(_exportScheduleRepeated);
950
958
 
959
+ var _externalVariant = require('./io/flow/internal/v0/models/externalVariant');
960
+
961
+ var _externalVariant2 = _interopRequireDefault(_externalVariant);
962
+
951
963
  var _feature = require('./io/flow/internal/v0/models/feature');
952
964
 
953
965
  var _feature2 = _interopRequireDefault(_feature);
@@ -1340,6 +1352,14 @@ var _issuerUpserted = require('./io/flow/internal/v0/models/issuerUpserted');
1340
1352
 
1341
1353
  var _issuerUpserted2 = _interopRequireDefault(_issuerUpserted);
1342
1354
 
1355
+ var _itemClassificationForm = require('./io/flow/internal/v0/models/itemClassificationForm');
1356
+
1357
+ var _itemClassificationForm2 = _interopRequireDefault(_itemClassificationForm);
1358
+
1359
+ var _itemClassificationResult = require('./io/flow/internal/v0/models/itemClassificationResult');
1360
+
1361
+ var _itemClassificationResult2 = _interopRequireDefault(_itemClassificationResult);
1362
+
1343
1363
  var _itemDimensionEstimateDeleted = require('./io/flow/internal/v0/models/itemDimensionEstimateDeleted');
1344
1364
 
1345
1365
  var _itemDimensionEstimateDeleted2 = _interopRequireDefault(_itemDimensionEstimateDeleted);
@@ -1500,6 +1520,10 @@ var _localizationRef = require('./io/flow/internal/v0/models/localizationRef');
1500
1520
 
1501
1521
  var _localizationRef2 = _interopRequireDefault(_localizationRef);
1502
1522
 
1523
+ var _localizationSummary = require('./io/flow/internal/v0/models/localizationSummary');
1524
+
1525
+ var _localizationSummary2 = _interopRequireDefault(_localizationSummary);
1526
+
1503
1527
  var _localizationUpserted = require('./io/flow/internal/v0/models/localizationUpserted');
1504
1528
 
1505
1529
  var _localizationUpserted2 = _interopRequireDefault(_localizationUpserted);
@@ -1660,6 +1684,10 @@ var _marketingGatewayGoogleProductPricingDetails = require('./io/flow/internal/v
1660
1684
 
1661
1685
  var _marketingGatewayGoogleProductPricingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductPricingDetails);
1662
1686
 
1687
+ var _marketingGatewayGoogleProductResult = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductResult');
1688
+
1689
+ var _marketingGatewayGoogleProductResult2 = _interopRequireDefault(_marketingGatewayGoogleProductResult);
1690
+
1663
1691
  var _marketingGatewayGoogleProductShippingDetails = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails');
1664
1692
 
1665
1693
  var _marketingGatewayGoogleProductShippingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductShippingDetails);
@@ -1692,14 +1720,6 @@ var _marketingGatewayImageLinks = require('./io/flow/internal/v0/models/marketin
1692
1720
 
1693
1721
  var _marketingGatewayImageLinks2 = _interopRequireDefault(_marketingGatewayImageLinks);
1694
1722
 
1695
- var _marketingGatewayLocalizationFlowCountry = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry');
1696
-
1697
- var _marketingGatewayLocalizationFlowCountry2 = _interopRequireDefault(_marketingGatewayLocalizationFlowCountry);
1698
-
1699
- var _marketingGatewayLocalizationFlowExperience = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience');
1700
-
1701
- var _marketingGatewayLocalizationFlowExperience2 = _interopRequireDefault(_marketingGatewayLocalizationFlowExperience);
1702
-
1703
1723
  var _marketingGatewayProductsResult = require('./io/flow/internal/v0/models/marketingGatewayProductsResult');
1704
1724
 
1705
1725
  var _marketingGatewayProductsResult2 = _interopRequireDefault(_marketingGatewayProductsResult);
@@ -1928,6 +1948,42 @@ var _paypalAuthenticationDataReference = require('./io/flow/internal/v0/models/p
1928
1948
 
1929
1949
  var _paypalAuthenticationDataReference2 = _interopRequireDefault(_paypalAuthenticationDataReference);
1930
1950
 
1951
+ var _paypalExecutionDeleted = require('./io/flow/internal/v0/models/paypalExecutionDeleted');
1952
+
1953
+ var _paypalExecutionDeleted2 = _interopRequireDefault(_paypalExecutionDeleted);
1954
+
1955
+ var _paypalExecutionUpserted = require('./io/flow/internal/v0/models/paypalExecutionUpserted');
1956
+
1957
+ var _paypalExecutionUpserted2 = _interopRequireDefault(_paypalExecutionUpserted);
1958
+
1959
+ var _paypalInternalExecution = require('./io/flow/internal/v0/models/paypalInternalExecution');
1960
+
1961
+ var _paypalInternalExecution2 = _interopRequireDefault(_paypalInternalExecution);
1962
+
1963
+ var _paypalInternalPayment = require('./io/flow/internal/v0/models/paypalInternalPayment');
1964
+
1965
+ var _paypalInternalPayment2 = _interopRequireDefault(_paypalInternalPayment);
1966
+
1967
+ var _paypalInternalRefund = require('./io/flow/internal/v0/models/paypalInternalRefund');
1968
+
1969
+ var _paypalInternalRefund2 = _interopRequireDefault(_paypalInternalRefund);
1970
+
1971
+ var _paypalPaymentDeleted = require('./io/flow/internal/v0/models/paypalPaymentDeleted');
1972
+
1973
+ var _paypalPaymentDeleted2 = _interopRequireDefault(_paypalPaymentDeleted);
1974
+
1975
+ var _paypalPaymentUpserted = require('./io/flow/internal/v0/models/paypalPaymentUpserted');
1976
+
1977
+ var _paypalPaymentUpserted2 = _interopRequireDefault(_paypalPaymentUpserted);
1978
+
1979
+ var _paypalRefundDeleted = require('./io/flow/internal/v0/models/paypalRefundDeleted');
1980
+
1981
+ var _paypalRefundDeleted2 = _interopRequireDefault(_paypalRefundDeleted);
1982
+
1983
+ var _paypalRefundUpserted = require('./io/flow/internal/v0/models/paypalRefundUpserted');
1984
+
1985
+ var _paypalRefundUpserted2 = _interopRequireDefault(_paypalRefundUpserted);
1986
+
1931
1987
  var _pendingBankPayment = require('./io/flow/internal/v0/models/pendingBankPayment');
1932
1988
 
1933
1989
  var _pendingBankPayment2 = _interopRequireDefault(_pendingBankPayment);
@@ -1980,6 +2036,10 @@ var _productReference = require('./io/flow/internal/v0/models/productReference')
1980
2036
 
1981
2037
  var _productReference2 = _interopRequireDefault(_productReference);
1982
2038
 
2039
+ var _productResult = require('./io/flow/internal/v0/models/productResult');
2040
+
2041
+ var _productResult2 = _interopRequireDefault(_productResult);
2042
+
1983
2043
  var _rate = require('./io/flow/internal/v0/models/rate');
1984
2044
 
1985
2045
  var _rate2 = _interopRequireDefault(_rate);
@@ -2376,6 +2436,54 @@ var _stripeAuthenticationDataReference = require('./io/flow/internal/v0/models/s
2376
2436
 
2377
2437
  var _stripeAuthenticationDataReference2 = _interopRequireDefault(_stripeAuthenticationDataReference);
2378
2438
 
2439
+ var _stripeAuthorizationDeleted = require('./io/flow/internal/v0/models/stripeAuthorizationDeleted');
2440
+
2441
+ var _stripeAuthorizationDeleted2 = _interopRequireDefault(_stripeAuthorizationDeleted);
2442
+
2443
+ var _stripeAuthorizationUpserted = require('./io/flow/internal/v0/models/stripeAuthorizationUpserted');
2444
+
2445
+ var _stripeAuthorizationUpserted2 = _interopRequireDefault(_stripeAuthorizationUpserted);
2446
+
2447
+ var _stripeCaptureDeleted = require('./io/flow/internal/v0/models/stripeCaptureDeleted');
2448
+
2449
+ var _stripeCaptureDeleted2 = _interopRequireDefault(_stripeCaptureDeleted);
2450
+
2451
+ var _stripeCaptureUpserted = require('./io/flow/internal/v0/models/stripeCaptureUpserted');
2452
+
2453
+ var _stripeCaptureUpserted2 = _interopRequireDefault(_stripeCaptureUpserted);
2454
+
2455
+ var _stripeInternalAuthorization = require('./io/flow/internal/v0/models/stripeInternalAuthorization');
2456
+
2457
+ var _stripeInternalAuthorization2 = _interopRequireDefault(_stripeInternalAuthorization);
2458
+
2459
+ var _stripeInternalCapture = require('./io/flow/internal/v0/models/stripeInternalCapture');
2460
+
2461
+ var _stripeInternalCapture2 = _interopRequireDefault(_stripeInternalCapture);
2462
+
2463
+ var _stripeInternalRefund = require('./io/flow/internal/v0/models/stripeInternalRefund');
2464
+
2465
+ var _stripeInternalRefund2 = _interopRequireDefault(_stripeInternalRefund);
2466
+
2467
+ var _stripeInternalReversal = require('./io/flow/internal/v0/models/stripeInternalReversal');
2468
+
2469
+ var _stripeInternalReversal2 = _interopRequireDefault(_stripeInternalReversal);
2470
+
2471
+ var _stripeRefundDeleted = require('./io/flow/internal/v0/models/stripeRefundDeleted');
2472
+
2473
+ var _stripeRefundDeleted2 = _interopRequireDefault(_stripeRefundDeleted);
2474
+
2475
+ var _stripeRefundUpserted = require('./io/flow/internal/v0/models/stripeRefundUpserted');
2476
+
2477
+ var _stripeRefundUpserted2 = _interopRequireDefault(_stripeRefundUpserted);
2478
+
2479
+ var _stripeReversalDeleted = require('./io/flow/internal/v0/models/stripeReversalDeleted');
2480
+
2481
+ var _stripeReversalDeleted2 = _interopRequireDefault(_stripeReversalDeleted);
2482
+
2483
+ var _stripeReversalUpserted = require('./io/flow/internal/v0/models/stripeReversalUpserted');
2484
+
2485
+ var _stripeReversalUpserted2 = _interopRequireDefault(_stripeReversalUpserted);
2486
+
2379
2487
  var _subcatalogItemCount = require('./io/flow/internal/v0/models/subcatalogItemCount');
2380
2488
 
2381
2489
  var _subcatalogItemCount2 = _interopRequireDefault(_subcatalogItemCount);
@@ -2612,10 +2720,6 @@ var _localizableContent = require('./io/flow/internal/v0/unions/localizableConte
2612
2720
 
2613
2721
  var _localizableContent2 = _interopRequireDefault(_localizableContent);
2614
2722
 
2615
- var _marketingGatewayLocalization = require('./io/flow/internal/v0/unions/marketingGatewayLocalization');
2616
-
2617
- var _marketingGatewayLocalization2 = _interopRequireDefault(_marketingGatewayLocalization);
2618
-
2619
2723
  var _marketingGatewayPlatformMarket = require('./io/flow/internal/v0/unions/marketingGatewayPlatformMarket');
2620
2724
 
2621
2725
  var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
@@ -2866,8 +2970,10 @@ exports.default = {
2866
2970
  classificationFeatureSetDefault: _classificationFeatureSetDefault2.default,
2867
2971
  classificationFeaturesCategoryApparel: _classificationFeaturesCategoryApparel2.default,
2868
2972
  classificationItem: _classificationItem2.default,
2973
+ classificationItemId: _classificationItemId2.default,
2869
2974
  classificationItemSummary: _classificationItemSummary2.default,
2870
2975
  classificationItemSummaryPage: _classificationItemSummaryPage2.default,
2976
+ classifiedItem: _classifiedItem2.default,
2871
2977
  completePriceRule: _completePriceRule2.default,
2872
2978
  consumerOptinActivity: _consumerOptinActivity2.default,
2873
2979
  contentSchema: _contentSchema2.default,
@@ -2939,6 +3045,7 @@ exports.default = {
2939
3045
  exportFailed: _exportFailed2.default,
2940
3046
  exportScheduleDaily: _exportScheduleDaily2.default,
2941
3047
  exportScheduleRepeated: _exportScheduleRepeated2.default,
3048
+ externalVariant: _externalVariant2.default,
2942
3049
  feature: _feature2.default,
2943
3050
  featureContextForm: _featureContextForm2.default,
2944
3051
  featureForm: _featureForm2.default,
@@ -3037,6 +3144,8 @@ exports.default = {
3037
3144
  issuer: _issuer2.default,
3038
3145
  issuerDeleted: _issuerDeleted2.default,
3039
3146
  issuerUpserted: _issuerUpserted2.default,
3147
+ itemClassificationForm: _itemClassificationForm2.default,
3148
+ itemClassificationResult: _itemClassificationResult2.default,
3040
3149
  itemDimensionEstimateDeleted: _itemDimensionEstimateDeleted2.default,
3041
3150
  itemDimensionEstimateUpserted: _itemDimensionEstimateUpserted2.default,
3042
3151
  itemFilterResponse: _itemFilterResponse2.default,
@@ -3077,6 +3186,7 @@ exports.default = {
3077
3186
  localization: _localization2.default,
3078
3187
  localizationForm: _localizationForm2.default,
3079
3188
  localizationRef: _localizationRef2.default,
3189
+ localizationSummary: _localizationSummary2.default,
3080
3190
  localizationUpserted: _localizationUpserted2.default,
3081
3191
  localizedContent: _localizedContent2.default,
3082
3192
  localizedContentElement: _localizedContentElement2.default,
@@ -3117,6 +3227,7 @@ exports.default = {
3117
3227
  marketingGatewayGoogleProductInstallment: _marketingGatewayGoogleProductInstallment2.default,
3118
3228
  marketingGatewayGoogleProductItemLevelIssue: _marketingGatewayGoogleProductItemLevelIssue2.default,
3119
3229
  marketingGatewayGoogleProductPricingDetails: _marketingGatewayGoogleProductPricingDetails2.default,
3230
+ marketingGatewayGoogleProductResult: _marketingGatewayGoogleProductResult2.default,
3120
3231
  marketingGatewayGoogleProductShippingDetails: _marketingGatewayGoogleProductShippingDetails2.default,
3121
3232
  marketingGatewayGoogleProductShippingUnit: _marketingGatewayGoogleProductShippingUnit2.default,
3122
3233
  marketingGatewayGoogleProductSizeDetails: _marketingGatewayGoogleProductSizeDetails2.default,
@@ -3125,8 +3236,6 @@ exports.default = {
3125
3236
  marketingGatewayGoogleProductUnitPricingMeasure: _marketingGatewayGoogleProductUnitPricingMeasure2.default,
3126
3237
  marketingGatewayGoogleProductWarning: _marketingGatewayGoogleProductWarning2.default,
3127
3238
  marketingGatewayImageLinks: _marketingGatewayImageLinks2.default,
3128
- marketingGatewayLocalizationFlowCountry: _marketingGatewayLocalizationFlowCountry2.default,
3129
- marketingGatewayLocalizationFlowExperience: _marketingGatewayLocalizationFlowExperience2.default,
3130
3239
  marketingGatewayProductsResult: _marketingGatewayProductsResult2.default,
3131
3240
  marketingGatewayProductsStatusCount: _marketingGatewayProductsStatusCount2.default,
3132
3241
  nextBillingStatement: _nextBillingStatement2.default,
@@ -3184,6 +3293,15 @@ exports.default = {
3184
3293
  paymentSummaryV2: _paymentSummaryV2.default,
3185
3294
  paypalAuthenticationData: _paypalAuthenticationData2.default,
3186
3295
  paypalAuthenticationDataReference: _paypalAuthenticationDataReference2.default,
3296
+ paypalExecutionDeleted: _paypalExecutionDeleted2.default,
3297
+ paypalExecutionUpserted: _paypalExecutionUpserted2.default,
3298
+ paypalInternalExecution: _paypalInternalExecution2.default,
3299
+ paypalInternalPayment: _paypalInternalPayment2.default,
3300
+ paypalInternalRefund: _paypalInternalRefund2.default,
3301
+ paypalPaymentDeleted: _paypalPaymentDeleted2.default,
3302
+ paypalPaymentUpserted: _paypalPaymentUpserted2.default,
3303
+ paypalRefundDeleted: _paypalRefundDeleted2.default,
3304
+ paypalRefundUpserted: _paypalRefundUpserted2.default,
3187
3305
  pendingBankPayment: _pendingBankPayment2.default,
3188
3306
  pendingBankPaymentTaxRemittanceDetail: _pendingBankPaymentTaxRemittanceDetail2.default,
3189
3307
  pendingBankPaymentTransferDetail: _pendingBankPaymentTransferDetail2.default,
@@ -3197,6 +3315,7 @@ exports.default = {
3197
3315
  productPhrase: _productPhrase2.default,
3198
3316
  productPhraseForm: _productPhraseForm2.default,
3199
3317
  productReference: _productReference2.default,
3318
+ productResult: _productResult2.default,
3200
3319
  rate: _rate2.default,
3201
3320
  rateData: _rateData2.default,
3202
3321
  rateDataV3: _rateDataV2.default,
@@ -3296,6 +3415,18 @@ exports.default = {
3296
3415
  stringFeatureRuleForm: _stringFeatureRuleForm2.default,
3297
3416
  stringFeatureValue: _stringFeatureValue2.default,
3298
3417
  stripeAuthenticationDataReference: _stripeAuthenticationDataReference2.default,
3418
+ stripeAuthorizationDeleted: _stripeAuthorizationDeleted2.default,
3419
+ stripeAuthorizationUpserted: _stripeAuthorizationUpserted2.default,
3420
+ stripeCaptureDeleted: _stripeCaptureDeleted2.default,
3421
+ stripeCaptureUpserted: _stripeCaptureUpserted2.default,
3422
+ stripeInternalAuthorization: _stripeInternalAuthorization2.default,
3423
+ stripeInternalCapture: _stripeInternalCapture2.default,
3424
+ stripeInternalRefund: _stripeInternalRefund2.default,
3425
+ stripeInternalReversal: _stripeInternalReversal2.default,
3426
+ stripeRefundDeleted: _stripeRefundDeleted2.default,
3427
+ stripeRefundUpserted: _stripeRefundUpserted2.default,
3428
+ stripeReversalDeleted: _stripeReversalDeleted2.default,
3429
+ stripeReversalUpserted: _stripeReversalUpserted2.default,
3299
3430
  subcatalogItemCount: _subcatalogItemCount2.default,
3300
3431
  subcatalogItemDeleteIndexTask: _subcatalogItemDeleteIndexTask2.default,
3301
3432
  subcatalogItemIndexTask: _subcatalogItemIndexTask2.default,
@@ -3355,7 +3486,6 @@ exports.default = {
3355
3486
  internalAuthorizationDetails: _internalAuthorizationDetails2.default,
3356
3487
  internalRefundForm: _internalRefundForm2.default,
3357
3488
  localizableContent: _localizableContent2.default,
3358
- marketingGatewayLocalization: _marketingGatewayLocalization2.default,
3359
3489
  marketingGatewayPlatformMarket: _marketingGatewayPlatformMarket2.default,
3360
3490
  marketingGatewayProduct: _marketingGatewayProduct2.default,
3361
3491
  orderActionForm: _orderActionForm2.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
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
@@ -110,8 +110,10 @@ declare const defaultExport: {
110
110
  classificationFeatureSetDefault: Requireable<any> & Validator<any>;
111
111
  classificationFeaturesCategoryApparel: Requireable<any> & Validator<any>;
112
112
  classificationItem: Requireable<any> & Validator<any>;
113
+ classificationItemId: Requireable<any> & Validator<any>;
113
114
  classificationItemSummary: Requireable<any> & Validator<any>;
114
115
  classificationItemSummaryPage: Requireable<any> & Validator<any>;
116
+ classifiedItem: Requireable<any> & Validator<any>;
115
117
  completePriceRule: Requireable<any> & Validator<any>;
116
118
  consumerOptinActivity: Requireable<any> & Validator<any>;
117
119
  contentElementType: Requireable<any> & Validator<any>;
@@ -204,6 +206,7 @@ declare const defaultExport: {
204
206
  exportSchedule: Requireable<any> & Validator<any>;
205
207
  exportScheduleDaily: Requireable<any> & Validator<any>;
206
208
  exportScheduleRepeated: Requireable<any> & Validator<any>;
209
+ externalVariant: Requireable<any> & Validator<any>;
207
210
  feature: Requireable<any> & Validator<any>;
208
211
  featureContextForm: Requireable<any> & Validator<any>;
209
212
  featureForm: Requireable<any> & Validator<any>;
@@ -322,6 +325,8 @@ declare const defaultExport: {
322
325
  issuer: Requireable<any> & Validator<any>;
323
326
  issuerDeleted: Requireable<any> & Validator<any>;
324
327
  issuerUpserted: Requireable<any> & Validator<any>;
328
+ itemClassificationForm: Requireable<any> & Validator<any>;
329
+ itemClassificationResult: Requireable<any> & Validator<any>;
325
330
  itemClassificationStatus: Requireable<any> & Validator<any>;
326
331
  itemDimensionEstimateDeleted: Requireable<any> & Validator<any>;
327
332
  itemDimensionEstimateUpserted: Requireable<any> & Validator<any>;
@@ -367,6 +372,7 @@ declare const defaultExport: {
367
372
  localization: Requireable<any> & Validator<any>;
368
373
  localizationForm: Requireable<any> & Validator<any>;
369
374
  localizationRef: Requireable<any> & Validator<any>;
375
+ localizationSummary: Requireable<any> & Validator<any>;
370
376
  localizationUpserted: Requireable<any> & Validator<any>;
371
377
  localizedContent: Requireable<any> & Validator<any>;
372
378
  localizedContentElement: Requireable<any> & Validator<any>;
@@ -410,6 +416,7 @@ declare const defaultExport: {
410
416
  marketingGatewayGoogleProductItemLevelIssue: Requireable<any> & Validator<any>;
411
417
  marketingGatewayGoogleProductItemLevelIssueSeverity: Requireable<any> & Validator<any>;
412
418
  marketingGatewayGoogleProductPricingDetails: Requireable<any> & Validator<any>;
419
+ marketingGatewayGoogleProductResult: Requireable<any> & Validator<any>;
413
420
  marketingGatewayGoogleProductShippingDetails: Requireable<any> & Validator<any>;
414
421
  marketingGatewayGoogleProductShippingUnit: Requireable<any> & Validator<any>;
415
422
  marketingGatewayGoogleProductSizeDetails: Requireable<any> & Validator<any>;
@@ -418,9 +425,6 @@ declare const defaultExport: {
418
425
  marketingGatewayGoogleProductUnitPricingMeasure: Requireable<any> & Validator<any>;
419
426
  marketingGatewayGoogleProductWarning: Requireable<any> & Validator<any>;
420
427
  marketingGatewayImageLinks: Requireable<any> & Validator<any>;
421
- marketingGatewayLocalization: Requireable<any> & Validator<any>;
422
- marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
423
- marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
424
428
  marketingGatewayPlatform: Requireable<any> & Validator<any>;
425
429
  marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
426
430
  marketingGatewayProduct: Requireable<any> & Validator<any>;
@@ -492,6 +496,15 @@ declare const defaultExport: {
492
496
  paymentTerm: Requireable<any> & Validator<any>;
493
497
  paypalAuthenticationData: Requireable<any> & Validator<any>;
494
498
  paypalAuthenticationDataReference: Requireable<any> & Validator<any>;
499
+ paypalExecutionDeleted: Requireable<any> & Validator<any>;
500
+ paypalExecutionUpserted: Requireable<any> & Validator<any>;
501
+ paypalInternalExecution: Requireable<any> & Validator<any>;
502
+ paypalInternalPayment: Requireable<any> & Validator<any>;
503
+ paypalInternalRefund: Requireable<any> & Validator<any>;
504
+ paypalPaymentDeleted: Requireable<any> & Validator<any>;
505
+ paypalPaymentUpserted: Requireable<any> & Validator<any>;
506
+ paypalRefundDeleted: Requireable<any> & Validator<any>;
507
+ paypalRefundUpserted: Requireable<any> & Validator<any>;
495
508
  pendingBankPayment: Requireable<any> & Validator<any>;
496
509
  pendingBankPaymentDetail: Requireable<any> & Validator<any>;
497
510
  pendingBankPaymentTaxRemittanceDetail: Requireable<any> & Validator<any>;
@@ -509,6 +522,7 @@ declare const defaultExport: {
509
522
  productPhrase: Requireable<any> & Validator<any>;
510
523
  productPhraseForm: Requireable<any> & Validator<any>;
511
524
  productReference: Requireable<any> & Validator<any>;
525
+ productResult: Requireable<any> & Validator<any>;
512
526
  promptAction: Requireable<any> & Validator<any>;
513
527
  promptOptions: Requireable<any> & Validator<any>;
514
528
  promptTarget: Requireable<any> & Validator<any>;
@@ -634,6 +648,18 @@ declare const defaultExport: {
634
648
  stringFeatureRuleForm: Requireable<any> & Validator<any>;
635
649
  stringFeatureValue: Requireable<any> & Validator<any>;
636
650
  stripeAuthenticationDataReference: Requireable<any> & Validator<any>;
651
+ stripeAuthorizationDeleted: Requireable<any> & Validator<any>;
652
+ stripeAuthorizationUpserted: Requireable<any> & Validator<any>;
653
+ stripeCaptureDeleted: Requireable<any> & Validator<any>;
654
+ stripeCaptureUpserted: Requireable<any> & Validator<any>;
655
+ stripeInternalAuthorization: Requireable<any> & Validator<any>;
656
+ stripeInternalCapture: Requireable<any> & Validator<any>;
657
+ stripeInternalRefund: Requireable<any> & Validator<any>;
658
+ stripeInternalReversal: Requireable<any> & Validator<any>;
659
+ stripeRefundDeleted: Requireable<any> & Validator<any>;
660
+ stripeRefundUpserted: Requireable<any> & Validator<any>;
661
+ stripeReversalDeleted: Requireable<any> & Validator<any>;
662
+ stripeReversalUpserted: Requireable<any> & Validator<any>;
637
663
  subcatalogItemCount: Requireable<any> & Validator<any>;
638
664
  subcatalogItemDeleteIndexTask: Requireable<any> & Validator<any>;
639
665
  subcatalogItemIndexTask: Requireable<any> & Validator<any>;
@@ -1,11 +1,9 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import item from './item';
3
3
  import subcatalogItemStatus from '../enums/subcatalogItemStatus';
4
- import expandableItemFunction from '../unions/expandableItemFunction';
5
4
 
6
5
  export default PropTypes.shape({
7
6
  id: PropTypes.string.isRequired,
8
7
  item: item.isRequired,
9
8
  status: subcatalogItemStatus.isRequired,
10
- item_function: expandableItemFunction,
11
9
  });
@@ -12,4 +12,6 @@ export default PropTypes.oneOf([
12
12
  'invalid_country',
13
13
  'invalid_region',
14
14
  'invalid_language',
15
+ 'order_item_out_of_stock',
16
+ 'gift_card_error',
15
17
  ]);
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import experimentResults from './experimentResults';
3
+
4
+ export default PropTypes.shape({
5
+ key: PropTypes.string.isRequired,
6
+ traffic_percentage: PropTypes.number.isRequired,
7
+ experiment_results: experimentResults,
8
+ name: PropTypes.string.isRequired,
9
+ });
@@ -1,4 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import experienceVariant from '../models/experienceVariant';
3
+ import externalVariant from '../models/externalVariant';
3
4
 
4
- export default PropTypes.oneOfType([experienceVariant]);
5
+ export default PropTypes.oneOfType([experienceVariant, externalVariant]);
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['zero', 'free']);
@@ -1,6 +1,8 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import price from '../../../common/v0/models/price';
3
+ import zeroAmountIndicator from '../enums/zeroAmountIndicator';
3
4
 
4
5
  export default PropTypes.shape({
5
6
  price: price.isRequired,
7
+ zero_amount_indicator: zeroAmountIndicator,
6
8
  });
@@ -1,6 +1,8 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import money from '../../../common/v0/models/money';
3
+ import zeroAmountIndicator from '../enums/zeroAmountIndicator';
3
4
 
4
5
  export default PropTypes.shape({
5
6
  price: money.isRequired,
7
+ zero_amount_indicator: zeroAmountIndicator,
6
8
  });
@@ -14,6 +14,7 @@ export default PropTypes.shape({
14
14
  direction: tierDirection.isRequired,
15
15
  integration: shipmentIntegrationType.isRequired,
16
16
  name: PropTypes.string.isRequired,
17
+ message: PropTypes.string,
17
18
  rules: PropTypes.arrayOf(tierRule).isRequired,
18
19
  services: PropTypes.arrayOf(carrierService).isRequired,
19
20
  strategy: tierStrategy.isRequired,
@@ -11,6 +11,7 @@ export default PropTypes.shape({
11
11
  currency: PropTypes.string.isRequired,
12
12
  integration: shipmentIntegrationType.isRequired,
13
13
  name: PropTypes.string.isRequired,
14
+ message: PropTypes.string,
14
15
  rules: PropTypes.arrayOf(tierRuleForm).isRequired,
15
16
  services: PropTypes.arrayOf(PropTypes.string).isRequired,
16
17
  strategy: tierStrategy.isRequired,
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ id: PropTypes.string.isRequired,
5
+ organization_id: PropTypes.string.isRequired,
6
+ number: PropTypes.string.isRequired,
7
+ });
@@ -0,0 +1,16 @@
1
+ import PropTypes from 'prop-types';
2
+ import itemClassificationStatus from '../enums/itemClassificationStatus';
3
+
4
+ export default PropTypes.shape({
5
+ id: PropTypes.string.isRequired,
6
+ organization_id: PropTypes.string.isRequired,
7
+ number: PropTypes.string.isRequired,
8
+ name: PropTypes.string.isRequired,
9
+ description: PropTypes.string.isRequired,
10
+ status: itemClassificationStatus.isRequired,
11
+ classification: PropTypes.string.isRequired,
12
+ classification_model_id: PropTypes.string.isRequired,
13
+ images: PropTypes.arrayOf(PropTypes.string).isRequired,
14
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
15
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
16
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ organization_id: PropTypes.string.isRequired,
5
+ number: PropTypes.string.isRequired,
6
+ classification_model_id: PropTypes.string.isRequired,
7
+ classification: PropTypes.string.isRequired,
8
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import classifiedItem from './classifiedItem';
3
+ import classificationItemId from './classificationItemId';
4
+
5
+ export default PropTypes.shape({
6
+ classified_item: classifiedItem.isRequired,
7
+ next_item: classificationItemId.isRequired,
8
+ });
@@ -92,6 +92,12 @@ export default PropTypes.oneOf([
92
92
  'fulfillment_cancel',
93
93
  'order_shipped',
94
94
  'items_shipped',
95
+ 'paypal_payment_deleted',
96
+ 'paypal_payment_upserted',
97
+ 'paypal_execution_deleted',
98
+ 'paypal_execution_upserted',
99
+ 'paypal_refund_deleted',
100
+ 'paypal_refund_upserted',
95
101
  'order_rates_published_v3',
96
102
  'lane_upserted',
97
103
  'lane_deleted',
@@ -101,6 +107,14 @@ export default PropTypes.oneOf([
101
107
  'shopify_shop_deleted',
102
108
  'shopify_experience_short_id_upserted',
103
109
  'shopify_experience_short_id_deleted',
110
+ 'stripe_authorization_deleted',
111
+ 'stripe_authorization_upserted',
112
+ 'stripe_reversal_deleted',
113
+ 'stripe_reversal_upserted',
114
+ 'stripe_capture_deleted',
115
+ 'stripe_capture_upserted',
116
+ 'stripe_refund_deleted',
117
+ 'stripe_refund_upserted',
104
118
  'svb_virtual_card_clearing_upserted',
105
119
  'svb_virtual_card_clearing_deleted',
106
120
  'tracking_request_upserted',
@@ -10,4 +10,5 @@ export default PropTypes.shape({
10
10
  send_statements_to_flow_ftp_server: PropTypes.bool.isRequired,
11
11
  invoicing_terms: paymentTerm,
12
12
  transfer_method: transferMethod,
13
+ enable_b2b_tax_remittance_transactions: PropTypes.bool.isRequired,
13
14
  });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ id: PropTypes.string.isRequired,
5
+ organization_id: PropTypes.string.isRequired,
6
+ number: PropTypes.string.isRequired,
7
+ });
@@ -0,0 +1,16 @@
1
+ import PropTypes from 'prop-types';
2
+ import itemClassificationStatus from '../enums/itemClassificationStatus';
3
+
4
+ export default PropTypes.shape({
5
+ id: PropTypes.string.isRequired,
6
+ organization_id: PropTypes.string.isRequired,
7
+ number: PropTypes.string.isRequired,
8
+ name: PropTypes.string.isRequired,
9
+ description: PropTypes.string.isRequired,
10
+ status: itemClassificationStatus.isRequired,
11
+ classification: PropTypes.string.isRequired,
12
+ classification_model_id: PropTypes.string.isRequired,
13
+ images: PropTypes.arrayOf(PropTypes.string).isRequired,
14
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
15
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
16
+ });
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import experimentResults from './experimentResults';
3
+
4
+ export default PropTypes.shape({
5
+ key: PropTypes.string.isRequired,
6
+ traffic_percentage: PropTypes.number.isRequired,
7
+ experiment_results: experimentResults,
8
+ name: PropTypes.string.isRequired,
9
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ organization_id: PropTypes.string.isRequired,
5
+ number: PropTypes.string.isRequired,
6
+ classification_model_id: PropTypes.string.isRequired,
7
+ classification: PropTypes.string.isRequired,
8
+ });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import classifiedItem from './classifiedItem';
3
+ import classificationItemId from './classificationItemId';
4
+
5
+ export default PropTypes.shape({
6
+ classified_item: classifiedItem.isRequired,
7
+ next_item: classificationItemId.isRequired,
8
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ experience_name: PropTypes.string.isRequired,
5
+ experience_key: PropTypes.string.isRequired,
6
+ });