{"_v": 0, "runId": "01KHHRMD8MSA0VAHRGMCFBFNW5", "state": "done", "steps": {"_root": {"id": "_root", "next": ["_root.acquire-lock-step"]}, "_root.acquire-lock-step": {"_v": 0, "id": "_root.acquire-lock-step", "next": ["_root.acquire-lock-step.use-query-graph-step", "_root.acquire-lock-step.cart-query"], "uuid": "01KHHRDXWSH58RZ3B5N17ZFGJ8", "depth": 1, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527906, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWSH58RZ3B5N17ZFGJ8", "store": false, "action": "acquire-lock-step", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527906, "saveResponse": true}, "_root.acquire-lock-step.cart-query": {"_v": 0, "id": "_root.acquire-lock-step.cart-query", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments"], "uuid": "01KHHRDXWS4CWPPPPSEXZ7D9XB", "depth": 2, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527907, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWS4CWPPPPSEXZ7D9XB", "async": false, "store": false, "action": "cart-query", "noCompensation": true, "compensateAsync": false}, "stepFailed": false, "lastAttempt": 1771196527907, "saveResponse": true}, "_root.acquire-lock-step.use-query-graph-step": {"_v": 0, "id": "_root.acquire-lock-step.use-query-graph-step", "next": [], "uuid": "01KHHRDXWSZHMTCJ7WHQT8RB4A", "depth": 2, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527907, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWSZHMTCJ7WHQT8RB4A", "store": false, "action": "use-query-graph-step", "noCompensation": true}, "stepFailed": false, "lastAttempt": 1771196527907, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed"], "uuid": "01KHHRDXWTNE50YG49DH9EEE69", "depth": 3, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527931, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTNE50YG49DH9EEE69", "store": false, "action": "validate-cart-payments", "noCompensation": true}, "stepFailed": false, "lastAttempt": 1771196527931, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate"], "uuid": "01KHHRDXWTFWHQXFA4BX2NPVND", "depth": 4, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527933, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTFWHQXFA4BX2NPVND", "store": false, "action": "compensate-payment-if-needed", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527933, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query"], "uuid": "01KHHRDXWT5VG6WXD3RZDMQFNF", "depth": 5, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527935, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT5VG6WXD3RZDMQFNF", "store": false, "action": "validate", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527935, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping"], "uuid": "01KHHRDXWT2NX78E00V9BW6007", "depth": 6, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527936, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT2NX78E00V9BW6007", "async": false, "store": false, "action": "shipping-options-query", "noCompensation": true, "compensateAsync": false}, "stepFailed": false, "lastAttempt": 1771196527936, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders"], "uuid": "01KHHRDXWT349MFD35AGRT65PR", "depth": 7, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527939, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT349MFD35AGRT65PR", "store": false, "action": "validate-shipping", "noCompensation": true}, "stepFailed": false, "lastAttempt": 1771196527939, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.create-remote-links", "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.update-carts", "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.reserve-inventory-step", "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.register-usage", "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step"], "uuid": "01KHHRDXWTJ107CHP6PYJE5X9N", "depth": 8, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527941, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTJ107CHP6PYJE5X9N", "store": false, "action": "create-orders", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527941, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.update-carts": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.update-carts", "next": [], "uuid": "01KHHRDXWTFS7YX77M3DPV9KHP", "depth": 9, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527973, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTFS7YX77M3DPV9KHP", "store": false, "action": "update-carts", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527973, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.register-usage": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.register-usage", "next": [], "uuid": "01KHHRDXWT6B7M0Z3YXE031PKV", "depth": 9, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527973, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT6B7M0Z3YXE031PKV", "store": false, "action": "register-usage", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527973, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization"], "uuid": "01KHHRDXWT1AECY33WT6G76X3T", "depth": 9, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527973, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT1AECY33WT6G76X3T", "store": false, "action": "emit-event-step", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527973, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.create-remote-links": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.create-remote-links", "next": [], "uuid": "01KHHRDXWT4101Y70VV529495J", "depth": 9, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527973, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT4101Y70VV529495J", "store": false, "action": "create-remote-links", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527973, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.reserve-inventory-step": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.reserve-inventory-step", "next": [], "uuid": "01KHHRDXWT0SHD1R3A4R6JVBVJ", "depth": 9, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527973, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWT0SHD1R3A4R6JVBVJ", "store": false, "action": "reserve-inventory-step", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527973, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step"], "uuid": "01KHHRDXWTFREFZXX74KHXQB8X", "depth": 10, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196527998, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTFREFZXX74KHXQB8X", "store": false, "action": "beforePaymentAuthorization", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196527998, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction"], "uuid": "01KHHRDXWTD3X03K10DJ3Q4JMQ", "depth": 11, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196528000, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWTD3X03K10DJ3Q4JMQ", "store": false, "action": "authorize-payment-session-step", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196528000, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated"], "uuid": "01KHHRDXWVXHPDBAFPWR4M3B16", "depth": 12, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196528030, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWVXHPDBAFPWR4M3B16", "store": false, "action": "add-order-transaction", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196528030, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order"], "uuid": "01KHHRDXWV3DFCBJ55Y45PNKDM", "depth": 13, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196528032, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWV3DFCBJ55Y45PNKDM", "store": false, "action": "orderCreated", "noCompensation": false}, "stepFailed": false, "lastAttempt": 1771196528032, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order", "next": ["_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order.release-lock-step"], "uuid": "01KHHRDXWV74AVMS7EKXKQD9ZX", "depth": 14, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196528034, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWV74AVMS7EKXKQD9ZX", "store": false, "action": "create-order", "noCompensation": true}, "stepFailed": false, "lastAttempt": 1771196528034, "saveResponse": true}, "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order.release-lock-step": {"_v": 0, "id": "_root.acquire-lock-step.cart-query.validate-cart-payments.compensate-payment-if-needed.validate.shipping-options-query.validate-shipping.create-orders.emit-event-step.beforePaymentAuthorization.authorize-payment-session-step.add-order-transaction.orderCreated.create-order.release-lock-step", "next": [], "uuid": "01KHHRDXWVD5DWG7154JEAD2XR", "depth": 15, "invoke": {"state": "done", "status": "ok"}, "attempts": 1, "failures": 0, "startedAt": 1771196528035, "compensate": {"state": "dormant", "status": "idle"}, "definition": {"uuid": "01KHHRDXWVD5DWG7154JEAD2XR", "store": false, "action": "release-lock-step", "noCompensation": true}, "stepFailed": false, "lastAttempt": 1771196528035, "saveResponse": true}}, "modelId": "complete-cart", "options": {"name": "complete-cart", "store": true, "idempotent": false, "retentionTime": 259200}, "metadata": {"sourcePath": "C:\\Users\\vince\\Documents\\GitHub\\stylunique\\node_modules\\@medusajs\\core-flows\\dist\\cart\\workflows\\complete-cart.js", "eventGroupId": "01KHHRMD8JA96T8RXK21C0R9DW", "preventReleaseEvents": false}, "startedAt": 1771196527906, "definition": {"next": [{"uuid": "01KHHRDXWSZHMTCJ7WHQT8RB4A", "action": "use-query-graph-step", "noCompensation": true}, {"next": {"next": {"next": {"next": {"next": {"next": {"next": [{"uuid": "01KHHRDXWT4101Y70VV529495J", "action": "create-remote-links", "noCompensation": false}, {"uuid": "01KHHRDXWTFS7YX77M3DPV9KHP", "action": "update-carts", "noCompensation": false}, {"uuid": "01KHHRDXWT0SHD1R3A4R6JVBVJ", "action": "reserve-inventory-step", "noCompensation": false}, {"uuid": "01KHHRDXWT6B7M0Z3YXE031PKV", "action": "register-usage", "noCompensation": false}, {"next": {"next": {"next": {"next": {"next": {"next": {"uuid": "01KHHRDXWVD5DWG7154JEAD2XR", "action": "release-lock-step", "noCompensation": true}, "uuid": "01KHHRDXWV74AVMS7EKXKQD9ZX", "action": "create-order", "noCompensation": true}, "uuid": "01KHHRDXWV3DFCBJ55Y45PNKDM", "action": "orderCreated", "noCompensation": false}, "uuid": "01KHHRDXWVXHPDBAFPWR4M3B16", "action": "add-order-transaction", "noCompensation": false}, "uuid": "01KHHRDXWTD3X03K10DJ3Q4JMQ", "action": "authorize-payment-session-step", "noCompensation": false}, "uuid": "01KHHRDXWTFREFZXX74KHXQB8X", "action": "beforePaymentAuthorization", "noCompensation": false}, "uuid": "01KHHRDXWT1AECY33WT6G76X3T", "action": "emit-event-step", "noCompensation": false}], "uuid": "01KHHRDXWTJ107CHP6PYJE5X9N", "action": "create-orders", "noCompensation": false}, "uuid": "01KHHRDXWT349MFD35AGRT65PR", "action": "validate-shipping", "noCompensation": true}, "uuid": "01KHHRDXWT2NX78E00V9BW6007", "async": false, "action": "shipping-options-query", "noCompensation": true, "compensateAsync": false}, "uuid": "01KHHRDXWT5VG6WXD3RZDMQFNF", "action": "validate", "noCompensation": false}, "uuid": "01KHHRDXWTFWHQXFA4BX2NPVND", "action": "compensate-payment-if-needed", "noCompensation": false}, "uuid": "01KHHRDXWTNE50YG49DH9EEE69", "action": "validate-cart-payments", "noCompensation": true}, "uuid": "01KHHRDXWS4CWPPPPSEXZ7D9XB", "async": false, "action": "cart-query", "noCompensation": true, "compensateAsync": false}], "uuid": "01KHHRDXWSH58RZ3B5N17ZFGJ8", "action": "acquire-lock-step", "noCompensation": false}, "timedOutAt": null, "hasAsyncSteps": false, "transactionId": "auto-01KHHRMD8JBTDF4G61JFV6E9MC", "hasFailedSteps": false, "hasSkippedSteps": false, "hasWaitingSteps": false, "hasRevertedSteps": false, "hasSkippedOnFailureSteps": false}