├── .env.demo ├── .env.sample ├── .github ├── ISSUE_TEMPLATE │ ├── BUG-REPORT.md │ ├── DMP_2024.yml │ └── FEATURE-REQUEST.md ├── dco.yml └── workflows │ ├── continuous-delivery.yml │ └── continuous-integration.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── bin └── afj-rest.js ├── compass.yml ├── docker-compose.yml ├── eslint.config.mjs ├── jest.config.base.ts ├── jest.config.ts ├── package.json ├── patches ├── @credo-ts+anoncreds+0.5.3+001+fix: Extensible model confict in Anoncreds and Did.patch ├── @credo-ts+core+0.5.15+001+message-type-for-messages.patch ├── @credo-ts+core+0.5.15+003+added-prettyVc-in-JsonCredential-interface.patch ├── @credo-ts+core+0.5.15+004+commenting validationPresentation to avoid abandoned issue.patch ├── @credo-ts+core+0.5.15+005+credential-get-format-data.patch └── @credo-ts+tenants+0.5.3+001+cache-tenant-record-patch.patch ├── samples ├── cliConfig.json ├── sample.ts └── sampleWithApp.ts ├── scripts └── taskdef │ ├── credo-ecs-taskdef.json │ └── credo-fargate-taskdef.json ├── src ├── authentication.ts ├── cli.ts ├── cliAgent.ts ├── controllers │ ├── agent │ │ └── AgentController.ts │ ├── anoncreds │ │ ├── cred-def │ │ │ └── CredentialDefinitionController.ts │ │ ├── endorser-transaction │ │ │ └── EndorserTransactionController.ts │ │ └── schema │ │ │ └── SchemaController.ts │ ├── did │ │ └── DidController.ts │ ├── didcomm │ │ ├── basic-messages │ │ │ └── BasicMessageController.ts │ │ ├── connections │ │ │ └── ConnectionController.ts │ │ ├── credentials │ │ │ └── CredentialController.ts │ │ ├── outofband │ │ │ └── OutOfBandController.ts │ │ ├── proofs │ │ │ └── ProofController.ts │ │ └── question-answer │ │ │ └── QuestionAnswerController.ts │ ├── examples.ts │ ├── multi-tenancy │ │ └── MultiTenancyController.ts │ ├── polygon │ │ └── PolygonController.ts │ └── types.ts ├── enums │ ├── enum.ts │ └── index.ts ├── errorHandlingService.ts ├── errorMessages.ts ├── errors │ ├── ApiError.ts │ ├── StatusException.ts │ ├── errors.ts │ └── index.ts ├── events │ ├── BasicMessageEvents.ts │ ├── ConnectionEvents.ts │ ├── CredentialEvents.ts │ ├── ProofEvents.ts │ ├── QuestionAnswerEvents.ts │ ├── ReuseConnectionEvents.ts │ ├── WebSocketEvents.ts │ └── WebhookEvent.ts ├── index.ts ├── routes │ ├── routes.ts │ └── swagger.json ├── securityMiddleware.ts ├── server.ts ├── tracer.ts ├── types │ ├── index.ts │ └── request.d.ts └── utils │ ├── ServerConfig.ts │ ├── agent.ts │ ├── config.ts │ ├── customDocumentLoader.ts │ ├── errorConverter.ts │ ├── helpers.ts │ ├── index.ts │ ├── logger.ts │ ├── tsyringeTsoaIocContainer.ts │ └── webhook.ts ├── tsconfig.build.json ├── tsconfig.eslint.json ├── tsconfig.json ├── tsoa.json └── yarn.lock /.env.demo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.env.demo -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.env.sample -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG-REPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/ISSUE_TEMPLATE/BUG-REPORT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/DMP_2024.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/ISSUE_TEMPLATE/DMP_2024.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE-REQUEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.md -------------------------------------------------------------------------------- /.github/dco.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/dco.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-delivery.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/workflows/continuous-delivery.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.github/workflows/continuous-integration.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | .vscode 4 | .idea 5 | routes -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/README.md -------------------------------------------------------------------------------- /bin/afj-rest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/bin/afj-rest.js -------------------------------------------------------------------------------- /compass.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/compass.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/jest.config.base.ts -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/package.json -------------------------------------------------------------------------------- /patches/@credo-ts+anoncreds+0.5.3+001+fix: Extensible model confict in Anoncreds and Did.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+anoncreds+0.5.3+001+fix: Extensible model confict in Anoncreds and Did.patch -------------------------------------------------------------------------------- /patches/@credo-ts+core+0.5.15+001+message-type-for-messages.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+core+0.5.15+001+message-type-for-messages.patch -------------------------------------------------------------------------------- /patches/@credo-ts+core+0.5.15+003+added-prettyVc-in-JsonCredential-interface.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+core+0.5.15+003+added-prettyVc-in-JsonCredential-interface.patch -------------------------------------------------------------------------------- /patches/@credo-ts+core+0.5.15+004+commenting validationPresentation to avoid abandoned issue.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+core+0.5.15+004+commenting validationPresentation to avoid abandoned issue.patch -------------------------------------------------------------------------------- /patches/@credo-ts+core+0.5.15+005+credential-get-format-data.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+core+0.5.15+005+credential-get-format-data.patch -------------------------------------------------------------------------------- /patches/@credo-ts+tenants+0.5.3+001+cache-tenant-record-patch.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/patches/@credo-ts+tenants+0.5.3+001+cache-tenant-record-patch.patch -------------------------------------------------------------------------------- /samples/cliConfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/samples/cliConfig.json -------------------------------------------------------------------------------- /samples/sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/samples/sample.ts -------------------------------------------------------------------------------- /samples/sampleWithApp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/samples/sampleWithApp.ts -------------------------------------------------------------------------------- /scripts/taskdef/credo-ecs-taskdef.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/scripts/taskdef/credo-ecs-taskdef.json -------------------------------------------------------------------------------- /scripts/taskdef/credo-fargate-taskdef.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/scripts/taskdef/credo-fargate-taskdef.json -------------------------------------------------------------------------------- /src/authentication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/authentication.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/cliAgent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/cliAgent.ts -------------------------------------------------------------------------------- /src/controllers/agent/AgentController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/agent/AgentController.ts -------------------------------------------------------------------------------- /src/controllers/anoncreds/cred-def/CredentialDefinitionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/anoncreds/cred-def/CredentialDefinitionController.ts -------------------------------------------------------------------------------- /src/controllers/anoncreds/endorser-transaction/EndorserTransactionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/anoncreds/endorser-transaction/EndorserTransactionController.ts -------------------------------------------------------------------------------- /src/controllers/anoncreds/schema/SchemaController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/anoncreds/schema/SchemaController.ts -------------------------------------------------------------------------------- /src/controllers/did/DidController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/did/DidController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/basic-messages/BasicMessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/basic-messages/BasicMessageController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/connections/ConnectionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/connections/ConnectionController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/credentials/CredentialController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/credentials/CredentialController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/outofband/OutOfBandController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/outofband/OutOfBandController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/proofs/ProofController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/proofs/ProofController.ts -------------------------------------------------------------------------------- /src/controllers/didcomm/question-answer/QuestionAnswerController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/didcomm/question-answer/QuestionAnswerController.ts -------------------------------------------------------------------------------- /src/controllers/examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/examples.ts -------------------------------------------------------------------------------- /src/controllers/multi-tenancy/MultiTenancyController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/multi-tenancy/MultiTenancyController.ts -------------------------------------------------------------------------------- /src/controllers/polygon/PolygonController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/polygon/PolygonController.ts -------------------------------------------------------------------------------- /src/controllers/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/controllers/types.ts -------------------------------------------------------------------------------- /src/enums/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/enums/enum.ts -------------------------------------------------------------------------------- /src/enums/index.ts: -------------------------------------------------------------------------------- 1 | export * from './enum' 2 | -------------------------------------------------------------------------------- /src/errorHandlingService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/errorHandlingService.ts -------------------------------------------------------------------------------- /src/errorMessages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/errorMessages.ts -------------------------------------------------------------------------------- /src/errors/ApiError.ts: -------------------------------------------------------------------------------- 1 | export interface ApiError { 2 | message: string 3 | details?: unknown 4 | } 5 | -------------------------------------------------------------------------------- /src/errors/StatusException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/errors/StatusException.ts -------------------------------------------------------------------------------- /src/errors/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/errors/errors.ts -------------------------------------------------------------------------------- /src/errors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/errors/index.ts -------------------------------------------------------------------------------- /src/events/BasicMessageEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/BasicMessageEvents.ts -------------------------------------------------------------------------------- /src/events/ConnectionEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/ConnectionEvents.ts -------------------------------------------------------------------------------- /src/events/CredentialEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/CredentialEvents.ts -------------------------------------------------------------------------------- /src/events/ProofEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/ProofEvents.ts -------------------------------------------------------------------------------- /src/events/QuestionAnswerEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/QuestionAnswerEvents.ts -------------------------------------------------------------------------------- /src/events/ReuseConnectionEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/ReuseConnectionEvents.ts -------------------------------------------------------------------------------- /src/events/WebSocketEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/WebSocketEvents.ts -------------------------------------------------------------------------------- /src/events/WebhookEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/events/WebhookEvent.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/routes/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/routes/routes.ts -------------------------------------------------------------------------------- /src/routes/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/routes/swagger.json -------------------------------------------------------------------------------- /src/securityMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/securityMiddleware.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/tracer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/tracer.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './request' 2 | -------------------------------------------------------------------------------- /src/types/request.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/types/request.d.ts -------------------------------------------------------------------------------- /src/utils/ServerConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/ServerConfig.ts -------------------------------------------------------------------------------- /src/utils/agent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/agent.ts -------------------------------------------------------------------------------- /src/utils/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/config.ts -------------------------------------------------------------------------------- /src/utils/customDocumentLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/customDocumentLoader.ts -------------------------------------------------------------------------------- /src/utils/errorConverter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/errorConverter.ts -------------------------------------------------------------------------------- /src/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/helpers.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/tsyringeTsoaIocContainer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/tsyringeTsoaIocContainer.ts -------------------------------------------------------------------------------- /src/utils/webhook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/src/utils/webhook.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsoa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/tsoa.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/credebl/credo-controller/HEAD/yarn.lock --------------------------------------------------------------------------------