@flowio/api-internal-prop-types 1.2.13 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.apibuilder/.tracked_files +2174 -0
- package/.apibuilder/config +306 -0
- package/README.md +1 -1
- package/lib/index.d.ts +29 -3
- package/lib/io/flow/catalog/v0/models/subcatalogItem.js +1 -6
- package/lib/io/flow/experience/v0/enums/orderErrorCode.js +1 -1
- 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/billingOrganizationSettings.js +2 -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/localizationSummary.js +16 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -5
- package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +5 -1
- 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/{marketingGatewayLocalizationFlowCountry.js → marketingGatewayGoogleProductResult.js} +2 -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/productResult.js +25 -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/{internal/v0/models/marketingGatewayLocalizationFlowExperience.js → shopify/external/v0/models/responseCollect.js} +3 -3
- 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 +29 -3
- package/lib/validators.js +145 -15
- package/package.json +1 -1
- package/src/index.d.ts +29 -3
- package/src/io/flow/catalog/v0/models/subcatalogItem.js +0 -2
- package/src/io/flow/experience/v0/enums/orderErrorCode.js +2 -0
- 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/billingOrganizationSettings.js +1 -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/localizationSummary.js +6 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +2 -2
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -2
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -2
- package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -1
- 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/marketingGatewayGoogleProductResult.js +6 -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/productResult.js +9 -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/{internal/v0/models/marketingGatewayLocalizationFlowCountry.js → shopify/external/v0/models/responseCollect.js} +2 -1
- 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 +29 -3
- package/src/validators.js +58 -6
- package/.eslintcache +0 -1
- package/lib/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -21
- package/src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience.js +0 -6
- package/src/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -8
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import
|
|
3
|
+
import experienceSummary from '../../../common/v0/models/experienceSummary';
|
|
4
4
|
import marketingGatewayExistingMarket from './marketingGatewayExistingMarket';
|
|
5
5
|
import marketingGatewayConfiguredMarket from './marketingGatewayConfiguredMarket';
|
|
6
6
|
import marketingGatewayAccountMarketLocalizationError from '../enums/marketingGatewayAccountMarketLocalizationError';
|
|
7
7
|
|
|
8
8
|
export default PropTypes.shape({
|
|
9
9
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
10
|
-
|
|
10
|
+
compatible_experiences: PropTypes.arrayOf(experienceSummary).isRequired,
|
|
11
11
|
existing_markets: PropTypes.arrayOf(marketingGatewayExistingMarket)
|
|
12
12
|
.isRequired,
|
|
13
13
|
configured_markets: marketingGatewayConfiguredMarket,
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
4
4
|
import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
7
|
id: PropTypes.string.isRequired,
|
|
8
8
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
9
|
-
|
|
9
|
+
experience_id: PropTypes.string,
|
|
10
|
+
experience_name: PropTypes.string,
|
|
11
|
+
experience_key: PropTypes.string,
|
|
10
12
|
existing_market_id: PropTypes.string.isRequired,
|
|
13
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
14
|
+
.isRequired,
|
|
11
15
|
sync_status: marketingGatewaySyncStatus.isRequired,
|
|
12
16
|
synced_at: PropTypes.string,
|
|
13
17
|
});
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import marketingGatewayLocalization from '../unions/marketingGatewayLocalization';
|
|
4
3
|
|
|
5
4
|
export default PropTypes.shape({
|
|
6
5
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
7
|
-
|
|
6
|
+
experience_id: PropTypes.string.isRequired,
|
|
7
|
+
experience_name: PropTypes.string.isRequired,
|
|
8
|
+
experience_key: PropTypes.string.isRequired,
|
|
8
9
|
existing_market_id: PropTypes.string.isRequired,
|
|
9
10
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
3
4
|
import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
id: PropTypes.string.isRequired,
|
|
7
8
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
8
|
-
|
|
9
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
10
|
+
.isRequired,
|
|
9
11
|
sync_status: marketingGatewaySyncStatus.isRequired,
|
|
10
12
|
synced_at: PropTypes.string,
|
|
11
13
|
});
|
|
@@ -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,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,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import marketingGatewayProduct from '../unions/marketingGatewayProduct';
|
|
3
|
+
import localizationSummary from './localizationSummary';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
base_product: marketingGatewayProduct.isRequired,
|
|
7
|
+
configured_product: marketingGatewayProduct,
|
|
8
|
+
localisation_summary: localizationSummary,
|
|
9
|
+
});
|
|
@@ -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
|
+
});
|