@flowio/api-internal-prop-types 1.2.10 → 1.2.12
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/.eslintcache +1 -1
- package/lib/index.d.ts +51 -17
- package/lib/io/flow/{internal/v0/models/fraudEmailRule.js → ftp/v0/models/ftpAccount.js} +8 -4
- package/lib/io/flow/ftp/v0/models/ftpOrganizationSettings.js +7 -1
- package/lib/io/flow/ftp/v0/models/ftpOrganizationSettingsForm.js +2 -1
- package/lib/io/flow/{internal/v0/models/ftpOrganizationSettingsForm.js → ftp/v0/models/ftpServer.js} +1 -1
- package/lib/io/flow/{internal/v0/models/ftpOrganizationSettings.js → ftp/v0/models/ftpUser.js} +2 -1
- package/lib/io/flow/harmonization/internal/v0/enums/itemClassificationStatus.js +13 -0
- package/lib/io/flow/harmonization/internal/v0/models/classificationItem.js +33 -0
- package/lib/io/flow/{internal/v0/models/ftpFile.js → harmonization/internal/v0/models/classificationItemSummary.js} +6 -6
- package/lib/io/flow/harmonization/internal/v0/models/classificationItemSummaryPage.js +20 -0
- package/lib/io/flow/harmonization/internal/v0/models/customsDescriptionSuggestion.js +17 -0
- package/lib/io/flow/internal/v0/enums/billingAllocationKey.js +1 -1
- package/lib/io/flow/internal/v0/enums/catalogImportType.js +1 -1
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/enums/itemClassificationStatus.js +13 -0
- package/lib/io/flow/internal/v0/enums/marketingGatewayAccountMarketLocalizationError.js +13 -0
- package/lib/io/flow/internal/v0/enums/{fraudEmailRuleDecision.js → marketingGatewayGoogleProductDestinationApprovalStatus.js} +1 -1
- package/lib/io/flow/internal/v0/enums/{ftpFileSource.js → marketingGatewayGoogleProductItemLevelIssueSeverity.js} +1 -1
- package/lib/io/flow/internal/v0/enums/marketingGatewayProductStatus.js +13 -0
- package/lib/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -1
- package/lib/io/flow/internal/v0/enums/processor.js +1 -1
- package/lib/io/flow/internal/v0/models/adyenAuthorizationDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenAuthorizationUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/{catalogItemFormOverlaysImport.js → adyenCancelDeleted.js} +5 -4
- package/lib/io/flow/internal/v0/models/adyenCancelUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenCaptureDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenCaptureUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenInternalAuthorization.js +33 -0
- package/lib/io/flow/internal/v0/models/adyenInternalCancel.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenInternalCapture.js +20 -0
- package/lib/io/flow/internal/v0/models/{ftpFolder.js → adyenInternalRefund.js} +5 -3
- package/lib/io/flow/internal/v0/models/adyenRefundDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/adyenRefundUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +13 -1
- package/lib/io/flow/internal/v0/models/{catalogItemsImport.js → catalogImportRequest.js} +5 -0
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +6 -1
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +6 -1
- package/lib/io/flow/internal/v0/models/classificationItem.js +33 -0
- package/lib/io/flow/internal/v0/models/classificationItemSummary.js +24 -0
- package/lib/io/flow/internal/v0/models/classificationItemSummaryPage.js +20 -0
- package/lib/io/flow/internal/v0/models/customsDescriptionSuggestion.js +17 -0
- package/lib/io/flow/internal/v0/models/expectedOrderSummary.js +19 -0
- package/lib/io/flow/internal/v0/models/ftpFileToProcessUploaded.js +2 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayAccount.js +1 -7
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +7 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +39 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarkets.js +29 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +1 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +2 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +4 -3
- package/lib/io/flow/internal/v0/models/{fraudEmailRuleForm.js → marketingGatewayGoogleCustomLabels.js} +5 -5
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleCustomProductShippingLocation.js +25 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +81 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductAttributes.js +30 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +27 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDestination.js +16 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDestinationStatus.js +22 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductInstallment.js +20 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +22 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductPricingDetails.js +33 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails.js +29 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingUnit.js +16 -0
- package/lib/io/flow/internal/v0/models/{ftpFolderForm.js → marketingGatewayGoogleProductSizeDetails.js} +3 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductStatusDetails.js +29 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductTax.js +20 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure.js +16 -0
- package/lib/io/flow/internal/v0/models/{ftpFileForm.js → marketingGatewayImageLinks.js} +2 -3
- package/lib/io/flow/internal/v0/models/orderPlaced.js +28 -0
- package/lib/io/flow/internal/v0/models/rateDeletedV2.js +21 -0
- package/lib/io/flow/internal/v0/models/rateUpsertedV2.js +21 -0
- package/lib/io/flow/internal/v0/models/readyToFulfill.js +1 -1
- package/lib/io/flow/internal/v0/models/svbVirtualCardClearing.js +29 -0
- package/lib/io/flow/internal/v0/models/svbVirtualCardClearingDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/svbVirtualCardClearingUpserted.js +21 -0
- package/lib/io/flow/internal/v0/unions/event.js +59 -7
- package/lib/io/flow/internal/v0/unions/marketingGatewayProduct.js +17 -0
- package/lib/io/flow/{internal → order/management/event}/v0/models/fulfillmentItemAllocationDetails.js +1 -1
- package/lib/io/flow/order/management/event/v0/models/orderPlaced.js +28 -0
- package/lib/io/flow/order/management/event/v0/models/readyToFulfill.js +33 -0
- package/lib/io/flow/order/management/event/v0/unions/orderManagementEvent.js +21 -0
- package/lib/io/flow/payment/v0/models/card.js +5 -0
- package/lib/io/flow/payment/v0/models/cardAuthorization.js +0 -5
- package/lib/io/flow/payment/v0/models/cardReference.js +1 -1
- package/lib/io/flow/payment/v0/models/cardSummary.js +38 -0
- package/lib/io/flow/payment/v0/models/issuerSummary.js +17 -0
- package/lib/io/flow/payment/v0/models/virtualCardCapture.js +3 -3
- package/lib/io/flow/payment/v0/models/virtualCardRefund.js +3 -3
- package/lib/io/flow/payment/v0/unions/expandableCard.js +5 -1
- package/lib/io/flow/price/v0/models/priceBookForm.js +4 -5
- package/lib/io/flow/price/v0/models/priceBookItemForm.js +2 -6
- package/lib/io/flow/price/v0/models/priceBookItemQueryForm.js +23 -0
- package/lib/io/flow/price/v0/models/priceBookItemSchedule.js +1 -1
- package/lib/io/flow/shopify/external/v0/models/shopifyTransactionForm.js +1 -0
- package/lib/io/flow/shopify/v0/models/shopifyCartAddMultipleForm.js +2 -1
- package/lib/mocks.js +51 -17
- package/lib/validators.js +251 -81
- package/package.json +2 -3
- package/src/index.d.ts +51 -17
- package/src/io/flow/ftp/v0/models/ftpAccount.js +8 -0
- package/src/io/flow/ftp/v0/models/ftpOrganizationSettings.js +3 -0
- package/src/io/flow/ftp/v0/models/ftpOrganizationSettingsForm.js +1 -0
- package/src/io/flow/{internal/v0/models/ftpOrganizationSettingsForm.js → ftp/v0/models/ftpServer.js} +1 -1
- package/src/io/flow/ftp/v0/models/ftpUser.js +6 -0
- package/src/io/flow/harmonization/internal/v0/enums/itemClassificationStatus.js +3 -0
- package/src/io/flow/harmonization/internal/v0/models/classificationItem.js +19 -0
- package/src/io/flow/harmonization/internal/v0/models/classificationItemSummary.js +11 -0
- package/src/io/flow/harmonization/internal/v0/models/classificationItemSummaryPage.js +7 -0
- package/src/io/flow/harmonization/internal/v0/models/customsDescriptionSuggestion.js +7 -0
- package/src/io/flow/internal/v0/enums/billingAllocationKey.js +2 -0
- package/src/io/flow/internal/v0/enums/catalogImportType.js +6 -1
- package/src/io/flow/internal/v0/enums/eventType.js +15 -2
- package/src/io/flow/internal/v0/enums/itemClassificationStatus.js +3 -0
- package/src/io/flow/internal/v0/enums/marketingGatewayAccountMarketLocalizationError.js +8 -0
- package/src/io/flow/internal/v0/enums/marketingGatewayGoogleProductDestinationApprovalStatus.js +3 -0
- package/src/io/flow/internal/v0/enums/marketingGatewayGoogleProductItemLevelIssueSeverity.js +3 -0
- package/src/io/flow/internal/v0/enums/marketingGatewayProductStatus.js +9 -0
- package/src/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -0
- package/src/io/flow/internal/v0/enums/processor.js +1 -0
- package/src/io/flow/internal/v0/models/adyenAuthorizationDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenAuthorizationUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenCancelDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenCancelUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenCaptureDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenCaptureUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenInternalAuthorization.js +23 -0
- package/src/io/flow/internal/v0/models/adyenInternalCancel.js +11 -0
- package/src/io/flow/internal/v0/models/adyenInternalCapture.js +10 -0
- package/src/io/flow/internal/v0/models/adyenInternalRefund.js +10 -0
- package/src/io/flow/internal/v0/models/adyenRefundDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/adyenRefundUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +6 -0
- package/src/io/flow/internal/v0/models/{catalogItemFormOverlaysImport.js → catalogImportRequest.js} +2 -0
- package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +2 -0
- package/src/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +2 -0
- package/src/io/flow/internal/v0/models/classificationItem.js +19 -0
- package/src/io/flow/internal/v0/models/classificationItemSummary.js +11 -0
- package/src/io/flow/internal/v0/models/classificationItemSummaryPage.js +7 -0
- package/src/io/flow/internal/v0/models/customsDescriptionSuggestion.js +7 -0
- package/src/io/flow/internal/v0/models/{ftpOrganizationSettings.js → expectedOrderSummary.js} +2 -1
- package/src/io/flow/internal/v0/models/ftpFileToProcessUploaded.js +1 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccount.js +0 -4
- package/src/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +3 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +15 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccountMarkets.js +12 -0
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +1 -0
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +1 -0
- package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -3
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleCustomLabels.js +9 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleCustomProductShippingLocation.js +12 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +38 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductAttributes.js +20 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDataQualityIssue.js +14 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDestination.js +6 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDestinationStatus.js +10 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductInstallment.js +7 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js +12 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductPricingDetails.js +14 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails.js +15 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingUnit.js +6 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductSizeDetails.js +7 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductStatusDetails.js +16 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductTax.js +10 -0
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure.js +6 -0
- package/src/io/flow/internal/v0/models/marketingGatewayImageLinks.js +6 -0
- package/src/io/flow/internal/v0/models/orderPlaced.js +12 -0
- package/src/io/flow/internal/v0/models/rateDeletedV2.js +8 -0
- package/src/io/flow/internal/v0/models/rateUpsertedV2.js +8 -0
- package/src/io/flow/internal/v0/models/readyToFulfill.js +1 -1
- package/src/io/flow/internal/v0/models/svbVirtualCardClearing.js +19 -0
- package/src/io/flow/internal/v0/models/svbVirtualCardClearingDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/svbVirtualCardClearingUpserted.js +8 -0
- package/src/io/flow/internal/v0/unions/event.js +30 -4
- package/src/io/flow/internal/v0/unions/marketingGatewayProduct.js +4 -0
- package/src/io/flow/{internal → order/management/event}/v0/models/fulfillmentItemAllocationDetails.js +1 -1
- package/src/io/flow/order/management/event/v0/models/orderPlaced.js +12 -0
- package/src/io/flow/order/management/event/v0/models/readyToFulfill.js +16 -0
- package/src/io/flow/order/management/event/v0/unions/orderManagementEvent.js +5 -0
- package/src/io/flow/payment/v0/models/card.js +2 -0
- package/src/io/flow/payment/v0/models/cardAuthorization.js +0 -2
- package/src/io/flow/payment/v0/models/cardReference.js +1 -1
- package/src/io/flow/payment/v0/models/cardSummary.js +16 -0
- package/src/io/flow/{internal/v0/models/ftpFileForm.js → payment/v0/models/issuerSummary.js} +2 -2
- package/src/io/flow/payment/v0/models/virtualCardCapture.js +2 -2
- package/src/io/flow/payment/v0/models/virtualCardRefund.js +2 -2
- package/src/io/flow/payment/v0/unions/expandableCard.js +2 -1
- package/src/io/flow/price/v0/models/priceBookForm.js +3 -4
- package/src/io/flow/price/v0/models/priceBookItemForm.js +2 -3
- package/src/io/flow/price/v0/models/priceBookItemQueryForm.js +10 -0
- package/src/io/flow/price/v0/models/priceBookItemSchedule.js +1 -1
- package/src/io/flow/shopify/external/v0/models/shopifyTransactionForm.js +1 -0
- package/src/io/flow/shopify/v0/models/shopifyCartAddMultipleForm.js +1 -0
- package/src/mocks.js +51 -17
- package/src/validators.js +102 -34
- package/LICENSE +0 -21
- package/lib/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +0 -24
- package/lib/io/flow/internal/v0/models/marketingGatewayProduct.js +0 -35
- package/src/io/flow/internal/v0/enums/fraudEmailRuleDecision.js +0 -3
- package/src/io/flow/internal/v0/enums/ftpFileSource.js +0 -3
- package/src/io/flow/internal/v0/models/catalogItemsImport.js +0 -10
- package/src/io/flow/internal/v0/models/fraudEmailRule.js +0 -7
- package/src/io/flow/internal/v0/models/fraudEmailRuleForm.js +0 -6
- package/src/io/flow/internal/v0/models/ftpFile.js +0 -11
- package/src/io/flow/internal/v0/models/ftpFolder.js +0 -8
- package/src/io/flow/internal/v0/models/ftpFolderForm.js +0 -7
- package/src/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +0 -8
- package/src/io/flow/internal/v0/models/marketingGatewayProduct.js +0 -16
- /package/lib/io/flow/fraud/{internal/v0 → v0}/enums/fraudEmailRuleDecision.js +0 -0
- /package/lib/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRule.js +0 -0
- /package/lib/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRuleForm.js +0 -0
- /package/lib/io/flow/internal/v0/models/{marketingGatewayProductPrice.js → marketingGatewayGooglePrice.js} +0 -0
- /package/lib/io/flow/internal/v0/models/{marketingGatewayProductWarning.js → marketingGatewayGoogleProductWarning.js} +0 -0
- /package/lib/io/flow/payment/v0/models/{issuer.js → issuerV1.js} +0 -0
- /package/src/io/flow/fraud/{internal/v0 → v0}/enums/fraudEmailRuleDecision.js +0 -0
- /package/src/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRule.js +0 -0
- /package/src/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRuleForm.js +0 -0
- /package/src/io/flow/internal/v0/models/{marketingGatewayProductPrice.js → marketingGatewayGooglePrice.js} +0 -0
- /package/src/io/flow/internal/v0/models/{marketingGatewayProductWarning.js → marketingGatewayGoogleProductWarning.js} +0 -0
- /package/src/io/flow/payment/v0/models/{issuer.js → issuerV1.js} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import cardType from '../enums/cardType';
|
|
3
|
+
import expiration from './expiration';
|
|
4
|
+
import issuerSummary from './issuerSummary';
|
|
5
|
+
import billingAddress from '../../../common/v0/models/billingAddress';
|
|
6
|
+
|
|
7
|
+
export default PropTypes.shape({
|
|
8
|
+
id: PropTypes.string.isRequired,
|
|
9
|
+
type: cardType.isRequired,
|
|
10
|
+
expiration: expiration.isRequired,
|
|
11
|
+
iin: PropTypes.string.isRequired,
|
|
12
|
+
issuer: issuerSummary,
|
|
13
|
+
last4: PropTypes.string.isRequired,
|
|
14
|
+
name: PropTypes.string.isRequired,
|
|
15
|
+
address: billingAddress,
|
|
16
|
+
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import issuerV1 from './issuerV1';
|
|
3
3
|
import virtualCardReference from './virtualCardReference';
|
|
4
4
|
import authorizationReference from './authorizationReference';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
7
|
id: PropTypes.string.isRequired,
|
|
8
|
-
issuer:
|
|
8
|
+
issuer: issuerV1.isRequired,
|
|
9
9
|
virtual_card: virtualCardReference.isRequired,
|
|
10
10
|
authorization: authorizationReference.isRequired,
|
|
11
11
|
amount: PropTypes.number.isRequired,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import issuerV1 from './issuerV1';
|
|
3
3
|
import virtualCardReference from './virtualCardReference';
|
|
4
4
|
import authorizationReference from './authorizationReference';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
7
|
id: PropTypes.string.isRequired,
|
|
8
|
-
issuer:
|
|
8
|
+
issuer: issuerV1.isRequired,
|
|
9
9
|
virtual_card: virtualCardReference.isRequired,
|
|
10
10
|
authorization: authorizationReference.isRequired,
|
|
11
11
|
amount: PropTypes.number.isRequired,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import card from '../models/card';
|
|
3
3
|
import cardReference from '../models/cardReference';
|
|
4
|
+
import cardSummary from '../models/cardSummary';
|
|
4
5
|
|
|
5
|
-
export default PropTypes.oneOfType([card, cardReference]);
|
|
6
|
+
export default PropTypes.oneOfType([card, cardReference, cardSummary]);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import includedLevyKey from '../../../common/v0/enums/includedLevyKey';
|
|
3
3
|
import priceBookStatus from '../../../common/v0/enums/priceBookStatus';
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
6
|
currency: PropTypes.string.isRequired,
|
|
7
7
|
name: PropTypes.string.isRequired,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
status: priceBookStatus.isRequired,
|
|
8
|
+
includes: includedLevyKey.isRequired,
|
|
9
|
+
status: priceBookStatus,
|
|
11
10
|
});
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import money from '../../../common/v0/models/money';
|
|
3
2
|
import priceBookItemSchedule from './priceBookItemSchedule';
|
|
4
3
|
|
|
5
4
|
export default PropTypes.shape({
|
|
6
5
|
price_book_key: PropTypes.string.isRequired,
|
|
7
|
-
price: money.isRequired,
|
|
8
6
|
item_number: PropTypes.string.isRequired,
|
|
9
|
-
|
|
7
|
+
amount: PropTypes.number.isRequired,
|
|
8
|
+
schedule: priceBookItemSchedule,
|
|
10
9
|
item_attributes: PropTypes.objectOf(PropTypes.string),
|
|
11
10
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import priceBookItemSchedule from './priceBookItemSchedule';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
price_book_key: PropTypes.string.isRequired,
|
|
6
|
+
item_query: PropTypes.string.isRequired,
|
|
7
|
+
amount: PropTypes.number.isRequired,
|
|
8
|
+
schedule: priceBookItemSchedule,
|
|
9
|
+
item_attributes: PropTypes.objectOf(PropTypes.string),
|
|
10
|
+
});
|
package/src/mocks.js
CHANGED
|
@@ -34,18 +34,21 @@ export default {
|
|
|
34
34
|
featureType: noopThunk,
|
|
35
35
|
flowApp: noopThunk,
|
|
36
36
|
format: noopThunk,
|
|
37
|
-
fraudEmailRuleDecision: noopThunk,
|
|
38
|
-
ftpFileSource: noopThunk,
|
|
39
37
|
ftpIntent: noopThunk,
|
|
40
38
|
ftpProtocol: noopThunk,
|
|
41
39
|
httpMethod: noopThunk,
|
|
42
40
|
installmentPaymentType: noopThunk,
|
|
43
41
|
installmentProgramStatus: noopThunk,
|
|
44
42
|
installmentStatus: noopThunk,
|
|
43
|
+
itemClassificationStatus: noopThunk,
|
|
45
44
|
itemQuantityAction: noopThunk,
|
|
46
45
|
labelBillingStrategy: noopThunk,
|
|
47
46
|
labelInvoiceDetailKey: noopThunk,
|
|
47
|
+
marketingGatewayAccountMarketLocalizationError: noopThunk,
|
|
48
|
+
marketingGatewayGoogleProductDestinationApprovalStatus: noopThunk,
|
|
49
|
+
marketingGatewayGoogleProductItemLevelIssueSeverity: noopThunk,
|
|
48
50
|
marketingGatewayPlatform: noopThunk,
|
|
51
|
+
marketingGatewayProductStatus: noopThunk,
|
|
49
52
|
marketingGatewaySyncStatus: noopThunk,
|
|
50
53
|
orderAction: noopThunk,
|
|
51
54
|
orderAttributeIntent: noopThunk,
|
|
@@ -86,7 +89,19 @@ export default {
|
|
|
86
89
|
accountStatistics: noopThunk,
|
|
87
90
|
accountTransactionsExportRequest: noopThunk,
|
|
88
91
|
actionQuantity: noopThunk,
|
|
92
|
+
adyenAuthorizationDeleted: noopThunk,
|
|
93
|
+
adyenAuthorizationUpserted: noopThunk,
|
|
94
|
+
adyenCancelDeleted: noopThunk,
|
|
95
|
+
adyenCancelUpserted: noopThunk,
|
|
96
|
+
adyenCaptureDeleted: noopThunk,
|
|
97
|
+
adyenCaptureUpserted: noopThunk,
|
|
98
|
+
adyenInternalAuthorization: noopThunk,
|
|
99
|
+
adyenInternalCancel: noopThunk,
|
|
100
|
+
adyenInternalCapture: noopThunk,
|
|
101
|
+
adyenInternalRefund: noopThunk,
|
|
102
|
+
adyenRefundDeleted: noopThunk,
|
|
89
103
|
adyenRefundForm: noopThunk,
|
|
104
|
+
adyenRefundUpserted: noopThunk,
|
|
90
105
|
allocationItemReference: noopThunk,
|
|
91
106
|
apmContent: noopThunk,
|
|
92
107
|
applePaymentToken: noopThunk,
|
|
@@ -132,13 +147,12 @@ export default {
|
|
|
132
147
|
carrierAccount: noopThunk,
|
|
133
148
|
carrierAccountUpserted: noopThunk,
|
|
134
149
|
carrierInvoice: noopThunk,
|
|
150
|
+
catalogImportRequest: noopThunk,
|
|
135
151
|
catalogItemDeleteIndexTask: noopThunk,
|
|
136
|
-
catalogItemFormOverlaysImport: noopThunk,
|
|
137
152
|
catalogItemIndexTask: noopThunk,
|
|
138
153
|
catalogItemRegionAvailabilities: noopThunk,
|
|
139
154
|
catalogItemRegionAvailabilitiesData: noopThunk,
|
|
140
155
|
catalogItemRegionAvailabilitiesPublished: noopThunk,
|
|
141
|
-
catalogItemsImport: noopThunk,
|
|
142
156
|
centerQueryBuilder: noopThunk,
|
|
143
157
|
changeSettingsIndexTask: noopThunk,
|
|
144
158
|
checkbox: noopThunk,
|
|
@@ -155,6 +169,9 @@ export default {
|
|
|
155
169
|
cipherReference: noopThunk,
|
|
156
170
|
classificationFeatureSetDefault: noopThunk,
|
|
157
171
|
classificationFeaturesCategoryApparel: noopThunk,
|
|
172
|
+
classificationItem: noopThunk,
|
|
173
|
+
classificationItemSummary: noopThunk,
|
|
174
|
+
classificationItemSummaryPage: noopThunk,
|
|
158
175
|
completePriceRule: noopThunk,
|
|
159
176
|
consumerOptinActivity: noopThunk,
|
|
160
177
|
contentSchema: noopThunk,
|
|
@@ -165,6 +182,7 @@ export default {
|
|
|
165
182
|
customsDescriptionImport: noopThunk,
|
|
166
183
|
customsDescriptionSugestion: noopThunk,
|
|
167
184
|
customsDescriptionSugestionCreated: noopThunk,
|
|
185
|
+
customsDescriptionSuggestion: noopThunk,
|
|
168
186
|
customsDescriptionTariffCodeDuty: noopThunk,
|
|
169
187
|
customsDescriptionTariffCodeDutyForm: noopThunk,
|
|
170
188
|
customsDescriptionTariffsImport: noopThunk,
|
|
@@ -208,6 +226,7 @@ export default {
|
|
|
208
226
|
exclusionRuleForm: noopThunk,
|
|
209
227
|
exclusionRuleStatistic: noopThunk,
|
|
210
228
|
exclusionRuleVersion: noopThunk,
|
|
229
|
+
expectedOrderSummary: noopThunk,
|
|
211
230
|
experienceOrderActionRule: noopThunk,
|
|
212
231
|
experienceVariant: noopThunk,
|
|
213
232
|
experiment: noopThunk,
|
|
@@ -244,8 +263,6 @@ export default {
|
|
|
244
263
|
flowLabelSettingForm: noopThunk,
|
|
245
264
|
fractionInstallmentStep: noopThunk,
|
|
246
265
|
fractionInstallmentStepForm: noopThunk,
|
|
247
|
-
fraudEmailRule: noopThunk,
|
|
248
|
-
fraudEmailRuleForm: noopThunk,
|
|
249
266
|
fraudPendingReview: noopThunk,
|
|
250
267
|
fraudPendingReviewDeleted: noopThunk,
|
|
251
268
|
fraudPendingReviewUpserted: noopThunk,
|
|
@@ -258,15 +275,9 @@ export default {
|
|
|
258
275
|
fraudReviewUpserted: noopThunk,
|
|
259
276
|
fraudReviewVersion: noopThunk,
|
|
260
277
|
fraudSummary: noopThunk,
|
|
261
|
-
ftpFile: noopThunk,
|
|
262
278
|
ftpFileDeleted: noopThunk,
|
|
263
|
-
ftpFileForm: noopThunk,
|
|
264
279
|
ftpFileToProcessUploaded: noopThunk,
|
|
265
280
|
ftpFileUpserted: noopThunk,
|
|
266
|
-
ftpFolder: noopThunk,
|
|
267
|
-
ftpFolderForm: noopThunk,
|
|
268
|
-
ftpOrganizationSettings: noopThunk,
|
|
269
|
-
ftpOrganizationSettingsForm: noopThunk,
|
|
270
281
|
ftpSetting: noopThunk,
|
|
271
282
|
ftpSettingForm: noopThunk,
|
|
272
283
|
ftpSettingVersion: noopThunk,
|
|
@@ -275,7 +286,6 @@ export default {
|
|
|
275
286
|
fuelSurchargeServiceFee: noopThunk,
|
|
276
287
|
fulfillmentActionForm: noopThunk,
|
|
277
288
|
fulfillmentCancel: noopThunk,
|
|
278
|
-
fulfillmentItemAllocationDetails: noopThunk,
|
|
279
289
|
fulfillmentShipmentTracking: noopThunk,
|
|
280
290
|
giftCard: noopThunk,
|
|
281
291
|
giftCardAuthorizationError: noopThunk,
|
|
@@ -394,16 +404,33 @@ export default {
|
|
|
394
404
|
marketingGatewayAccount: noopThunk,
|
|
395
405
|
marketingGatewayAccountConnection: noopThunk,
|
|
396
406
|
marketingGatewayAccountConnectionForm: noopThunk,
|
|
407
|
+
marketingGatewayAccountMarketLocalization: noopThunk,
|
|
408
|
+
marketingGatewayAccountMarkets: noopThunk,
|
|
397
409
|
marketingGatewayConfiguredMarket: noopThunk,
|
|
398
410
|
marketingGatewayConfiguredMarketForm: noopThunk,
|
|
399
411
|
marketingGatewayExistingMarket: noopThunk,
|
|
412
|
+
marketingGatewayGoogleCustomLabels: noopThunk,
|
|
413
|
+
marketingGatewayGoogleCustomProductShippingLocation: noopThunk,
|
|
400
414
|
marketingGatewayGoogleMarket: noopThunk,
|
|
415
|
+
marketingGatewayGooglePrice: noopThunk,
|
|
416
|
+
marketingGatewayGoogleProduct: noopThunk,
|
|
417
|
+
marketingGatewayGoogleProductAttributes: noopThunk,
|
|
418
|
+
marketingGatewayGoogleProductDataQualityIssue: noopThunk,
|
|
419
|
+
marketingGatewayGoogleProductDestination: noopThunk,
|
|
420
|
+
marketingGatewayGoogleProductDestinationStatus: noopThunk,
|
|
421
|
+
marketingGatewayGoogleProductInstallment: noopThunk,
|
|
422
|
+
marketingGatewayGoogleProductItemLevelIssue: noopThunk,
|
|
423
|
+
marketingGatewayGoogleProductPricingDetails: noopThunk,
|
|
424
|
+
marketingGatewayGoogleProductShippingDetails: noopThunk,
|
|
425
|
+
marketingGatewayGoogleProductShippingUnit: noopThunk,
|
|
426
|
+
marketingGatewayGoogleProductSizeDetails: noopThunk,
|
|
427
|
+
marketingGatewayGoogleProductStatusDetails: noopThunk,
|
|
428
|
+
marketingGatewayGoogleProductTax: noopThunk,
|
|
429
|
+
marketingGatewayGoogleProductUnitPricingMeasure: noopThunk,
|
|
430
|
+
marketingGatewayGoogleProductWarning: noopThunk,
|
|
431
|
+
marketingGatewayImageLinks: noopThunk,
|
|
401
432
|
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
402
433
|
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
403
|
-
marketingGatewayPlatformMarketLocalizations: noopThunk,
|
|
404
|
-
marketingGatewayProduct: noopThunk,
|
|
405
|
-
marketingGatewayProductPrice: noopThunk,
|
|
406
|
-
marketingGatewayProductWarning: noopThunk,
|
|
407
434
|
nextBillingStatement: noopThunk,
|
|
408
435
|
nextInstallment: noopThunk,
|
|
409
436
|
nextInstallmentDeleted: noopThunk,
|
|
@@ -428,6 +455,7 @@ export default {
|
|
|
428
455
|
orderFulfillmentDeleted: noopThunk,
|
|
429
456
|
orderFulfillmentUpserted: noopThunk,
|
|
430
457
|
orderPaymentAuthorization: noopThunk,
|
|
458
|
+
orderPlaced: noopThunk,
|
|
431
459
|
orderRatesDataV3: noopThunk,
|
|
432
460
|
orderRatesPublishedV3: noopThunk,
|
|
433
461
|
orderRevenueRegionChart: noopThunk,
|
|
@@ -475,7 +503,9 @@ export default {
|
|
|
475
503
|
rateData: noopThunk,
|
|
476
504
|
rateDataV3: noopThunk,
|
|
477
505
|
rateDeleted: noopThunk,
|
|
506
|
+
rateDeletedV2: noopThunk,
|
|
478
507
|
rateUpserted: noopThunk,
|
|
508
|
+
rateUpsertedV2: noopThunk,
|
|
479
509
|
ratecard: noopThunk,
|
|
480
510
|
ratecardCarrierSummary: noopThunk,
|
|
481
511
|
ratecardEstimateFormV1: noopThunk,
|
|
@@ -574,6 +604,9 @@ export default {
|
|
|
574
604
|
submittedOrderUpserted: noopThunk,
|
|
575
605
|
subscription: noopThunk,
|
|
576
606
|
subscriptionTransaction: noopThunk,
|
|
607
|
+
svbVirtualCardClearing: noopThunk,
|
|
608
|
+
svbVirtualCardClearingDeleted: noopThunk,
|
|
609
|
+
svbVirtualCardClearingUpserted: noopThunk,
|
|
577
610
|
tariffCodeDuty: noopThunk,
|
|
578
611
|
taskCount: noopThunk,
|
|
579
612
|
taskImport: noopThunk,
|
|
@@ -626,6 +659,7 @@ export default {
|
|
|
626
659
|
localizableContent: noopThunk,
|
|
627
660
|
marketingGatewayLocalization: noopThunk,
|
|
628
661
|
marketingGatewayPlatformMarket: noopThunk,
|
|
662
|
+
marketingGatewayProduct: noopThunk,
|
|
629
663
|
orderActionForm: noopThunk,
|
|
630
664
|
paymentRedirect: noopThunk,
|
|
631
665
|
paymentSummaryDetails: noopThunk,
|