@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
|
@@ -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,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,
|
|
@@ -488,6 +493,15 @@ export default {
|
|
|
488
493
|
paymentSummaryV2: noopThunk,
|
|
489
494
|
paypalAuthenticationData: noopThunk,
|
|
490
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,
|
|
491
505
|
pendingBankPayment: noopThunk,
|
|
492
506
|
pendingBankPaymentTaxRemittanceDetail: noopThunk,
|
|
493
507
|
pendingBankPaymentTransferDetail: noopThunk,
|
|
@@ -600,6 +614,18 @@ export default {
|
|
|
600
614
|
stringFeatureRuleForm: noopThunk,
|
|
601
615
|
stringFeatureValue: noopThunk,
|
|
602
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,
|
|
603
629
|
subcatalogItemCount: noopThunk,
|
|
604
630
|
subcatalogItemDeleteIndexTask: noopThunk,
|
|
605
631
|
subcatalogItemIndexTask: noopThunk,
|
package/src/validators.js
CHANGED
|
@@ -161,8 +161,10 @@ import cipherReference from './io/flow/internal/v0/models/cipherReference';
|
|
|
161
161
|
import classificationFeatureSetDefault from './io/flow/internal/v0/models/classificationFeatureSetDefault';
|
|
162
162
|
import classificationFeaturesCategoryApparel from './io/flow/internal/v0/models/classificationFeaturesCategoryApparel';
|
|
163
163
|
import classificationItem from './io/flow/internal/v0/models/classificationItem';
|
|
164
|
+
import classificationItemId from './io/flow/internal/v0/models/classificationItemId';
|
|
164
165
|
import classificationItemSummary from './io/flow/internal/v0/models/classificationItemSummary';
|
|
165
166
|
import classificationItemSummaryPage from './io/flow/internal/v0/models/classificationItemSummaryPage';
|
|
167
|
+
import classifiedItem from './io/flow/internal/v0/models/classifiedItem';
|
|
166
168
|
import completePriceRule from './io/flow/internal/v0/models/completePriceRule';
|
|
167
169
|
import consumerOptinActivity from './io/flow/internal/v0/models/consumerOptinActivity';
|
|
168
170
|
import contentSchema from './io/flow/internal/v0/models/contentSchema';
|
|
@@ -234,6 +236,7 @@ import exportCompleted from './io/flow/internal/v0/models/exportCompleted';
|
|
|
234
236
|
import exportFailed from './io/flow/internal/v0/models/exportFailed';
|
|
235
237
|
import exportScheduleDaily from './io/flow/internal/v0/models/exportScheduleDaily';
|
|
236
238
|
import exportScheduleRepeated from './io/flow/internal/v0/models/exportScheduleRepeated';
|
|
239
|
+
import externalVariant from './io/flow/internal/v0/models/externalVariant';
|
|
237
240
|
import feature from './io/flow/internal/v0/models/feature';
|
|
238
241
|
import featureContextForm from './io/flow/internal/v0/models/featureContextForm';
|
|
239
242
|
import featureForm from './io/flow/internal/v0/models/featureForm';
|
|
@@ -332,6 +335,8 @@ import invoiceTransaction from './io/flow/internal/v0/models/invoiceTransaction'
|
|
|
332
335
|
import issuer from './io/flow/internal/v0/models/issuer';
|
|
333
336
|
import issuerDeleted from './io/flow/internal/v0/models/issuerDeleted';
|
|
334
337
|
import issuerUpserted from './io/flow/internal/v0/models/issuerUpserted';
|
|
338
|
+
import itemClassificationForm from './io/flow/internal/v0/models/itemClassificationForm';
|
|
339
|
+
import itemClassificationResult from './io/flow/internal/v0/models/itemClassificationResult';
|
|
335
340
|
import itemDimensionEstimateDeleted from './io/flow/internal/v0/models/itemDimensionEstimateDeleted';
|
|
336
341
|
import itemDimensionEstimateUpserted from './io/flow/internal/v0/models/itemDimensionEstimateUpserted';
|
|
337
342
|
import itemFilterResponse from './io/flow/internal/v0/models/itemFilterResponse';
|
|
@@ -479,6 +484,15 @@ import passphraseSummary from './io/flow/internal/v0/models/passphraseSummary';
|
|
|
479
484
|
import paymentSummaryV2 from './io/flow/internal/v0/models/paymentSummaryV2';
|
|
480
485
|
import paypalAuthenticationData from './io/flow/internal/v0/models/paypalAuthenticationData';
|
|
481
486
|
import paypalAuthenticationDataReference from './io/flow/internal/v0/models/paypalAuthenticationDataReference';
|
|
487
|
+
import paypalExecutionDeleted from './io/flow/internal/v0/models/paypalExecutionDeleted';
|
|
488
|
+
import paypalExecutionUpserted from './io/flow/internal/v0/models/paypalExecutionUpserted';
|
|
489
|
+
import paypalInternalExecution from './io/flow/internal/v0/models/paypalInternalExecution';
|
|
490
|
+
import paypalInternalPayment from './io/flow/internal/v0/models/paypalInternalPayment';
|
|
491
|
+
import paypalInternalRefund from './io/flow/internal/v0/models/paypalInternalRefund';
|
|
492
|
+
import paypalPaymentDeleted from './io/flow/internal/v0/models/paypalPaymentDeleted';
|
|
493
|
+
import paypalPaymentUpserted from './io/flow/internal/v0/models/paypalPaymentUpserted';
|
|
494
|
+
import paypalRefundDeleted from './io/flow/internal/v0/models/paypalRefundDeleted';
|
|
495
|
+
import paypalRefundUpserted from './io/flow/internal/v0/models/paypalRefundUpserted';
|
|
482
496
|
import pendingBankPayment from './io/flow/internal/v0/models/pendingBankPayment';
|
|
483
497
|
import pendingBankPaymentTaxRemittanceDetail from './io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail';
|
|
484
498
|
import pendingBankPaymentTransferDetail from './io/flow/internal/v0/models/pendingBankPaymentTransferDetail';
|
|
@@ -591,6 +605,18 @@ import stringFeatureRule from './io/flow/internal/v0/models/stringFeatureRule';
|
|
|
591
605
|
import stringFeatureRuleForm from './io/flow/internal/v0/models/stringFeatureRuleForm';
|
|
592
606
|
import stringFeatureValue from './io/flow/internal/v0/models/stringFeatureValue';
|
|
593
607
|
import stripeAuthenticationDataReference from './io/flow/internal/v0/models/stripeAuthenticationDataReference';
|
|
608
|
+
import stripeAuthorizationDeleted from './io/flow/internal/v0/models/stripeAuthorizationDeleted';
|
|
609
|
+
import stripeAuthorizationUpserted from './io/flow/internal/v0/models/stripeAuthorizationUpserted';
|
|
610
|
+
import stripeCaptureDeleted from './io/flow/internal/v0/models/stripeCaptureDeleted';
|
|
611
|
+
import stripeCaptureUpserted from './io/flow/internal/v0/models/stripeCaptureUpserted';
|
|
612
|
+
import stripeInternalAuthorization from './io/flow/internal/v0/models/stripeInternalAuthorization';
|
|
613
|
+
import stripeInternalCapture from './io/flow/internal/v0/models/stripeInternalCapture';
|
|
614
|
+
import stripeInternalRefund from './io/flow/internal/v0/models/stripeInternalRefund';
|
|
615
|
+
import stripeInternalReversal from './io/flow/internal/v0/models/stripeInternalReversal';
|
|
616
|
+
import stripeRefundDeleted from './io/flow/internal/v0/models/stripeRefundDeleted';
|
|
617
|
+
import stripeRefundUpserted from './io/flow/internal/v0/models/stripeRefundUpserted';
|
|
618
|
+
import stripeReversalDeleted from './io/flow/internal/v0/models/stripeReversalDeleted';
|
|
619
|
+
import stripeReversalUpserted from './io/flow/internal/v0/models/stripeReversalUpserted';
|
|
594
620
|
import subcatalogItemCount from './io/flow/internal/v0/models/subcatalogItemCount';
|
|
595
621
|
import subcatalogItemDeleteIndexTask from './io/flow/internal/v0/models/subcatalogItemDeleteIndexTask';
|
|
596
622
|
import subcatalogItemIndexTask from './io/flow/internal/v0/models/subcatalogItemIndexTask';
|
|
@@ -837,8 +863,10 @@ export default {
|
|
|
837
863
|
classificationFeatureSetDefault,
|
|
838
864
|
classificationFeaturesCategoryApparel,
|
|
839
865
|
classificationItem,
|
|
866
|
+
classificationItemId,
|
|
840
867
|
classificationItemSummary,
|
|
841
868
|
classificationItemSummaryPage,
|
|
869
|
+
classifiedItem,
|
|
842
870
|
completePriceRule,
|
|
843
871
|
consumerOptinActivity,
|
|
844
872
|
contentSchema,
|
|
@@ -910,6 +938,7 @@ export default {
|
|
|
910
938
|
exportFailed,
|
|
911
939
|
exportScheduleDaily,
|
|
912
940
|
exportScheduleRepeated,
|
|
941
|
+
externalVariant,
|
|
913
942
|
feature,
|
|
914
943
|
featureContextForm,
|
|
915
944
|
featureForm,
|
|
@@ -1008,6 +1037,8 @@ export default {
|
|
|
1008
1037
|
issuer,
|
|
1009
1038
|
issuerDeleted,
|
|
1010
1039
|
issuerUpserted,
|
|
1040
|
+
itemClassificationForm,
|
|
1041
|
+
itemClassificationResult,
|
|
1011
1042
|
itemDimensionEstimateDeleted,
|
|
1012
1043
|
itemDimensionEstimateUpserted,
|
|
1013
1044
|
itemFilterResponse,
|
|
@@ -1155,6 +1186,15 @@ export default {
|
|
|
1155
1186
|
paymentSummaryV2,
|
|
1156
1187
|
paypalAuthenticationData,
|
|
1157
1188
|
paypalAuthenticationDataReference,
|
|
1189
|
+
paypalExecutionDeleted,
|
|
1190
|
+
paypalExecutionUpserted,
|
|
1191
|
+
paypalInternalExecution,
|
|
1192
|
+
paypalInternalPayment,
|
|
1193
|
+
paypalInternalRefund,
|
|
1194
|
+
paypalPaymentDeleted,
|
|
1195
|
+
paypalPaymentUpserted,
|
|
1196
|
+
paypalRefundDeleted,
|
|
1197
|
+
paypalRefundUpserted,
|
|
1158
1198
|
pendingBankPayment,
|
|
1159
1199
|
pendingBankPaymentTaxRemittanceDetail,
|
|
1160
1200
|
pendingBankPaymentTransferDetail,
|
|
@@ -1267,6 +1307,18 @@ export default {
|
|
|
1267
1307
|
stringFeatureRuleForm,
|
|
1268
1308
|
stringFeatureValue,
|
|
1269
1309
|
stripeAuthenticationDataReference,
|
|
1310
|
+
stripeAuthorizationDeleted,
|
|
1311
|
+
stripeAuthorizationUpserted,
|
|
1312
|
+
stripeCaptureDeleted,
|
|
1313
|
+
stripeCaptureUpserted,
|
|
1314
|
+
stripeInternalAuthorization,
|
|
1315
|
+
stripeInternalCapture,
|
|
1316
|
+
stripeInternalRefund,
|
|
1317
|
+
stripeInternalReversal,
|
|
1318
|
+
stripeRefundDeleted,
|
|
1319
|
+
stripeRefundUpserted,
|
|
1320
|
+
stripeReversalDeleted,
|
|
1321
|
+
stripeReversalUpserted,
|
|
1270
1322
|
subcatalogItemCount,
|
|
1271
1323
|
subcatalogItemDeleteIndexTask,
|
|
1272
1324
|
subcatalogItemIndexTask,
|