@venturialstd/workflow 0.1.91 β 0.1.92
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/modules/capa/actions/cancel-transaction.action.d.ts +3 -0
- package/dist/modules/capa/actions/cancel-transaction.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/cancel-transaction.action.js +58 -0
- package/dist/modules/capa/actions/cancel-transaction.action.js.map +1 -0
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.js +143 -0
- package/dist/modules/capa/actions/create-cross-ramp-quote.action.js.map +1 -0
- package/dist/modules/capa/actions/create-cross-ramp.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-cross-ramp.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-cross-ramp.action.js +158 -0
- package/dist/modules/capa/actions/create-cross-ramp.action.js.map +1 -0
- package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-kyb-verification-link.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-kyb-verification-link.action.js +50 -0
- package/dist/modules/capa/actions/create-kyb-verification-link.action.js.map +1 -0
- package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-kyc-verification-link.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-kyc-verification-link.action.js +50 -0
- package/dist/modules/capa/actions/create-kyc-verification-link.action.js.map +1 -0
- package/dist/modules/capa/actions/create-off-ramp.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-off-ramp.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-off-ramp.action.js +195 -0
- package/dist/modules/capa/actions/create-off-ramp.action.js.map +1 -0
- package/dist/modules/capa/actions/create-on-ramp.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-on-ramp.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-on-ramp.action.js +195 -0
- package/dist/modules/capa/actions/create-on-ramp.action.js.map +1 -0
- package/dist/modules/capa/actions/create-quote.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-quote.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-quote.action.js +156 -0
- package/dist/modules/capa/actions/create-quote.action.js.map +1 -0
- package/dist/modules/capa/actions/create-receiver.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-receiver.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-receiver.action.js +217 -0
- package/dist/modules/capa/actions/create-receiver.action.js.map +1 -0
- package/dist/modules/capa/actions/create-user-kyc.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-user-kyc.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-user-kyc.action.js +90 -0
- package/dist/modules/capa/actions/create-user-kyc.action.js.map +1 -0
- package/dist/modules/capa/actions/create-user.action.d.ts +3 -0
- package/dist/modules/capa/actions/create-user.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/create-user.action.js +110 -0
- package/dist/modules/capa/actions/create-user.action.js.map +1 -0
- package/dist/modules/capa/actions/delete-receiver.action.d.ts +3 -0
- package/dist/modules/capa/actions/delete-receiver.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/delete-receiver.action.js +56 -0
- package/dist/modules/capa/actions/delete-receiver.action.js.map +1 -0
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.js +143 -0
- package/dist/modules/capa/actions/get-cross-ramp-quote.action.js.map +1 -0
- package/dist/modules/capa/actions/get-kyb-details.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-kyb-details.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-kyb-details.action.js +64 -0
- package/dist/modules/capa/actions/get-kyb-details.action.js.map +1 -0
- package/dist/modules/capa/actions/get-kyc-details.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-kyc-details.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-kyc-details.action.js +100 -0
- package/dist/modules/capa/actions/get-kyc-details.action.js.map +1 -0
- package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-mock-testing-guide.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-mock-testing-guide.action.js +23 -0
- package/dist/modules/capa/actions/get-mock-testing-guide.action.js.map +1 -0
- package/dist/modules/capa/actions/get-quote.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-quote.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-quote.action.js +156 -0
- package/dist/modules/capa/actions/get-quote.action.js.map +1 -0
- package/dist/modules/capa/actions/get-user-agreements.action.d.ts +3 -0
- package/dist/modules/capa/actions/get-user-agreements.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/get-user-agreements.action.js +40 -0
- package/dist/modules/capa/actions/get-user-agreements.action.js.map +1 -0
- package/dist/modules/capa/actions/index.d.ts +23 -0
- package/dist/modules/capa/actions/index.d.ts.map +1 -0
- package/dist/modules/capa/actions/index.js +39 -0
- package/dist/modules/capa/actions/index.js.map +1 -0
- package/dist/modules/capa/actions/list-receivers.action.d.ts +3 -0
- package/dist/modules/capa/actions/list-receivers.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/list-receivers.action.js +51 -0
- package/dist/modules/capa/actions/list-receivers.action.js.map +1 -0
- package/dist/modules/capa/actions/list-transactions.action.d.ts +3 -0
- package/dist/modules/capa/actions/list-transactions.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/list-transactions.action.js +125 -0
- package/dist/modules/capa/actions/list-transactions.action.js.map +1 -0
- package/dist/modules/capa/actions/request-document-signature.action.d.ts +3 -0
- package/dist/modules/capa/actions/request-document-signature.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/request-document-signature.action.js +50 -0
- package/dist/modules/capa/actions/request-document-signature.action.js.map +1 -0
- package/dist/modules/capa/actions/update-webhook-settings.action.d.ts +3 -0
- package/dist/modules/capa/actions/update-webhook-settings.action.d.ts.map +1 -0
- package/dist/modules/capa/actions/update-webhook-settings.action.js +52 -0
- package/dist/modules/capa/actions/update-webhook-settings.action.js.map +1 -0
- package/dist/modules/capa/auth/capa-auth.service.d.ts +8 -0
- package/dist/modules/capa/auth/capa-auth.service.d.ts.map +1 -0
- package/dist/modules/capa/auth/capa-auth.service.js +94 -0
- package/dist/modules/capa/auth/capa-auth.service.js.map +1 -0
- package/dist/modules/capa/auth/index.d.ts +2 -0
- package/dist/modules/capa/auth/index.d.ts.map +1 -0
- package/dist/modules/{inbestgo β capa}/auth/index.js +1 -1
- package/dist/modules/capa/auth/index.js.map +1 -0
- package/dist/modules/capa/capa-nest.module.d.ts +3 -0
- package/dist/modules/capa/capa-nest.module.d.ts.map +1 -0
- package/dist/modules/capa/capa-nest.module.js +72 -0
- package/dist/modules/capa/capa-nest.module.js.map +1 -0
- package/dist/modules/capa/capa.module.d.ts +3 -0
- package/dist/modules/capa/capa.module.d.ts.map +1 -0
- package/dist/modules/capa/capa.module.js +42 -0
- package/dist/modules/capa/capa.module.js.map +1 -0
- package/dist/modules/capa/credentials.d.ts +3 -0
- package/dist/modules/capa/credentials.d.ts.map +1 -0
- package/dist/modules/capa/credentials.js +46 -0
- package/dist/modules/capa/credentials.js.map +1 -0
- package/dist/modules/capa/services/cancel-transaction.service.d.ts +9 -0
- package/dist/modules/capa/services/cancel-transaction.service.d.ts.map +1 -0
- package/dist/modules/capa/services/cancel-transaction.service.js +45 -0
- package/dist/modules/capa/services/cancel-transaction.service.js.map +1 -0
- package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts +9 -0
- package/dist/modules/capa/services/create-cross-ramp-quote.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-cross-ramp-quote.service.js +75 -0
- package/dist/modules/capa/services/create-cross-ramp-quote.service.js.map +1 -0
- package/dist/modules/capa/services/create-cross-ramp.service.d.ts +9 -0
- package/dist/modules/capa/services/create-cross-ramp.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-cross-ramp.service.js +66 -0
- package/dist/modules/capa/services/create-cross-ramp.service.js.map +1 -0
- package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts +9 -0
- package/dist/modules/capa/services/create-kyb-verification-link.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-kyb-verification-link.service.js +47 -0
- package/dist/modules/capa/services/create-kyb-verification-link.service.js.map +1 -0
- package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts +9 -0
- package/dist/modules/capa/services/create-kyc-verification-link.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-kyc-verification-link.service.js +47 -0
- package/dist/modules/capa/services/create-kyc-verification-link.service.js.map +1 -0
- package/dist/modules/capa/services/create-off-ramp.service.d.ts +9 -0
- package/dist/modules/capa/services/create-off-ramp.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-off-ramp.service.js +80 -0
- package/dist/modules/capa/services/create-off-ramp.service.js.map +1 -0
- package/dist/modules/capa/services/create-on-ramp.service.d.ts +9 -0
- package/dist/modules/capa/services/create-on-ramp.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-on-ramp.service.js +80 -0
- package/dist/modules/capa/services/create-on-ramp.service.js.map +1 -0
- package/dist/modules/capa/services/create-quote.service.d.ts +9 -0
- package/dist/modules/capa/services/create-quote.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-quote.service.js +77 -0
- package/dist/modules/capa/services/create-quote.service.js.map +1 -0
- package/dist/modules/capa/services/create-receiver.service.d.ts +9 -0
- package/dist/modules/capa/services/create-receiver.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-receiver.service.js +79 -0
- package/dist/modules/capa/services/create-receiver.service.js.map +1 -0
- package/dist/modules/capa/services/create-user-kyc.service.d.ts +9 -0
- package/dist/modules/capa/services/create-user-kyc.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-user-kyc.service.js +54 -0
- package/dist/modules/capa/services/create-user-kyc.service.js.map +1 -0
- package/dist/modules/capa/services/create-user.service.d.ts +9 -0
- package/dist/modules/capa/services/create-user.service.d.ts.map +1 -0
- package/dist/modules/capa/services/create-user.service.js +57 -0
- package/dist/modules/capa/services/create-user.service.js.map +1 -0
- package/dist/modules/capa/services/delete-receiver.service.d.ts +9 -0
- package/dist/modules/capa/services/delete-receiver.service.d.ts.map +1 -0
- package/dist/modules/capa/services/delete-receiver.service.js +47 -0
- package/dist/modules/capa/services/delete-receiver.service.js.map +1 -0
- package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts +9 -0
- package/dist/modules/capa/services/get-cross-ramp-quote.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-cross-ramp-quote.service.js +75 -0
- package/dist/modules/capa/services/get-cross-ramp-quote.service.js.map +1 -0
- package/dist/modules/capa/services/get-kyb-details.service.d.ts +9 -0
- package/dist/modules/capa/services/get-kyb-details.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-kyb-details.service.js +46 -0
- package/dist/modules/capa/services/get-kyb-details.service.js.map +1 -0
- package/dist/modules/capa/services/get-kyc-details.service.d.ts +9 -0
- package/dist/modules/capa/services/get-kyc-details.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-kyc-details.service.js +52 -0
- package/dist/modules/capa/services/get-kyc-details.service.js.map +1 -0
- package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts +9 -0
- package/dist/modules/capa/services/get-mock-testing-guide.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-mock-testing-guide.service.js +37 -0
- package/dist/modules/capa/services/get-mock-testing-guide.service.js.map +1 -0
- package/dist/modules/capa/services/get-quote.service.d.ts +9 -0
- package/dist/modules/capa/services/get-quote.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-quote.service.js +77 -0
- package/dist/modules/capa/services/get-quote.service.js.map +1 -0
- package/dist/modules/capa/services/get-user-agreements.service.d.ts +9 -0
- package/dist/modules/capa/services/get-user-agreements.service.d.ts.map +1 -0
- package/dist/modules/capa/services/get-user-agreements.service.js +42 -0
- package/dist/modules/capa/services/get-user-agreements.service.js.map +1 -0
- package/dist/modules/capa/services/index.d.ts +23 -0
- package/dist/modules/capa/services/index.d.ts.map +1 -0
- package/dist/modules/capa/services/index.js +39 -0
- package/dist/modules/capa/services/index.js.map +1 -0
- package/dist/modules/capa/services/list-receivers.service.d.ts +9 -0
- package/dist/modules/capa/services/list-receivers.service.d.ts.map +1 -0
- package/dist/modules/capa/services/list-receivers.service.js +45 -0
- package/dist/modules/capa/services/list-receivers.service.js.map +1 -0
- package/dist/modules/capa/services/list-transactions.service.d.ts +9 -0
- package/dist/modules/capa/services/list-transactions.service.d.ts.map +1 -0
- package/dist/modules/capa/services/list-transactions.service.js +58 -0
- package/dist/modules/capa/services/list-transactions.service.js.map +1 -0
- package/dist/modules/capa/services/request-document-signature.service.d.ts +9 -0
- package/dist/modules/capa/services/request-document-signature.service.d.ts.map +1 -0
- package/dist/modules/capa/services/request-document-signature.service.js +46 -0
- package/dist/modules/capa/services/request-document-signature.service.js.map +1 -0
- package/dist/modules/capa/services/update-webhook-settings.service.d.ts +9 -0
- package/dist/modules/capa/services/update-webhook-settings.service.d.ts.map +1 -0
- package/dist/modules/capa/services/update-webhook-settings.service.js +47 -0
- package/dist/modules/capa/services/update-webhook-settings.service.js.map +1 -0
- package/dist/modules/capa/triggers/index.d.ts +3 -0
- package/dist/modules/capa/triggers/index.d.ts.map +1 -0
- package/dist/modules/capa/triggers/index.js +5 -0
- package/dist/modules/capa/triggers/index.js.map +1 -0
- package/dist/modules/capa/utils/capa-credentials.util.d.ts +4 -0
- package/dist/modules/capa/utils/capa-credentials.util.d.ts.map +1 -0
- package/dist/modules/capa/utils/capa-credentials.util.js +24 -0
- package/dist/modules/capa/utils/capa-credentials.util.js.map +1 -0
- package/dist/modules/capa/utils/capa-query.util.d.ts +4 -0
- package/dist/modules/capa/utils/capa-query.util.d.ts.map +1 -0
- package/dist/modules/capa/utils/capa-query.util.js +55 -0
- package/dist/modules/capa/utils/capa-query.util.js.map +1 -0
- package/dist/modules/circle/actions/index.d.ts +0 -1
- package/dist/modules/circle/actions/index.d.ts.map +1 -1
- package/dist/modules/circle/actions/index.js +0 -1
- 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 +0 -2
- 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 +0 -1
- package/dist/modules/circle/circle.module.js.map +1 -1
- package/dist/modules/circle/services/index.d.ts +0 -1
- package/dist/modules/circle/services/index.d.ts.map +1 -1
- package/dist/modules/circle/services/index.js +0 -1
- package/dist/modules/circle/services/index.js.map +1 -1
- package/dist/modules/conditional/actions/index.d.ts +0 -1
- package/dist/modules/conditional/actions/index.d.ts.map +1 -1
- package/dist/modules/conditional/actions/index.js +0 -1
- package/dist/modules/conditional/actions/index.js.map +1 -1
- package/dist/modules/conditional/conditional-nest.module.d.ts.map +1 -1
- package/dist/modules/conditional/conditional-nest.module.js +2 -7
- 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 +1 -11
- package/dist/modules/conditional/services/evaluate-condition.service.js.map +1 -1
- package/dist/modules/conditional/services/index.d.ts +0 -1
- package/dist/modules/conditional/services/index.d.ts.map +1 -1
- package/dist/modules/conditional/services/index.js +0 -1
- package/dist/modules/conditional/services/index.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/create-operation.action.d.ts.map +1 -1
- package/dist/modules/fintech/actions/create-operation.action.js +12 -33
- package/dist/modules/fintech/actions/create-operation.action.js.map +1 -1
- package/dist/modules/fintech/actions/create-transaction.action.d.ts.map +1 -1
- package/dist/modules/fintech/actions/create-transaction.action.js +8 -30
- package/dist/modules/fintech/actions/create-transaction.action.js.map +1 -1
- package/dist/modules/fintech/actions/index.d.ts +0 -8
- package/dist/modules/fintech/actions/index.d.ts.map +1 -1
- package/dist/modules/fintech/actions/index.js +0 -8
- package/dist/modules/fintech/actions/index.js.map +1 -1
- 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 +0 -16
- 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 +1 -9
- package/dist/modules/fintech/fintech.module.js.map +1 -1
- package/dist/modules/fintech/services/create-operation.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/create-operation.service.js +2 -6
- package/dist/modules/fintech/services/create-operation.service.js.map +1 -1
- package/dist/modules/fintech/services/create-transaction.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/create-transaction.service.js +2 -6
- package/dist/modules/fintech/services/create-transaction.service.js.map +1 -1
- package/dist/modules/fintech/services/get-operation.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/get-operation.service.js +1 -3
- package/dist/modules/fintech/services/get-operation.service.js.map +1 -1
- package/dist/modules/fintech/services/get-transaction.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/get-transaction.service.js +1 -3
- package/dist/modules/fintech/services/get-transaction.service.js.map +1 -1
- package/dist/modules/fintech/services/index.d.ts +0 -8
- package/dist/modules/fintech/services/index.d.ts.map +1 -1
- package/dist/modules/fintech/services/index.js +0 -8
- package/dist/modules/fintech/services/index.js.map +1 -1
- package/dist/modules/fintech/services/update-operation-status.service.d.ts.map +1 -1
- package/dist/modules/fintech/services/update-operation-status.service.js +1 -3
- package/dist/modules/fintech/services/update-operation-status.service.js.map +1 -1
- 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/index.d.ts +0 -2
- package/dist/modules/session/actions/index.d.ts.map +1 -1
- package/dist/modules/session/actions/index.js +0 -2
- package/dist/modules/session/actions/index.js.map +1 -1
- package/dist/modules/session/services/index.d.ts +0 -2
- package/dist/modules/session/services/index.d.ts.map +1 -1
- package/dist/modules/session/services/index.js +0 -2
- package/dist/modules/session/services/index.js.map +1 -1
- 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/index.d.ts +0 -1
- package/dist/modules/toolbox/actions/index.d.ts.map +1 -1
- package/dist/modules/toolbox/actions/index.js +0 -1
- package/dist/modules/toolbox/actions/index.js.map +1 -1
- package/dist/modules/toolbox/services/index.d.ts +0 -1
- package/dist/modules/toolbox/services/index.d.ts.map +1 -1
- package/dist/modules/toolbox/services/index.js +0 -1
- 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 +2 -12
- 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 +0 -1
- 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.action.d.ts.map +1 -1
- package/dist/modules/user/actions/get-or-create-user.action.js +2 -12
- package/dist/modules/user/actions/get-or-create-user.action.js.map +1 -1
- 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 +3 -42
- package/dist/modules/user/services/get-or-create-user.service.js.map +1 -1
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +0 -2
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -1
- package/dist/modules/webhook/controllers/webhook-receiver.controller.js +0 -14
- 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 +14 -52
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/workflow-core.module.d.ts.map +1 -1
- package/dist/workflow-core.module.js +0 -5
- package/dist/workflow-core.module.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +3 -0
- package/dist/workflow.module.js.map +1 -1
- package/package.json +102 -102
- package/dist/controllers/workflow-sse.controller.d.ts +0 -8
- package/dist/controllers/workflow-sse.controller.d.ts.map +0 -1
- package/dist/controllers/workflow-sse.controller.js +0 -46
- package/dist/controllers/workflow-sse.controller.js.map +0 -1
- package/dist/modules/circle/actions/get-token.action.d.ts +0 -3
- package/dist/modules/circle/actions/get-token.action.d.ts.map +0 -1
- package/dist/modules/circle/actions/get-token.action.js +0 -94
- package/dist/modules/circle/actions/get-token.action.js.map +0 -1
- package/dist/modules/circle/services/get-token.service.d.ts +0 -8
- package/dist/modules/circle/services/get-token.service.d.ts.map +0 -1
- package/dist/modules/circle/services/get-token.service.js +0 -51
- package/dist/modules/circle/services/get-token.service.js.map +0 -1
- package/dist/modules/conditional/actions/map-value.action.d.ts +0 -3
- package/dist/modules/conditional/actions/map-value.action.d.ts.map +0 -1
- package/dist/modules/conditional/actions/map-value.action.js +0 -122
- package/dist/modules/conditional/actions/map-value.action.js.map +0 -1
- package/dist/modules/conditional/services/map-value.service.d.ts +0 -5
- package/dist/modules/conditional/services/map-value.service.d.ts.map +0 -1
- package/dist/modules/conditional/services/map-value.service.js +0 -108
- package/dist/modules/conditional/services/map-value.service.js.map +0 -1
- package/dist/modules/fintech/actions/complete-remittance.action.d.ts +0 -3
- package/dist/modules/fintech/actions/complete-remittance.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/complete-remittance.action.js +0 -93
- package/dist/modules/fintech/actions/complete-remittance.action.js.map +0 -1
- package/dist/modules/fintech/actions/create-remittance.action.d.ts +0 -3
- package/dist/modules/fintech/actions/create-remittance.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/create-remittance.action.js +0 -208
- package/dist/modules/fintech/actions/create-remittance.action.js.map +0 -1
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts +0 -3
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js +0 -80
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js.map +0 -1
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts +0 -3
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js +0 -122
- package/dist/modules/fintech/actions/get-latest-remittances-by-account.action.js.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts +0 -3
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js +0 -113
- package/dist/modules/fintech/actions/get-remittance-by-external-tx-id.action.js.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts +0 -3
- package/dist/modules/fintech/actions/get-remittance-by-id.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-id.action.js +0 -83
- package/dist/modules/fintech/actions/get-remittance-by-id.action.js.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts +0 -3
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.js +0 -65
- package/dist/modules/fintech/actions/get-remittance-by-reference.action.js.map +0 -1
- package/dist/modules/fintech/actions/process-remittance-step.action.d.ts +0 -3
- package/dist/modules/fintech/actions/process-remittance-step.action.d.ts.map +0 -1
- package/dist/modules/fintech/actions/process-remittance-step.action.js +0 -119
- package/dist/modules/fintech/actions/process-remittance-step.action.js.map +0 -1
- package/dist/modules/fintech/services/complete-remittance.service.d.ts +0 -8
- package/dist/modules/fintech/services/complete-remittance.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/complete-remittance.service.js +0 -52
- package/dist/modules/fintech/services/complete-remittance.service.js.map +0 -1
- package/dist/modules/fintech/services/create-remittance.service.d.ts +0 -8
- package/dist/modules/fintech/services/create-remittance.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/create-remittance.service.js +0 -65
- package/dist/modules/fintech/services/create-remittance.service.js.map +0 -1
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts +0 -8
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js +0 -47
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js.map +0 -1
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts +0 -8
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js +0 -127
- package/dist/modules/fintech/services/get-latest-remittances-by-account.service.js.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts +0 -8
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js +0 -61
- package/dist/modules/fintech/services/get-remittance-by-external-tx-id.service.js.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts +0 -8
- package/dist/modules/fintech/services/get-remittance-by-id.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-id.service.js +0 -48
- package/dist/modules/fintech/services/get-remittance-by-id.service.js.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts +0 -8
- package/dist/modules/fintech/services/get-remittance-by-reference.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/get-remittance-by-reference.service.js +0 -48
- package/dist/modules/fintech/services/get-remittance-by-reference.service.js.map +0 -1
- package/dist/modules/fintech/services/process-remittance-step.service.d.ts +0 -8
- package/dist/modules/fintech/services/process-remittance-step.service.d.ts.map +0 -1
- package/dist/modules/fintech/services/process-remittance-step.service.js +0 -59
- package/dist/modules/fintech/services/process-remittance-step.service.js.map +0 -1
- package/dist/modules/inbestgo/actions/create-transaction.action.d.ts +0 -3
- package/dist/modules/inbestgo/actions/create-transaction.action.d.ts.map +0 -1
- package/dist/modules/inbestgo/actions/create-transaction.action.js +0 -132
- package/dist/modules/inbestgo/actions/create-transaction.action.js.map +0 -1
- package/dist/modules/inbestgo/actions/index.d.ts +0 -3
- package/dist/modules/inbestgo/actions/index.d.ts.map +0 -1
- package/dist/modules/inbestgo/actions/index.js +0 -19
- package/dist/modules/inbestgo/actions/index.js.map +0 -1
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts +0 -3
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.d.ts.map +0 -1
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js +0 -76
- package/dist/modules/inbestgo/actions/lookup-user-by-phone.action.js.map +0 -1
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts +0 -8
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts.map +0 -1
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.js +0 -75
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.js.map +0 -1
- package/dist/modules/inbestgo/auth/index.d.ts +0 -2
- package/dist/modules/inbestgo/auth/index.d.ts.map +0 -1
- package/dist/modules/inbestgo/auth/index.js.map +0 -1
- package/dist/modules/inbestgo/credentials.d.ts +0 -3
- package/dist/modules/inbestgo/credentials.d.ts.map +0 -1
- package/dist/modules/inbestgo/credentials.js +0 -32
- package/dist/modules/inbestgo/credentials.js.map +0 -1
- package/dist/modules/inbestgo/inbestgo-nest.module.d.ts +0 -3
- package/dist/modules/inbestgo/inbestgo-nest.module.d.ts.map +0 -1
- package/dist/modules/inbestgo/inbestgo-nest.module.js +0 -29
- package/dist/modules/inbestgo/inbestgo-nest.module.js.map +0 -1
- package/dist/modules/inbestgo/inbestgo.module.d.ts +0 -3
- package/dist/modules/inbestgo/inbestgo.module.d.ts.map +0 -1
- package/dist/modules/inbestgo/inbestgo.module.js +0 -21
- package/dist/modules/inbestgo/inbestgo.module.js.map +0 -1
- package/dist/modules/inbestgo/services/create-transaction.service.d.ts +0 -8
- package/dist/modules/inbestgo/services/create-transaction.service.d.ts.map +0 -1
- package/dist/modules/inbestgo/services/create-transaction.service.js +0 -78
- package/dist/modules/inbestgo/services/create-transaction.service.js.map +0 -1
- package/dist/modules/inbestgo/services/index.d.ts +0 -3
- package/dist/modules/inbestgo/services/index.d.ts.map +0 -1
- package/dist/modules/inbestgo/services/index.js +0 -19
- package/dist/modules/inbestgo/services/index.js.map +0 -1
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts +0 -8
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts.map +0 -1
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js +0 -54
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js.map +0 -1
- package/dist/modules/session/actions/get-session-by-key.action.d.ts +0 -3
- package/dist/modules/session/actions/get-session-by-key.action.d.ts.map +0 -1
- package/dist/modules/session/actions/get-session-by-key.action.js +0 -104
- package/dist/modules/session/actions/get-session-by-key.action.js.map +0 -1
- package/dist/modules/session/actions/save-context-by-key.action.d.ts +0 -3
- package/dist/modules/session/actions/save-context-by-key.action.d.ts.map +0 -1
- package/dist/modules/session/actions/save-context-by-key.action.js +0 -72
- package/dist/modules/session/actions/save-context-by-key.action.js.map +0 -1
- package/dist/modules/session/services/get-session-by-key.service.d.ts +0 -22
- package/dist/modules/session/services/get-session-by-key.service.d.ts.map +0 -1
- package/dist/modules/session/services/get-session-by-key.service.js +0 -62
- package/dist/modules/session/services/get-session-by-key.service.js.map +0 -1
- package/dist/modules/session/services/save-context-by-key.service.d.ts +0 -10
- package/dist/modules/session/services/save-context-by-key.service.d.ts.map +0 -1
- package/dist/modules/session/services/save-context-by-key.service.js +0 -63
- package/dist/modules/session/services/save-context-by-key.service.js.map +0 -1
- package/dist/modules/toolbox/actions/empty-action.action.d.ts +0 -3
- package/dist/modules/toolbox/actions/empty-action.action.d.ts.map +0 -1
- package/dist/modules/toolbox/actions/empty-action.action.js +0 -29
- package/dist/modules/toolbox/actions/empty-action.action.js.map +0 -1
- package/dist/modules/toolbox/services/empty-action.service.d.ts +0 -6
- package/dist/modules/toolbox/services/empty-action.service.d.ts.map +0 -1
- package/dist/modules/toolbox/services/empty-action.service.js +0 -28
- package/dist/modules/toolbox/services/empty-action.service.js.map +0 -1
- package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts +0 -3
- package/dist/modules/user/actions/get-or-create-user-by-params.action.d.ts.map +0 -1
- package/dist/modules/user/actions/get-or-create-user-by-params.action.js +0 -284
- package/dist/modules/user/actions/get-or-create-user-by-params.action.js.map +0 -1
- package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts +0 -8
- package/dist/modules/user/services/get-or-create-user-by-params.service.d.ts.map +0 -1
- package/dist/modules/user/services/get-or-create-user-by-params.service.js +0 -175
- package/dist/modules/user/services/get-or-create-user-by-params.service.js.map +0 -1
- package/dist/services/workflow-sse.service.d.ts +0 -29
- package/dist/services/workflow-sse.service.d.ts.map +0 -1
- package/dist/services/workflow-sse.service.js +0 -155
- package/dist/services/workflow-sse.service.js.map +0 -1
package/dist/workflow.module.js
CHANGED
|
@@ -11,6 +11,7 @@ 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");
|
|
14
15
|
const chatbot_nest_module_1 = require("./modules/chatbot/chatbot-nest.module");
|
|
15
16
|
const circle_nest_module_1 = require("./modules/circle/circle-nest.module");
|
|
16
17
|
const conditional_nest_module_1 = require("./modules/conditional/conditional-nest.module");
|
|
@@ -34,6 +35,7 @@ exports.WorkflowModule = WorkflowModule = __decorate([
|
|
|
34
35
|
core_1.SharedModule.forRoot({}),
|
|
35
36
|
workflow_core_module_1.WorkflowCoreModule,
|
|
36
37
|
ai_nest_module_1.AiNestModule,
|
|
38
|
+
capa_nest_module_1.CapaNestModule,
|
|
37
39
|
chatbot_nest_module_1.ChatbotNestModule,
|
|
38
40
|
circle_nest_module_1.CircleNestModule,
|
|
39
41
|
conditional_nest_module_1.ConditionalNestModule,
|
|
@@ -51,6 +53,7 @@ exports.WorkflowModule = WorkflowModule = __decorate([
|
|
|
51
53
|
exports: [
|
|
52
54
|
workflow_core_module_1.WorkflowCoreModule,
|
|
53
55
|
ai_nest_module_1.AiNestModule,
|
|
56
|
+
capa_nest_module_1.CapaNestModule,
|
|
54
57
|
chatbot_nest_module_1.ChatbotNestModule,
|
|
55
58
|
circle_nest_module_1.CircleNestModule,
|
|
56
59
|
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,+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;
|
|
1
|
+
{"version":3,"file":"workflow.module.js","sourceRoot":"","sources":["../src/workflow.module.ts"],"names":[],"mappings":";;;;;;;;;AACA,qBAAmB;AAEnB,2CAAwC;AACxC,6CAAkD;AAElD,gEAA2D;AAC3D,sEAAiE;AACjE,+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;AAyCrD,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAvC1B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,mBAAY,CAAC,OAAO,CAAC,EAAE,CAAC;YACxB,yCAAkB;YAClB,6BAAY;YACZ,iCAAc;YACd,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,iCAAc;YACd,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": "^5.3.4",
|
|
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.92",
|
|
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
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"release:patch": "npm run build && npm version patch --no-git-tag-version && npm publish",
|
|
18
|
+
"test:dev": "ts-node -r tsconfig-paths/register test/main.ts",
|
|
19
|
+
"test:watch": "nodemon --watch src --watch test --ext ts --exec npm run test:dev",
|
|
20
|
+
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate -d test/data-source.ts test/migrations/$npm_config_name",
|
|
21
|
+
"migration:run": "ts-node node_modules/.bin/typeorm migration:run -d test/data-source.ts",
|
|
22
|
+
"migration:revert": "ts-node node_modules/.bin/typeorm migration:revert -d test/data-source.ts"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@dataui/crud": "^5.3.4",
|
|
26
|
+
"@dataui/crud-request": "^5.3.4",
|
|
27
|
+
"@dataui/crud-typeorm": "^5.3.4",
|
|
28
|
+
"@keyv/redis": "^4.2.0",
|
|
29
|
+
"@nestjs/cache-manager": "^3.0.0",
|
|
30
|
+
"@nestjs/common": "^11.0.11",
|
|
31
|
+
"@nestjs/config": "^4.0.0",
|
|
32
|
+
"@nestjs/core": "^11.0.5",
|
|
33
|
+
"@nestjs/jwt": "^11.0.0",
|
|
34
|
+
"@nestjs/passport": "^11.0.5",
|
|
35
|
+
"@nestjs/platform-express": "^11.0.5",
|
|
36
|
+
"@nestjs/swagger": "^11.0.3",
|
|
37
|
+
"@nestjs/typeorm": "^11.0.0",
|
|
38
|
+
"@types/express": "^4.17.25",
|
|
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.2",
|
|
78
|
+
"@venturialstd/core": "^1.0.16",
|
|
79
|
+
"@venturialstd/fintech": "^0.0.1",
|
|
80
|
+
"@venturialstd/kira": "^0.0.1",
|
|
81
|
+
"@venturialstd/toolbox": "^0.0.1",
|
|
82
|
+
"@venturialstd/twilio": "^0.0.4",
|
|
83
|
+
"bcrypt": "^5.1.1",
|
|
84
|
+
"cache-manager": "^6.4.0",
|
|
85
|
+
"class-transformer": "^0.5.1",
|
|
86
|
+
"class-validator": "^0.14.1",
|
|
87
|
+
"jwks-rsa": "^3.1.0",
|
|
88
|
+
"passport": "^0.7.0",
|
|
89
|
+
"passport-auth0": "^1.4.0",
|
|
90
|
+
"passport-jwt": "^4.0.1",
|
|
91
|
+
"passport-local": "^1.0.0",
|
|
92
|
+
"rxjs": "^7.8.1",
|
|
93
|
+
"typeorm": "^0.3.20",
|
|
94
|
+
"uuid": "^11.0.5"
|
|
95
|
+
},
|
|
96
|
+
"dependencies": {
|
|
97
|
+
"@venturialstd/capa": "^0.0.3",
|
|
98
|
+
"@venturialstd/user": "^0.0.3",
|
|
99
|
+
"libphonenumber-js": "^1.12.34",
|
|
100
|
+
"pg": "^8.16.3"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Response } from 'express';
|
|
2
|
-
import { WorkflowSSEService } from '../services/workflow-sse.service';
|
|
3
|
-
export declare class WorkflowSSEController {
|
|
4
|
-
private readonly sseService;
|
|
5
|
-
constructor(sseService: WorkflowSSEService);
|
|
6
|
-
streamWorkflowEvents(workflowId: string, token: string | undefined, res: Response): void;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=workflow-sse.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-sse.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/workflow-sse.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,qBACa,qBAAqB;IACpB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,kBAAkB;IAW3D,oBAAoB,CACG,UAAU,EAAE,MAAM,EACvB,KAAK,EAAE,MAAM,GAAG,SAAS,EAClC,GAAG,EAAE,QAAQ;CAUvB"}
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.WorkflowSSEController = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const core_1 = require("@venturialstd/core");
|
|
18
|
-
const workflow_sse_service_1 = require("../services/workflow-sse.service");
|
|
19
|
-
let WorkflowSSEController = class WorkflowSSEController {
|
|
20
|
-
sseService;
|
|
21
|
-
constructor(sseService) {
|
|
22
|
-
this.sseService = sseService;
|
|
23
|
-
}
|
|
24
|
-
streamWorkflowEvents(workflowId, token, res) {
|
|
25
|
-
if (!token) {
|
|
26
|
-
console.warn('[SSE] No token provided, allowing unauthenticated access (dev mode)');
|
|
27
|
-
}
|
|
28
|
-
this.sseService.createEventStream(res, workflowId);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.WorkflowSSEController = WorkflowSSEController;
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, core_1.Public)(),
|
|
34
|
-
(0, common_1.Get)(':workflowId'),
|
|
35
|
-
__param(0, (0, common_1.Param)('workflowId')),
|
|
36
|
-
__param(1, (0, common_1.Query)('token')),
|
|
37
|
-
__param(2, (0, common_1.Res)()),
|
|
38
|
-
__metadata("design:type", Function),
|
|
39
|
-
__metadata("design:paramtypes", [String, Object, Object]),
|
|
40
|
-
__metadata("design:returntype", void 0)
|
|
41
|
-
], WorkflowSSEController.prototype, "streamWorkflowEvents", null);
|
|
42
|
-
exports.WorkflowSSEController = WorkflowSSEController = __decorate([
|
|
43
|
-
(0, common_1.Controller)('workflow/sse'),
|
|
44
|
-
__metadata("design:paramtypes", [workflow_sse_service_1.WorkflowSSEService])
|
|
45
|
-
], WorkflowSSEController);
|
|
46
|
-
//# sourceMappingURL=workflow-sse.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-sse.controller.js","sourceRoot":"","sources":["../../src/controllers/workflow-sse.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA2F;AAC3F,6CAA4C;AAE5C,2EAAsE;AAG/D,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACH;IAA7B,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAW/D,oBAAoB,CACG,UAAkB,EACvB,KAAyB,EAClC,GAAa;QAIpB,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,OAAO,CAAC,IAAI,CAAC,qEAAqE,CAAC,CAAC;QACtF,CAAC;QAED,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;IACrD,CAAC;CACF,CAAA;AAzBY,sDAAqB;AAYhC;IAFC,IAAA,aAAM,GAAE;IACR,IAAA,YAAG,EAAC,aAAa,CAAC;IAEhB,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,EAAC,OAAO,CAAC,CAAA;IACd,WAAA,IAAA,YAAG,GAAE,CAAA;;;;iEASP;gCAxBU,qBAAqB;IADjC,IAAA,mBAAU,EAAC,cAAc,CAAC;qCAEgB,yCAAkB;GADhD,qBAAqB,CAyBjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-token.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/circle/actions/get-token.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,EAAE,qBAuF5B,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTokenAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const get_token_service_1 = require("../services/get-token.service");
|
|
6
|
-
exports.getTokenAction = {
|
|
7
|
-
key: 'get-token',
|
|
8
|
-
name: 'Get Token',
|
|
9
|
-
description: 'Get token information by ID from Circle API (not from database)',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: 'πͺ',
|
|
12
|
-
serviceClass: get_token_service_1.GetTokenService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'tokenId',
|
|
16
|
-
name: 'Token ID',
|
|
17
|
-
description: 'The Circle token ID to retrieve',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
placeholder: 'e.g., 123e4567-e89b-12d3-a456-426614174000',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
outputs: [
|
|
26
|
-
{
|
|
27
|
-
id: 'id',
|
|
28
|
-
name: 'Token ID',
|
|
29
|
-
description: 'The Circle token ID',
|
|
30
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 'name',
|
|
34
|
-
name: 'Token Name',
|
|
35
|
-
description: 'The name of the token',
|
|
36
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'symbol',
|
|
40
|
-
name: 'Token Symbol',
|
|
41
|
-
description: 'The symbol of the token',
|
|
42
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 'decimals',
|
|
46
|
-
name: 'Decimals',
|
|
47
|
-
description: 'Number of decimals for the token',
|
|
48
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 'isNative',
|
|
52
|
-
name: 'Is Native',
|
|
53
|
-
description: 'Whether this is a native token',
|
|
54
|
-
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: 'standard',
|
|
58
|
-
name: 'Token Standard',
|
|
59
|
-
description: 'Token standard (ERC20, ERC721, etc.)',
|
|
60
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
id: 'blockchain',
|
|
64
|
-
name: 'Blockchain',
|
|
65
|
-
description: 'Blockchain network',
|
|
66
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: 'tokenAddress',
|
|
70
|
-
name: 'Token Address',
|
|
71
|
-
description: 'Token contract address (empty for native tokens)',
|
|
72
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 'createDate',
|
|
76
|
-
name: 'Create Date',
|
|
77
|
-
description: 'Token creation date',
|
|
78
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
id: 'updateDate',
|
|
82
|
-
name: 'Update Date',
|
|
83
|
-
description: 'Token last update date',
|
|
84
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
id: 'metadata',
|
|
88
|
-
name: 'Metadata',
|
|
89
|
-
description: 'Additional token metadata',
|
|
90
|
-
type: types_1.FIELD_TYPE.JSON,
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
};
|
|
94
|
-
//# sourceMappingURL=get-token.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-token.action.js","sourceRoot":"","sources":["../../../../src/modules/circle/actions/get-token.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,qEAAgE;AAEnD,QAAA,cAAc,GAA0B;IACnD,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iEAAiE;IAC9E,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,mCAAqE;IACnF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,4CAA4C;SAC1D;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;KACF;CACF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CircleTokenService } from '@venturialstd/circle';
|
|
2
|
-
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
3
|
-
export declare class GetTokenService implements IWorkflowActionService {
|
|
4
|
-
private readonly circleTokenService;
|
|
5
|
-
constructor(circleTokenService: CircleTokenService);
|
|
6
|
-
perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=get-token.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-token.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/circle/services/get-token.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,eAAgB,YAAW,sBAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,kBAAkB;IAE7D,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAqCpC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
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
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GetTokenService = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const circle_1 = require("@venturialstd/circle");
|
|
15
|
-
let GetTokenService = class GetTokenService {
|
|
16
|
-
circleTokenService;
|
|
17
|
-
constructor(circleTokenService) {
|
|
18
|
-
this.circleTokenService = circleTokenService;
|
|
19
|
-
}
|
|
20
|
-
async perform(inputs, context) {
|
|
21
|
-
const apiKey = context.credentials?.apiKey;
|
|
22
|
-
const entitySecret = context.credentials?.entitySecret;
|
|
23
|
-
const entitySecretCiphertext = context.credentials?.entitySecretCiphertext;
|
|
24
|
-
const baseUrl = context.credentials?.baseUrl;
|
|
25
|
-
if (!apiKey) {
|
|
26
|
-
throw new Error('Circle API key is required');
|
|
27
|
-
}
|
|
28
|
-
const config = {
|
|
29
|
-
auth: {
|
|
30
|
-
apiKey,
|
|
31
|
-
entitySecret,
|
|
32
|
-
entitySecretCiphertext,
|
|
33
|
-
},
|
|
34
|
-
baseUrl,
|
|
35
|
-
};
|
|
36
|
-
const tokenId = inputs.tokenId;
|
|
37
|
-
if (!tokenId) {
|
|
38
|
-
throw new Error('Token ID is required');
|
|
39
|
-
}
|
|
40
|
-
const token = await this.circleTokenService.getToken(config, tokenId);
|
|
41
|
-
return {
|
|
42
|
-
...token,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
exports.GetTokenService = GetTokenService;
|
|
47
|
-
exports.GetTokenService = GetTokenService = __decorate([
|
|
48
|
-
(0, common_1.Injectable)(),
|
|
49
|
-
__metadata("design:paramtypes", [circle_1.CircleTokenService])
|
|
50
|
-
], GetTokenService);
|
|
51
|
-
//# sourceMappingURL=get-token.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-token.service.js","sourceRoot":"","sources":["../../../../src/modules/circle/services/get-token.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,iDAAwE;AAKjE,IAAM,eAAe,GAArB,MAAM,eAAe;IACG;IAA7B,YAA6B,kBAAsC;QAAtC,uBAAkB,GAAlB,kBAAkB,CAAoB;IAAG,CAAC;IAEvE,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAG9B,MAAM,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,MAAgB,CAAC;QACrD,MAAM,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,YAAkC,CAAC;QAC7E,MAAM,sBAAsB,GAAG,OAAO,CAAC,WAAW,EAAE,sBAEvC,CAAC;QACd,MAAM,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE,OAA6B,CAAC;QAEnE,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QAGD,MAAM,MAAM,GAAiB;YAC3B,IAAI,EAAE;gBACJ,MAAM;gBACN,YAAY;gBACZ,sBAAsB;aACvB;YACD,OAAO;SACR,CAAC;QAGF,MAAM,OAAO,GAAG,MAAM,CAAC,OAAiB,CAAC;QAEzC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC1C,CAAC;QAGD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAEtE,OAAO;YACL,GAAG,KAAK;SACT,CAAC;IACJ,CAAC;CACF,CAAA;AA3CY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAEsC,2BAAkB;GADxD,eAAe,CA2C3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-value.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/map-value.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG/E,eAAO,MAAM,cAAc,EAAE,qBAqH5B,CAAC"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapValueAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const map_value_service_1 = require("../services/map-value.service");
|
|
6
|
-
exports.mapValueAction = {
|
|
7
|
-
key: 'map-value',
|
|
8
|
-
name: 'Map Value',
|
|
9
|
-
description: 'Map an input value to a specific output value based on conditions',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: 'πΊοΈ',
|
|
12
|
-
serviceClass: map_value_service_1.MapValueService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'inputValue',
|
|
16
|
-
name: 'Input Value',
|
|
17
|
-
description: 'The value to map (can be a variable reference)',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
placeholder: 'Enter value or {{variable}}',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 'mappings',
|
|
26
|
-
name: 'Value Mappings',
|
|
27
|
-
description: 'Array of mapping rules. Each rule needs: condition, value, mappedValue. Format: [{ condition: "equals", value: "input", mappedValue: "output" }]',
|
|
28
|
-
type: types_1.FIELD_TYPE.ARRAY,
|
|
29
|
-
validation: {
|
|
30
|
-
required: true,
|
|
31
|
-
},
|
|
32
|
-
defaultValue: [
|
|
33
|
-
{
|
|
34
|
-
condition: 'equals',
|
|
35
|
-
value: '',
|
|
36
|
-
mappedValue: '',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
metadata: {
|
|
40
|
-
itemSchema: {
|
|
41
|
-
condition: {
|
|
42
|
-
type: 'select',
|
|
43
|
-
label: 'Condition',
|
|
44
|
-
options: [
|
|
45
|
-
{ label: 'Equals', value: 'equals' },
|
|
46
|
-
{ label: 'Not Equals', value: 'not_equals' },
|
|
47
|
-
{ label: 'Contains', value: 'contains' },
|
|
48
|
-
{ label: 'Not Contains', value: 'not_contains' },
|
|
49
|
-
{ label: 'Starts With', value: 'starts_with' },
|
|
50
|
-
{ label: 'Ends With', value: 'ends_with' },
|
|
51
|
-
{ label: 'Greater Than', value: 'greater_than' },
|
|
52
|
-
{ label: 'Less Than', value: 'less_than' },
|
|
53
|
-
{ label: 'Greater Than or Equal', value: 'greater_than_or_equal' },
|
|
54
|
-
{ label: 'Less Than or Equal', value: 'less_than_or_equal' },
|
|
55
|
-
{ label: 'Regex Pattern', value: 'regex' },
|
|
56
|
-
{ label: 'Is Empty', value: 'is_empty' },
|
|
57
|
-
{ label: 'Is Not Empty', value: 'is_not_empty' },
|
|
58
|
-
],
|
|
59
|
-
defaultValue: 'equals',
|
|
60
|
-
},
|
|
61
|
-
value: {
|
|
62
|
-
type: 'string',
|
|
63
|
-
label: 'Compare Value',
|
|
64
|
-
placeholder: 'Value to compare against',
|
|
65
|
-
},
|
|
66
|
-
mappedValue: {
|
|
67
|
-
type: 'string',
|
|
68
|
-
label: 'Mapped Value',
|
|
69
|
-
placeholder: 'Value to return if matched',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 'defaultValue',
|
|
76
|
-
name: 'Default Value',
|
|
77
|
-
description: 'Value to return if no mapping matches',
|
|
78
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
79
|
-
validation: {
|
|
80
|
-
required: false,
|
|
81
|
-
},
|
|
82
|
-
placeholder: 'Default value if no match',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: 'caseSensitive',
|
|
86
|
-
name: 'Case Sensitive',
|
|
87
|
-
description: 'Whether string comparisons should be case sensitive',
|
|
88
|
-
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
89
|
-
validation: {
|
|
90
|
-
required: false,
|
|
91
|
-
},
|
|
92
|
-
defaultValue: false,
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
outputs: [
|
|
96
|
-
{
|
|
97
|
-
id: 'mappedValue',
|
|
98
|
-
name: 'Mapped Value',
|
|
99
|
-
description: 'The resulting mapped value',
|
|
100
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
id: 'matched',
|
|
104
|
-
name: 'Matched',
|
|
105
|
-
description: 'Whether a mapping was found',
|
|
106
|
-
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
id: 'originalValue',
|
|
110
|
-
name: 'Original Value',
|
|
111
|
-
description: 'The original input value',
|
|
112
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 'matchedCondition',
|
|
116
|
-
name: 'Matched Condition',
|
|
117
|
-
description: 'The condition that matched',
|
|
118
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
};
|
|
122
|
-
//# sourceMappingURL=map-value.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-value.action.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/map-value.action.ts"],"names":[],"mappings":";;;AAAA,uCAA+E;AAC/E,qEAAgE;AAEnD,QAAA,cAAc,GAA0B;IACnD,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,mCAAe;IAC7B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,6BAA6B;SAC3C;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,gBAAgB;YACtB,WAAW,EACT,kJAAkJ;YACpJ,IAAI,EAAE,kBAAU,CAAC,KAAK;YACtB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,YAAY,EAAE;gBACZ;oBACE,SAAS,EAAE,QAAQ;oBACnB,KAAK,EAAE,EAAE;oBACT,WAAW,EAAE,EAAE;iBAChB;aACF;YACD,QAAQ,EAAE;gBAER,UAAU,EAAE;oBACV,SAAS,EAAE;wBACT,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,WAAW;wBAClB,OAAO,EAAE;4BACP,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;4BACpC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;4BAC5C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;4BACxC,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;4BAChD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;4BAC9C,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;4BAC1C,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;4BAChD,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;4BAC1C,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,uBAAuB,EAAE;4BAClE,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,EAAE;4BAC5D,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE;4BAC1C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;4BACxC,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;yBACjD;wBACD,YAAY,EAAE,QAAQ;qBACvB;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,eAAe;wBACtB,WAAW,EAAE,0BAA0B;qBACxC;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,cAAc;wBACrB,WAAW,EAAE,4BAA4B;qBAC1C;iBACF;aACF;SACF;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,2BAA2B;SACzC;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,kBAAU,CAAC,OAAO;YACxB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,kBAAkB;YACtB,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
-
export declare class MapValueService implements IWorkflowActionService {
|
|
3
|
-
perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=map-value.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-value.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAwF5E,qBACa,eAAgB,YAAW,sBAAsB;IACtD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CA8CpC"}
|