@venturialstd/workflow 0.1.90 → 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 -1
- package/dist/services/workflow-execution.service.d.ts.map +1 -1
- package/dist/services/workflow-execution.service.js +7 -9
- 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 -40
- 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
|
@@ -1,108 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.MapValueService = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
function resolveVariableReference(value, context) {
|
|
12
|
-
if (!value)
|
|
13
|
-
return value;
|
|
14
|
-
let resolvedValue = value.trim();
|
|
15
|
-
if (resolvedValue.startsWith('{{') && resolvedValue.endsWith('}}')) {
|
|
16
|
-
resolvedValue = resolvedValue.slice(2, -2).trim();
|
|
17
|
-
const parts = resolvedValue.split('.');
|
|
18
|
-
let result = context.previousOutputs;
|
|
19
|
-
for (const part of parts) {
|
|
20
|
-
if (result && typeof result === 'object' && part in result) {
|
|
21
|
-
result = result[part];
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
return value;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return String(result);
|
|
28
|
-
}
|
|
29
|
-
return value;
|
|
30
|
-
}
|
|
31
|
-
function evaluateCondition(inputValue, condition, compareValue, caseSensitive) {
|
|
32
|
-
const normalizedInput = caseSensitive ? inputValue : inputValue.toLowerCase();
|
|
33
|
-
const normalizedCompare = caseSensitive ? compareValue : compareValue.toLowerCase();
|
|
34
|
-
switch (condition) {
|
|
35
|
-
case 'equals':
|
|
36
|
-
return normalizedInput === normalizedCompare;
|
|
37
|
-
case 'not_equals':
|
|
38
|
-
return normalizedInput !== normalizedCompare;
|
|
39
|
-
case 'contains':
|
|
40
|
-
return normalizedInput.includes(normalizedCompare);
|
|
41
|
-
case 'not_contains':
|
|
42
|
-
return !normalizedInput.includes(normalizedCompare);
|
|
43
|
-
case 'starts_with':
|
|
44
|
-
return normalizedInput.startsWith(normalizedCompare);
|
|
45
|
-
case 'ends_with':
|
|
46
|
-
return normalizedInput.endsWith(normalizedCompare);
|
|
47
|
-
case 'greater_than':
|
|
48
|
-
return Number(inputValue) > Number(compareValue);
|
|
49
|
-
case 'less_than':
|
|
50
|
-
return Number(inputValue) < Number(compareValue);
|
|
51
|
-
case 'greater_than_or_equal':
|
|
52
|
-
return Number(inputValue) >= Number(compareValue);
|
|
53
|
-
case 'less_than_or_equal':
|
|
54
|
-
return Number(inputValue) <= Number(compareValue);
|
|
55
|
-
case 'regex':
|
|
56
|
-
try {
|
|
57
|
-
const regex = new RegExp(compareValue, caseSensitive ? '' : 'i');
|
|
58
|
-
return regex.test(inputValue);
|
|
59
|
-
}
|
|
60
|
-
catch (error) {
|
|
61
|
-
console.error('Invalid regex pattern:', compareValue, error);
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
case 'is_empty':
|
|
65
|
-
return !inputValue || inputValue.trim() === '';
|
|
66
|
-
case 'is_not_empty':
|
|
67
|
-
return !!inputValue && inputValue.trim() !== '';
|
|
68
|
-
default:
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
let MapValueService = class MapValueService {
|
|
73
|
-
async perform(inputs, context) {
|
|
74
|
-
let inputValue = inputs.inputValue;
|
|
75
|
-
if (!inputValue) {
|
|
76
|
-
inputValue = '';
|
|
77
|
-
}
|
|
78
|
-
const resolvedInput = resolveVariableReference(inputValue, context);
|
|
79
|
-
const mappings = inputs.mappings || [];
|
|
80
|
-
const defaultValue = inputs.defaultValue || '';
|
|
81
|
-
const caseSensitive = inputs.caseSensitive ?? false;
|
|
82
|
-
for (const mapping of mappings) {
|
|
83
|
-
const condition = mapping.condition || 'equals';
|
|
84
|
-
const compareValue = mapping.value || '';
|
|
85
|
-
const mappedValue = mapping.mappedValue || '';
|
|
86
|
-
const matches = evaluateCondition(resolvedInput, condition, compareValue, caseSensitive);
|
|
87
|
-
if (matches) {
|
|
88
|
-
return {
|
|
89
|
-
mappedValue,
|
|
90
|
-
matched: true,
|
|
91
|
-
originalValue: resolvedInput,
|
|
92
|
-
matchedCondition: condition,
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return {
|
|
97
|
-
mappedValue: defaultValue,
|
|
98
|
-
matched: false,
|
|
99
|
-
originalValue: resolvedInput,
|
|
100
|
-
matchedCondition: null,
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
exports.MapValueService = MapValueService;
|
|
105
|
-
exports.MapValueService = MapValueService = __decorate([
|
|
106
|
-
(0, common_1.Injectable)()
|
|
107
|
-
], MapValueService);
|
|
108
|
-
//# sourceMappingURL=map-value.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map-value.service.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAO5C,SAAS,wBAAwB,CAAC,KAAa,EAAE,OAA8B;IAC7E,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IAGzB,IAAI,aAAa,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IACjC,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,QA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C;YAChB,UAAU,GAAG,EAAE,CAAC;QAClB,CAAC;QAGD,MAAM,aAAa,GAAG,wBAAwB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAGpE,MAAM,QAAQ,GAAI,MAAM,CAAC,QAA0B,IAAI,EAAE,CAAC;QAG1D,MAAM,YAAY,GAAI,MAAM,CAAC,YAAuB,IAAI,EAAE,CAAC;QAG3D,MAAM,aAAa,GAAI,MAAM,CAAC,aAAyB,IAAI,KAAK,CAAC;QAGjE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC/B,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,QAAQ,CAAC;YAChD,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;YACzC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC;YAG9C,MAAM,OAAO,GAAG,iBAAiB,CAAC,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;YAEzF,IAAI,OAAO,EAAE,CAAC;gBACZ,OAAO;oBACL,WAAW;oBACX,OAAO,EAAE,IAAI;oBACb,aAAa,EAAE,aAAa;oBAC5B,gBAAgB,EAAE,SAAS;iBAC5B,CAAC;YACJ,CAAC;QACH,CAAC;QAGD,OAAO;YACL,WAAW,EAAE,YAAY;YACzB,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,aAAa;YAC5B,gBAAgB,EAAE,IAAI;SACvB,CAAC;IACJ,CAAC;CACF,CAAA;AAlDY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;GACA,eAAe,CAkD3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"complete-remittance.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/complete-remittance.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,wBAAwB,EAAE,qBAsFtC,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.completeRemittanceAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const complete_remittance_service_1 = require("../services/complete-remittance.service");
|
|
6
|
-
exports.completeRemittanceAction = {
|
|
7
|
-
key: 'complete-remittance',
|
|
8
|
-
name: 'Complete Remittance',
|
|
9
|
-
description: 'Process the complete remittance flow (all steps: incoming → transfer → outgoing)',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: '✅',
|
|
12
|
-
serviceClass: complete_remittance_service_1.CompleteRemittanceService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'remittanceId',
|
|
16
|
-
name: 'Remittance ID',
|
|
17
|
-
description: 'The ID of the remittance to complete',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
minLength: 1,
|
|
22
|
-
},
|
|
23
|
-
placeholder: 'remittance-uuid',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'providerId',
|
|
27
|
-
name: 'Provider ID',
|
|
28
|
-
description: 'Payment provider ID for all operations (optional)',
|
|
29
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
30
|
-
validation: {
|
|
31
|
-
required: false,
|
|
32
|
-
},
|
|
33
|
-
placeholder: 'provider-uuid',
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
outputs: [
|
|
37
|
-
{
|
|
38
|
-
id: 'id',
|
|
39
|
-
name: 'Remittance ID',
|
|
40
|
-
description: 'The remittance ID',
|
|
41
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: 'referenceNumber',
|
|
45
|
-
name: 'Reference Number',
|
|
46
|
-
description: 'Remittance reference number',
|
|
47
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
id: 'status',
|
|
51
|
-
name: 'Status',
|
|
52
|
-
description: 'Final remittance status (should be COMPLETED)',
|
|
53
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: 'sourceAmount',
|
|
57
|
-
name: 'Source Amount',
|
|
58
|
-
description: 'Amount from sender',
|
|
59
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
id: 'destinationAmount',
|
|
63
|
-
name: 'Destination Amount',
|
|
64
|
-
description: 'Amount to recipient',
|
|
65
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: 'incomingOperationId',
|
|
69
|
-
name: 'Incoming Operation ID',
|
|
70
|
-
description: 'ID of incoming operation',
|
|
71
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
id: 'transferOperationId',
|
|
75
|
-
name: 'Transfer Operation ID',
|
|
76
|
-
description: 'ID of transfer operation',
|
|
77
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
id: 'outgoingOperationId',
|
|
81
|
-
name: 'Outgoing Operation ID',
|
|
82
|
-
description: 'ID of outgoing operation',
|
|
83
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: 'completedAt',
|
|
87
|
-
name: 'Completed At',
|
|
88
|
-
description: 'When the remittance was completed',
|
|
89
|
-
type: types_1.FIELD_TYPE.DATE,
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
};
|
|
93
|
-
//# sourceMappingURL=complete-remittance.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"complete-remittance.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/complete-remittance.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,yFAAoF;AAEvE,QAAA,wBAAwB,GAA0B;IAC7D,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,kFAAkF;IAC/F,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,GAAG;IACT,YAAY,EAAE,uDAA+E;IAC7F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,CAAC;aACb;YACD,WAAW,EAAE,iBAAiB;SAC/B;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,WAAW,EAAE,eAAe;SAC7B;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,mBAAmB;YACvB,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,qBAAqB;YACzB,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,qBAAqB;YACzB,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,qBAAqB;YACzB,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-remittance.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/create-remittance.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,sBAAsB,EAAE,qBAyMpC,CAAC"}
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createRemittanceAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const create_remittance_service_1 = require("../services/create-remittance.service");
|
|
6
|
-
exports.createRemittanceAction = {
|
|
7
|
-
key: 'create-remittance',
|
|
8
|
-
name: 'Create Remittance',
|
|
9
|
-
description: 'Create a new remittance to track transfers between users',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: '💱',
|
|
12
|
-
serviceClass: create_remittance_service_1.CreateRemittanceService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'senderAccountId',
|
|
16
|
-
name: 'Sender Account ID',
|
|
17
|
-
description: 'The account sending the remittance',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
minLength: 1,
|
|
22
|
-
},
|
|
23
|
-
placeholder: 'sender-account-uuid',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'recipientAccountId',
|
|
27
|
-
name: 'Recipient Account ID',
|
|
28
|
-
description: 'The account receiving the remittance',
|
|
29
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
30
|
-
validation: {
|
|
31
|
-
required: true,
|
|
32
|
-
minLength: 1,
|
|
33
|
-
},
|
|
34
|
-
placeholder: 'recipient-account-uuid',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 'sourceCurrencyId',
|
|
38
|
-
name: 'Source Currency ID',
|
|
39
|
-
description: 'The currency for the source amount (sender side)',
|
|
40
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
41
|
-
validation: {
|
|
42
|
-
required: true,
|
|
43
|
-
minLength: 1,
|
|
44
|
-
},
|
|
45
|
-
placeholder: 'source-currency-uuid or {{node_id.currencyId}}',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: 'targetCurrencyId',
|
|
49
|
-
name: 'Target Currency ID',
|
|
50
|
-
description: 'The currency for the target amount (recipient side)',
|
|
51
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
52
|
-
validation: {
|
|
53
|
-
required: true,
|
|
54
|
-
minLength: 1,
|
|
55
|
-
},
|
|
56
|
-
placeholder: 'target-currency-uuid or {{node_id.currencyId}}',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 'sourceAmount',
|
|
60
|
-
name: 'Source Amount',
|
|
61
|
-
description: 'Amount from sender (can be a number or variable)',
|
|
62
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
63
|
-
validation: {
|
|
64
|
-
required: true,
|
|
65
|
-
minLength: 1,
|
|
66
|
-
},
|
|
67
|
-
placeholder: '1000.00 or {{node_id.amount}}',
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 'totalFees',
|
|
71
|
-
name: 'Total Fees',
|
|
72
|
-
description: 'Total fees for the remittance (can be a number or variable, optional)',
|
|
73
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
74
|
-
validation: {
|
|
75
|
-
required: false,
|
|
76
|
-
},
|
|
77
|
-
placeholder: '10.00 or {{node_id.fees}}',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
id: 'exchangeRate',
|
|
81
|
-
name: 'Exchange Rate',
|
|
82
|
-
description: 'Exchange rate if different currencies (can be a number or variable, optional)',
|
|
83
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
84
|
-
validation: {
|
|
85
|
-
required: false,
|
|
86
|
-
},
|
|
87
|
-
placeholder: '1.0 or {{node_id.rate}}',
|
|
88
|
-
defaultValue: '1',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
id: 'senderName',
|
|
92
|
-
name: 'Sender Name',
|
|
93
|
-
description: 'Name of sender (optional)',
|
|
94
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
95
|
-
validation: {
|
|
96
|
-
required: false,
|
|
97
|
-
},
|
|
98
|
-
placeholder: 'John Doe',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
id: 'senderCountry',
|
|
102
|
-
name: 'Sender Country',
|
|
103
|
-
description: 'ISO 3166-1 alpha-2 country code of sender (optional, e.g., US, MX, GB)',
|
|
104
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
105
|
-
validation: {
|
|
106
|
-
required: false,
|
|
107
|
-
maxLength: 2,
|
|
108
|
-
},
|
|
109
|
-
placeholder: 'US',
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
id: 'recipientName',
|
|
113
|
-
name: 'Recipient Name',
|
|
114
|
-
description: 'Name of recipient (optional)',
|
|
115
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
116
|
-
validation: {
|
|
117
|
-
required: false,
|
|
118
|
-
},
|
|
119
|
-
placeholder: 'Jane Smith',
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
id: 'recipientCountry',
|
|
123
|
-
name: 'Recipient Country',
|
|
124
|
-
description: 'ISO 3166-1 alpha-2 country code of recipient (optional, e.g., US, MX, GB)',
|
|
125
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
126
|
-
validation: {
|
|
127
|
-
required: false,
|
|
128
|
-
maxLength: 2,
|
|
129
|
-
},
|
|
130
|
-
placeholder: 'MX',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
id: 'purpose',
|
|
134
|
-
name: 'Purpose',
|
|
135
|
-
description: 'Purpose of remittance (optional)',
|
|
136
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
137
|
-
validation: {
|
|
138
|
-
required: false,
|
|
139
|
-
},
|
|
140
|
-
placeholder: 'Family support',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
id: 'description',
|
|
144
|
-
name: 'Description',
|
|
145
|
-
description: 'Description of remittance (optional)',
|
|
146
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
147
|
-
validation: {
|
|
148
|
-
required: false,
|
|
149
|
-
},
|
|
150
|
-
placeholder: 'Monthly remittance',
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
id: 'metadata',
|
|
154
|
-
name: 'Metadata',
|
|
155
|
-
description: 'Additional metadata as JSON object',
|
|
156
|
-
type: types_1.FIELD_TYPE.JSON,
|
|
157
|
-
validation: {
|
|
158
|
-
required: false,
|
|
159
|
-
},
|
|
160
|
-
placeholder: '{"key": "value"}',
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
outputs: [
|
|
164
|
-
{
|
|
165
|
-
id: 'id',
|
|
166
|
-
name: 'Remittance ID',
|
|
167
|
-
description: 'The unique identifier of the remittance',
|
|
168
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
id: 'referenceNumber',
|
|
172
|
-
name: 'Reference Number',
|
|
173
|
-
description: 'Unique reference number (REM-xxx)',
|
|
174
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: 'status',
|
|
178
|
-
name: 'Status',
|
|
179
|
-
description: 'Current remittance status',
|
|
180
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: 'sourceAmount',
|
|
184
|
-
name: 'Source Amount',
|
|
185
|
-
description: 'Amount from sender',
|
|
186
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
id: 'destinationAmount',
|
|
190
|
-
name: 'Destination Amount',
|
|
191
|
-
description: 'Amount to recipient (after fees)',
|
|
192
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
id: 'totalFees',
|
|
196
|
-
name: 'Total Fees',
|
|
197
|
-
description: 'Total fees applied',
|
|
198
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
id: 'createdAt',
|
|
202
|
-
name: 'Created At',
|
|
203
|
-
description: 'Timestamp when remittance was created',
|
|
204
|
-
type: types_1.FIELD_TYPE.DATE,
|
|
205
|
-
},
|
|
206
|
-
],
|
|
207
|
-
};
|
|
208
|
-
//# sourceMappingURL=create-remittance.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-remittance.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/create-remittance.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,qFAAgF;AAE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EAAE,EAAE,mBAAmB;YACvB,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,WAAW;YACf,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-currency-by-type-and-code.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/get-currency-by-type-and-code.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,EAAE,qBA2E5C,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCurrencyByTypeAndCodeAction = void 0;
|
|
4
|
-
const types_1 = require("../../types");
|
|
5
|
-
const get_currency_by_type_and_code_service_1 = require("../services/get-currency-by-type-and-code.service");
|
|
6
|
-
exports.getCurrencyByTypeAndCodeAction = {
|
|
7
|
-
key: 'get-currency-by-type-and-code',
|
|
8
|
-
name: 'Get Currency by Type and Code',
|
|
9
|
-
description: 'Retrieve a currency by its type (fiat/crypto) and code',
|
|
10
|
-
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
-
icon: '💱',
|
|
12
|
-
serviceClass: get_currency_by_type_and_code_service_1.GetCurrencyByTypeAndCodeService,
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
id: 'type',
|
|
16
|
-
name: 'Currency Type',
|
|
17
|
-
description: 'Type of currency (fiat or crypto)',
|
|
18
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
-
validation: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
placeholder: 'fiat',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 'code',
|
|
26
|
-
name: 'Currency Code',
|
|
27
|
-
description: 'Currency code (e.g., USD, EUR, BTC)',
|
|
28
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
29
|
-
validation: {
|
|
30
|
-
required: true,
|
|
31
|
-
},
|
|
32
|
-
placeholder: 'USD',
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
outputs: [
|
|
36
|
-
{
|
|
37
|
-
id: 'id',
|
|
38
|
-
name: 'Currency ID',
|
|
39
|
-
description: 'The ID of the retrieved currency',
|
|
40
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
id: 'code',
|
|
44
|
-
name: 'Currency Code',
|
|
45
|
-
description: 'The code of the retrieved currency',
|
|
46
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: 'name',
|
|
50
|
-
name: 'Currency Name',
|
|
51
|
-
description: 'The name of the retrieved currency',
|
|
52
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 'symbol',
|
|
56
|
-
name: 'Currency Symbol',
|
|
57
|
-
description: 'The symbol of the retrieved currency',
|
|
58
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: 'type',
|
|
62
|
-
name: 'Currency Type',
|
|
63
|
-
description: 'The type of the retrieved currency (fiat/crypto)',
|
|
64
|
-
type: types_1.FIELD_TYPE.STRING,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
id: 'isActive',
|
|
68
|
-
name: 'Is Active',
|
|
69
|
-
description: 'Whether the currency is active',
|
|
70
|
-
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: 'exchangeRateToUSD',
|
|
74
|
-
name: 'Exchange Rate to USD',
|
|
75
|
-
description: 'Exchange rate relative to USD',
|
|
76
|
-
type: types_1.FIELD_TYPE.NUMBER,
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=get-currency-by-type-and-code.action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-currency-by-type-and-code.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/get-currency-by-type-and-code.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,6GAAoG;AAEvF,QAAA,8BAA8B,GAA0B;IACnE,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uEAEa;IAC3B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,MAAM;SACpB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,KAAK;SACnB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,kDAAkD;YAC/D,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,mBAAmB;YACvB,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-latest-remittances-by-account.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/get-latest-remittances-by-account.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,mCAAmC,EAAE,qBAqHjD,CAAC"}
|