-
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 AML #2144
Ongoing AML #2144
Conversation
…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.
…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.
…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.
…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
…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
…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
|
PR Description updated to latest commit (a14ce74) |
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. |
0a64f5e
to
b717e3a
Compare
...ce-v2/src/domains/entities/hooks/mutations/useDismissCaseMutation/useDismissCaseMutation.tsx
Show resolved
Hide resolved
apps/backoffice-v2/src/lib/blocks/components/AmlBlock/hooks/useAmlBlock/useAmlBlock.tsx
Outdated
Show resolved
Hide resolved
apps/backoffice-v2/src/lib/blocks/components/AmlBlock/hooks/useAmlBlock/useAmlBlock.tsx
Show resolved
Hide resolved
apps/backoffice-v2/src/lib/blocks/variants/BlocksVariant/BlocksVariant.tsx
Outdated
Show resolved
Hide resolved
apps/backoffice-v2/src/lib/blocks/variants/OnGoingBlocks/OnGoingBlocks.tsx
Outdated
Show resolved
Hide resolved
...ffice-v2/src/pages/Entity/components/Case/actions-variants/OnGoingActions/OnGoingActions.tsx
Outdated
Show resolved
Hide resolved
* 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]>
* feat: ts fix * feat: pr comments fix
* 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]>
User description
Description
Elaborate on the subject, motivation, and context.
Related issues
Breaking changes
How these changes were tested
Examples and references
Checklist
Type
enhancement, bug_fix
Description
DISMISS
,FLAG
) for case management.useDismissCaseMutation
,useFlagCaseMutation
) for dismissing and flagging cases.OnGoingBlocks
component and logic for handling ongoing cases.ActionsVariant
component to handle different action variants based on the workflow definition.Changes walkthrough
24 files
enums.ts
Add New Actions for Case Management
apps/backoffice-v2/src/common/enums.ts
DISMISS
andFLAG
actions to theAction
enum.useApproveCaseMutation.tsx
Refactor useApproveCaseMutation Hook Parameter Name
apps/backoffice-v2/src/domains/entities/hooks/mutations/useApproveCaseMutation/useApproveCaseMutation.tsx
onSelectNextEntity
toonSelectNextCase
.useDismissCaseMutation.tsx
Implement Dismiss Case Mutation Hook
apps/backoffice-v2/src/domains/entities/hooks/mutations/useDismissCaseMutation/useDismissCaseMutation.tsx
useDismissCaseMutation
hook for dismissing cases.useFlagCaseMutation.tsx
Implement Flag Case Mutation Hook
apps/backoffice-v2/src/domains/entities/hooks/mutations/useFlagCaseMutation/useFlagCaseMutation.tsx
useFlagCaseMutation
hook for flagging cases.useRejectCaseMutation.tsx
Rename Reject Case Mutation Hook
apps/backoffice-v2/src/domains/entities/hooks/mutations/useRejectCaseMutation/useRejectCaseMutation.tsx
useRejectEntityMutation
touseRejectCaseMutation
.useSelectNextCase.tsx
Rename Select Next Case Hook
apps/backoffice-v2/src/domains/entities/hooks/useSelectNextCase/useSelectNextCase.tsx
useSelectNextEntity
touseSelectNextCase
.fetchers.ts
Add Mock Data for KYC Session AML Hits
apps/backoffice-v2/src/domains/workflows/fetchers.ts
useAmlBlock.tsx
Implement AML Block Rendering Hook
apps/backoffice-v2/src/lib/blocks/components/AmlBlock/hooks/useAmlBlock/useAmlBlock.tsx
useAmlBlock
hook for AML block rendering.aml-adapter.ts
Add AML Data Adapter Utility Function
apps/backoffice-v2/src/lib/blocks/components/AmlBlock/utils/aml-adapter.ts
amlAdapter
utility function for AML data adaptation.useKycBlock.tsx
Refactor KYC Block to Use AML Block Hook
apps/backoffice-v2/src/lib/blocks/components/KycBlock/hooks/useKycBlock/useKycBlock.tsx
useAmlBlock
hook.NoBlocks.tsx
Adjust Padding for NoBlocks Component
apps/backoffice-v2/src/lib/blocks/components/NoBlocks/NoBlocks.tsx
NoBlocks
component.BlocksVariant.tsx
Add Handling for Ongoing Variant in BlocksVariant
apps/backoffice-v2/src/lib/blocks/variants/BlocksVariant/BlocksVariant.tsx
ONGOING
variant.OnGoingBlocks.tsx
Implement OnGoingBlocks Component
apps/backoffice-v2/src/lib/blocks/variants/OnGoingBlocks/OnGoingBlocks.tsx
OnGoingBlocks
component for ongoing cases.useOnGoingBlocksLogic.tsx
Implement Logic Hook for OnGoingBlocks Component
apps/backoffice-v2/src/lib/blocks/variants/OnGoingBlocks/hooks/useOnGoingBlocksLogic/useOnGoingBlocksLogic.tsx
OnGoingBlocks
component.variant-checkers.ts
Add Checker Function for Ongoing Variant
apps/backoffice-v2/src/lib/blocks/variants/variant-checkers.ts
ONGOING
variant.Case.Actions.tsx
Refactor Case Actions to Use ActionsVariant Component
apps/backoffice-v2/src/pages/Entity/components/Case/Case.Actions.tsx
ActionsVariant
component.ActionsVariant.tsx
Implement ActionsVariant Component
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/ActionsVariant/ActionsVariant.tsx
ActionsVariant
component for handling different actionvariants.
DefaultActions.tsx
Implement DefaultActions Component
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/DefaultActions/DefaultActions.tsx
DefaultActions
component for default case actions.useDefaultActionsLogic.tsx
Implement Logic Hook for DefaultActions Component
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/DefaultActions/hooks/useDefaultActionsLogic/useDefaultActionsLogic.tsx
DefaultActions
component.OnGoingActions.tsx
Implement OnGoingActions Component
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/OnGoingActions/OnGoingActions.tsx
OnGoingActions
component for ongoing case actions.useOnGoingActionsLogic.tsx
Implement Logic Hook for OnGoingActions Component
apps/backoffice-v2/src/pages/Entity/components/Case/actions-variants/OnGoingActions/hooks/useOnGoingActionsLogic/useOnGoingActionsLogic.tsx
OnGoingActions
component.useCaseActionsLogic.tsx
Refactor Case Actions Logic and Add Workflow Definition
apps/backoffice-v2/src/pages/Entity/components/Case/hooks/useCaseActionsLogic/useCaseActionsLogic.tsx
workflowDefinition
to the return object.index.ts
Add Ongoing Variant to WorkflowDefinitionVariant
packages/common/src/consts/index.ts
ONGOING
toWorkflowDefinitionVariant
.toast.json
Add Toast Messages for Dismiss and Flag Actions
apps/backoffice-v2/public/locales/en/toast.json