@flowio/api-internal-prop-types 1.2.25 → 1.2.27
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 +95 -76
- package/.apibuilder/config +6 -0
- package/lib/index.d.ts +27 -51
- package/lib/io/flow/adyen/v0/models/authorizeRequest.js +6 -1
- package/lib/io/flow/adyen/v0/models/authorizeRequest3D.js +18 -0
- package/lib/io/flow/adyen/v0/models/authorizeResponse.js +4 -1
- package/lib/io/flow/adyen/v0/models/browserInfo.js +16 -0
- 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/{internal/v0/enums/transferTransactionSource.js → checkout/configuration/v0/enums/checkoutPromptBehavior.js} +1 -1
- 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/enums/discountTarget.js +13 -0
- package/lib/io/flow/common/v0/models/customer.js +6 -1
- package/lib/io/flow/common/v0/models/customerForm.js +32 -0
- package/lib/io/flow/{internal/v0/models/remoteAreaServiceFee.js → common/v0/models/customerInvoice.js} +3 -3
- package/lib/io/flow/common/v0/models/discountForm.js +25 -0
- package/lib/io/flow/{internal/v0/models/remoteAreaRatecardFee.js → common/v0/models/discountOfferFixed.js} +2 -2
- package/lib/io/flow/common/v0/models/discountsForm.js +19 -0
- package/lib/io/flow/common/v0/models/lineItemForm.js +6 -1
- package/lib/io/flow/common/v0/models/organization.js +2 -1
- package/lib/io/flow/common/v0/unions/discountOffer.js +21 -0
- 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/localizedLineItem.js +1 -0
- package/lib/io/flow/experience/v0/models/localizedLineItemDiscount.js +2 -1
- package/lib/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +19 -0
- package/lib/io/flow/experience/v0/models/orderForm.js +8 -3
- package/lib/io/flow/experience/v0/models/orderPutForm.js +8 -3
- package/lib/io/flow/feature/v0/models/booleanFeatureDefaultValue.js +15 -0
- 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/fuelSurchargeRatecardFee.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/experienceImportType.js +13 -0
- 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/{ratecardLaneDeleted.js → allItemsExport.js} +1 -1
- package/lib/io/flow/internal/v0/models/backfillForm.js +3 -1
- package/lib/io/flow/internal/v0/models/billingOrderDestination.js +18 -0
- package/lib/io/flow/internal/v0/models/billingOrderSummary.js +6 -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/catalogItemBatchIndexTask.js +16 -0
- 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/{ratecardUpserted.js → checkoutConfigurationDeleted.js} +5 -4
- package/lib/io/flow/internal/v0/models/checkoutConfigurationReference.js +15 -0
- package/lib/io/flow/internal/v0/models/checkoutConfigurationUpserted.js +22 -0
- package/lib/io/flow/internal/v0/models/checkoutSettings.js +19 -0
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
- package/lib/io/flow/internal/v0/models/{ratecardLaneUpserted.js → dutiedItemsExport.js} +4 -5
- package/lib/io/flow/internal/v0/models/{ratecardPublished.js → experienceExportRequest.js} +3 -2
- package/lib/io/flow/internal/v0/models/experienceImportRequest.js +25 -0
- 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 +25 -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/priceRule.js +11 -0
- package/lib/io/flow/{internal/v0/models/ratecardRateForm.js → shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js} +2 -2
- package/lib/io/flow/shopify/external/v0/models/shopifyFulfillment.js +2 -1
- package/lib/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
- package/lib/mocks.js +27 -51
- package/lib/validators.js +133 -253
- package/package.json +3 -3
- package/src/index.d.ts +27 -51
- package/src/io/flow/adyen/v0/models/authorizeRequest.js +2 -0
- package/src/io/flow/adyen/v0/models/authorizeRequest3D.js +8 -0
- package/src/io/flow/adyen/v0/models/authorizeResponse.js +3 -0
- package/src/io/flow/adyen/v0/models/browserInfo.js +6 -0
- 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/enums/discountTarget.js +3 -0
- package/src/io/flow/common/v0/models/customer.js +2 -0
- package/src/io/flow/common/v0/models/customerForm.js +13 -0
- package/src/io/flow/common/v0/models/customerInvoice.js +6 -0
- package/src/io/flow/common/v0/models/discountForm.js +9 -0
- package/src/io/flow/common/v0/models/discountOfferFixed.js +6 -0
- package/src/io/flow/common/v0/models/discountsForm.js +6 -0
- package/src/io/flow/common/v0/models/lineItemForm.js +2 -0
- package/src/io/flow/common/v0/models/organization.js +1 -0
- package/src/io/flow/common/v0/unions/discountOffer.js +5 -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/localizedLineItem.js +1 -0
- package/src/io/flow/experience/v0/models/localizedLineItemDiscount.js +1 -0
- package/src/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +6 -0
- package/src/io/flow/experience/v0/models/orderForm.js +4 -2
- package/src/io/flow/experience/v0/models/orderPutForm.js +4 -2
- 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/feature/v0/models/stringFeatureDefaultValue.js +5 -0
- 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 +6 -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/{ratecardLaneDeleted.js → allItemsExport.js} +1 -1
- package/src/io/flow/internal/v0/models/backfillForm.js +2 -0
- package/src/io/flow/internal/v0/models/billingOrderDestination.js +8 -0
- package/src/io/flow/internal/v0/models/billingOrderSummary.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/{ratecardLaneUpserted.js → checkoutConfigurationDeleted.js} +2 -2
- package/src/io/flow/internal/v0/models/checkoutConfigurationReference.js +5 -0
- package/src/io/flow/internal/v0/models/{ratecardUpserted.js → checkoutConfigurationUpserted.js} +2 -4
- 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/dutiedItemsExport.js +11 -0
- 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 +12 -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/priceRule.js +8 -0
- package/src/io/flow/shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js +6 -0
- package/src/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
- package/src/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
- package/src/mocks.js +27 -51
- package/src/validators.js +54 -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/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/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/ratecardLaneForm.js +0 -23
- 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/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/fuelSurchargeServiceFee.js → common/v0/models/discountOfferPercent.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/fuelSurchargeServiceFee.js → common/v0/models/discountOfferPercent.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
|
@@ -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
|
});
|
|
@@ -11,6 +11,7 @@ export default PropTypes.shape({
|
|
|
11
11
|
center: PropTypes.string,
|
|
12
12
|
price: money,
|
|
13
13
|
discount: localizedLineItemDiscount,
|
|
14
|
+
discounts: PropTypes.arrayOf(localizedLineItemDiscount),
|
|
14
15
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
15
16
|
local: local.isRequired,
|
|
16
17
|
shipment_estimate: datetimeRange,
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import customerForm from '../../../common/v0/models/customerForm';
|
|
3
3
|
import lineItemForm from '../../../common/v0/models/lineItemForm';
|
|
4
4
|
import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
|
|
5
5
|
import orderAddress from './orderAddress';
|
|
6
6
|
import money from '../../../common/v0/models/money';
|
|
7
|
+
import discountsForm from '../../../common/v0/models/discountsForm';
|
|
7
8
|
|
|
8
9
|
export default PropTypes.shape({
|
|
9
|
-
customer:
|
|
10
|
+
customer: customerForm,
|
|
10
11
|
items: PropTypes.arrayOf(lineItemForm).isRequired,
|
|
11
12
|
delivered_duty: deliveredDuty,
|
|
12
13
|
number: PropTypes.string,
|
|
13
14
|
destination: orderAddress,
|
|
14
15
|
discount: money,
|
|
16
|
+
discounts: discountsForm,
|
|
15
17
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
16
18
|
authorization_keys: PropTypes.arrayOf(PropTypes.string),
|
|
17
19
|
});
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import lineItemForm from '../../../common/v0/models/lineItemForm';
|
|
3
|
-
import
|
|
3
|
+
import customerForm from '../../../common/v0/models/customerForm';
|
|
4
4
|
import deliveredDuty from '../../../common/v0/enums/deliveredDuty';
|
|
5
5
|
import orderAddress from './orderAddress';
|
|
6
6
|
import money from '../../../common/v0/models/money';
|
|
7
|
+
import discountsForm from '../../../common/v0/models/discountsForm';
|
|
7
8
|
|
|
8
9
|
export default PropTypes.shape({
|
|
9
10
|
items: PropTypes.arrayOf(lineItemForm).isRequired,
|
|
10
|
-
customer:
|
|
11
|
+
customer: customerForm,
|
|
11
12
|
delivered_duty: deliveredDuty,
|
|
12
13
|
selections: PropTypes.arrayOf(PropTypes.string),
|
|
13
14
|
destination: orderAddress,
|
|
14
15
|
discount: money,
|
|
16
|
+
discounts: discountsForm,
|
|
15
17
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
16
18
|
authorization_keys: PropTypes.arrayOf(PropTypes.string),
|
|
17
19
|
});
|
|
@@ -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
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import itemReference from '../../../common/v0/models/itemReference';
|
|
3
|
+
import shippingConfigurationSummary from './shippingConfigurationSummary';
|
|
4
|
+
import countryShippingPricing from './countryShippingPricing';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
id: PropTypes.string.isRequired,
|
|
8
|
+
item: itemReference.isRequired,
|
|
9
|
+
shipping_configuration: shippingConfigurationSummary.isRequired,
|
|
10
|
+
country_shipping_pricings: PropTypes.arrayOf(countryShippingPricing)
|
|
11
|
+
.isRequired,
|
|
12
|
+
});
|
|
@@ -3,6 +3,7 @@ import shippingConfigurationReference from './shippingConfigurationReference';
|
|
|
3
3
|
import expandableCenter from '../unions/expandableCenter';
|
|
4
4
|
import tier from './tier';
|
|
5
5
|
import query from '../../../query/builder/v0/models/query';
|
|
6
|
+
import laneStrategy from '../enums/laneStrategy';
|
|
6
7
|
|
|
7
8
|
export default PropTypes.shape({
|
|
8
9
|
id: PropTypes.string.isRequired,
|
|
@@ -11,4 +12,5 @@ export default PropTypes.shape({
|
|
|
11
12
|
centers: PropTypes.arrayOf(expandableCenter).isRequired,
|
|
12
13
|
tiers: PropTypes.arrayOf(tier).isRequired,
|
|
13
14
|
query: query.isRequired,
|
|
15
|
+
strategy: laneStrategy.isRequired,
|
|
14
16
|
});
|
|
@@ -14,6 +14,8 @@ export default PropTypes.oneOf([
|
|
|
14
14
|
'carrier_account_upserted',
|
|
15
15
|
'catalog_import_request',
|
|
16
16
|
'catalog_item_region_availabilities_published',
|
|
17
|
+
'checkout_configuration_upserted',
|
|
18
|
+
'checkout_configuration_deleted',
|
|
17
19
|
'localized_content_upserted',
|
|
18
20
|
'localization_upserted',
|
|
19
21
|
'rate_deleted',
|
|
@@ -37,6 +39,8 @@ export default PropTypes.oneOf([
|
|
|
37
39
|
'item_sales_margin_upserted',
|
|
38
40
|
'order_attribute_deleted',
|
|
39
41
|
'order_attribute_upserted',
|
|
42
|
+
'experience_export_request',
|
|
43
|
+
'experience_import_request',
|
|
40
44
|
'submitted_order_upserted',
|
|
41
45
|
'experiment_upserted',
|
|
42
46
|
'experiment_deleted',
|
|
@@ -54,8 +58,10 @@ export default PropTypes.oneOf([
|
|
|
54
58
|
'blacklisted_item_created',
|
|
55
59
|
'blacklisted_item_updated',
|
|
56
60
|
'blacklisted_item_deleted',
|
|
61
|
+
'all_items_export',
|
|
57
62
|
'harmonized_items_hs6_export',
|
|
58
63
|
'unharmonized_items_export',
|
|
64
|
+
'dutied_items_export',
|
|
59
65
|
'harmonization_phrase_suggestion_request_import',
|
|
60
66
|
'harmonization_codes_import',
|
|
61
67
|
'customs_description_sugestion_created',
|
|
@@ -99,12 +105,6 @@ export default PropTypes.oneOf([
|
|
|
99
105
|
'paypal_refund_deleted',
|
|
100
106
|
'paypal_refund_upserted',
|
|
101
107
|
'order_rates_published_v3',
|
|
102
|
-
'lane_upserted',
|
|
103
|
-
'lane_deleted',
|
|
104
|
-
'ratecard_rate_upserted',
|
|
105
|
-
'ratecard_rate_deleted',
|
|
106
|
-
'ratecard_lane_upserted',
|
|
107
|
-
'ratecard_lane_deleted',
|
|
108
108
|
'shopify_shop_upserted',
|
|
109
109
|
'shopify_shop_deleted',
|
|
110
110
|
'shopify_experience_short_id_upserted',
|
|
@@ -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,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import repeatSchedule from '../../../billing/v0/unions/repeatSchedule';
|
|
3
|
+
import accountDepositRuleForm from '../../../billing/v0/models/accountDepositRuleForm';
|
|
3
4
|
|
|
4
5
|
export default PropTypes.shape({
|
|
5
6
|
timezone: PropTypes.string.isRequired,
|
|
6
7
|
payment_schedule: repeatSchedule.isRequired,
|
|
7
8
|
payment_conditions: PropTypes.string.isRequired,
|
|
9
|
+
deposit_rule: accountDepositRuleForm,
|
|
8
10
|
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import billingTransactionType from '../../../billing/v0/enums/billingTransactionType';
|
|
3
2
|
import billingTransactionStatus from '../../../billing/v0/enums/billingTransactionStatus';
|
|
4
3
|
|
|
5
4
|
export default PropTypes.shape({
|
|
@@ -9,7 +8,6 @@ export default PropTypes.shape({
|
|
|
9
8
|
export_id: PropTypes.string.isRequired,
|
|
10
9
|
account_id: PropTypes.string,
|
|
11
10
|
statement_id: PropTypes.string,
|
|
12
|
-
type: billingTransactionType,
|
|
13
11
|
status: billingTransactionStatus,
|
|
14
12
|
posted_from: PropTypes.string,
|
|
15
13
|
posted_to: PropTypes.string,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import billingOrderDestination from './billingOrderDestination';
|
|
2
3
|
|
|
3
4
|
export default PropTypes.shape({
|
|
4
5
|
number: PropTypes.string.isRequired,
|
|
5
6
|
submitted_at: PropTypes.string.isRequired,
|
|
6
7
|
primary_identifier: PropTypes.string,
|
|
8
|
+
destination: billingOrderDestination,
|
|
7
9
|
});
|
|
@@ -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
|
+
});
|
|
@@ -8,6 +8,7 @@ import featureValueResult from '../../../feature/v0/models/featureValueResult';
|
|
|
8
8
|
import province from '../../../reference/v0/models/province';
|
|
9
9
|
import checkoutItemContent from '../../../experience/v0/models/checkoutItemContent';
|
|
10
10
|
import checkoutMetadata from '../../../checkout/internal/v0/models/checkoutMetadata';
|
|
11
|
+
import checkoutConfiguration from '../../../checkout/configuration/v0/models/checkoutConfiguration';
|
|
11
12
|
|
|
12
13
|
export default PropTypes.shape({
|
|
13
14
|
cart: shopifyCart,
|
|
@@ -19,4 +20,5 @@ export default PropTypes.shape({
|
|
|
19
20
|
provinces: PropTypes.arrayOf(province).isRequired,
|
|
20
21
|
checkout_items: PropTypes.arrayOf(checkoutItemContent).isRequired,
|
|
21
22
|
metadata: checkoutMetadata,
|
|
23
|
+
configuration: checkoutConfiguration,
|
|
22
24
|
});
|
|
@@ -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
|
+
});
|
package/src/io/flow/internal/v0/models/{ratecardLaneUpserted.js → checkoutConfigurationDeleted.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import
|
|
2
|
+
import checkoutConfiguration from '../../../checkout/configuration/v0/models/checkoutConfiguration';
|
|
3
3
|
|
|
4
4
|
export default PropTypes.shape({
|
|
5
5
|
event_id: PropTypes.string.isRequired,
|
|
6
6
|
timestamp: PropTypes.string.isRequired,
|
|
7
7
|
organization: PropTypes.string.isRequired,
|
|
8
|
-
|
|
8
|
+
checkout_configuration: checkoutConfiguration.isRequired,
|
|
9
9
|
});
|
package/src/io/flow/internal/v0/models/{ratecardUpserted.js → checkoutConfigurationUpserted.js}
RENAMED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import checkoutConfiguration from '../../../checkout/configuration/v0/models/checkoutConfiguration';
|
|
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
|
-
origination_zones: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
9
|
-
service_id: PropTypes.string.isRequired,
|
|
10
|
-
effective_at: PropTypes.string.isRequired,
|
|
8
|
+
checkout_configuration: checkoutConfiguration.isRequired,
|
|
11
9
|
});
|
|
@@ -4,6 +4,6 @@ import expectedOrderSummary from './expectedOrderSummary';
|
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
6
|
authorization_form: authorizationForm.isRequired,
|
|
7
|
-
|
|
7
|
+
installment_program_id: PropTypes.string,
|
|
8
8
|
expected_order_summary: expectedOrderSummary,
|
|
9
9
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
event_id: PropTypes.string.isRequired,
|
|
5
|
+
timestamp: PropTypes.string.isRequired,
|
|
6
|
+
organization: PropTypes.string.isRequired,
|
|
7
|
+
export_id: PropTypes.string.isRequired,
|
|
8
|
+
origin: PropTypes.string,
|
|
9
|
+
destination: PropTypes.string.isRequired,
|
|
10
|
+
item_numbers: PropTypes.arrayOf(PropTypes.string),
|
|
11
|
+
});
|
|
@@ -4,6 +4,7 @@ export default PropTypes.shape({
|
|
|
4
4
|
event_id: PropTypes.string.isRequired,
|
|
5
5
|
timestamp: PropTypes.string.isRequired,
|
|
6
6
|
organization: PropTypes.string.isRequired,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
ids: PropTypes.arrayOf(PropTypes.string),
|
|
8
|
+
keys: PropTypes.arrayOf(PropTypes.string),
|
|
9
|
+
export_id: PropTypes.string.isRequired,
|
|
9
10
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import experienceImportType from '../enums/experienceImportType';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
organization: PropTypes.string.isRequired,
|
|
8
|
+
import_id: PropTypes.string.isRequired,
|
|
9
|
+
type: experienceImportType.isRequired,
|
|
10
|
+
source_url: PropTypes.string.isRequired,
|
|
11
|
+
filename: PropTypes.string,
|
|
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
|
});
|
|
@@ -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
|
});
|