Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions integrations/hubspot/integration.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ export default new IntegrationDefinition({
version: '0.0.1',
readme: 'hub.md',
icon: 'icon.svg',
// TODO: Implement OAuth
configuration: {
schema: z.object({}),
},
configurations: {
manual: {
title: 'Manual Configuration',
description: 'Manual configuration, use your own Hubspot app',
schema: z.object({
accessToken: z.string().min(1).title('Access Token').describe('Your Hubspot Access Token'),
}),
},
},
events: {
contactCreated: {
title: 'Contact Created',
Expand Down
3 changes: 2 additions & 1 deletion integrations/hubspot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"dependencies": {
"@botpress/client": "workspace:*",
"@botpress/sdk": "workspace:*",
"@botpress/sdk-addons": "workspace:*"
"@botpress/sdk-addons": "workspace:*",
"@hubspot/api-client": "^13.1.0"
},
"devDependencies": {
"@botpress/cli": "workspace:*",
Expand Down
19 changes: 18 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading