@reventlessdev/online-shop-dcb-ordering 1.0.0-alpha.272 → 1.0.0-alpha.274

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 (279) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/lib/bs/.compiler.log +2 -2
  3. package/lib/bs/compiler-info.json +1 -1
  4. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
  5. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
  6. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
  7. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.ast +0 -0
  8. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
  9. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
  10. package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
  11. package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmi +0 -0
  12. package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmt +0 -0
  13. package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
  14. package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
  15. package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmi +0 -0
  16. package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmj +0 -0
  17. package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmt +0 -0
  18. package/lib/bs/src/Customer/StateChange/ChangeAddress.ast +0 -0
  19. package/lib/bs/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
  20. package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
  21. package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
  22. package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmi +0 -0
  23. package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmj +0 -0
  24. package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmt +0 -0
  25. package/lib/bs/src/Customer/StateChange/ChangeEmail.ast +0 -0
  26. package/lib/bs/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
  27. package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
  28. package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
  29. package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmi +0 -0
  30. package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmj +0 -0
  31. package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmt +0 -0
  32. package/lib/bs/src/Customer/StateChange/DeactivateCustomer.ast +0 -0
  33. package/lib/bs/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
  34. package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
  35. package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
  36. package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmi +0 -0
  37. package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmj +0 -0
  38. package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmt +0 -0
  39. package/lib/bs/src/Customer/StateChange/RegisterCustomer.ast +0 -0
  40. package/lib/bs/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
  41. package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
  42. package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
  43. package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmi +0 -0
  44. package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmt +0 -0
  45. package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmi +0 -0
  46. package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmt +0 -0
  47. package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
  48. package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
  49. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
  50. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
  51. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.ast +0 -0
  52. package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +2 -2
  53. package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmi +0 -0
  54. package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmj +0 -0
  55. package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmt +0 -0
  56. package/lib/bs/src/Order/Automation/AutoShipOrder.ast +0 -0
  57. package/lib/bs/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
  58. package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
  59. package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
  60. package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
  61. package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
  62. package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
  63. package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
  64. package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmi +0 -0
  65. package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmj +0 -0
  66. package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmt +0 -0
  67. package/lib/bs/src/Order/StateChange/CancelOrder.ast +0 -0
  68. package/lib/bs/src/Order/StateChange/CancelOrder.res.mjs +2 -2
  69. package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
  70. package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
  71. package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmi +0 -0
  72. package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmj +0 -0
  73. package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmt +0 -0
  74. package/lib/bs/src/Order/StateChange/PlaceOrder.ast +0 -0
  75. package/lib/bs/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
  76. package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
  77. package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
  78. package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmi +0 -0
  79. package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmj +0 -0
  80. package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmt +0 -0
  81. package/lib/bs/src/Order/StateChange/ShipOrder.ast +0 -0
  82. package/lib/bs/src/Order/StateChange/ShipOrder.res.mjs +2 -2
  83. package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
  84. package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
  85. package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmi +0 -0
  86. package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmt +0 -0
  87. package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmi +0 -0
  88. package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmt +0 -0
  89. package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
  90. package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
  91. package/lib/bs/src/Plugin.res.mjs +11 -11
  92. package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
  93. package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
  94. package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
  95. package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
  96. package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
  97. package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
  98. package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
  99. package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
  100. package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
  101. package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
  102. package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
  103. package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
  104. package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
  105. package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
  106. package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
  107. package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
  108. package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
  109. package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmi +0 -0
  110. package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmt +0 -0
  111. package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
  112. package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
  113. package/lib/bs/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
  114. package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
  115. package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
  116. package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
  117. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
  118. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
  119. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
  120. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.ast +0 -0
  121. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
  122. package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
  123. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
  124. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
  125. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
  126. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.ast +0 -0
  127. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
  128. package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
  129. package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
  130. package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
  131. package/lib/bs/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
  132. package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
  133. package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
  134. package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
  135. package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
  136. package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
  137. package/lib/bs/tests/Order/StateChange/ShipOrder_GWT.res.mjs +1 -1
  138. package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmi +0 -0
  139. package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmt +0 -0
  140. package/lib/ocaml/.compiler.log +2 -2
  141. package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmi +0 -0
  142. package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmj +0 -0
  143. package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmt +0 -0
  144. package/lib/ocaml/AutoShipOrder.ast +0 -0
  145. package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
  146. package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
  147. package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
  148. package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
  149. package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
  150. package/lib/ocaml/AutoShipOrder_GWT.ast +0 -0
  151. package/lib/ocaml/AutoShipOrder_GWT.res +2 -22
  152. package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
  153. package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
  154. package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
  155. package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
  156. package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
  157. package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
  158. package/lib/ocaml/CancelOrder-OrderingPlugin.cmi +0 -0
  159. package/lib/ocaml/CancelOrder-OrderingPlugin.cmj +0 -0
  160. package/lib/ocaml/CancelOrder-OrderingPlugin.cmt +0 -0
  161. package/lib/ocaml/CancelOrder.ast +0 -0
  162. package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
  163. package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
  164. package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
  165. package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
  166. package/lib/ocaml/ChangeAddress-OrderingPlugin.cmi +0 -0
  167. package/lib/ocaml/ChangeAddress-OrderingPlugin.cmj +0 -0
  168. package/lib/ocaml/ChangeAddress-OrderingPlugin.cmt +0 -0
  169. package/lib/ocaml/ChangeAddress.ast +0 -0
  170. package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
  171. package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
  172. package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
  173. package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
  174. package/lib/ocaml/ChangeEmail-OrderingPlugin.cmi +0 -0
  175. package/lib/ocaml/ChangeEmail-OrderingPlugin.cmj +0 -0
  176. package/lib/ocaml/ChangeEmail-OrderingPlugin.cmt +0 -0
  177. package/lib/ocaml/ChangeEmail.ast +0 -0
  178. package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
  179. package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
  180. package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
  181. package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
  182. package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
  183. package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
  184. package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
  185. package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
  186. package/lib/ocaml/Customers_Projection-OrderingPlugin.cmi +0 -0
  187. package/lib/ocaml/Customers_Projection-OrderingPlugin.cmt +0 -0
  188. package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmi +0 -0
  189. package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmj +0 -0
  190. package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmt +0 -0
  191. package/lib/ocaml/DeactivateCustomer.ast +0 -0
  192. package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
  193. package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
  194. package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
  195. package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
  196. package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
  197. package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
  198. package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
  199. package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
  200. package/lib/ocaml/Orders_ExtensionPointMapping.ast +0 -0
  201. package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
  202. package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
  203. package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
  204. package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
  205. package/lib/ocaml/Orders_Projection-OrderingPlugin.cmi +0 -0
  206. package/lib/ocaml/Orders_Projection-OrderingPlugin.cmt +0 -0
  207. package/lib/ocaml/PlaceOrder-OrderingPlugin.cmi +0 -0
  208. package/lib/ocaml/PlaceOrder-OrderingPlugin.cmj +0 -0
  209. package/lib/ocaml/PlaceOrder-OrderingPlugin.cmt +0 -0
  210. package/lib/ocaml/PlaceOrder.ast +0 -0
  211. package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
  212. package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
  213. package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
  214. package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
  215. package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
  216. package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
  217. package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
  218. package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
  219. package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
  220. package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
  221. package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmi +0 -0
  222. package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmj +0 -0
  223. package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmt +0 -0
  224. package/lib/ocaml/RegisterCustomer.ast +0 -0
  225. package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
  226. package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
  227. package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
  228. package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
  229. package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
  230. package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
  231. package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
  232. package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
  233. package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
  234. package/lib/ocaml/SendOrderConfirmation_GWT.ast +0 -0
  235. package/lib/ocaml/SendOrderConfirmation_GWT.res +4 -13
  236. package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
  237. package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
  238. package/lib/ocaml/ShipOrder-OrderingPlugin.cmi +0 -0
  239. package/lib/ocaml/ShipOrder-OrderingPlugin.cmj +0 -0
  240. package/lib/ocaml/ShipOrder-OrderingPlugin.cmt +0 -0
  241. package/lib/ocaml/ShipOrder.ast +0 -0
  242. package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
  243. package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
  244. package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
  245. package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
  246. package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
  247. package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
  248. package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
  249. package/lib/ocaml/SyncCatalogProduct.ast +0 -0
  250. package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
  251. package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
  252. package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
  253. package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
  254. package/package.json +8 -8
  255. package/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
  256. package/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
  257. package/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
  258. package/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
  259. package/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
  260. package/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +2 -2
  261. package/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
  262. package/src/Order/StateChange/CancelOrder.res.mjs +2 -2
  263. package/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
  264. package/src/Order/StateChange/ShipOrder.res.mjs +2 -2
  265. package/src/Plugin.res.mjs +11 -11
  266. package/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
  267. package/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
  268. package/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
  269. package/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
  270. package/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
  271. package/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
  272. package/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
  273. package/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
  274. package/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
  275. package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
  276. package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
  277. package/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
  278. package/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
  279. package/tests/Order/StateChange/ShipOrder_GWT.res.mjs +1 -1
@@ -5,74 +5,50 @@ import * as Automation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src
5
5
  import * as Ordering_Examples$OrderingPlugin from "../../Ordering_Examples.res.mjs";
6
6
  import * as AutoShipOrder_Automation$OrderingPlugin from "../../../src/Order/Automation/AutoShipOrder_Automation.res.mjs";
7
7
 
8
- let testContext = {
9
- environment: "test",
10
- platformName: "test",
11
- pluginName: "ordering",
12
- sliceName: "AutoShipOrder"
13
- };
14
-
15
- let consumedEventSchema = AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.sourceEventSchema;
16
-
17
- function collect(e) {
18
- return AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.collect(e, "", testContext);
19
- }
20
-
21
- let resolve = AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.resolve;
22
-
23
- let AutoShipOrderSlice = {
8
+ let include = Automation_GWT$ReventlessGwt.FromSlice({
24
9
  name: AutoShipOrder$OrderingPlugin.name,
25
- Id: AutoShipOrder$OrderingPlugin.Id,
10
+ moduleUrl: AutoShipOrder$OrderingPlugin.moduleUrl,
26
11
  todoItemSchema: AutoShipOrder$OrderingPlugin.todoItemSchema,
27
12
  commandSchema: AutoShipOrder$OrderingPlugin.commandSchema,
28
13
  maxRetries: AutoShipOrder$OrderingPlugin.maxRetries,
29
14
  heartbeatInterval: AutoShipOrder$OrderingPlugin.heartbeatInterval,
30
- targetName: AutoShipOrder$OrderingPlugin.targetName,
31
- moduleUrl: AutoShipOrder$OrderingPlugin.moduleUrl,
32
- commandAuthorization: AutoShipOrder$OrderingPlugin.commandAuthorization,
33
- commandTransition: AutoShipOrder$OrderingPlugin.commandTransition,
34
- traits: AutoShipOrder$OrderingPlugin.traits,
35
- consumedEventSchema: consumedEventSchema,
36
- collect: collect,
37
- resolve: resolve,
38
- process: AutoShipOrder_Automation$OrderingPlugin.process
39
- };
40
-
41
- let include = Automation_GWT$ReventlessGwt.Make({
42
- name: AutoShipOrder$OrderingPlugin.name,
43
- consumedEventSchema: consumedEventSchema,
44
- todoItemSchema: AutoShipOrder$OrderingPlugin.todoItemSchema,
45
- commandSchema: AutoShipOrder$OrderingPlugin.commandSchema,
46
- collect: collect,
47
- resolve: resolve,
48
- process: AutoShipOrder_Automation$OrderingPlugin.process
15
+ targetName: AutoShipOrder$OrderingPlugin.targetName
16
+ })({
17
+ process: AutoShipOrder_Automation$OrderingPlugin.process,
18
+ onExhausted: AutoShipOrder_Automation$OrderingPlugin.onExhausted,
19
+ moduleUrl: AutoShipOrder_Automation$OrderingPlugin.moduleUrl,
20
+ mappings: AutoShipOrder_Automation$OrderingPlugin.mappings
49
21
  });
50
22
 
51
23
  let describe = include.describe;
52
24
 
53
25
  let test = include.test;
54
26
 
55
- let givenEvent = include.givenEvent;
56
-
57
- let whenCollect = include.whenCollect;
58
-
59
27
  let thenTodos = include.thenTodos;
60
28
 
61
- let whenResolve = include.whenResolve;
62
-
63
29
  let thenResolved = include.thenResolved;
64
30
 
31
+ let Mapping = include.Mapping;
32
+
65
33
  let givenTodo = include.givenTodo;
66
34
 
67
35
  let whenProcess = include.whenProcess;
68
36
 
69
37
  let thenCommand = include.thenCommand;
70
38
 
39
+ let include$1 = Mapping(AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb);
40
+
41
+ let givenEvent = include$1.givenEvent;
42
+
43
+ let whenCollect = include$1.whenCollect;
44
+
45
+ let whenResolve = include$1.whenResolve;
46
+
71
47
  describe("AutoShipOrder AutomationSlice", () => {
72
48
  test("collect: OrderPlaced creates a pending TODO", () => thenTodos(whenCollect(givenEvent({
73
49
  TAG: "OrderPlaced",
74
50
  orderId: Ordering_Examples$OrderingPlugin.o1
75
- })), [[
51
+ }), undefined, undefined), [[
76
52
  "o1",
77
53
  {
78
54
  orderId: Ordering_Examples$OrderingPlugin.o1
@@ -81,7 +57,7 @@ describe("AutoShipOrder AutomationSlice", () => {
81
57
  test("collect: OrderShipped is ignored (no TODO)", () => thenTodos(whenCollect(givenEvent({
82
58
  TAG: "OrderShipped",
83
59
  orderId: Ordering_Examples$OrderingPlugin.o1
84
- })), []));
60
+ }), undefined, undefined), []));
85
61
  test("resolve: OrderShipped marks the TODO done", () => thenResolved(whenResolve(givenEvent({
86
62
  TAG: "OrderShipped",
87
63
  orderId: Ordering_Examples$OrderingPlugin.o1
@@ -98,12 +74,24 @@ describe("AutoShipOrder AutomationSlice", () => {
98
74
  }));
99
75
  });
100
76
 
101
- let Spec = include.Spec;
77
+ let Route = include.Route;
78
+
79
+ let testContext = include.testContext;
80
+
81
+ let encTodos = include.encTodos;
82
+
83
+ let encPair = include.encPair;
84
+
85
+ let whenExhausted = include.whenExhausted;
102
86
 
103
87
  let thenNoCommand = include.thenNoCommand;
104
88
 
105
89
  let givenEvents = include.givenEvents;
106
90
 
91
+ let routeAll = include.routeAll;
92
+
93
+ let sweep = include.sweep;
94
+
107
95
  let whenSweep = include.whenSweep;
108
96
 
109
97
  let thenCommands = include.thenCommands;
@@ -112,25 +100,33 @@ let andThenEvents = include.andThenEvents;
112
100
 
113
101
  let thenScenarioTodos = include.thenScenarioTodos;
114
102
 
103
+ let event = include$1.event;
104
+
115
105
  export {
116
- testContext,
117
- AutoShipOrderSlice,
118
- Spec,
106
+ Route,
119
107
  describe,
120
108
  test,
121
- givenEvent,
122
- whenCollect,
109
+ testContext,
110
+ encTodos,
111
+ encPair,
123
112
  thenTodos,
124
- whenResolve,
125
113
  thenResolved,
114
+ Mapping,
126
115
  givenTodo,
127
116
  whenProcess,
117
+ whenExhausted,
128
118
  thenCommand,
129
119
  thenNoCommand,
130
120
  givenEvents,
121
+ routeAll,
122
+ sweep,
131
123
  whenSweep,
132
124
  thenCommands,
133
125
  andThenEvents,
134
126
  thenScenarioTodos,
127
+ event,
128
+ givenEvent,
129
+ whenCollect,
130
+ whenResolve,
135
131
  }
136
132
  /* include Not a pure module */
@@ -1,14 +1,5 @@
1
- // `OutboundTranslation_GWT.Make` expects a single SliceSpec with `collect` at
2
- // the top level. The split-form production layout keeps `collect` in the
3
- // translation body file, so we compose it onto the spec module locally.
4
- //
5
- // `translate` is supplied at test time via `whenTranslateMocked`; the real
6
- // `translate` (which calls `EmailService`) is exercised in component tests.
7
-
8
- module SendOrderConfirmationSlice = {
9
- include SendOrderConfirmation
10
- let collect = SendOrderConfirmation_Translation.collect
11
- }
1
+ // `translate` calls a mailer the framework does not broker, so these scenarios
2
+ // answer for it with `whenTranslateMocked`.
12
3
 
13
4
  @@reventless.gwt
14
5
 
@@ -29,9 +20,9 @@ describe("SendOrderConfirmation OutboundTranslationSlice", () => {
29
20
  )
30
21
 
31
22
  // scenario-id: a4563058-8777-4756-8e12-983fcd0e8f20
32
- test("translate failure leaves the TODO Pending for retry", () =>
23
+ test("translate failure leaves the TODO Failed for retry", () =>
33
24
  givenTodo("o1", {orderId: o1, customerId: c1})
34
25
  ->whenTranslateMocked((_id, _item) => Promise.resolve(Error("smtp down")))
35
- ->thenTodoStatus("o1", #Pending)
26
+ ->thenTodoStatus("o1", #Failed)
36
27
  )
37
28
  })
@@ -5,9 +5,9 @@ import * as SendOrderConfirmation$OrderingPlugin from "../../../src/Order/Outbou
5
5
  import * as OutboundTranslation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/OutboundTranslation_GWT.res.mjs";
6
6
  import * as SendOrderConfirmation_Translation$OrderingPlugin from "../../../src/Order/OutboundTranslation/SendOrderConfirmation_Translation.res.mjs";
7
7
 
8
- let SendOrderConfirmationSlice = {
8
+ let include = OutboundTranslation_GWT$ReventlessGwt.FromSlice({
9
9
  name: SendOrderConfirmation$OrderingPlugin.name,
10
- Id: SendOrderConfirmation$OrderingPlugin.Id,
10
+ moduleUrl: SendOrderConfirmation$OrderingPlugin.moduleUrl,
11
11
  consumedEventSchema: SendOrderConfirmation$OrderingPlugin.consumedEventSchema,
12
12
  outboundItemSchema: SendOrderConfirmation$OrderingPlugin.outboundItemSchema,
13
13
  inboundCommandSchema: SendOrderConfirmation$OrderingPlugin.inboundCommandSchema,
@@ -17,17 +17,12 @@ let SendOrderConfirmationSlice = {
17
17
  sourceNames: SendOrderConfirmation$OrderingPlugin.sourceNames,
18
18
  externalSystem: SendOrderConfirmation$OrderingPlugin.externalSystem,
19
19
  capabilityNeeds: SendOrderConfirmation$OrderingPlugin.capabilityNeeds,
20
- moduleUrl: SendOrderConfirmation$OrderingPlugin.moduleUrl,
21
- traits: SendOrderConfirmation$OrderingPlugin.traits,
22
- collect: SendOrderConfirmation_Translation$OrderingPlugin.collect
23
- };
24
-
25
- let include = OutboundTranslation_GWT$ReventlessGwt.Make({
26
- name: SendOrderConfirmation$OrderingPlugin.name,
27
- consumedEventSchema: SendOrderConfirmation$OrderingPlugin.consumedEventSchema,
28
- outboundItemSchema: SendOrderConfirmation$OrderingPlugin.outboundItemSchema,
29
- inboundCommandSchema: SendOrderConfirmation$OrderingPlugin.inboundCommandSchema,
30
- collect: SendOrderConfirmation_Translation$OrderingPlugin.collect
20
+ traits: SendOrderConfirmation$OrderingPlugin.traits
21
+ })({
22
+ collect: SendOrderConfirmation_Translation$OrderingPlugin.collect,
23
+ translate: SendOrderConfirmation_Translation$OrderingPlugin.translate,
24
+ onExhausted: SendOrderConfirmation_Translation$OrderingPlugin.onExhausted,
25
+ moduleUrl: SendOrderConfirmation_Translation$OrderingPlugin.moduleUrl
31
26
  });
32
27
 
33
28
  let describe = include.describe;
@@ -67,40 +62,72 @@ describe("SendOrderConfirmation OutboundTranslationSlice", () => {
67
62
  TAG: "Ok",
68
63
  _0: undefined
69
64
  })), "o1", "Completed"));
70
- test("translate failure leaves the TODO Pending for retry", undefined, () => thenTodoStatus(whenTranslateMocked(givenTodo("o1", {
65
+ test("translate failure leaves the TODO Failed for retry", undefined, () => thenTodoStatus(whenTranslateMocked(givenTodo("o1", {
71
66
  orderId: Ordering_Examples$OrderingPlugin.o1,
72
67
  customerId: Ordering_Examples$OrderingPlugin.c1
73
68
  }), (_id, _item) => Promise.resolve({
74
69
  TAG: "Error",
75
70
  _0: "smtp down"
76
- })), "o1", "Pending"));
71
+ })), "o1", "Failed"));
77
72
  });
78
73
 
79
- let Spec = include.Spec;
74
+ let encItems = include.encItems;
75
+
76
+ let commandPairJson = include.commandPairJson;
77
+
78
+ let errorOf = include.errorOf;
79
+
80
+ let fakes = include.fakes;
81
+
82
+ let givenCapabilities = include.givenCapabilities;
83
+
84
+ let attemptWith = include.attemptWith;
85
+
86
+ let attempts = include.attempts;
87
+
88
+ let whenTranslated = include.whenTranslated;
80
89
 
81
90
  let whenTranslateRetrying = include.whenTranslateRetrying;
82
91
 
92
+ let whenExhausted = include.whenExhausted;
93
+
83
94
  let thenCommand = include.thenCommand;
84
95
 
85
96
  let thenNoCommand = include.thenNoCommand;
86
97
 
98
+ let thenSent = include.thenSent;
99
+
100
+ let thenNothingSent = include.thenNothingSent;
101
+
87
102
  let thenRetryRecorded = include.thenRetryRecorded;
88
103
 
104
+ let statusName = include.statusName;
105
+
89
106
  export {
90
- SendOrderConfirmationSlice,
91
- Spec,
92
107
  describe,
93
108
  test,
94
109
  testSync,
110
+ encItems,
111
+ commandPairJson,
112
+ errorOf,
95
113
  givenEvent,
96
114
  whenCollect,
97
115
  thenTodos,
98
116
  givenTodo,
117
+ fakes,
118
+ givenCapabilities,
119
+ attemptWith,
120
+ attempts,
121
+ whenTranslated,
99
122
  whenTranslateMocked,
100
123
  whenTranslateRetrying,
124
+ whenExhausted,
101
125
  thenCommand,
102
126
  thenNoCommand,
127
+ thenSent,
128
+ thenNothingSent,
103
129
  thenRetryRecorded,
130
+ statusName,
104
131
  thenTodoStatus,
105
132
  }
106
133
  /* include Not a pure module */
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
11
11
  commandSchema: CancelOrder$OrderingPlugin.commandSchema,
12
12
  errorSchema: CancelOrder$OrderingPlugin.errorSchema,
13
13
  eventSchema: CancelOrder$OrderingPlugin.eventSchema,
14
- commandAuthorization: CancelOrder$OrderingPlugin.commandAuthorization
14
+ authorizationOf: CancelOrder$OrderingPlugin.authorizationOf
15
15
  })({
16
16
  initialState: CancelOrder_Behavior$OrderingPlugin.initialState,
17
17
  evolve: CancelOrder_Behavior$OrderingPlugin.evolve,
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
11
11
  commandSchema: PlaceOrder$OrderingPlugin.commandSchema,
12
12
  errorSchema: PlaceOrder$OrderingPlugin.errorSchema,
13
13
  eventSchema: PlaceOrder$OrderingPlugin.eventSchema,
14
- commandAuthorization: PlaceOrder$OrderingPlugin.commandAuthorization
14
+ authorizationOf: PlaceOrder$OrderingPlugin.authorizationOf
15
15
  })({
16
16
  initialState: PlaceOrder_Behavior$OrderingPlugin.initialState,
17
17
  evolve: PlaceOrder_Behavior$OrderingPlugin.evolve,
@@ -11,7 +11,7 @@ let include = Behavior_GWT$ReventlessGwt.Make({
11
11
  commandSchema: ShipOrder$OrderingPlugin.commandSchema,
12
12
  errorSchema: ShipOrder$OrderingPlugin.errorSchema,
13
13
  eventSchema: ShipOrder$OrderingPlugin.eventSchema,
14
- commandAuthorization: ShipOrder$OrderingPlugin.commandAuthorization
14
+ authorizationOf: ShipOrder$OrderingPlugin.authorizationOf
15
15
  })({
16
16
  initialState: ShipOrder_Behavior$OrderingPlugin.initialState,
17
17
  evolve: ShipOrder_Behavior$OrderingPlugin.evolve,