-
Notifications
You must be signed in to change notification settings - Fork 752
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
Feature/hubspot integration #1123
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…izations-C-1795-C-1794
…izations-C-1795-C-1794
…izations-C-1795-C-1794
…1795-C-1794' into feature/hubspot-integration
…izations-C-1795-C-1794
To make sorting more consistent
…1795-C-1794' into feature/hubspot-integration
…crowd.dev into feature/hubspot-integration
Base automatically changed from
enhancement/support-object-members-and-organizations-C-1795-C-1794
to
main
July 18, 2023 11:08
…crowd.dev into feature/hubspot-integration
services/libs/integrations/src/integrations/premium/hubspot/api/utils/getOrganizationDomain.ts
Outdated
Show resolved
Hide resolved
gaspergrom
approved these changes
Jul 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed ✍️
What
🤖 Generated by Copilot at bb69b00
This pull request adds support for Hubspot integration to the Crowd application. It implements the backend and frontend logic for connecting to Hubspot, onboarding the integration, updating the properties, and getting the mappable fields. It also updates the data sink worker service to handle new data types and new fields for the organization and member data. It modifies several files in the
backend
,frontend
, andservices
folders, and adds new files for the Hubspot helper functions and components.
🤖 Generated by Copilot at bb69b00
Why
How
🤖 Generated by Copilot at bb69b00
enabled: false
property from theconfig.js
file (link)hubspot
to the list of integrations supported by theCROWD_NANGO_INTEGRATIONS
environment variable in the.env.dist.local
file (link)custom-environment-variables.json
file (link)IntegrationService
class in theintegrationService.ts
file (link, link, link)hubspot
module, thehubspotConfig
object, and theHubspotService
class (link, link)helpers
folder under theintegration
API (link, link, link, link)hubspotConnect.ts
,hubspotGetMappableFields.ts
,hubspotOnboard.ts
, andhubspotUpdateProperties.ts
(link, link, link, link)IntegrationService
, and send success responses with the payloads (link, link, link, link)integration
API index file using thesafeWrap
andrequire
functions (link)hubspot-book-call.vue
component to replace the static link to Calendly with a dynamic slot that receives aconnect
function as a prop (link)app-hacker-news-connect-drawer
that renders a drawer with the instructions and status of the Hubspot connection (link)drawerVisible
data property to the visibility of the drawer using av-model
directive (link)hubspotConnect
API endpoint (link)config.js
file for the Hubspot integration, such as thename
, theicon
, thedescription
, thesteps
, and thefields
(link)IntegrationService
class in theintegration-service.js
file that calls thehubspotGetMappableFields
API endpoint and returns the response data (link)integration
store module in theintegration-store.js
file that dispatches thehubspotGetMappableFields
method of theIntegrationService
and commits the result to thehubspotMappableFields
state property (link)MemberRepository
class in themember.repo.ts
file that updates the Hubspot properties of a member in the database (link)organization.data.ts
file to reflect the Hubspot integration data (link, link, link, link, link, link, link)getInsertCacheOrganizationColumnSet
function (link)member.repo.ts
file to import theOrganizationRepository
class and use the Hubspot integration data (link, link, link, link, link, link)activity.service.ts
file to use the Hubspot integration data (link)dataSink.service.ts
file to use the Hubspot integration data (link)processData
method to handle the Hubspot integration data (link)member.service.ts
file to use the Hubspot integration data (link)OrganizationService
class (link)MemberService
class that updates the Hubspot properties of a member using theMemberRepository
class (link)organization.service.ts
file to use the Hubspot integration data (link, link, link, link, link)findOrCreate
method to update the Hubspot properties of an organization using theMemberService
class (link)OrganizationService
class that updates the Hubspot properties of an organization using theOrganizationRepository
class (link)publish
object in theprocessData
method of theIntegrationDataService
class in theintegrationDataService.ts
file to handle the Hubspot integration data (link)IntegrationDataService
class that publishes the Hubspot integration data to the data sink service using thepublish
object (link)Checklist ✅
Feature
,Improvement
, orBug
.