HubSpot App (#2380)

* Initial changes

* OAuth done and credentials stored

* Added "other" integrations

* Switching to hubspot api client

* Event creation for all attendees

* Update and delete done

* Doc update

* Fixing types

* App label is not mandatory

* Fixing bad merge: App label deleted

* Fixing bad automerge

* Removing  c.log

Co-authored-by: Omar López <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-04-15 23:23:38 -03:00
1 parent 2cafe2d98e
commit ffebe8e901
23 files changed
+562 -1925

No files matched your search

+1 -1
View File
@@ -574,8 +574,8 @@ const loggedInViewerRouter = createProtectedRouter()
// `flatMap()` these work like `.filter()` but infers the types correctly
const conferencing = apps.flatMap((item) => (item.variant === "conferencing" ? [item] : []));
const payment = apps.flatMap((item) => (item.variant === "payment" ? [item] : []));
const other = apps.flatMap((item) => (item.variant.startsWith("other") ? [item] : []));
const calendar = apps.flatMap((item) => (item.variant === "calendar" ? [item] : []));
const other = apps.flatMap((item) => (item.variant === "other" ? [item] : []));
return {
conferencing: {
items: conferencing,