@jam-nodes/nodes 0.1.2 → 0.2.0

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 (93) hide show
  1. package/dist/ai/analyze-posts.d.ts +175 -0
  2. package/dist/ai/analyze-posts.d.ts.map +1 -0
  3. package/dist/ai/analyze-posts.js +172 -0
  4. package/dist/ai/analyze-posts.js.map +1 -0
  5. package/dist/ai/draft-emails.d.ts +45 -0
  6. package/dist/ai/draft-emails.d.ts.map +1 -0
  7. package/dist/ai/draft-emails.js +134 -0
  8. package/dist/ai/draft-emails.js.map +1 -0
  9. package/dist/ai/index.d.ts +4 -0
  10. package/dist/ai/index.d.ts.map +1 -0
  11. package/dist/ai/index.js +4 -0
  12. package/dist/ai/index.js.map +1 -0
  13. package/dist/ai/keyword-generator.d.ts +37 -0
  14. package/dist/ai/keyword-generator.d.ts.map +1 -0
  15. package/dist/ai/keyword-generator.js +124 -0
  16. package/dist/ai/keyword-generator.js.map +1 -0
  17. package/dist/index.d.ts +323 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +29 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/integrations/apollo/index.d.ts +2 -0
  22. package/dist/integrations/apollo/index.d.ts.map +1 -0
  23. package/dist/integrations/apollo/index.js +2 -0
  24. package/dist/integrations/apollo/index.js.map +1 -0
  25. package/dist/integrations/apollo/search-contacts.d.ts +158 -0
  26. package/dist/integrations/apollo/search-contacts.d.ts.map +1 -0
  27. package/dist/integrations/apollo/search-contacts.js +161 -0
  28. package/dist/integrations/apollo/search-contacts.js.map +1 -0
  29. package/dist/integrations/dataforseo/index.d.ts +3 -0
  30. package/dist/integrations/dataforseo/index.d.ts.map +1 -0
  31. package/dist/integrations/dataforseo/index.js +3 -0
  32. package/dist/integrations/dataforseo/index.js.map +1 -0
  33. package/dist/integrations/dataforseo/keyword-research.d.ts +96 -0
  34. package/dist/integrations/dataforseo/keyword-research.d.ts.map +1 -0
  35. package/dist/integrations/dataforseo/keyword-research.js +115 -0
  36. package/dist/integrations/dataforseo/keyword-research.js.map +1 -0
  37. package/dist/integrations/dataforseo/seo-audit.d.ts +257 -0
  38. package/dist/integrations/dataforseo/seo-audit.d.ts.map +1 -0
  39. package/dist/integrations/dataforseo/seo-audit.js +266 -0
  40. package/dist/integrations/dataforseo/seo-audit.js.map +1 -0
  41. package/dist/integrations/index.d.ts +5 -0
  42. package/dist/integrations/index.d.ts.map +1 -0
  43. package/dist/integrations/index.js +9 -0
  44. package/dist/integrations/index.js.map +1 -0
  45. package/dist/integrations/openai/index.d.ts +2 -0
  46. package/dist/integrations/openai/index.d.ts.map +1 -0
  47. package/dist/integrations/openai/index.js +2 -0
  48. package/dist/integrations/openai/index.js.map +1 -0
  49. package/dist/integrations/openai/sora-video.d.ts +89 -0
  50. package/dist/integrations/openai/sora-video.d.ts.map +1 -0
  51. package/dist/integrations/openai/sora-video.js +93 -0
  52. package/dist/integrations/openai/sora-video.js.map +1 -0
  53. package/dist/integrations/social/index.d.ts +4 -0
  54. package/dist/integrations/social/index.d.ts.map +1 -0
  55. package/dist/integrations/social/index.js +4 -0
  56. package/dist/integrations/social/index.js.map +1 -0
  57. package/dist/integrations/social/linkedin-monitor.d.ts +166 -0
  58. package/dist/integrations/social/linkedin-monitor.d.ts.map +1 -0
  59. package/dist/integrations/social/linkedin-monitor.js +167 -0
  60. package/dist/integrations/social/linkedin-monitor.js.map +1 -0
  61. package/dist/integrations/social/reddit-monitor.d.ts +177 -0
  62. package/dist/integrations/social/reddit-monitor.d.ts.map +1 -0
  63. package/dist/integrations/social/reddit-monitor.js +162 -0
  64. package/dist/integrations/social/reddit-monitor.js.map +1 -0
  65. package/dist/integrations/social/twitter-monitor.d.ts +186 -0
  66. package/dist/integrations/social/twitter-monitor.d.ts.map +1 -0
  67. package/dist/integrations/social/twitter-monitor.js +174 -0
  68. package/dist/integrations/social/twitter-monitor.js.map +1 -0
  69. package/dist/prompts/analyze-posts.d.ts +31 -0
  70. package/dist/prompts/analyze-posts.d.ts.map +1 -0
  71. package/dist/prompts/analyze-posts.js +87 -0
  72. package/dist/prompts/analyze-posts.js.map +1 -0
  73. package/dist/prompts/draft-emails.d.ts +19 -0
  74. package/dist/prompts/draft-emails.d.ts.map +1 -0
  75. package/dist/prompts/draft-emails.js +117 -0
  76. package/dist/prompts/draft-emails.js.map +1 -0
  77. package/dist/prompts/index.d.ts +4 -0
  78. package/dist/prompts/index.d.ts.map +1 -0
  79. package/dist/prompts/index.js +7 -0
  80. package/dist/prompts/index.js.map +1 -0
  81. package/dist/prompts/keyword-generator.d.ts +17 -0
  82. package/dist/prompts/keyword-generator.d.ts.map +1 -0
  83. package/dist/prompts/keyword-generator.js +61 -0
  84. package/dist/prompts/keyword-generator.js.map +1 -0
  85. package/dist/schemas/ai.d.ts +1212 -0
  86. package/dist/schemas/ai.d.ts.map +1 -0
  87. package/dist/schemas/ai.js +119 -0
  88. package/dist/schemas/ai.js.map +1 -0
  89. package/dist/schemas/index.d.ts +2 -0
  90. package/dist/schemas/index.d.ts.map +1 -0
  91. package/dist/schemas/index.js +9 -0
  92. package/dist/schemas/index.js.map +1 -0
  93. package/package.json +14 -6
@@ -0,0 +1,1212 @@
1
+ import { z } from 'zod';
2
+ export declare const SocialKeywordGeneratorInputSchema: z.ZodObject<{
3
+ /** Natural language description of the topic to monitor */
4
+ topic: z.ZodString;
5
+ /** Optional user-specified keywords to include */
6
+ userKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ topic: string;
9
+ userKeywords?: string[] | undefined;
10
+ }, {
11
+ topic: string;
12
+ userKeywords?: string[] | undefined;
13
+ }>;
14
+ export type SocialKeywordGeneratorInput = z.infer<typeof SocialKeywordGeneratorInputSchema>;
15
+ export declare const SocialKeywordGeneratorOutputSchema: z.ZodObject<{
16
+ topic: z.ZodString;
17
+ twitter: z.ZodObject<{
18
+ keywords: z.ZodArray<z.ZodString, "many">;
19
+ searchQuery: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ keywords: string[];
22
+ searchQuery: string;
23
+ }, {
24
+ keywords: string[];
25
+ searchQuery: string;
26
+ }>;
27
+ reddit: z.ZodObject<{
28
+ keywords: z.ZodArray<z.ZodString, "many">;
29
+ }, "strip", z.ZodTypeAny, {
30
+ keywords: string[];
31
+ }, {
32
+ keywords: string[];
33
+ }>;
34
+ linkedin: z.ZodObject<{
35
+ keywords: z.ZodArray<z.ZodString, "many">;
36
+ searchQueries: z.ZodArray<z.ZodString, "many">;
37
+ }, "strip", z.ZodTypeAny, {
38
+ keywords: string[];
39
+ searchQueries: string[];
40
+ }, {
41
+ keywords: string[];
42
+ searchQueries: string[];
43
+ }>;
44
+ allKeywords: z.ZodArray<z.ZodString, "many">;
45
+ }, "strip", z.ZodTypeAny, {
46
+ reddit: {
47
+ keywords: string[];
48
+ };
49
+ twitter: {
50
+ keywords: string[];
51
+ searchQuery: string;
52
+ };
53
+ linkedin: {
54
+ keywords: string[];
55
+ searchQueries: string[];
56
+ };
57
+ topic: string;
58
+ allKeywords: string[];
59
+ }, {
60
+ reddit: {
61
+ keywords: string[];
62
+ };
63
+ twitter: {
64
+ keywords: string[];
65
+ searchQuery: string;
66
+ };
67
+ linkedin: {
68
+ keywords: string[];
69
+ searchQueries: string[];
70
+ };
71
+ topic: string;
72
+ allKeywords: string[];
73
+ }>;
74
+ export type SocialKeywordGeneratorOutput = z.infer<typeof SocialKeywordGeneratorOutputSchema>;
75
+ export declare const ContactSchema: z.ZodObject<{
76
+ id: z.ZodString;
77
+ name: z.ZodString;
78
+ email: z.ZodString;
79
+ title: z.ZodString;
80
+ company: z.ZodString;
81
+ }, "strip", z.ZodTypeAny, {
82
+ id: string;
83
+ title: string;
84
+ company: string;
85
+ name: string;
86
+ email: string;
87
+ }, {
88
+ id: string;
89
+ title: string;
90
+ company: string;
91
+ name: string;
92
+ email: string;
93
+ }>;
94
+ export type Contact = z.infer<typeof ContactSchema>;
95
+ export declare const DraftEmailsInputSchema: z.ZodObject<{
96
+ /** List of contacts to draft emails for */
97
+ contacts: z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ name: z.ZodString;
100
+ email: z.ZodString;
101
+ title: z.ZodString;
102
+ company: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ id: string;
105
+ title: string;
106
+ company: string;
107
+ name: string;
108
+ email: string;
109
+ }, {
110
+ id: string;
111
+ title: string;
112
+ company: string;
113
+ name: string;
114
+ email: string;
115
+ }>, "many">;
116
+ /** Description of the product/service being offered */
117
+ productDescription: z.ZodString;
118
+ /** Optional email template to use */
119
+ emailTemplate: z.ZodOptional<z.ZodString>;
120
+ /** Optional subject line (if not provided, AI generates one) */
121
+ subject: z.ZodOptional<z.ZodString>;
122
+ /** Approval configuration */
123
+ approval: z.ZodOptional<z.ZodObject<{
124
+ required: z.ZodBoolean;
125
+ message: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ required: boolean;
128
+ message?: string | undefined;
129
+ }, {
130
+ required: boolean;
131
+ message?: string | undefined;
132
+ }>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ contacts: {
135
+ id: string;
136
+ title: string;
137
+ company: string;
138
+ name: string;
139
+ email: string;
140
+ }[];
141
+ productDescription: string;
142
+ emailTemplate?: string | undefined;
143
+ subject?: string | undefined;
144
+ approval?: {
145
+ required: boolean;
146
+ message?: string | undefined;
147
+ } | undefined;
148
+ }, {
149
+ contacts: {
150
+ id: string;
151
+ title: string;
152
+ company: string;
153
+ name: string;
154
+ email: string;
155
+ }[];
156
+ productDescription: string;
157
+ emailTemplate?: string | undefined;
158
+ subject?: string | undefined;
159
+ approval?: {
160
+ required: boolean;
161
+ message?: string | undefined;
162
+ } | undefined;
163
+ }>;
164
+ export type DraftEmailsInput = z.infer<typeof DraftEmailsInputSchema>;
165
+ export declare const DraftEmailInfoSchema: z.ZodObject<{
166
+ id: z.ZodString;
167
+ toEmail: z.ZodString;
168
+ toName: z.ZodString;
169
+ toCompany: z.ZodString;
170
+ toTitle: z.ZodString;
171
+ subject: z.ZodString;
172
+ body: z.ZodString;
173
+ status: z.ZodString;
174
+ }, "strip", z.ZodTypeAny, {
175
+ status: string;
176
+ body: string;
177
+ id: string;
178
+ subject: string;
179
+ toEmail: string;
180
+ toName: string;
181
+ toCompany: string;
182
+ toTitle: string;
183
+ }, {
184
+ status: string;
185
+ body: string;
186
+ id: string;
187
+ subject: string;
188
+ toEmail: string;
189
+ toName: string;
190
+ toCompany: string;
191
+ toTitle: string;
192
+ }>;
193
+ export type DraftEmailInfo = z.infer<typeof DraftEmailInfoSchema>;
194
+ export declare const DraftEmailsOutputSchema: z.ZodObject<{
195
+ emails: z.ZodArray<z.ZodObject<{
196
+ id: z.ZodString;
197
+ toEmail: z.ZodString;
198
+ toName: z.ZodString;
199
+ toCompany: z.ZodString;
200
+ toTitle: z.ZodString;
201
+ subject: z.ZodString;
202
+ body: z.ZodString;
203
+ status: z.ZodString;
204
+ }, "strip", z.ZodTypeAny, {
205
+ status: string;
206
+ body: string;
207
+ id: string;
208
+ subject: string;
209
+ toEmail: string;
210
+ toName: string;
211
+ toCompany: string;
212
+ toTitle: string;
213
+ }, {
214
+ status: string;
215
+ body: string;
216
+ id: string;
217
+ subject: string;
218
+ toEmail: string;
219
+ toName: string;
220
+ toCompany: string;
221
+ toTitle: string;
222
+ }>, "many">;
223
+ draftedCount: z.ZodNumber;
224
+ }, "strip", z.ZodTypeAny, {
225
+ emails: {
226
+ status: string;
227
+ body: string;
228
+ id: string;
229
+ subject: string;
230
+ toEmail: string;
231
+ toName: string;
232
+ toCompany: string;
233
+ toTitle: string;
234
+ }[];
235
+ draftedCount: number;
236
+ }, {
237
+ emails: {
238
+ status: string;
239
+ body: string;
240
+ id: string;
241
+ subject: string;
242
+ toEmail: string;
243
+ toName: string;
244
+ toCompany: string;
245
+ toTitle: string;
246
+ }[];
247
+ draftedCount: number;
248
+ }>;
249
+ export type DraftEmailsOutput = z.infer<typeof DraftEmailsOutputSchema>;
250
+ export declare const SocialPostSchema: z.ZodObject<{
251
+ id: z.ZodString;
252
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
253
+ url: z.ZodString;
254
+ text: z.ZodString;
255
+ title: z.ZodOptional<z.ZodString>;
256
+ authorName: z.ZodString;
257
+ authorHandle: z.ZodString;
258
+ authorUrl: z.ZodString;
259
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
260
+ engagement: z.ZodObject<{
261
+ likes: z.ZodNumber;
262
+ comments: z.ZodNumber;
263
+ shares: z.ZodNumber;
264
+ views: z.ZodOptional<z.ZodNumber>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ comments: number;
267
+ likes: number;
268
+ shares: number;
269
+ views?: number | undefined;
270
+ }, {
271
+ comments: number;
272
+ likes: number;
273
+ shares: number;
274
+ views?: number | undefined;
275
+ }>;
276
+ postedAt: z.ZodString;
277
+ }, "strip", z.ZodTypeAny, {
278
+ url: string;
279
+ id: string;
280
+ platform: "reddit" | "twitter" | "linkedin";
281
+ text: string;
282
+ authorName: string;
283
+ authorHandle: string;
284
+ authorUrl: string;
285
+ engagement: {
286
+ comments: number;
287
+ likes: number;
288
+ shares: number;
289
+ views?: number | undefined;
290
+ };
291
+ postedAt: string;
292
+ title?: string | undefined;
293
+ authorFollowers?: number | undefined;
294
+ }, {
295
+ url: string;
296
+ id: string;
297
+ platform: "reddit" | "twitter" | "linkedin";
298
+ text: string;
299
+ authorName: string;
300
+ authorHandle: string;
301
+ authorUrl: string;
302
+ engagement: {
303
+ comments: number;
304
+ likes: number;
305
+ shares: number;
306
+ views?: number | undefined;
307
+ };
308
+ postedAt: string;
309
+ title?: string | undefined;
310
+ authorFollowers?: number | undefined;
311
+ }>;
312
+ export type SocialPost = z.infer<typeof SocialPostSchema>;
313
+ export declare const SocialAiAnalyzeInputSchema: z.ZodObject<{
314
+ /** Posts from Twitter monitor */
315
+ twitterPosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
316
+ id: z.ZodString;
317
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
318
+ url: z.ZodString;
319
+ text: z.ZodString;
320
+ title: z.ZodOptional<z.ZodString>;
321
+ authorName: z.ZodString;
322
+ authorHandle: z.ZodString;
323
+ authorUrl: z.ZodString;
324
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
325
+ engagement: z.ZodObject<{
326
+ likes: z.ZodNumber;
327
+ comments: z.ZodNumber;
328
+ shares: z.ZodNumber;
329
+ views: z.ZodOptional<z.ZodNumber>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ comments: number;
332
+ likes: number;
333
+ shares: number;
334
+ views?: number | undefined;
335
+ }, {
336
+ comments: number;
337
+ likes: number;
338
+ shares: number;
339
+ views?: number | undefined;
340
+ }>;
341
+ postedAt: z.ZodString;
342
+ }, "strip", z.ZodTypeAny, {
343
+ url: string;
344
+ id: string;
345
+ platform: "reddit" | "twitter" | "linkedin";
346
+ text: string;
347
+ authorName: string;
348
+ authorHandle: string;
349
+ authorUrl: string;
350
+ engagement: {
351
+ comments: number;
352
+ likes: number;
353
+ shares: number;
354
+ views?: number | undefined;
355
+ };
356
+ postedAt: string;
357
+ title?: string | undefined;
358
+ authorFollowers?: number | undefined;
359
+ }, {
360
+ url: string;
361
+ id: string;
362
+ platform: "reddit" | "twitter" | "linkedin";
363
+ text: string;
364
+ authorName: string;
365
+ authorHandle: string;
366
+ authorUrl: string;
367
+ engagement: {
368
+ comments: number;
369
+ likes: number;
370
+ shares: number;
371
+ views?: number | undefined;
372
+ };
373
+ postedAt: string;
374
+ title?: string | undefined;
375
+ authorFollowers?: number | undefined;
376
+ }>, "many">>;
377
+ /** Posts from Reddit monitor */
378
+ redditPosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
379
+ id: z.ZodString;
380
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
381
+ url: z.ZodString;
382
+ text: z.ZodString;
383
+ title: z.ZodOptional<z.ZodString>;
384
+ authorName: z.ZodString;
385
+ authorHandle: z.ZodString;
386
+ authorUrl: z.ZodString;
387
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
388
+ engagement: z.ZodObject<{
389
+ likes: z.ZodNumber;
390
+ comments: z.ZodNumber;
391
+ shares: z.ZodNumber;
392
+ views: z.ZodOptional<z.ZodNumber>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ comments: number;
395
+ likes: number;
396
+ shares: number;
397
+ views?: number | undefined;
398
+ }, {
399
+ comments: number;
400
+ likes: number;
401
+ shares: number;
402
+ views?: number | undefined;
403
+ }>;
404
+ postedAt: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ url: string;
407
+ id: string;
408
+ platform: "reddit" | "twitter" | "linkedin";
409
+ text: string;
410
+ authorName: string;
411
+ authorHandle: string;
412
+ authorUrl: string;
413
+ engagement: {
414
+ comments: number;
415
+ likes: number;
416
+ shares: number;
417
+ views?: number | undefined;
418
+ };
419
+ postedAt: string;
420
+ title?: string | undefined;
421
+ authorFollowers?: number | undefined;
422
+ }, {
423
+ url: string;
424
+ id: string;
425
+ platform: "reddit" | "twitter" | "linkedin";
426
+ text: string;
427
+ authorName: string;
428
+ authorHandle: string;
429
+ authorUrl: string;
430
+ engagement: {
431
+ comments: number;
432
+ likes: number;
433
+ shares: number;
434
+ views?: number | undefined;
435
+ };
436
+ postedAt: string;
437
+ title?: string | undefined;
438
+ authorFollowers?: number | undefined;
439
+ }>, "many">>;
440
+ /** Posts from LinkedIn monitor */
441
+ linkedinPosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ id: z.ZodString;
443
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
444
+ url: z.ZodString;
445
+ text: z.ZodString;
446
+ title: z.ZodOptional<z.ZodString>;
447
+ authorName: z.ZodString;
448
+ authorHandle: z.ZodString;
449
+ authorUrl: z.ZodString;
450
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
451
+ engagement: z.ZodObject<{
452
+ likes: z.ZodNumber;
453
+ comments: z.ZodNumber;
454
+ shares: z.ZodNumber;
455
+ views: z.ZodOptional<z.ZodNumber>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ comments: number;
458
+ likes: number;
459
+ shares: number;
460
+ views?: number | undefined;
461
+ }, {
462
+ comments: number;
463
+ likes: number;
464
+ shares: number;
465
+ views?: number | undefined;
466
+ }>;
467
+ postedAt: z.ZodString;
468
+ }, "strip", z.ZodTypeAny, {
469
+ url: string;
470
+ id: string;
471
+ platform: "reddit" | "twitter" | "linkedin";
472
+ text: string;
473
+ authorName: string;
474
+ authorHandle: string;
475
+ authorUrl: string;
476
+ engagement: {
477
+ comments: number;
478
+ likes: number;
479
+ shares: number;
480
+ views?: number | undefined;
481
+ };
482
+ postedAt: string;
483
+ title?: string | undefined;
484
+ authorFollowers?: number | undefined;
485
+ }, {
486
+ url: string;
487
+ id: string;
488
+ platform: "reddit" | "twitter" | "linkedin";
489
+ text: string;
490
+ authorName: string;
491
+ authorHandle: string;
492
+ authorUrl: string;
493
+ engagement: {
494
+ comments: number;
495
+ likes: number;
496
+ shares: number;
497
+ views?: number | undefined;
498
+ };
499
+ postedAt: string;
500
+ title?: string | undefined;
501
+ authorFollowers?: number | undefined;
502
+ }>, "many">>;
503
+ /** Legacy field for backwards compatibility */
504
+ posts: z.ZodOptional<z.ZodArray<z.ZodObject<{
505
+ id: z.ZodString;
506
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
507
+ url: z.ZodString;
508
+ text: z.ZodString;
509
+ title: z.ZodOptional<z.ZodString>;
510
+ authorName: z.ZodString;
511
+ authorHandle: z.ZodString;
512
+ authorUrl: z.ZodString;
513
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
514
+ engagement: z.ZodObject<{
515
+ likes: z.ZodNumber;
516
+ comments: z.ZodNumber;
517
+ shares: z.ZodNumber;
518
+ views: z.ZodOptional<z.ZodNumber>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ comments: number;
521
+ likes: number;
522
+ shares: number;
523
+ views?: number | undefined;
524
+ }, {
525
+ comments: number;
526
+ likes: number;
527
+ shares: number;
528
+ views?: number | undefined;
529
+ }>;
530
+ postedAt: z.ZodString;
531
+ }, "strip", z.ZodTypeAny, {
532
+ url: string;
533
+ id: string;
534
+ platform: "reddit" | "twitter" | "linkedin";
535
+ text: string;
536
+ authorName: string;
537
+ authorHandle: string;
538
+ authorUrl: string;
539
+ engagement: {
540
+ comments: number;
541
+ likes: number;
542
+ shares: number;
543
+ views?: number | undefined;
544
+ };
545
+ postedAt: string;
546
+ title?: string | undefined;
547
+ authorFollowers?: number | undefined;
548
+ }, {
549
+ url: string;
550
+ id: string;
551
+ platform: "reddit" | "twitter" | "linkedin";
552
+ text: string;
553
+ authorName: string;
554
+ authorHandle: string;
555
+ authorUrl: string;
556
+ engagement: {
557
+ comments: number;
558
+ likes: number;
559
+ shares: number;
560
+ views?: number | undefined;
561
+ };
562
+ postedAt: string;
563
+ title?: string | undefined;
564
+ authorFollowers?: number | undefined;
565
+ }>, "many">>;
566
+ /** Original topic for context */
567
+ topic: z.ZodString;
568
+ /** What the user is looking for */
569
+ userIntent: z.ZodString;
570
+ /** Optional monitoring config ID for storage */
571
+ monitoringConfigId: z.ZodOptional<z.ZodString>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ topic: string;
574
+ userIntent: string;
575
+ posts?: {
576
+ url: string;
577
+ id: string;
578
+ platform: "reddit" | "twitter" | "linkedin";
579
+ text: string;
580
+ authorName: string;
581
+ authorHandle: string;
582
+ authorUrl: string;
583
+ engagement: {
584
+ comments: number;
585
+ likes: number;
586
+ shares: number;
587
+ views?: number | undefined;
588
+ };
589
+ postedAt: string;
590
+ title?: string | undefined;
591
+ authorFollowers?: number | undefined;
592
+ }[] | undefined;
593
+ twitterPosts?: {
594
+ url: string;
595
+ id: string;
596
+ platform: "reddit" | "twitter" | "linkedin";
597
+ text: string;
598
+ authorName: string;
599
+ authorHandle: string;
600
+ authorUrl: string;
601
+ engagement: {
602
+ comments: number;
603
+ likes: number;
604
+ shares: number;
605
+ views?: number | undefined;
606
+ };
607
+ postedAt: string;
608
+ title?: string | undefined;
609
+ authorFollowers?: number | undefined;
610
+ }[] | undefined;
611
+ redditPosts?: {
612
+ url: string;
613
+ id: string;
614
+ platform: "reddit" | "twitter" | "linkedin";
615
+ text: string;
616
+ authorName: string;
617
+ authorHandle: string;
618
+ authorUrl: string;
619
+ engagement: {
620
+ comments: number;
621
+ likes: number;
622
+ shares: number;
623
+ views?: number | undefined;
624
+ };
625
+ postedAt: string;
626
+ title?: string | undefined;
627
+ authorFollowers?: number | undefined;
628
+ }[] | undefined;
629
+ linkedinPosts?: {
630
+ url: string;
631
+ id: string;
632
+ platform: "reddit" | "twitter" | "linkedin";
633
+ text: string;
634
+ authorName: string;
635
+ authorHandle: string;
636
+ authorUrl: string;
637
+ engagement: {
638
+ comments: number;
639
+ likes: number;
640
+ shares: number;
641
+ views?: number | undefined;
642
+ };
643
+ postedAt: string;
644
+ title?: string | undefined;
645
+ authorFollowers?: number | undefined;
646
+ }[] | undefined;
647
+ monitoringConfigId?: string | undefined;
648
+ }, {
649
+ topic: string;
650
+ userIntent: string;
651
+ posts?: {
652
+ url: string;
653
+ id: string;
654
+ platform: "reddit" | "twitter" | "linkedin";
655
+ text: string;
656
+ authorName: string;
657
+ authorHandle: string;
658
+ authorUrl: string;
659
+ engagement: {
660
+ comments: number;
661
+ likes: number;
662
+ shares: number;
663
+ views?: number | undefined;
664
+ };
665
+ postedAt: string;
666
+ title?: string | undefined;
667
+ authorFollowers?: number | undefined;
668
+ }[] | undefined;
669
+ twitterPosts?: {
670
+ url: string;
671
+ id: string;
672
+ platform: "reddit" | "twitter" | "linkedin";
673
+ text: string;
674
+ authorName: string;
675
+ authorHandle: string;
676
+ authorUrl: string;
677
+ engagement: {
678
+ comments: number;
679
+ likes: number;
680
+ shares: number;
681
+ views?: number | undefined;
682
+ };
683
+ postedAt: string;
684
+ title?: string | undefined;
685
+ authorFollowers?: number | undefined;
686
+ }[] | undefined;
687
+ redditPosts?: {
688
+ url: string;
689
+ id: string;
690
+ platform: "reddit" | "twitter" | "linkedin";
691
+ text: string;
692
+ authorName: string;
693
+ authorHandle: string;
694
+ authorUrl: string;
695
+ engagement: {
696
+ comments: number;
697
+ likes: number;
698
+ shares: number;
699
+ views?: number | undefined;
700
+ };
701
+ postedAt: string;
702
+ title?: string | undefined;
703
+ authorFollowers?: number | undefined;
704
+ }[] | undefined;
705
+ linkedinPosts?: {
706
+ url: string;
707
+ id: string;
708
+ platform: "reddit" | "twitter" | "linkedin";
709
+ text: string;
710
+ authorName: string;
711
+ authorHandle: string;
712
+ authorUrl: string;
713
+ engagement: {
714
+ comments: number;
715
+ likes: number;
716
+ shares: number;
717
+ views?: number | undefined;
718
+ };
719
+ postedAt: string;
720
+ title?: string | undefined;
721
+ authorFollowers?: number | undefined;
722
+ }[] | undefined;
723
+ monitoringConfigId?: string | undefined;
724
+ }>;
725
+ export type SocialAiAnalyzeInput = z.infer<typeof SocialAiAnalyzeInputSchema>;
726
+ export declare const AnalyzedPostSchema: z.ZodObject<{
727
+ id: z.ZodString;
728
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
729
+ url: z.ZodString;
730
+ text: z.ZodString;
731
+ title: z.ZodOptional<z.ZodString>;
732
+ authorName: z.ZodString;
733
+ authorHandle: z.ZodString;
734
+ authorUrl: z.ZodString;
735
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
736
+ engagement: z.ZodObject<{
737
+ likes: z.ZodNumber;
738
+ comments: z.ZodNumber;
739
+ shares: z.ZodNumber;
740
+ views: z.ZodOptional<z.ZodNumber>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ comments: number;
743
+ likes: number;
744
+ shares: number;
745
+ views?: number | undefined;
746
+ }, {
747
+ comments: number;
748
+ likes: number;
749
+ shares: number;
750
+ views?: number | undefined;
751
+ }>;
752
+ postedAt: z.ZodString;
753
+ } & {
754
+ relevanceScore: z.ZodNumber;
755
+ sentiment: z.ZodEnum<["positive", "negative", "neutral"]>;
756
+ isComplaint: z.ZodBoolean;
757
+ urgencyLevel: z.ZodEnum<["low", "medium", "high"]>;
758
+ aiSummary: z.ZodString;
759
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
760
+ }, "strip", z.ZodTypeAny, {
761
+ url: string;
762
+ id: string;
763
+ platform: "reddit" | "twitter" | "linkedin";
764
+ text: string;
765
+ authorName: string;
766
+ authorHandle: string;
767
+ authorUrl: string;
768
+ engagement: {
769
+ comments: number;
770
+ likes: number;
771
+ shares: number;
772
+ views?: number | undefined;
773
+ };
774
+ postedAt: string;
775
+ relevanceScore: number;
776
+ sentiment: "positive" | "negative" | "neutral";
777
+ isComplaint: boolean;
778
+ urgencyLevel: "low" | "medium" | "high";
779
+ aiSummary: string;
780
+ matchedKeywords: string[];
781
+ title?: string | undefined;
782
+ authorFollowers?: number | undefined;
783
+ }, {
784
+ url: string;
785
+ id: string;
786
+ platform: "reddit" | "twitter" | "linkedin";
787
+ text: string;
788
+ authorName: string;
789
+ authorHandle: string;
790
+ authorUrl: string;
791
+ engagement: {
792
+ comments: number;
793
+ likes: number;
794
+ shares: number;
795
+ views?: number | undefined;
796
+ };
797
+ postedAt: string;
798
+ relevanceScore: number;
799
+ sentiment: "positive" | "negative" | "neutral";
800
+ isComplaint: boolean;
801
+ urgencyLevel: "low" | "medium" | "high";
802
+ aiSummary: string;
803
+ matchedKeywords: string[];
804
+ title?: string | undefined;
805
+ authorFollowers?: number | undefined;
806
+ }>;
807
+ export type AnalyzedPost = z.infer<typeof AnalyzedPostSchema>;
808
+ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
809
+ analyzedPosts: z.ZodArray<z.ZodObject<{
810
+ id: z.ZodString;
811
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
812
+ url: z.ZodString;
813
+ text: z.ZodString;
814
+ title: z.ZodOptional<z.ZodString>;
815
+ authorName: z.ZodString;
816
+ authorHandle: z.ZodString;
817
+ authorUrl: z.ZodString;
818
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
819
+ engagement: z.ZodObject<{
820
+ likes: z.ZodNumber;
821
+ comments: z.ZodNumber;
822
+ shares: z.ZodNumber;
823
+ views: z.ZodOptional<z.ZodNumber>;
824
+ }, "strip", z.ZodTypeAny, {
825
+ comments: number;
826
+ likes: number;
827
+ shares: number;
828
+ views?: number | undefined;
829
+ }, {
830
+ comments: number;
831
+ likes: number;
832
+ shares: number;
833
+ views?: number | undefined;
834
+ }>;
835
+ postedAt: z.ZodString;
836
+ } & {
837
+ relevanceScore: z.ZodNumber;
838
+ sentiment: z.ZodEnum<["positive", "negative", "neutral"]>;
839
+ isComplaint: z.ZodBoolean;
840
+ urgencyLevel: z.ZodEnum<["low", "medium", "high"]>;
841
+ aiSummary: z.ZodString;
842
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
843
+ }, "strip", z.ZodTypeAny, {
844
+ url: string;
845
+ id: string;
846
+ platform: "reddit" | "twitter" | "linkedin";
847
+ text: string;
848
+ authorName: string;
849
+ authorHandle: string;
850
+ authorUrl: string;
851
+ engagement: {
852
+ comments: number;
853
+ likes: number;
854
+ shares: number;
855
+ views?: number | undefined;
856
+ };
857
+ postedAt: string;
858
+ relevanceScore: number;
859
+ sentiment: "positive" | "negative" | "neutral";
860
+ isComplaint: boolean;
861
+ urgencyLevel: "low" | "medium" | "high";
862
+ aiSummary: string;
863
+ matchedKeywords: string[];
864
+ title?: string | undefined;
865
+ authorFollowers?: number | undefined;
866
+ }, {
867
+ url: string;
868
+ id: string;
869
+ platform: "reddit" | "twitter" | "linkedin";
870
+ text: string;
871
+ authorName: string;
872
+ authorHandle: string;
873
+ authorUrl: string;
874
+ engagement: {
875
+ comments: number;
876
+ likes: number;
877
+ shares: number;
878
+ views?: number | undefined;
879
+ };
880
+ postedAt: string;
881
+ relevanceScore: number;
882
+ sentiment: "positive" | "negative" | "neutral";
883
+ isComplaint: boolean;
884
+ urgencyLevel: "low" | "medium" | "high";
885
+ aiSummary: string;
886
+ matchedKeywords: string[];
887
+ title?: string | undefined;
888
+ authorFollowers?: number | undefined;
889
+ }>, "many">;
890
+ highPriorityPosts: z.ZodArray<z.ZodObject<{
891
+ id: z.ZodString;
892
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
893
+ url: z.ZodString;
894
+ text: z.ZodString;
895
+ title: z.ZodOptional<z.ZodString>;
896
+ authorName: z.ZodString;
897
+ authorHandle: z.ZodString;
898
+ authorUrl: z.ZodString;
899
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
900
+ engagement: z.ZodObject<{
901
+ likes: z.ZodNumber;
902
+ comments: z.ZodNumber;
903
+ shares: z.ZodNumber;
904
+ views: z.ZodOptional<z.ZodNumber>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ comments: number;
907
+ likes: number;
908
+ shares: number;
909
+ views?: number | undefined;
910
+ }, {
911
+ comments: number;
912
+ likes: number;
913
+ shares: number;
914
+ views?: number | undefined;
915
+ }>;
916
+ postedAt: z.ZodString;
917
+ } & {
918
+ relevanceScore: z.ZodNumber;
919
+ sentiment: z.ZodEnum<["positive", "negative", "neutral"]>;
920
+ isComplaint: z.ZodBoolean;
921
+ urgencyLevel: z.ZodEnum<["low", "medium", "high"]>;
922
+ aiSummary: z.ZodString;
923
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
924
+ }, "strip", z.ZodTypeAny, {
925
+ url: string;
926
+ id: string;
927
+ platform: "reddit" | "twitter" | "linkedin";
928
+ text: string;
929
+ authorName: string;
930
+ authorHandle: string;
931
+ authorUrl: string;
932
+ engagement: {
933
+ comments: number;
934
+ likes: number;
935
+ shares: number;
936
+ views?: number | undefined;
937
+ };
938
+ postedAt: string;
939
+ relevanceScore: number;
940
+ sentiment: "positive" | "negative" | "neutral";
941
+ isComplaint: boolean;
942
+ urgencyLevel: "low" | "medium" | "high";
943
+ aiSummary: string;
944
+ matchedKeywords: string[];
945
+ title?: string | undefined;
946
+ authorFollowers?: number | undefined;
947
+ }, {
948
+ url: string;
949
+ id: string;
950
+ platform: "reddit" | "twitter" | "linkedin";
951
+ text: string;
952
+ authorName: string;
953
+ authorHandle: string;
954
+ authorUrl: string;
955
+ engagement: {
956
+ comments: number;
957
+ likes: number;
958
+ shares: number;
959
+ views?: number | undefined;
960
+ };
961
+ postedAt: string;
962
+ relevanceScore: number;
963
+ sentiment: "positive" | "negative" | "neutral";
964
+ isComplaint: boolean;
965
+ urgencyLevel: "low" | "medium" | "high";
966
+ aiSummary: string;
967
+ matchedKeywords: string[];
968
+ title?: string | undefined;
969
+ authorFollowers?: number | undefined;
970
+ }>, "many">;
971
+ complaints: z.ZodArray<z.ZodObject<{
972
+ id: z.ZodString;
973
+ platform: z.ZodEnum<["twitter", "reddit", "linkedin"]>;
974
+ url: z.ZodString;
975
+ text: z.ZodString;
976
+ title: z.ZodOptional<z.ZodString>;
977
+ authorName: z.ZodString;
978
+ authorHandle: z.ZodString;
979
+ authorUrl: z.ZodString;
980
+ authorFollowers: z.ZodOptional<z.ZodNumber>;
981
+ engagement: z.ZodObject<{
982
+ likes: z.ZodNumber;
983
+ comments: z.ZodNumber;
984
+ shares: z.ZodNumber;
985
+ views: z.ZodOptional<z.ZodNumber>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ comments: number;
988
+ likes: number;
989
+ shares: number;
990
+ views?: number | undefined;
991
+ }, {
992
+ comments: number;
993
+ likes: number;
994
+ shares: number;
995
+ views?: number | undefined;
996
+ }>;
997
+ postedAt: z.ZodString;
998
+ } & {
999
+ relevanceScore: z.ZodNumber;
1000
+ sentiment: z.ZodEnum<["positive", "negative", "neutral"]>;
1001
+ isComplaint: z.ZodBoolean;
1002
+ urgencyLevel: z.ZodEnum<["low", "medium", "high"]>;
1003
+ aiSummary: z.ZodString;
1004
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ url: string;
1007
+ id: string;
1008
+ platform: "reddit" | "twitter" | "linkedin";
1009
+ text: string;
1010
+ authorName: string;
1011
+ authorHandle: string;
1012
+ authorUrl: string;
1013
+ engagement: {
1014
+ comments: number;
1015
+ likes: number;
1016
+ shares: number;
1017
+ views?: number | undefined;
1018
+ };
1019
+ postedAt: string;
1020
+ relevanceScore: number;
1021
+ sentiment: "positive" | "negative" | "neutral";
1022
+ isComplaint: boolean;
1023
+ urgencyLevel: "low" | "medium" | "high";
1024
+ aiSummary: string;
1025
+ matchedKeywords: string[];
1026
+ title?: string | undefined;
1027
+ authorFollowers?: number | undefined;
1028
+ }, {
1029
+ url: string;
1030
+ id: string;
1031
+ platform: "reddit" | "twitter" | "linkedin";
1032
+ text: string;
1033
+ authorName: string;
1034
+ authorHandle: string;
1035
+ authorUrl: string;
1036
+ engagement: {
1037
+ comments: number;
1038
+ likes: number;
1039
+ shares: number;
1040
+ views?: number | undefined;
1041
+ };
1042
+ postedAt: string;
1043
+ relevanceScore: number;
1044
+ sentiment: "positive" | "negative" | "neutral";
1045
+ isComplaint: boolean;
1046
+ urgencyLevel: "low" | "medium" | "high";
1047
+ aiSummary: string;
1048
+ matchedKeywords: string[];
1049
+ title?: string | undefined;
1050
+ authorFollowers?: number | undefined;
1051
+ }>, "many">;
1052
+ totalAnalyzed: z.ZodNumber;
1053
+ highPriorityCount: z.ZodNumber;
1054
+ complaintCount: z.ZodNumber;
1055
+ averageRelevance: z.ZodNumber;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ analyzedPosts: {
1058
+ url: string;
1059
+ id: string;
1060
+ platform: "reddit" | "twitter" | "linkedin";
1061
+ text: string;
1062
+ authorName: string;
1063
+ authorHandle: string;
1064
+ authorUrl: string;
1065
+ engagement: {
1066
+ comments: number;
1067
+ likes: number;
1068
+ shares: number;
1069
+ views?: number | undefined;
1070
+ };
1071
+ postedAt: string;
1072
+ relevanceScore: number;
1073
+ sentiment: "positive" | "negative" | "neutral";
1074
+ isComplaint: boolean;
1075
+ urgencyLevel: "low" | "medium" | "high";
1076
+ aiSummary: string;
1077
+ matchedKeywords: string[];
1078
+ title?: string | undefined;
1079
+ authorFollowers?: number | undefined;
1080
+ }[];
1081
+ highPriorityPosts: {
1082
+ url: string;
1083
+ id: string;
1084
+ platform: "reddit" | "twitter" | "linkedin";
1085
+ text: string;
1086
+ authorName: string;
1087
+ authorHandle: string;
1088
+ authorUrl: string;
1089
+ engagement: {
1090
+ comments: number;
1091
+ likes: number;
1092
+ shares: number;
1093
+ views?: number | undefined;
1094
+ };
1095
+ postedAt: string;
1096
+ relevanceScore: number;
1097
+ sentiment: "positive" | "negative" | "neutral";
1098
+ isComplaint: boolean;
1099
+ urgencyLevel: "low" | "medium" | "high";
1100
+ aiSummary: string;
1101
+ matchedKeywords: string[];
1102
+ title?: string | undefined;
1103
+ authorFollowers?: number | undefined;
1104
+ }[];
1105
+ complaints: {
1106
+ url: string;
1107
+ id: string;
1108
+ platform: "reddit" | "twitter" | "linkedin";
1109
+ text: string;
1110
+ authorName: string;
1111
+ authorHandle: string;
1112
+ authorUrl: string;
1113
+ engagement: {
1114
+ comments: number;
1115
+ likes: number;
1116
+ shares: number;
1117
+ views?: number | undefined;
1118
+ };
1119
+ postedAt: string;
1120
+ relevanceScore: number;
1121
+ sentiment: "positive" | "negative" | "neutral";
1122
+ isComplaint: boolean;
1123
+ urgencyLevel: "low" | "medium" | "high";
1124
+ aiSummary: string;
1125
+ matchedKeywords: string[];
1126
+ title?: string | undefined;
1127
+ authorFollowers?: number | undefined;
1128
+ }[];
1129
+ totalAnalyzed: number;
1130
+ highPriorityCount: number;
1131
+ complaintCount: number;
1132
+ averageRelevance: number;
1133
+ }, {
1134
+ analyzedPosts: {
1135
+ url: string;
1136
+ id: string;
1137
+ platform: "reddit" | "twitter" | "linkedin";
1138
+ text: string;
1139
+ authorName: string;
1140
+ authorHandle: string;
1141
+ authorUrl: string;
1142
+ engagement: {
1143
+ comments: number;
1144
+ likes: number;
1145
+ shares: number;
1146
+ views?: number | undefined;
1147
+ };
1148
+ postedAt: string;
1149
+ relevanceScore: number;
1150
+ sentiment: "positive" | "negative" | "neutral";
1151
+ isComplaint: boolean;
1152
+ urgencyLevel: "low" | "medium" | "high";
1153
+ aiSummary: string;
1154
+ matchedKeywords: string[];
1155
+ title?: string | undefined;
1156
+ authorFollowers?: number | undefined;
1157
+ }[];
1158
+ highPriorityPosts: {
1159
+ url: string;
1160
+ id: string;
1161
+ platform: "reddit" | "twitter" | "linkedin";
1162
+ text: string;
1163
+ authorName: string;
1164
+ authorHandle: string;
1165
+ authorUrl: string;
1166
+ engagement: {
1167
+ comments: number;
1168
+ likes: number;
1169
+ shares: number;
1170
+ views?: number | undefined;
1171
+ };
1172
+ postedAt: string;
1173
+ relevanceScore: number;
1174
+ sentiment: "positive" | "negative" | "neutral";
1175
+ isComplaint: boolean;
1176
+ urgencyLevel: "low" | "medium" | "high";
1177
+ aiSummary: string;
1178
+ matchedKeywords: string[];
1179
+ title?: string | undefined;
1180
+ authorFollowers?: number | undefined;
1181
+ }[];
1182
+ complaints: {
1183
+ url: string;
1184
+ id: string;
1185
+ platform: "reddit" | "twitter" | "linkedin";
1186
+ text: string;
1187
+ authorName: string;
1188
+ authorHandle: string;
1189
+ authorUrl: string;
1190
+ engagement: {
1191
+ comments: number;
1192
+ likes: number;
1193
+ shares: number;
1194
+ views?: number | undefined;
1195
+ };
1196
+ postedAt: string;
1197
+ relevanceScore: number;
1198
+ sentiment: "positive" | "negative" | "neutral";
1199
+ isComplaint: boolean;
1200
+ urgencyLevel: "low" | "medium" | "high";
1201
+ aiSummary: string;
1202
+ matchedKeywords: string[];
1203
+ title?: string | undefined;
1204
+ authorFollowers?: number | undefined;
1205
+ }[];
1206
+ totalAnalyzed: number;
1207
+ highPriorityCount: number;
1208
+ complaintCount: number;
1209
+ averageRelevance: number;
1210
+ }>;
1211
+ export type SocialAiAnalyzeOutput = z.infer<typeof SocialAiAnalyzeOutputSchema>;
1212
+ //# sourceMappingURL=ai.d.ts.map