Skip to content

Commit fe34d23

Browse files
authored
feat(gong): add Gong integration with 18 API tools (#3316)
* feat(gong): add Gong integration with 18 API tools * fix(gong): make toDateTime optional for list_calls, add list_trackers to workspaceId condition * chore(gong): regenerate docs * fix(hex): update icon color and block bgColor
1 parent b8dfb4d commit fe34d23

30 files changed

+5065
-11
lines changed

apps/docs/components/icons.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,17 @@ export function NotionIcon(props: SVGProps<SVGSVGElement>) {
710710
)
711711
}
712712

713+
export function GongIcon(props: SVGProps<SVGSVGElement>) {
714+
return (
715+
<svg {...props} viewBox='0 0 55.4 60' fill='none' xmlns='http://www.w3.org/2000/svg'>
716+
<path
717+
fill='currentColor'
718+
d='M54.1,25.7H37.8c-0.9,0-1.6,1-1.3,1.8l3.9,10.1c0.2,0.4-0.2,0.9-0.7,0.9l-5-0.3c-0.2,0-0.4,0.1-0.6,0.3L30.3,44c-0.2,0.3-0.6,0.4-1,0.2l-5.8-3.9c-0.2-0.2-0.5-0.2-0.8,0l-8,5.4c-0.5,0.4-1.2-0.1-1-0.7L16,37c0.1-0.3-0.1-0.7-0.4-0.8l-4.2-1.7c-0.4-0.2-0.6-0.7-0.3-1l3.7-4.6c0.2-0.2,0.2-0.6,0-0.8l-3.1-4.5c-0.3-0.4,0-1,0.5-1l4.9-0.4c0.4,0,0.6-0.3,0.6-0.7l-0.4-6.8c0-0.5,0.5-0.8,0.9-0.7l6,2.5c0.3,0.1,0.6,0,0.8-0.2l4.2-4.6c0.3-0.4,0.9-0.3,1.1,0.2l2.5,6.4c0.3,0.8,1.3,1.1,2,0.6l9.8-7.3c1.1-0.8,0.4-2.6-1-2.4L37.3,10c-0.3,0-0.6-0.1-0.7-0.4l-3.4-8.7c-0.4-0.9-1.5-1.1-2.2-0.4l-7.4,8c-0.2,0.2-0.5,0.3-0.8,0.2l-9.7-4.1c-0.9-0.4-1.8,0.2-1.9,1.2l-0.4,10c0,0.4-0.3,0.6-0.6,0.6l-8.9,0.6c-1,0.1-1.6,1.2-1,2.1l5.9,8.7c0.2,0.2,0.2,0.6,0,0.8l-6,6.9C-0.3,36,0,37.1,0.8,37.4l6.9,3c0.3,0.1,0.5,0.5,0.4,0.8L3.7,58.3c-0.3,1.2,1.1,2.1,2.1,1.4l16.5-11.8c0.2-0.2,0.5-0.2,0.8,0l7.5,5.3c0.6,0.4,1.5,0.3,1.9-0.4l4.7-7.2c0.1-0.2,0.4-0.3,0.6-0.3l11.2,1.4c0.9,0.1,1.8-0.6,1.5-1.5l-4.7-12.1c-0.1-0.3,0-0.7,0.4-0.9l8.5-4C55.9,27.6,55.5,25.7,54.1,25.7z'
719+
/>
720+
</svg>
721+
)
722+
}
723+
713724
export function GmailIcon(props: SVGProps<SVGSVGElement>) {
714725
return (
715726
<svg
@@ -5824,7 +5835,7 @@ export function HexIcon(props: SVGProps<SVGSVGElement>) {
58245835
return (
58255836
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1450.3 600'>
58265837
<path
5827-
fill='#5F509D'
5838+
fill='#EDB9B8'
58285839
fillRule='evenodd'
58295840
d='m250.11,0v199.49h-50V0H0v600h200.11v-300.69h50v300.69h200.18V0h-200.18Zm249.9,0v600h450.29v-250.23h-200.2v149h-50v-199.46h250.2V0h-450.29Zm200.09,199.49v-99.49h50v99.49h-50Zm550.02,0V0h200.18v150l-100,100.09,100,100.09v249.82h-200.18v-300.69h-50v300.69h-200.11v-249.82l100.11-100.09-100.11-100.09V0h200.11v199.49h50Z'
58305841
/>

apps/docs/components/ui/icon-mapping.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ import {
3737
EyeIcon,
3838
FirecrawlIcon,
3939
FirefliesIcon,
40-
GithubIcon,
4140
GitLabIcon,
41+
GithubIcon,
4242
GmailIcon,
43+
GongIcon,
4344
GoogleBooksIcon,
4445
GoogleCalendarIcon,
4546
GoogleDocsIcon,
@@ -70,9 +71,9 @@ import {
7071
LinearIcon,
7172
LinkedInIcon,
7273
LinkupIcon,
74+
MailServerIcon,
7375
MailchimpIcon,
7476
MailgunIcon,
75-
MailServerIcon,
7677
Mem0Icon,
7778
MicrosoftDataverseIcon,
7879
MicrosoftExcelIcon,
@@ -105,6 +106,8 @@ import {
105106
ResendIcon,
106107
RevenueCatIcon,
107108
S3Icon,
109+
SQSIcon,
110+
STTIcon,
108111
SalesforceIcon,
109112
SearchIcon,
110113
SendgridIcon,
@@ -116,19 +119,17 @@ import {
116119
SimilarwebIcon,
117120
SlackIcon,
118121
SmtpIcon,
119-
SQSIcon,
120122
SshIcon,
121-
STTIcon,
122123
StagehandIcon,
123124
StripeIcon,
124125
SupabaseIcon,
126+
TTSIcon,
125127
TavilyIcon,
126128
TelegramIcon,
127129
TextractIcon,
128130
TinybirdIcon,
129131
TranslateIcon,
130132
TrelloIcon,
131-
TTSIcon,
132133
TwilioIcon,
133134
TypeformIcon,
134135
UpstashIcon,
@@ -139,11 +140,11 @@ import {
139140
WhatsAppIcon,
140141
WikipediaIcon,
141142
WordpressIcon,
142-
xIcon,
143143
YouTubeIcon,
144144
ZendeskIcon,
145145
ZepIcon,
146146
ZoomIcon,
147+
xIcon,
147148
} from '@/components/icons'
148149

149150
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>
@@ -183,6 +184,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
183184
github_v2: GithubIcon,
184185
gitlab: GitLabIcon,
185186
gmail_v2: GmailIcon,
187+
gong: GongIcon,
186188
google_books: GoogleBooksIcon,
187189
google_calendar_v2: GoogleCalendarIcon,
188190
google_docs: GoogleDocsIcon,

apps/docs/content/docs/en/tools/gong.mdx

Lines changed: 774 additions & 0 deletions
Large diffs are not rendered by default.

apps/docs/content/docs/en/tools/hex.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
77

88
<BlockInfoCard
99
type="hex"
10-
color="#F5E6FF"
10+
color="#14151A"
1111
/>
1212

1313
{/* MANUAL-CONTENT-START:intro */}

apps/docs/content/docs/en/tools/meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"github",
3636
"gitlab",
3737
"gmail",
38+
"gong",
3839
"google_books",
3940
"google_calendar",
4041
"google_docs",
@@ -144,4 +145,4 @@
144145
"zep",
145146
"zoom"
146147
]
147-
}
148+
}

0 commit comments

Comments
 (0)