@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
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for flow api-internal 0.5.
|
|
1
|
+
// Type definitions for flow api-internal 0.5.40
|
|
2
2
|
// Definitions by: API Builder <https://www.apibuilder.io/>
|
|
3
3
|
|
|
4
4
|
export type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null;
|
|
@@ -17,7 +17,19 @@ declare const defaultExport: {
|
|
|
17
17
|
accountStatistics: Requireable<any> & Validator<any>;
|
|
18
18
|
accountTransactionsExportRequest: Requireable<any> & Validator<any>;
|
|
19
19
|
actionQuantity: Requireable<any> & Validator<any>;
|
|
20
|
+
adyenAuthorizationDeleted: Requireable<any> & Validator<any>;
|
|
21
|
+
adyenAuthorizationUpserted: Requireable<any> & Validator<any>;
|
|
22
|
+
adyenCancelDeleted: Requireable<any> & Validator<any>;
|
|
23
|
+
adyenCancelUpserted: Requireable<any> & Validator<any>;
|
|
24
|
+
adyenCaptureDeleted: Requireable<any> & Validator<any>;
|
|
25
|
+
adyenCaptureUpserted: Requireable<any> & Validator<any>;
|
|
26
|
+
adyenInternalAuthorization: Requireable<any> & Validator<any>;
|
|
27
|
+
adyenInternalCancel: Requireable<any> & Validator<any>;
|
|
28
|
+
adyenInternalCapture: Requireable<any> & Validator<any>;
|
|
29
|
+
adyenInternalRefund: Requireable<any> & Validator<any>;
|
|
30
|
+
adyenRefundDeleted: Requireable<any> & Validator<any>;
|
|
20
31
|
adyenRefundForm: Requireable<any> & Validator<any>;
|
|
32
|
+
adyenRefundUpserted: Requireable<any> & Validator<any>;
|
|
21
33
|
allocationItemReference: Requireable<any> & Validator<any>;
|
|
22
34
|
apmContent: Requireable<any> & Validator<any>;
|
|
23
35
|
applePaymentToken: Requireable<any> & Validator<any>;
|
|
@@ -71,14 +83,13 @@ declare const defaultExport: {
|
|
|
71
83
|
carrierCredentials: Requireable<any> & Validator<any>;
|
|
72
84
|
carrierInvoice: Requireable<any> & Validator<any>;
|
|
73
85
|
carrierLabelGenerationMethod: Requireable<any> & Validator<any>;
|
|
86
|
+
catalogImportRequest: Requireable<any> & Validator<any>;
|
|
74
87
|
catalogImportType: Requireable<any> & Validator<any>;
|
|
75
88
|
catalogItemDeleteIndexTask: Requireable<any> & Validator<any>;
|
|
76
|
-
catalogItemFormOverlaysImport: Requireable<any> & Validator<any>;
|
|
77
89
|
catalogItemIndexTask: Requireable<any> & Validator<any>;
|
|
78
90
|
catalogItemRegionAvailabilities: Requireable<any> & Validator<any>;
|
|
79
91
|
catalogItemRegionAvailabilitiesData: Requireable<any> & Validator<any>;
|
|
80
92
|
catalogItemRegionAvailabilitiesPublished: Requireable<any> & Validator<any>;
|
|
81
|
-
catalogItemsImport: Requireable<any> & Validator<any>;
|
|
82
93
|
centerQueryBuilder: Requireable<any> & Validator<any>;
|
|
83
94
|
changeSettingsIndexTask: Requireable<any> & Validator<any>;
|
|
84
95
|
checkbox: Requireable<any> & Validator<any>;
|
|
@@ -98,6 +109,9 @@ declare const defaultExport: {
|
|
|
98
109
|
classificationFeatureSet: Requireable<any> & Validator<any>;
|
|
99
110
|
classificationFeatureSetDefault: Requireable<any> & Validator<any>;
|
|
100
111
|
classificationFeaturesCategoryApparel: Requireable<any> & Validator<any>;
|
|
112
|
+
classificationItem: Requireable<any> & Validator<any>;
|
|
113
|
+
classificationItemSummary: Requireable<any> & Validator<any>;
|
|
114
|
+
classificationItemSummaryPage: Requireable<any> & Validator<any>;
|
|
101
115
|
completePriceRule: Requireable<any> & Validator<any>;
|
|
102
116
|
consumerOptinActivity: Requireable<any> & Validator<any>;
|
|
103
117
|
contentElementType: Requireable<any> & Validator<any>;
|
|
@@ -114,6 +128,7 @@ declare const defaultExport: {
|
|
|
114
128
|
customsDescriptionImport: Requireable<any> & Validator<any>;
|
|
115
129
|
customsDescriptionSugestion: Requireable<any> & Validator<any>;
|
|
116
130
|
customsDescriptionSugestionCreated: Requireable<any> & Validator<any>;
|
|
131
|
+
customsDescriptionSuggestion: Requireable<any> & Validator<any>;
|
|
117
132
|
customsDescriptionTariffCodeDuty: Requireable<any> & Validator<any>;
|
|
118
133
|
customsDescriptionTariffCodeDutyForm: Requireable<any> & Validator<any>;
|
|
119
134
|
customsDescriptionTariffsImport: Requireable<any> & Validator<any>;
|
|
@@ -169,6 +184,7 @@ declare const defaultExport: {
|
|
|
169
184
|
exclusionRuleState: Requireable<any> & Validator<any>;
|
|
170
185
|
exclusionRuleStatistic: Requireable<any> & Validator<any>;
|
|
171
186
|
exclusionRuleVersion: Requireable<any> & Validator<any>;
|
|
187
|
+
expectedOrderSummary: Requireable<any> & Validator<any>;
|
|
172
188
|
experienceOrderAction: Requireable<any> & Validator<any>;
|
|
173
189
|
experienceOrderActionRule: Requireable<any> & Validator<any>;
|
|
174
190
|
experienceOrderActionTrigger: Requireable<any> & Validator<any>;
|
|
@@ -216,9 +232,6 @@ declare const defaultExport: {
|
|
|
216
232
|
format: Requireable<any> & Validator<any>;
|
|
217
233
|
fractionInstallmentStep: Requireable<any> & Validator<any>;
|
|
218
234
|
fractionInstallmentStepForm: Requireable<any> & Validator<any>;
|
|
219
|
-
fraudEmailRule: Requireable<any> & Validator<any>;
|
|
220
|
-
fraudEmailRuleDecision: Requireable<any> & Validator<any>;
|
|
221
|
-
fraudEmailRuleForm: Requireable<any> & Validator<any>;
|
|
222
235
|
fraudPendingReview: Requireable<any> & Validator<any>;
|
|
223
236
|
fraudPendingReviewDeleted: Requireable<any> & Validator<any>;
|
|
224
237
|
fraudPendingReviewUpserted: Requireable<any> & Validator<any>;
|
|
@@ -231,17 +244,10 @@ declare const defaultExport: {
|
|
|
231
244
|
fraudReviewUpserted: Requireable<any> & Validator<any>;
|
|
232
245
|
fraudReviewVersion: Requireable<any> & Validator<any>;
|
|
233
246
|
fraudSummary: Requireable<any> & Validator<any>;
|
|
234
|
-
ftpFile: Requireable<any> & Validator<any>;
|
|
235
247
|
ftpFileDeleted: Requireable<any> & Validator<any>;
|
|
236
|
-
ftpFileForm: Requireable<any> & Validator<any>;
|
|
237
|
-
ftpFileSource: Requireable<any> & Validator<any>;
|
|
238
248
|
ftpFileToProcessUploaded: Requireable<any> & Validator<any>;
|
|
239
249
|
ftpFileUpserted: Requireable<any> & Validator<any>;
|
|
240
|
-
ftpFolder: Requireable<any> & Validator<any>;
|
|
241
|
-
ftpFolderForm: Requireable<any> & Validator<any>;
|
|
242
250
|
ftpIntent: Requireable<any> & Validator<any>;
|
|
243
|
-
ftpOrganizationSettings: Requireable<any> & Validator<any>;
|
|
244
|
-
ftpOrganizationSettingsForm: Requireable<any> & Validator<any>;
|
|
245
251
|
ftpProtocol: Requireable<any> & Validator<any>;
|
|
246
252
|
ftpSetting: Requireable<any> & Validator<any>;
|
|
247
253
|
ftpSettingForm: Requireable<any> & Validator<any>;
|
|
@@ -251,7 +257,6 @@ declare const defaultExport: {
|
|
|
251
257
|
fuelSurchargeServiceFee: Requireable<any> & Validator<any>;
|
|
252
258
|
fulfillmentActionForm: Requireable<any> & Validator<any>;
|
|
253
259
|
fulfillmentCancel: Requireable<any> & Validator<any>;
|
|
254
|
-
fulfillmentItemAllocationDetails: Requireable<any> & Validator<any>;
|
|
255
260
|
fulfillmentShipmentTracking: Requireable<any> & Validator<any>;
|
|
256
261
|
giftCard: Requireable<any> & Validator<any>;
|
|
257
262
|
giftCardAuthorizationError: Requireable<any> & Validator<any>;
|
|
@@ -317,6 +322,7 @@ declare const defaultExport: {
|
|
|
317
322
|
issuer: Requireable<any> & Validator<any>;
|
|
318
323
|
issuerDeleted: Requireable<any> & Validator<any>;
|
|
319
324
|
issuerUpserted: Requireable<any> & Validator<any>;
|
|
325
|
+
itemClassificationStatus: Requireable<any> & Validator<any>;
|
|
320
326
|
itemDimensionEstimateDeleted: Requireable<any> & Validator<any>;
|
|
321
327
|
itemDimensionEstimateUpserted: Requireable<any> & Validator<any>;
|
|
322
328
|
itemFilterResponse: Requireable<any> & Validator<any>;
|
|
@@ -384,19 +390,41 @@ declare const defaultExport: {
|
|
|
384
390
|
marketingGatewayAccount: Requireable<any> & Validator<any>;
|
|
385
391
|
marketingGatewayAccountConnection: Requireable<any> & Validator<any>;
|
|
386
392
|
marketingGatewayAccountConnectionForm: Requireable<any> & Validator<any>;
|
|
393
|
+
marketingGatewayAccountMarketLocalization: Requireable<any> & Validator<any>;
|
|
394
|
+
marketingGatewayAccountMarketLocalizationError: Requireable<any> & Validator<any>;
|
|
395
|
+
marketingGatewayAccountMarkets: Requireable<any> & Validator<any>;
|
|
387
396
|
marketingGatewayConfiguredMarket: Requireable<any> & Validator<any>;
|
|
388
397
|
marketingGatewayConfiguredMarketForm: Requireable<any> & Validator<any>;
|
|
389
398
|
marketingGatewayExistingMarket: Requireable<any> & Validator<any>;
|
|
399
|
+
marketingGatewayGoogleCustomLabels: Requireable<any> & Validator<any>;
|
|
400
|
+
marketingGatewayGoogleCustomProductShippingLocation: Requireable<any> & Validator<any>;
|
|
390
401
|
marketingGatewayGoogleMarket: Requireable<any> & Validator<any>;
|
|
402
|
+
marketingGatewayGooglePrice: Requireable<any> & Validator<any>;
|
|
403
|
+
marketingGatewayGoogleProduct: Requireable<any> & Validator<any>;
|
|
404
|
+
marketingGatewayGoogleProductAttributes: Requireable<any> & Validator<any>;
|
|
405
|
+
marketingGatewayGoogleProductDataQualityIssue: Requireable<any> & Validator<any>;
|
|
406
|
+
marketingGatewayGoogleProductDestination: Requireable<any> & Validator<any>;
|
|
407
|
+
marketingGatewayGoogleProductDestinationApprovalStatus: Requireable<any> & Validator<any>;
|
|
408
|
+
marketingGatewayGoogleProductDestinationStatus: Requireable<any> & Validator<any>;
|
|
409
|
+
marketingGatewayGoogleProductInstallment: Requireable<any> & Validator<any>;
|
|
410
|
+
marketingGatewayGoogleProductItemLevelIssue: Requireable<any> & Validator<any>;
|
|
411
|
+
marketingGatewayGoogleProductItemLevelIssueSeverity: Requireable<any> & Validator<any>;
|
|
412
|
+
marketingGatewayGoogleProductPricingDetails: Requireable<any> & Validator<any>;
|
|
413
|
+
marketingGatewayGoogleProductShippingDetails: Requireable<any> & Validator<any>;
|
|
414
|
+
marketingGatewayGoogleProductShippingUnit: Requireable<any> & Validator<any>;
|
|
415
|
+
marketingGatewayGoogleProductSizeDetails: Requireable<any> & Validator<any>;
|
|
416
|
+
marketingGatewayGoogleProductStatusDetails: Requireable<any> & Validator<any>;
|
|
417
|
+
marketingGatewayGoogleProductTax: Requireable<any> & Validator<any>;
|
|
418
|
+
marketingGatewayGoogleProductUnitPricingMeasure: Requireable<any> & Validator<any>;
|
|
419
|
+
marketingGatewayGoogleProductWarning: Requireable<any> & Validator<any>;
|
|
420
|
+
marketingGatewayImageLinks: Requireable<any> & Validator<any>;
|
|
391
421
|
marketingGatewayLocalization: Requireable<any> & Validator<any>;
|
|
392
422
|
marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
|
|
393
423
|
marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
|
|
394
424
|
marketingGatewayPlatform: Requireable<any> & Validator<any>;
|
|
395
425
|
marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
|
|
396
|
-
marketingGatewayPlatformMarketLocalizations: Requireable<any> & Validator<any>;
|
|
397
426
|
marketingGatewayProduct: Requireable<any> & Validator<any>;
|
|
398
|
-
|
|
399
|
-
marketingGatewayProductWarning: Requireable<any> & Validator<any>;
|
|
427
|
+
marketingGatewayProductStatus: Requireable<any> & Validator<any>;
|
|
400
428
|
marketingGatewaySyncStatus: Requireable<any> & Validator<any>;
|
|
401
429
|
nextBillingStatement: Requireable<any> & Validator<any>;
|
|
402
430
|
nextInstallment: Requireable<any> & Validator<any>;
|
|
@@ -427,6 +455,7 @@ declare const defaultExport: {
|
|
|
427
455
|
orderFulfillmentDeleted: Requireable<any> & Validator<any>;
|
|
428
456
|
orderFulfillmentUpserted: Requireable<any> & Validator<any>;
|
|
429
457
|
orderPaymentAuthorization: Requireable<any> & Validator<any>;
|
|
458
|
+
orderPlaced: Requireable<any> & Validator<any>;
|
|
430
459
|
orderRatesDataV3: Requireable<any> & Validator<any>;
|
|
431
460
|
orderRatesPublishedV3: Requireable<any> & Validator<any>;
|
|
432
461
|
orderRevenueRegionChart: Requireable<any> & Validator<any>;
|
|
@@ -485,8 +514,10 @@ declare const defaultExport: {
|
|
|
485
514
|
rateData: Requireable<any> & Validator<any>;
|
|
486
515
|
rateDataV3: Requireable<any> & Validator<any>;
|
|
487
516
|
rateDeleted: Requireable<any> & Validator<any>;
|
|
517
|
+
rateDeletedV2: Requireable<any> & Validator<any>;
|
|
488
518
|
rateSource: Requireable<any> & Validator<any>;
|
|
489
519
|
rateUpserted: Requireable<any> & Validator<any>;
|
|
520
|
+
rateUpsertedV2: Requireable<any> & Validator<any>;
|
|
490
521
|
ratecard: Requireable<any> & Validator<any>;
|
|
491
522
|
ratecardCarrierSummary: Requireable<any> & Validator<any>;
|
|
492
523
|
ratecardEstimate: Requireable<any> & Validator<any>;
|
|
@@ -608,6 +639,9 @@ declare const defaultExport: {
|
|
|
608
639
|
subscription: Requireable<any> & Validator<any>;
|
|
609
640
|
subscriptionFrequency: Requireable<any> & Validator<any>;
|
|
610
641
|
subscriptionTransaction: Requireable<any> & Validator<any>;
|
|
642
|
+
svbVirtualCardClearing: Requireable<any> & Validator<any>;
|
|
643
|
+
svbVirtualCardClearingDeleted: Requireable<any> & Validator<any>;
|
|
644
|
+
svbVirtualCardClearingUpserted: Requireable<any> & Validator<any>;
|
|
611
645
|
tariffCodeDuty: Requireable<any> & Validator<any>;
|
|
612
646
|
taskCount: Requireable<any> & Validator<any>;
|
|
613
647
|
taskData: Requireable<any> & Validator<any>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import itemClassificationStatus from '../enums/itemClassificationStatus';
|
|
3
|
+
import customsDescriptionSuggestion from './customsDescriptionSuggestion';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
organization_id: PropTypes.string.isRequired,
|
|
8
|
+
number: PropTypes.string.isRequired,
|
|
9
|
+
name: PropTypes.string.isRequired,
|
|
10
|
+
description: PropTypes.string.isRequired,
|
|
11
|
+
status: itemClassificationStatus.isRequired,
|
|
12
|
+
customs_description_suggestions: PropTypes.arrayOf(
|
|
13
|
+
customsDescriptionSuggestion
|
|
14
|
+
).isRequired,
|
|
15
|
+
images: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
16
|
+
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
17
|
+
attributes: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
18
|
+
next_id: PropTypes.string,
|
|
19
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import itemClassificationStatus from '../enums/itemClassificationStatus';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
id: PropTypes.string.isRequired,
|
|
6
|
+
organization_id: PropTypes.string.isRequired,
|
|
7
|
+
number: PropTypes.string.isRequired,
|
|
8
|
+
name: PropTypes.string.isRequired,
|
|
9
|
+
status: itemClassificationStatus.isRequired,
|
|
10
|
+
suggestion_count: PropTypes.number.isRequired,
|
|
11
|
+
});
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
|
|
3
3
|
export default PropTypes.oneOf([
|
|
4
|
+
'adyen_authorization_deleted',
|
|
5
|
+
'adyen_authorization_upserted',
|
|
6
|
+
'adyen_cancel_deleted',
|
|
7
|
+
'adyen_cancel_upserted',
|
|
8
|
+
'adyen_capture_deleted',
|
|
9
|
+
'adyen_capture_upserted',
|
|
10
|
+
'adyen_refund_deleted',
|
|
11
|
+
'adyen_refund_upserted',
|
|
4
12
|
'account_transactions_export_request',
|
|
5
13
|
'account_orders_export_request',
|
|
6
14
|
'carrier_account_upserted',
|
|
7
|
-
'
|
|
8
|
-
'catalog_item_form_overlays_import',
|
|
15
|
+
'catalog_import_request',
|
|
9
16
|
'catalog_item_region_availabilities_published',
|
|
10
17
|
'localized_content_upserted',
|
|
11
18
|
'localization_upserted',
|
|
@@ -13,6 +20,8 @@ export default PropTypes.oneOf([
|
|
|
13
20
|
'rate_upserted',
|
|
14
21
|
'spot_rate_deleted',
|
|
15
22
|
'spot_rate_upserted',
|
|
23
|
+
'rate_deleted_v2',
|
|
24
|
+
'rate_upserted_v2',
|
|
16
25
|
'customs_description_import',
|
|
17
26
|
'customs_description_tariffs_import',
|
|
18
27
|
'item_dimension_estimate_upserted',
|
|
@@ -49,6 +58,7 @@ export default PropTypes.oneOf([
|
|
|
49
58
|
'unharmonized_items_export',
|
|
50
59
|
'harmonization_phrase_suggestion_request_import',
|
|
51
60
|
'harmonization_codes_import',
|
|
61
|
+
'customs_description_sugestion_created',
|
|
52
62
|
'harmonize_fully_with_rate',
|
|
53
63
|
'item_harmonized',
|
|
54
64
|
'harmonize_fully_request',
|
|
@@ -77,6 +87,7 @@ export default PropTypes.oneOf([
|
|
|
77
87
|
'optin_prompt_deleted',
|
|
78
88
|
'order_fulfillment_deleted',
|
|
79
89
|
'order_fulfillment_upserted',
|
|
90
|
+
'order_placed',
|
|
80
91
|
'ready_to_fulfill',
|
|
81
92
|
'fulfillment_cancel',
|
|
82
93
|
'order_shipped',
|
|
@@ -90,6 +101,8 @@ export default PropTypes.oneOf([
|
|
|
90
101
|
'shopify_shop_deleted',
|
|
91
102
|
'shopify_experience_short_id_upserted',
|
|
92
103
|
'shopify_experience_short_id_deleted',
|
|
104
|
+
'svb_virtual_card_clearing_upserted',
|
|
105
|
+
'svb_virtual_card_clearing_deleted',
|
|
93
106
|
'tracking_request_upserted',
|
|
94
107
|
'tracking_response_upserted',
|
|
95
108
|
'user_upserted',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import adyenInternalAuthorization from './adyenInternalAuthorization';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
authorization: adyenInternalAuthorization.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import adyenInternalAuthorization from './adyenInternalAuthorization';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
authorization: adyenInternalAuthorization.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import adyenInternalCapture from './adyenInternalCapture';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
capture: adyenInternalCapture.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import adyenInternalCapture from './adyenInternalCapture';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
capture: adyenInternalCapture.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
merchant_account: PropTypes.string.isRequired,
|
|
7
|
+
request: PropTypes.object,
|
|
8
|
+
psp_reference: PropTypes.string,
|
|
9
|
+
result_code: PropTypes.string.isRequired,
|
|
10
|
+
auth_code: PropTypes.string,
|
|
11
|
+
refusal_reason: PropTypes.string,
|
|
12
|
+
cvc_result: PropTypes.number,
|
|
13
|
+
avs_result: PropTypes.number,
|
|
14
|
+
payment_amount: PropTypes.number,
|
|
15
|
+
payment_currency: PropTypes.string,
|
|
16
|
+
skin_code: PropTypes.string,
|
|
17
|
+
session_validity: PropTypes.string,
|
|
18
|
+
brand_code: PropTypes.string,
|
|
19
|
+
issuer_id: PropTypes.string,
|
|
20
|
+
post_payment_success_redirect_url: PropTypes.string,
|
|
21
|
+
post_payment_failure_redirect_url: PropTypes.string,
|
|
22
|
+
payment_redirect_url: PropTypes.string,
|
|
23
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
flow_reversal_id: PropTypes.string,
|
|
7
|
+
merchant_account: PropTypes.string.isRequired,
|
|
8
|
+
request: PropTypes.object.isRequired,
|
|
9
|
+
psp_reference: PropTypes.string.isRequired,
|
|
10
|
+
response: PropTypes.string.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_capture_id: PropTypes.string.isRequired,
|
|
6
|
+
merchant_account: PropTypes.string.isRequired,
|
|
7
|
+
request: PropTypes.object,
|
|
8
|
+
psp_reference: PropTypes.string.isRequired,
|
|
9
|
+
response: PropTypes.string.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
merchant_account: PropTypes.string.isRequired,
|
|
7
|
+
request: PropTypes.object,
|
|
8
|
+
psp_reference: PropTypes.string.isRequired,
|
|
9
|
+
response: PropTypes.string.isRequired,
|
|
10
|
+
});
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import responsibleParty from '../enums/responsibleParty';
|
|
3
|
+
import paymentTerm from '../../../invoice/v0/enums/paymentTerm';
|
|
4
|
+
import transferMethod from '../enums/transferMethod';
|
|
3
5
|
|
|
4
6
|
export default PropTypes.shape({
|
|
5
7
|
days_until_posted: PropTypes.number.isRequired,
|
|
6
8
|
logistics: responsibleParty.isRequired,
|
|
9
|
+
include_transaction_created_at: PropTypes.bool.isRequired,
|
|
10
|
+
send_statements_to_flow_ftp_server: PropTypes.bool.isRequired,
|
|
11
|
+
invoicing_terms: paymentTerm,
|
|
12
|
+
transfer_method: transferMethod,
|
|
7
13
|
});
|
package/src/io/flow/internal/v0/models/{catalogItemFormOverlaysImport.js → catalogImportRequest.js}
RENAMED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import catalogImportType from '../enums/catalogImportType';
|
|
2
3
|
|
|
3
4
|
export default PropTypes.shape({
|
|
4
5
|
event_id: PropTypes.string.isRequired,
|
|
5
6
|
timestamp: PropTypes.string.isRequired,
|
|
6
7
|
organization: PropTypes.string.isRequired,
|
|
7
8
|
import_id: PropTypes.string.isRequired,
|
|
9
|
+
type: catalogImportType.isRequired,
|
|
8
10
|
source_url: PropTypes.string.isRequired,
|
|
9
11
|
filename: PropTypes.string,
|
|
10
12
|
});
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import order from '../../../experience/v0/models/order';
|
|
3
3
|
import authorizationResultAction from '../../../payment/v0/models/authorizationResultAction';
|
|
4
|
+
import orderError from '../../../experience/v0/models/orderError';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
order: order,
|
|
7
8
|
redirect: authorizationResultAction,
|
|
9
|
+
errors: PropTypes.arrayOf(orderError),
|
|
8
10
|
});
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import authorizationForm from '../../../payment/v0/unions/authorizationForm';
|
|
3
|
+
import expectedOrderSummary from './expectedOrderSummary';
|
|
3
4
|
|
|
4
5
|
export default PropTypes.shape({
|
|
5
6
|
authorization_form: authorizationForm.isRequired,
|
|
6
7
|
installment_plan_id: PropTypes.string,
|
|
8
|
+
expected_order_summary: expectedOrderSummary,
|
|
7
9
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import itemClassificationStatus from '../enums/itemClassificationStatus';
|
|
3
|
+
import customsDescriptionSuggestion from './customsDescriptionSuggestion';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
organization_id: PropTypes.string.isRequired,
|
|
8
|
+
number: PropTypes.string.isRequired,
|
|
9
|
+
name: PropTypes.string.isRequired,
|
|
10
|
+
description: PropTypes.string.isRequired,
|
|
11
|
+
status: itemClassificationStatus.isRequired,
|
|
12
|
+
customs_description_suggestions: PropTypes.arrayOf(
|
|
13
|
+
customsDescriptionSuggestion
|
|
14
|
+
).isRequired,
|
|
15
|
+
images: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
16
|
+
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
17
|
+
attributes: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
18
|
+
next_id: PropTypes.string,
|
|
19
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import itemClassificationStatus from '../enums/itemClassificationStatus';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
id: PropTypes.string.isRequired,
|
|
6
|
+
organization_id: PropTypes.string.isRequired,
|
|
7
|
+
number: PropTypes.string.isRequired,
|
|
8
|
+
name: PropTypes.string.isRequired,
|
|
9
|
+
status: itemClassificationStatus.isRequired,
|
|
10
|
+
suggestion_count: PropTypes.number.isRequired,
|
|
11
|
+
});
|