-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ongoing Monitoring #2133
Ongoing Monitoring #2133
Conversation
|
2cb7c77
to
1e8a6de
Compare
PR Description updated to latest commit (1e8a6de) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
services/workflows-service/src/workflow-defintion/workflow-definition.service.ts
Outdated
Show resolved
Hide resolved
b721973
to
07e4179
Compare
* feat: ongoing monitoring * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * refactor(backoffice-v2): moved aml cells to a re-usable hook * refactor(backoffice-v2): added an on-going blocks variant * feat(backoffice-v2): added an actions variant for on-going * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * feat: more work * feat: test fix * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * service * service * feat(backoffice-v2): added temporary mocks * feat: small fixes * feat: small fix * Backoffice on-going (#2143) * refactor(backoffice-v2): moved mocks position * fix(backoffice-v2): fixed flagged badge variant * refactor(backoffice-v2): removed aml mocks * refactor(*): addressed pr comments --------- Co-authored-by: Alon Peretz <[email protected]> * Ongoing Monitoring (#2133) * feat: ts fix * feat: pr comments fix * feat: fixes for aml block --------- Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]>
* feat: ongoing monitoring * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * refactor(backoffice-v2): moved aml cells to a re-usable hook * refactor(backoffice-v2): added an on-going blocks variant * feat(backoffice-v2): added an actions variant for on-going * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * feat: more work * feat: test fix * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * service * service * feat(backoffice-v2): added temporary mocks * feat: small fixes * feat: small fix * Backoffice on-going (#2143) * refactor(backoffice-v2): moved mocks position * fix(backoffice-v2): fixed flagged badge variant * refactor(backoffice-v2): removed aml mocks * refactor(*): addressed pr comments --------- Co-authored-by: Alon Peretz <[email protected]> * Ongoing Monitoring (#2133) * feat: ts fix * feat: pr comments fix * Fixes for AML block (#2152) * feat: ongoing monitoring * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * refactor(backoffice-v2): moved aml cells to a re-usable hook * refactor(backoffice-v2): added an on-going blocks variant * feat(backoffice-v2): added an actions variant for on-going * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * feat: more work * feat: test fix * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * service * service * feat(backoffice-v2): added temporary mocks * feat: small fixes * feat: small fix * Backoffice on-going (#2143) * refactor(backoffice-v2): moved mocks position * fix(backoffice-v2): fixed flagged badge variant * refactor(backoffice-v2): removed aml mocks * refactor(*): addressed pr comments --------- Co-authored-by: Alon Peretz <[email protected]> * Ongoing Monitoring (#2133) * feat: ts fix * feat: pr comments fix * feat: fixes for aml block --------- Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]> --------- Co-authored-by: Tomer Shvadron <[email protected]> Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Omri Levy <[email protected]>
* feat: ongoing monitoring * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * refactor(backoffice-v2): moved aml cells to a re-usable hook * refactor(backoffice-v2): added an on-going blocks variant * feat(backoffice-v2): added an actions variant for on-going * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * feat: more work * feat: test fix * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * service * service * feat(backoffice-v2): added temporary mocks * feat: small fixes * feat: small fix * Backoffice on-going (#2143) * refactor(backoffice-v2): moved mocks position * fix(backoffice-v2): fixed flagged badge variant * refactor(backoffice-v2): removed aml mocks * refactor(*): addressed pr comments --------- Co-authored-by: Alon Peretz <[email protected]> * Ongoing Monitoring (#2133) * feat: ts fix * feat: pr comments fix * Fixes for AML block (#2152) * feat: ongoing monitoring * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * refactor(backoffice-v2): moved aml cells to a re-usable hook * refactor(backoffice-v2): added an on-going blocks variant * feat(backoffice-v2): added an actions variant for on-going * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate chore(package.json): add new migration script for adding a config column to the Customer table chore(schema.prisma): add config field to the Customer model chore(app.module.ts): import and add WebhooksModule to the AppModule chore(zod-schemas.ts): add CustomerConfigSchema and TCustomerConfig types chore(end-user.repository.ts): update import path for PrismaService chore(end-user.repository.ts): add new method findByIdUnscoped to retrieve end user by id without applying project scope chore(end-user.service.ts): add missing line break chore(filter.repository.ts): update scopeService.scopeFindFirst to scopeService.scopeFindFirst with projectIds parameter chore(global.d.ts): add config field to the Customer type chore(webhooks/dtos/aml-webhook-input.ts): create AmlWebhookInput class chore(webhooks/dtos/individual-aml-webhook-input.ts): create IndividualAmlWebhookInput class feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * chore(package.json): update db:reset:dev:with-data script to use db:reset:dev script before running db:data-migration:migrate fix(prisma): update subproject commit hash in data-migrations feat(prisma): add config column to Customer table feat(app.module): import WebhooksModule feat(zod-schemas): add CustomerConfigSchema and TCustomerConfig types fix(end-user.repository): update import path for PrismaService feat(end-user.service): add missing line break fix(filter.repository): update scopeService.scopeFindFirst method call fix(global.d.ts): add config and subscriptions fields to Customer type feat(webhooks): add AmlWebhookInput and IndividualAmlWebhookInput DTOs feat(webhooks): add webhooks controller, module, and service - Add a new file `webhooks.controller.ts` to handle webhooks related requests. - Add a new file `webhooks.module.ts` to define the webhooks module and its dependencies. - Add a new file `webhooks.service.ts` to handle webhook events. - Implement the `amlHook` method in the `WebhooksController` to handle AML webhook events. - Implement the `handleAmlHit` method in the `WebhooksService` to handle AML_HIT events. - Update the imports and dependencies in the existing files to include the newly added files. The purpose of these changes is to introduce a new feature that allows handling AML webhook events in the application. This feature will enable the application to respond to AML_HIT events and perform necessary actions based on the event data. * feat: more work * feat: test fix * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id parameter * chore(workflows-service): update subproject commit hash in data-migrations refactor(business.controller.internal): remove unused import of ProjectScopeService fix(customer.repository): fix import path for PrismaService test(workflow-definition.service.intg.test): update filterService.getById calls to pass correct project id argument * service * service * feat(backoffice-v2): added temporary mocks * feat: small fixes * feat: small fix * Backoffice on-going (#2143) * refactor(backoffice-v2): moved mocks position * fix(backoffice-v2): fixed flagged badge variant * refactor(backoffice-v2): removed aml mocks * refactor(*): addressed pr comments --------- Co-authored-by: Alon Peretz <[email protected]> * Ongoing Monitoring (#2133) * feat: ts fix * feat: pr comments fix * feat: fixes for aml block --------- Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]> --------- Co-authored-by: Tomer Shvadron <[email protected]> Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Omri Levy <[email protected]>
Description
projectIds
inFilterRepository
config
column toCustomer
tableWebhook
module, controller and serviceentityType = 'individuals'
only for now)