@venturialstd/workflow 0.1.92 → 0.1.93
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/README.md +238 -238
- package/dist/controllers/workflow-sse.controller.d.ts +8 -0
- package/dist/controllers/workflow-sse.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-sse.controller.js +46 -0
- package/dist/controllers/workflow-sse.controller.js.map +1 -0
- package/dist/modules/circle/actions/create-transaction.action.d.ts.map +1 -1
- package/dist/modules/circle/actions/create-transaction.action.js +57 -7
- package/dist/modules/circle/actions/create-transaction.action.js.map +1 -1
- package/dist/modules/circle/actions/get-token.action.d.ts +3 -0
- package/dist/modules/circle/actions/get-token.action.d.ts.map +1 -0
- package/dist/modules/circle/actions/get-token.action.js +94 -0
- package/dist/modules/circle/actions/get-token.action.js.map +1 -0
- package/dist/modules/circle/actions/index.d.ts +1 -0
- package/dist/modules/circle/actions/index.d.ts.map +1 -1
- package/dist/modules/circle/actions/index.js +1 -0
- package/dist/modules/circle/actions/index.js.map +1 -1
- package/dist/modules/circle/circle-nest.module.d.ts.map +1 -1
- package/dist/modules/circle/circle-nest.module.js +2 -0
- package/dist/modules/circle/circle-nest.module.js.map +1 -1
- package/dist/modules/circle/circle.module.d.ts.map +1 -1
- package/dist/modules/circle/circle.module.js +1 -0
- package/dist/modules/circle/circle.module.js.map +1 -1
- package/dist/modules/circle/services/create-transaction.service.d.ts.map +1 -1
- package/dist/modules/circle/services/create-transaction.service.js +22 -1
- package/dist/modules/circle/services/create-transaction.service.js.map +1 -1
- package/dist/modules/circle/services/get-token.service.d.ts +8 -0
- package/dist/modules/circle/services/get-token.service.d.ts.map +1 -0
- package/dist/modules/circle/services/get-token.service.js +51 -0
- package/dist/modules/circle/services/get-token.service.js.map +1 -0
- package/dist/modules/circle/services/index.d.ts +1 -0
- package/dist/modules/circle/services/index.d.ts.map +1 -1
- package/dist/modules/circle/services/index.js +1 -0
- package/dist/modules/circle/services/index.js.map +1 -1
- package/dist/modules/conditional/actions/index.d.ts +1 -0
- package/dist/modules/conditional/actions/index.d.ts.map +1 -1
- package/dist/modules/conditional/actions/index.js +1 -0
- package/dist/modules/conditional/actions/index.js.map +1 -1
- package/dist/modules/conditional/actions/map-value.action.d.ts +3 -0
- package/dist/modules/conditional/actions/map-value.action.d.ts.map +1 -0
- package/dist/modules/conditional/actions/map-value.action.js +122 -0
- package/dist/modules/conditional/actions/map-value.action.js.map +1 -0
- package/dist/modules/conditional/conditional-nest.module.d.ts.map +1 -1
- package/dist/modules/conditional/conditional-nest.module.js +7 -2
- package/dist/modules/conditional/conditional-nest.module.js.map +1 -1
- package/dist/modules/conditional/conditional.module.js +1 -1
- package/dist/modules/conditional/conditional.module.js.map +1 -1
- package/dist/modules/conditional/services/evaluate-condition.service.d.ts.map +1 -1
- package/dist/modules/conditional/services/evaluate-condition.service.js +11 -1
- package/dist/modules/conditional/services/evaluate-condition.service.js.map +1 -1
- package/dist/modules/conditional/services/index.d.ts +1 -0
- package/dist/modules/conditional/services/index.d.ts.map +1 -1
- package/dist/modules/conditional/services/index.js +1 -0
- package/dist/modules/conditional/services/index.js.map +1 -1
- package/dist/modules/conditional/services/map-value.service.d.ts +5 -0
- package/dist/modules/conditional/services/map-value.service.d.ts.map +1 -0
- package/dist/modules/conditional/services/map-value.service.js +108 -0
- package/dist/modules/conditional/services/map-value.service.js.map +1 -0
- package/dist/modules/events/actions/send-event.action.js +3 -3
- package/dist/modules/events/actions/send-event.action.js.map +1 -1
- package/dist/modules/events/services/send-event.service.d.ts +1 -0
- package/dist/modules/events/services/send-event.service.d.ts.map +1 -1
- package/dist/modules/events/services/send-event.service.js +36 -7
- package/dist/modules/events/services/send-event.service.js.map +1 -1
- package/dist/modules/fintech/actions/add-balance.action.js +4 -4
- package/dist/modules/fintech/actions/add-balance.action.js.map +1 -1
- package/dist/modules/fintech/actions/complete-remittance.action.d.ts +3 -0
- package/dist/modules/fintech/actions/complete-remittance.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/complete-remittance.action.js +93 -0
- package/dist/modules/fintech/actions/complete-remittance.action.js.map +1 -0
- package/dist/modules/fintech/actions/create-operation.action.d.ts.map +1 -1
- package/dist/modules/fintech/actions/create-operation.action.js +33 -12
- package/dist/modules/fintech/actions/create-operation.action.js.map +1 -1
- package/dist/modules/fintech/actions/create-remittance.action.d.ts +3 -0
- package/dist/modules/fintech/actions/create-remittance.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/create-remittance.action.js +208 -0
- package/dist/modules/fintech/actions/create-remittance.action.js.map +1 -0
- package/dist/modules/fintech/actions/create-transaction.action.d.ts.map +1 -1
- package/dist/modules/fintech/actions/create-transaction.action.js +30 -8
- package/dist/modules/fintech/actions/create-transaction.action.js.map +1 -1
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js +80 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js.map +1 -0
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js +122 -0
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js +113 -0
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-id.action.js +83 -0
- package/dist/modules/fintech/actions/get-remittance-by-id.action.js.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.js +65 -0
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.js.map +1 -0
- package/dist/modules/fintech/actions/index.d.ts +8 -0
- package/dist/modules/fintech/actions/index.d.ts.map +1 -1
- package/dist/modules/fintech/actions/index.js +8 -0
- package/dist/modules/fintech/actions/index.js.map +1 -1
- package/dist/modules/fintech/actions/process-remittance-step.action.d.ts +3 -0
- package/dist/modules/fintech/actions/process-remittance-step.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/process-remittance-step.action.js +119 -0
- package/dist/modules/fintech/actions/process-remittance-step.action.js.map +1 -0
- package/dist/modules/fintech/actions/subtract-balance.action.js +4 -4
- package/dist/modules/fintech/actions/subtract-balance.action.js.map +1 -1
- package/dist/modules/fintech/fintech-nest.module.d.ts.map +1 -1
- package/dist/modules/fintech/fintech-nest.module.js +16 -0
- package/dist/modules/fintech/fintech-nest.module.js.map +1 -1
- package/dist/modules/fintech/fintech.module.d.ts.map +1 -1
- package/dist/modules/fintech/fintech.module.js +9 -1
- package/dist/modules/fintech/fintech.module.js.map +1 -1
- package/dist/modules/fintech/services/complete-remittance.service.d.ts +8 -0
- package/dist/modules/fintech/services/complete-remittance.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/complete-remittance.service.js +52 -0
- package/dist/modules/fintech/services/complete-remittance.service.js.map +1 -0
- package/dist/modules/fintech/services/create-operation.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/create-operation.service.js +6 -2
- package/dist/modules/fintech/services/create-operation.service.js.map +1 -1
- package/dist/modules/fintech/services/create-remittance.service.d.ts +8 -0
- package/dist/modules/fintech/services/create-remittance.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/create-remittance.service.js +65 -0
- package/dist/modules/fintech/services/create-remittance.service.js.map +1 -0
- package/dist/modules/fintech/services/create-transaction.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/create-transaction.service.js +6 -2
- package/dist/modules/fintech/services/create-transaction.service.js.map +1 -1
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js +47 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js.map +1 -0
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js +127 -0
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js.map +1 -0
- package/dist/modules/fintech/services/get-operation.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/get-operation.service.js +3 -1
- package/dist/modules/fintech/services/get-operation.service.js.map +1 -1
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js +61 -0
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js.map +1 -0
- package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-remittance-by-id.service.js +48 -0
- package/dist/modules/fintech/services/get-remittance-by-id.service.js.map +1 -0
- package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-remittance-by-reference.service.js +48 -0
- package/dist/modules/fintech/services/get-remittance-by-reference.service.js.map +1 -0
- package/dist/modules/fintech/services/get-transaction.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/get-transaction.service.js +3 -1
- package/dist/modules/fintech/services/get-transaction.service.js.map +1 -1
- package/dist/modules/fintech/services/index.d.ts +8 -0
- package/dist/modules/fintech/services/index.d.ts.map +1 -1
- package/dist/modules/fintech/services/index.js +8 -0
- package/dist/modules/fintech/services/index.js.map +1 -1
- package/dist/modules/fintech/services/process-remittance-step.service.d.ts +8 -0
- package/dist/modules/fintech/services/process-remittance-step.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/process-remittance-step.service.js +59 -0
- package/dist/modules/fintech/services/process-remittance-step.service.js.map +1 -0
- package/dist/modules/fintech/services/update-operation-status.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/update-operation-status.service.js +3 -1
- package/dist/modules/fintech/services/update-operation-status.service.js.map +1 -1
- package/dist/modules/inbestgo/actions/create-transaction.action.d.ts +3 -0
- package/dist/modules/inbestgo/actions/create-transaction.action.d.ts.map +1 -0
- package/dist/modules/inbestgo/actions/create-transaction.action.js +132 -0
- package/dist/modules/inbestgo/actions/create-transaction.action.js.map +1 -0
- package/dist/modules/inbestgo/actions/index.d.ts +3 -0
- package/dist/modules/inbestgo/actions/index.d.ts.map +1 -0
- package/dist/modules/inbestgo/actions/index.js +19 -0
- package/dist/modules/inbestgo/actions/index.js.map +1 -0
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts +3 -0
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts.map +1 -0
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js +76 -0
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js.map +1 -0
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts +8 -0
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts.map +1 -0
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.js +75 -0
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.js.map +1 -0
- package/dist/modules/inbestgo/auth/index.d.ts +2 -0
- package/dist/modules/inbestgo/auth/index.d.ts.map +1 -0
- package/dist/modules/{capa → inbestgo}/auth/index.js +1 -1
- package/dist/modules/inbestgo/auth/index.js.map +1 -0
- package/dist/modules/inbestgo/credentials.d.ts +3 -0
- package/dist/modules/inbestgo/credentials.d.ts.map +1 -0
- package/dist/modules/inbestgo/credentials.js +32 -0
- package/dist/modules/inbestgo/credentials.js.map +1 -0
- package/dist/modules/inbestgo/inbestgo-nest.module.d.ts +3 -0
- package/dist/modules/inbestgo/inbestgo-nest.module.d.ts.map +1 -0
- package/dist/modules/inbestgo/inbestgo-nest.module.js +29 -0
- package/dist/modules/inbestgo/inbestgo-nest.module.js.map +1 -0
- package/dist/modules/inbestgo/inbestgo.module.d.ts +3 -0
- package/dist/modules/inbestgo/inbestgo.module.d.ts.map +1 -0
- package/dist/modules/inbestgo/inbestgo.module.js +21 -0
- package/dist/modules/inbestgo/inbestgo.module.js.map +1 -0
- package/dist/modules/inbestgo/services/create-transaction.service.d.ts +8 -0
- package/dist/modules/inbestgo/services/create-transaction.service.d.ts.map +1 -0
- package/dist/modules/inbestgo/services/create-transaction.service.js +78 -0
- package/dist/modules/inbestgo/services/create-transaction.service.js.map +1 -0
- package/dist/modules/inbestgo/services/index.d.ts +3 -0
- package/dist/modules/inbestgo/services/index.d.ts.map +1 -0
- package/dist/modules/inbestgo/services/index.js +19 -0
- package/dist/modules/inbestgo/services/index.js.map +1 -0
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts +8 -0
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts.map +1 -0
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js +54 -0
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js.map +1 -0
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +5 -5
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/session/actions/get-session-by-key.action.d.ts +3 -0
- package/dist/modules/session/actions/get-session-by-key.action.d.ts.map +1 -0
- package/dist/modules/session/actions/get-session-by-key.action.js +104 -0
- package/dist/modules/session/actions/get-session-by-key.action.js.map +1 -0
- package/dist/modules/session/actions/index.d.ts +2 -0
- package/dist/modules/session/actions/index.d.ts.map +1 -1
- package/dist/modules/session/actions/index.js +2 -0
- package/dist/modules/session/actions/index.js.map +1 -1
- package/dist/modules/session/actions/save-context-by-key.action.d.ts +3 -0
- package/dist/modules/session/actions/save-context-by-key.action.d.ts.map +1 -0
- package/dist/modules/session/actions/save-context-by-key.action.js +72 -0
- package/dist/modules/session/actions/save-context-by-key.action.js.map +1 -0
- package/dist/modules/session/services/get-session-by-key.service.d.ts +22 -0
- package/dist/modules/session/services/get-session-by-key.service.d.ts.map +1 -0
- package/dist/modules/session/services/get-session-by-key.service.js +62 -0
- package/dist/modules/session/services/get-session-by-key.service.js.map +1 -0
- package/dist/modules/session/services/index.d.ts +2 -0
- package/dist/modules/session/services/index.d.ts.map +1 -1
- package/dist/modules/session/services/index.js +2 -0
- package/dist/modules/session/services/index.js.map +1 -1
- package/dist/modules/session/services/save-context-by-key.service.d.ts +10 -0
- package/dist/modules/session/services/save-context-by-key.service.d.ts.map +1 -0
- package/dist/modules/session/services/save-context-by-key.service.js +63 -0
- package/dist/modules/session/services/save-context-by-key.service.js.map +1 -0
- package/dist/modules/session/services/set-session-variable.service.d.ts +3 -3
- package/dist/modules/session/services/set-session-variable.service.d.ts.map +1 -1
- package/dist/modules/session/services/set-session-variable.service.js +5 -5
- package/dist/modules/session/services/set-session-variable.service.js.map +1 -1
- package/dist/modules/session/session-nest.module.d.ts.map +1 -1
- package/dist/modules/session/session-nest.module.js +2 -2
- package/dist/modules/session/session-nest.module.js.map +1 -1
- package/dist/modules/session/session.module.js +1 -1
- package/dist/modules/session/session.module.js.map +1 -1
- package/dist/modules/toolbox/actions/empty-action.action.d.ts +3 -0
- package/dist/modules/toolbox/actions/empty-action.action.d.ts.map +1 -0
- package/dist/modules/toolbox/actions/empty-action.action.js +29 -0
- package/dist/modules/toolbox/actions/empty-action.action.js.map +1 -0
- package/dist/modules/toolbox/actions/index.d.ts +1 -0
- package/dist/modules/toolbox/actions/index.d.ts.map +1 -1
- package/dist/modules/toolbox/actions/index.js +1 -0
- package/dist/modules/toolbox/actions/index.js.map +1 -1
- package/dist/modules/toolbox/services/empty-action.service.d.ts +6 -0
- package/dist/modules/toolbox/services/empty-action.service.d.ts.map +1 -0
- package/dist/modules/toolbox/services/empty-action.service.js +28 -0
- package/dist/modules/toolbox/services/empty-action.service.js.map +1 -0
- package/dist/modules/toolbox/services/index.d.ts +1 -0
- package/dist/modules/toolbox/services/index.d.ts.map +1 -1
- package/dist/modules/toolbox/services/index.js +1 -0
- package/dist/modules/toolbox/services/index.js.map +1 -1
- package/dist/modules/toolbox/toolbox-nest.module.d.ts.map +1 -1
- package/dist/modules/toolbox/toolbox-nest.module.js +12 -2
- package/dist/modules/toolbox/toolbox-nest.module.js.map +1 -1
- package/dist/modules/toolbox/toolbox.module.d.ts.map +1 -1
- package/dist/modules/toolbox/toolbox.module.js +1 -1
- package/dist/modules/toolbox/toolbox.module.js.map +1 -1
- package/dist/modules/types.d.ts +1 -0
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/types.js.map +1 -1
- package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts +3 -0
- package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts.map +1 -0
- package/dist/modules/user/actions/get-or-create-user-by-params.action.js +284 -0
- package/dist/modules/user/actions/get-or-create-user-by-params.action.js.map +1 -0
- package/dist/modules/user/actions/get-or-create-user.action.d.ts.map +1 -1
- package/dist/modules/user/actions/get-or-create-user.action.js +12 -2
- package/dist/modules/user/actions/get-or-create-user.action.js.map +1 -1
- package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts +8 -0
- package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts.map +1 -0
- package/dist/modules/user/services/get-or-create-user-by-params.service.js +175 -0
- package/dist/modules/user/services/get-or-create-user-by-params.service.js.map +1 -0
- package/dist/modules/user/services/get-or-create-user.service.d.ts.map +1 -1
- package/dist/modules/user/services/get-or-create-user.service.js +42 -3
- package/dist/modules/user/services/get-or-create-user.service.js.map +1 -1
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +2 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -1
- package/dist/modules/webhook/controllers/webhook-receiver.controller.js +14 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.js.map +1 -1
- package/dist/services/workflow-execution.service.d.ts +3 -3
- package/dist/services/workflow-execution.service.d.ts.map +1 -1
- package/dist/services/workflow-execution.service.js +96 -28
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/services/workflow-sse.service.d.ts +29 -0
- package/dist/services/workflow-sse.service.d.ts.map +1 -0
- package/dist/services/workflow-sse.service.js +155 -0
- package/dist/services/workflow-sse.service.js.map +1 -0
- package/dist/workflow-core.module.d.ts.map +1 -1
- package/dist/workflow-core.module.js +5 -0
- package/dist/workflow-core.module.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +0 -3
- package/dist/workflow.module.js.map +1 -1
- package/package.json +102 -102
- package/dist/modules/capa/actions/cancel-transaction.action.d.ts +0 -3
- package/dist/modules/capa/actions/cancel-transaction.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/cancel-transaction.action.js +0 -58
- package/dist/modules/capa/actions/cancel-transaction.action.js.map +0 -1
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.js +0 -143
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.js.map +0 -1
- package/dist/modules/capa/actions/create-cross-ramp.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-cross-ramp.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-cross-ramp.action.js +0 -158
- package/dist/modules/capa/actions/create-cross-ramp.action.js.map +0 -1
- package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-kyb-verification-link.action.js +0 -50
- package/dist/modules/capa/actions/create-kyb-verification-link.action.js.map +0 -1
- package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-kyc-verification-link.action.js +0 -50
- package/dist/modules/capa/actions/create-kyc-verification-link.action.js.map +0 -1
- package/dist/modules/capa/actions/create-off-ramp.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-off-ramp.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-off-ramp.action.js +0 -195
- package/dist/modules/capa/actions/create-off-ramp.action.js.map +0 -1
- package/dist/modules/capa/actions/create-on-ramp.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-on-ramp.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-on-ramp.action.js +0 -195
- package/dist/modules/capa/actions/create-on-ramp.action.js.map +0 -1
- package/dist/modules/capa/actions/create-quote.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-quote.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-quote.action.js +0 -156
- package/dist/modules/capa/actions/create-quote.action.js.map +0 -1
- package/dist/modules/capa/actions/create-receiver.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-receiver.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-receiver.action.js +0 -217
- package/dist/modules/capa/actions/create-receiver.action.js.map +0 -1
- package/dist/modules/capa/actions/create-user-kyc.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-user-kyc.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-user-kyc.action.js +0 -90
- package/dist/modules/capa/actions/create-user-kyc.action.js.map +0 -1
- package/dist/modules/capa/actions/create-user.action.d.ts +0 -3
- package/dist/modules/capa/actions/create-user.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/create-user.action.js +0 -110
- package/dist/modules/capa/actions/create-user.action.js.map +0 -1
- package/dist/modules/capa/actions/delete-receiver.action.d.ts +0 -3
- package/dist/modules/capa/actions/delete-receiver.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/delete-receiver.action.js +0 -56
- package/dist/modules/capa/actions/delete-receiver.action.js.map +0 -1
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.js +0 -143
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.js.map +0 -1
- package/dist/modules/capa/actions/get-kyb-details.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-kyb-details.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-kyb-details.action.js +0 -64
- package/dist/modules/capa/actions/get-kyb-details.action.js.map +0 -1
- package/dist/modules/capa/actions/get-kyc-details.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-kyc-details.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-kyc-details.action.js +0 -100
- package/dist/modules/capa/actions/get-kyc-details.action.js.map +0 -1
- package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-mock-testing-guide.action.js +0 -23
- package/dist/modules/capa/actions/get-mock-testing-guide.action.js.map +0 -1
- package/dist/modules/capa/actions/get-quote.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-quote.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-quote.action.js +0 -156
- package/dist/modules/capa/actions/get-quote.action.js.map +0 -1
- package/dist/modules/capa/actions/get-user-agreements.action.d.ts +0 -3
- package/dist/modules/capa/actions/get-user-agreements.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/get-user-agreements.action.js +0 -40
- package/dist/modules/capa/actions/get-user-agreements.action.js.map +0 -1
- package/dist/modules/capa/actions/index.d.ts +0 -23
- package/dist/modules/capa/actions/index.d.ts.map +0 -1
- package/dist/modules/capa/actions/index.js +0 -39
- package/dist/modules/capa/actions/index.js.map +0 -1
- package/dist/modules/capa/actions/list-receivers.action.d.ts +0 -3
- package/dist/modules/capa/actions/list-receivers.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/list-receivers.action.js +0 -51
- package/dist/modules/capa/actions/list-receivers.action.js.map +0 -1
- package/dist/modules/capa/actions/list-transactions.action.d.ts +0 -3
- package/dist/modules/capa/actions/list-transactions.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/list-transactions.action.js +0 -125
- package/dist/modules/capa/actions/list-transactions.action.js.map +0 -1
- package/dist/modules/capa/actions/request-document-signature.action.d.ts +0 -3
- package/dist/modules/capa/actions/request-document-signature.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/request-document-signature.action.js +0 -50
- package/dist/modules/capa/actions/request-document-signature.action.js.map +0 -1
- package/dist/modules/capa/actions/update-webhook-settings.action.d.ts +0 -3
- package/dist/modules/capa/actions/update-webhook-settings.action.d.ts.map +0 -1
- package/dist/modules/capa/actions/update-webhook-settings.action.js +0 -52
- package/dist/modules/capa/actions/update-webhook-settings.action.js.map +0 -1
- package/dist/modules/capa/auth/capa-auth.service.d.ts +0 -8
- package/dist/modules/capa/auth/capa-auth.service.d.ts.map +0 -1
- package/dist/modules/capa/auth/capa-auth.service.js +0 -94
- package/dist/modules/capa/auth/capa-auth.service.js.map +0 -1
- package/dist/modules/capa/auth/index.d.ts +0 -2
- package/dist/modules/capa/auth/index.d.ts.map +0 -1
- package/dist/modules/capa/auth/index.js.map +0 -1
- package/dist/modules/capa/capa-nest.module.d.ts +0 -3
- package/dist/modules/capa/capa-nest.module.d.ts.map +0 -1
- package/dist/modules/capa/capa-nest.module.js +0 -72
- package/dist/modules/capa/capa-nest.module.js.map +0 -1
- package/dist/modules/capa/capa.module.d.ts +0 -3
- package/dist/modules/capa/capa.module.d.ts.map +0 -1
- package/dist/modules/capa/capa.module.js +0 -42
- package/dist/modules/capa/capa.module.js.map +0 -1
- package/dist/modules/capa/credentials.d.ts +0 -3
- package/dist/modules/capa/credentials.d.ts.map +0 -1
- package/dist/modules/capa/credentials.js +0 -46
- package/dist/modules/capa/credentials.js.map +0 -1
- package/dist/modules/capa/services/cancel-transaction.service.d.ts +0 -9
- package/dist/modules/capa/services/cancel-transaction.service.d.ts.map +0 -1
- package/dist/modules/capa/services/cancel-transaction.service.js +0 -45
- package/dist/modules/capa/services/cancel-transaction.service.js.map +0 -1
- package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts +0 -9
- package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-cross-ramp-quote.service.js +0 -75
- package/dist/modules/capa/services/create-cross-ramp-quote.service.js.map +0 -1
- package/dist/modules/capa/services/create-cross-ramp.service.d.ts +0 -9
- package/dist/modules/capa/services/create-cross-ramp.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-cross-ramp.service.js +0 -66
- package/dist/modules/capa/services/create-cross-ramp.service.js.map +0 -1
- package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts +0 -9
- package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-kyb-verification-link.service.js +0 -47
- package/dist/modules/capa/services/create-kyb-verification-link.service.js.map +0 -1
- package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts +0 -9
- package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-kyc-verification-link.service.js +0 -47
- package/dist/modules/capa/services/create-kyc-verification-link.service.js.map +0 -1
- package/dist/modules/capa/services/create-off-ramp.service.d.ts +0 -9
- package/dist/modules/capa/services/create-off-ramp.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-off-ramp.service.js +0 -80
- package/dist/modules/capa/services/create-off-ramp.service.js.map +0 -1
- package/dist/modules/capa/services/create-on-ramp.service.d.ts +0 -9
- package/dist/modules/capa/services/create-on-ramp.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-on-ramp.service.js +0 -80
- package/dist/modules/capa/services/create-on-ramp.service.js.map +0 -1
- package/dist/modules/capa/services/create-quote.service.d.ts +0 -9
- package/dist/modules/capa/services/create-quote.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-quote.service.js +0 -77
- package/dist/modules/capa/services/create-quote.service.js.map +0 -1
- package/dist/modules/capa/services/create-receiver.service.d.ts +0 -9
- package/dist/modules/capa/services/create-receiver.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-receiver.service.js +0 -79
- package/dist/modules/capa/services/create-receiver.service.js.map +0 -1
- package/dist/modules/capa/services/create-user-kyc.service.d.ts +0 -9
- package/dist/modules/capa/services/create-user-kyc.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-user-kyc.service.js +0 -54
- package/dist/modules/capa/services/create-user-kyc.service.js.map +0 -1
- package/dist/modules/capa/services/create-user.service.d.ts +0 -9
- package/dist/modules/capa/services/create-user.service.d.ts.map +0 -1
- package/dist/modules/capa/services/create-user.service.js +0 -57
- package/dist/modules/capa/services/create-user.service.js.map +0 -1
- package/dist/modules/capa/services/delete-receiver.service.d.ts +0 -9
- package/dist/modules/capa/services/delete-receiver.service.d.ts.map +0 -1
- package/dist/modules/capa/services/delete-receiver.service.js +0 -47
- package/dist/modules/capa/services/delete-receiver.service.js.map +0 -1
- package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts +0 -9
- package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-cross-ramp-quote.service.js +0 -75
- package/dist/modules/capa/services/get-cross-ramp-quote.service.js.map +0 -1
- package/dist/modules/capa/services/get-kyb-details.service.d.ts +0 -9
- package/dist/modules/capa/services/get-kyb-details.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-kyb-details.service.js +0 -46
- package/dist/modules/capa/services/get-kyb-details.service.js.map +0 -1
- package/dist/modules/capa/services/get-kyc-details.service.d.ts +0 -9
- package/dist/modules/capa/services/get-kyc-details.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-kyc-details.service.js +0 -52
- package/dist/modules/capa/services/get-kyc-details.service.js.map +0 -1
- package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts +0 -9
- package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-mock-testing-guide.service.js +0 -37
- package/dist/modules/capa/services/get-mock-testing-guide.service.js.map +0 -1
- package/dist/modules/capa/services/get-quote.service.d.ts +0 -9
- package/dist/modules/capa/services/get-quote.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-quote.service.js +0 -77
- package/dist/modules/capa/services/get-quote.service.js.map +0 -1
- package/dist/modules/capa/services/get-user-agreements.service.d.ts +0 -9
- package/dist/modules/capa/services/get-user-agreements.service.d.ts.map +0 -1
- package/dist/modules/capa/services/get-user-agreements.service.js +0 -42
- package/dist/modules/capa/services/get-user-agreements.service.js.map +0 -1
- package/dist/modules/capa/services/index.d.ts +0 -23
- package/dist/modules/capa/services/index.d.ts.map +0 -1
- package/dist/modules/capa/services/index.js +0 -39
- package/dist/modules/capa/services/index.js.map +0 -1
- package/dist/modules/capa/services/list-receivers.service.d.ts +0 -9
- package/dist/modules/capa/services/list-receivers.service.d.ts.map +0 -1
- package/dist/modules/capa/services/list-receivers.service.js +0 -45
- package/dist/modules/capa/services/list-receivers.service.js.map +0 -1
- package/dist/modules/capa/services/list-transactions.service.d.ts +0 -9
- package/dist/modules/capa/services/list-transactions.service.d.ts.map +0 -1
- package/dist/modules/capa/services/list-transactions.service.js +0 -58
- package/dist/modules/capa/services/list-transactions.service.js.map +0 -1
- package/dist/modules/capa/services/request-document-signature.service.d.ts +0 -9
- package/dist/modules/capa/services/request-document-signature.service.d.ts.map +0 -1
- package/dist/modules/capa/services/request-document-signature.service.js +0 -46
- package/dist/modules/capa/services/request-document-signature.service.js.map +0 -1
- package/dist/modules/capa/services/update-webhook-settings.service.d.ts +0 -9
- package/dist/modules/capa/services/update-webhook-settings.service.d.ts.map +0 -1
- package/dist/modules/capa/services/update-webhook-settings.service.js +0 -47
- package/dist/modules/capa/services/update-webhook-settings.service.js.map +0 -1
- package/dist/modules/capa/triggers/index.d.ts +0 -3
- package/dist/modules/capa/triggers/index.d.ts.map +0 -1
- package/dist/modules/capa/triggers/index.js +0 -5
- package/dist/modules/capa/triggers/index.js.map +0 -1
- package/dist/modules/capa/utils/capa-credentials.util.d.ts +0 -4
- package/dist/modules/capa/utils/capa-credentials.util.d.ts.map +0 -1
- package/dist/modules/capa/utils/capa-credentials.util.js +0 -24
- package/dist/modules/capa/utils/capa-credentials.util.js.map +0 -1
- package/dist/modules/capa/utils/capa-query.util.d.ts +0 -4
- package/dist/modules/capa/utils/capa-query.util.d.ts.map +0 -1
- package/dist/modules/capa/utils/capa-query.util.js +0 -55
- package/dist/modules/capa/utils/capa-query.util.js.map +0 -1
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WorkflowSSEService = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const rxjs_1 = require("rxjs");
|
|
12
|
+
let WorkflowSSEService = class WorkflowSSEService {
|
|
13
|
+
eventSubjects = new Map();
|
|
14
|
+
getEventSubject(workflowId) {
|
|
15
|
+
if (!this.eventSubjects.has(workflowId)) {
|
|
16
|
+
this.eventSubjects.set(workflowId, new rxjs_1.Subject());
|
|
17
|
+
}
|
|
18
|
+
return this.eventSubjects.get(workflowId);
|
|
19
|
+
}
|
|
20
|
+
subscribe(workflowId) {
|
|
21
|
+
return this.getEventSubject(workflowId).asObservable();
|
|
22
|
+
}
|
|
23
|
+
emitWorkflowStarted(workflowId, workflowExecutionId, data) {
|
|
24
|
+
const event = {
|
|
25
|
+
type: 'workflow.started',
|
|
26
|
+
workflowId,
|
|
27
|
+
workflowExecutionId,
|
|
28
|
+
status: 'running',
|
|
29
|
+
timestamp: new Date(),
|
|
30
|
+
data,
|
|
31
|
+
};
|
|
32
|
+
this.emit(workflowId, event);
|
|
33
|
+
}
|
|
34
|
+
emitWorkflowCompleted(workflowId, workflowExecutionId, data) {
|
|
35
|
+
const event = {
|
|
36
|
+
type: 'workflow.completed',
|
|
37
|
+
workflowId,
|
|
38
|
+
workflowExecutionId,
|
|
39
|
+
status: 'completed',
|
|
40
|
+
timestamp: new Date(),
|
|
41
|
+
data,
|
|
42
|
+
};
|
|
43
|
+
this.emit(workflowId, event);
|
|
44
|
+
}
|
|
45
|
+
emitWorkflowFailed(workflowId, workflowExecutionId, errorMessage, data) {
|
|
46
|
+
const event = {
|
|
47
|
+
type: 'workflow.failed',
|
|
48
|
+
workflowId,
|
|
49
|
+
workflowExecutionId,
|
|
50
|
+
status: 'failed',
|
|
51
|
+
timestamp: new Date(),
|
|
52
|
+
errorMessage,
|
|
53
|
+
data,
|
|
54
|
+
};
|
|
55
|
+
this.emit(workflowId, event);
|
|
56
|
+
}
|
|
57
|
+
emitNodeStarted(workflowId, workflowExecutionId, nodeId, nodeLabel) {
|
|
58
|
+
const event = {
|
|
59
|
+
type: 'node.started',
|
|
60
|
+
workflowId,
|
|
61
|
+
workflowExecutionId,
|
|
62
|
+
nodeId,
|
|
63
|
+
nodeLabel,
|
|
64
|
+
status: 'running',
|
|
65
|
+
timestamp: new Date(),
|
|
66
|
+
};
|
|
67
|
+
this.emit(workflowId, event);
|
|
68
|
+
}
|
|
69
|
+
emitNodeRunning(workflowId, workflowExecutionId, nodeId, nodeLabel, data) {
|
|
70
|
+
const event = {
|
|
71
|
+
type: 'node.running',
|
|
72
|
+
workflowId,
|
|
73
|
+
workflowExecutionId,
|
|
74
|
+
nodeId,
|
|
75
|
+
nodeLabel,
|
|
76
|
+
status: 'running',
|
|
77
|
+
timestamp: new Date(),
|
|
78
|
+
data,
|
|
79
|
+
};
|
|
80
|
+
this.emit(workflowId, event);
|
|
81
|
+
}
|
|
82
|
+
emitNodeCompleted(workflowId, workflowExecutionId, nodeId, nodeLabel, data) {
|
|
83
|
+
const event = {
|
|
84
|
+
type: 'node.completed',
|
|
85
|
+
workflowId,
|
|
86
|
+
workflowExecutionId,
|
|
87
|
+
nodeId,
|
|
88
|
+
nodeLabel,
|
|
89
|
+
status: 'completed',
|
|
90
|
+
timestamp: new Date(),
|
|
91
|
+
data,
|
|
92
|
+
};
|
|
93
|
+
this.emit(workflowId, event);
|
|
94
|
+
}
|
|
95
|
+
emitNodeFailed(workflowId, workflowExecutionId, nodeId, nodeLabel, errorMessage, data) {
|
|
96
|
+
const event = {
|
|
97
|
+
type: 'node.failed',
|
|
98
|
+
workflowId,
|
|
99
|
+
workflowExecutionId,
|
|
100
|
+
nodeId,
|
|
101
|
+
nodeLabel,
|
|
102
|
+
status: 'failed',
|
|
103
|
+
timestamp: new Date(),
|
|
104
|
+
errorMessage,
|
|
105
|
+
data,
|
|
106
|
+
};
|
|
107
|
+
this.emit(workflowId, event);
|
|
108
|
+
}
|
|
109
|
+
emit(workflowId, event) {
|
|
110
|
+
const subject = this.eventSubjects.get(workflowId);
|
|
111
|
+
if (subject) {
|
|
112
|
+
subject.next(event);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
cleanup(workflowId) {
|
|
116
|
+
const subject = this.eventSubjects.get(workflowId);
|
|
117
|
+
if (subject) {
|
|
118
|
+
subject.complete();
|
|
119
|
+
this.eventSubjects.delete(workflowId);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
createEventStream(res, workflowId) {
|
|
123
|
+
res.setHeader('Content-Type', 'text/event-stream');
|
|
124
|
+
res.setHeader('Cache-Control', 'no-cache');
|
|
125
|
+
res.setHeader('Connection', 'keep-alive');
|
|
126
|
+
res.setHeader('X-Accel-Buffering', 'no');
|
|
127
|
+
res.write(`data: ${JSON.stringify({ type: 'connected', workflowId, timestamp: new Date() })}\n\n`);
|
|
128
|
+
const subscription = this.subscribe(workflowId).subscribe({
|
|
129
|
+
next: (event) => {
|
|
130
|
+
res.write(`data: ${JSON.stringify(event)}\n\n`);
|
|
131
|
+
},
|
|
132
|
+
error: (error) => {
|
|
133
|
+
console.error('SSE error:', error);
|
|
134
|
+
res.end();
|
|
135
|
+
},
|
|
136
|
+
complete: () => {
|
|
137
|
+
res.end();
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
res.on('close', () => {
|
|
141
|
+
subscription.unsubscribe();
|
|
142
|
+
});
|
|
143
|
+
const keepAliveInterval = setInterval(() => {
|
|
144
|
+
res.write(':keep-alive\n\n');
|
|
145
|
+
}, 30000);
|
|
146
|
+
res.on('close', () => {
|
|
147
|
+
clearInterval(keepAliveInterval);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
exports.WorkflowSSEService = WorkflowSSEService;
|
|
152
|
+
exports.WorkflowSSEService = WorkflowSSEService = __decorate([
|
|
153
|
+
(0, common_1.Injectable)()
|
|
154
|
+
], WorkflowSSEService);
|
|
155
|
+
//# sourceMappingURL=workflow-sse.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-sse.service.js","sourceRoot":"","sources":["../../src/services/workflow-sse.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-core.module.d.ts","sourceRoot":"","sources":["../src/workflow-core.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-core.module.d.ts","sourceRoot":"","sources":["../src/workflow-core.module.ts"],"names":[],"mappings":"AA2BA,qBA6Ca,kBAAkB;CAAG"}
|
|
@@ -12,6 +12,7 @@ const typeorm_1 = require("@nestjs/typeorm");
|
|
|
12
12
|
const workflow_module_credential_controller_1 = require("./controllers/workflow-module-credential.controller");
|
|
13
13
|
const workflow_node_controller_1 = require("./controllers/workflow-node.controller");
|
|
14
14
|
const workflow_node_execution_controller_1 = require("./controllers/workflow-node-execution.controller");
|
|
15
|
+
const workflow_sse_controller_1 = require("./controllers/workflow-sse.controller");
|
|
15
16
|
const workflow_entity_1 = require("./entities/workflow.entity");
|
|
16
17
|
const workflow_edge_entity_1 = require("./entities/workflow-edge.entity");
|
|
17
18
|
const workflow_execution_entity_1 = require("./entities/workflow-execution.entity");
|
|
@@ -30,6 +31,7 @@ const workflow_node_service_1 = require("./services/workflow-node.service");
|
|
|
30
31
|
const workflow_node_execution_service_1 = require("./services/workflow-node-execution.service");
|
|
31
32
|
const workflow_session_service_1 = require("./services/workflow-session.service");
|
|
32
33
|
const workflow_webhook_service_1 = require("./services/workflow-webhook.service");
|
|
34
|
+
const workflow_sse_service_1 = require("./services/workflow-sse.service");
|
|
33
35
|
let WorkflowCoreModule = class WorkflowCoreModule {
|
|
34
36
|
};
|
|
35
37
|
exports.WorkflowCoreModule = WorkflowCoreModule;
|
|
@@ -52,6 +54,7 @@ exports.WorkflowCoreModule = WorkflowCoreModule = __decorate([
|
|
|
52
54
|
workflow_node_controller_1.WorkflowNodeController,
|
|
53
55
|
workflow_node_execution_controller_1.WorkflowNodeExecutionController,
|
|
54
56
|
workflow_module_credential_controller_1.WorkflowModuleCredentialController,
|
|
57
|
+
workflow_sse_controller_1.WorkflowSSEController,
|
|
55
58
|
],
|
|
56
59
|
providers: [
|
|
57
60
|
workflow_service_1.WorkflowService,
|
|
@@ -63,6 +66,7 @@ exports.WorkflowCoreModule = WorkflowCoreModule = __decorate([
|
|
|
63
66
|
workflow_module_credential_service_1.WorkflowModuleCredentialService,
|
|
64
67
|
workflow_module_service_1.WorkflowModuleService,
|
|
65
68
|
workflow_webhook_service_1.WorkflowWebhookService,
|
|
69
|
+
workflow_sse_service_1.WorkflowSSEService,
|
|
66
70
|
],
|
|
67
71
|
exports: [
|
|
68
72
|
workflow_service_1.WorkflowService,
|
|
@@ -74,6 +78,7 @@ exports.WorkflowCoreModule = WorkflowCoreModule = __decorate([
|
|
|
74
78
|
workflow_module_credential_service_1.WorkflowModuleCredentialService,
|
|
75
79
|
workflow_module_service_1.WorkflowModuleService,
|
|
76
80
|
workflow_webhook_service_1.WorkflowWebhookService,
|
|
81
|
+
workflow_sse_service_1.WorkflowSSEService,
|
|
77
82
|
],
|
|
78
83
|
})
|
|
79
84
|
], WorkflowCoreModule);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-core.module.js","sourceRoot":"","sources":["../src/workflow-core.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,+GAAyG;AACzG,qFAAgF;AAChF,yGAAmG;AACnG,gEAAsD;AACtD,0EAA+D;AAC/D,oFAAyE;AACzE,8EAA2F;AAC3F,oGAAwF;AACxF,0EAA+D;AAC/D,8FAAkF;AAClF,gFAAqE;AACrE,gFAAqE;AACrE,kEAA8D;AAC9D,4EAAuE;AACvE,sFAAiF;AACjF,gFAA2E;AAC3E,sGAAgG;AAChG,4EAAuE;AACvE,gGAA0F;AAC1F,kFAA6E;AAC7E,kFAA6E;
|
|
1
|
+
{"version":3,"file":"workflow-core.module.js","sourceRoot":"","sources":["../src/workflow-core.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,+GAAyG;AACzG,qFAAgF;AAChF,yGAAmG;AACnG,mFAA8E;AAC9E,gEAAsD;AACtD,0EAA+D;AAC/D,oFAAyE;AACzE,8EAA2F;AAC3F,oGAAwF;AACxF,0EAA+D;AAC/D,8FAAkF;AAClF,gFAAqE;AACrE,gFAAqE;AACrE,kEAA8D;AAC9D,4EAAuE;AACvE,sFAAiF;AACjF,gFAA2E;AAC3E,sGAAgG;AAChG,4EAAuE;AACvE,gGAA0F;AAC1F,kFAA6E;AAC7E,kFAA6E;AAC7E,0EAAqE;AA+C9D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IA7C9B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,uBAAa,CAAC,UAAU,CAAC;gBACvB,0BAAQ;gBACR,mCAAY;gBACZ,mCAAY;gBACZ,6CAAiB;gBACjB,sDAAqB;gBACrB,yCAAe;gBACf,4DAAwB;gBACxB,uCAAoB;gBACpB,yCAAe;aAChB,CAAC;SACH;QACD,WAAW,EAAE;YACX,iDAAsB;YACtB,oEAA+B;YAC/B,0EAAkC;YAClC,+CAAqB;SACtB;QACD,SAAS,EAAE;YACT,kCAAe;YACf,2CAAmB;YACnB,8DAA4B;YAC5B,2CAAmB;YACnB,qDAAwB;YACxB,iDAAsB;YACtB,oEAA+B;YAC/B,+CAAqB;YACrB,iDAAsB;YACtB,yCAAkB;SACnB;QACD,OAAO,EAAE;YACP,kCAAe;YACf,2CAAmB;YACnB,8DAA4B;YAC5B,2CAAmB;YACnB,qDAAwB;YACxB,iDAAsB;YACtB,oEAA+B;YAC/B,+CAAqB;YACrB,iDAAsB;YACtB,yCAAkB;SACnB;KACF,CAAC;GACW,kBAAkB,CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.module.d.ts","sourceRoot":"","sources":["../src/workflow.module.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow.module.d.ts","sourceRoot":"","sources":["../src/workflow.module.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,CAAC;AAqBnB,qBAqCa,cAAc;CAAG"}
|
package/dist/workflow.module.js
CHANGED
|
@@ -11,7 +11,6 @@ require("./modules");
|
|
|
11
11
|
const common_1 = require("@nestjs/common");
|
|
12
12
|
const core_1 = require("@venturialstd/core");
|
|
13
13
|
const ai_nest_module_1 = require("./modules/ai/ai-nest.module");
|
|
14
|
-
const capa_nest_module_1 = require("./modules/capa/capa-nest.module");
|
|
15
14
|
const chatbot_nest_module_1 = require("./modules/chatbot/chatbot-nest.module");
|
|
16
15
|
const circle_nest_module_1 = require("./modules/circle/circle-nest.module");
|
|
17
16
|
const conditional_nest_module_1 = require("./modules/conditional/conditional-nest.module");
|
|
@@ -35,7 +34,6 @@ exports.WorkflowModule = WorkflowModule = __decorate([
|
|
|
35
34
|
core_1.SharedModule.forRoot({}),
|
|
36
35
|
workflow_core_module_1.WorkflowCoreModule,
|
|
37
36
|
ai_nest_module_1.AiNestModule,
|
|
38
|
-
capa_nest_module_1.CapaNestModule,
|
|
39
37
|
chatbot_nest_module_1.ChatbotNestModule,
|
|
40
38
|
circle_nest_module_1.CircleNestModule,
|
|
41
39
|
conditional_nest_module_1.ConditionalNestModule,
|
|
@@ -53,7 +51,6 @@ exports.WorkflowModule = WorkflowModule = __decorate([
|
|
|
53
51
|
exports: [
|
|
54
52
|
workflow_core_module_1.WorkflowCoreModule,
|
|
55
53
|
ai_nest_module_1.AiNestModule,
|
|
56
|
-
capa_nest_module_1.CapaNestModule,
|
|
57
54
|
chatbot_nest_module_1.ChatbotNestModule,
|
|
58
55
|
circle_nest_module_1.CircleNestModule,
|
|
59
56
|
conditional_nest_module_1.ConditionalNestModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.module.js","sourceRoot":"","sources":["../src/workflow.module.ts"],"names":[],"mappings":";;;;;;;;;AACA,qBAAmB;AAEnB,2CAAwC;AACxC,6CAAkD;AAElD,gEAA2D;AAC3D
|
|
1
|
+
{"version":3,"file":"workflow.module.js","sourceRoot":"","sources":["../src/workflow.module.ts"],"names":[],"mappings":";;;;;;;;;AACA,qBAAmB;AAEnB,2CAAwC;AACxC,6CAAkD;AAElD,gEAA2D;AAC3D,+EAA0E;AAC1E,4EAAuE;AACvE,2FAAsF;AACtF,4EAAuE;AACvE,+EAA0E;AAC1E,sEAAiE;AACjE,+EAA0E;AAC1E,+EAA0E;AAC1E,4EAAuE;AACvE,sEAAiE;AACjE,wFAAmF;AACnF,yEAAoE;AACpE,+EAA0E;AAC1E,iEAA4D;AAuCrD,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IArC1B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,mBAAY,CAAC,OAAO,CAAC,EAAE,CAAC;YACxB,yCAAkB;YAClB,6BAAY;YACZ,uCAAiB;YACjB,qCAAgB;YAChB,+CAAqB;YACrB,qCAAgB;YAChB,uCAAiB;YACjB,iCAAc;YACd,uCAAiB;YACjB,uCAAiB;YACjB,qCAAgB;YAChB,iCAAc;YACd,6CAAoB;YACpB,mCAAe;YACf,uCAAiB;SAClB;QACD,OAAO,EAAE;YACP,yCAAkB;YAClB,6BAAY;YACZ,uCAAiB;YACjB,qCAAgB;YAChB,+CAAqB;YACrB,qCAAgB;YAChB,uCAAiB;YACjB,iCAAc;YACd,uCAAiB;YACjB,uCAAiB;YACjB,qCAAgB;YAChB,iCAAc;YACd,6CAAoB;YACpB,mCAAe;YACf,uCAAiB;SAClB;KACF,CAAC;GACW,cAAc,CAAG"}
|
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@venturialstd/workflow",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Workflow Module for Venturial",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "commonjs",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc -p tsconfig.json",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"test:
|
|
20
|
-
"
|
|
21
|
-
"migration:
|
|
22
|
-
"migration:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"@dataui/crud
|
|
27
|
-
"@dataui/crud-
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@nestjs/
|
|
31
|
-
"@nestjs/
|
|
32
|
-
"@nestjs/
|
|
33
|
-
"@nestjs/
|
|
34
|
-
"@nestjs/
|
|
35
|
-
"@nestjs/
|
|
36
|
-
"@nestjs/
|
|
37
|
-
"@nestjs/
|
|
38
|
-
"@
|
|
39
|
-
"@types/node": "^20.0.0",
|
|
40
|
-
"@venturialstd/core": "^1.0.16",
|
|
41
|
-
"bcrypt": "^5.1.1",
|
|
42
|
-
"cache-manager": "^6.4.0",
|
|
43
|
-
"class-transformer": "^0.5.1",
|
|
44
|
-
"class-validator": "^0.14.1",
|
|
45
|
-
"dotenv": "^17.2.3",
|
|
46
|
-
"express": "^5.2.1",
|
|
47
|
-
"glob": "^13.0.0",
|
|
48
|
-
"joi": "^17.13.3",
|
|
49
|
-
"jwks-rsa": "^3.1.0",
|
|
50
|
-
"lodash": "^4.17.21",
|
|
51
|
-
"nodemon": "^3.0.0",
|
|
52
|
-
"passport": "^0.7.0",
|
|
53
|
-
"passport-auth0": "^1.4.4",
|
|
54
|
-
"passport-jwt": "^4.0.1",
|
|
55
|
-
"passport-local": "^1.0.0",
|
|
56
|
-
"rxjs": "^7.8.1",
|
|
57
|
-
"ts-node": "^10.9.0",
|
|
58
|
-
"tsconfig-paths": "^4.2.0",
|
|
59
|
-
"typeorm": "^0.3.20",
|
|
60
|
-
"typescript": "^5.9.3",
|
|
61
|
-
"uuid": "^11.0.5",
|
|
62
|
-
"winston": "^3.17.0"
|
|
63
|
-
},
|
|
64
|
-
"peerDependencies": {
|
|
65
|
-
"@dataui/crud": "^5.3.4",
|
|
66
|
-
"@dataui/crud-request": "^5.3.4",
|
|
67
|
-
"@dataui/crud-typeorm": "^5.3.4",
|
|
68
|
-
"@nestjs/cache-manager": "^3.0.0",
|
|
69
|
-
"@nestjs/common": "^11.0.11",
|
|
70
|
-
"@nestjs/config": "^4.0.0",
|
|
71
|
-
"@nestjs/core": "^11.0.5",
|
|
72
|
-
"@nestjs/event-emitter": "^3.0.1",
|
|
73
|
-
"@nestjs/jwt": "^11.0.0",
|
|
74
|
-
"@nestjs/passport": "^11.0.5",
|
|
75
|
-
"@nestjs/swagger": "^11.0.3",
|
|
76
|
-
"@nestjs/typeorm": "^11.0.0",
|
|
77
|
-
"@venturialstd/circle": "^0.0.
|
|
78
|
-
"@venturialstd/core": "^1.0.16",
|
|
79
|
-
"@venturialstd/fintech": "^0.0.
|
|
80
|
-
"@venturialstd/
|
|
81
|
-
"@venturialstd/
|
|
82
|
-
"@venturialstd/
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"class-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"passport
|
|
90
|
-
"passport-
|
|
91
|
-
"passport-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"@venturialstd/user": "^0.0.3",
|
|
99
|
-
"libphonenumber-js": "^1.12.34",
|
|
100
|
-
"pg": "^8.16.3"
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@venturialstd/workflow",
|
|
3
|
+
"version": "0.1.93",
|
|
4
|
+
"description": "Workflow Module for Venturial",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.json",
|
|
16
|
+
"postbuild": "if [ -L ../../../../ommacash/ommacash/ommacash-core/node_modules/@venturialstd/workflow ]; then rm -rf node_modules/@nestjs/core node_modules/@nestjs/typeorm && ln -s ../../../../ommacash/ommacash/ommacash-core/node_modules/@nestjs/core node_modules/@nestjs/core && ln -s ../../../../ommacash/ommacash/ommacash-core/node_modules/@nestjs/typeorm node_modules/@nestjs/typeorm 2>/dev/null || true; fi",
|
|
17
|
+
"prepublishOnly": "npm run build",
|
|
18
|
+
"release:patch": "npm run build && npm version patch --no-git-tag-version && npm publish",
|
|
19
|
+
"test:dev": "ts-node -r tsconfig-paths/register test/main.ts",
|
|
20
|
+
"test:watch": "nodemon --watch src --watch test --ext ts --exec npm run test:dev",
|
|
21
|
+
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate -d test/data-source.ts test/migrations/$npm_config_name",
|
|
22
|
+
"migration:run": "ts-node node_modules/.bin/typeorm migration:run -d test/data-source.ts",
|
|
23
|
+
"migration:revert": "ts-node node_modules/.bin/typeorm migration:revert -d test/data-source.ts"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@dataui/crud": "^5.3.4",
|
|
27
|
+
"@dataui/crud-request": "^5.3.4",
|
|
28
|
+
"@dataui/crud-typeorm": "^5.3.4",
|
|
29
|
+
"@keyv/redis": "^4.2.0",
|
|
30
|
+
"@nestjs/cache-manager": "^3.0.0",
|
|
31
|
+
"@nestjs/common": "^11.0.11",
|
|
32
|
+
"@nestjs/config": "^4.0.0",
|
|
33
|
+
"@nestjs/core": "^11.0.5",
|
|
34
|
+
"@nestjs/jwt": "^11.0.0",
|
|
35
|
+
"@nestjs/passport": "^11.0.5",
|
|
36
|
+
"@nestjs/platform-express": "^11.0.5",
|
|
37
|
+
"@nestjs/swagger": "^11.0.3",
|
|
38
|
+
"@nestjs/typeorm": "^11.0.0",
|
|
39
|
+
"@types/node": "^20.0.0",
|
|
40
|
+
"@venturialstd/core": "^1.0.16",
|
|
41
|
+
"bcrypt": "^5.1.1",
|
|
42
|
+
"cache-manager": "^6.4.0",
|
|
43
|
+
"class-transformer": "^0.5.1",
|
|
44
|
+
"class-validator": "^0.14.1",
|
|
45
|
+
"dotenv": "^17.2.3",
|
|
46
|
+
"express": "^5.2.1",
|
|
47
|
+
"glob": "^13.0.0",
|
|
48
|
+
"joi": "^17.13.3",
|
|
49
|
+
"jwks-rsa": "^3.1.0",
|
|
50
|
+
"lodash": "^4.17.21",
|
|
51
|
+
"nodemon": "^3.0.0",
|
|
52
|
+
"passport": "^0.7.0",
|
|
53
|
+
"passport-auth0": "^1.4.4",
|
|
54
|
+
"passport-jwt": "^4.0.1",
|
|
55
|
+
"passport-local": "^1.0.0",
|
|
56
|
+
"rxjs": "^7.8.1",
|
|
57
|
+
"ts-node": "^10.9.0",
|
|
58
|
+
"tsconfig-paths": "^4.2.0",
|
|
59
|
+
"typeorm": "^0.3.20",
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"uuid": "^11.0.5",
|
|
62
|
+
"winston": "^3.17.0"
|
|
63
|
+
},
|
|
64
|
+
"peerDependencies": {
|
|
65
|
+
"@dataui/crud": "^5.3.4",
|
|
66
|
+
"@dataui/crud-request": "^5.3.4",
|
|
67
|
+
"@dataui/crud-typeorm": "^5.3.4",
|
|
68
|
+
"@nestjs/cache-manager": "^3.0.0",
|
|
69
|
+
"@nestjs/common": "^11.0.11",
|
|
70
|
+
"@nestjs/config": "^4.0.0",
|
|
71
|
+
"@nestjs/core": "^11.0.5",
|
|
72
|
+
"@nestjs/event-emitter": "^3.0.1",
|
|
73
|
+
"@nestjs/jwt": "^11.0.0",
|
|
74
|
+
"@nestjs/passport": "^11.0.5",
|
|
75
|
+
"@nestjs/swagger": "^11.0.3",
|
|
76
|
+
"@nestjs/typeorm": "^11.0.0",
|
|
77
|
+
"@venturialstd/circle": "^0.0.4",
|
|
78
|
+
"@venturialstd/core": "^1.0.16",
|
|
79
|
+
"@venturialstd/fintech": "^0.0.9",
|
|
80
|
+
"@venturialstd/inbestgo": "^0.0.1",
|
|
81
|
+
"@venturialstd/kira": "^0.0.1",
|
|
82
|
+
"@venturialstd/toolbox": "^0.0.1",
|
|
83
|
+
"@venturialstd/twilio": "^0.0.4",
|
|
84
|
+
"bcrypt": "^5.1.1",
|
|
85
|
+
"cache-manager": "^6.4.0",
|
|
86
|
+
"class-transformer": "^0.5.1",
|
|
87
|
+
"class-validator": "^0.14.1",
|
|
88
|
+
"jwks-rsa": "^3.1.0",
|
|
89
|
+
"passport": "^0.7.0",
|
|
90
|
+
"passport-auth0": "^1.4.0",
|
|
91
|
+
"passport-jwt": "^4.0.1",
|
|
92
|
+
"passport-local": "^1.0.0",
|
|
93
|
+
"rxjs": "^7.8.1",
|
|
94
|
+
"typeorm": "^0.3.20",
|
|
95
|
+
"uuid": "^11.0.5"
|
|
96
|
+
},
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"@venturialstd/user": "^0.0.3",
|
|
99
|
+
"libphonenumber-js": "^1.12.34",
|
|
100
|
+
"pg": "^8.16.3"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-transaction.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/capa/actions/cancel-transaction.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,uBAAuB,EAAE,qBAmDrC,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cancelTransactionAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const cancel_transaction_service_1 = require("../services/cancel-transaction.service");
|
|
6
|
-
exports.cancelTransactionAction = {
|
|
7
|
-
key: 'cancel-transaction',
|
|
8
|
-
name: 'Cancel Transaction',
|
|
9
|
-
description: 'Cancel a pending transaction',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: '❌',
|
|
12
|
-
serviceClass: cancel_transaction_service_1.CancelTransactionService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'transactionId',
|
|
16
|
-
name: 'Transaction ID',
|
|
17
|
-
description: 'Transaction identifier to cancel',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
placeholder: 'transaction-id',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
outputs: [
|
|
26
|
-
{
|
|
27
|
-
id: 'response',
|
|
28
|
-
name: 'Response',
|
|
29
|
-
description: 'Cancel response object',
|
|
30
|
-
type: types_1.FIELD_TYPE.OBJECT,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 'id',
|
|
34
|
-
name: 'Transaction ID',
|
|
35
|
-
description: 'Transaction identifier',
|
|
36
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'status',
|
|
40
|
-
name: 'Status',
|
|
41
|
-
description: 'Transaction status after cancellation',
|
|
42
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 'cancelledAt',
|
|
46
|
-
name: 'Cancelled At',
|
|
47
|
-
description: 'Cancellation timestamp',
|
|
48
|
-
type: types_1.FIELD_TYPE.DATE,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 'message',
|
|
52
|
-
name: 'Message',
|
|
53
|
-
description: 'Cancel confirmation message',
|
|
54
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=cancel-transaction.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-transaction.action.js","sourceRoot":"","sources":["../../../../src/modules/capa/actions/cancel-transaction.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,uFAAkF;AAErE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,oBAAoB;IACzB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,GAAG;IACT,YAAY,EAAE,qDAA8E;IAC5F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,gBAAgB;SAC9B;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-cross-ramp-quote.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/capa/actions/create-cross-ramp-quote.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,0BAA0B,EAAE,qBAwIxC,CAAC"}
|