-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Chatwoot Integration #229
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3704a3b
feat: chatwoot hitl
ceyhun-botpress 684ccc3
feat: stick assignment for chatwoot tickets
ceyhun-botpress b7c1356
feat: added image/file/mp4 support
ceyhun-botpress 3723933
feat: assign hitl to the ongoing conversation
ceyhun-botpress a86070a
chore: minor improvements
ceyhun-botpress e7acdb7
feat(chatwoot): enhance messaging capabilities and improve setup inst…
ceyhun-botpress 287da43
feat(chatwoot): update integration definition and improve contact han…
ceyhun-botpress d9733ca
chore: change bp _modules in .gitignore
ceyhun-botpress f374c9f
chore: revert gitignore
ceyhun-botpress fdf1385
chore: remove tracked files
ceyhun-botpress 5fef171
chore: remove pnpm lock
ceyhun-botpress e001969
chore: add bp_modules
ceyhun-botpress 32aca20
Revert "chore: add bp_modules"
ceyhun-botpress 02cc30e
chore(chatwoot): update package.json to add build script and upgrade …
ceyhun-botpress 2f5b35a
refactor(setup-integrations): streamline integration setup process an…
ceyhun-botpress fdacafe
refactor(setup-integrations): revert to previous
ceyhun-botpress 187c2a2
refactor(setup-integrations): revert back to original
ceyhun-botpress 542b6ae
feat(hitl): add HITL interface with message schemas and actions, upda…
ceyhun-botpress 9e8770d
Revert "feat(hitl): add HITL interface with message schemas and actio…
ceyhun-botpress 29fc428
fix(chatwoot): update hitl dependency path and enhance integration bu…
ceyhun-botpress 7be8912
feat(setup-integrations): enhance integration build process to condit…
ceyhun-botpress d6332a0
feat(setup-integrations): refine condition for running bp add based o…
ceyhun-botpress d64d6db
chore(dependencies): update @botpress/client, @botpress/sdk, and @bot…
ceyhun-botpress a15d802
refactor(hitl): simplify message schema and enhance message definitio…
ceyhun-botpress 87b6cb9
chore: revert everything, push bp_modules
ceyhun-botpress 416fa3c
chore: revert setup script
ceyhun-botpress 44218a6
fix: restore correct interface type for hitl bp_module
ceyhun-botpress 55ffa4a
chore(chatwoot): address pr comments
ceyhun-botpress 40c4be5
chore(chatwoot): update version to 1.0.2 and refine schemas for impro…
ceyhun-botpress 9dc2d92
chore(chatwoot): update version to 1.0.3, refine message handling, an…
ceyhun-botpress 56f266f
chore(chatwoot): address pr comments
ceyhun-botpress 4c9cd74
chore(chatwoot): update integration name and version
ceyhun-botpress File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,19 @@ | ||
| node_modules | ||
| .env | ||
| .botpress | ||
| .idea | ||
| bp_modules | ||
| dist | ||
| gen | ||
| local/data | ||
| .DS_Store | ||
| dist/ | ||
| .turbo | ||
| *.tsbuildinfo | ||
| __snapshots__ | ||
| .ignore.me.* | ||
| .env* | ||
| .botpress | ||
| .botpresshome | ||
| .botpresshome.* | ||
| .turbo | ||
| .genenv/ | ||
| .genenv.* | ||
| tilt_config.json | ||
| /.idea | ||
| hubspot.config.yml | ||
17 changes: 17 additions & 0 deletions
17
integrations/chatwoot/bp_modules/hitl/definition/actions/createUser/index.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* eslint-disable */ | ||
| /* tslint:disable */ | ||
| // This file is generated. Do not edit it manually. | ||
| import * as input from "./input"; | ||
| export * as input from "./input"; | ||
| import * as output from "./output"; | ||
| export * as output from "./output"; | ||
|
|
||
| export const createUser = { | ||
| "input": input.input, | ||
| "output": output.output, | ||
| "title": "Create external user", | ||
| "description": "Create an end user in the external service and in Botpress", | ||
| "billable": false, | ||
| "cacheable": false, | ||
| "attributes": { "bpActionHiddenInStudio": "true" }, | ||
| } |
31 changes: 31 additions & 0 deletions
31
integrations/chatwoot/bp_modules/hitl/definition/actions/createUser/input.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /* eslint-disable */ | ||
| /* tslint:disable */ | ||
| // This file is generated. Do not edit it manually. | ||
|
|
||
| import { z } from "@botpress/sdk"; | ||
| export const input = { | ||
| schema: z | ||
| .object({ | ||
| name: z | ||
| .string() | ||
| .title("Display name") | ||
| .describe("Display name of the end user"), | ||
| pictureUrl: z | ||
| .optional( | ||
| z | ||
| .string() | ||
| .title("Picture URL") | ||
| .describe("URL of the end user\'s avatar"), | ||
| ) | ||
| .describe("URL of the end user\'s avatar"), | ||
| email: z | ||
| .optional( | ||
| z | ||
| .string() | ||
| .title("Email address") | ||
| .describe("Email address of the end user"), | ||
| ) | ||
| .describe("Email address of the end user"), | ||
| }) | ||
| .catchall(z.never()), | ||
| }; |
15 changes: 15 additions & 0 deletions
15
integrations/chatwoot/bp_modules/hitl/definition/actions/createUser/output.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* eslint-disable */ | ||
| /* tslint:disable */ | ||
| // This file is generated. Do not edit it manually. | ||
|
|
||
| import { z } from "@botpress/sdk"; | ||
| export const output = { | ||
| schema: z | ||
| .object({ | ||
| userId: z | ||
| .string() | ||
| .title("Botpress user ID") | ||
| .describe("ID of the Botpress user representing the end user"), | ||
| }) | ||
| .catchall(z.never()), | ||
| }; |
15 changes: 15 additions & 0 deletions
15
integrations/chatwoot/bp_modules/hitl/definition/actions/index.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* eslint-disable */ | ||
| /* tslint:disable */ | ||
| // This file is generated. Do not edit it manually. | ||
| import * as createUser from "./createUser/index"; | ||
| export * as createUser from "./createUser/index"; | ||
| import * as startHitl from "./startHitl/index"; | ||
| export * as startHitl from "./startHitl/index"; | ||
| import * as stopHitl from "./stopHitl/index"; | ||
| export * as stopHitl from "./stopHitl/index"; | ||
|
|
||
| export const actions = { | ||
| "createUser": createUser.createUser, | ||
| "startHitl": startHitl.startHitl, | ||
| "stopHitl": stopHitl.stopHitl, | ||
| } |
17 changes: 17 additions & 0 deletions
17
integrations/chatwoot/bp_modules/hitl/definition/actions/startHitl/index.ts
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* eslint-disable */ | ||
| /* tslint:disable */ | ||
| // This file is generated. Do not edit it manually. | ||
| import * as input from "./input"; | ||
| export * as input from "./input"; | ||
| import * as output from "./output"; | ||
| export * as output from "./output"; | ||
|
|
||
| export const startHitl = { | ||
| "input": input.input, | ||
| "output": output.output, | ||
| "title": "Start new HITL session", | ||
| "description": "Create a new HITL session in the external service and in Botpress", | ||
| "billable": false, | ||
| "cacheable": false, | ||
| "attributes": { "bpActionHiddenInStudio": "true" }, | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.