@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.
Files changed (257) hide show
  1. package/.apibuilder/.tracked_files +80 -76
  2. package/.apibuilder/config +6 -0
  3. package/.eslintcache +1 -0
  4. package/LICENSE +21 -0
  5. package/lib/index.d.ts +22 -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/ddpRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
  31. package/lib/io/flow/{internal/v0/models/returnPackageRatecardFee.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 +6 -1
  34. package/lib/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +19 -0
  35. package/lib/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
  36. package/lib/io/flow/feature/v0/models/feature.js +6 -1
  37. package/lib/io/flow/feature/v0/models/featureForm.js +6 -1
  38. package/lib/io/flow/feature/v0/models/stringFeatureDefaultValue.js +15 -0
  39. package/lib/io/flow/feature/v0/unions/featureDefaultValue.js +21 -0
  40. package/lib/io/flow/fulfillment/v0/enums/laneStrategy.js +13 -0
  41. package/lib/io/flow/fulfillment/v0/models/countryShippingPricing.js +20 -0
  42. package/lib/io/flow/{internal/v0/models/remoteAreaServiceFee.js → fulfillment/v0/models/itemShippingPricing.js} +4 -3
  43. package/lib/io/flow/fulfillment/v0/models/shippingAddress.js +6 -1
  44. package/lib/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +30 -0
  45. package/lib/io/flow/fulfillment/v0/models/shippingLane.js +6 -1
  46. package/lib/io/flow/fulfillment/v0/models/shippingLaneForm.js +6 -1
  47. package/lib/io/flow/{internal/v0/models/crossdockRatecardFee.js → harmonization/v0/models/avalaraTaxSetting.js} +3 -5
  48. package/lib/io/flow/harmonization/v0/unions/taxSetting.js +17 -0
  49. package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
  50. package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +13 -0
  51. package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +13 -0
  52. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  53. package/lib/io/flow/internal/v0/enums/{transferTransactionSource.js → experienceImportType.js} +1 -1
  54. package/lib/io/flow/internal/v0/enums/orderLifecycleEvent.js +13 -0
  55. package/lib/io/flow/internal/v0/models/account.js +5 -0
  56. package/lib/io/flow/internal/v0/models/accountDepositRule.js +16 -0
  57. package/lib/io/flow/internal/v0/models/accountDepositRuleForm.js +16 -0
  58. package/lib/io/flow/internal/v0/models/accountPutForm.js +6 -1
  59. package/lib/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -5
  60. package/lib/io/flow/internal/v0/models/backfillForm.js +3 -1
  61. package/lib/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  62. package/lib/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +15 -0
  63. package/lib/io/flow/internal/v0/models/{ratecardRateForm.js → catalogItemBatchIndexTask.js} +2 -2
  64. package/lib/io/flow/internal/v0/models/checkoutBehavior.js +29 -0
  65. package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +19 -0
  66. package/lib/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +19 -0
  67. package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +19 -0
  68. package/lib/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +19 -0
  69. package/lib/io/flow/internal/v0/models/checkoutBundle.js +6 -1
  70. package/lib/io/flow/internal/v0/models/{ratecardServiceSummary.js → checkoutConfiguration.js} +8 -4
  71. package/lib/io/flow/internal/v0/models/checkoutConfigurationReference.js +15 -0
  72. package/lib/io/flow/internal/v0/models/{fuelSurchargeRatecardFee.js → checkoutSettings.js} +3 -3
  73. package/lib/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
  74. package/lib/io/flow/internal/v0/models/{ratecardLaneDeleted.js → experienceExportRequest.js} +3 -1
  75. package/lib/io/flow/internal/v0/models/{ratecardLaneUpserted.js → experienceImportRequest.js} +6 -3
  76. package/lib/io/flow/internal/v0/models/feature.js +6 -1
  77. package/lib/io/flow/internal/v0/models/featureForm.js +6 -1
  78. package/lib/io/flow/internal/v0/models/organizationSettings.js +2 -1
  79. package/lib/io/flow/internal/v0/models/organizationSettingsForm.js +2 -1
  80. package/lib/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
  81. package/lib/io/flow/internal/v0/models/processingTransaction.js +4 -3
  82. package/lib/io/flow/internal/v0/models/stringFeatureDefaultValue.js +15 -0
  83. package/lib/io/flow/internal/v0/models/transferTransaction.js +0 -5
  84. package/lib/io/flow/internal/v0/unions/event.js +9 -25
  85. package/lib/io/flow/internal/v0/unions/featureDefaultValue.js +21 -0
  86. package/lib/io/flow/internal/v0/unions/indexTaskType.js +5 -9
  87. package/lib/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +2 -1
  88. package/lib/io/flow/shopify/external/v0/models/shopifyFulfillment.js +2 -1
  89. package/lib/mocks.js +22 -51
  90. package/lib/validators.js +108 -253
  91. package/package.json +5 -4
  92. package/src/index.d.ts +22 -51
  93. package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +3 -0
  94. package/src/io/flow/billing/v0/models/account.js +2 -0
  95. package/src/io/flow/billing/v0/models/accountDepositRule.js +6 -0
  96. package/src/io/flow/billing/v0/models/accountDepositRuleForm.js +6 -0
  97. package/src/io/flow/billing/v0/models/billingStatementTotals.js +1 -0
  98. package/src/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +3 -0
  99. package/src/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
  100. package/src/io/flow/checkout/configuration/v0/models/checkoutBehavior.js +10 -0
  101. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
  102. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
  103. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingAddress.js +6 -0
  104. package/src/io/flow/checkout/configuration/v0/models/checkoutBehaviorShippingMethod.js +6 -0
  105. package/src/io/flow/checkout/configuration/v0/models/checkoutConfiguration.js +9 -0
  106. package/src/io/flow/checkout/configuration/v0/models/checkoutSettings.js +6 -0
  107. package/src/io/flow/common/v0/models/customer.js +2 -0
  108. package/src/io/flow/common/v0/models/customerInvoice.js +6 -0
  109. package/src/io/flow/common/v0/models/organization.js +1 -0
  110. package/src/io/flow/experience/internal/v0/models/organizationSettings.js +1 -0
  111. package/src/io/flow/experience/internal/v0/models/organizationSettingsForm.js +1 -0
  112. package/src/io/flow/experience/v0/enums/experienceCloneStatus.js +3 -0
  113. package/src/io/flow/experience/v0/models/checkoutSettings.js +6 -0
  114. package/src/io/flow/experience/v0/models/experienceCheckoutSettings.js +9 -0
  115. package/src/io/flow/experience/v0/models/experienceCheckoutSettingsForm.js +5 -0
  116. package/src/io/flow/experience/v0/models/experienceClone.js +10 -0
  117. package/src/io/flow/{internal/v0/models/returnPackageRatecardFee.js → experience/v0/models/experienceCloneForm.js} +1 -1
  118. package/src/io/flow/{internal/v0/models/ratecardCarrierSummary.js → experience/v0/models/experienceConfigurationReference.js} +0 -1
  119. package/src/io/flow/experience/v0/models/experiencePriceBookMappingPutForm.js +6 -0
  120. package/src/io/flow/experience/v0/models/experienceSettings.js +2 -0
  121. package/src/io/flow/experience/v0/models/orderBuilderCustomerInvoiceAddressForm.js +6 -0
  122. package/src/io/flow/{internal/v0/models/ddpRatecardFee.js → feature/v0/models/booleanFeatureDefaultValue.js} +1 -1
  123. package/src/io/flow/feature/v0/models/feature.js +2 -0
  124. package/src/io/flow/feature/v0/models/featureForm.js +2 -0
  125. package/src/io/flow/{internal/v0/models/fuelSurchargeServiceFee.js → feature/v0/models/stringFeatureDefaultValue.js} +1 -1
  126. package/src/io/flow/feature/v0/unions/featureDefaultValue.js +8 -0
  127. package/src/io/flow/fulfillment/v0/enums/laneStrategy.js +3 -0
  128. package/src/io/flow/fulfillment/v0/models/countryShippingPricing.js +7 -0
  129. package/src/io/flow/fulfillment/v0/models/itemShippingPricing.js +7 -0
  130. package/src/io/flow/fulfillment/v0/models/shippingAddress.js +2 -0
  131. package/src/io/flow/fulfillment/v0/models/shippingConfigurationItemShippingPricing.js +12 -0
  132. package/src/io/flow/fulfillment/v0/models/shippingLane.js +2 -0
  133. package/src/io/flow/fulfillment/v0/models/shippingLaneForm.js +2 -0
  134. package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +7 -0
  135. package/src/io/flow/harmonization/v0/unions/taxSetting.js +4 -0
  136. package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +3 -0
  137. package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +3 -0
  138. package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +3 -0
  139. package/src/io/flow/internal/v0/enums/eventType.js +2 -6
  140. package/src/io/flow/internal/v0/enums/experienceImportType.js +3 -0
  141. package/src/io/flow/internal/v0/enums/orderLifecycleEvent.js +3 -0
  142. package/src/io/flow/internal/v0/models/account.js +2 -0
  143. package/src/io/flow/internal/v0/models/accountDepositRule.js +6 -0
  144. package/src/io/flow/internal/v0/models/accountDepositRuleForm.js +6 -0
  145. package/src/io/flow/internal/v0/models/accountPutForm.js +2 -0
  146. package/src/io/flow/internal/v0/models/accountTransactionsExportRequest.js +0 -2
  147. package/src/io/flow/internal/v0/models/backfillForm.js +2 -0
  148. package/src/io/flow/internal/v0/models/billingStatementTotals.js +1 -0
  149. package/src/io/flow/internal/v0/models/booleanFeatureDefaultValue.js +5 -0
  150. package/src/io/flow/internal/v0/models/catalogItemBatchIndexTask.js +6 -0
  151. package/src/io/flow/internal/v0/models/checkoutBehavior.js +10 -0
  152. package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfo.js +6 -0
  153. package/src/io/flow/internal/v0/models/checkoutBehaviorCustomerInfoEmail.js +6 -0
  154. package/src/io/flow/internal/v0/models/checkoutBehaviorShippingAddress.js +6 -0
  155. package/src/io/flow/internal/v0/models/checkoutBehaviorShippingMethod.js +6 -0
  156. package/src/io/flow/internal/v0/models/checkoutBundle.js +2 -0
  157. package/src/io/flow/internal/v0/models/checkoutConfiguration.js +9 -0
  158. package/src/io/flow/internal/v0/models/checkoutConfigurationReference.js +5 -0
  159. package/src/io/flow/internal/v0/models/checkoutSettings.js +6 -0
  160. package/src/io/flow/internal/v0/models/checkoutSubmitOrderForm.js +1 -1
  161. package/src/io/flow/internal/v0/models/{ratecardPublished.js → experienceExportRequest.js} +3 -2
  162. package/src/io/flow/internal/v0/models/experienceImportRequest.js +12 -0
  163. package/src/io/flow/internal/v0/models/feature.js +2 -0
  164. package/src/io/flow/internal/v0/models/featureForm.js +2 -0
  165. package/src/io/flow/internal/v0/models/organizationSettings.js +1 -0
  166. package/src/io/flow/internal/v0/models/organizationSettingsForm.js +1 -0
  167. package/src/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
  168. package/src/io/flow/internal/v0/models/processingTransaction.js +3 -2
  169. package/src/io/flow/internal/v0/models/stringFeatureDefaultValue.js +5 -0
  170. package/src/io/flow/internal/v0/models/transferTransaction.js +0 -2
  171. package/src/io/flow/internal/v0/unions/event.js +4 -12
  172. package/src/io/flow/internal/v0/unions/featureDefaultValue.js +8 -0
  173. package/src/io/flow/internal/v0/unions/indexTaskType.js +2 -4
  174. package/src/io/flow/payment/v0/models/merchantOfRecordAuthorizationForm.js +1 -0
  175. package/src/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
  176. package/src/mocks.js +22 -51
  177. package/src/validators.js +44 -102
  178. package/lib/io/flow/internal/v0/models/dimensionEstimate.js +0 -22
  179. package/lib/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -26
  180. package/lib/io/flow/internal/v0/models/estimatedDimensions.js +0 -22
  181. package/lib/io/flow/internal/v0/models/hopEstimate.js +0 -38
  182. package/lib/io/flow/internal/v0/models/laneDeleted.js +0 -17
  183. package/lib/io/flow/internal/v0/models/laneUpserted.js +0 -28
  184. package/lib/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -22
  185. package/lib/io/flow/internal/v0/models/ratecard.js +0 -33
  186. package/lib/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -37
  187. package/lib/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -42
  188. package/lib/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -18
  189. package/lib/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -48
  190. package/lib/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -35
  191. package/lib/io/flow/internal/v0/models/ratecardForm.js +0 -27
  192. package/lib/io/flow/internal/v0/models/ratecardLane.js +0 -64
  193. package/lib/io/flow/internal/v0/models/ratecardLaneForm.js +0 -54
  194. package/lib/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -26
  195. package/lib/io/flow/internal/v0/models/ratecardPublished.js +0 -19
  196. package/lib/io/flow/internal/v0/models/ratecardRate.js +0 -17
  197. package/lib/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -17
  198. package/lib/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -32
  199. package/lib/io/flow/internal/v0/models/ratecardRateVersion.js +0 -26
  200. package/lib/io/flow/internal/v0/models/ratecardUpserted.js +0 -21
  201. package/lib/io/flow/internal/v0/models/shipmentWindow.js +0 -16
  202. package/lib/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -17
  203. package/lib/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -16
  204. package/lib/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -21
  205. package/lib/io/flow/internal/v0/unions/ratecardEstimate.js +0 -21
  206. package/lib/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -21
  207. package/lib/io/flow/internal/v0/unions/ratecardFee.js +0 -37
  208. package/lib/io/flow/internal/v0/unions/serviceFee.js +0 -21
  209. package/src/io/flow/internal/v0/enums/transferTransactionSource.js +0 -3
  210. package/src/io/flow/internal/v0/models/crossdockRatecardFee.js +0 -6
  211. package/src/io/flow/internal/v0/models/dimensionEstimate.js +0 -9
  212. package/src/io/flow/internal/v0/models/dimensionEstimateForm.js +0 -8
  213. package/src/io/flow/internal/v0/models/dimensionEstimateVersion.js +0 -10
  214. package/src/io/flow/internal/v0/models/estimatedDimensions.js +0 -9
  215. package/src/io/flow/internal/v0/models/fuelSurchargeRatecardFee.js +0 -6
  216. package/src/io/flow/internal/v0/models/hop.js +0 -7
  217. package/src/io/flow/internal/v0/models/hopEstimate.js +0 -16
  218. package/src/io/flow/internal/v0/models/laneDeleted.js +0 -7
  219. package/src/io/flow/internal/v0/models/laneUpserted.js +0 -18
  220. package/src/io/flow/internal/v0/models/oversizedShipmentRatecardFee.js +0 -9
  221. package/src/io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js +0 -6
  222. package/src/io/flow/internal/v0/models/ratecard.js +0 -14
  223. package/src/io/flow/internal/v0/models/ratecardEstimateFormV1.js +0 -18
  224. package/src/io/flow/internal/v0/models/ratecardEstimateFormV2.js +0 -20
  225. package/src/io/flow/internal/v0/models/ratecardEstimateSummaryForm.js +0 -8
  226. package/src/io/flow/internal/v0/models/ratecardEstimateV1.js +0 -20
  227. package/src/io/flow/internal/v0/models/ratecardEstimateV2.js +0 -13
  228. package/src/io/flow/internal/v0/models/ratecardForm.js +0 -11
  229. package/src/io/flow/internal/v0/models/ratecardLane.js +0 -27
  230. package/src/io/flow/internal/v0/models/ratecardLaneDeleted.js +0 -8
  231. package/src/io/flow/internal/v0/models/ratecardLaneForm.js +0 -23
  232. package/src/io/flow/internal/v0/models/ratecardLaneUpserted.js +0 -9
  233. package/src/io/flow/internal/v0/models/ratecardLaneVersion.js +0 -10
  234. package/src/io/flow/internal/v0/models/ratecardRate.js +0 -7
  235. package/src/io/flow/internal/v0/models/ratecardRateDeleted.js +0 -7
  236. package/src/io/flow/internal/v0/models/ratecardRateForm.js +0 -6
  237. package/src/io/flow/internal/v0/models/ratecardRateUpserted.js +0 -22
  238. package/src/io/flow/internal/v0/models/ratecardRateVersion.js +0 -10
  239. package/src/io/flow/internal/v0/models/ratecardServiceSummary.js +0 -8
  240. package/src/io/flow/internal/v0/models/ratecardUpserted.js +0 -11
  241. package/src/io/flow/internal/v0/models/ratecardVersion.js +0 -10
  242. package/src/io/flow/internal/v0/models/remoteAreaRatecardFee.js +0 -6
  243. package/src/io/flow/internal/v0/models/remoteAreaServiceFee.js +0 -6
  244. package/src/io/flow/internal/v0/models/shipmentWindow.js +0 -6
  245. package/src/io/flow/internal/v0/models/subcatalogItemDeleteIndexTask.js +0 -7
  246. package/src/io/flow/internal/v0/models/subcatalogItemIndexTask.js +0 -6
  247. package/src/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +0 -8
  248. package/src/io/flow/internal/v0/unions/ratecardEstimate.js +0 -5
  249. package/src/io/flow/internal/v0/unions/ratecardEstimateForm.js +0 -8
  250. package/src/io/flow/internal/v0/unions/ratecardFee.js +0 -16
  251. package/src/io/flow/internal/v0/unions/serviceFee.js +0 -8
  252. /package/lib/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
  253. /package/lib/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
  254. /package/lib/io/flow/internal/v0/models/{pendingBankPaymentTransferDetail.js → pendingBankPaymentDetail.js} +0 -0
  255. /package/src/io/flow/{internal/v0/models/ratecardReference.js → checkout/configuration/v0/models/checkoutConfigurationReference.js} +0 -0
  256. /package/src/io/flow/internal/v0/models/{withholdings.js → components.js} +0 -0
  257. /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.25",
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>;
@@ -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;
@@ -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
+ });
@@ -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
  });
@@ -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 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
+ });
@@ -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
  });