@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.
- package/CHANGELOG.md +18 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.ast +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress.ast +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail.ast +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer.ast +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.ast +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +2 -2
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder.ast +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/OutboundTranslation/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder.ast +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder.res.mjs +2 -2
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin.res.mjs +11 -11
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT.res.mjs +1 -1
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder.ast +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.ast +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.res +2 -22
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder.ast +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress.ast +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail.ast +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer.ast +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping.ast +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder.ast +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer.ast +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.res +4 -13
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_Translation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder.ast +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct.ast +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/package.json +8 -8
- package/src/CatalogProduct/StateChange/SyncCatalogProduct.res.mjs +2 -2
- package/src/Customer/StateChange/ChangeAddress.res.mjs +2 -2
- package/src/Customer/StateChange/ChangeEmail.res.mjs +2 -2
- package/src/Customer/StateChange/DeactivateCustomer.res.mjs +2 -2
- package/src/Customer/StateChange/RegisterCustomer.res.mjs +2 -2
- package/src/ExtensionPoint/Orders_ExtensionPointMapping.res.mjs +2 -2
- package/src/Order/Automation/AutoShipOrder.res.mjs +2 -2
- package/src/Order/StateChange/CancelOrder.res.mjs +2 -2
- package/src/Order/StateChange/PlaceOrder.res.mjs +2 -2
- package/src/Order/StateChange/ShipOrder.res.mjs +2 -2
- package/src/Plugin.res.mjs +11 -11
- package/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/ChangeAddress_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/ChangeEmail_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/DeactivateCustomer_GWT.res.mjs +1 -1
- package/tests/Customer/StateChange/RegisterCustomer_GWT.res.mjs +1 -1
- package/tests/Extension/Products_Extension_GWT.res.mjs +1 -1
- package/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT.res.mjs +1 -1
- package/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
- package/tests/Order/StateChange/CancelOrder_GWT.res.mjs +1 -1
- package/tests/Order/StateChange/PlaceOrder_GWT.res.mjs +1 -1
- 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
|
|
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
|
-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
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
|
-
|
|
117
|
-
AutoShipOrderSlice,
|
|
118
|
-
Spec,
|
|
106
|
+
Route,
|
|
119
107
|
describe,
|
|
120
108
|
test,
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
// `
|
|
2
|
-
//
|
|
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
|
|
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", #
|
|
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
|
|
8
|
+
let include = OutboundTranslation_GWT$ReventlessGwt.FromSlice({
|
|
9
9
|
name: SendOrderConfirmation$OrderingPlugin.name,
|
|
10
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
collect: SendOrderConfirmation_Translation$OrderingPlugin.collect
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
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", "
|
|
71
|
+
})), "o1", "Failed"));
|
|
77
72
|
});
|
|
78
73
|
|
|
79
|
-
let
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
14
|
+
authorizationOf: ShipOrder$OrderingPlugin.authorizationOf
|
|
15
15
|
})({
|
|
16
16
|
initialState: ShipOrder_Behavior$OrderingPlugin.initialState,
|
|
17
17
|
evolve: ShipOrder_Behavior$OrderingPlugin.evolve,
|