@venturialstd/workflow 0.1.113 → 0.1.115
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/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- 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/{chatbot/triggers → 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/chatgpt/actions/chat-completion.action.d.ts +3 -0
- package/dist/modules/chatgpt/actions/chat-completion.action.d.ts.map +1 -0
- package/dist/modules/chatgpt/actions/chat-completion.action.js +168 -0
- package/dist/modules/chatgpt/actions/chat-completion.action.js.map +1 -0
- package/dist/modules/chatgpt/actions/create-embedding.action.d.ts +3 -0
- package/dist/modules/chatgpt/actions/create-embedding.action.d.ts.map +1 -0
- package/dist/modules/chatgpt/actions/create-embedding.action.js +71 -0
- package/dist/modules/chatgpt/actions/create-embedding.action.js.map +1 -0
- package/dist/modules/chatgpt/actions/generate-image.action.d.ts +3 -0
- package/dist/modules/chatgpt/actions/generate-image.action.d.ts.map +1 -0
- package/dist/modules/chatgpt/actions/generate-image.action.js +103 -0
- package/dist/modules/chatgpt/actions/generate-image.action.js.map +1 -0
- package/dist/modules/chatgpt/actions/index.d.ts +6 -0
- package/dist/modules/chatgpt/actions/index.d.ts.map +1 -0
- package/dist/modules/{chatbot/services → chatgpt/actions}/index.js +5 -4
- package/dist/modules/chatgpt/actions/index.js.map +1 -0
- package/dist/modules/chatgpt/actions/speech-to-text.action.d.ts +3 -0
- package/dist/modules/chatgpt/actions/speech-to-text.action.d.ts.map +1 -0
- package/dist/modules/chatgpt/actions/speech-to-text.action.js +83 -0
- package/dist/modules/chatgpt/actions/speech-to-text.action.js.map +1 -0
- package/dist/modules/chatgpt/actions/text-to-speech.action.d.ts +3 -0
- package/dist/modules/chatgpt/actions/text-to-speech.action.d.ts.map +1 -0
- package/dist/modules/chatgpt/actions/text-to-speech.action.js +111 -0
- package/dist/modules/chatgpt/actions/text-to-speech.action.js.map +1 -0
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts +5 -0
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.js +68 -0
- package/dist/modules/chatgpt/auth/chatgpt-auth.service.js.map +1 -0
- package/dist/modules/chatgpt/chatgpt-nest.module.d.ts +3 -0
- package/dist/modules/chatgpt/chatgpt-nest.module.d.ts.map +1 -0
- package/dist/modules/chatgpt/chatgpt-nest.module.js +37 -0
- package/dist/modules/chatgpt/chatgpt-nest.module.js.map +1 -0
- package/dist/modules/chatgpt/chatgpt.module.d.ts +3 -0
- package/dist/modules/chatgpt/chatgpt.module.d.ts.map +1 -0
- package/dist/modules/chatgpt/chatgpt.module.js +24 -0
- package/dist/modules/chatgpt/chatgpt.module.js.map +1 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts +4 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.d.ts.map +1 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js +32 -0
- package/dist/modules/chatgpt/constants/chatgpt-completion.constants.js.map +1 -0
- package/dist/modules/chatgpt/credentials.d.ts +3 -0
- package/dist/modules/chatgpt/credentials.d.ts.map +1 -0
- package/dist/modules/chatgpt/credentials.js +32 -0
- package/dist/modules/chatgpt/credentials.js.map +1 -0
- package/dist/modules/chatgpt/services/chat-completion.service.d.ts +12 -0
- package/dist/modules/chatgpt/services/chat-completion.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/chat-completion.service.js +151 -0
- package/dist/modules/chatgpt/services/chat-completion.service.js.map +1 -0
- package/dist/modules/chatgpt/services/create-embedding.service.d.ts +8 -0
- package/dist/modules/chatgpt/services/create-embedding.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/create-embedding.service.js +65 -0
- package/dist/modules/chatgpt/services/create-embedding.service.js.map +1 -0
- package/dist/modules/chatgpt/services/generate-image.service.d.ts +8 -0
- package/dist/modules/chatgpt/services/generate-image.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/generate-image.service.js +56 -0
- package/dist/modules/chatgpt/services/generate-image.service.js.map +1 -0
- package/dist/modules/chatgpt/services/index.d.ts +6 -0
- package/dist/modules/chatgpt/services/index.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/index.js +22 -0
- package/dist/modules/chatgpt/services/index.js.map +1 -0
- package/dist/modules/chatgpt/services/speech-to-text.service.d.ts +8 -0
- package/dist/modules/chatgpt/services/speech-to-text.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/speech-to-text.service.js +54 -0
- package/dist/modules/chatgpt/services/speech-to-text.service.js.map +1 -0
- package/dist/modules/chatgpt/services/text-to-speech.service.d.ts +8 -0
- package/dist/modules/chatgpt/services/text-to-speech.service.d.ts.map +1 -0
- package/dist/modules/chatgpt/services/text-to-speech.service.js +55 -0
- package/dist/modules/chatgpt/services/text-to-speech.service.js.map +1 -0
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.d.ts.map +1 -1
- package/dist/modules/inbestgo/auth/inbestgo-auth.service.js.map +1 -1
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.d.ts.map +1 -1
- package/dist/modules/inbestgo/services/lookup-user-by-phone.service.js.map +1 -1
- package/dist/modules/index.d.ts +3 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +13 -5
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/slack/actions/add-reaction.action.d.ts +3 -0
- package/dist/modules/slack/actions/add-reaction.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/add-reaction.action.js +63 -0
- package/dist/modules/slack/actions/add-reaction.action.js.map +1 -0
- package/dist/modules/slack/actions/archive-conversation.action.d.ts +3 -0
- package/dist/modules/slack/actions/archive-conversation.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/archive-conversation.action.js +41 -0
- package/dist/modules/slack/actions/archive-conversation.action.js.map +1 -0
- package/dist/modules/slack/actions/complete-upload-external.action.d.ts +3 -0
- package/dist/modules/slack/actions/complete-upload-external.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/complete-upload-external.action.js +76 -0
- package/dist/modules/slack/actions/complete-upload-external.action.js.map +1 -0
- package/dist/modules/slack/actions/create-conversation.action.d.ts +3 -0
- package/dist/modules/slack/actions/create-conversation.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/create-conversation.action.js +67 -0
- package/dist/modules/slack/actions/create-conversation.action.js.map +1 -0
- package/dist/modules/slack/actions/create-reminder.action.d.ts +3 -0
- package/dist/modules/slack/actions/create-reminder.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/create-reminder.action.js +68 -0
- package/dist/modules/slack/actions/create-reminder.action.js.map +1 -0
- package/dist/modules/slack/actions/delete-message.action.d.ts +3 -0
- package/dist/modules/slack/actions/delete-message.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/delete-message.action.js +74 -0
- package/dist/modules/slack/actions/delete-message.action.js.map +1 -0
- package/dist/modules/slack/actions/get-conversation-history.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-conversation-history.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-conversation-history.action.js +116 -0
- package/dist/modules/slack/actions/get-conversation-history.action.js.map +1 -0
- package/dist/modules/slack/actions/get-conversation-info.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-conversation-info.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-conversation-info.action.js +67 -0
- package/dist/modules/slack/actions/get-conversation-info.action.js.map +1 -0
- package/dist/modules/slack/actions/get-message-permalink.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-message-permalink.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-message-permalink.action.js +64 -0
- package/dist/modules/slack/actions/get-message-permalink.action.js.map +1 -0
- package/dist/modules/slack/actions/get-team-info.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-team-info.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-team-info.action.js +46 -0
- package/dist/modules/slack/actions/get-team-info.action.js.map +1 -0
- package/dist/modules/slack/actions/get-thread-replies.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-thread-replies.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-thread-replies.action.js +121 -0
- package/dist/modules/slack/actions/get-thread-replies.action.js.map +1 -0
- package/dist/modules/slack/actions/get-upload-url-external.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-upload-url-external.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-upload-url-external.action.js +64 -0
- package/dist/modules/slack/actions/get-upload-url-external.action.js.map +1 -0
- package/dist/modules/slack/actions/get-user-info.action.d.ts +3 -0
- package/dist/modules/slack/actions/get-user-info.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/get-user-info.action.js +57 -0
- package/dist/modules/slack/actions/get-user-info.action.js.map +1 -0
- package/dist/modules/slack/actions/index.d.ts +30 -0
- package/dist/modules/slack/actions/index.d.ts.map +1 -0
- package/dist/modules/slack/actions/index.js +46 -0
- package/dist/modules/slack/actions/index.js.map +1 -0
- package/dist/modules/slack/actions/invite-to-conversation.action.d.ts +3 -0
- package/dist/modules/slack/actions/invite-to-conversation.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/invite-to-conversation.action.js +58 -0
- package/dist/modules/slack/actions/invite-to-conversation.action.js.map +1 -0
- package/dist/modules/slack/actions/join-conversation.action.d.ts +3 -0
- package/dist/modules/slack/actions/join-conversation.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/join-conversation.action.js +53 -0
- package/dist/modules/slack/actions/join-conversation.action.js.map +1 -0
- package/dist/modules/slack/actions/list-conversations.action.d.ts +3 -0
- package/dist/modules/slack/actions/list-conversations.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/list-conversations.action.js +93 -0
- package/dist/modules/slack/actions/list-conversations.action.js.map +1 -0
- package/dist/modules/slack/actions/list-emoji.action.d.ts +3 -0
- package/dist/modules/slack/actions/list-emoji.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/list-emoji.action.js +41 -0
- package/dist/modules/slack/actions/list-emoji.action.js.map +1 -0
- package/dist/modules/slack/actions/list-files.action.d.ts +3 -0
- package/dist/modules/slack/actions/list-files.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/list-files.action.js +142 -0
- package/dist/modules/slack/actions/list-files.action.js.map +1 -0
- package/dist/modules/slack/actions/list-users.action.d.ts +3 -0
- package/dist/modules/slack/actions/list-users.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/list-users.action.js +88 -0
- package/dist/modules/slack/actions/list-users.action.js.map +1 -0
- package/dist/modules/slack/actions/lookup-user-by-email.action.d.ts +3 -0
- package/dist/modules/slack/actions/lookup-user-by-email.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/lookup-user-by-email.action.js +46 -0
- package/dist/modules/slack/actions/lookup-user-by-email.action.js.map +1 -0
- package/dist/modules/slack/actions/open-view.action.d.ts +3 -0
- package/dist/modules/slack/actions/open-view.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/open-view.action.js +57 -0
- package/dist/modules/slack/actions/open-view.action.js.map +1 -0
- package/dist/modules/slack/actions/pin-message.action.d.ts +3 -0
- package/dist/modules/slack/actions/pin-message.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/pin-message.action.js +71 -0
- package/dist/modules/slack/actions/pin-message.action.js.map +1 -0
- package/dist/modules/slack/actions/post-message.action.d.ts +3 -0
- package/dist/modules/slack/actions/post-message.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/post-message.action.js +183 -0
- package/dist/modules/slack/actions/post-message.action.js.map +1 -0
- package/dist/modules/slack/actions/remove-reaction.action.d.ts +3 -0
- package/dist/modules/slack/actions/remove-reaction.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/remove-reaction.action.js +63 -0
- package/dist/modules/slack/actions/remove-reaction.action.js.map +1 -0
- package/dist/modules/slack/actions/schedule-message.action.d.ts +3 -0
- package/dist/modules/slack/actions/schedule-message.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/schedule-message.action.js +96 -0
- package/dist/modules/slack/actions/schedule-message.action.js.map +1 -0
- package/dist/modules/slack/actions/search-messages.action.d.ts +3 -0
- package/dist/modules/slack/actions/search-messages.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/search-messages.action.js +116 -0
- package/dist/modules/slack/actions/search-messages.action.js.map +1 -0
- package/dist/modules/slack/actions/set-conversation-topic.action.d.ts +3 -0
- package/dist/modules/slack/actions/set-conversation-topic.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/set-conversation-topic.action.js +59 -0
- package/dist/modules/slack/actions/set-conversation-topic.action.js.map +1 -0
- package/dist/modules/slack/actions/update-message.action.d.ts +3 -0
- package/dist/modules/slack/actions/update-message.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/update-message.action.js +139 -0
- package/dist/modules/slack/actions/update-message.action.js.map +1 -0
- package/dist/modules/slack/actions/upload-file.action.d.ts +3 -0
- package/dist/modules/slack/actions/upload-file.action.d.ts.map +1 -0
- package/dist/modules/slack/actions/upload-file.action.js +114 -0
- package/dist/modules/slack/actions/upload-file.action.js.map +1 -0
- package/dist/modules/slack/auth/index.d.ts +2 -0
- package/dist/modules/slack/auth/index.d.ts.map +1 -0
- package/dist/modules/{chatbot/actions → slack/auth}/index.js +1 -3
- package/dist/modules/slack/auth/index.js.map +1 -0
- package/dist/modules/slack/auth/slack-auth.service.d.ts +8 -0
- package/dist/modules/slack/auth/slack-auth.service.d.ts.map +1 -0
- package/dist/modules/slack/auth/slack-auth.service.js +78 -0
- package/dist/modules/slack/auth/slack-auth.service.js.map +1 -0
- package/dist/modules/slack/credentials.d.ts +3 -0
- package/dist/modules/slack/credentials.d.ts.map +1 -0
- package/dist/modules/slack/credentials.js +20 -0
- package/dist/modules/slack/credentials.js.map +1 -0
- package/dist/modules/slack/services/add-reaction.service.d.ts +8 -0
- package/dist/modules/slack/services/add-reaction.service.d.ts.map +1 -0
- package/dist/modules/slack/services/add-reaction.service.js +52 -0
- package/dist/modules/slack/services/add-reaction.service.js.map +1 -0
- package/dist/modules/slack/services/archive-conversation.service.d.ts +8 -0
- package/dist/modules/slack/services/archive-conversation.service.d.ts.map +1 -0
- package/dist/modules/slack/services/archive-conversation.service.js +42 -0
- package/dist/modules/slack/services/archive-conversation.service.js.map +1 -0
- package/dist/modules/slack/services/complete-upload-external.service.d.ts +8 -0
- package/dist/modules/slack/services/complete-upload-external.service.d.ts.map +1 -0
- package/dist/modules/slack/services/complete-upload-external.service.js +49 -0
- package/dist/modules/slack/services/complete-upload-external.service.js.map +1 -0
- package/dist/modules/slack/services/create-conversation.service.d.ts +8 -0
- package/dist/modules/slack/services/create-conversation.service.d.ts.map +1 -0
- package/dist/modules/slack/services/create-conversation.service.js +47 -0
- package/dist/modules/slack/services/create-conversation.service.js.map +1 -0
- package/dist/modules/slack/services/create-reminder.service.d.ts +8 -0
- package/dist/modules/slack/services/create-reminder.service.d.ts.map +1 -0
- package/dist/modules/slack/services/create-reminder.service.js +50 -0
- package/dist/modules/slack/services/create-reminder.service.js.map +1 -0
- package/dist/modules/slack/services/delete-message.service.d.ts +8 -0
- package/dist/modules/slack/services/delete-message.service.d.ts.map +1 -0
- package/dist/modules/slack/services/delete-message.service.js +51 -0
- package/dist/modules/slack/services/delete-message.service.js.map +1 -0
- package/dist/modules/slack/services/get-conversation-history.service.d.ts +8 -0
- package/dist/modules/slack/services/get-conversation-history.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-conversation-history.service.js +56 -0
- package/dist/modules/slack/services/get-conversation-history.service.js.map +1 -0
- package/dist/modules/slack/services/get-conversation-info.service.d.ts +8 -0
- package/dist/modules/slack/services/get-conversation-info.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-conversation-info.service.js +47 -0
- package/dist/modules/slack/services/get-conversation-info.service.js.map +1 -0
- package/dist/modules/slack/services/get-message-permalink.service.d.ts +8 -0
- package/dist/modules/slack/services/get-message-permalink.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-message-permalink.service.js +49 -0
- package/dist/modules/slack/services/get-message-permalink.service.js.map +1 -0
- package/dist/modules/slack/services/get-team-info.service.d.ts +8 -0
- package/dist/modules/slack/services/get-team-info.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-team-info.service.js +40 -0
- package/dist/modules/slack/services/get-team-info.service.js.map +1 -0
- package/dist/modules/slack/services/get-thread-replies.service.d.ts +8 -0
- package/dist/modules/slack/services/get-thread-replies.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-thread-replies.service.js +60 -0
- package/dist/modules/slack/services/get-thread-replies.service.js.map +1 -0
- package/dist/modules/slack/services/get-upload-url-external.service.d.ts +8 -0
- package/dist/modules/slack/services/get-upload-url-external.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-upload-url-external.service.js +49 -0
- package/dist/modules/slack/services/get-upload-url-external.service.js.map +1 -0
- package/dist/modules/slack/services/get-user-info.service.d.ts +8 -0
- package/dist/modules/slack/services/get-user-info.service.d.ts.map +1 -0
- package/dist/modules/slack/services/get-user-info.service.js +45 -0
- package/dist/modules/slack/services/get-user-info.service.js.map +1 -0
- package/dist/modules/slack/services/index.d.ts +31 -0
- package/dist/modules/slack/services/index.d.ts.map +1 -0
- package/dist/modules/slack/services/index.js +47 -0
- package/dist/modules/slack/services/index.js.map +1 -0
- package/dist/modules/slack/services/invite-to-conversation.service.d.ts +8 -0
- package/dist/modules/slack/services/invite-to-conversation.service.d.ts.map +1 -0
- package/dist/modules/slack/services/invite-to-conversation.service.js +49 -0
- package/dist/modules/slack/services/invite-to-conversation.service.js.map +1 -0
- package/dist/modules/slack/services/join-conversation.service.d.ts +8 -0
- package/dist/modules/slack/services/join-conversation.service.d.ts.map +1 -0
- package/dist/modules/slack/services/join-conversation.service.js +44 -0
- package/dist/modules/slack/services/join-conversation.service.js.map +1 -0
- package/dist/modules/slack/services/list-conversations.service.d.ts +8 -0
- package/dist/modules/slack/services/list-conversations.service.d.ts.map +1 -0
- package/dist/modules/slack/services/list-conversations.service.js +49 -0
- package/dist/modules/slack/services/list-conversations.service.js.map +1 -0
- package/dist/modules/slack/services/list-emoji.service.d.ts +8 -0
- package/dist/modules/slack/services/list-emoji.service.d.ts.map +1 -0
- package/dist/modules/slack/services/list-emoji.service.js +38 -0
- package/dist/modules/slack/services/list-emoji.service.js.map +1 -0
- package/dist/modules/slack/services/list-files.service.d.ts +8 -0
- package/dist/modules/slack/services/list-files.service.d.ts.map +1 -0
- package/dist/modules/slack/services/list-files.service.js +59 -0
- package/dist/modules/slack/services/list-files.service.js.map +1 -0
- package/dist/modules/slack/services/list-users.service.d.ts +8 -0
- package/dist/modules/slack/services/list-users.service.d.ts.map +1 -0
- package/dist/modules/slack/services/list-users.service.js +48 -0
- package/dist/modules/slack/services/list-users.service.js.map +1 -0
- package/dist/modules/slack/services/lookup-user-by-email.service.d.ts +8 -0
- package/dist/modules/slack/services/lookup-user-by-email.service.d.ts.map +1 -0
- package/dist/modules/slack/services/lookup-user-by-email.service.js +43 -0
- package/dist/modules/slack/services/lookup-user-by-email.service.js.map +1 -0
- package/dist/modules/slack/services/message-received.service.d.ts +30 -0
- package/dist/modules/slack/services/message-received.service.d.ts.map +1 -0
- package/dist/modules/slack/services/message-received.service.js +220 -0
- package/dist/modules/slack/services/message-received.service.js.map +1 -0
- package/dist/modules/slack/services/open-view.service.d.ts +8 -0
- package/dist/modules/slack/services/open-view.service.d.ts.map +1 -0
- package/dist/modules/slack/services/open-view.service.js +48 -0
- package/dist/modules/slack/services/open-view.service.js.map +1 -0
- package/dist/modules/slack/services/pin-message.service.d.ts +8 -0
- package/dist/modules/slack/services/pin-message.service.d.ts.map +1 -0
- package/dist/modules/slack/services/pin-message.service.js +51 -0
- package/dist/modules/slack/services/pin-message.service.js.map +1 -0
- package/dist/modules/slack/services/post-message.service.d.ts +8 -0
- package/dist/modules/slack/services/post-message.service.d.ts.map +1 -0
- package/dist/modules/slack/services/post-message.service.js +72 -0
- package/dist/modules/slack/services/post-message.service.js.map +1 -0
- package/dist/modules/slack/services/remove-reaction.service.d.ts +8 -0
- package/dist/modules/slack/services/remove-reaction.service.d.ts.map +1 -0
- package/dist/modules/slack/services/remove-reaction.service.js +52 -0
- package/dist/modules/slack/services/remove-reaction.service.js.map +1 -0
- package/dist/modules/slack/services/schedule-message.service.d.ts +8 -0
- package/dist/modules/slack/services/schedule-message.service.d.ts.map +1 -0
- package/dist/modules/slack/services/schedule-message.service.js +59 -0
- package/dist/modules/slack/services/schedule-message.service.js.map +1 -0
- package/dist/modules/slack/services/search-messages.service.d.ts +8 -0
- package/dist/modules/slack/services/search-messages.service.d.ts.map +1 -0
- package/dist/modules/slack/services/search-messages.service.js +54 -0
- package/dist/modules/slack/services/search-messages.service.js.map +1 -0
- package/dist/modules/slack/services/set-conversation-topic.service.d.ts +8 -0
- package/dist/modules/slack/services/set-conversation-topic.service.d.ts.map +1 -0
- package/dist/modules/slack/services/set-conversation-topic.service.js +48 -0
- package/dist/modules/slack/services/set-conversation-topic.service.js.map +1 -0
- package/dist/modules/slack/services/update-message.service.d.ts +8 -0
- package/dist/modules/slack/services/update-message.service.d.ts.map +1 -0
- package/dist/modules/slack/services/update-message.service.js +66 -0
- package/dist/modules/slack/services/update-message.service.js.map +1 -0
- package/dist/modules/slack/services/upload-file.service.d.ts +8 -0
- package/dist/modules/slack/services/upload-file.service.d.ts.map +1 -0
- package/dist/modules/slack/services/upload-file.service.js +66 -0
- package/dist/modules/slack/services/upload-file.service.js.map +1 -0
- package/dist/modules/slack/slack-nest.module.d.ts +3 -0
- package/dist/modules/slack/slack-nest.module.d.ts.map +1 -0
- package/dist/modules/slack/slack-nest.module.js +89 -0
- package/dist/modules/slack/slack-nest.module.js.map +1 -0
- package/dist/modules/slack/slack.module.d.ts +3 -0
- package/dist/modules/slack/slack.module.d.ts.map +1 -0
- package/dist/modules/slack/slack.module.js +49 -0
- package/dist/modules/slack/slack.module.js.map +1 -0
- package/dist/modules/slack/triggers/index.d.ts +3 -0
- package/dist/modules/slack/triggers/index.d.ts.map +1 -0
- package/dist/modules/slack/triggers/index.js +8 -0
- package/dist/modules/slack/triggers/index.js.map +1 -0
- package/dist/modules/slack/triggers/message-received.trigger.d.ts +3 -0
- package/dist/modules/slack/triggers/message-received.trigger.d.ts.map +1 -0
- package/dist/modules/slack/triggers/message-received.trigger.js +122 -0
- package/dist/modules/slack/triggers/message-received.trigger.js.map +1 -0
- package/dist/modules/slack/utils/slack-credentials.util.d.ts +4 -0
- package/dist/modules/slack/utils/slack-credentials.util.d.ts.map +1 -0
- package/dist/modules/slack/utils/slack-credentials.util.js +13 -0
- package/dist/modules/slack/utils/slack-credentials.util.js.map +1 -0
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +9 -3
- package/dist/workflow.module.js.map +1 -1
- package/package.json +106 -102
- package/dist/modules/chatbot/actions/ask-question.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/ask-question.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/ask-question.action.js +0 -42
- package/dist/modules/chatbot/actions/ask-question.action.js.map +0 -1
- package/dist/modules/chatbot/actions/index.d.ts +0 -4
- package/dist/modules/chatbot/actions/index.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/index.js.map +0 -1
- package/dist/modules/chatbot/actions/send-buttons.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/send-buttons.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/send-buttons.action.js +0 -67
- package/dist/modules/chatbot/actions/send-buttons.action.js.map +0 -1
- package/dist/modules/chatbot/actions/send-message.action.d.ts +0 -3
- package/dist/modules/chatbot/actions/send-message.action.d.ts.map +0 -1
- package/dist/modules/chatbot/actions/send-message.action.js +0 -52
- package/dist/modules/chatbot/actions/send-message.action.js.map +0 -1
- package/dist/modules/chatbot/chatbot-nest.module.d.ts +0 -3
- package/dist/modules/chatbot/chatbot-nest.module.d.ts.map +0 -1
- package/dist/modules/chatbot/chatbot-nest.module.js +0 -21
- package/dist/modules/chatbot/chatbot-nest.module.js.map +0 -1
- package/dist/modules/chatbot/chatbot.module.d.ts +0 -3
- package/dist/modules/chatbot/chatbot.module.d.ts.map +0 -1
- package/dist/modules/chatbot/chatbot.module.js +0 -17
- package/dist/modules/chatbot/chatbot.module.js.map +0 -1
- package/dist/modules/chatbot/credentials.d.ts +0 -3
- package/dist/modules/chatbot/credentials.d.ts.map +0 -1
- package/dist/modules/chatbot/credentials.js +0 -5
- package/dist/modules/chatbot/credentials.js.map +0 -1
- package/dist/modules/chatbot/services/ask-question.service.d.ts +0 -5
- package/dist/modules/chatbot/services/ask-question.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/ask-question.service.js +0 -25
- package/dist/modules/chatbot/services/ask-question.service.js.map +0 -1
- package/dist/modules/chatbot/services/index.d.ts +0 -5
- package/dist/modules/chatbot/services/index.d.ts.map +0 -1
- package/dist/modules/chatbot/services/index.js.map +0 -1
- package/dist/modules/chatbot/services/send-buttons.service.d.ts +0 -5
- package/dist/modules/chatbot/services/send-buttons.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/send-buttons.service.js +0 -25
- package/dist/modules/chatbot/services/send-buttons.service.js.map +0 -1
- package/dist/modules/chatbot/services/send-message.service.d.ts +0 -5
- package/dist/modules/chatbot/services/send-message.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/send-message.service.js +0 -27
- package/dist/modules/chatbot/services/send-message.service.js.map +0 -1
- package/dist/modules/chatbot/services/user-responded.service.d.ts +0 -5
- package/dist/modules/chatbot/services/user-responded.service.d.ts.map +0 -1
- package/dist/modules/chatbot/services/user-responded.service.js +0 -25
- package/dist/modules/chatbot/services/user-responded.service.js.map +0 -1
- package/dist/modules/chatbot/triggers/index.d.ts +0 -2
- package/dist/modules/chatbot/triggers/index.d.ts.map +0 -1
- package/dist/modules/chatbot/triggers/index.js.map +0 -1
- package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts +0 -3
- package/dist/modules/chatbot/triggers/user-responded.trigger.d.ts.map +0 -1
- package/dist/modules/chatbot/triggers/user-responded.trigger.js +0 -45
- package/dist/modules/chatbot/triggers/user-responded.trigger.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,238 +1,238 @@
|
|
|
1
|
-
# Workflow Module
|
|
2
|
-
|
|
3
|
-
A comprehensive workflow management module for Venturial that handles workflow creation, execution, and session management.
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- **Workflow Management**: Create, update, and manage workflows with nodes and edges
|
|
8
|
-
- **Node Types**: Support for multiple node types (Chatbot, AI, Conditional, Twilio)
|
|
9
|
-
- **Execution Tracking**: Track workflow executions with status and data
|
|
10
|
-
- **Session Management**: Persistent sessions for multi-step workflows
|
|
11
|
-
- **Execution Modes**: Support for single-run and persistent session workflows
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm install @venturialstd/workflow
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Entities
|
|
20
|
-
|
|
21
|
-
### Workflow
|
|
22
|
-
Main workflow entity containing:
|
|
23
|
-
- `name`: Workflow name
|
|
24
|
-
- `active`: Whether the workflow is active
|
|
25
|
-
- `executionMode`: `single` or `persistent`
|
|
26
|
-
- `status`: `active`, `inactive`, or `draft`
|
|
27
|
-
- Relationships to nodes, edges, executions, and sessions
|
|
28
|
-
|
|
29
|
-
### WorkflowNode
|
|
30
|
-
Represents a node in the workflow:
|
|
31
|
-
- `nodeId`: ReactFlow node identifier
|
|
32
|
-
- `type`: Node type (chatbot, ai, conditional, twilio)
|
|
33
|
-
- `actionType`: Specific trigger or action identifier
|
|
34
|
-
- `properties`: Node-specific properties (JSONB)
|
|
35
|
-
- `position`: Node position on canvas (x, y)
|
|
36
|
-
|
|
37
|
-
### WorkflowEdge
|
|
38
|
-
Represents connections between nodes:
|
|
39
|
-
- `edgeId`: ReactFlow edge identifier
|
|
40
|
-
- `source`: Source node ID
|
|
41
|
-
- `target`: Target node ID
|
|
42
|
-
- `sourceHandle` / `targetHandle`: Handle identifiers
|
|
43
|
-
|
|
44
|
-
### WorkflowExecution
|
|
45
|
-
Tracks individual workflow runs:
|
|
46
|
-
- `status`: `pending`, `running`, `completed`, `failed`, `cancelled`
|
|
47
|
-
- `sessionId`: Optional session ID for persistent workflows
|
|
48
|
-
- `currentNodeId`: Current node being executed
|
|
49
|
-
- `inputData` / `outputData` / `errorData`: Execution data
|
|
50
|
-
|
|
51
|
-
### WorkflowSession
|
|
52
|
-
Manages persistent workflow sessions:
|
|
53
|
-
- `userId`: Optional user identifier
|
|
54
|
-
- `externalId`: External identifier (phone, email, etc.)
|
|
55
|
-
- `currentNodeId`: Current node in session
|
|
56
|
-
- `context`: Session context/variables (JSONB)
|
|
57
|
-
- `history`: Array of node execution history
|
|
58
|
-
|
|
59
|
-
### WorkflowModuleCredential
|
|
60
|
-
Stores credentials for workflow modules:
|
|
61
|
-
- `moduleId`: Module identifier (e.g., 'twilio', 'ai')
|
|
62
|
-
- `name`: User-defined name for this credential set
|
|
63
|
-
- `credentials`: Encrypted credential values (JSONB)
|
|
64
|
-
- `organizationId`: Optional organization scope
|
|
65
|
-
- `userId`: Optional user scope
|
|
66
|
-
- `isActive`: Whether the credential is active
|
|
67
|
-
|
|
68
|
-
## Services
|
|
69
|
-
|
|
70
|
-
All services extend `TypeOrmCrudService` and provide CRUD operations via `@dataui/crud`.
|
|
71
|
-
|
|
72
|
-
### WorkflowService
|
|
73
|
-
- `getWorkflowsByOrganization(organizationId)`
|
|
74
|
-
- `getActiveWorkflows(organizationId?)`
|
|
75
|
-
- `activateWorkflow(workflowId)`
|
|
76
|
-
- `deactivateWorkflow(workflowId)`
|
|
77
|
-
- `getWorkflowWithNodesAndEdges(workflowId)`
|
|
78
|
-
|
|
79
|
-
### WorkflowNodeService
|
|
80
|
-
- `getNodesByWorkflowId(workflowId)`
|
|
81
|
-
- `getNodeByNodeId(workflowId, nodeId)`
|
|
82
|
-
- `updateNodeProperties(id, properties)`
|
|
83
|
-
- `updateNodePosition(id, position)`
|
|
84
|
-
|
|
85
|
-
### WorkflowEdgeService
|
|
86
|
-
- `getEdgesByWorkflowId(workflowId)`
|
|
87
|
-
- `getEdgeByEdgeId(workflowId, edgeId)`
|
|
88
|
-
- `getEdgesBySourceNode(workflowId, sourceNodeId)`
|
|
89
|
-
- `getEdgesByTargetNode(workflowId, targetNodeId)`
|
|
90
|
-
|
|
91
|
-
### WorkflowExecutionService
|
|
92
|
-
- `getExecutionsByWorkflowId(workflowId)`
|
|
93
|
-
- `getExecutionsBySessionId(sessionId)`
|
|
94
|
-
- `getActiveExecutions(workflowId?)`
|
|
95
|
-
- `startExecution(executionId)`
|
|
96
|
-
- `completeExecution(executionId, outputData?)`
|
|
97
|
-
- `failExecution(executionId, errorMessage, errorData?)`
|
|
98
|
-
- `updateCurrentNode(executionId, currentNodeId)`
|
|
99
|
-
|
|
100
|
-
### WorkflowSessionService
|
|
101
|
-
- `getSessionsByWorkflowId(workflowId)`
|
|
102
|
-
- `getActiveSessions(workflowId?)`
|
|
103
|
-
- `getSessionByExternalId(workflowId, externalId)`
|
|
104
|
-
- `getSessionByUserId(workflowId, userId)`
|
|
105
|
-
- `updateSessionContext(sessionId, context)`
|
|
106
|
-
- `addToSessionHistory(sessionId, nodeId, data?)`
|
|
107
|
-
- `deactivateSession(sessionId)`
|
|
108
|
-
|
|
109
|
-
### WorkflowModuleCredentialService
|
|
110
|
-
- `getCredentialsByModule(moduleId, organizationId?, userId?)`
|
|
111
|
-
- `getCredentialByName(moduleId, name, organizationId?, userId?)`
|
|
112
|
-
- `getActiveCredentials(moduleId, organizationId?)`
|
|
113
|
-
- `updateCredential(id, credentials)`
|
|
114
|
-
- `activateCredential(id)`
|
|
115
|
-
- `deactivateCredential(id)`
|
|
116
|
-
|
|
117
|
-
## Usage
|
|
118
|
-
|
|
119
|
-
### Import the Module
|
|
120
|
-
|
|
121
|
-
```typescript
|
|
122
|
-
import { WorkflowModule } from '@venturialstd/workflow';
|
|
123
|
-
|
|
124
|
-
@Module({
|
|
125
|
-
imports: [WorkflowModule],
|
|
126
|
-
})
|
|
127
|
-
export class AppModule {}
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### Use Services
|
|
131
|
-
|
|
132
|
-
```typescript
|
|
133
|
-
import { WorkflowService } from '@venturialstd/workflow';
|
|
134
|
-
|
|
135
|
-
@Injectable()
|
|
136
|
-
export class MyService {
|
|
137
|
-
constructor(private workflowService: WorkflowService) {}
|
|
138
|
-
|
|
139
|
-
async createWorkflow(data: CreateWorkflowDto) {
|
|
140
|
-
return this.workflowService.create(data);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## Constants
|
|
146
|
-
|
|
147
|
-
### Execution Modes
|
|
148
|
-
- `EXECUTION_MODE.SINGLE`: One-time execution
|
|
149
|
-
- `EXECUTION_MODE.PERSISTENT`: Maintains session state
|
|
150
|
-
|
|
151
|
-
### Node Types
|
|
152
|
-
- `NODE_TYPE.CHATBOT`
|
|
153
|
-
- `NODE_TYPE.AI`
|
|
154
|
-
- `NODE_TYPE.CONDITIONAL`
|
|
155
|
-
- `NODE_TYPE.TWILIO`
|
|
156
|
-
|
|
157
|
-
### Node Categories
|
|
158
|
-
- `NODE_CATEGORY.TRIGGER`
|
|
159
|
-
- `NODE_CATEGORY.ACTION`
|
|
160
|
-
|
|
161
|
-
### Workflow Status
|
|
162
|
-
- `WORKFLOW_STATUS.ACTIVE`
|
|
163
|
-
- `WORKFLOW_STATUS.INACTIVE`
|
|
164
|
-
- `WORKFLOW_STATUS.DRAFT`
|
|
165
|
-
|
|
166
|
-
### Execution Status
|
|
167
|
-
- `EXECUTION_STATUS.PENDING`
|
|
168
|
-
- `EXECUTION_STATUS.RUNNING`
|
|
169
|
-
- `EXECUTION_STATUS.COMPLETED`
|
|
170
|
-
- `EXECUTION_STATUS.FAILED`
|
|
171
|
-
- `EXECUTION_STATUS.CANCELLED`
|
|
172
|
-
|
|
173
|
-
## DTOs
|
|
174
|
-
|
|
175
|
-
All DTOs follow the `Create*Dto` pattern:
|
|
176
|
-
- `CreateWorkflowDto`
|
|
177
|
-
- `CreateWorkflowNodeDto`
|
|
178
|
-
- `CreateWorkflowEdgeDto`
|
|
179
|
-
- `CreateWorkflowExecutionDto`
|
|
180
|
-
- `CreateWorkflowSessionDto`
|
|
181
|
-
- `CreateWorkflowModuleCredentialDto`
|
|
182
|
-
- `UpdateWorkflowModuleCredentialDto`
|
|
183
|
-
|
|
184
|
-
## Database Schema
|
|
185
|
-
|
|
186
|
-
The module uses PostgreSQL with JSONB columns for flexible data storage:
|
|
187
|
-
- Node properties stored as JSONB
|
|
188
|
-
- Edge data stored as JSONB
|
|
189
|
-
- Execution input/output/error data as JSONB
|
|
190
|
-
- Session context and history as JSONB
|
|
191
|
-
- Module credentials stored as JSONB (should be encrypted at application level)
|
|
192
|
-
|
|
193
|
-
## Module Credentials
|
|
194
|
-
|
|
195
|
-
Each module can define required credential fields. Users can create multiple credential sets per module:
|
|
196
|
-
|
|
197
|
-
### Defining Credential Fields in Modules
|
|
198
|
-
|
|
199
|
-
Modules can define `credentialFields` in their module definition:
|
|
200
|
-
|
|
201
|
-
```typescript
|
|
202
|
-
credentialFields: [
|
|
203
|
-
{
|
|
204
|
-
id: 'apiKey',
|
|
205
|
-
name: 'API Key',
|
|
206
|
-
description: 'API key for the service',
|
|
207
|
-
type: FIELD_TYPE.STRING,
|
|
208
|
-
validation: { required: true },
|
|
209
|
-
sensitive: true, // Will be encrypted/masked
|
|
210
|
-
required: true,
|
|
211
|
-
},
|
|
212
|
-
]
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
### Managing Credentials
|
|
216
|
-
|
|
217
|
-
```typescript
|
|
218
|
-
// Create credentials for a module
|
|
219
|
-
const credential = await credentialService.create({
|
|
220
|
-
moduleId: 'twilio',
|
|
221
|
-
name: 'Production Twilio',
|
|
222
|
-
credentials: {
|
|
223
|
-
accountSid: 'AC...',
|
|
224
|
-
authToken: '...',
|
|
225
|
-
},
|
|
226
|
-
organizationId: 'org-123',
|
|
227
|
-
});
|
|
228
|
-
|
|
229
|
-
// Get all credentials for a module
|
|
230
|
-
const credentials = await credentialService.getCredentialsByModule(
|
|
231
|
-
'twilio',
|
|
232
|
-
'org-123'
|
|
233
|
-
);
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
## License
|
|
237
|
-
|
|
238
|
-
Part of the Venturial Core NPM package.
|
|
1
|
+
# Workflow Module
|
|
2
|
+
|
|
3
|
+
A comprehensive workflow management module for Venturial that handles workflow creation, execution, and session management.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Workflow Management**: Create, update, and manage workflows with nodes and edges
|
|
8
|
+
- **Node Types**: Support for multiple node types (Chatbot, AI, Conditional, Twilio)
|
|
9
|
+
- **Execution Tracking**: Track workflow executions with status and data
|
|
10
|
+
- **Session Management**: Persistent sessions for multi-step workflows
|
|
11
|
+
- **Execution Modes**: Support for single-run and persistent session workflows
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @venturialstd/workflow
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Entities
|
|
20
|
+
|
|
21
|
+
### Workflow
|
|
22
|
+
Main workflow entity containing:
|
|
23
|
+
- `name`: Workflow name
|
|
24
|
+
- `active`: Whether the workflow is active
|
|
25
|
+
- `executionMode`: `single` or `persistent`
|
|
26
|
+
- `status`: `active`, `inactive`, or `draft`
|
|
27
|
+
- Relationships to nodes, edges, executions, and sessions
|
|
28
|
+
|
|
29
|
+
### WorkflowNode
|
|
30
|
+
Represents a node in the workflow:
|
|
31
|
+
- `nodeId`: ReactFlow node identifier
|
|
32
|
+
- `type`: Node type (chatbot, ai, conditional, twilio)
|
|
33
|
+
- `actionType`: Specific trigger or action identifier
|
|
34
|
+
- `properties`: Node-specific properties (JSONB)
|
|
35
|
+
- `position`: Node position on canvas (x, y)
|
|
36
|
+
|
|
37
|
+
### WorkflowEdge
|
|
38
|
+
Represents connections between nodes:
|
|
39
|
+
- `edgeId`: ReactFlow edge identifier
|
|
40
|
+
- `source`: Source node ID
|
|
41
|
+
- `target`: Target node ID
|
|
42
|
+
- `sourceHandle` / `targetHandle`: Handle identifiers
|
|
43
|
+
|
|
44
|
+
### WorkflowExecution
|
|
45
|
+
Tracks individual workflow runs:
|
|
46
|
+
- `status`: `pending`, `running`, `completed`, `failed`, `cancelled`
|
|
47
|
+
- `sessionId`: Optional session ID for persistent workflows
|
|
48
|
+
- `currentNodeId`: Current node being executed
|
|
49
|
+
- `inputData` / `outputData` / `errorData`: Execution data
|
|
50
|
+
|
|
51
|
+
### WorkflowSession
|
|
52
|
+
Manages persistent workflow sessions:
|
|
53
|
+
- `userId`: Optional user identifier
|
|
54
|
+
- `externalId`: External identifier (phone, email, etc.)
|
|
55
|
+
- `currentNodeId`: Current node in session
|
|
56
|
+
- `context`: Session context/variables (JSONB)
|
|
57
|
+
- `history`: Array of node execution history
|
|
58
|
+
|
|
59
|
+
### WorkflowModuleCredential
|
|
60
|
+
Stores credentials for workflow modules:
|
|
61
|
+
- `moduleId`: Module identifier (e.g., 'twilio', 'ai')
|
|
62
|
+
- `name`: User-defined name for this credential set
|
|
63
|
+
- `credentials`: Encrypted credential values (JSONB)
|
|
64
|
+
- `organizationId`: Optional organization scope
|
|
65
|
+
- `userId`: Optional user scope
|
|
66
|
+
- `isActive`: Whether the credential is active
|
|
67
|
+
|
|
68
|
+
## Services
|
|
69
|
+
|
|
70
|
+
All services extend `TypeOrmCrudService` and provide CRUD operations via `@dataui/crud`.
|
|
71
|
+
|
|
72
|
+
### WorkflowService
|
|
73
|
+
- `getWorkflowsByOrganization(organizationId)`
|
|
74
|
+
- `getActiveWorkflows(organizationId?)`
|
|
75
|
+
- `activateWorkflow(workflowId)`
|
|
76
|
+
- `deactivateWorkflow(workflowId)`
|
|
77
|
+
- `getWorkflowWithNodesAndEdges(workflowId)`
|
|
78
|
+
|
|
79
|
+
### WorkflowNodeService
|
|
80
|
+
- `getNodesByWorkflowId(workflowId)`
|
|
81
|
+
- `getNodeByNodeId(workflowId, nodeId)`
|
|
82
|
+
- `updateNodeProperties(id, properties)`
|
|
83
|
+
- `updateNodePosition(id, position)`
|
|
84
|
+
|
|
85
|
+
### WorkflowEdgeService
|
|
86
|
+
- `getEdgesByWorkflowId(workflowId)`
|
|
87
|
+
- `getEdgeByEdgeId(workflowId, edgeId)`
|
|
88
|
+
- `getEdgesBySourceNode(workflowId, sourceNodeId)`
|
|
89
|
+
- `getEdgesByTargetNode(workflowId, targetNodeId)`
|
|
90
|
+
|
|
91
|
+
### WorkflowExecutionService
|
|
92
|
+
- `getExecutionsByWorkflowId(workflowId)`
|
|
93
|
+
- `getExecutionsBySessionId(sessionId)`
|
|
94
|
+
- `getActiveExecutions(workflowId?)`
|
|
95
|
+
- `startExecution(executionId)`
|
|
96
|
+
- `completeExecution(executionId, outputData?)`
|
|
97
|
+
- `failExecution(executionId, errorMessage, errorData?)`
|
|
98
|
+
- `updateCurrentNode(executionId, currentNodeId)`
|
|
99
|
+
|
|
100
|
+
### WorkflowSessionService
|
|
101
|
+
- `getSessionsByWorkflowId(workflowId)`
|
|
102
|
+
- `getActiveSessions(workflowId?)`
|
|
103
|
+
- `getSessionByExternalId(workflowId, externalId)`
|
|
104
|
+
- `getSessionByUserId(workflowId, userId)`
|
|
105
|
+
- `updateSessionContext(sessionId, context)`
|
|
106
|
+
- `addToSessionHistory(sessionId, nodeId, data?)`
|
|
107
|
+
- `deactivateSession(sessionId)`
|
|
108
|
+
|
|
109
|
+
### WorkflowModuleCredentialService
|
|
110
|
+
- `getCredentialsByModule(moduleId, organizationId?, userId?)`
|
|
111
|
+
- `getCredentialByName(moduleId, name, organizationId?, userId?)`
|
|
112
|
+
- `getActiveCredentials(moduleId, organizationId?)`
|
|
113
|
+
- `updateCredential(id, credentials)`
|
|
114
|
+
- `activateCredential(id)`
|
|
115
|
+
- `deactivateCredential(id)`
|
|
116
|
+
|
|
117
|
+
## Usage
|
|
118
|
+
|
|
119
|
+
### Import the Module
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import { WorkflowModule } from '@venturialstd/workflow';
|
|
123
|
+
|
|
124
|
+
@Module({
|
|
125
|
+
imports: [WorkflowModule],
|
|
126
|
+
})
|
|
127
|
+
export class AppModule {}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Use Services
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
import { WorkflowService } from '@venturialstd/workflow';
|
|
134
|
+
|
|
135
|
+
@Injectable()
|
|
136
|
+
export class MyService {
|
|
137
|
+
constructor(private workflowService: WorkflowService) {}
|
|
138
|
+
|
|
139
|
+
async createWorkflow(data: CreateWorkflowDto) {
|
|
140
|
+
return this.workflowService.create(data);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Constants
|
|
146
|
+
|
|
147
|
+
### Execution Modes
|
|
148
|
+
- `EXECUTION_MODE.SINGLE`: One-time execution
|
|
149
|
+
- `EXECUTION_MODE.PERSISTENT`: Maintains session state
|
|
150
|
+
|
|
151
|
+
### Node Types
|
|
152
|
+
- `NODE_TYPE.CHATBOT`
|
|
153
|
+
- `NODE_TYPE.AI`
|
|
154
|
+
- `NODE_TYPE.CONDITIONAL`
|
|
155
|
+
- `NODE_TYPE.TWILIO`
|
|
156
|
+
|
|
157
|
+
### Node Categories
|
|
158
|
+
- `NODE_CATEGORY.TRIGGER`
|
|
159
|
+
- `NODE_CATEGORY.ACTION`
|
|
160
|
+
|
|
161
|
+
### Workflow Status
|
|
162
|
+
- `WORKFLOW_STATUS.ACTIVE`
|
|
163
|
+
- `WORKFLOW_STATUS.INACTIVE`
|
|
164
|
+
- `WORKFLOW_STATUS.DRAFT`
|
|
165
|
+
|
|
166
|
+
### Execution Status
|
|
167
|
+
- `EXECUTION_STATUS.PENDING`
|
|
168
|
+
- `EXECUTION_STATUS.RUNNING`
|
|
169
|
+
- `EXECUTION_STATUS.COMPLETED`
|
|
170
|
+
- `EXECUTION_STATUS.FAILED`
|
|
171
|
+
- `EXECUTION_STATUS.CANCELLED`
|
|
172
|
+
|
|
173
|
+
## DTOs
|
|
174
|
+
|
|
175
|
+
All DTOs follow the `Create*Dto` pattern:
|
|
176
|
+
- `CreateWorkflowDto`
|
|
177
|
+
- `CreateWorkflowNodeDto`
|
|
178
|
+
- `CreateWorkflowEdgeDto`
|
|
179
|
+
- `CreateWorkflowExecutionDto`
|
|
180
|
+
- `CreateWorkflowSessionDto`
|
|
181
|
+
- `CreateWorkflowModuleCredentialDto`
|
|
182
|
+
- `UpdateWorkflowModuleCredentialDto`
|
|
183
|
+
|
|
184
|
+
## Database Schema
|
|
185
|
+
|
|
186
|
+
The module uses PostgreSQL with JSONB columns for flexible data storage:
|
|
187
|
+
- Node properties stored as JSONB
|
|
188
|
+
- Edge data stored as JSONB
|
|
189
|
+
- Execution input/output/error data as JSONB
|
|
190
|
+
- Session context and history as JSONB
|
|
191
|
+
- Module credentials stored as JSONB (should be encrypted at application level)
|
|
192
|
+
|
|
193
|
+
## Module Credentials
|
|
194
|
+
|
|
195
|
+
Each module can define required credential fields. Users can create multiple credential sets per module:
|
|
196
|
+
|
|
197
|
+
### Defining Credential Fields in Modules
|
|
198
|
+
|
|
199
|
+
Modules can define `credentialFields` in their module definition:
|
|
200
|
+
|
|
201
|
+
```typescript
|
|
202
|
+
credentialFields: [
|
|
203
|
+
{
|
|
204
|
+
id: 'apiKey',
|
|
205
|
+
name: 'API Key',
|
|
206
|
+
description: 'API key for the service',
|
|
207
|
+
type: FIELD_TYPE.STRING,
|
|
208
|
+
validation: { required: true },
|
|
209
|
+
sensitive: true, // Will be encrypted/masked
|
|
210
|
+
required: true,
|
|
211
|
+
},
|
|
212
|
+
]
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### Managing Credentials
|
|
216
|
+
|
|
217
|
+
```typescript
|
|
218
|
+
// Create credentials for a module
|
|
219
|
+
const credential = await credentialService.create({
|
|
220
|
+
moduleId: 'twilio',
|
|
221
|
+
name: 'Production Twilio',
|
|
222
|
+
credentials: {
|
|
223
|
+
accountSid: 'AC...',
|
|
224
|
+
authToken: '...',
|
|
225
|
+
},
|
|
226
|
+
organizationId: 'org-123',
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
// Get all credentials for a module
|
|
230
|
+
const credentials = await credentialService.getCredentialsByModule(
|
|
231
|
+
'twilio',
|
|
232
|
+
'org-123'
|
|
233
|
+
);
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## License
|
|
237
|
+
|
|
238
|
+
Part of the Venturial Core NPM package.
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export * from './services/workflow-session.service';
|
|
|
23
23
|
export * from './services/workflow-webhook.service';
|
|
24
24
|
export * from './modules';
|
|
25
25
|
export * from './modules/ai/ai-nest.module';
|
|
26
|
-
export * from './modules/chatbot/chatbot-nest.module';
|
|
27
26
|
export * from './modules/conditional/conditional-nest.module';
|
|
28
27
|
export * from './modules/twilio/twilio-nest.module';
|
|
29
28
|
export * from './modules/webhook/webhook-nest.module';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AAGjE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,WAAW,CAAC;AAG1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAG9C,cAAc,QAAQ,CAAC;AAGvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AAGnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AAGjE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,WAAW,CAAC;AAG1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,6 @@ __exportStar(require("./services/workflow-session.service"), exports);
|
|
|
41
41
|
__exportStar(require("./services/workflow-webhook.service"), exports);
|
|
42
42
|
__exportStar(require("./modules"), exports);
|
|
43
43
|
__exportStar(require("./modules/ai/ai-nest.module"), exports);
|
|
44
|
-
__exportStar(require("./modules/chatbot/chatbot-nest.module"), exports);
|
|
45
44
|
__exportStar(require("./modules/conditional/conditional-nest.module"), exports);
|
|
46
45
|
__exportStar(require("./modules/twilio/twilio-nest.module"), exports);
|
|
47
46
|
__exportStar(require("./modules/webhook/webhook-nest.module"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,4EAA0D;AAC1D,qEAAmD;AACnD,qEAAmD;AAGnD,sFAAoE;AACpE,yEAAuD;AACvD,mFAAiE;AAGjE,8DAA4C;AAC5C,mEAAiD;AACjD,wEAAsD;AACtD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AACjD,6EAA2D;AAC3D,sEAAoD;AACpD,sEAAoD;AAGpD,4CAA0B;AAG1B,8DAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,gEAA8C;AAG9C,yCAAuB;AAGvB,6DAA2C;AAC3C,kEAAgD;AAChD,uEAAqD;AACrD,4EAA2F;AAAlF,8HAAA,cAAc,OAAwB;AAC/C,+EAA6D;AAC7D,kEAAgD;AAChD,4EAA0D;AAC1D,qEAAmD;AACnD,qEAAmD;AAGnD,sFAAoE;AACpE,yEAAuD;AACvD,mFAAiE;AAGjE,8DAA4C;AAC5C,mEAAiD;AACjD,wEAAsD;AACtD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AACjD,6EAA2D;AAC3D,sEAAoD;AACpD,sEAAoD;AAGpD,4CAA0B;AAG1B,8DAA4C;AAC5C,gFAA8D;AAC9D,sEAAoD;AACpD,wEAAsD;AACtD,oDAAkC;AAClC,yDAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|