Skip to content
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 AML #2144

Merged
merged 29 commits into from
Mar 5, 2024
Merged

Ongoing AML #2144

merged 29 commits into from
Mar 5, 2024

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    2cb7c77 View commit details
    Browse the repository at this point in the history
  2. chore(package.json): update db:reset:dev:with-data script to use db:r…

    …eset: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.
    tomer-shvadron committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    1e8a6de View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    540f796 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58820fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a14ce74 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    cd42783 View commit details
    Browse the repository at this point in the history
  2. chore(package.json): update db:reset:dev:with-data script to use db:r…

    …eset: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.
    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    85685ab View commit details
    Browse the repository at this point in the history
  3. chore(package.json): update db:reset:dev:with-data script to use db:r…

    …eset: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.
    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8b41f98 View commit details
    Browse the repository at this point in the history
  4. feat: more work

    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4e95cc4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08031e3 View commit details
    Browse the repository at this point in the history
  6. feat: test fix

    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    0e32e39 View commit details
    Browse the repository at this point in the history
  7. chore(workflows-service): update subproject commit hash in data-migra…

    …tions
    
    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
    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9e703c3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b721973 View commit details
    Browse the repository at this point in the history
  9. chore(workflows-service): update subproject commit hash in data-migra…

    …tions
    
    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
    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c615cce View commit details
    Browse the repository at this point in the history
  10. chore(workflows-service): update subproject commit hash in data-migra…

    …tions
    
    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
    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    07e4179 View commit details
    Browse the repository at this point in the history
  11. service

    alonp99 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    83a2db4 View commit details
    Browse the repository at this point in the history
  12. service

    alonp99 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ac610a6 View commit details
    Browse the repository at this point in the history
  13. service

    alonp99 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3c744ae View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    104faf2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b717e3a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ca32438 View commit details
    Browse the repository at this point in the history
  17. feat: small fixes

    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1ae872b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    23f7051 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    347247f View commit details
    Browse the repository at this point in the history
  20. feat: small fix

    tomer-shvadron committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    0dcfc3f View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. 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]>
    Omri-Levy and alonp99 authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    0753ecd View commit details
    Browse the repository at this point in the history
  2. Ongoing Monitoring (#2133)

    * feat: ts fix
    
    * feat: pr comments fix
    tomer-shvadron authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c3705c6 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. 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]>
    4 people authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    254a068 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a58b49 View commit details
    Browse the repository at this point in the history