@flowio/api-internal-prop-types 1.2.25 → 1.2.26
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 +80 -76
- package/.apibuilder/config +6 -0
- package/.eslintcache +1 -0
- package/LICENSE +21 -0
- package/lib/index.d.ts +22 -51
- package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/billing/v0/models/account.js +5 -0
- package/lib/io/flow/{internal/v0/models/ratecardCarrierSummary.js → billing/v0/models/accountDepositRule.js} +2 -2
- package/lib/io/flow/billing/v0/models/accountDepositRuleForm.js +16 -0
- package/lib/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
- package/lib/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +13 -0
- package/lib/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +13 -0
- package/lib/io/flow/checkout/configuration/v0/models/checkoutBehavior.js +29 -0
- package/lib/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfo.js +19 -0
- package/lib/io/flow/{internal/v0/models/hop.js → checkout/configuration/v0/models/checkoutBehaviorCustomerInfoEmail.js} +3 -4
- package/lib/io/flow/{internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js → checkout/configuration/v0/models/checkoutBehaviorShippingAddress.js} +3 -3
- package/lib/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingMethod.js +19 -0
- package/lib/io/flow/{internal/v0/models/ratecardVersion.js → checkout/configuration/v0/models/checkoutConfiguration.js} +6 -7
- package/lib/io/flow/checkout/configuration/v0/models/checkoutSettings.js +19 -0
- package/lib/io/flow/common/v0/models/customer.js +6 -1
- package/lib/io/flow/{internal/v0/models/remoteAreaRatecardFee.js → common/v0/models/customerInvoice.js} +3 -3
- package/lib/io/flow/common/v0/models/organization.js +2 -1
- package/lib/io/flow/experience/internal/v0/models/organizationSettings.js +2 -1
- package/lib/io/flow/experience/internal/v0/models/organizationSettingsForm.js +2 -1
- package/lib/io/flow/experience/v0/enums/experienceCloneStatus.js +13 -0
- package/lib/io/flow/experience/v0/models/checkoutSettings.js +19 -0
- package/lib/io/flow/experience/v0/models/experienceCheckoutSettings.js +25 -0
- package/lib/io/flow/experience/v0/models/experienceCheckoutSettingsForm.js +15 -0
- package/lib/io/flow/experience/v0/models/experienceClone.js +26 -0
- package/lib/io/flow/{internal/v0/models/ddpRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
- package/lib/io/flow/{internal/v0/models/returnPackageRatecardFee.js → experience/v0/models/experienceConfigurationReference.js} +1 -1
- package/lib/io/flow/{internal/v0/models/dimensionEstimateForm.js → experience/v0/models/experiencePriceBookMappingPutForm.js} +3 -5
- package/lib/io/flow/experience/v0/models/experienceSettings.js +6 -1
- package/lib/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +19 -0
- package/lib/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
- package/lib/io/flow/feature/v0/models/feature.js +6 -1
- package/lib/io/flow/feature/v0/models/featureForm.js +6 -1
- package/lib/io/flow/feature/v0/models/stringFeatureDefaultValue.js +15 -0
- package/lib/io/flow/feature/v0/unions/featureDefaultValue.js +21 -0
- package/lib/io/flow/fulfillment/v0/enums/laneStrategy.js +13 -0
- package/lib/io/flow/fulfillment/v0/models/countryShippingPricing.js +20 -0
- package/lib/io/flow/{internal/v0/models/remoteAreaServiceFee.js → fulfillment/v0/models/itemShippingPricing.js} +4 -3
- package/lib/io/flow/fulfillment/v0/models/shippingAddress.js +6 -1
- package/lib/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +30 -0
- package/lib/io/flow/fulfillment/v0/models/shippingLane.js +6 -1
- package/lib/io/flow/fulfillment/v0/models/shippingLaneForm.js +6 -1
- package/lib/io/flow/{internal/v0/models/crossdockRatecardFee.js → harmonization/v0/models/avalaraTaxSetting.js} +3 -5
- package/lib/io/flow/harmonization/v0/unions/taxSetting.js +17 -0
- package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +13 -0
- package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +13 -0
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/enums/{transferTransactionSource.js → experienceImportType.js} +1 -1
- package/lib/io/flow/internal/v0/enums/orderLifecycleEvent.js +13 -0
- package/lib/io/flow/internal/v0/models/account.js +5 -0
- package/lib/io/flow/internal/v0/models/accountDepositRule.js +16 -0
- package/lib/io/flow/internal/v0/models/accountDepositRuleForm.js +16 -0
- package/lib/io/flow/internal/v0/models/accountPutForm.js +6 -1
- package/lib/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -5
- package/lib/io/flow/internal/v0/models/backfillForm.js +3 -1
- package/lib/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
- package/lib/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +15 -0
- package/lib/io/flow/internal/v0/models/{ratecardRateForm.js → catalogItemBatchIndexTask.js} +2 -2
- package/lib/io/flow/internal/v0/models/checkoutBehavior.js +29 -0
- package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +19 -0
- package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +19 -0
- package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +19 -0
- package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +19 -0
- package/lib/io/flow/internal/v0/models/checkoutBundle.js +6 -1
- package/lib/io/flow/internal/v0/models/{ratecardServiceSummary.js → checkoutConfiguration.js} +8 -4
- package/lib/io/flow/internal/v0/models/checkoutConfigurationReference.js +15 -0
- package/lib/io/flow/internal/v0/models/{fuelSurchargeRatecardFee.js → checkoutSettings.js} +3 -3
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
- package/lib/io/flow/internal/v0/models/{ratecardLaneDeleted.js → experienceExportRequest.js} +3 -1
- package/lib/io/flow/internal/v0/models/{ratecardLaneUpserted.js → experienceImportRequest.js} +6 -3
- package/lib/io/flow/internal/v0/models/feature.js +6 -1
- package/lib/io/flow/internal/v0/models/featureForm.js +6 -1
- package/lib/io/flow/internal/v0/models/organizationSettings.js +2 -1
- package/lib/io/flow/internal/v0/models/organizationSettingsForm.js +2 -1
- package/lib/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
- package/lib/io/flow/internal/v0/models/processingTransaction.js +4 -3
- package/lib/io/flow/internal/v0/models/stringFeatureDefaultValue.js +15 -0
- package/lib/io/flow/internal/v0/models/transferTransaction.js +0 -5
- package/lib/io/flow/internal/v0/unions/event.js +9 -25
- package/lib/io/flow/internal/v0/unions/featureDefaultValue.js +21 -0
- package/lib/io/flow/internal/v0/unions/indexTaskType.js +5 -9
- package/lib/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +2 -1
- package/lib/io/flow/shopify/external/v0/models/shopifyFulfillment.js +2 -1
- package/lib/mocks.js +22 -51
- package/lib/validators.js +108 -253
- package/package.json +5 -4
- package/src/index.d.ts +22 -51
- package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +3 -0
- package/src/io/flow/billing/v0/models/account.js +2 -0
- package/src/io/flow/billing/v0/models/accountDepositRule.js +6 -0
- package/src/io/flow/billing/v0/models/accountDepositRuleForm.js +6 -0
- package/src/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
- package/src/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +3 -0
- package/src/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutBehavior.js +10 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingAddress.js +6 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingMethod.js +6 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutConfiguration.js +9 -0
- package/src/io/flow/checkout/configuration/v0/models/checkoutSettings.js +6 -0
- package/src/io/flow/common/v0/models/customer.js +2 -0
- package/src/io/flow/common/v0/models/customerInvoice.js +6 -0
- package/src/io/flow/common/v0/models/organization.js +1 -0
- package/src/io/flow/experience/internal/v0/models/organizationSettings.js +1 -0
- package/src/io/flow/experience/internal/v0/models/organizationSettingsForm.js +1 -0
- package/src/io/flow/experience/v0/enums/experienceCloneStatus.js +3 -0
- package/src/io/flow/experience/v0/models/checkoutSettings.js +6 -0
- package/src/io/flow/experience/v0/models/experienceCheckoutSettings.js +9 -0
- package/src/io/flow/experience/v0/models/experienceCheckoutSettingsForm.js +5 -0
- package/src/io/flow/experience/v0/models/experienceClone.js +10 -0
- package/src/io/flow/{internal/v0/models/returnPackageRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
- package/src/io/flow/{internal/v0/models/ratecardCarrierSummary.js → experience/v0/models/experienceConfigurationReference.js} +0 -1
- package/src/io/flow/experience/v0/models/experiencePriceBookMappingPutForm.js +6 -0
- package/src/io/flow/experience/v0/models/experienceSettings.js +2 -0
- package/src/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +6 -0
- package/src/io/flow/{internal/v0/models/ddpRatecardFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
- package/src/io/flow/feature/v0/models/feature.js +2 -0
- package/src/io/flow/feature/v0/models/featureForm.js +2 -0
- package/src/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/stringFeatureDefaultValue.js} +1 -1
- package/src/io/flow/feature/v0/unions/featureDefaultValue.js +8 -0
- package/src/io/flow/fulfillment/v0/enums/laneStrategy.js +3 -0
- package/src/io/flow/fulfillment/v0/models/countryShippingPricing.js +7 -0
- package/src/io/flow/fulfillment/v0/models/itemShippingPricing.js +7 -0
- package/src/io/flow/fulfillment/v0/models/shippingAddress.js +2 -0
- package/src/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +12 -0
- package/src/io/flow/fulfillment/v0/models/shippingLane.js +2 -0
- package/src/io/flow/fulfillment/v0/models/shippingLaneForm.js +2 -0
- package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +7 -0
- package/src/io/flow/harmonization/v0/unions/taxSetting.js +4 -0
- package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +3 -0
- package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +3 -0
- package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
- package/src/io/flow/internal/v0/enums/eventType.js +2 -6
- package/src/io/flow/internal/v0/enums/experienceImportType.js +3 -0
- package/src/io/flow/internal/v0/enums/orderLifecycleEvent.js +3 -0
- package/src/io/flow/internal/v0/models/account.js +2 -0
- package/src/io/flow/internal/v0/models/accountDepositRule.js +6 -0
- package/src/io/flow/internal/v0/models/accountDepositRuleForm.js +6 -0
- package/src/io/flow/internal/v0/models/accountPutForm.js +2 -0
- package/src/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -2
- package/src/io/flow/internal/v0/models/backfillForm.js +2 -0
- package/src/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
- package/src/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +5 -0
- package/src/io/flow/internal/v0/models/catalogItemBatchIndexTask.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutBehavior.js +10 -0
- package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutBundle.js +2 -0
- package/src/io/flow/internal/v0/models/checkoutConfiguration.js +9 -0
- package/src/io/flow/internal/v0/models/checkoutConfigurationReference.js +5 -0
- package/src/io/flow/internal/v0/models/checkoutSettings.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
- package/src/io/flow/internal/v0/models/{ratecardPublished.js → experienceExportRequest.js} +3 -2
- package/src/io/flow/internal/v0/models/experienceImportRequest.js +12 -0
- package/src/io/flow/internal/v0/models/feature.js +2 -0
- package/src/io/flow/internal/v0/models/featureForm.js +2 -0
- package/src/io/flow/internal/v0/models/organizationSettings.js +1 -0
- package/src/io/flow/internal/v0/models/organizationSettingsForm.js +1 -0
- package/src/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
- package/src/io/flow/internal/v0/models/processingTransaction.js +3 -2
- package/src/io/flow/internal/v0/models/stringFeatureDefaultValue.js +5 -0
- package/src/io/flow/internal/v0/models/transferTransaction.js +0 -2
- package/src/io/flow/internal/v0/unions/event.js +4 -12
- package/src/io/flow/internal/v0/unions/featureDefaultValue.js +8 -0
- package/src/io/flow/internal/v0/unions/indexTaskType.js +2 -4
- package/src/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +1 -0
- package/src/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
- package/src/mocks.js +22 -51
- package/src/validators.js +44 -102
- package/lib/io/flow/internal/v0/models/dimensionEstimate.js +0 -22
- package/lib/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -26
- package/lib/io/flow/internal/v0/models/estimatedDimensions.js +0 -22
- package/lib/io/flow/internal/v0/models/hopEstimate.js +0 -38
- package/lib/io/flow/internal/v0/models/laneDeleted.js +0 -17
- package/lib/io/flow/internal/v0/models/laneUpserted.js +0 -28
- package/lib/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -22
- package/lib/io/flow/internal/v0/models/ratecard.js +0 -33
- package/lib/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -37
- package/lib/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -42
- package/lib/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -18
- package/lib/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -48
- package/lib/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -35
- package/lib/io/flow/internal/v0/models/ratecardForm.js +0 -27
- package/lib/io/flow/internal/v0/models/ratecardLane.js +0 -64
- package/lib/io/flow/internal/v0/models/ratecardLaneForm.js +0 -54
- package/lib/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -26
- package/lib/io/flow/internal/v0/models/ratecardPublished.js +0 -19
- package/lib/io/flow/internal/v0/models/ratecardRate.js +0 -17
- package/lib/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -17
- package/lib/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -32
- package/lib/io/flow/internal/v0/models/ratecardRateVersion.js +0 -26
- package/lib/io/flow/internal/v0/models/ratecardUpserted.js +0 -21
- package/lib/io/flow/internal/v0/models/shipmentWindow.js +0 -16
- package/lib/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -17
- package/lib/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -16
- package/lib/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -21
- package/lib/io/flow/internal/v0/unions/ratecardEstimate.js +0 -21
- package/lib/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -21
- package/lib/io/flow/internal/v0/unions/ratecardFee.js +0 -37
- package/lib/io/flow/internal/v0/unions/serviceFee.js +0 -21
- package/src/io/flow/internal/v0/enums/transferTransactionSource.js +0 -3
- package/src/io/flow/internal/v0/models/crossdockRatecardFee.js +0 -6
- package/src/io/flow/internal/v0/models/dimensionEstimate.js +0 -9
- package/src/io/flow/internal/v0/models/dimensionEstimateForm.js +0 -8
- package/src/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -10
- package/src/io/flow/internal/v0/models/estimatedDimensions.js +0 -9
- package/src/io/flow/internal/v0/models/fuelSurchargeRatecardFee.js +0 -6
- package/src/io/flow/internal/v0/models/hop.js +0 -7
- package/src/io/flow/internal/v0/models/hopEstimate.js +0 -16
- package/src/io/flow/internal/v0/models/laneDeleted.js +0 -7
- package/src/io/flow/internal/v0/models/laneUpserted.js +0 -18
- package/src/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -9
- package/src/io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js +0 -6
- package/src/io/flow/internal/v0/models/ratecard.js +0 -14
- package/src/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -18
- package/src/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -20
- package/src/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -8
- package/src/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -20
- package/src/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -13
- package/src/io/flow/internal/v0/models/ratecardForm.js +0 -11
- package/src/io/flow/internal/v0/models/ratecardLane.js +0 -27
- package/src/io/flow/internal/v0/models/ratecardLaneDeleted.js +0 -8
- package/src/io/flow/internal/v0/models/ratecardLaneForm.js +0 -23
- package/src/io/flow/internal/v0/models/ratecardLaneUpserted.js +0 -9
- package/src/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -10
- package/src/io/flow/internal/v0/models/ratecardRate.js +0 -7
- package/src/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -7
- package/src/io/flow/internal/v0/models/ratecardRateForm.js +0 -6
- package/src/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -22
- package/src/io/flow/internal/v0/models/ratecardRateVersion.js +0 -10
- package/src/io/flow/internal/v0/models/ratecardServiceSummary.js +0 -8
- package/src/io/flow/internal/v0/models/ratecardUpserted.js +0 -11
- package/src/io/flow/internal/v0/models/ratecardVersion.js +0 -10
- package/src/io/flow/internal/v0/models/remoteAreaRatecardFee.js +0 -6
- package/src/io/flow/internal/v0/models/remoteAreaServiceFee.js +0 -6
- package/src/io/flow/internal/v0/models/shipmentWindow.js +0 -6
- package/src/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -7
- package/src/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -6
- package/src/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -8
- package/src/io/flow/internal/v0/unions/ratecardEstimate.js +0 -5
- package/src/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -8
- package/src/io/flow/internal/v0/unions/ratecardFee.js +0 -16
- package/src/io/flow/internal/v0/unions/serviceFee.js +0 -8
- /package/lib/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
- /package/lib/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
- /package/lib/io/flow/internal/v0/models/{pendingBankPaymentTransferDetail.js → pendingBankPaymentDetail.js} +0 -0
- /package/src/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
- /package/src/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
- /package/src/io/flow/internal/v0/models/{pendingBankPaymentTransferDetail.js → pendingBankPaymentDetail.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.26",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"babel-runtime": "^6.26.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"prop-types": "^15.
|
|
27
|
+
"prop-types": "^15.7.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@flowio/eslint-config-flowio": "^12.0.0",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"eslint-plugin-import": "^2.13.0",
|
|
39
39
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
40
40
|
"eslint-plugin-react": "^7.10.0",
|
|
41
|
-
"prop-types": "^15.
|
|
41
|
+
"prop-types": "^15.7.2",
|
|
42
42
|
"rimraf": "^2.6.2"
|
|
43
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"gitHead": "2de15df8d8bdf1d84f0fc63ef16dd6d3c8d9b84f"
|
|
44
45
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for flow api-internal 0.
|
|
1
|
+
// Type definitions for flow api-internal 0.6.1
|
|
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;
|
|
@@ -11,6 +11,8 @@ declare const defaultExport: {
|
|
|
11
11
|
account: Requireable<any> & Validator<any>;
|
|
12
12
|
accountContact: Requireable<any> & Validator<any>;
|
|
13
13
|
accountContactForm: Requireable<any> & Validator<any>;
|
|
14
|
+
accountDepositRule: Requireable<any> & Validator<any>;
|
|
15
|
+
accountDepositRuleForm: Requireable<any> & Validator<any>;
|
|
14
16
|
accountOrdersExportRequest: Requireable<any> & Validator<any>;
|
|
15
17
|
accountPutForm: Requireable<any> & Validator<any>;
|
|
16
18
|
accountReference: Requireable<any> & Validator<any>;
|
|
@@ -77,6 +79,7 @@ declare const defaultExport: {
|
|
|
77
79
|
blacklistedItemCreated: Requireable<any> & Validator<any>;
|
|
78
80
|
blacklistedItemDeleted: Requireable<any> & Validator<any>;
|
|
79
81
|
blacklistedItemUpdated: Requireable<any> & Validator<any>;
|
|
82
|
+
booleanFeatureDefaultValue: Requireable<any> & Validator<any>;
|
|
80
83
|
booleanFeatureRule: Requireable<any> & Validator<any>;
|
|
81
84
|
booleanFeatureRuleForm: Requireable<any> & Validator<any>;
|
|
82
85
|
booleanFeatureValue: Requireable<any> & Validator<any>;
|
|
@@ -89,6 +92,7 @@ declare const defaultExport: {
|
|
|
89
92
|
carrierLabelGenerationMethod: Requireable<any> & Validator<any>;
|
|
90
93
|
catalogImportRequest: Requireable<any> & Validator<any>;
|
|
91
94
|
catalogImportType: Requireable<any> & Validator<any>;
|
|
95
|
+
catalogItemBatchIndexTask: Requireable<any> & Validator<any>;
|
|
92
96
|
catalogItemDeleteIndexTask: Requireable<any> & Validator<any>;
|
|
93
97
|
catalogItemIndexTask: Requireable<any> & Validator<any>;
|
|
94
98
|
catalogItemRegionAvailabilities: Requireable<any> & Validator<any>;
|
|
@@ -98,12 +102,22 @@ declare const defaultExport: {
|
|
|
98
102
|
changeSettingsIndexTask: Requireable<any> & Validator<any>;
|
|
99
103
|
checkbox: Requireable<any> & Validator<any>;
|
|
100
104
|
checkout: Requireable<any> & Validator<any>;
|
|
105
|
+
checkoutBehavior: Requireable<any> & Validator<any>;
|
|
106
|
+
checkoutBehaviorCustomerInfo: Requireable<any> & Validator<any>;
|
|
107
|
+
checkoutBehaviorCustomerInfoEmail: Requireable<any> & Validator<any>;
|
|
108
|
+
checkoutBehaviorShippingAddress: Requireable<any> & Validator<any>;
|
|
109
|
+
checkoutBehaviorShippingMethod: Requireable<any> & Validator<any>;
|
|
101
110
|
checkoutBundle: Requireable<any> & Validator<any>;
|
|
111
|
+
checkoutConfiguration: Requireable<any> & Validator<any>;
|
|
112
|
+
checkoutConfigurationReference: Requireable<any> & Validator<any>;
|
|
102
113
|
checkoutContent: Requireable<any> & Validator<any>;
|
|
103
114
|
checkoutFinalizeOrderForm: Requireable<any> & Validator<any>;
|
|
104
115
|
checkoutMarketingContent: Requireable<any> & Validator<any>;
|
|
105
116
|
checkoutMetadata: Requireable<any> & Validator<any>;
|
|
106
117
|
checkoutPaymentContent: Requireable<any> & Validator<any>;
|
|
118
|
+
checkoutPromptBehavior: Requireable<any> & Validator<any>;
|
|
119
|
+
checkoutSettings: Requireable<any> & Validator<any>;
|
|
120
|
+
checkoutShippingMethodPromptBehavior: Requireable<any> & Validator<any>;
|
|
107
121
|
checkoutSubmitOrderBundle: Requireable<any> & Validator<any>;
|
|
108
122
|
checkoutSubmitOrderBundles: Requireable<any> & Validator<any>;
|
|
109
123
|
checkoutSubmitOrderForm: Requireable<any> & Validator<any>;
|
|
@@ -121,6 +135,7 @@ declare const defaultExport: {
|
|
|
121
135
|
classificationProductSummaryPage: Requireable<any> & Validator<any>;
|
|
122
136
|
classifiedProduct: Requireable<any> & Validator<any>;
|
|
123
137
|
completePriceRule: Requireable<any> & Validator<any>;
|
|
138
|
+
components: Requireable<any> & Validator<any>;
|
|
124
139
|
consumerOptinActivity: Requireable<any> & Validator<any>;
|
|
125
140
|
contentElementType: Requireable<any> & Validator<any>;
|
|
126
141
|
contentItem: Requireable<any> & Validator<any>;
|
|
@@ -131,7 +146,6 @@ declare const defaultExport: {
|
|
|
131
146
|
contentStatus: Requireable<any> & Validator<any>;
|
|
132
147
|
contentType: Requireable<any> & Validator<any>;
|
|
133
148
|
contentTypeCast: Requireable<any> & Validator<any>;
|
|
134
|
-
crossdockRatecardFee: Requireable<any> & Validator<any>;
|
|
135
149
|
crossdockTrackingStatus: Requireable<any> & Validator<any>;
|
|
136
150
|
customsDescriptionImport: Requireable<any> & Validator<any>;
|
|
137
151
|
customsDescriptionSugestion: Requireable<any> & Validator<any>;
|
|
@@ -141,7 +155,6 @@ declare const defaultExport: {
|
|
|
141
155
|
customsDescriptionTariffCodeDutyForm: Requireable<any> & Validator<any>;
|
|
142
156
|
customsDescriptionTariffsImport: Requireable<any> & Validator<any>;
|
|
143
157
|
dailyExperimentEngineResults: Requireable<any> & Validator<any>;
|
|
144
|
-
ddpRatecardFee: Requireable<any> & Validator<any>;
|
|
145
158
|
decision: Requireable<any> & Validator<any>;
|
|
146
159
|
deleteIndexTask: Requireable<any> & Validator<any>;
|
|
147
160
|
deliveredDutyOption: Requireable<any> & Validator<any>;
|
|
@@ -153,9 +166,6 @@ declare const defaultExport: {
|
|
|
153
166
|
dhl: Requireable<any> & Validator<any>;
|
|
154
167
|
dhlEcommerce: Requireable<any> & Validator<any>;
|
|
155
168
|
dict: Requireable<any> & Validator<any>;
|
|
156
|
-
dimensionEstimate: Requireable<any> & Validator<any>;
|
|
157
|
-
dimensionEstimateForm: Requireable<any> & Validator<any>;
|
|
158
|
-
dimensionEstimateVersion: Requireable<any> & Validator<any>;
|
|
159
169
|
discountCode: Requireable<any> & Validator<any>;
|
|
160
170
|
discountRequestForm: Requireable<any> & Validator<any>;
|
|
161
171
|
discountRequestOfferFixedAmountForm: Requireable<any> & Validator<any>;
|
|
@@ -184,7 +194,6 @@ declare const defaultExport: {
|
|
|
184
194
|
emailForm: Requireable<any> & Validator<any>;
|
|
185
195
|
emailModificationForm: Requireable<any> & Validator<any>;
|
|
186
196
|
encryption: Requireable<any> & Validator<any>;
|
|
187
|
-
estimatedDimensions: Requireable<any> & Validator<any>;
|
|
188
197
|
event: Requireable<any> & Validator<any>;
|
|
189
198
|
eventType: Requireable<any> & Validator<any>;
|
|
190
199
|
exclusionRule: Requireable<any> & Validator<any>;
|
|
@@ -193,6 +202,9 @@ declare const defaultExport: {
|
|
|
193
202
|
exclusionRuleStatistic: Requireable<any> & Validator<any>;
|
|
194
203
|
exclusionRuleVersion: Requireable<any> & Validator<any>;
|
|
195
204
|
expectedOrderSummary: Requireable<any> & Validator<any>;
|
|
205
|
+
experienceExportRequest: Requireable<any> & Validator<any>;
|
|
206
|
+
experienceImportRequest: Requireable<any> & Validator<any>;
|
|
207
|
+
experienceImportType: Requireable<any> & Validator<any>;
|
|
196
208
|
experienceOrderAction: Requireable<any> & Validator<any>;
|
|
197
209
|
experienceOrderActionRule: Requireable<any> & Validator<any>;
|
|
198
210
|
experienceOrderActionTrigger: Requireable<any> & Validator<any>;
|
|
@@ -215,6 +227,7 @@ declare const defaultExport: {
|
|
|
215
227
|
externalVariant: Requireable<any> & Validator<any>;
|
|
216
228
|
feature: Requireable<any> & Validator<any>;
|
|
217
229
|
featureContextForm: Requireable<any> & Validator<any>;
|
|
230
|
+
featureDefaultValue: Requireable<any> & Validator<any>;
|
|
218
231
|
featureForm: Requireable<any> & Validator<any>;
|
|
219
232
|
featureGeoForm: Requireable<any> & Validator<any>;
|
|
220
233
|
featureReference: Requireable<any> & Validator<any>;
|
|
@@ -262,8 +275,6 @@ declare const defaultExport: {
|
|
|
262
275
|
ftpSettingForm: Requireable<any> & Validator<any>;
|
|
263
276
|
ftpSettingVersion: Requireable<any> & Validator<any>;
|
|
264
277
|
ftpSettingsPaths: Requireable<any> & Validator<any>;
|
|
265
|
-
fuelSurchargeRatecardFee: Requireable<any> & Validator<any>;
|
|
266
|
-
fuelSurchargeServiceFee: Requireable<any> & Validator<any>;
|
|
267
278
|
fulfillmentActionForm: Requireable<any> & Validator<any>;
|
|
268
279
|
fulfillmentCancel: Requireable<any> & Validator<any>;
|
|
269
280
|
fulfillmentShipmentTracking: Requireable<any> & Validator<any>;
|
|
@@ -282,8 +293,6 @@ declare const defaultExport: {
|
|
|
282
293
|
harmonizeFullyRequest: Requireable<any> & Validator<any>;
|
|
283
294
|
harmonizeFullyWithRate: Requireable<any> & Validator<any>;
|
|
284
295
|
harmonizedItemsHs6Export: Requireable<any> & Validator<any>;
|
|
285
|
-
hop: Requireable<any> & Validator<any>;
|
|
286
|
-
hopEstimate: Requireable<any> & Validator<any>;
|
|
287
296
|
href: Requireable<any> & Validator<any>;
|
|
288
297
|
hs10PhraseHintForm: Requireable<any> & Validator<any>;
|
|
289
298
|
httpMethod: Requireable<any> & Validator<any>;
|
|
@@ -367,8 +376,6 @@ declare const defaultExport: {
|
|
|
367
376
|
labelSummary: Requireable<any> & Validator<any>;
|
|
368
377
|
labeledContent: Requireable<any> & Validator<any>;
|
|
369
378
|
landmark: Requireable<any> & Validator<any>;
|
|
370
|
-
laneDeleted: Requireable<any> & Validator<any>;
|
|
371
|
-
laneUpserted: Requireable<any> & Validator<any>;
|
|
372
379
|
lineActionForm: Requireable<any> & Validator<any>;
|
|
373
380
|
lineActionQuantities: Requireable<any> & Validator<any>;
|
|
374
381
|
load: Requireable<any> & Validator<any>;
|
|
@@ -467,6 +474,7 @@ declare const defaultExport: {
|
|
|
467
474
|
orderEventType: Requireable<any> & Validator<any>;
|
|
468
475
|
orderFulfillmentDeleted: Requireable<any> & Validator<any>;
|
|
469
476
|
orderFulfillmentUpserted: Requireable<any> & Validator<any>;
|
|
477
|
+
orderLifecycleEvent: Requireable<any> & Validator<any>;
|
|
470
478
|
orderPaymentAuthorization: Requireable<any> & Validator<any>;
|
|
471
479
|
orderPlaced: Requireable<any> & Validator<any>;
|
|
472
480
|
orderRatesDataV3: Requireable<any> & Validator<any>;
|
|
@@ -481,7 +489,6 @@ declare const defaultExport: {
|
|
|
481
489
|
organizationMembershipCopyForm: Requireable<any> & Validator<any>;
|
|
482
490
|
organizationSettings: Requireable<any> & Validator<any>;
|
|
483
491
|
organizationSettingsForm: Requireable<any> & Validator<any>;
|
|
484
|
-
oversizedShipmentRatecardFee: Requireable<any> & Validator<any>;
|
|
485
492
|
partner: Requireable<any> & Validator<any>;
|
|
486
493
|
partnerAuthorization: Requireable<any> & Validator<any>;
|
|
487
494
|
partnerAuthorizationForm: Requireable<any> & Validator<any>;
|
|
@@ -518,8 +525,6 @@ declare const defaultExport: {
|
|
|
518
525
|
paypalRefundUpserted: Requireable<any> & Validator<any>;
|
|
519
526
|
pendingBankPayment: Requireable<any> & Validator<any>;
|
|
520
527
|
pendingBankPaymentDetail: Requireable<any> & Validator<any>;
|
|
521
|
-
pendingBankPaymentTaxRemittanceDetail: Requireable<any> & Validator<any>;
|
|
522
|
-
pendingBankPaymentTransferDetail: Requireable<any> & Validator<any>;
|
|
523
528
|
percentageInstallmentStep: Requireable<any> & Validator<any>;
|
|
524
529
|
percentageInstallmentStepForm: Requireable<any> & Validator<any>;
|
|
525
530
|
phraseClassified: Requireable<any> & Validator<any>;
|
|
@@ -546,46 +551,17 @@ declare const defaultExport: {
|
|
|
546
551
|
rateSource: Requireable<any> & Validator<any>;
|
|
547
552
|
rateUpserted: Requireable<any> & Validator<any>;
|
|
548
553
|
rateUpsertedV2: Requireable<any> & Validator<any>;
|
|
549
|
-
ratecard: Requireable<any> & Validator<any>;
|
|
550
|
-
ratecardCarrierSummary: Requireable<any> & Validator<any>;
|
|
551
|
-
ratecardEstimate: Requireable<any> & Validator<any>;
|
|
552
|
-
ratecardEstimateForm: Requireable<any> & Validator<any>;
|
|
553
|
-
ratecardEstimateFormV1: Requireable<any> & Validator<any>;
|
|
554
|
-
ratecardEstimateFormV2: Requireable<any> & Validator<any>;
|
|
555
|
-
ratecardEstimateSummaryForm: Requireable<any> & Validator<any>;
|
|
556
|
-
ratecardEstimateV1: Requireable<any> & Validator<any>;
|
|
557
|
-
ratecardEstimateV2: Requireable<any> & Validator<any>;
|
|
558
|
-
ratecardFee: Requireable<any> & Validator<any>;
|
|
559
|
-
ratecardForm: Requireable<any> & Validator<any>;
|
|
560
|
-
ratecardLane: Requireable<any> & Validator<any>;
|
|
561
|
-
ratecardLaneDeleted: Requireable<any> & Validator<any>;
|
|
562
|
-
ratecardLaneForm: Requireable<any> & Validator<any>;
|
|
563
|
-
ratecardLaneUpserted: Requireable<any> & Validator<any>;
|
|
564
|
-
ratecardLaneVersion: Requireable<any> & Validator<any>;
|
|
565
|
-
ratecardPublished: Requireable<any> & Validator<any>;
|
|
566
|
-
ratecardRate: Requireable<any> & Validator<any>;
|
|
567
|
-
ratecardRateDeleted: Requireable<any> & Validator<any>;
|
|
568
|
-
ratecardRateForm: Requireable<any> & Validator<any>;
|
|
569
|
-
ratecardRateUpserted: Requireable<any> & Validator<any>;
|
|
570
|
-
ratecardRateVersion: Requireable<any> & Validator<any>;
|
|
571
|
-
ratecardReference: Requireable<any> & Validator<any>;
|
|
572
|
-
ratecardServiceSummary: Requireable<any> & Validator<any>;
|
|
573
|
-
ratecardUpserted: Requireable<any> & Validator<any>;
|
|
574
|
-
ratecardVersion: Requireable<any> & Validator<any>;
|
|
575
554
|
readyToFulfill: Requireable<any> & Validator<any>;
|
|
576
555
|
redactedSecret: Requireable<any> & Validator<any>;
|
|
577
556
|
redactedSecretConfig: Requireable<any> & Validator<any>;
|
|
578
557
|
redirect: Requireable<any> & Validator<any>;
|
|
579
558
|
redirectReason: Requireable<any> & Validator<any>;
|
|
580
|
-
remoteAreaRatecardFee: Requireable<any> & Validator<any>;
|
|
581
|
-
remoteAreaServiceFee: Requireable<any> & Validator<any>;
|
|
582
559
|
repeatDaily: Requireable<any> & Validator<any>;
|
|
583
560
|
repeatMonthly: Requireable<any> & Validator<any>;
|
|
584
561
|
repeatSchedule: Requireable<any> & Validator<any>;
|
|
585
562
|
repeatWeekly: Requireable<any> & Validator<any>;
|
|
586
563
|
reportInterval: Requireable<any> & Validator<any>;
|
|
587
564
|
responsibleParty: Requireable<any> & Validator<any>;
|
|
588
|
-
returnPackageRatecardFee: Requireable<any> & Validator<any>;
|
|
589
565
|
returnSummary: Requireable<any> & Validator<any>;
|
|
590
566
|
riskCheck: Requireable<any> & Validator<any>;
|
|
591
567
|
riskEvaluation: Requireable<any> & Validator<any>;
|
|
@@ -600,10 +576,8 @@ declare const defaultExport: {
|
|
|
600
576
|
serialReservationError: Requireable<any> & Validator<any>;
|
|
601
577
|
serialReservationForm: Requireable<any> & Validator<any>;
|
|
602
578
|
serialReservationItem: Requireable<any> & Validator<any>;
|
|
603
|
-
serviceFee: Requireable<any> & Validator<any>;
|
|
604
579
|
sessionReference: Requireable<any> & Validator<any>;
|
|
605
580
|
sfExpress: Requireable<any> & Validator<any>;
|
|
606
|
-
shipmentWindow: Requireable<any> & Validator<any>;
|
|
607
581
|
shippedItemValue: Requireable<any> & Validator<any>;
|
|
608
582
|
shop: Requireable<any> & Validator<any>;
|
|
609
583
|
shopForm: Requireable<any> & Validator<any>;
|
|
@@ -658,6 +632,7 @@ declare const defaultExport: {
|
|
|
658
632
|
status: Requireable<any> & Validator<any>;
|
|
659
633
|
storeConnection: Requireable<any> & Validator<any>;
|
|
660
634
|
storeConnectionForm: Requireable<any> & Validator<any>;
|
|
635
|
+
stringFeatureDefaultValue: Requireable<any> & Validator<any>;
|
|
661
636
|
stringFeatureRule: Requireable<any> & Validator<any>;
|
|
662
637
|
stringFeatureRuleForm: Requireable<any> & Validator<any>;
|
|
663
638
|
stringFeatureValue: Requireable<any> & Validator<any>;
|
|
@@ -677,8 +652,6 @@ declare const defaultExport: {
|
|
|
677
652
|
stripeReversalDeleted: Requireable<any> & Validator<any>;
|
|
678
653
|
stripeReversalUpserted: Requireable<any> & Validator<any>;
|
|
679
654
|
subcatalogItemCount: Requireable<any> & Validator<any>;
|
|
680
|
-
subcatalogItemDeleteIndexTask: Requireable<any> & Validator<any>;
|
|
681
|
-
subcatalogItemIndexTask: Requireable<any> & Validator<any>;
|
|
682
655
|
submittedOrderUpserted: Requireable<any> & Validator<any>;
|
|
683
656
|
subscription: Requireable<any> & Validator<any>;
|
|
684
657
|
subscriptionFrequency: Requireable<any> & Validator<any>;
|
|
@@ -709,7 +682,6 @@ declare const defaultExport: {
|
|
|
709
682
|
transactionSummary: Requireable<any> & Validator<any>;
|
|
710
683
|
transferMethod: Requireable<any> & Validator<any>;
|
|
711
684
|
transferTransaction: Requireable<any> & Validator<any>;
|
|
712
|
-
transferTransactionSource: Requireable<any> & Validator<any>;
|
|
713
685
|
tribe: Requireable<any> & Validator<any>;
|
|
714
686
|
unharmonizedItemsExport: Requireable<any> & Validator<any>;
|
|
715
687
|
unphrasedProductsExport: Requireable<any> & Validator<any>;
|
|
@@ -723,7 +695,6 @@ declare const defaultExport: {
|
|
|
723
695
|
viesResult: Requireable<any> & Validator<any>;
|
|
724
696
|
virtualCardTransaction: Requireable<any> & Validator<any>;
|
|
725
697
|
wholeOrderActionForm: Requireable<any> & Validator<any>;
|
|
726
|
-
withholdings: Requireable<any> & Validator<any>;
|
|
727
698
|
}
|
|
728
699
|
|
|
729
700
|
export default defaultExport;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import timezone from '../../../reference/v0/models/timezone';
|
|
3
3
|
import repeatSchedule from '../unions/repeatSchedule';
|
|
4
|
+
import accountDepositRule from './accountDepositRule';
|
|
4
5
|
import accountStatistics from './accountStatistics';
|
|
5
6
|
import nextBillingStatement from './nextBillingStatement';
|
|
6
7
|
|
|
@@ -11,6 +12,7 @@ export default PropTypes.shape({
|
|
|
11
12
|
timezone: timezone.isRequired,
|
|
12
13
|
payment_schedule: repeatSchedule.isRequired,
|
|
13
14
|
payment_conditions: PropTypes.string,
|
|
15
|
+
deposit_rule: accountDepositRule,
|
|
14
16
|
statistics: accountStatistics.isRequired,
|
|
15
17
|
next_statement: nextBillingStatement.isRequired,
|
|
16
18
|
created_at: PropTypes.string.isRequired,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import checkoutBehaviorShippingAddress from './checkoutBehaviorShippingAddress';
|
|
3
|
+
import checkoutBehaviorShippingMethod from './checkoutBehaviorShippingMethod';
|
|
4
|
+
import checkoutBehaviorCustomerInfo from './checkoutBehaviorCustomerInfo';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
shipping_address: checkoutBehaviorShippingAddress.isRequired,
|
|
8
|
+
shipping_method: checkoutBehaviorShippingMethod.isRequired,
|
|
9
|
+
customer_info: checkoutBehaviorCustomerInfo.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import checkoutBehavior from './checkoutBehavior';
|
|
3
|
+
import checkoutSettings from './checkoutSettings';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
behavior: checkoutBehavior.isRequired,
|
|
8
|
+
settings: checkoutSettings.isRequired,
|
|
9
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import name from './name';
|
|
3
3
|
import billingAddress from './billingAddress';
|
|
4
|
+
import customerInvoice from './customerInvoice';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
name: name.isRequired,
|
|
@@ -8,4 +9,5 @@ export default PropTypes.shape({
|
|
|
8
9
|
phone: PropTypes.string,
|
|
9
10
|
email: PropTypes.string,
|
|
10
11
|
address: billingAddress,
|
|
12
|
+
invoice: customerInvoice,
|
|
11
13
|
});
|
|
@@ -10,4 +10,5 @@ export default PropTypes.shape({
|
|
|
10
10
|
order_action_rules: PropTypes.arrayOf(experienceOrderActionRule).isRequired,
|
|
11
11
|
respect_item_margins_on_override: PropTypes.bool.isRequired,
|
|
12
12
|
respect_item_sales_margins_on_override: PropTypes.bool.isRequired,
|
|
13
|
+
respect_session_currency: PropTypes.bool.isRequired,
|
|
13
14
|
});
|
|
@@ -10,4 +10,5 @@ export default PropTypes.shape({
|
|
|
10
10
|
order_action_rules: PropTypes.arrayOf(experienceOrderActionRule),
|
|
11
11
|
respect_item_margins_on_override: PropTypes.bool.isRequired,
|
|
12
12
|
respect_item_sales_margins_on_override: PropTypes.bool.isRequired,
|
|
13
|
+
respect_session_currency: PropTypes.bool.isRequired,
|
|
13
14
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import experienceOverview from './experienceOverview';
|
|
3
|
+
import experienceConfigurationReference from './experienceConfigurationReference';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
experience: experienceOverview.isRequired,
|
|
8
|
+
checkout_configuration: experienceConfigurationReference.isRequired,
|
|
9
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import experienceReference from './experienceReference';
|
|
3
|
+
import experienceCloneStatus from '../enums/experienceCloneStatus';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
source_experience: experienceReference.isRequired,
|
|
8
|
+
cloned_experience: experienceReference,
|
|
9
|
+
status: experienceCloneStatus.isRequired,
|
|
10
|
+
});
|
|
@@ -2,9 +2,11 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import deliveredDutySetting from './deliveredDutySetting';
|
|
3
3
|
import pricingSettings from './pricingSettings';
|
|
4
4
|
import logisticsSettings from './logisticsSettings';
|
|
5
|
+
import checkoutSettings from './checkoutSettings';
|
|
5
6
|
|
|
6
7
|
export default PropTypes.shape({
|
|
7
8
|
delivered_duty: deliveredDutySetting.isRequired,
|
|
8
9
|
pricing_settings: pricingSettings,
|
|
9
10
|
logistics_settings: logisticsSettings,
|
|
11
|
+
checkout_settings: checkoutSettings,
|
|
10
12
|
});
|
|
@@ -3,6 +3,7 @@ import featureScope from '../enums/featureScope';
|
|
|
3
3
|
import featureStatus from '../enums/featureStatus';
|
|
4
4
|
import featureType from '../enums/featureType';
|
|
5
5
|
import featureRule from '../unions/featureRule';
|
|
6
|
+
import featureDefaultValue from '../unions/featureDefaultValue';
|
|
6
7
|
|
|
7
8
|
export default PropTypes.shape({
|
|
8
9
|
id: PropTypes.string.isRequired,
|
|
@@ -14,4 +15,5 @@ export default PropTypes.shape({
|
|
|
14
15
|
status: featureStatus.isRequired,
|
|
15
16
|
type: featureType.isRequired,
|
|
16
17
|
rules: PropTypes.arrayOf(featureRule).isRequired,
|
|
18
|
+
default: featureDefaultValue,
|
|
17
19
|
});
|
|
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import featureStatus from '../enums/featureStatus';
|
|
3
3
|
import featureType from '../enums/featureType';
|
|
4
4
|
import featureRuleForm from '../unions/featureRuleForm';
|
|
5
|
+
import featureDefaultValue from '../unions/featureDefaultValue';
|
|
5
6
|
|
|
6
7
|
export default PropTypes.shape({
|
|
7
8
|
name: PropTypes.string.isRequired,
|
|
@@ -9,4 +10,5 @@ export default PropTypes.shape({
|
|
|
9
10
|
status: featureStatus,
|
|
10
11
|
type: featureType.isRequired,
|
|
11
12
|
rules: PropTypes.arrayOf(featureRuleForm).isRequired,
|
|
13
|
+
default: featureDefaultValue,
|
|
12
14
|
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import booleanFeatureDefaultValue from '../models/booleanFeatureDefaultValue';
|
|
3
|
+
import stringFeatureDefaultValue from '../models/stringFeatureDefaultValue';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.oneOfType([
|
|
6
|
+
booleanFeatureDefaultValue,
|
|
7
|
+
stringFeatureDefaultValue,
|
|
8
|
+
]);
|
|
@@ -2,10 +2,12 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import contact from '../../../common/v0/models/contact';
|
|
3
3
|
import address from '../../../common/v0/models/address';
|
|
4
4
|
import centerReference from './centerReference';
|
|
5
|
+
import serviceSummary from './serviceSummary';
|
|
5
6
|
|
|
6
7
|
export default PropTypes.shape({
|
|
7
8
|
contact: contact.isRequired,
|
|
8
9
|
location: address.isRequired,
|
|
9
10
|
center_key: PropTypes.string,
|
|
10
11
|
center_reference: centerReference,
|
|
12
|
+
service: serviceSummary,
|
|
11
13
|
});
|