@bubblelab/bubble-core 0.1.289 → 0.1.291

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.
Files changed (105) hide show
  1. package/dist/bubble-bundle.d.ts +183 -163
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +3 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
  6. package/dist/bubbles/service-bubble/airtable.d.ts +100 -100
  7. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  8. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  15. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
  18. package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
  19. package/dist/bubbles/service-bubble/asana/asana.d.ts +3 -3
  20. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1 -1
  21. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +168 -168
  22. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +32 -32
  23. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  25. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  26. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  27. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +5 -5
  28. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  29. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  31. package/dist/bubbles/service-bubble/discord/discord.d.ts +12 -12
  32. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +12 -12
  33. package/dist/bubbles/service-bubble/firecrawl.d.ts +278 -278
  34. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  35. package/dist/bubbles/service-bubble/github.d.ts +12 -12
  36. package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
  37. package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
  38. package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
  39. package/dist/bubbles/service-bubble/granola/granola.d.ts +446 -0
  40. package/dist/bubbles/service-bubble/granola/granola.d.ts.map +1 -0
  41. package/dist/bubbles/service-bubble/granola/granola.js +187 -0
  42. package/dist/bubbles/service-bubble/granola/granola.js.map +1 -0
  43. package/dist/bubbles/service-bubble/granola/granola.schema.d.ts +766 -0
  44. package/dist/bubbles/service-bubble/granola/granola.schema.d.ts.map +1 -0
  45. package/dist/bubbles/service-bubble/granola/granola.schema.js +196 -0
  46. package/dist/bubbles/service-bubble/granola/granola.schema.js.map +1 -0
  47. package/dist/bubbles/service-bubble/granola/index.d.ts +3 -0
  48. package/dist/bubbles/service-bubble/granola/index.d.ts.map +1 -0
  49. package/dist/bubbles/service-bubble/granola/index.js +3 -0
  50. package/dist/bubbles/service-bubble/granola/index.js.map +1 -0
  51. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  52. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
  53. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
  54. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
  56. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  57. package/dist/bubbles/service-bubble/metabase/metabase.d.ts +6 -6
  58. package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts +2 -2
  59. package/dist/bubbles/service-bubble/notion/notion.d.ts +272 -272
  60. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  61. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  62. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +8 -8
  63. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  64. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  65. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
  66. package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
  67. package/dist/bubbles/service-bubble/slack/slack.d.ts +294 -294
  68. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +4 -4
  69. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +4 -4
  70. package/dist/bubbles/service-bubble/sortly/sortly.d.ts +38 -38
  71. package/dist/bubbles/service-bubble/sortly/sortly.schema.d.ts +40 -40
  72. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +33 -33
  73. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  74. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  75. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  76. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +22 -22
  77. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
  78. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  79. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  80. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +16 -16
  81. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  82. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  83. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +385 -385
  84. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  85. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
  86. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  87. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  88. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  89. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  90. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  91. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  92. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  93. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  94. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  95. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  96. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +44 -44
  97. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  98. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  99. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +42 -42
  100. package/dist/bubbles.json +458 -2
  101. package/dist/index.d.ts +1 -0
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.js +1 -0
  104. package/dist/index.js.map +1 -1
  105. package/package.json +2 -2
@@ -0,0 +1,766 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ /**
4
+ * User/owner object from Granola API
5
+ */
6
+ export declare const GranolaUserSchema: z.ZodObject<{
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ name: string | null;
11
+ email: string;
12
+ }, {
13
+ name: string | null;
14
+ email: string;
15
+ }>;
16
+ /**
17
+ * Calendar invitee from Granola API
18
+ */
19
+ export declare const GranolaCalendarInviteeSchema: z.ZodObject<{
20
+ email: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ email: string;
23
+ }, {
24
+ email: string;
25
+ }>;
26
+ /**
27
+ * Calendar event associated with a note
28
+ */
29
+ export declare const GranolaCalendarEventSchema: z.ZodObject<{
30
+ event_title: z.ZodNullable<z.ZodString>;
31
+ invitees: z.ZodArray<z.ZodObject<{
32
+ email: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ email: string;
35
+ }, {
36
+ email: string;
37
+ }>, "many">;
38
+ organiser: z.ZodNullable<z.ZodString>;
39
+ calendar_event_id: z.ZodNullable<z.ZodString>;
40
+ scheduled_start_time: z.ZodNullable<z.ZodString>;
41
+ scheduled_end_time: z.ZodNullable<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ event_title: string | null;
44
+ invitees: {
45
+ email: string;
46
+ }[];
47
+ organiser: string | null;
48
+ calendar_event_id: string | null;
49
+ scheduled_start_time: string | null;
50
+ scheduled_end_time: string | null;
51
+ }, {
52
+ event_title: string | null;
53
+ invitees: {
54
+ email: string;
55
+ }[];
56
+ organiser: string | null;
57
+ calendar_event_id: string | null;
58
+ scheduled_start_time: string | null;
59
+ scheduled_end_time: string | null;
60
+ }>;
61
+ /**
62
+ * Folder membership from Granola API
63
+ */
64
+ export declare const GranolaFolderSchema: z.ZodObject<{
65
+ id: z.ZodString;
66
+ object: z.ZodLiteral<"folder">;
67
+ name: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ object: "folder";
70
+ name: string;
71
+ id: string;
72
+ }, {
73
+ object: "folder";
74
+ name: string;
75
+ id: string;
76
+ }>;
77
+ /**
78
+ * Transcript speaker from Granola API
79
+ */
80
+ export declare const GranolaSpeakerSchema: z.ZodObject<{
81
+ source: z.ZodEnum<["microphone", "speaker"]>;
82
+ diarization_label: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ source: "microphone" | "speaker";
85
+ diarization_label?: string | undefined;
86
+ }, {
87
+ source: "microphone" | "speaker";
88
+ diarization_label?: string | undefined;
89
+ }>;
90
+ /**
91
+ * Transcript entry from Granola API
92
+ */
93
+ export declare const GranolaTranscriptEntrySchema: z.ZodObject<{
94
+ speaker: z.ZodObject<{
95
+ source: z.ZodEnum<["microphone", "speaker"]>;
96
+ diarization_label: z.ZodOptional<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ source: "microphone" | "speaker";
99
+ diarization_label?: string | undefined;
100
+ }, {
101
+ source: "microphone" | "speaker";
102
+ diarization_label?: string | undefined;
103
+ }>;
104
+ text: z.ZodString;
105
+ start_time: z.ZodString;
106
+ end_time: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ text: string;
109
+ speaker: {
110
+ source: "microphone" | "speaker";
111
+ diarization_label?: string | undefined;
112
+ };
113
+ start_time: string;
114
+ end_time: string;
115
+ }, {
116
+ text: string;
117
+ speaker: {
118
+ source: "microphone" | "speaker";
119
+ diarization_label?: string | undefined;
120
+ };
121
+ start_time: string;
122
+ end_time: string;
123
+ }>;
124
+ /**
125
+ * Note summary (returned by list_notes)
126
+ */
127
+ export declare const GranolaNoteSummarySchema: z.ZodObject<{
128
+ id: z.ZodString;
129
+ object: z.ZodLiteral<"note">;
130
+ title: z.ZodNullable<z.ZodString>;
131
+ owner: z.ZodObject<{
132
+ name: z.ZodNullable<z.ZodString>;
133
+ email: z.ZodString;
134
+ }, "strip", z.ZodTypeAny, {
135
+ name: string | null;
136
+ email: string;
137
+ }, {
138
+ name: string | null;
139
+ email: string;
140
+ }>;
141
+ created_at: z.ZodString;
142
+ updated_at: z.ZodString;
143
+ }, "strip", z.ZodTypeAny, {
144
+ object: "note";
145
+ title: string | null;
146
+ id: string;
147
+ created_at: string;
148
+ owner: {
149
+ name: string | null;
150
+ email: string;
151
+ };
152
+ updated_at: string;
153
+ }, {
154
+ object: "note";
155
+ title: string | null;
156
+ id: string;
157
+ created_at: string;
158
+ owner: {
159
+ name: string | null;
160
+ email: string;
161
+ };
162
+ updated_at: string;
163
+ }>;
164
+ /**
165
+ * Full note (returned by get_note)
166
+ */
167
+ export declare const GranolaNoteSchema: z.ZodObject<{
168
+ id: z.ZodString;
169
+ object: z.ZodLiteral<"note">;
170
+ title: z.ZodNullable<z.ZodString>;
171
+ owner: z.ZodObject<{
172
+ name: z.ZodNullable<z.ZodString>;
173
+ email: z.ZodString;
174
+ }, "strip", z.ZodTypeAny, {
175
+ name: string | null;
176
+ email: string;
177
+ }, {
178
+ name: string | null;
179
+ email: string;
180
+ }>;
181
+ created_at: z.ZodString;
182
+ updated_at: z.ZodString;
183
+ } & {
184
+ calendar_event: z.ZodNullable<z.ZodObject<{
185
+ event_title: z.ZodNullable<z.ZodString>;
186
+ invitees: z.ZodArray<z.ZodObject<{
187
+ email: z.ZodString;
188
+ }, "strip", z.ZodTypeAny, {
189
+ email: string;
190
+ }, {
191
+ email: string;
192
+ }>, "many">;
193
+ organiser: z.ZodNullable<z.ZodString>;
194
+ calendar_event_id: z.ZodNullable<z.ZodString>;
195
+ scheduled_start_time: z.ZodNullable<z.ZodString>;
196
+ scheduled_end_time: z.ZodNullable<z.ZodString>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ event_title: string | null;
199
+ invitees: {
200
+ email: string;
201
+ }[];
202
+ organiser: string | null;
203
+ calendar_event_id: string | null;
204
+ scheduled_start_time: string | null;
205
+ scheduled_end_time: string | null;
206
+ }, {
207
+ event_title: string | null;
208
+ invitees: {
209
+ email: string;
210
+ }[];
211
+ organiser: string | null;
212
+ calendar_event_id: string | null;
213
+ scheduled_start_time: string | null;
214
+ scheduled_end_time: string | null;
215
+ }>>;
216
+ attendees: z.ZodArray<z.ZodObject<{
217
+ name: z.ZodNullable<z.ZodString>;
218
+ email: z.ZodString;
219
+ }, "strip", z.ZodTypeAny, {
220
+ name: string | null;
221
+ email: string;
222
+ }, {
223
+ name: string | null;
224
+ email: string;
225
+ }>, "many">;
226
+ folder_membership: z.ZodArray<z.ZodObject<{
227
+ id: z.ZodString;
228
+ object: z.ZodLiteral<"folder">;
229
+ name: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ object: "folder";
232
+ name: string;
233
+ id: string;
234
+ }, {
235
+ object: "folder";
236
+ name: string;
237
+ id: string;
238
+ }>, "many">;
239
+ summary_text: z.ZodString;
240
+ summary_markdown: z.ZodNullable<z.ZodString>;
241
+ transcript: z.ZodNullable<z.ZodArray<z.ZodObject<{
242
+ speaker: z.ZodObject<{
243
+ source: z.ZodEnum<["microphone", "speaker"]>;
244
+ diarization_label: z.ZodOptional<z.ZodString>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ source: "microphone" | "speaker";
247
+ diarization_label?: string | undefined;
248
+ }, {
249
+ source: "microphone" | "speaker";
250
+ diarization_label?: string | undefined;
251
+ }>;
252
+ text: z.ZodString;
253
+ start_time: z.ZodString;
254
+ end_time: z.ZodString;
255
+ }, "strip", z.ZodTypeAny, {
256
+ text: string;
257
+ speaker: {
258
+ source: "microphone" | "speaker";
259
+ diarization_label?: string | undefined;
260
+ };
261
+ start_time: string;
262
+ end_time: string;
263
+ }, {
264
+ text: string;
265
+ speaker: {
266
+ source: "microphone" | "speaker";
267
+ diarization_label?: string | undefined;
268
+ };
269
+ start_time: string;
270
+ end_time: string;
271
+ }>, "many">>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ object: "note";
274
+ title: string | null;
275
+ id: string;
276
+ created_at: string;
277
+ owner: {
278
+ name: string | null;
279
+ email: string;
280
+ };
281
+ attendees: {
282
+ name: string | null;
283
+ email: string;
284
+ }[];
285
+ updated_at: string;
286
+ calendar_event: {
287
+ event_title: string | null;
288
+ invitees: {
289
+ email: string;
290
+ }[];
291
+ organiser: string | null;
292
+ calendar_event_id: string | null;
293
+ scheduled_start_time: string | null;
294
+ scheduled_end_time: string | null;
295
+ } | null;
296
+ folder_membership: {
297
+ object: "folder";
298
+ name: string;
299
+ id: string;
300
+ }[];
301
+ summary_text: string;
302
+ summary_markdown: string | null;
303
+ transcript: {
304
+ text: string;
305
+ speaker: {
306
+ source: "microphone" | "speaker";
307
+ diarization_label?: string | undefined;
308
+ };
309
+ start_time: string;
310
+ end_time: string;
311
+ }[] | null;
312
+ }, {
313
+ object: "note";
314
+ title: string | null;
315
+ id: string;
316
+ created_at: string;
317
+ owner: {
318
+ name: string | null;
319
+ email: string;
320
+ };
321
+ attendees: {
322
+ name: string | null;
323
+ email: string;
324
+ }[];
325
+ updated_at: string;
326
+ calendar_event: {
327
+ event_title: string | null;
328
+ invitees: {
329
+ email: string;
330
+ }[];
331
+ organiser: string | null;
332
+ calendar_event_id: string | null;
333
+ scheduled_start_time: string | null;
334
+ scheduled_end_time: string | null;
335
+ } | null;
336
+ folder_membership: {
337
+ object: "folder";
338
+ name: string;
339
+ id: string;
340
+ }[];
341
+ summary_text: string;
342
+ summary_markdown: string | null;
343
+ transcript: {
344
+ text: string;
345
+ speaker: {
346
+ source: "microphone" | "speaker";
347
+ diarization_label?: string | undefined;
348
+ };
349
+ start_time: string;
350
+ end_time: string;
351
+ }[] | null;
352
+ }>;
353
+ export declare const GranolaParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
354
+ operation: z.ZodEffects<z.ZodLiteral<"list_notes">, "list_notes", "list_notes">;
355
+ created_before: z.ZodOptional<z.ZodString>;
356
+ created_after: z.ZodOptional<z.ZodString>;
357
+ updated_after: z.ZodOptional<z.ZodString>;
358
+ cursor: z.ZodOptional<z.ZodString>;
359
+ page_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
360
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ operation: "list_notes";
363
+ page_size: number;
364
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
365
+ cursor?: string | undefined;
366
+ created_before?: string | undefined;
367
+ created_after?: string | undefined;
368
+ updated_after?: string | undefined;
369
+ }, {
370
+ operation: "list_notes";
371
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
372
+ cursor?: string | undefined;
373
+ page_size?: number | undefined;
374
+ created_before?: string | undefined;
375
+ created_after?: string | undefined;
376
+ updated_after?: string | undefined;
377
+ }>, z.ZodObject<{
378
+ operation: z.ZodEffects<z.ZodLiteral<"get_note">, "get_note", "get_note">;
379
+ note_id: z.ZodString;
380
+ include_transcript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
381
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ operation: "get_note";
384
+ note_id: string;
385
+ include_transcript: boolean;
386
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
387
+ }, {
388
+ operation: "get_note";
389
+ note_id: string;
390
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
391
+ include_transcript?: boolean | undefined;
392
+ }>]>;
393
+ export declare const GranolaResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
394
+ operation: z.ZodLiteral<"list_notes">;
395
+ success: z.ZodBoolean;
396
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
397
+ id: z.ZodString;
398
+ object: z.ZodLiteral<"note">;
399
+ title: z.ZodNullable<z.ZodString>;
400
+ owner: z.ZodObject<{
401
+ name: z.ZodNullable<z.ZodString>;
402
+ email: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ name: string | null;
405
+ email: string;
406
+ }, {
407
+ name: string | null;
408
+ email: string;
409
+ }>;
410
+ created_at: z.ZodString;
411
+ updated_at: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ object: "note";
414
+ title: string | null;
415
+ id: string;
416
+ created_at: string;
417
+ owner: {
418
+ name: string | null;
419
+ email: string;
420
+ };
421
+ updated_at: string;
422
+ }, {
423
+ object: "note";
424
+ title: string | null;
425
+ id: string;
426
+ created_at: string;
427
+ owner: {
428
+ name: string | null;
429
+ email: string;
430
+ };
431
+ updated_at: string;
432
+ }>, "many">>;
433
+ hasMore: z.ZodOptional<z.ZodBoolean>;
434
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ error: z.ZodString;
436
+ }, "strip", z.ZodTypeAny, {
437
+ error: string;
438
+ success: boolean;
439
+ operation: "list_notes";
440
+ cursor?: string | null | undefined;
441
+ notes?: {
442
+ object: "note";
443
+ title: string | null;
444
+ id: string;
445
+ created_at: string;
446
+ owner: {
447
+ name: string | null;
448
+ email: string;
449
+ };
450
+ updated_at: string;
451
+ }[] | undefined;
452
+ hasMore?: boolean | undefined;
453
+ }, {
454
+ error: string;
455
+ success: boolean;
456
+ operation: "list_notes";
457
+ cursor?: string | null | undefined;
458
+ notes?: {
459
+ object: "note";
460
+ title: string | null;
461
+ id: string;
462
+ created_at: string;
463
+ owner: {
464
+ name: string | null;
465
+ email: string;
466
+ };
467
+ updated_at: string;
468
+ }[] | undefined;
469
+ hasMore?: boolean | undefined;
470
+ }>, z.ZodObject<{
471
+ operation: z.ZodLiteral<"get_note">;
472
+ success: z.ZodBoolean;
473
+ note: z.ZodOptional<z.ZodObject<{
474
+ id: z.ZodString;
475
+ object: z.ZodLiteral<"note">;
476
+ title: z.ZodNullable<z.ZodString>;
477
+ owner: z.ZodObject<{
478
+ name: z.ZodNullable<z.ZodString>;
479
+ email: z.ZodString;
480
+ }, "strip", z.ZodTypeAny, {
481
+ name: string | null;
482
+ email: string;
483
+ }, {
484
+ name: string | null;
485
+ email: string;
486
+ }>;
487
+ created_at: z.ZodString;
488
+ updated_at: z.ZodString;
489
+ } & {
490
+ calendar_event: z.ZodNullable<z.ZodObject<{
491
+ event_title: z.ZodNullable<z.ZodString>;
492
+ invitees: z.ZodArray<z.ZodObject<{
493
+ email: z.ZodString;
494
+ }, "strip", z.ZodTypeAny, {
495
+ email: string;
496
+ }, {
497
+ email: string;
498
+ }>, "many">;
499
+ organiser: z.ZodNullable<z.ZodString>;
500
+ calendar_event_id: z.ZodNullable<z.ZodString>;
501
+ scheduled_start_time: z.ZodNullable<z.ZodString>;
502
+ scheduled_end_time: z.ZodNullable<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ event_title: string | null;
505
+ invitees: {
506
+ email: string;
507
+ }[];
508
+ organiser: string | null;
509
+ calendar_event_id: string | null;
510
+ scheduled_start_time: string | null;
511
+ scheduled_end_time: string | null;
512
+ }, {
513
+ event_title: string | null;
514
+ invitees: {
515
+ email: string;
516
+ }[];
517
+ organiser: string | null;
518
+ calendar_event_id: string | null;
519
+ scheduled_start_time: string | null;
520
+ scheduled_end_time: string | null;
521
+ }>>;
522
+ attendees: z.ZodArray<z.ZodObject<{
523
+ name: z.ZodNullable<z.ZodString>;
524
+ email: z.ZodString;
525
+ }, "strip", z.ZodTypeAny, {
526
+ name: string | null;
527
+ email: string;
528
+ }, {
529
+ name: string | null;
530
+ email: string;
531
+ }>, "many">;
532
+ folder_membership: z.ZodArray<z.ZodObject<{
533
+ id: z.ZodString;
534
+ object: z.ZodLiteral<"folder">;
535
+ name: z.ZodString;
536
+ }, "strip", z.ZodTypeAny, {
537
+ object: "folder";
538
+ name: string;
539
+ id: string;
540
+ }, {
541
+ object: "folder";
542
+ name: string;
543
+ id: string;
544
+ }>, "many">;
545
+ summary_text: z.ZodString;
546
+ summary_markdown: z.ZodNullable<z.ZodString>;
547
+ transcript: z.ZodNullable<z.ZodArray<z.ZodObject<{
548
+ speaker: z.ZodObject<{
549
+ source: z.ZodEnum<["microphone", "speaker"]>;
550
+ diarization_label: z.ZodOptional<z.ZodString>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ source: "microphone" | "speaker";
553
+ diarization_label?: string | undefined;
554
+ }, {
555
+ source: "microphone" | "speaker";
556
+ diarization_label?: string | undefined;
557
+ }>;
558
+ text: z.ZodString;
559
+ start_time: z.ZodString;
560
+ end_time: z.ZodString;
561
+ }, "strip", z.ZodTypeAny, {
562
+ text: string;
563
+ speaker: {
564
+ source: "microphone" | "speaker";
565
+ diarization_label?: string | undefined;
566
+ };
567
+ start_time: string;
568
+ end_time: string;
569
+ }, {
570
+ text: string;
571
+ speaker: {
572
+ source: "microphone" | "speaker";
573
+ diarization_label?: string | undefined;
574
+ };
575
+ start_time: string;
576
+ end_time: string;
577
+ }>, "many">>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ object: "note";
580
+ title: string | null;
581
+ id: string;
582
+ created_at: string;
583
+ owner: {
584
+ name: string | null;
585
+ email: string;
586
+ };
587
+ attendees: {
588
+ name: string | null;
589
+ email: string;
590
+ }[];
591
+ updated_at: string;
592
+ calendar_event: {
593
+ event_title: string | null;
594
+ invitees: {
595
+ email: string;
596
+ }[];
597
+ organiser: string | null;
598
+ calendar_event_id: string | null;
599
+ scheduled_start_time: string | null;
600
+ scheduled_end_time: string | null;
601
+ } | null;
602
+ folder_membership: {
603
+ object: "folder";
604
+ name: string;
605
+ id: string;
606
+ }[];
607
+ summary_text: string;
608
+ summary_markdown: string | null;
609
+ transcript: {
610
+ text: string;
611
+ speaker: {
612
+ source: "microphone" | "speaker";
613
+ diarization_label?: string | undefined;
614
+ };
615
+ start_time: string;
616
+ end_time: string;
617
+ }[] | null;
618
+ }, {
619
+ object: "note";
620
+ title: string | null;
621
+ id: string;
622
+ created_at: string;
623
+ owner: {
624
+ name: string | null;
625
+ email: string;
626
+ };
627
+ attendees: {
628
+ name: string | null;
629
+ email: string;
630
+ }[];
631
+ updated_at: string;
632
+ calendar_event: {
633
+ event_title: string | null;
634
+ invitees: {
635
+ email: string;
636
+ }[];
637
+ organiser: string | null;
638
+ calendar_event_id: string | null;
639
+ scheduled_start_time: string | null;
640
+ scheduled_end_time: string | null;
641
+ } | null;
642
+ folder_membership: {
643
+ object: "folder";
644
+ name: string;
645
+ id: string;
646
+ }[];
647
+ summary_text: string;
648
+ summary_markdown: string | null;
649
+ transcript: {
650
+ text: string;
651
+ speaker: {
652
+ source: "microphone" | "speaker";
653
+ diarization_label?: string | undefined;
654
+ };
655
+ start_time: string;
656
+ end_time: string;
657
+ }[] | null;
658
+ }>>;
659
+ error: z.ZodString;
660
+ }, "strip", z.ZodTypeAny, {
661
+ error: string;
662
+ success: boolean;
663
+ operation: "get_note";
664
+ note?: {
665
+ object: "note";
666
+ title: string | null;
667
+ id: string;
668
+ created_at: string;
669
+ owner: {
670
+ name: string | null;
671
+ email: string;
672
+ };
673
+ attendees: {
674
+ name: string | null;
675
+ email: string;
676
+ }[];
677
+ updated_at: string;
678
+ calendar_event: {
679
+ event_title: string | null;
680
+ invitees: {
681
+ email: string;
682
+ }[];
683
+ organiser: string | null;
684
+ calendar_event_id: string | null;
685
+ scheduled_start_time: string | null;
686
+ scheduled_end_time: string | null;
687
+ } | null;
688
+ folder_membership: {
689
+ object: "folder";
690
+ name: string;
691
+ id: string;
692
+ }[];
693
+ summary_text: string;
694
+ summary_markdown: string | null;
695
+ transcript: {
696
+ text: string;
697
+ speaker: {
698
+ source: "microphone" | "speaker";
699
+ diarization_label?: string | undefined;
700
+ };
701
+ start_time: string;
702
+ end_time: string;
703
+ }[] | null;
704
+ } | undefined;
705
+ }, {
706
+ error: string;
707
+ success: boolean;
708
+ operation: "get_note";
709
+ note?: {
710
+ object: "note";
711
+ title: string | null;
712
+ id: string;
713
+ created_at: string;
714
+ owner: {
715
+ name: string | null;
716
+ email: string;
717
+ };
718
+ attendees: {
719
+ name: string | null;
720
+ email: string;
721
+ }[];
722
+ updated_at: string;
723
+ calendar_event: {
724
+ event_title: string | null;
725
+ invitees: {
726
+ email: string;
727
+ }[];
728
+ organiser: string | null;
729
+ calendar_event_id: string | null;
730
+ scheduled_start_time: string | null;
731
+ scheduled_end_time: string | null;
732
+ } | null;
733
+ folder_membership: {
734
+ object: "folder";
735
+ name: string;
736
+ id: string;
737
+ }[];
738
+ summary_text: string;
739
+ summary_markdown: string | null;
740
+ transcript: {
741
+ text: string;
742
+ speaker: {
743
+ source: "microphone" | "speaker";
744
+ diarization_label?: string | undefined;
745
+ };
746
+ start_time: string;
747
+ end_time: string;
748
+ }[] | null;
749
+ } | undefined;
750
+ }>]>;
751
+ export type GranolaParams = z.output<typeof GranolaParamsSchema>;
752
+ export type GranolaParamsInput = z.input<typeof GranolaParamsSchema>;
753
+ export type GranolaResult = z.output<typeof GranolaResultSchema>;
754
+ export type GranolaListNotesParams = Extract<GranolaParams, {
755
+ operation: 'list_notes';
756
+ }>;
757
+ export type GranolaGetNoteParams = Extract<GranolaParams, {
758
+ operation: 'get_note';
759
+ }>;
760
+ export type GranolaNoteSummary = z.output<typeof GranolaNoteSummarySchema>;
761
+ export type GranolaNote = z.output<typeof GranolaNoteSchema>;
762
+ export type GranolaUser = z.output<typeof GranolaUserSchema>;
763
+ export type GranolaCalendarEvent = z.output<typeof GranolaCalendarEventSchema>;
764
+ export type GranolaFolder = z.output<typeof GranolaFolderSchema>;
765
+ export type GranolaTranscriptEntry = z.output<typeof GranolaTranscriptEntrySchema>;
766
+ //# sourceMappingURL=granola.schema.d.ts.map