noverload-mcp 0.9.1 → 0.9.3

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 (39) hide show
  1. package/dist/client.d.ts +588 -30
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +408 -115
  4. package/dist/client.js.map +1 -1
  5. package/dist/index.js +2 -2
  6. package/dist/resources/index.d.ts +6 -1
  7. package/dist/resources/index.d.ts.map +1 -1
  8. package/dist/tools/implementations/explore-topic.d.ts.map +1 -1
  9. package/dist/tools/implementations/explore-topic.js +41 -22
  10. package/dist/tools/implementations/explore-topic.js.map +1 -1
  11. package/dist/tools/implementations/extract-frameworks.d.ts.map +1 -1
  12. package/dist/tools/implementations/extract-frameworks.js +91 -29
  13. package/dist/tools/implementations/extract-frameworks.js.map +1 -1
  14. package/dist/tools/implementations/get-content.d.ts.map +1 -1
  15. package/dist/tools/implementations/get-content.js +3 -1
  16. package/dist/tools/implementations/get-content.js.map +1 -1
  17. package/dist/tools/implementations/list-content.d.ts.map +1 -1
  18. package/dist/tools/implementations/list-content.js +3 -1
  19. package/dist/tools/implementations/list-content.js.map +1 -1
  20. package/dist/tools/implementations/list-tags.d.ts +3 -0
  21. package/dist/tools/implementations/list-tags.d.ts.map +1 -0
  22. package/dist/tools/implementations/list-tags.js +115 -0
  23. package/dist/tools/implementations/list-tags.js.map +1 -0
  24. package/dist/tools/implementations/manage-tags.d.ts +5 -0
  25. package/dist/tools/implementations/manage-tags.d.ts.map +1 -0
  26. package/dist/tools/implementations/manage-tags.js +157 -0
  27. package/dist/tools/implementations/manage-tags.js.map +1 -0
  28. package/dist/tools/implementations/save-content.d.ts.map +1 -1
  29. package/dist/tools/implementations/save-content.js +43 -4
  30. package/dist/tools/implementations/save-content.js.map +1 -1
  31. package/dist/tools/implementations/swipe-file.d.ts +4 -0
  32. package/dist/tools/implementations/swipe-file.d.ts.map +1 -0
  33. package/dist/tools/implementations/swipe-file.js +82 -0
  34. package/dist/tools/implementations/swipe-file.js.map +1 -0
  35. package/dist/tools/index.d.ts +4 -1
  36. package/dist/tools/index.d.ts.map +1 -1
  37. package/dist/tools/index.js +15 -3
  38. package/dist/tools/index.js.map +1 -1
  39. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -4,83 +4,183 @@ export interface ClientConfig {
4
4
  apiUrl: string;
5
5
  readOnly: boolean;
6
6
  }
7
+ export declare const ContentTypeEnum: z.ZodEnum<["youtube", "x_twitter", "reddit", "article", "pdf"]>;
8
+ export declare const ContentStatusEnum: z.ZodEnum<["pending", "processing", "completed", "failed"]>;
9
+ export declare const SummaryObjectSchema: z.ZodObject<{
10
+ one_sentence: z.ZodOptional<z.ZodString>;
11
+ text: z.ZodOptional<z.ZodString>;
12
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15
+ one_sentence: z.ZodOptional<z.ZodString>;
16
+ text: z.ZodOptional<z.ZodString>;
17
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20
+ one_sentence: z.ZodOptional<z.ZodString>;
21
+ text: z.ZodOptional<z.ZodString>;
22
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
+ }, z.ZodTypeAny, "passthrough">>;
25
+ export declare const SummarySchema: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
26
+ one_sentence: z.ZodOptional<z.ZodString>;
27
+ text: z.ZodOptional<z.ZodString>;
28
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
31
+ one_sentence: z.ZodOptional<z.ZodString>;
32
+ text: z.ZodOptional<z.ZodString>;
33
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
36
+ one_sentence: z.ZodOptional<z.ZodString>;
37
+ text: z.ZodOptional<z.ZodString>;
38
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ }, z.ZodTypeAny, "passthrough">>]>>>;
41
+ export declare const ProcessingMetadataSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ processedAt: z.ZodOptional<z.ZodString>;
43
+ duration: z.ZodOptional<z.ZodNumber>;
44
+ model: z.ZodOptional<z.ZodString>;
45
+ version: z.ZodOptional<z.ZodString>;
46
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
47
+ processedAt: z.ZodOptional<z.ZodString>;
48
+ duration: z.ZodOptional<z.ZodNumber>;
49
+ model: z.ZodOptional<z.ZodString>;
50
+ version: z.ZodOptional<z.ZodString>;
51
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
52
+ processedAt: z.ZodOptional<z.ZodString>;
53
+ duration: z.ZodOptional<z.ZodNumber>;
54
+ model: z.ZodOptional<z.ZodString>;
55
+ version: z.ZodOptional<z.ZodString>;
56
+ }, z.ZodTypeAny, "passthrough">>>>;
7
57
  export declare const ContentSchema: z.ZodObject<{
8
58
  id: z.ZodString;
9
- userId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10
59
  url: z.ZodString;
60
+ userId: z.ZodOptional<z.ZodString>;
11
61
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
62
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
63
  contentType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["youtube", "x_twitter", "reddit", "article", "pdf"]>>>;
14
64
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>>;
15
- summary: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
16
- keyInsights: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>>;
65
+ summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
66
+ one_sentence: z.ZodOptional<z.ZodString>;
67
+ text: z.ZodOptional<z.ZodString>;
68
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
71
+ one_sentence: z.ZodOptional<z.ZodString>;
72
+ text: z.ZodOptional<z.ZodString>;
73
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
74
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
76
+ one_sentence: z.ZodOptional<z.ZodString>;
77
+ text: z.ZodOptional<z.ZodString>;
78
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
79
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
+ }, z.ZodTypeAny, "passthrough">>]>>>;
81
+ keyInsights: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
17
82
  rawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
83
  tokenCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
84
  ogImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- processingMetadata: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
85
+ processingMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
86
+ processedAt: z.ZodOptional<z.ZodString>;
87
+ duration: z.ZodOptional<z.ZodNumber>;
88
+ model: z.ZodOptional<z.ZodString>;
89
+ version: z.ZodOptional<z.ZodString>;
90
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
91
+ processedAt: z.ZodOptional<z.ZodString>;
92
+ duration: z.ZodOptional<z.ZodNumber>;
93
+ model: z.ZodOptional<z.ZodString>;
94
+ version: z.ZodOptional<z.ZodString>;
95
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
96
+ processedAt: z.ZodOptional<z.ZodString>;
97
+ duration: z.ZodOptional<z.ZodNumber>;
98
+ model: z.ZodOptional<z.ZodString>;
99
+ version: z.ZodOptional<z.ZodString>;
100
+ }, z.ZodTypeAny, "passthrough">>>>;
21
101
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22
- createdAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
23
- updatedAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
102
+ createdAt: z.ZodOptional<z.ZodString>;
103
+ updatedAt: z.ZodOptional<z.ZodString>;
24
104
  }, "strip", z.ZodTypeAny, {
105
+ status: "pending" | "processing" | "completed" | "failed";
25
106
  id: string;
26
- userId: string;
27
107
  url: string;
28
108
  contentType: "youtube" | "x_twitter" | "reddit" | "article" | "pdf";
29
- status: "pending" | "processing" | "completed" | "failed";
30
- keyInsights: string[] | null;
31
109
  tags: string[];
32
- createdAt: string;
33
- updatedAt: string;
110
+ userId?: string | undefined;
34
111
  title?: string | null | undefined;
35
112
  description?: string | null | undefined;
36
- summary?: any;
113
+ summary?: string | z.objectOutputType<{
114
+ one_sentence: z.ZodOptional<z.ZodString>;
115
+ text: z.ZodOptional<z.ZodString>;
116
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
117
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
118
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
119
+ keyInsights?: string[] | null | undefined;
37
120
  rawText?: string | null | undefined;
38
121
  tokenCount?: number | null | undefined;
39
122
  ogImage?: string | null | undefined;
40
- processingMetadata?: any;
123
+ processingMetadata?: z.objectOutputType<{
124
+ processedAt: z.ZodOptional<z.ZodString>;
125
+ duration: z.ZodOptional<z.ZodNumber>;
126
+ model: z.ZodOptional<z.ZodString>;
127
+ version: z.ZodOptional<z.ZodString>;
128
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
129
+ createdAt?: string | undefined;
130
+ updatedAt?: string | undefined;
41
131
  }, {
42
132
  id: string;
43
133
  url: string;
134
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
44
135
  userId?: string | undefined;
45
136
  title?: string | null | undefined;
46
137
  description?: string | null | undefined;
47
138
  contentType?: "youtube" | "x_twitter" | "reddit" | "article" | "pdf" | undefined;
48
- status?: "pending" | "processing" | "completed" | "failed" | undefined;
49
- summary?: any;
139
+ summary?: string | z.objectInputType<{
140
+ one_sentence: z.ZodOptional<z.ZodString>;
141
+ text: z.ZodOptional<z.ZodString>;
142
+ key_points: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
+ actionable_takeaways: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
50
145
  keyInsights?: string[] | null | undefined;
51
146
  rawText?: string | null | undefined;
52
147
  tokenCount?: number | null | undefined;
53
148
  ogImage?: string | null | undefined;
54
- processingMetadata?: any;
149
+ processingMetadata?: z.objectInputType<{
150
+ processedAt: z.ZodOptional<z.ZodString>;
151
+ duration: z.ZodOptional<z.ZodNumber>;
152
+ model: z.ZodOptional<z.ZodString>;
153
+ version: z.ZodOptional<z.ZodString>;
154
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
55
155
  tags?: string[] | undefined;
56
156
  createdAt?: string | undefined;
57
157
  updatedAt?: string | undefined;
58
158
  }>;
59
159
  export declare const ActionSchema: z.ZodObject<{
60
160
  id: z.ZodString;
61
- contentId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
62
- goalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
63
161
  title: z.ZodString;
64
- description: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
65
- priority: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low"]>>>>;
162
+ contentId: z.ZodOptional<z.ZodString>;
163
+ goalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low"]>>>;
66
166
  completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
- completedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
68
- createdAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
167
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ createdAt: z.ZodOptional<z.ZodString>;
69
169
  }, "strip", z.ZodTypeAny, {
170
+ completed: boolean;
70
171
  id: string;
71
172
  title: string;
72
- description: string | null;
73
- completed: boolean;
74
- createdAt: string;
75
- contentId: string;
76
- goalId: string | null;
77
- priority: "high" | "medium" | "low" | null;
78
- completedAt: string | null;
173
+ description?: string | null | undefined;
174
+ createdAt?: string | undefined;
175
+ contentId?: string | undefined;
176
+ goalId?: string | null | undefined;
177
+ priority?: "high" | "medium" | "low" | null | undefined;
178
+ completedAt?: string | null | undefined;
79
179
  }, {
80
180
  id: string;
81
181
  title: string;
82
- description?: string | null | undefined;
83
182
  completed?: boolean | undefined;
183
+ description?: string | null | undefined;
84
184
  createdAt?: string | undefined;
85
185
  contentId?: string | undefined;
86
186
  goalId?: string | null | undefined;
@@ -112,9 +212,448 @@ export declare const GoalSchema: z.ZodObject<{
112
212
  category: "health" | "wealth" | "relationships";
113
213
  isActive: boolean;
114
214
  }>;
215
+ export declare const TagSchema: z.ZodObject<{
216
+ id: z.ZodString;
217
+ name: z.ZodString;
218
+ slug: z.ZodString;
219
+ isSystem: z.ZodBoolean;
220
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ usageCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ id: string;
225
+ name: string;
226
+ slug: string;
227
+ isSystem: boolean;
228
+ usageCount: number;
229
+ description?: string | null | undefined;
230
+ category?: string | null | undefined;
231
+ }, {
232
+ id: string;
233
+ name: string;
234
+ slug: string;
235
+ isSystem: boolean;
236
+ description?: string | null | undefined;
237
+ category?: string | null | undefined;
238
+ usageCount?: number | undefined;
239
+ }>;
240
+ export declare const TagsResponseSchema: z.ZodObject<{
241
+ success: z.ZodBoolean;
242
+ tags: z.ZodArray<z.ZodObject<{
243
+ id: z.ZodString;
244
+ name: z.ZodString;
245
+ slug: z.ZodString;
246
+ isSystem: z.ZodBoolean;
247
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ usageCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ id: string;
252
+ name: string;
253
+ slug: string;
254
+ isSystem: boolean;
255
+ usageCount: number;
256
+ description?: string | null | undefined;
257
+ category?: string | null | undefined;
258
+ }, {
259
+ id: string;
260
+ name: string;
261
+ slug: string;
262
+ isSystem: boolean;
263
+ description?: string | null | undefined;
264
+ category?: string | null | undefined;
265
+ usageCount?: number | undefined;
266
+ }>, "many">;
267
+ grouped: z.ZodOptional<z.ZodObject<{
268
+ system: z.ZodArray<z.ZodObject<{
269
+ id: z.ZodString;
270
+ name: z.ZodString;
271
+ slug: z.ZodString;
272
+ isSystem: z.ZodBoolean;
273
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ usageCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ id: string;
278
+ name: string;
279
+ slug: string;
280
+ isSystem: boolean;
281
+ usageCount: number;
282
+ description?: string | null | undefined;
283
+ category?: string | null | undefined;
284
+ }, {
285
+ id: string;
286
+ name: string;
287
+ slug: string;
288
+ isSystem: boolean;
289
+ description?: string | null | undefined;
290
+ category?: string | null | undefined;
291
+ usageCount?: number | undefined;
292
+ }>, "many">;
293
+ custom: z.ZodArray<z.ZodObject<{
294
+ id: z.ZodString;
295
+ name: z.ZodString;
296
+ slug: z.ZodString;
297
+ isSystem: z.ZodBoolean;
298
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
+ usageCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
301
+ }, "strip", z.ZodTypeAny, {
302
+ id: string;
303
+ name: string;
304
+ slug: string;
305
+ isSystem: boolean;
306
+ usageCount: number;
307
+ description?: string | null | undefined;
308
+ category?: string | null | undefined;
309
+ }, {
310
+ id: string;
311
+ name: string;
312
+ slug: string;
313
+ isSystem: boolean;
314
+ description?: string | null | undefined;
315
+ category?: string | null | undefined;
316
+ usageCount?: number | undefined;
317
+ }>, "many">;
318
+ }, "strip", z.ZodTypeAny, {
319
+ custom: {
320
+ id: string;
321
+ name: string;
322
+ slug: string;
323
+ isSystem: boolean;
324
+ usageCount: number;
325
+ description?: string | null | undefined;
326
+ category?: string | null | undefined;
327
+ }[];
328
+ system: {
329
+ id: string;
330
+ name: string;
331
+ slug: string;
332
+ isSystem: boolean;
333
+ usageCount: number;
334
+ description?: string | null | undefined;
335
+ category?: string | null | undefined;
336
+ }[];
337
+ }, {
338
+ custom: {
339
+ id: string;
340
+ name: string;
341
+ slug: string;
342
+ isSystem: boolean;
343
+ description?: string | null | undefined;
344
+ category?: string | null | undefined;
345
+ usageCount?: number | undefined;
346
+ }[];
347
+ system: {
348
+ id: string;
349
+ name: string;
350
+ slug: string;
351
+ isSystem: boolean;
352
+ description?: string | null | undefined;
353
+ category?: string | null | undefined;
354
+ usageCount?: number | undefined;
355
+ }[];
356
+ }>>;
357
+ total: z.ZodNumber;
358
+ }, "strip", z.ZodTypeAny, {
359
+ tags: {
360
+ id: string;
361
+ name: string;
362
+ slug: string;
363
+ isSystem: boolean;
364
+ usageCount: number;
365
+ description?: string | null | undefined;
366
+ category?: string | null | undefined;
367
+ }[];
368
+ success: boolean;
369
+ total: number;
370
+ grouped?: {
371
+ custom: {
372
+ id: string;
373
+ name: string;
374
+ slug: string;
375
+ isSystem: boolean;
376
+ usageCount: number;
377
+ description?: string | null | undefined;
378
+ category?: string | null | undefined;
379
+ }[];
380
+ system: {
381
+ id: string;
382
+ name: string;
383
+ slug: string;
384
+ isSystem: boolean;
385
+ usageCount: number;
386
+ description?: string | null | undefined;
387
+ category?: string | null | undefined;
388
+ }[];
389
+ } | undefined;
390
+ }, {
391
+ tags: {
392
+ id: string;
393
+ name: string;
394
+ slug: string;
395
+ isSystem: boolean;
396
+ description?: string | null | undefined;
397
+ category?: string | null | undefined;
398
+ usageCount?: number | undefined;
399
+ }[];
400
+ success: boolean;
401
+ total: number;
402
+ grouped?: {
403
+ custom: {
404
+ id: string;
405
+ name: string;
406
+ slug: string;
407
+ isSystem: boolean;
408
+ description?: string | null | undefined;
409
+ category?: string | null | undefined;
410
+ usageCount?: number | undefined;
411
+ }[];
412
+ system: {
413
+ id: string;
414
+ name: string;
415
+ slug: string;
416
+ isSystem: boolean;
417
+ description?: string | null | undefined;
418
+ category?: string | null | undefined;
419
+ usageCount?: number | undefined;
420
+ }[];
421
+ } | undefined;
422
+ }>;
423
+ export declare const CreateTagResponseSchema: z.ZodObject<{
424
+ success: z.ZodBoolean;
425
+ tag: z.ZodObject<{
426
+ id: z.ZodString;
427
+ name: z.ZodString;
428
+ slug: z.ZodString;
429
+ isSystem: z.ZodBoolean;
430
+ isNew: z.ZodOptional<z.ZodBoolean>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ id: string;
433
+ name: string;
434
+ slug: string;
435
+ isSystem: boolean;
436
+ isNew?: boolean | undefined;
437
+ }, {
438
+ id: string;
439
+ name: string;
440
+ slug: string;
441
+ isSystem: boolean;
442
+ isNew?: boolean | undefined;
443
+ }>;
444
+ message: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ success: boolean;
447
+ tag: {
448
+ id: string;
449
+ name: string;
450
+ slug: string;
451
+ isSystem: boolean;
452
+ isNew?: boolean | undefined;
453
+ };
454
+ message?: string | undefined;
455
+ }, {
456
+ success: boolean;
457
+ tag: {
458
+ id: string;
459
+ name: string;
460
+ slug: string;
461
+ isSystem: boolean;
462
+ isNew?: boolean | undefined;
463
+ };
464
+ message?: string | undefined;
465
+ }>;
466
+ export declare const AddTagsResponseSchema: z.ZodObject<{
467
+ success: z.ZodBoolean;
468
+ contentId: z.ZodString;
469
+ addedTags: z.ZodArray<z.ZodObject<{
470
+ id: z.ZodString;
471
+ name: z.ZodString;
472
+ slug: z.ZodString;
473
+ created: z.ZodBoolean;
474
+ }, "strip", z.ZodTypeAny, {
475
+ id: string;
476
+ name: string;
477
+ slug: string;
478
+ created: boolean;
479
+ }, {
480
+ id: string;
481
+ name: string;
482
+ slug: string;
483
+ created: boolean;
484
+ }>, "many">;
485
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
486
+ message: z.ZodOptional<z.ZodString>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ contentId: string;
489
+ success: boolean;
490
+ addedTags: {
491
+ id: string;
492
+ name: string;
493
+ slug: string;
494
+ created: boolean;
495
+ }[];
496
+ message?: string | undefined;
497
+ errors?: string[] | undefined;
498
+ }, {
499
+ contentId: string;
500
+ success: boolean;
501
+ addedTags: {
502
+ id: string;
503
+ name: string;
504
+ slug: string;
505
+ created: boolean;
506
+ }[];
507
+ message?: string | undefined;
508
+ errors?: string[] | undefined;
509
+ }>;
510
+ export declare const RemoveTagsResponseSchema: z.ZodObject<{
511
+ success: z.ZodBoolean;
512
+ contentId: z.ZodString;
513
+ removedTags: z.ZodArray<z.ZodString, "many">;
514
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
515
+ message: z.ZodOptional<z.ZodString>;
516
+ }, "strip", z.ZodTypeAny, {
517
+ contentId: string;
518
+ success: boolean;
519
+ removedTags: string[];
520
+ message?: string | undefined;
521
+ errors?: string[] | undefined;
522
+ }, {
523
+ contentId: string;
524
+ success: boolean;
525
+ removedTags: string[];
526
+ message?: string | undefined;
527
+ errors?: string[] | undefined;
528
+ }>;
529
+ export declare const MarkSwipeFileResponseSchema: z.ZodObject<{
530
+ success: z.ZodBoolean;
531
+ contentId: z.ZodString;
532
+ contentTitle: z.ZodOptional<z.ZodString>;
533
+ isSwipeFile: z.ZodBoolean;
534
+ analysisTriggered: z.ZodOptional<z.ZodBoolean>;
535
+ analysisError: z.ZodOptional<z.ZodString>;
536
+ tagsAdded: z.ZodOptional<z.ZodArray<z.ZodObject<{
537
+ name: z.ZodString;
538
+ confidence: z.ZodNumber;
539
+ reason: z.ZodString;
540
+ }, "strip", z.ZodTypeAny, {
541
+ name: string;
542
+ confidence: number;
543
+ reason: string;
544
+ }, {
545
+ name: string;
546
+ confidence: number;
547
+ reason: string;
548
+ }>, "many">>;
549
+ totalTags: z.ZodOptional<z.ZodNumber>;
550
+ message: z.ZodOptional<z.ZodString>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ contentId: string;
553
+ success: boolean;
554
+ isSwipeFile: boolean;
555
+ message?: string | undefined;
556
+ contentTitle?: string | undefined;
557
+ analysisTriggered?: boolean | undefined;
558
+ analysisError?: string | undefined;
559
+ tagsAdded?: {
560
+ name: string;
561
+ confidence: number;
562
+ reason: string;
563
+ }[] | undefined;
564
+ totalTags?: number | undefined;
565
+ }, {
566
+ contentId: string;
567
+ success: boolean;
568
+ isSwipeFile: boolean;
569
+ message?: string | undefined;
570
+ contentTitle?: string | undefined;
571
+ analysisTriggered?: boolean | undefined;
572
+ analysisError?: string | undefined;
573
+ tagsAdded?: {
574
+ name: string;
575
+ confidence: number;
576
+ reason: string;
577
+ }[] | undefined;
578
+ totalTags?: number | undefined;
579
+ }>;
580
+ export declare const UnmarkSwipeFileResponseSchema: z.ZodObject<{
581
+ success: z.ZodBoolean;
582
+ contentId: z.ZodString;
583
+ contentTitle: z.ZodOptional<z.ZodString>;
584
+ isSwipeFile: z.ZodBoolean;
585
+ message: z.ZodOptional<z.ZodString>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ contentId: string;
588
+ success: boolean;
589
+ isSwipeFile: boolean;
590
+ message?: string | undefined;
591
+ contentTitle?: string | undefined;
592
+ }, {
593
+ contentId: string;
594
+ success: boolean;
595
+ isSwipeFile: boolean;
596
+ message?: string | undefined;
597
+ contentTitle?: string | undefined;
598
+ }>;
599
+ export declare const SwipeFileStatusResponseSchema: z.ZodObject<{
600
+ success: z.ZodBoolean;
601
+ contentId: z.ZodString;
602
+ contentTitle: z.ZodOptional<z.ZodString>;
603
+ isSwipeFile: z.ZodBoolean;
604
+ swipeFileTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
605
+ id: z.ZodString;
606
+ name: z.ZodString;
607
+ slug: z.ZodString;
608
+ confidenceScore: z.ZodNullable<z.ZodNumber>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ id: string;
611
+ name: string;
612
+ slug: string;
613
+ confidenceScore: number | null;
614
+ }, {
615
+ id: string;
616
+ name: string;
617
+ slug: string;
618
+ confidenceScore: number | null;
619
+ }>, "many">>;
620
+ totalSwipeFileTags: z.ZodOptional<z.ZodNumber>;
621
+ }, "strip", z.ZodTypeAny, {
622
+ contentId: string;
623
+ success: boolean;
624
+ isSwipeFile: boolean;
625
+ contentTitle?: string | undefined;
626
+ swipeFileTags?: {
627
+ id: string;
628
+ name: string;
629
+ slug: string;
630
+ confidenceScore: number | null;
631
+ }[] | undefined;
632
+ totalSwipeFileTags?: number | undefined;
633
+ }, {
634
+ contentId: string;
635
+ success: boolean;
636
+ isSwipeFile: boolean;
637
+ contentTitle?: string | undefined;
638
+ swipeFileTags?: {
639
+ id: string;
640
+ name: string;
641
+ slug: string;
642
+ confidenceScore: number | null;
643
+ }[] | undefined;
644
+ totalSwipeFileTags?: number | undefined;
645
+ }>;
115
646
  export type Content = z.infer<typeof ContentSchema>;
116
647
  export type Action = z.infer<typeof ActionSchema>;
117
648
  export type Goal = z.infer<typeof GoalSchema>;
649
+ export type Tag = z.infer<typeof TagSchema>;
650
+ export type TagsResponse = z.infer<typeof TagsResponseSchema>;
651
+ export type CreateTagResponse = z.infer<typeof CreateTagResponseSchema>;
652
+ export type AddTagsResponse = z.infer<typeof AddTagsResponseSchema>;
653
+ export type RemoveTagsResponse = z.infer<typeof RemoveTagsResponseSchema>;
654
+ export type MarkSwipeFileResponse = z.infer<typeof MarkSwipeFileResponseSchema>;
655
+ export type UnmarkSwipeFileResponse = z.infer<typeof UnmarkSwipeFileResponseSchema>;
656
+ export type SwipeFileStatusResponse = z.infer<typeof SwipeFileStatusResponseSchema>;
118
657
  export declare class NoverloadClient {
119
658
  private config;
120
659
  private headers;
@@ -122,6 +661,12 @@ export declare class NoverloadClient {
122
661
  initialize(): Promise<void>;
123
662
  validateToken(): Promise<boolean>;
124
663
  private request;
664
+ /**
665
+ * Transform raw API content to schema format
666
+ * Handles both camelCase and snake_case field names from API
667
+ * Required fields (id, url) are passed through - Zod validates them
668
+ */
669
+ private transformRawContent;
125
670
  listContent(filters?: {
126
671
  status?: string;
127
672
  contentType?: string;
@@ -129,6 +674,11 @@ export declare class NoverloadClient {
129
674
  }): Promise<Content[]>;
130
675
  getContent(id: string): Promise<Content>;
131
676
  saveContent(url: string): Promise<Content>;
677
+ /**
678
+ * Transform raw API action to schema format
679
+ * Handles both camelCase and snake_case field names from API
680
+ */
681
+ private transformRawAction;
132
682
  listActions(filters?: {
133
683
  contentId?: string;
134
684
  goalId?: string;
@@ -173,5 +723,13 @@ export declare class NoverloadClient {
173
723
  }): Promise<any>;
174
724
  batchGetContent(ids: string[], includeFullContent?: boolean): Promise<any>;
175
725
  getEnrichedContent(ids: string[], includeFullContent?: boolean): Promise<any>;
726
+ listTags(): Promise<TagsResponse>;
727
+ createTag(name: string): Promise<CreateTagResponse>;
728
+ addTagsToContent(contentId: string, tags: string[]): Promise<AddTagsResponse>;
729
+ removeTagsFromContent(contentId: string, tags: string[]): Promise<RemoveTagsResponse>;
730
+ getContentTags(contentId: string): Promise<Tag[]>;
731
+ markAsSwipeFile(contentId: string): Promise<MarkSwipeFileResponse>;
732
+ unmarkAsSwipeFile(contentId: string): Promise<UnmarkSwipeFileResponse>;
733
+ getSwipeFileStatus(contentId: string): Promise<SwipeFileStatusResponse>;
176
734
  }
177
735
  //# sourceMappingURL=client.d.ts.map