@flowio/api-internal-prop-types 1.2.13 → 1.2.14
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 +2174 -0
- package/.apibuilder/config +306 -0
- package/.eslintcache +1 -1
- package/LICENSE +21 -0
- package/README.md +1 -1
- package/lib/index.d.ts +26 -0
- package/lib/io/flow/catalog/v0/models/subcatalogItem.js +1 -6
- package/lib/io/flow/experiment/internal/v0/models/externalVariant.js +22 -0
- package/lib/io/flow/experiment/internal/v0/unions/variant.js +5 -1
- package/lib/io/flow/fulfillment/v0/enums/zeroAmountIndicator.js +13 -0
- package/lib/io/flow/fulfillment/v0/models/flatRate.js +6 -1
- package/lib/io/flow/fulfillment/v0/models/flatRateForm.js +6 -1
- package/lib/io/flow/fulfillment/v0/models/tier.js +1 -0
- package/lib/io/flow/fulfillment/v0/models/tierForm.js +1 -0
- package/lib/io/flow/harmonization/internal/v0/models/classificationItemId.js +17 -0
- package/lib/io/flow/harmonization/internal/v0/models/classifiedItem.js +29 -0
- package/lib/io/flow/harmonization/internal/v0/models/itemClassificationForm.js +18 -0
- package/lib/io/flow/harmonization/internal/v0/models/itemClassificationResult.js +24 -0
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/models/classificationItemId.js +17 -0
- package/lib/io/flow/internal/v0/models/classifiedItem.js +29 -0
- package/lib/io/flow/internal/v0/models/externalVariant.js +22 -0
- package/lib/io/flow/internal/v0/models/itemClassificationForm.js +18 -0
- package/lib/io/flow/internal/v0/models/itemClassificationResult.js +24 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleMarket.js +1 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +1 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +1 -1
- package/lib/io/flow/internal/v0/models/paypalExecutionDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/paypalExecutionUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/paypalInternalExecution.js +33 -0
- package/lib/io/flow/internal/v0/models/paypalInternalPayment.js +29 -0
- package/lib/io/flow/internal/v0/models/paypalInternalRefund.js +29 -0
- package/lib/io/flow/internal/v0/models/paypalPaymentDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/paypalPaymentUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/paypalRefundDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/paypalRefundUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeAuthorizationDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeAuthorizationUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeCaptureDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeCaptureUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeInternalAuthorization.js +23 -0
- package/lib/io/flow/internal/v0/models/stripeInternalCapture.js +20 -0
- package/lib/io/flow/internal/v0/models/stripeInternalRefund.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeInternalReversal.js +20 -0
- package/lib/io/flow/internal/v0/models/stripeRefundDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeRefundUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeReversalDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/stripeReversalUpserted.js +21 -0
- package/lib/io/flow/internal/v0/unions/event.js +57 -1
- package/lib/io/flow/internal/v0/unions/variant.js +5 -1
- package/lib/io/flow/label/v0/models/detailedShippingLabelForm.js +43 -0
- package/lib/io/flow/label/v0/models/summaryShippingLabelForm.js +20 -0
- package/lib/io/flow/label/v0/unions/shippingLabelForm.js +21 -0
- package/lib/io/flow/shopify/external/v0/models/collect.js +22 -0
- package/lib/io/flow/shopify/external/v0/models/collection.js +20 -0
- package/lib/io/flow/shopify/external/v0/models/responseCollect.js +19 -0
- package/lib/io/flow/shopify/external/v0/models/responseCollects.js +19 -0
- package/lib/io/flow/shopify/v0/enums/shopifySyncCheck.js +13 -0
- package/lib/io/flow/shopify/v0/models/shopifyItemEventBucket.js +25 -0
- package/lib/io/flow/shopify/v0/models/shopifyItemEventData.js +25 -0
- package/lib/io/flow/shopify/v0/models/shopifySyncStatus.js +32 -0
- package/lib/io/flow/shopify/v0/unions/shopifyEventBucket.js +17 -0
- package/lib/mocks.js +26 -0
- package/lib/validators.js +130 -0
- package/package.json +3 -2
- package/src/index.d.ts +26 -0
- package/src/io/flow/catalog/v0/models/subcatalogItem.js +0 -2
- package/src/io/flow/experiment/internal/v0/models/externalVariant.js +9 -0
- package/src/io/flow/experiment/internal/v0/unions/variant.js +2 -1
- package/src/io/flow/fulfillment/v0/enums/zeroAmountIndicator.js +3 -0
- package/src/io/flow/fulfillment/v0/models/flatRate.js +2 -0
- package/src/io/flow/fulfillment/v0/models/flatRateForm.js +2 -0
- package/src/io/flow/fulfillment/v0/models/tier.js +1 -0
- package/src/io/flow/fulfillment/v0/models/tierForm.js +1 -0
- package/src/io/flow/harmonization/internal/v0/models/classificationItemId.js +7 -0
- package/src/io/flow/harmonization/internal/v0/models/classifiedItem.js +16 -0
- package/src/io/flow/harmonization/internal/v0/models/itemClassificationForm.js +8 -0
- package/src/io/flow/harmonization/internal/v0/models/itemClassificationResult.js +8 -0
- package/src/io/flow/internal/v0/enums/eventType.js +14 -0
- package/src/io/flow/internal/v0/models/classificationItemId.js +7 -0
- package/src/io/flow/internal/v0/models/classifiedItem.js +16 -0
- package/src/io/flow/internal/v0/models/externalVariant.js +9 -0
- package/src/io/flow/internal/v0/models/itemClassificationForm.js +8 -0
- package/src/io/flow/internal/v0/models/itemClassificationResult.js +8 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleMarket.js +1 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +1 -1
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +1 -1
- package/src/io/flow/internal/v0/models/paypalExecutionDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/paypalExecutionUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/paypalInternalExecution.js +23 -0
- package/src/io/flow/internal/v0/models/paypalInternalPayment.js +19 -0
- package/src/io/flow/internal/v0/models/paypalInternalRefund.js +19 -0
- package/src/io/flow/internal/v0/models/paypalPaymentDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/paypalPaymentUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/paypalRefundDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/paypalRefundUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeAuthorizationDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeAuthorizationUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeCaptureDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeCaptureUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeInternalAuthorization.js +13 -0
- package/src/io/flow/internal/v0/models/stripeInternalCapture.js +10 -0
- package/src/io/flow/internal/v0/models/stripeInternalRefund.js +11 -0
- package/src/io/flow/internal/v0/models/stripeInternalReversal.js +10 -0
- package/src/io/flow/internal/v0/models/stripeRefundDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeRefundUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeReversalDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/stripeReversalUpserted.js +8 -0
- package/src/io/flow/internal/v0/unions/event.js +28 -0
- package/src/io/flow/internal/v0/unions/variant.js +2 -1
- package/src/io/flow/label/v0/models/detailedShippingLabelForm.js +18 -0
- package/src/io/flow/label/v0/models/summaryShippingLabelForm.js +7 -0
- package/src/io/flow/label/v0/unions/shippingLabelForm.js +8 -0
- package/src/io/flow/shopify/external/v0/models/collect.js +12 -0
- package/src/io/flow/shopify/external/v0/models/collection.js +10 -0
- package/src/io/flow/shopify/external/v0/models/responseCollect.js +6 -0
- package/src/io/flow/shopify/external/v0/models/responseCollects.js +6 -0
- package/src/io/flow/shopify/v0/enums/shopifySyncCheck.js +6 -0
- package/src/io/flow/shopify/v0/models/shopifyItemEventBucket.js +9 -0
- package/src/io/flow/shopify/v0/models/shopifyItemEventData.js +9 -0
- package/src/io/flow/shopify/v0/models/shopifySyncStatus.js +13 -0
- package/src/io/flow/shopify/v0/unions/shopifyEventBucket.js +4 -0
- package/src/mocks.js +26 -0
- package/src/validators.js +52 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _propTypes = require('prop-types');
|
|
8
|
+
|
|
9
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
|
+
|
|
11
|
+
var _experienceReference = require('../../../experience/v0/models/experienceReference');
|
|
12
|
+
|
|
13
|
+
var _experienceReference2 = _interopRequireDefault(_experienceReference);
|
|
14
|
+
|
|
15
|
+
var _catalogItemSummary = require('../../../common/v0/models/catalogItemSummary');
|
|
16
|
+
|
|
17
|
+
var _catalogItemSummary2 = _interopRequireDefault(_catalogItemSummary);
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
exports.default = _propTypes2.default.shape({
|
|
22
|
+
created_at: _propTypes2.default.string.isRequired,
|
|
23
|
+
experience: _experienceReference2.default.isRequired,
|
|
24
|
+
item: _catalogItemSummary2.default.isRequired
|
|
25
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _propTypes = require('prop-types');
|
|
8
|
+
|
|
9
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
|
+
|
|
11
|
+
var _shopifySyncCheck = require('../enums/shopifySyncCheck');
|
|
12
|
+
|
|
13
|
+
var _shopifySyncCheck2 = _interopRequireDefault(_shopifySyncCheck);
|
|
14
|
+
|
|
15
|
+
var _datetimeRange = require('../../../common/v0/models/datetimeRange');
|
|
16
|
+
|
|
17
|
+
var _datetimeRange2 = _interopRequireDefault(_datetimeRange);
|
|
18
|
+
|
|
19
|
+
var _shopifyEventBucket = require('../unions/shopifyEventBucket');
|
|
20
|
+
|
|
21
|
+
var _shopifyEventBucket2 = _interopRequireDefault(_shopifyEventBucket);
|
|
22
|
+
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
+
|
|
25
|
+
exports.default = _propTypes2.default.shape({
|
|
26
|
+
sync_check: _shopifySyncCheck2.default.isRequired,
|
|
27
|
+
range: _datetimeRange2.default.isRequired,
|
|
28
|
+
interval_seconds: _propTypes2.default.number.isRequired,
|
|
29
|
+
total: _propTypes2.default.number.isRequired,
|
|
30
|
+
needle_marker: _propTypes2.default.string.isRequired,
|
|
31
|
+
buckets: _propTypes2.default.arrayOf(_shopifyEventBucket2.default).isRequired
|
|
32
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _propTypes = require('prop-types');
|
|
8
|
+
|
|
9
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
|
+
|
|
11
|
+
var _shopifyItemEventBucket = require('../models/shopifyItemEventBucket');
|
|
12
|
+
|
|
13
|
+
var _shopifyItemEventBucket2 = _interopRequireDefault(_shopifyItemEventBucket);
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
exports.default = _propTypes2.default.oneOfType([_shopifyItemEventBucket2.default]);
|
package/lib/mocks.js
CHANGED
|
@@ -175,8 +175,10 @@ exports.default = {
|
|
|
175
175
|
classificationFeatureSetDefault: noopThunk,
|
|
176
176
|
classificationFeaturesCategoryApparel: noopThunk,
|
|
177
177
|
classificationItem: noopThunk,
|
|
178
|
+
classificationItemId: noopThunk,
|
|
178
179
|
classificationItemSummary: noopThunk,
|
|
179
180
|
classificationItemSummaryPage: noopThunk,
|
|
181
|
+
classifiedItem: noopThunk,
|
|
180
182
|
completePriceRule: noopThunk,
|
|
181
183
|
consumerOptinActivity: noopThunk,
|
|
182
184
|
contentSchema: noopThunk,
|
|
@@ -248,6 +250,7 @@ exports.default = {
|
|
|
248
250
|
exportFailed: noopThunk,
|
|
249
251
|
exportScheduleDaily: noopThunk,
|
|
250
252
|
exportScheduleRepeated: noopThunk,
|
|
253
|
+
externalVariant: noopThunk,
|
|
251
254
|
feature: noopThunk,
|
|
252
255
|
featureContextForm: noopThunk,
|
|
253
256
|
featureForm: noopThunk,
|
|
@@ -346,6 +349,8 @@ exports.default = {
|
|
|
346
349
|
issuer: noopThunk,
|
|
347
350
|
issuerDeleted: noopThunk,
|
|
348
351
|
issuerUpserted: noopThunk,
|
|
352
|
+
itemClassificationForm: noopThunk,
|
|
353
|
+
itemClassificationResult: noopThunk,
|
|
349
354
|
itemDimensionEstimateDeleted: noopThunk,
|
|
350
355
|
itemDimensionEstimateUpserted: noopThunk,
|
|
351
356
|
itemFilterResponse: noopThunk,
|
|
@@ -493,6 +498,15 @@ exports.default = {
|
|
|
493
498
|
paymentSummaryV2: noopThunk,
|
|
494
499
|
paypalAuthenticationData: noopThunk,
|
|
495
500
|
paypalAuthenticationDataReference: noopThunk,
|
|
501
|
+
paypalExecutionDeleted: noopThunk,
|
|
502
|
+
paypalExecutionUpserted: noopThunk,
|
|
503
|
+
paypalInternalExecution: noopThunk,
|
|
504
|
+
paypalInternalPayment: noopThunk,
|
|
505
|
+
paypalInternalRefund: noopThunk,
|
|
506
|
+
paypalPaymentDeleted: noopThunk,
|
|
507
|
+
paypalPaymentUpserted: noopThunk,
|
|
508
|
+
paypalRefundDeleted: noopThunk,
|
|
509
|
+
paypalRefundUpserted: noopThunk,
|
|
496
510
|
pendingBankPayment: noopThunk,
|
|
497
511
|
pendingBankPaymentTaxRemittanceDetail: noopThunk,
|
|
498
512
|
pendingBankPaymentTransferDetail: noopThunk,
|
|
@@ -605,6 +619,18 @@ exports.default = {
|
|
|
605
619
|
stringFeatureRuleForm: noopThunk,
|
|
606
620
|
stringFeatureValue: noopThunk,
|
|
607
621
|
stripeAuthenticationDataReference: noopThunk,
|
|
622
|
+
stripeAuthorizationDeleted: noopThunk,
|
|
623
|
+
stripeAuthorizationUpserted: noopThunk,
|
|
624
|
+
stripeCaptureDeleted: noopThunk,
|
|
625
|
+
stripeCaptureUpserted: noopThunk,
|
|
626
|
+
stripeInternalAuthorization: noopThunk,
|
|
627
|
+
stripeInternalCapture: noopThunk,
|
|
628
|
+
stripeInternalRefund: noopThunk,
|
|
629
|
+
stripeInternalReversal: noopThunk,
|
|
630
|
+
stripeRefundDeleted: noopThunk,
|
|
631
|
+
stripeRefundUpserted: noopThunk,
|
|
632
|
+
stripeReversalDeleted: noopThunk,
|
|
633
|
+
stripeReversalUpserted: noopThunk,
|
|
608
634
|
subcatalogItemCount: noopThunk,
|
|
609
635
|
subcatalogItemDeleteIndexTask: noopThunk,
|
|
610
636
|
subcatalogItemIndexTask: noopThunk,
|
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);
|
|
@@ -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);
|
|
@@ -2376,6 +2432,54 @@ var _stripeAuthenticationDataReference = require('./io/flow/internal/v0/models/s
|
|
|
2376
2432
|
|
|
2377
2433
|
var _stripeAuthenticationDataReference2 = _interopRequireDefault(_stripeAuthenticationDataReference);
|
|
2378
2434
|
|
|
2435
|
+
var _stripeAuthorizationDeleted = require('./io/flow/internal/v0/models/stripeAuthorizationDeleted');
|
|
2436
|
+
|
|
2437
|
+
var _stripeAuthorizationDeleted2 = _interopRequireDefault(_stripeAuthorizationDeleted);
|
|
2438
|
+
|
|
2439
|
+
var _stripeAuthorizationUpserted = require('./io/flow/internal/v0/models/stripeAuthorizationUpserted');
|
|
2440
|
+
|
|
2441
|
+
var _stripeAuthorizationUpserted2 = _interopRequireDefault(_stripeAuthorizationUpserted);
|
|
2442
|
+
|
|
2443
|
+
var _stripeCaptureDeleted = require('./io/flow/internal/v0/models/stripeCaptureDeleted');
|
|
2444
|
+
|
|
2445
|
+
var _stripeCaptureDeleted2 = _interopRequireDefault(_stripeCaptureDeleted);
|
|
2446
|
+
|
|
2447
|
+
var _stripeCaptureUpserted = require('./io/flow/internal/v0/models/stripeCaptureUpserted');
|
|
2448
|
+
|
|
2449
|
+
var _stripeCaptureUpserted2 = _interopRequireDefault(_stripeCaptureUpserted);
|
|
2450
|
+
|
|
2451
|
+
var _stripeInternalAuthorization = require('./io/flow/internal/v0/models/stripeInternalAuthorization');
|
|
2452
|
+
|
|
2453
|
+
var _stripeInternalAuthorization2 = _interopRequireDefault(_stripeInternalAuthorization);
|
|
2454
|
+
|
|
2455
|
+
var _stripeInternalCapture = require('./io/flow/internal/v0/models/stripeInternalCapture');
|
|
2456
|
+
|
|
2457
|
+
var _stripeInternalCapture2 = _interopRequireDefault(_stripeInternalCapture);
|
|
2458
|
+
|
|
2459
|
+
var _stripeInternalRefund = require('./io/flow/internal/v0/models/stripeInternalRefund');
|
|
2460
|
+
|
|
2461
|
+
var _stripeInternalRefund2 = _interopRequireDefault(_stripeInternalRefund);
|
|
2462
|
+
|
|
2463
|
+
var _stripeInternalReversal = require('./io/flow/internal/v0/models/stripeInternalReversal');
|
|
2464
|
+
|
|
2465
|
+
var _stripeInternalReversal2 = _interopRequireDefault(_stripeInternalReversal);
|
|
2466
|
+
|
|
2467
|
+
var _stripeRefundDeleted = require('./io/flow/internal/v0/models/stripeRefundDeleted');
|
|
2468
|
+
|
|
2469
|
+
var _stripeRefundDeleted2 = _interopRequireDefault(_stripeRefundDeleted);
|
|
2470
|
+
|
|
2471
|
+
var _stripeRefundUpserted = require('./io/flow/internal/v0/models/stripeRefundUpserted');
|
|
2472
|
+
|
|
2473
|
+
var _stripeRefundUpserted2 = _interopRequireDefault(_stripeRefundUpserted);
|
|
2474
|
+
|
|
2475
|
+
var _stripeReversalDeleted = require('./io/flow/internal/v0/models/stripeReversalDeleted');
|
|
2476
|
+
|
|
2477
|
+
var _stripeReversalDeleted2 = _interopRequireDefault(_stripeReversalDeleted);
|
|
2478
|
+
|
|
2479
|
+
var _stripeReversalUpserted = require('./io/flow/internal/v0/models/stripeReversalUpserted');
|
|
2480
|
+
|
|
2481
|
+
var _stripeReversalUpserted2 = _interopRequireDefault(_stripeReversalUpserted);
|
|
2482
|
+
|
|
2379
2483
|
var _subcatalogItemCount = require('./io/flow/internal/v0/models/subcatalogItemCount');
|
|
2380
2484
|
|
|
2381
2485
|
var _subcatalogItemCount2 = _interopRequireDefault(_subcatalogItemCount);
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -3296,6 +3414,18 @@ exports.default = {
|
|
|
3296
3414
|
stringFeatureRuleForm: _stringFeatureRuleForm2.default,
|
|
3297
3415
|
stringFeatureValue: _stringFeatureValue2.default,
|
|
3298
3416
|
stripeAuthenticationDataReference: _stripeAuthenticationDataReference2.default,
|
|
3417
|
+
stripeAuthorizationDeleted: _stripeAuthorizationDeleted2.default,
|
|
3418
|
+
stripeAuthorizationUpserted: _stripeAuthorizationUpserted2.default,
|
|
3419
|
+
stripeCaptureDeleted: _stripeCaptureDeleted2.default,
|
|
3420
|
+
stripeCaptureUpserted: _stripeCaptureUpserted2.default,
|
|
3421
|
+
stripeInternalAuthorization: _stripeInternalAuthorization2.default,
|
|
3422
|
+
stripeInternalCapture: _stripeInternalCapture2.default,
|
|
3423
|
+
stripeInternalRefund: _stripeInternalRefund2.default,
|
|
3424
|
+
stripeInternalReversal: _stripeInternalReversal2.default,
|
|
3425
|
+
stripeRefundDeleted: _stripeRefundDeleted2.default,
|
|
3426
|
+
stripeRefundUpserted: _stripeRefundUpserted2.default,
|
|
3427
|
+
stripeReversalDeleted: _stripeReversalDeleted2.default,
|
|
3428
|
+
stripeReversalUpserted: _stripeReversalUpserted2.default,
|
|
3299
3429
|
subcatalogItemCount: _subcatalogItemCount2.default,
|
|
3300
3430
|
subcatalogItemDeleteIndexTask: _subcatalogItemDeleteIndexTask2.default,
|
|
3301
3431
|
subcatalogItemIndexTask: _subcatalogItemIndexTask2.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.14",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -39,5 +39,6 @@
|
|
|
39
39
|
"eslint-plugin-react": "^7.10.0",
|
|
40
40
|
"prop-types": "^15.6.0",
|
|
41
41
|
"rimraf": "^2.6.2"
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"gitHead": "86513de56cfb9e82b547bc0100af5bfefd873df3"
|
|
43
44
|
}
|
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>;
|
|
@@ -492,6 +497,15 @@ declare const defaultExport: {
|
|
|
492
497
|
paymentTerm: Requireable<any> & Validator<any>;
|
|
493
498
|
paypalAuthenticationData: Requireable<any> & Validator<any>;
|
|
494
499
|
paypalAuthenticationDataReference: Requireable<any> & Validator<any>;
|
|
500
|
+
paypalExecutionDeleted: Requireable<any> & Validator<any>;
|
|
501
|
+
paypalExecutionUpserted: Requireable<any> & Validator<any>;
|
|
502
|
+
paypalInternalExecution: Requireable<any> & Validator<any>;
|
|
503
|
+
paypalInternalPayment: Requireable<any> & Validator<any>;
|
|
504
|
+
paypalInternalRefund: Requireable<any> & Validator<any>;
|
|
505
|
+
paypalPaymentDeleted: Requireable<any> & Validator<any>;
|
|
506
|
+
paypalPaymentUpserted: Requireable<any> & Validator<any>;
|
|
507
|
+
paypalRefundDeleted: Requireable<any> & Validator<any>;
|
|
508
|
+
paypalRefundUpserted: Requireable<any> & Validator<any>;
|
|
495
509
|
pendingBankPayment: Requireable<any> & Validator<any>;
|
|
496
510
|
pendingBankPaymentDetail: Requireable<any> & Validator<any>;
|
|
497
511
|
pendingBankPaymentTaxRemittanceDetail: 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
|
});
|
|
@@ -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]);
|
|
@@ -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,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',
|
|
@@ -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
|
+
});
|
|
@@ -5,7 +5,7 @@ export default PropTypes.shape({
|
|
|
5
5
|
id: PropTypes.string.isRequired,
|
|
6
6
|
severity: marketingGatewayGoogleProductItemLevelIssueSeverity.isRequired,
|
|
7
7
|
timestamp: PropTypes.string.isRequired,
|
|
8
|
-
location: PropTypes.string
|
|
8
|
+
location: PropTypes.string,
|
|
9
9
|
detail: PropTypes.string,
|
|
10
10
|
value_provided: PropTypes.string,
|
|
11
11
|
value_on_landingPage: PropTypes.string,
|