@flowio/api-internal-prop-types 1.2.24 → 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.
Files changed (271) hide show
  1. package/.apibuilder/.tracked_files +84 -77
  2. package/.apibuilder/config +6 -0
  3. package/.eslintcache +1 -0
  4. package/LICENSE +21 -0
  5. package/lib/index.d.ts +23 -51
  6. package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
  7. package/lib/io/flow/billing/v0/models/account.js +5 -0
  8. package/lib/io/flow/{internal/v0/models/ratecardCarrierSummary.js → billing/v0/models/accountDepositRule.js} +2 -2
  9. package/lib/io/flow/billing/v0/models/accountDepositRuleForm.js +16 -0
  10. package/lib/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
  11. package/lib/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +13 -0
  12. package/lib/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +13 -0
  13. package/lib/io/flow/checkout/configuration/v0/models/checkoutBehavior.js +29 -0
  14. package/lib/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfo.js +19 -0
  15. package/lib/io/flow/{internal/v0/models/hop.js → checkout/configuration/v0/models/checkoutBehaviorCustomerInfoEmail.js} +3 -4
  16. package/lib/io/flow/{internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js → checkout/configuration/v0/models/checkoutBehaviorShippingAddress.js} +3 -3
  17. package/lib/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingMethod.js +19 -0
  18. package/lib/io/flow/{internal/v0/models/ratecardVersion.js → checkout/configuration/v0/models/checkoutConfiguration.js} +6 -7
  19. package/lib/io/flow/checkout/configuration/v0/models/checkoutSettings.js +19 -0
  20. package/lib/io/flow/common/v0/models/customer.js +6 -1
  21. package/lib/io/flow/{internal/v0/models/remoteAreaRatecardFee.js → common/v0/models/customerInvoice.js} +3 -3
  22. package/lib/io/flow/common/v0/models/organization.js +2 -1
  23. package/lib/io/flow/experience/internal/v0/models/organizationSettings.js +2 -1
  24. package/lib/io/flow/experience/internal/v0/models/organizationSettingsForm.js +2 -1
  25. package/lib/io/flow/experience/v0/enums/experienceCloneStatus.js +13 -0
  26. package/lib/io/flow/experience/v0/models/checkoutSettings.js +19 -0
  27. package/lib/io/flow/experience/v0/models/experienceCheckoutSettings.js +25 -0
  28. package/lib/io/flow/experience/v0/models/experienceCheckoutSettingsForm.js +15 -0
  29. package/lib/io/flow/experience/v0/models/experienceClone.js +26 -0
  30. package/lib/io/flow/{internal/v0/models/returnPackageRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
  31. package/lib/io/flow/{internal/v0/models/ddpRatecardFee.js → experience/v0/models/experienceConfigurationReference.js} +1 -1
  32. package/lib/io/flow/{internal/v0/models/dimensionEstimateForm.js → experience/v0/models/experiencePriceBookMappingPutForm.js} +3 -5
  33. package/lib/io/flow/experience/v0/models/experienceSettings.js +11 -1
  34. package/lib/io/flow/experience/v0/models/logisticsSettings.js +19 -0
  35. package/lib/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +19 -0
  36. package/lib/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
  37. package/lib/io/flow/feature/v0/models/feature.js +6 -1
  38. package/lib/io/flow/feature/v0/models/featureForm.js +6 -1
  39. package/lib/io/flow/feature/v0/models/stringFeatureDefaultValue.js +15 -0
  40. package/lib/io/flow/feature/v0/unions/featureDefaultValue.js +21 -0
  41. package/lib/io/flow/fulfillment/v0/enums/laneStrategy.js +13 -0
  42. package/lib/io/flow/fulfillment/v0/models/countryAvailability.js +20 -0
  43. package/lib/io/flow/fulfillment/v0/models/countryShippingPricing.js +20 -0
  44. package/lib/io/flow/{internal/v0/models/crossdockRatecardFee.js → fulfillment/v0/models/itemShippingPricing.js} +4 -3
  45. package/lib/io/flow/fulfillment/v0/models/shippingAddress.js +6 -1
  46. package/lib/io/flow/fulfillment/v0/models/shippingConfigurationItemAvailability.js +3 -8
  47. package/lib/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +30 -0
  48. package/lib/io/flow/fulfillment/v0/models/shippingLane.js +6 -1
  49. package/lib/io/flow/fulfillment/v0/models/shippingLaneForm.js +6 -1
  50. package/lib/io/flow/{internal/v0/models/fuelSurchargeRatecardFee.js → harmonization/v0/models/avalaraTaxSetting.js} +3 -5
  51. package/lib/io/flow/harmonization/v0/unions/taxSetting.js +17 -0
  52. package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
  53. package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +13 -0
  54. package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +13 -0
  55. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  56. package/lib/io/flow/internal/v0/enums/{transferTransactionSource.js → experienceImportType.js} +1 -1
  57. package/lib/io/flow/internal/v0/enums/marketingGatewayAccountConnectionStatus.js +13 -0
  58. package/lib/io/flow/internal/v0/enums/orderLifecycleEvent.js +13 -0
  59. package/lib/io/flow/internal/v0/models/account.js +5 -0
  60. package/lib/io/flow/internal/v0/models/accountDepositRule.js +16 -0
  61. package/lib/io/flow/internal/v0/models/accountDepositRuleForm.js +16 -0
  62. package/lib/io/flow/internal/v0/models/accountPutForm.js +6 -1
  63. package/lib/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -5
  64. package/lib/io/flow/internal/v0/models/backfillForm.js +3 -1
  65. package/lib/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  66. package/lib/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +15 -0
  67. package/lib/io/flow/internal/v0/models/{ratecardRateForm.js → catalogItemBatchIndexTask.js} +2 -2
  68. package/lib/io/flow/internal/v0/models/checkoutBehavior.js +29 -0
  69. package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +19 -0
  70. package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +19 -0
  71. package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +19 -0
  72. package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +19 -0
  73. package/lib/io/flow/internal/v0/models/checkoutBundle.js +6 -1
  74. package/lib/io/flow/internal/v0/models/{ratecardServiceSummary.js → checkoutConfiguration.js} +8 -4
  75. package/lib/io/flow/internal/v0/models/checkoutConfigurationReference.js +15 -0
  76. package/lib/io/flow/internal/v0/models/{remoteAreaServiceFee.js → checkoutSettings.js} +3 -3
  77. package/lib/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
  78. package/lib/io/flow/internal/v0/models/{ratecardLaneDeleted.js → experienceExportRequest.js} +3 -1
  79. package/lib/io/flow/internal/v0/models/{ratecardLaneUpserted.js → experienceImportRequest.js} +6 -3
  80. package/lib/io/flow/internal/v0/models/feature.js +6 -1
  81. package/lib/io/flow/internal/v0/models/featureForm.js +6 -1
  82. package/lib/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +5 -1
  83. package/lib/io/flow/internal/v0/models/organizationSettings.js +2 -1
  84. package/lib/io/flow/internal/v0/models/organizationSettingsForm.js +2 -1
  85. package/lib/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
  86. package/lib/io/flow/internal/v0/models/processingTransaction.js +4 -3
  87. package/lib/io/flow/internal/v0/models/stringFeatureDefaultValue.js +15 -0
  88. package/lib/io/flow/internal/v0/models/transferTransaction.js +0 -5
  89. package/lib/io/flow/internal/v0/unions/event.js +9 -25
  90. package/lib/io/flow/internal/v0/unions/featureDefaultValue.js +21 -0
  91. package/lib/io/flow/internal/v0/unions/indexTaskType.js +5 -9
  92. package/lib/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +2 -1
  93. package/lib/io/flow/shopify/external/v0/models/shopifyFulfillment.js +2 -1
  94. package/lib/io/flow/shopify/external/v0/models/shopifyInventoryLevelResponseWrapper.js +19 -0
  95. package/lib/mocks.js +23 -51
  96. package/lib/validators.js +113 -253
  97. package/package.json +5 -4
  98. package/src/index.d.ts +23 -51
  99. package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +3 -0
  100. package/src/io/flow/billing/v0/models/account.js +2 -0
  101. package/src/io/flow/billing/v0/models/accountDepositRule.js +6 -0
  102. package/src/io/flow/billing/v0/models/accountDepositRuleForm.js +6 -0
  103. package/src/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
  104. package/src/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +3 -0
  105. package/src/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
  106. package/src/io/flow/checkout/configuration/v0/models/checkoutBehavior.js +10 -0
  107. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
  108. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
  109. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingAddress.js +6 -0
  110. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingMethod.js +6 -0
  111. package/src/io/flow/checkout/configuration/v0/models/checkoutConfiguration.js +9 -0
  112. package/src/io/flow/checkout/configuration/v0/models/checkoutSettings.js +6 -0
  113. package/src/io/flow/common/v0/models/customer.js +2 -0
  114. package/src/io/flow/common/v0/models/customerInvoice.js +6 -0
  115. package/src/io/flow/common/v0/models/organization.js +1 -0
  116. package/src/io/flow/experience/internal/v0/models/organizationSettings.js +1 -0
  117. package/src/io/flow/experience/internal/v0/models/organizationSettingsForm.js +1 -0
  118. package/src/io/flow/experience/v0/enums/experienceCloneStatus.js +3 -0
  119. package/src/io/flow/experience/v0/models/checkoutSettings.js +6 -0
  120. package/src/io/flow/experience/v0/models/experienceCheckoutSettings.js +9 -0
  121. package/src/io/flow/experience/v0/models/experienceCheckoutSettingsForm.js +5 -0
  122. package/src/io/flow/experience/v0/models/experienceClone.js +10 -0
  123. package/src/io/flow/{internal/v0/models/returnPackageRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
  124. package/src/io/flow/{internal/v0/models/ratecardCarrierSummary.js → experience/v0/models/experienceConfigurationReference.js} +0 -1
  125. package/src/io/flow/experience/v0/models/experiencePriceBookMappingPutForm.js +6 -0
  126. package/src/io/flow/experience/v0/models/experienceSettings.js +4 -0
  127. package/src/io/flow/experience/v0/models/logisticsSettings.js +6 -0
  128. package/src/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +6 -0
  129. package/src/io/flow/{internal/v0/models/ddpRatecardFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
  130. package/src/io/flow/feature/v0/models/feature.js +2 -0
  131. package/src/io/flow/feature/v0/models/featureForm.js +2 -0
  132. package/src/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/stringFeatureDefaultValue.js} +1 -1
  133. package/src/io/flow/feature/v0/unions/featureDefaultValue.js +8 -0
  134. package/src/io/flow/fulfillment/v0/enums/laneStrategy.js +3 -0
  135. package/src/io/flow/fulfillment/v0/models/countryAvailability.js +7 -0
  136. package/src/io/flow/fulfillment/v0/models/countryShippingPricing.js +7 -0
  137. package/src/io/flow/fulfillment/v0/models/itemShippingPricing.js +7 -0
  138. package/src/io/flow/fulfillment/v0/models/shippingAddress.js +2 -0
  139. package/src/io/flow/fulfillment/v0/models/shippingConfigurationItemAvailability.js +2 -4
  140. package/src/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +12 -0
  141. package/src/io/flow/fulfillment/v0/models/shippingLane.js +2 -0
  142. package/src/io/flow/fulfillment/v0/models/shippingLaneForm.js +2 -0
  143. package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +7 -0
  144. package/src/io/flow/harmonization/v0/unions/taxSetting.js +4 -0
  145. package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +3 -0
  146. package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +3 -0
  147. package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
  148. package/src/io/flow/internal/v0/enums/eventType.js +2 -6
  149. package/src/io/flow/internal/v0/enums/experienceImportType.js +3 -0
  150. package/src/io/flow/internal/v0/enums/marketingGatewayAccountConnectionStatus.js +8 -0
  151. package/src/io/flow/internal/v0/enums/orderLifecycleEvent.js +3 -0
  152. package/src/io/flow/internal/v0/models/account.js +2 -0
  153. package/src/io/flow/internal/v0/models/accountDepositRule.js +6 -0
  154. package/src/io/flow/internal/v0/models/accountDepositRuleForm.js +6 -0
  155. package/src/io/flow/internal/v0/models/accountPutForm.js +2 -0
  156. package/src/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -2
  157. package/src/io/flow/internal/v0/models/backfillForm.js +2 -0
  158. package/src/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  159. package/src/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +5 -0
  160. package/src/io/flow/internal/v0/models/catalogItemBatchIndexTask.js +6 -0
  161. package/src/io/flow/internal/v0/models/checkoutBehavior.js +10 -0
  162. package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
  163. package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
  164. package/src/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +6 -0
  165. package/src/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +6 -0
  166. package/src/io/flow/internal/v0/models/checkoutBundle.js +2 -0
  167. package/src/io/flow/internal/v0/models/checkoutConfiguration.js +9 -0
  168. package/src/io/flow/internal/v0/models/checkoutConfigurationReference.js +5 -0
  169. package/src/io/flow/internal/v0/models/checkoutSettings.js +6 -0
  170. package/src/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
  171. package/src/io/flow/internal/v0/models/{ratecardLaneDeleted.js → experienceExportRequest.js} +3 -1
  172. package/src/io/flow/internal/v0/models/experienceImportRequest.js +12 -0
  173. package/src/io/flow/internal/v0/models/feature.js +2 -0
  174. package/src/io/flow/internal/v0/models/featureForm.js +2 -0
  175. package/src/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +2 -1
  176. package/src/io/flow/internal/v0/models/organizationSettings.js +1 -0
  177. package/src/io/flow/internal/v0/models/organizationSettingsForm.js +1 -0
  178. package/src/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
  179. package/src/io/flow/internal/v0/models/processingTransaction.js +3 -2
  180. package/src/io/flow/internal/v0/models/stringFeatureDefaultValue.js +5 -0
  181. package/src/io/flow/internal/v0/models/transferTransaction.js +0 -2
  182. package/src/io/flow/internal/v0/unions/event.js +4 -12
  183. package/src/io/flow/internal/v0/unions/featureDefaultValue.js +8 -0
  184. package/src/io/flow/internal/v0/unions/indexTaskType.js +2 -4
  185. package/src/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +1 -0
  186. package/src/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
  187. package/src/io/flow/shopify/external/v0/models/shopifyInventoryLevelResponseWrapper.js +6 -0
  188. package/src/mocks.js +23 -51
  189. package/src/validators.js +46 -102
  190. package/lib/io/flow/fulfillment/v0/models/experienceCenter.js +0 -25
  191. package/lib/io/flow/internal/v0/models/dimensionEstimate.js +0 -22
  192. package/lib/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -26
  193. package/lib/io/flow/internal/v0/models/estimatedDimensions.js +0 -22
  194. package/lib/io/flow/internal/v0/models/hopEstimate.js +0 -38
  195. package/lib/io/flow/internal/v0/models/laneDeleted.js +0 -17
  196. package/lib/io/flow/internal/v0/models/laneUpserted.js +0 -28
  197. package/lib/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -22
  198. package/lib/io/flow/internal/v0/models/ratecard.js +0 -33
  199. package/lib/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -37
  200. package/lib/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -42
  201. package/lib/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -18
  202. package/lib/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -48
  203. package/lib/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -35
  204. package/lib/io/flow/internal/v0/models/ratecardForm.js +0 -27
  205. package/lib/io/flow/internal/v0/models/ratecardLane.js +0 -64
  206. package/lib/io/flow/internal/v0/models/ratecardLaneForm.js +0 -54
  207. package/lib/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -26
  208. package/lib/io/flow/internal/v0/models/ratecardPublished.js +0 -19
  209. package/lib/io/flow/internal/v0/models/ratecardRate.js +0 -17
  210. package/lib/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -17
  211. package/lib/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -32
  212. package/lib/io/flow/internal/v0/models/ratecardRateVersion.js +0 -26
  213. package/lib/io/flow/internal/v0/models/ratecardUpserted.js +0 -21
  214. package/lib/io/flow/internal/v0/models/shipmentWindow.js +0 -16
  215. package/lib/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -17
  216. package/lib/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -16
  217. package/lib/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -21
  218. package/lib/io/flow/internal/v0/unions/ratecardEstimate.js +0 -21
  219. package/lib/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -21
  220. package/lib/io/flow/internal/v0/unions/ratecardFee.js +0 -37
  221. package/lib/io/flow/internal/v0/unions/serviceFee.js +0 -21
  222. package/src/io/flow/fulfillment/v0/models/experienceCenter.js +0 -9
  223. package/src/io/flow/internal/v0/enums/transferTransactionSource.js +0 -3
  224. package/src/io/flow/internal/v0/models/crossdockRatecardFee.js +0 -6
  225. package/src/io/flow/internal/v0/models/dimensionEstimate.js +0 -9
  226. package/src/io/flow/internal/v0/models/dimensionEstimateForm.js +0 -8
  227. package/src/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -10
  228. package/src/io/flow/internal/v0/models/estimatedDimensions.js +0 -9
  229. package/src/io/flow/internal/v0/models/fuelSurchargeRatecardFee.js +0 -6
  230. package/src/io/flow/internal/v0/models/hop.js +0 -7
  231. package/src/io/flow/internal/v0/models/hopEstimate.js +0 -16
  232. package/src/io/flow/internal/v0/models/laneDeleted.js +0 -7
  233. package/src/io/flow/internal/v0/models/laneUpserted.js +0 -18
  234. package/src/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -9
  235. package/src/io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js +0 -6
  236. package/src/io/flow/internal/v0/models/ratecard.js +0 -14
  237. package/src/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -18
  238. package/src/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -20
  239. package/src/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -8
  240. package/src/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -20
  241. package/src/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -13
  242. package/src/io/flow/internal/v0/models/ratecardForm.js +0 -11
  243. package/src/io/flow/internal/v0/models/ratecardLane.js +0 -27
  244. package/src/io/flow/internal/v0/models/ratecardLaneForm.js +0 -23
  245. package/src/io/flow/internal/v0/models/ratecardLaneUpserted.js +0 -9
  246. package/src/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -10
  247. package/src/io/flow/internal/v0/models/ratecardPublished.js +0 -9
  248. package/src/io/flow/internal/v0/models/ratecardRate.js +0 -7
  249. package/src/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -7
  250. package/src/io/flow/internal/v0/models/ratecardRateForm.js +0 -6
  251. package/src/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -22
  252. package/src/io/flow/internal/v0/models/ratecardRateVersion.js +0 -10
  253. package/src/io/flow/internal/v0/models/ratecardServiceSummary.js +0 -8
  254. package/src/io/flow/internal/v0/models/ratecardUpserted.js +0 -11
  255. package/src/io/flow/internal/v0/models/ratecardVersion.js +0 -10
  256. package/src/io/flow/internal/v0/models/remoteAreaRatecardFee.js +0 -6
  257. package/src/io/flow/internal/v0/models/remoteAreaServiceFee.js +0 -6
  258. package/src/io/flow/internal/v0/models/shipmentWindow.js +0 -6
  259. package/src/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -7
  260. package/src/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -6
  261. package/src/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -8
  262. package/src/io/flow/internal/v0/unions/ratecardEstimate.js +0 -5
  263. package/src/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -8
  264. package/src/io/flow/internal/v0/unions/ratecardFee.js +0 -16
  265. package/src/io/flow/internal/v0/unions/serviceFee.js +0 -8
  266. /package/lib/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
  267. /package/lib/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
  268. /package/lib/io/flow/internal/v0/models/{pendingBankPaymentTransferDetail.js → pendingBankPaymentDetail.js} +0 -0
  269. /package/src/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
  270. /package/src/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
  271. /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.24",
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.0.0"
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.6.0",
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.5.97
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>;
@@ -400,6 +407,7 @@ declare const defaultExport: {
400
407
  marketingGatewayAccount: Requireable<any> & Validator<any>;
401
408
  marketingGatewayAccountConnection: Requireable<any> & Validator<any>;
402
409
  marketingGatewayAccountConnectionForm: Requireable<any> & Validator<any>;
410
+ marketingGatewayAccountConnectionStatus: Requireable<any> & Validator<any>;
403
411
  marketingGatewayAccountMarketLocalization: Requireable<any> & Validator<any>;
404
412
  marketingGatewayAccountMarketLocalizationError: Requireable<any> & Validator<any>;
405
413
  marketingGatewayAccountMarkets: Requireable<any> & Validator<any>;
@@ -466,6 +474,7 @@ declare const defaultExport: {
466
474
  orderEventType: Requireable<any> & Validator<any>;
467
475
  orderFulfillmentDeleted: Requireable<any> & Validator<any>;
468
476
  orderFulfillmentUpserted: Requireable<any> & Validator<any>;
477
+ orderLifecycleEvent: Requireable<any> & Validator<any>;
469
478
  orderPaymentAuthorization: Requireable<any> & Validator<any>;
470
479
  orderPlaced: Requireable<any> & Validator<any>;
471
480
  orderRatesDataV3: Requireable<any> & Validator<any>;
@@ -480,7 +489,6 @@ declare const defaultExport: {
480
489
  organizationMembershipCopyForm: Requireable<any> & Validator<any>;
481
490
  organizationSettings: Requireable<any> & Validator<any>;
482
491
  organizationSettingsForm: Requireable<any> & Validator<any>;
483
- oversizedShipmentRatecardFee: Requireable<any> & Validator<any>;
484
492
  partner: Requireable<any> & Validator<any>;
485
493
  partnerAuthorization: Requireable<any> & Validator<any>;
486
494
  partnerAuthorizationForm: Requireable<any> & Validator<any>;
@@ -517,8 +525,6 @@ declare const defaultExport: {
517
525
  paypalRefundUpserted: Requireable<any> & Validator<any>;
518
526
  pendingBankPayment: Requireable<any> & Validator<any>;
519
527
  pendingBankPaymentDetail: Requireable<any> & Validator<any>;
520
- pendingBankPaymentTaxRemittanceDetail: Requireable<any> & Validator<any>;
521
- pendingBankPaymentTransferDetail: Requireable<any> & Validator<any>;
522
528
  percentageInstallmentStep: Requireable<any> & Validator<any>;
523
529
  percentageInstallmentStepForm: Requireable<any> & Validator<any>;
524
530
  phraseClassified: Requireable<any> & Validator<any>;
@@ -545,46 +551,17 @@ declare const defaultExport: {
545
551
  rateSource: Requireable<any> & Validator<any>;
546
552
  rateUpserted: Requireable<any> & Validator<any>;
547
553
  rateUpsertedV2: Requireable<any> & Validator<any>;
548
- ratecard: Requireable<any> & Validator<any>;
549
- ratecardCarrierSummary: Requireable<any> & Validator<any>;
550
- ratecardEstimate: Requireable<any> & Validator<any>;
551
- ratecardEstimateForm: Requireable<any> & Validator<any>;
552
- ratecardEstimateFormV1: Requireable<any> & Validator<any>;
553
- ratecardEstimateFormV2: Requireable<any> & Validator<any>;
554
- ratecardEstimateSummaryForm: Requireable<any> & Validator<any>;
555
- ratecardEstimateV1: Requireable<any> & Validator<any>;
556
- ratecardEstimateV2: Requireable<any> & Validator<any>;
557
- ratecardFee: Requireable<any> & Validator<any>;
558
- ratecardForm: Requireable<any> & Validator<any>;
559
- ratecardLane: Requireable<any> & Validator<any>;
560
- ratecardLaneDeleted: Requireable<any> & Validator<any>;
561
- ratecardLaneForm: Requireable<any> & Validator<any>;
562
- ratecardLaneUpserted: Requireable<any> & Validator<any>;
563
- ratecardLaneVersion: Requireable<any> & Validator<any>;
564
- ratecardPublished: Requireable<any> & Validator<any>;
565
- ratecardRate: Requireable<any> & Validator<any>;
566
- ratecardRateDeleted: Requireable<any> & Validator<any>;
567
- ratecardRateForm: Requireable<any> & Validator<any>;
568
- ratecardRateUpserted: Requireable<any> & Validator<any>;
569
- ratecardRateVersion: Requireable<any> & Validator<any>;
570
- ratecardReference: Requireable<any> & Validator<any>;
571
- ratecardServiceSummary: Requireable<any> & Validator<any>;
572
- ratecardUpserted: Requireable<any> & Validator<any>;
573
- ratecardVersion: Requireable<any> & Validator<any>;
574
554
  readyToFulfill: Requireable<any> & Validator<any>;
575
555
  redactedSecret: Requireable<any> & Validator<any>;
576
556
  redactedSecretConfig: Requireable<any> & Validator<any>;
577
557
  redirect: Requireable<any> & Validator<any>;
578
558
  redirectReason: Requireable<any> & Validator<any>;
579
- remoteAreaRatecardFee: Requireable<any> & Validator<any>;
580
- remoteAreaServiceFee: Requireable<any> & Validator<any>;
581
559
  repeatDaily: Requireable<any> & Validator<any>;
582
560
  repeatMonthly: Requireable<any> & Validator<any>;
583
561
  repeatSchedule: Requireable<any> & Validator<any>;
584
562
  repeatWeekly: Requireable<any> & Validator<any>;
585
563
  reportInterval: Requireable<any> & Validator<any>;
586
564
  responsibleParty: Requireable<any> & Validator<any>;
587
- returnPackageRatecardFee: Requireable<any> & Validator<any>;
588
565
  returnSummary: Requireable<any> & Validator<any>;
589
566
  riskCheck: Requireable<any> & Validator<any>;
590
567
  riskEvaluation: Requireable<any> & Validator<any>;
@@ -599,10 +576,8 @@ declare const defaultExport: {
599
576
  serialReservationError: Requireable<any> & Validator<any>;
600
577
  serialReservationForm: Requireable<any> & Validator<any>;
601
578
  serialReservationItem: Requireable<any> & Validator<any>;
602
- serviceFee: Requireable<any> & Validator<any>;
603
579
  sessionReference: Requireable<any> & Validator<any>;
604
580
  sfExpress: Requireable<any> & Validator<any>;
605
- shipmentWindow: Requireable<any> & Validator<any>;
606
581
  shippedItemValue: Requireable<any> & Validator<any>;
607
582
  shop: Requireable<any> & Validator<any>;
608
583
  shopForm: Requireable<any> & Validator<any>;
@@ -657,6 +632,7 @@ declare const defaultExport: {
657
632
  status: Requireable<any> & Validator<any>;
658
633
  storeConnection: Requireable<any> & Validator<any>;
659
634
  storeConnectionForm: Requireable<any> & Validator<any>;
635
+ stringFeatureDefaultValue: Requireable<any> & Validator<any>;
660
636
  stringFeatureRule: Requireable<any> & Validator<any>;
661
637
  stringFeatureRuleForm: Requireable<any> & Validator<any>;
662
638
  stringFeatureValue: Requireable<any> & Validator<any>;
@@ -676,8 +652,6 @@ declare const defaultExport: {
676
652
  stripeReversalDeleted: Requireable<any> & Validator<any>;
677
653
  stripeReversalUpserted: Requireable<any> & Validator<any>;
678
654
  subcatalogItemCount: Requireable<any> & Validator<any>;
679
- subcatalogItemDeleteIndexTask: Requireable<any> & Validator<any>;
680
- subcatalogItemIndexTask: Requireable<any> & Validator<any>;
681
655
  submittedOrderUpserted: Requireable<any> & Validator<any>;
682
656
  subscription: Requireable<any> & Validator<any>;
683
657
  subscriptionFrequency: Requireable<any> & Validator<any>;
@@ -708,7 +682,6 @@ declare const defaultExport: {
708
682
  transactionSummary: Requireable<any> & Validator<any>;
709
683
  transferMethod: Requireable<any> & Validator<any>;
710
684
  transferTransaction: Requireable<any> & Validator<any>;
711
- transferTransactionSource: Requireable<any> & Validator<any>;
712
685
  tribe: Requireable<any> & Validator<any>;
713
686
  unharmonizedItemsExport: Requireable<any> & Validator<any>;
714
687
  unphrasedProductsExport: Requireable<any> & Validator<any>;
@@ -722,7 +695,6 @@ declare const defaultExport: {
722
695
  viesResult: Requireable<any> & Validator<any>;
723
696
  virtualCardTransaction: Requireable<any> & Validator<any>;
724
697
  wholeOrderActionForm: Requireable<any> & Validator<any>;
725
- withholdings: Requireable<any> & Validator<any>;
726
698
  }
727
699
 
728
700
  export default defaultExport;
@@ -4,6 +4,9 @@ export default PropTypes.oneOf([
4
4
  'invoice',
5
5
  'statement',
6
6
  'transactions',
7
+ 'virtual_card',
8
+ 'tax_remittance',
9
+ 'manual',
7
10
  'orders',
8
11
  'all',
9
12
  ]);
@@ -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,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ target: PropTypes.number.isRequired,
5
+ rate: PropTypes.number.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ target: PropTypes.number.isRequired,
5
+ rate: PropTypes.number.isRequired,
6
+ });
@@ -12,5 +12,6 @@ export default PropTypes.shape({
12
12
  refund: price.isRequired,
13
13
  virtual_card_capture: price.isRequired,
14
14
  virtual_card_refund: price.isRequired,
15
+ tax_remittance: price.isRequired,
15
16
  ending_balance: price.isRequired,
16
17
  });
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['always', 'never', 'incomplete']);
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['always', 'never', 'if_multiple']);
@@ -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,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import checkoutBehaviorCustomerInfoEmail from './checkoutBehaviorCustomerInfoEmail';
3
+
4
+ export default PropTypes.shape({
5
+ email: checkoutBehaviorCustomerInfoEmail.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import checkoutPromptBehavior from '../enums/checkoutPromptBehavior';
3
+
4
+ export default PropTypes.shape({
5
+ prompt: checkoutPromptBehavior.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import checkoutPromptBehavior from '../enums/checkoutPromptBehavior';
3
+
4
+ export default PropTypes.shape({
5
+ prompt: checkoutPromptBehavior.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import checkoutShippingMethodPromptBehavior from '../enums/checkoutShippingMethodPromptBehavior';
3
+
4
+ export default PropTypes.shape({
5
+ prompt: checkoutShippingMethodPromptBehavior.isRequired,
6
+ });
@@ -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
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import duration from '../../../../common/v0/models/duration';
3
+
4
+ export default PropTypes.shape({
5
+ session_persistence_timeout: duration,
6
+ });
@@ -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
  });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import billingAddress from './billingAddress';
3
+
4
+ export default PropTypes.shape({
5
+ address: billingAddress,
6
+ });
@@ -9,4 +9,5 @@ export default PropTypes.shape({
9
9
  environment: environment.isRequired,
10
10
  parent: organizationReference,
11
11
  defaults: organizationDefaults,
12
+ created_at: PropTypes.string,
12
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,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['pending', 'updating', 'completed', 'failed']);
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import experienceConfigurationReference from './experienceConfigurationReference';
3
+
4
+ export default PropTypes.shape({
5
+ configuration: experienceConfigurationReference.isRequired,
6
+ });
@@ -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,5 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ checkout_configuration_id: PropTypes.string.isRequired,
5
+ });
@@ -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
+ });
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- amount: PropTypes.number.isRequired,
4
+ name: PropTypes.string,
5
5
  });
@@ -2,5 +2,4 @@ import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
4
  id: PropTypes.string.isRequired,
5
- name: PropTypes.string.isRequired,
6
5
  });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import experiencePriceBookMappingForm from './experiencePriceBookMappingForm';
3
+
4
+ export default PropTypes.shape({
5
+ price_books: PropTypes.arrayOf(experiencePriceBookMappingForm).isRequired,
6
+ });
@@ -1,8 +1,12 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import deliveredDutySetting from './deliveredDutySetting';
3
3
  import pricingSettings from './pricingSettings';
4
+ import logisticsSettings from './logisticsSettings';
5
+ import checkoutSettings from './checkoutSettings';
4
6
 
5
7
  export default PropTypes.shape({
6
8
  delivered_duty: deliveredDutySetting.isRequired,
7
9
  pricing_settings: pricingSettings,
10
+ logistics_settings: logisticsSettings,
11
+ checkout_settings: checkoutSettings,
8
12
  });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import shippingConfigurationReference from '../../../fulfillment/v0/models/shippingConfigurationReference';
3
+
4
+ export default PropTypes.shape({
5
+ shipping_configuration: shippingConfigurationReference.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import billingAddress from '../../../common/v0/models/billingAddress';
3
+
4
+ export default PropTypes.shape({
5
+ address: billingAddress.isRequired,
6
+ });
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- amount: PropTypes.number.isRequired,
4
+ value: PropTypes.bool.isRequired,
5
5
  });
@@ -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
  });
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- percent: PropTypes.number.isRequired,
4
+ value: PropTypes.string.isRequired,
5
5
  });
@@ -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
+ ]);
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['oldest', 'fastest', 'lowest_cost']);
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ import itemAvailabilityStatus from '../enums/itemAvailabilityStatus';
3
+
4
+ export default PropTypes.shape({
5
+ status: itemAvailabilityStatus.isRequired,
6
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
7
+ });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ import itemShippingPricing from './itemShippingPricing';
3
+
4
+ export default PropTypes.shape({
5
+ pricing: itemShippingPricing.isRequired,
6
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
7
+ });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+ import price from '../../../common/v0/models/price';
3
+
4
+ export default PropTypes.shape({
5
+ min: price.isRequired,
6
+ max: price,
7
+ });