Closed rajeshj11 closed 3 weeks ago
Latest commit: 7974e1345e2f022772b48dd3e7c4d821a9e860b6
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@rajeshj11 is attempting to deploy a commit to the Panora Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.
:x: naelob
:x: rajeshj11
You have signed the CLA already but the status is still pending? Let us recheck it.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The changes introduce a new "Close" service integration across various CRM modules, including companies, contacts, deals, engagements, and more. This involves adding new service classes, mappers, and types to support the integration, as well as updating existing modules to incorporate the new service. Additionally, a new boolean column crm_close
is added to the project_connectors
table to track the usage of the Close service.
File(s) | Change Summary |
---|---|
packages/api/scripts/init.sql |
Added a new boolean column crm_close to the project_connectors table. |
.../crm/crm.connection.module.ts , .../crm/services/close/close.service.ts |
Introduced CloseConnectionService and updated data handling for tokens and OAuth refresh. |
.../project-connectors/project-connectors.controller.ts , .../project-connectors.service.ts |
Added crm_close property to TypeCustom interface and ProjectConnectorsService class. |
.../crm/services/close/types.ts , .../crm/services/close/mappers.ts , .../crm/services/close/index.ts |
Added new types, mappers, and service classes for Close integration in company, contact, deal, engagement, note, task, and stage modules. |
.../crm/company/types/mappingsTypes.ts , .../crm/contact/types/mappingsTypes.ts , .../crm/deal/types/mappingsTypes.ts , .../crm/stage/types/mappingsTypes.ts |
Added Close mappers and mappings to respective unification mapping objects. |
.../crm/company/company.module.ts , .../crm/contact/contact.module.ts , .../crm/deal/deal.module.ts , .../crm/engagement/engagement.module.ts |
Added CloseService to the list of services in the respective modules. |
sequenceDiagram
participant User
participant API
participant CloseService
participant CRM
participant Database
User->>API: Request to add a new company
API->>CloseService: Call addCompany method
CloseService->>CRM: Send company data
CRM-->>CloseService: Company data response
CloseService->>Database: Save company data
Database-->>CloseService: Confirmation
CloseService-->>API: Company added response
API-->>User: Company added confirmation
sequenceDiagram
participant User
participant API
participant CloseService
participant CRM
participant Database
User->>API: Request to sync contacts
API->>CloseService: Call syncContacts method
CloseService->>CRM: Fetch contacts
CRM-->>CloseService: Contacts data
CloseService->>Database: Update contacts data
Database-->>CloseService: Confirmation
CloseService-->>API: Contacts synced response
API-->>User: Contacts synced confirmation
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@rflihxyz Hey, can you please review the pr.
@rflihxyz Hey, can you please review the pr.
going to check that ! awesome work !
@naelob Hey, when can I expect the feedback for these changes?
/claim #455
Added CRM integration
[x] 1. user
[x] 2. company
[x] 3. contact
[x] 4. engagement
[x] 5. task
[x] 6. note
[x] 7. stage
demo video: https://www.loom.com/share/ae1c51dc7d5546e69591007e5eddbe5a