@bubblelab/bubble-core 0.1.220 → 0.1.222
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +204 -126
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +6 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slab/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/slab/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/index.js +3 -0
- package/dist/bubbles/service-bubble/slab/index.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts +617 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.js +379 -0
- package/dist/bubbles/service-bubble/slab/slab.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +703 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js +226 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/zendesk/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/zendesk/index.js +3 -0
- package/dist/bubbles/service-bubble/zendesk/index.js.map +1 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +1065 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.js +531 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +1008 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +473 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles.json +2218 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zendesk.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/zendesk/zendesk.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAc3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2S9B,CAAC;AA+EH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6H9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
// Shared field helpers
|
|
4
|
+
const credentialsField = z
|
|
5
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
6
|
+
.optional()
|
|
7
|
+
.describe('Object mapping credential types to values (injected at runtime)');
|
|
8
|
+
const ticketIdField = z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1, 'Ticket ID is required')
|
|
11
|
+
.describe('Zendesk ticket ID (numeric string)');
|
|
12
|
+
// Parameter schema using discriminated union
|
|
13
|
+
export const ZendeskParamsSchema = z.discriminatedUnion('operation', [
|
|
14
|
+
// List tickets
|
|
15
|
+
z.object({
|
|
16
|
+
operation: z
|
|
17
|
+
.literal('list_tickets')
|
|
18
|
+
.describe('List tickets with optional filters'),
|
|
19
|
+
status: z
|
|
20
|
+
.enum(['new', 'open', 'pending', 'hold', 'solved', 'closed'])
|
|
21
|
+
.optional()
|
|
22
|
+
.describe('Filter by ticket status'),
|
|
23
|
+
sort_by: z
|
|
24
|
+
.enum(['created_at', 'updated_at', 'priority', 'status'])
|
|
25
|
+
.optional()
|
|
26
|
+
.default('updated_at')
|
|
27
|
+
.describe('Sort field (default: updated_at)'),
|
|
28
|
+
sort_order: z
|
|
29
|
+
.enum(['asc', 'desc'])
|
|
30
|
+
.optional()
|
|
31
|
+
.default('desc')
|
|
32
|
+
.describe('Sort order (default: desc)'),
|
|
33
|
+
page: z
|
|
34
|
+
.number()
|
|
35
|
+
.min(1)
|
|
36
|
+
.optional()
|
|
37
|
+
.default(1)
|
|
38
|
+
.describe('Page number for pagination (default 1)'),
|
|
39
|
+
per_page: z
|
|
40
|
+
.number()
|
|
41
|
+
.min(1)
|
|
42
|
+
.max(100)
|
|
43
|
+
.optional()
|
|
44
|
+
.default(25)
|
|
45
|
+
.describe('Results per page (1-100, default 25)'),
|
|
46
|
+
credentials: credentialsField,
|
|
47
|
+
}),
|
|
48
|
+
// Get ticket
|
|
49
|
+
z.object({
|
|
50
|
+
operation: z
|
|
51
|
+
.literal('get_ticket')
|
|
52
|
+
.describe('Retrieve a single ticket by ID with full details'),
|
|
53
|
+
ticket_id: ticketIdField,
|
|
54
|
+
credentials: credentialsField,
|
|
55
|
+
}),
|
|
56
|
+
// Create ticket
|
|
57
|
+
z.object({
|
|
58
|
+
operation: z
|
|
59
|
+
.literal('create_ticket')
|
|
60
|
+
.describe('Create a new support ticket'),
|
|
61
|
+
subject: z.string().min(1).describe('Ticket subject line'),
|
|
62
|
+
body: z
|
|
63
|
+
.string()
|
|
64
|
+
.min(1)
|
|
65
|
+
.describe('Ticket description / initial comment body'),
|
|
66
|
+
requester_email: z
|
|
67
|
+
.string()
|
|
68
|
+
.optional()
|
|
69
|
+
.describe('Email of the requester (creates user if not found)'),
|
|
70
|
+
requester_name: z
|
|
71
|
+
.string()
|
|
72
|
+
.optional()
|
|
73
|
+
.describe('Name of the requester (used when creating a new requester alongside email)'),
|
|
74
|
+
assignee_id: z
|
|
75
|
+
.number()
|
|
76
|
+
.optional()
|
|
77
|
+
.describe('Agent ID to assign the ticket to'),
|
|
78
|
+
priority: z
|
|
79
|
+
.enum(['urgent', 'high', 'normal', 'low'])
|
|
80
|
+
.optional()
|
|
81
|
+
.describe('Ticket priority'),
|
|
82
|
+
type: z
|
|
83
|
+
.enum(['problem', 'incident', 'question', 'task'])
|
|
84
|
+
.optional()
|
|
85
|
+
.describe('Ticket type'),
|
|
86
|
+
tags: z
|
|
87
|
+
.array(z.string())
|
|
88
|
+
.optional()
|
|
89
|
+
.describe('Tags to apply to the ticket'),
|
|
90
|
+
credentials: credentialsField,
|
|
91
|
+
}),
|
|
92
|
+
// Update ticket (add comment / change fields)
|
|
93
|
+
z.object({
|
|
94
|
+
operation: z
|
|
95
|
+
.literal('update_ticket')
|
|
96
|
+
.describe('Update a ticket: add a reply/comment, change status, priority, or assignee'),
|
|
97
|
+
ticket_id: ticketIdField,
|
|
98
|
+
comment: z
|
|
99
|
+
.string()
|
|
100
|
+
.optional()
|
|
101
|
+
.describe('Comment body to add to the ticket (public reply or internal note)'),
|
|
102
|
+
public: z
|
|
103
|
+
.boolean()
|
|
104
|
+
.optional()
|
|
105
|
+
.default(true)
|
|
106
|
+
.describe('Whether the comment is public (visible to requester) or internal note (default: true)'),
|
|
107
|
+
status: z
|
|
108
|
+
.enum(['new', 'open', 'pending', 'hold', 'solved', 'closed'])
|
|
109
|
+
.optional()
|
|
110
|
+
.describe('Set new ticket status'),
|
|
111
|
+
priority: z
|
|
112
|
+
.enum(['urgent', 'high', 'normal', 'low'])
|
|
113
|
+
.optional()
|
|
114
|
+
.describe('Set new ticket priority'),
|
|
115
|
+
assignee_id: z
|
|
116
|
+
.number()
|
|
117
|
+
.optional()
|
|
118
|
+
.describe('Reassign ticket to this agent ID'),
|
|
119
|
+
tags: z
|
|
120
|
+
.array(z.string())
|
|
121
|
+
.optional()
|
|
122
|
+
.describe('Replace ticket tags with this list'),
|
|
123
|
+
credentials: credentialsField,
|
|
124
|
+
}),
|
|
125
|
+
// List ticket comments
|
|
126
|
+
z.object({
|
|
127
|
+
operation: z
|
|
128
|
+
.literal('list_ticket_comments')
|
|
129
|
+
.describe('List comments/replies on a ticket'),
|
|
130
|
+
ticket_id: ticketIdField,
|
|
131
|
+
sort_order: z
|
|
132
|
+
.enum(['asc', 'desc'])
|
|
133
|
+
.optional()
|
|
134
|
+
.default('asc')
|
|
135
|
+
.describe('Sort order for comments (default: asc — oldest first)'),
|
|
136
|
+
page: z
|
|
137
|
+
.number()
|
|
138
|
+
.min(1)
|
|
139
|
+
.optional()
|
|
140
|
+
.default(1)
|
|
141
|
+
.describe('Page number for pagination (default 1)'),
|
|
142
|
+
per_page: z
|
|
143
|
+
.number()
|
|
144
|
+
.min(1)
|
|
145
|
+
.max(100)
|
|
146
|
+
.optional()
|
|
147
|
+
.default(25)
|
|
148
|
+
.describe('Results per page (1-100, default 25)'),
|
|
149
|
+
credentials: credentialsField,
|
|
150
|
+
}),
|
|
151
|
+
// List users
|
|
152
|
+
z.object({
|
|
153
|
+
operation: z.literal('list_users').describe('List or search users'),
|
|
154
|
+
query: z.string().optional().describe('Search query (name or email)'),
|
|
155
|
+
role: z
|
|
156
|
+
.enum(['end-user', 'agent', 'admin'])
|
|
157
|
+
.optional()
|
|
158
|
+
.describe('Filter by user role'),
|
|
159
|
+
page: z
|
|
160
|
+
.number()
|
|
161
|
+
.min(1)
|
|
162
|
+
.optional()
|
|
163
|
+
.default(1)
|
|
164
|
+
.describe('Page number for pagination (default 1)'),
|
|
165
|
+
per_page: z
|
|
166
|
+
.number()
|
|
167
|
+
.min(1)
|
|
168
|
+
.max(100)
|
|
169
|
+
.optional()
|
|
170
|
+
.default(25)
|
|
171
|
+
.describe('Results per page (1-100, default 25)'),
|
|
172
|
+
credentials: credentialsField,
|
|
173
|
+
}),
|
|
174
|
+
// Get user
|
|
175
|
+
z.object({
|
|
176
|
+
operation: z.literal('get_user').describe('Retrieve a single user by ID'),
|
|
177
|
+
user_id: z.string().min(1).describe('Zendesk user ID (numeric string)'),
|
|
178
|
+
credentials: credentialsField,
|
|
179
|
+
}),
|
|
180
|
+
// List organizations
|
|
181
|
+
z.object({
|
|
182
|
+
operation: z
|
|
183
|
+
.literal('list_organizations')
|
|
184
|
+
.describe('List or search organizations'),
|
|
185
|
+
query: z
|
|
186
|
+
.string()
|
|
187
|
+
.optional()
|
|
188
|
+
.describe('Search by organization name or external ID'),
|
|
189
|
+
page: z
|
|
190
|
+
.number()
|
|
191
|
+
.min(1)
|
|
192
|
+
.optional()
|
|
193
|
+
.default(1)
|
|
194
|
+
.describe('Page number for pagination (default 1)'),
|
|
195
|
+
per_page: z
|
|
196
|
+
.number()
|
|
197
|
+
.min(1)
|
|
198
|
+
.max(100)
|
|
199
|
+
.optional()
|
|
200
|
+
.default(25)
|
|
201
|
+
.describe('Results per page (1-100, default 25)'),
|
|
202
|
+
credentials: credentialsField,
|
|
203
|
+
}),
|
|
204
|
+
// Get organization
|
|
205
|
+
z.object({
|
|
206
|
+
operation: z
|
|
207
|
+
.literal('get_organization')
|
|
208
|
+
.describe('Retrieve a single organization by ID'),
|
|
209
|
+
organization_id: z
|
|
210
|
+
.string()
|
|
211
|
+
.min(1)
|
|
212
|
+
.describe('Zendesk organization ID (numeric string)'),
|
|
213
|
+
credentials: credentialsField,
|
|
214
|
+
}),
|
|
215
|
+
// Search
|
|
216
|
+
z.object({
|
|
217
|
+
operation: z
|
|
218
|
+
.literal('search')
|
|
219
|
+
.describe('Unified search across tickets, users, and organizations using Zendesk query syntax'),
|
|
220
|
+
query: z
|
|
221
|
+
.string()
|
|
222
|
+
.min(1)
|
|
223
|
+
.describe('Zendesk search query (e.g., "type:ticket status:open", "type:user email:john@example.com")'),
|
|
224
|
+
sort_by: z
|
|
225
|
+
.enum(['updated_at', 'created_at', 'priority', 'status', 'ticket_type'])
|
|
226
|
+
.optional()
|
|
227
|
+
.describe('Sort field'),
|
|
228
|
+
sort_order: z
|
|
229
|
+
.enum(['asc', 'desc'])
|
|
230
|
+
.optional()
|
|
231
|
+
.default('desc')
|
|
232
|
+
.describe('Sort order (default: desc)'),
|
|
233
|
+
page: z
|
|
234
|
+
.number()
|
|
235
|
+
.min(1)
|
|
236
|
+
.optional()
|
|
237
|
+
.default(1)
|
|
238
|
+
.describe('Page number for pagination (default 1)'),
|
|
239
|
+
per_page: z
|
|
240
|
+
.number()
|
|
241
|
+
.min(1)
|
|
242
|
+
.max(100)
|
|
243
|
+
.optional()
|
|
244
|
+
.default(25)
|
|
245
|
+
.describe('Results per page (1-100, default 25)'),
|
|
246
|
+
credentials: credentialsField,
|
|
247
|
+
}),
|
|
248
|
+
// List articles
|
|
249
|
+
z.object({
|
|
250
|
+
operation: z
|
|
251
|
+
.literal('list_articles')
|
|
252
|
+
.describe('List or search Help Center articles'),
|
|
253
|
+
query: z.string().optional().describe('Search query for articles'),
|
|
254
|
+
section_id: z.string().optional().describe('Filter articles by section ID'),
|
|
255
|
+
category_id: z
|
|
256
|
+
.string()
|
|
257
|
+
.optional()
|
|
258
|
+
.describe('Filter articles by category ID'),
|
|
259
|
+
locale: z.string().optional().describe('Filter by locale (e.g., "en-us")'),
|
|
260
|
+
page: z
|
|
261
|
+
.number()
|
|
262
|
+
.min(1)
|
|
263
|
+
.optional()
|
|
264
|
+
.default(1)
|
|
265
|
+
.describe('Page number for pagination (default 1)'),
|
|
266
|
+
per_page: z
|
|
267
|
+
.number()
|
|
268
|
+
.min(1)
|
|
269
|
+
.max(100)
|
|
270
|
+
.optional()
|
|
271
|
+
.default(25)
|
|
272
|
+
.describe('Results per page (1-100, default 25)'),
|
|
273
|
+
credentials: credentialsField,
|
|
274
|
+
}),
|
|
275
|
+
// Get article
|
|
276
|
+
z.object({
|
|
277
|
+
operation: z
|
|
278
|
+
.literal('get_article')
|
|
279
|
+
.describe('Retrieve a single Help Center article by ID with body content'),
|
|
280
|
+
article_id: z.string().min(1).describe('Zendesk Help Center article ID'),
|
|
281
|
+
locale: z
|
|
282
|
+
.string()
|
|
283
|
+
.optional()
|
|
284
|
+
.describe('Locale for the article (e.g., "en-us")'),
|
|
285
|
+
credentials: credentialsField,
|
|
286
|
+
}),
|
|
287
|
+
]);
|
|
288
|
+
// Zendesk record schemas for response data
|
|
289
|
+
const ZendeskTicketSchema = z
|
|
290
|
+
.object({
|
|
291
|
+
id: z.number().describe('Ticket ID'),
|
|
292
|
+
subject: z.string().optional().describe('Ticket subject'),
|
|
293
|
+
description: z.string().optional().describe('Ticket description'),
|
|
294
|
+
status: z.string().optional().describe('Ticket status'),
|
|
295
|
+
priority: z.string().optional().nullable().describe('Ticket priority'),
|
|
296
|
+
type: z.string().optional().nullable().describe('Ticket type'),
|
|
297
|
+
requester_id: z.number().optional().describe('Requester user ID'),
|
|
298
|
+
assignee_id: z.number().optional().nullable().describe('Assignee user ID'),
|
|
299
|
+
organization_id: z
|
|
300
|
+
.number()
|
|
301
|
+
.optional()
|
|
302
|
+
.nullable()
|
|
303
|
+
.describe('Organization ID'),
|
|
304
|
+
tags: z.array(z.string()).optional().describe('Ticket tags'),
|
|
305
|
+
created_at: z.string().optional().describe('Created timestamp'),
|
|
306
|
+
updated_at: z.string().optional().describe('Updated timestamp'),
|
|
307
|
+
})
|
|
308
|
+
.describe('A Zendesk ticket');
|
|
309
|
+
const ZendeskCommentSchema = z
|
|
310
|
+
.object({
|
|
311
|
+
id: z.number().describe('Comment ID'),
|
|
312
|
+
body: z.string().optional().describe('Comment body text'),
|
|
313
|
+
html_body: z.string().optional().describe('Comment body HTML'),
|
|
314
|
+
public: z.boolean().optional().describe('Whether comment is public'),
|
|
315
|
+
author_id: z.number().optional().describe('Author user ID'),
|
|
316
|
+
created_at: z.string().optional().describe('Created timestamp'),
|
|
317
|
+
})
|
|
318
|
+
.describe('A Zendesk ticket comment');
|
|
319
|
+
const ZendeskUserSchema = z
|
|
320
|
+
.object({
|
|
321
|
+
id: z.number().describe('User ID'),
|
|
322
|
+
name: z.string().optional().describe('User name'),
|
|
323
|
+
email: z.string().optional().describe('User email'),
|
|
324
|
+
role: z.string().optional().describe('User role (end-user, agent, admin)'),
|
|
325
|
+
organization_id: z
|
|
326
|
+
.number()
|
|
327
|
+
.optional()
|
|
328
|
+
.nullable()
|
|
329
|
+
.describe('Organization ID'),
|
|
330
|
+
active: z.boolean().optional().describe('Whether user is active'),
|
|
331
|
+
created_at: z.string().optional().describe('Created timestamp'),
|
|
332
|
+
})
|
|
333
|
+
.describe('A Zendesk user');
|
|
334
|
+
const ZendeskOrganizationSchema = z
|
|
335
|
+
.object({
|
|
336
|
+
id: z.number().describe('Organization ID'),
|
|
337
|
+
name: z.string().optional().describe('Organization name'),
|
|
338
|
+
domain_names: z
|
|
339
|
+
.array(z.string())
|
|
340
|
+
.optional()
|
|
341
|
+
.describe('Associated domain names'),
|
|
342
|
+
external_id: z.string().optional().nullable().describe('External ID'),
|
|
343
|
+
created_at: z.string().optional().describe('Created timestamp'),
|
|
344
|
+
})
|
|
345
|
+
.describe('A Zendesk organization');
|
|
346
|
+
const ZendeskArticleSchema = z
|
|
347
|
+
.object({
|
|
348
|
+
id: z.number().describe('Article ID'),
|
|
349
|
+
title: z.string().optional().describe('Article title'),
|
|
350
|
+
body: z.string().optional().describe('Article body HTML'),
|
|
351
|
+
locale: z.string().optional().describe('Article locale'),
|
|
352
|
+
section_id: z.number().optional().describe('Section ID'),
|
|
353
|
+
author_id: z.number().optional().describe('Author user ID'),
|
|
354
|
+
draft: z.boolean().optional().describe('Whether article is a draft'),
|
|
355
|
+
created_at: z.string().optional().describe('Created timestamp'),
|
|
356
|
+
updated_at: z.string().optional().describe('Updated timestamp'),
|
|
357
|
+
})
|
|
358
|
+
.describe('A Zendesk Help Center article');
|
|
359
|
+
// Result schema
|
|
360
|
+
export const ZendeskResultSchema = z.discriminatedUnion('operation', [
|
|
361
|
+
// List tickets result
|
|
362
|
+
z.object({
|
|
363
|
+
operation: z.literal('list_tickets'),
|
|
364
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
365
|
+
tickets: z
|
|
366
|
+
.array(ZendeskTicketSchema)
|
|
367
|
+
.optional()
|
|
368
|
+
.describe('List of tickets'),
|
|
369
|
+
count: z.number().optional().describe('Total ticket count'),
|
|
370
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
371
|
+
error: z.string().describe('Error message if operation failed'),
|
|
372
|
+
}),
|
|
373
|
+
// Get ticket result
|
|
374
|
+
z.object({
|
|
375
|
+
operation: z.literal('get_ticket'),
|
|
376
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
377
|
+
ticket: ZendeskTicketSchema.optional().describe('Retrieved ticket'),
|
|
378
|
+
error: z.string().describe('Error message if operation failed'),
|
|
379
|
+
}),
|
|
380
|
+
// Create ticket result
|
|
381
|
+
z.object({
|
|
382
|
+
operation: z.literal('create_ticket'),
|
|
383
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
384
|
+
ticket: ZendeskTicketSchema.optional().describe('Created ticket'),
|
|
385
|
+
error: z.string().describe('Error message if operation failed'),
|
|
386
|
+
}),
|
|
387
|
+
// Update ticket result
|
|
388
|
+
z.object({
|
|
389
|
+
operation: z.literal('update_ticket'),
|
|
390
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
391
|
+
ticket: ZendeskTicketSchema.optional().describe('Updated ticket'),
|
|
392
|
+
error: z.string().describe('Error message if operation failed'),
|
|
393
|
+
}),
|
|
394
|
+
// List ticket comments result
|
|
395
|
+
z.object({
|
|
396
|
+
operation: z.literal('list_ticket_comments'),
|
|
397
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
398
|
+
comments: z
|
|
399
|
+
.array(ZendeskCommentSchema)
|
|
400
|
+
.optional()
|
|
401
|
+
.describe('List of comments'),
|
|
402
|
+
count: z.number().optional().describe('Total comment count'),
|
|
403
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
404
|
+
error: z.string().describe('Error message if operation failed'),
|
|
405
|
+
}),
|
|
406
|
+
// List users result
|
|
407
|
+
z.object({
|
|
408
|
+
operation: z.literal('list_users'),
|
|
409
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
410
|
+
users: z.array(ZendeskUserSchema).optional().describe('List of users'),
|
|
411
|
+
count: z.number().optional().describe('Total user count'),
|
|
412
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
413
|
+
error: z.string().describe('Error message if operation failed'),
|
|
414
|
+
}),
|
|
415
|
+
// Get user result
|
|
416
|
+
z.object({
|
|
417
|
+
operation: z.literal('get_user'),
|
|
418
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
419
|
+
user: ZendeskUserSchema.optional().describe('Retrieved user'),
|
|
420
|
+
error: z.string().describe('Error message if operation failed'),
|
|
421
|
+
}),
|
|
422
|
+
// List organizations result
|
|
423
|
+
z.object({
|
|
424
|
+
operation: z.literal('list_organizations'),
|
|
425
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
426
|
+
organizations: z
|
|
427
|
+
.array(ZendeskOrganizationSchema)
|
|
428
|
+
.optional()
|
|
429
|
+
.describe('List of organizations'),
|
|
430
|
+
count: z.number().optional().describe('Total organization count'),
|
|
431
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
432
|
+
error: z.string().describe('Error message if operation failed'),
|
|
433
|
+
}),
|
|
434
|
+
// Get organization result
|
|
435
|
+
z.object({
|
|
436
|
+
operation: z.literal('get_organization'),
|
|
437
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
438
|
+
organization: ZendeskOrganizationSchema.optional().describe('Retrieved organization'),
|
|
439
|
+
error: z.string().describe('Error message if operation failed'),
|
|
440
|
+
}),
|
|
441
|
+
// Search result
|
|
442
|
+
z.object({
|
|
443
|
+
operation: z.literal('search'),
|
|
444
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
445
|
+
results: z
|
|
446
|
+
.array(z.record(z.unknown()))
|
|
447
|
+
.optional()
|
|
448
|
+
.describe('Search results (mixed types)'),
|
|
449
|
+
count: z.number().optional().describe('Total result count'),
|
|
450
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
451
|
+
error: z.string().describe('Error message if operation failed'),
|
|
452
|
+
}),
|
|
453
|
+
// List articles result
|
|
454
|
+
z.object({
|
|
455
|
+
operation: z.literal('list_articles'),
|
|
456
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
457
|
+
articles: z
|
|
458
|
+
.array(ZendeskArticleSchema)
|
|
459
|
+
.optional()
|
|
460
|
+
.describe('List of articles'),
|
|
461
|
+
count: z.number().optional().describe('Total article count'),
|
|
462
|
+
next_page: z.string().optional().nullable().describe('Next page URL'),
|
|
463
|
+
error: z.string().describe('Error message if operation failed'),
|
|
464
|
+
}),
|
|
465
|
+
// Get article result
|
|
466
|
+
z.object({
|
|
467
|
+
operation: z.literal('get_article'),
|
|
468
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
469
|
+
article: ZendeskArticleSchema.optional().describe('Retrieved article'),
|
|
470
|
+
error: z.string().describe('Error message if operation failed'),
|
|
471
|
+
}),
|
|
472
|
+
]);
|
|
473
|
+
//# sourceMappingURL=zendesk.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zendesk.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/zendesk/zendesk.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,O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ingToolParamsInput
|
|
|
98
98
|
}, "strip", import("zod").ZodTypeAny, {
|
|
99
99
|
operation: "screenshot";
|
|
100
100
|
full_page: boolean;
|
|
101
|
-
url?: string | undefined;
|
|
102
101
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
|
+
url?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
operation: "screenshot";
|
|
105
|
-
url?: string | undefined;
|
|
106
105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
|
+
url?: string | undefined;
|
|
107
107
|
full_page?: boolean | undefined;
|
|
108
108
|
}>]>;
|
|
109
109
|
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
@@ -139,15 +139,15 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
139
139
|
price: string;
|
|
140
140
|
quantity: number;
|
|
141
141
|
asin: string;
|
|
142
|
-
url?: string | undefined;
|
|
143
142
|
image?: string | undefined;
|
|
143
|
+
url?: string | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
title: string;
|
|
146
146
|
price: string;
|
|
147
147
|
quantity: number;
|
|
148
148
|
asin: string;
|
|
149
|
-
url?: string | undefined;
|
|
150
149
|
image?: string | undefined;
|
|
150
|
+
url?: string | undefined;
|
|
151
151
|
}>, "many">>;
|
|
152
152
|
subtotal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
153
|
total_items: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -162,8 +162,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
162
162
|
price: string;
|
|
163
163
|
quantity: number;
|
|
164
164
|
asin: string;
|
|
165
|
-
url?: string | undefined;
|
|
166
165
|
image?: string | undefined;
|
|
166
|
+
url?: string | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
subtotal?: string | undefined;
|
|
169
169
|
total_items?: number | undefined;
|
|
@@ -177,8 +177,8 @@ export declare class AmazonShoppingTool<T extends AmazonShoppingToolParamsInput
|
|
|
177
177
|
price: string;
|
|
178
178
|
quantity: number;
|
|
179
179
|
asin: string;
|
|
180
|
-
url?: string | undefined;
|
|
181
180
|
image?: string | undefined;
|
|
181
|
+
url?: string | undefined;
|
|
182
182
|
}[] | undefined;
|
|
183
183
|
subtotal?: string | undefined;
|
|
184
184
|
total_items?: number | undefined;
|
|
@@ -15,15 +15,15 @@ export declare const CartItemSchema: z.ZodObject<{
|
|
|
15
15
|
price: string;
|
|
16
16
|
quantity: number;
|
|
17
17
|
asin: string;
|
|
18
|
-
url?: string | undefined;
|
|
19
18
|
image?: string | undefined;
|
|
19
|
+
url?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
title: string;
|
|
22
22
|
price: string;
|
|
23
23
|
quantity: number;
|
|
24
24
|
asin: string;
|
|
25
|
-
url?: string | undefined;
|
|
26
25
|
image?: string | undefined;
|
|
26
|
+
url?: string | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type CartItem = z.infer<typeof CartItemSchema>;
|
|
29
29
|
/**
|
|
@@ -98,12 +98,12 @@ export declare const AmazonShoppingToolParamsSchema: z.ZodDiscriminatedUnion<"op
|
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
99
|
operation: "screenshot";
|
|
100
100
|
full_page: boolean;
|
|
101
|
-
url?: string | undefined;
|
|
102
101
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
|
+
url?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
operation: "screenshot";
|
|
105
|
-
url?: string | undefined;
|
|
106
105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
|
+
url?: string | undefined;
|
|
107
107
|
full_page?: boolean | undefined;
|
|
108
108
|
}>]>;
|
|
109
109
|
/**
|
|
@@ -212,15 +212,15 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
212
212
|
price: string;
|
|
213
213
|
quantity: number;
|
|
214
214
|
asin: string;
|
|
215
|
-
url?: string | undefined;
|
|
216
215
|
image?: string | undefined;
|
|
216
|
+
url?: string | undefined;
|
|
217
217
|
}, {
|
|
218
218
|
title: string;
|
|
219
219
|
price: string;
|
|
220
220
|
quantity: number;
|
|
221
221
|
asin: string;
|
|
222
|
-
url?: string | undefined;
|
|
223
222
|
image?: string | undefined;
|
|
223
|
+
url?: string | undefined;
|
|
224
224
|
}>, "many">>;
|
|
225
225
|
subtotal: z.ZodOptional<z.ZodString>;
|
|
226
226
|
total_items: z.ZodOptional<z.ZodNumber>;
|
|
@@ -235,8 +235,8 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
235
235
|
price: string;
|
|
236
236
|
quantity: number;
|
|
237
237
|
asin: string;
|
|
238
|
-
url?: string | undefined;
|
|
239
238
|
image?: string | undefined;
|
|
239
|
+
url?: string | undefined;
|
|
240
240
|
}[] | undefined;
|
|
241
241
|
subtotal?: string | undefined;
|
|
242
242
|
total_items?: number | undefined;
|
|
@@ -250,8 +250,8 @@ export declare const AmazonShoppingToolResultSchema: z.ZodDiscriminatedUnion<"op
|
|
|
250
250
|
price: string;
|
|
251
251
|
quantity: number;
|
|
252
252
|
asin: string;
|
|
253
|
-
url?: string | undefined;
|
|
254
253
|
image?: string | undefined;
|
|
254
|
+
url?: string | undefined;
|
|
255
255
|
}[] | undefined;
|
|
256
256
|
subtotal?: string | undefined;
|
|
257
257
|
total_items?: number | undefined;
|