@flowio/api-internal-prop-types 1.2.12 → 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 +28 -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/marketingGatewayProductsResult.js +25 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayProductsStatusCount.js +20 -0
- 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 +28 -0
- package/lib/validators.js +140 -0
- package/package.json +3 -2
- package/src/index.d.ts +28 -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/marketingGatewayProductsResult.js +10 -0
- package/src/io/flow/internal/v0/models/marketingGatewayProductsStatusCount.js +7 -0
- 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 +28 -0
- package/src/validators.js +56 -0
|
@@ -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,
|
|
@@ -4,7 +4,7 @@ export default PropTypes.shape({
|
|
|
4
4
|
code: PropTypes.string.isRequired,
|
|
5
5
|
servability: PropTypes.string.isRequired,
|
|
6
6
|
resolution: PropTypes.string.isRequired,
|
|
7
|
-
attribute_name: PropTypes.string
|
|
7
|
+
attribute_name: PropTypes.string,
|
|
8
8
|
destination: PropTypes.string.isRequired,
|
|
9
9
|
description: PropTypes.string.isRequired,
|
|
10
10
|
detail: PropTypes.string.isRequired,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import marketingGatewayProduct from '../unions/marketingGatewayProduct';
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
products: PropTypes.arrayOf(marketingGatewayProduct).isRequired,
|
|
7
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
8
|
+
.isRequired,
|
|
9
|
+
total_count: PropTypes.number.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import paypalInternalExecution from './paypalInternalExecution';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
execution: paypalInternalExecution.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import paypalInternalExecution from './paypalInternalExecution';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
execution: paypalInternalExecution.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
currency: PropTypes.string.isRequired,
|
|
6
|
+
total: PropTypes.number.isRequired,
|
|
7
|
+
intent: PropTypes.string.isRequired,
|
|
8
|
+
payer: PropTypes.object.isRequired,
|
|
9
|
+
transactions: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
10
|
+
state: PropTypes.string.isRequired,
|
|
11
|
+
sale_id: PropTypes.string,
|
|
12
|
+
experience_profile_id: PropTypes.string,
|
|
13
|
+
note_to_payer: PropTypes.string,
|
|
14
|
+
redirect_urls: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
15
|
+
failure_reason: PropTypes.string,
|
|
16
|
+
create_time: PropTypes.string.isRequired,
|
|
17
|
+
update_time: PropTypes.string.isRequired,
|
|
18
|
+
links: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
19
|
+
paypal_payment_id: PropTypes.string.isRequired,
|
|
20
|
+
paypal_payer_id: PropTypes.string.isRequired,
|
|
21
|
+
flow_payment_id: PropTypes.string.isRequired,
|
|
22
|
+
flow_authorization_id: PropTypes.string.isRequired,
|
|
23
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
currency: PropTypes.string.isRequired,
|
|
6
|
+
total: PropTypes.number.isRequired,
|
|
7
|
+
intent: PropTypes.string.isRequired,
|
|
8
|
+
payer: PropTypes.object.isRequired,
|
|
9
|
+
transactions: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
10
|
+
state: PropTypes.string.isRequired,
|
|
11
|
+
experience_profile_id: PropTypes.string,
|
|
12
|
+
note_to_payer: PropTypes.string,
|
|
13
|
+
redirect_urls: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
14
|
+
failure_reason: PropTypes.string,
|
|
15
|
+
create_time: PropTypes.string.isRequired,
|
|
16
|
+
update_time: PropTypes.string.isRequired,
|
|
17
|
+
links: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
18
|
+
flow_payment_id: PropTypes.string.isRequired,
|
|
19
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
paypal_execution_id: PropTypes.string.isRequired,
|
|
6
|
+
flow_refund_id: PropTypes.string.isRequired,
|
|
7
|
+
amount: PropTypes.object.isRequired,
|
|
8
|
+
state: PropTypes.string.isRequired,
|
|
9
|
+
sale_id: PropTypes.string.isRequired,
|
|
10
|
+
invoice_number: PropTypes.string.isRequired,
|
|
11
|
+
capture_id: PropTypes.string,
|
|
12
|
+
parent_payment: PropTypes.string,
|
|
13
|
+
reason_code: PropTypes.string,
|
|
14
|
+
refund_reason_code: PropTypes.string,
|
|
15
|
+
refund_funding_type: PropTypes.string,
|
|
16
|
+
create_time: PropTypes.string.isRequired,
|
|
17
|
+
update_time: PropTypes.string,
|
|
18
|
+
response: PropTypes.object.isRequired,
|
|
19
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import paypalInternalPayment from './paypalInternalPayment';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
payment: paypalInternalPayment.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import paypalInternalPayment from './paypalInternalPayment';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
payment: paypalInternalPayment.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalAuthorization from './stripeInternalAuthorization';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
authorization: stripeInternalAuthorization.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalAuthorization from './stripeInternalAuthorization';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
authorization: stripeInternalAuthorization.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalCapture from './stripeInternalCapture';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
capture: stripeInternalCapture.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalCapture from './stripeInternalCapture';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
capture: stripeInternalCapture.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
flow_authorization_id: PropTypes.string.isRequired,
|
|
6
|
+
account_name: PropTypes.string.isRequired,
|
|
7
|
+
charge_id: PropTypes.string.isRequired,
|
|
8
|
+
request: PropTypes.object.isRequired,
|
|
9
|
+
response: PropTypes.object.isRequired,
|
|
10
|
+
post_payment_success_redirect_url: PropTypes.string,
|
|
11
|
+
post_payment_failure_redirect_url: PropTypes.string,
|
|
12
|
+
payment_redirect_url: PropTypes.string,
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
flow_capture_id: PropTypes.string.isRequired,
|
|
6
|
+
account_name: PropTypes.string.isRequired,
|
|
7
|
+
charge_id: PropTypes.string.isRequired,
|
|
8
|
+
request: PropTypes.object.isRequired,
|
|
9
|
+
response: PropTypes.object.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
flow_refund_id: PropTypes.string.isRequired,
|
|
6
|
+
account_name: PropTypes.string.isRequired,
|
|
7
|
+
refund_id: PropTypes.string.isRequired,
|
|
8
|
+
charge_id: PropTypes.string.isRequired,
|
|
9
|
+
request: PropTypes.object.isRequired,
|
|
10
|
+
response: PropTypes.object.isRequired,
|
|
11
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.string.isRequired,
|
|
5
|
+
flow_authorization_id: PropTypes.string.isRequired,
|
|
6
|
+
account_name: PropTypes.string.isRequired,
|
|
7
|
+
refund_id: PropTypes.string.isRequired,
|
|
8
|
+
request: PropTypes.object.isRequired,
|
|
9
|
+
response: PropTypes.object.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalReversal from './stripeInternalReversal';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
reversal: stripeInternalReversal.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import stripeInternalReversal from './stripeInternalReversal';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
reversal: stripeInternalReversal.isRequired,
|
|
8
|
+
});
|
|
@@ -90,6 +90,12 @@ import readyToFulfill from '../models/readyToFulfill';
|
|
|
90
90
|
import fulfillmentCancel from '../models/fulfillmentCancel';
|
|
91
91
|
import orderShipped from '../models/orderShipped';
|
|
92
92
|
import itemsShipped from '../models/itemsShipped';
|
|
93
|
+
import paypalPaymentDeleted from '../models/paypalPaymentDeleted';
|
|
94
|
+
import paypalPaymentUpserted from '../models/paypalPaymentUpserted';
|
|
95
|
+
import paypalExecutionDeleted from '../models/paypalExecutionDeleted';
|
|
96
|
+
import paypalExecutionUpserted from '../models/paypalExecutionUpserted';
|
|
97
|
+
import paypalRefundDeleted from '../models/paypalRefundDeleted';
|
|
98
|
+
import paypalRefundUpserted from '../models/paypalRefundUpserted';
|
|
93
99
|
import orderRatesPublishedV3 from '../models/orderRatesPublishedV3';
|
|
94
100
|
import laneUpserted from '../models/laneUpserted';
|
|
95
101
|
import laneDeleted from '../models/laneDeleted';
|
|
@@ -99,6 +105,14 @@ import shopifyShopUpserted from '../models/shopifyShopUpserted';
|
|
|
99
105
|
import shopifyShopDeleted from '../models/shopifyShopDeleted';
|
|
100
106
|
import shopifyExperienceShortIdUpserted from '../models/shopifyExperienceShortIdUpserted';
|
|
101
107
|
import shopifyExperienceShortIdDeleted from '../models/shopifyExperienceShortIdDeleted';
|
|
108
|
+
import stripeAuthorizationDeleted from '../models/stripeAuthorizationDeleted';
|
|
109
|
+
import stripeAuthorizationUpserted from '../models/stripeAuthorizationUpserted';
|
|
110
|
+
import stripeReversalDeleted from '../models/stripeReversalDeleted';
|
|
111
|
+
import stripeReversalUpserted from '../models/stripeReversalUpserted';
|
|
112
|
+
import stripeCaptureDeleted from '../models/stripeCaptureDeleted';
|
|
113
|
+
import stripeCaptureUpserted from '../models/stripeCaptureUpserted';
|
|
114
|
+
import stripeRefundDeleted from '../models/stripeRefundDeleted';
|
|
115
|
+
import stripeRefundUpserted from '../models/stripeRefundUpserted';
|
|
102
116
|
import svbVirtualCardClearingUpserted from '../models/svbVirtualCardClearingUpserted';
|
|
103
117
|
import svbVirtualCardClearingDeleted from '../models/svbVirtualCardClearingDeleted';
|
|
104
118
|
import trackingRequestUpserted from '../models/trackingRequestUpserted';
|
|
@@ -198,6 +212,12 @@ export default PropTypes.oneOfType([
|
|
|
198
212
|
fulfillmentCancel,
|
|
199
213
|
orderShipped,
|
|
200
214
|
itemsShipped,
|
|
215
|
+
paypalPaymentDeleted,
|
|
216
|
+
paypalPaymentUpserted,
|
|
217
|
+
paypalExecutionDeleted,
|
|
218
|
+
paypalExecutionUpserted,
|
|
219
|
+
paypalRefundDeleted,
|
|
220
|
+
paypalRefundUpserted,
|
|
201
221
|
orderRatesPublishedV3,
|
|
202
222
|
laneUpserted,
|
|
203
223
|
laneDeleted,
|
|
@@ -207,6 +227,14 @@ export default PropTypes.oneOfType([
|
|
|
207
227
|
shopifyShopDeleted,
|
|
208
228
|
shopifyExperienceShortIdUpserted,
|
|
209
229
|
shopifyExperienceShortIdDeleted,
|
|
230
|
+
stripeAuthorizationDeleted,
|
|
231
|
+
stripeAuthorizationUpserted,
|
|
232
|
+
stripeReversalDeleted,
|
|
233
|
+
stripeReversalUpserted,
|
|
234
|
+
stripeCaptureDeleted,
|
|
235
|
+
stripeCaptureUpserted,
|
|
236
|
+
stripeRefundDeleted,
|
|
237
|
+
stripeRefundUpserted,
|
|
210
238
|
svbVirtualCardClearingUpserted,
|
|
211
239
|
svbVirtualCardClearingDeleted,
|
|
212
240
|
trackingRequestUpserted,
|
|
@@ -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,18 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import shippingAddress from '../../../fulfillment/v0/models/shippingAddress';
|
|
3
|
+
import shippingLabelPackage from './shippingLabelPackage';
|
|
4
|
+
import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
|
|
5
|
+
import direction from '../enums/direction';
|
|
6
|
+
import shipmentRecipient from '../enums/shipmentRecipient';
|
|
7
|
+
|
|
8
|
+
export default PropTypes.shape({
|
|
9
|
+
destination: shippingAddress.isRequired,
|
|
10
|
+
origin: shippingAddress.isRequired,
|
|
11
|
+
package: shippingLabelPackage.isRequired,
|
|
12
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
13
|
+
delivered_duty: deliveredDuty,
|
|
14
|
+
direction: direction,
|
|
15
|
+
order_number: PropTypes.string,
|
|
16
|
+
service: PropTypes.string,
|
|
17
|
+
shipment_recipient: shipmentRecipient,
|
|
18
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import detailedShippingLabelForm from '../models/detailedShippingLabelForm';
|
|
3
|
+
import summaryShippingLabelForm from '../models/summaryShippingLabelForm';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.oneOfType([
|
|
6
|
+
detailedShippingLabelForm,
|
|
7
|
+
summaryShippingLabelForm,
|
|
8
|
+
]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.number.isRequired,
|
|
5
|
+
collection_id: PropTypes.number.isRequired,
|
|
6
|
+
product_id: PropTypes.number.isRequired,
|
|
7
|
+
featured: PropTypes.bool.isRequired,
|
|
8
|
+
created_at: PropTypes.string,
|
|
9
|
+
updated_at: PropTypes.string,
|
|
10
|
+
position: PropTypes.number.isRequired,
|
|
11
|
+
sort_value: PropTypes.string.isRequired,
|
|
12
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.number.isRequired,
|
|
5
|
+
handle: PropTypes.string,
|
|
6
|
+
title: PropTypes.string,
|
|
7
|
+
published: PropTypes.bool,
|
|
8
|
+
published_at: PropTypes.string,
|
|
9
|
+
updated_at: PropTypes.string,
|
|
10
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
3
|
+
import shopifyItemEventData from './shopifyItemEventData';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
range: datetimeRange.isRequired,
|
|
7
|
+
count: PropTypes.number.isRequired,
|
|
8
|
+
data: PropTypes.arrayOf(shopifyItemEventData).isRequired,
|
|
9
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import experienceReference from '../../../experience/v0/models/experienceReference';
|
|
3
|
+
import catalogItemSummary from '../../../common/v0/models/catalogItemSummary';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
created_at: PropTypes.string.isRequired,
|
|
7
|
+
experience: experienceReference.isRequired,
|
|
8
|
+
item: catalogItemSummary.isRequired,
|
|
9
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import shopifySyncCheck from '../enums/shopifySyncCheck';
|
|
3
|
+
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
4
|
+
import shopifyEventBucket from '../unions/shopifyEventBucket';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
sync_check: shopifySyncCheck.isRequired,
|
|
8
|
+
range: datetimeRange.isRequired,
|
|
9
|
+
interval_seconds: PropTypes.number.isRequired,
|
|
10
|
+
total: PropTypes.number.isRequired,
|
|
11
|
+
needle_marker: PropTypes.string.isRequired,
|
|
12
|
+
buckets: PropTypes.arrayOf(shopifyEventBucket).isRequired,
|
|
13
|
+
});
|
package/src/mocks.js
CHANGED
|
@@ -170,8 +170,10 @@ export default {
|
|
|
170
170
|
classificationFeatureSetDefault: noopThunk,
|
|
171
171
|
classificationFeaturesCategoryApparel: noopThunk,
|
|
172
172
|
classificationItem: noopThunk,
|
|
173
|
+
classificationItemId: noopThunk,
|
|
173
174
|
classificationItemSummary: noopThunk,
|
|
174
175
|
classificationItemSummaryPage: noopThunk,
|
|
176
|
+
classifiedItem: noopThunk,
|
|
175
177
|
completePriceRule: noopThunk,
|
|
176
178
|
consumerOptinActivity: noopThunk,
|
|
177
179
|
contentSchema: noopThunk,
|
|
@@ -243,6 +245,7 @@ export default {
|
|
|
243
245
|
exportFailed: noopThunk,
|
|
244
246
|
exportScheduleDaily: noopThunk,
|
|
245
247
|
exportScheduleRepeated: noopThunk,
|
|
248
|
+
externalVariant: noopThunk,
|
|
246
249
|
feature: noopThunk,
|
|
247
250
|
featureContextForm: noopThunk,
|
|
248
251
|
featureForm: noopThunk,
|
|
@@ -341,6 +344,8 @@ export default {
|
|
|
341
344
|
issuer: noopThunk,
|
|
342
345
|
issuerDeleted: noopThunk,
|
|
343
346
|
issuerUpserted: noopThunk,
|
|
347
|
+
itemClassificationForm: noopThunk,
|
|
348
|
+
itemClassificationResult: noopThunk,
|
|
344
349
|
itemDimensionEstimateDeleted: noopThunk,
|
|
345
350
|
itemDimensionEstimateUpserted: noopThunk,
|
|
346
351
|
itemFilterResponse: noopThunk,
|
|
@@ -431,6 +436,8 @@ export default {
|
|
|
431
436
|
marketingGatewayImageLinks: noopThunk,
|
|
432
437
|
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
433
438
|
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
439
|
+
marketingGatewayProductsResult: noopThunk,
|
|
440
|
+
marketingGatewayProductsStatusCount: noopThunk,
|
|
434
441
|
nextBillingStatement: noopThunk,
|
|
435
442
|
nextInstallment: noopThunk,
|
|
436
443
|
nextInstallmentDeleted: noopThunk,
|
|
@@ -486,6 +493,15 @@ export default {
|
|
|
486
493
|
paymentSummaryV2: noopThunk,
|
|
487
494
|
paypalAuthenticationData: noopThunk,
|
|
488
495
|
paypalAuthenticationDataReference: noopThunk,
|
|
496
|
+
paypalExecutionDeleted: noopThunk,
|
|
497
|
+
paypalExecutionUpserted: noopThunk,
|
|
498
|
+
paypalInternalExecution: noopThunk,
|
|
499
|
+
paypalInternalPayment: noopThunk,
|
|
500
|
+
paypalInternalRefund: noopThunk,
|
|
501
|
+
paypalPaymentDeleted: noopThunk,
|
|
502
|
+
paypalPaymentUpserted: noopThunk,
|
|
503
|
+
paypalRefundDeleted: noopThunk,
|
|
504
|
+
paypalRefundUpserted: noopThunk,
|
|
489
505
|
pendingBankPayment: noopThunk,
|
|
490
506
|
pendingBankPaymentTaxRemittanceDetail: noopThunk,
|
|
491
507
|
pendingBankPaymentTransferDetail: noopThunk,
|
|
@@ -598,6 +614,18 @@ export default {
|
|
|
598
614
|
stringFeatureRuleForm: noopThunk,
|
|
599
615
|
stringFeatureValue: noopThunk,
|
|
600
616
|
stripeAuthenticationDataReference: noopThunk,
|
|
617
|
+
stripeAuthorizationDeleted: noopThunk,
|
|
618
|
+
stripeAuthorizationUpserted: noopThunk,
|
|
619
|
+
stripeCaptureDeleted: noopThunk,
|
|
620
|
+
stripeCaptureUpserted: noopThunk,
|
|
621
|
+
stripeInternalAuthorization: noopThunk,
|
|
622
|
+
stripeInternalCapture: noopThunk,
|
|
623
|
+
stripeInternalRefund: noopThunk,
|
|
624
|
+
stripeInternalReversal: noopThunk,
|
|
625
|
+
stripeRefundDeleted: noopThunk,
|
|
626
|
+
stripeRefundUpserted: noopThunk,
|
|
627
|
+
stripeReversalDeleted: noopThunk,
|
|
628
|
+
stripeReversalUpserted: noopThunk,
|
|
601
629
|
subcatalogItemCount: noopThunk,
|
|
602
630
|
subcatalogItemDeleteIndexTask: noopThunk,
|
|
603
631
|
subcatalogItemIndexTask: noopThunk,
|