evo360-types 1.1.81 → 1.1.83

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.
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ export declare const zCakeAssetActionSchema: z.ZodEnum<["CREATE_CAKE_ASSET", "DELETE_CAKE_ASSET", "UPDATE_CAKE_ASSET", "PROCESS_CAKE_ASSET", "CLASSIFY_CAKE_ASSET", "EXTRACT_TEXT_CAKE_ASSET", "OCR_CAKE_ASSET", "METADATA_EXTRACTION_CAKE_ASSET", "UPDATE_RELEVANCE_SCORE_CAKE_ASSET", "UPDATE_ASSET_STATUS_CAKE_ASSET", "UPDATE_ASSET_TAGS_CAKE_ASSET", "PROCESS_CAKE_ASSET_FAILED", "CLASSIFY_CAKE_ASSET_FAILED", "EXTRACT_TEXT_CAKE_ASSET_FAILED", "STORE_CAKE_ASSET", "RETRIEVE_CAKE_ASSET"]>;
2
3
  export declare const zAssetTypeSchema: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
3
4
  export declare const zBaseAssetSchema: z.ZodObject<z.objectUtil.extendShape<{
4
5
  id: z.ZodString;
@@ -27,43 +28,61 @@ export declare const zBaseAssetSchema: z.ZodObject<z.objectUtil.extendShape<{
27
28
  hidden: boolean;
28
29
  color?: string | undefined;
29
30
  }>, "many">>>;
30
- }>, "strip", z.ZodTypeAny, {
31
- id: string;
32
- tenant: string;
33
- model_ver: number;
34
- type: "event" | "meeting" | "file" | "note" | "data";
35
- relevance_score: number;
36
- ref?: any;
37
- created_at?: Date | null | undefined;
38
- updated_at?: Date | null | undefined;
39
- deleted_at?: Date | null | undefined;
40
- tags?: {
41
- name: string;
42
- hidden: boolean;
43
- color?: string | undefined;
44
- }[] | null | undefined;
45
- metadata?: Record<string, any> | undefined;
46
- structured_data?: any;
47
- embeddings?: number[] | undefined;
31
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
32
+ id: z.ZodString;
33
+ ref: z.ZodAny;
34
+ tenant: z.ZodString;
35
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
36
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
37
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
38
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
39
+ }, {
40
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
41
+ relevance_score: z.ZodNumber;
42
+ structured_data: z.ZodOptional<z.ZodAny>;
43
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
45
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
+ name: z.ZodString;
47
+ color: z.ZodOptional<z.ZodString>;
48
+ hidden: z.ZodBoolean;
49
+ }, "strip", z.ZodTypeAny, {
50
+ name: string;
51
+ hidden: boolean;
52
+ color?: string | undefined;
53
+ }, {
54
+ name: string;
55
+ hidden: boolean;
56
+ color?: string | undefined;
57
+ }>, "many">>>;
58
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
59
+ id: z.ZodString;
60
+ ref: z.ZodAny;
61
+ tenant: z.ZodString;
62
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
63
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
64
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
65
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
48
66
  }, {
49
- id: string;
50
- tenant: string;
51
- type: "event" | "meeting" | "file" | "note" | "data";
52
- relevance_score: number;
53
- ref?: any;
54
- model_ver?: number | undefined;
55
- created_at?: Date | null | undefined;
56
- updated_at?: Date | null | undefined;
57
- deleted_at?: Date | null | undefined;
58
- tags?: {
59
- name: string;
60
- hidden: boolean;
61
- color?: string | undefined;
62
- }[] | null | undefined;
63
- metadata?: Record<string, any> | undefined;
64
- structured_data?: any;
65
- embeddings?: number[] | undefined;
66
- }>;
67
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
68
+ relevance_score: z.ZodNumber;
69
+ structured_data: z.ZodOptional<z.ZodAny>;
70
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
71
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
72
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
73
+ name: z.ZodString;
74
+ color: z.ZodOptional<z.ZodString>;
75
+ hidden: z.ZodBoolean;
76
+ }, "strip", z.ZodTypeAny, {
77
+ name: string;
78
+ hidden: boolean;
79
+ color?: string | undefined;
80
+ }, {
81
+ name: string;
82
+ hidden: boolean;
83
+ color?: string | undefined;
84
+ }>, "many">>>;
85
+ }>, z.ZodTypeAny, "passthrough">>;
67
86
  export declare const zFileAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
68
87
  id: z.ZodString;
69
88
  ref: z.ZodAny;
@@ -96,52 +115,7 @@ export declare const zFileAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
96
115
  file_type: z.ZodString;
97
116
  storage_location: z.ZodString;
98
117
  extracted_text: z.ZodOptional<z.ZodString>;
99
- }>, "strip", z.ZodTypeAny, {
100
- id: string;
101
- tenant: string;
102
- model_ver: number;
103
- type: "event" | "meeting" | "file" | "note" | "data";
104
- relevance_score: number;
105
- file_name: string;
106
- file_type: string;
107
- storage_location: string;
108
- ref?: any;
109
- created_at?: Date | null | undefined;
110
- updated_at?: Date | null | undefined;
111
- deleted_at?: Date | null | undefined;
112
- tags?: {
113
- name: string;
114
- hidden: boolean;
115
- color?: string | undefined;
116
- }[] | null | undefined;
117
- metadata?: Record<string, any> | undefined;
118
- structured_data?: any;
119
- embeddings?: number[] | undefined;
120
- extracted_text?: string | undefined;
121
- }, {
122
- id: string;
123
- tenant: string;
124
- type: "event" | "meeting" | "file" | "note" | "data";
125
- relevance_score: number;
126
- file_name: string;
127
- file_type: string;
128
- storage_location: string;
129
- ref?: any;
130
- model_ver?: number | undefined;
131
- created_at?: Date | null | undefined;
132
- updated_at?: Date | null | undefined;
133
- deleted_at?: Date | null | undefined;
134
- tags?: {
135
- name: string;
136
- hidden: boolean;
137
- color?: string | undefined;
138
- }[] | null | undefined;
139
- metadata?: Record<string, any> | undefined;
140
- structured_data?: any;
141
- embeddings?: number[] | undefined;
142
- extracted_text?: string | undefined;
143
- }>;
144
- export declare const zCalendarEventAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
118
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
145
119
  id: z.ZodString;
146
120
  ref: z.ZodAny;
147
121
  tenant: z.ZodString;
@@ -169,65 +143,44 @@ export declare const zCalendarEventAssetSchema: z.ZodObject<z.objectUtil.extendS
169
143
  color?: string | undefined;
170
144
  }>, "many">>>;
171
145
  }>, {
172
- title: z.ZodString;
173
- date: z.ZodDate;
174
- start_time: z.ZodOptional<z.ZodDate>;
175
- end_time: z.ZodOptional<z.ZodDate>;
176
- location: z.ZodOptional<z.ZodString>;
177
- participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
178
- description: z.ZodOptional<z.ZodString>;
179
- }>, "strip", z.ZodTypeAny, {
180
- id: string;
181
- tenant: string;
182
- model_ver: number;
183
- title: string;
184
- type: "event" | "meeting" | "file" | "note" | "data";
185
- date: Date;
186
- relevance_score: number;
187
- ref?: any;
188
- created_at?: Date | null | undefined;
189
- updated_at?: Date | null | undefined;
190
- deleted_at?: Date | null | undefined;
191
- description?: string | undefined;
192
- tags?: {
193
- name: string;
194
- hidden: boolean;
195
- color?: string | undefined;
196
- }[] | null | undefined;
197
- participants?: string[] | undefined;
198
- metadata?: Record<string, any> | undefined;
199
- structured_data?: any;
200
- embeddings?: number[] | undefined;
201
- start_time?: Date | undefined;
202
- end_time?: Date | undefined;
203
- location?: string | undefined;
146
+ file_name: z.ZodString;
147
+ file_type: z.ZodString;
148
+ storage_location: z.ZodString;
149
+ extracted_text: z.ZodOptional<z.ZodString>;
150
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
151
+ id: z.ZodString;
152
+ ref: z.ZodAny;
153
+ tenant: z.ZodString;
154
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
155
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
156
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
157
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
204
158
  }, {
205
- id: string;
206
- tenant: string;
207
- title: string;
208
- type: "event" | "meeting" | "file" | "note" | "data";
209
- date: Date;
210
- relevance_score: number;
211
- ref?: any;
212
- model_ver?: number | undefined;
213
- created_at?: Date | null | undefined;
214
- updated_at?: Date | null | undefined;
215
- deleted_at?: Date | null | undefined;
216
- description?: string | undefined;
217
- tags?: {
218
- name: string;
219
- hidden: boolean;
220
- color?: string | undefined;
221
- }[] | null | undefined;
222
- participants?: string[] | undefined;
223
- metadata?: Record<string, any> | undefined;
224
- structured_data?: any;
225
- embeddings?: number[] | undefined;
226
- start_time?: Date | undefined;
227
- end_time?: Date | undefined;
228
- location?: string | undefined;
229
- }>;
230
- export declare const zMeetingAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
159
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
160
+ relevance_score: z.ZodNumber;
161
+ structured_data: z.ZodOptional<z.ZodAny>;
162
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
163
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
164
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
165
+ name: z.ZodString;
166
+ color: z.ZodOptional<z.ZodString>;
167
+ hidden: z.ZodBoolean;
168
+ }, "strip", z.ZodTypeAny, {
169
+ name: string;
170
+ hidden: boolean;
171
+ color?: string | undefined;
172
+ }, {
173
+ name: string;
174
+ hidden: boolean;
175
+ color?: string | undefined;
176
+ }>, "many">>>;
177
+ }>, {
178
+ file_name: z.ZodString;
179
+ file_type: z.ZodString;
180
+ storage_location: z.ZodString;
181
+ extracted_text: z.ZodOptional<z.ZodString>;
182
+ }>, z.ZodTypeAny, "passthrough">>;
183
+ export declare const zCalendarEventAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
231
184
  id: z.ZodString;
232
185
  ref: z.ZodAny;
233
186
  tenant: z.ZodString;
@@ -262,65 +215,7 @@ export declare const zMeetingAssetSchema: z.ZodObject<z.objectUtil.extendShape<z
262
215
  location: z.ZodOptional<z.ZodString>;
263
216
  participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
264
217
  description: z.ZodOptional<z.ZodString>;
265
- }>, {
266
- agenda: z.ZodOptional<z.ZodString>;
267
- notes: z.ZodOptional<z.ZodString>;
268
- }>, "strip", z.ZodTypeAny, {
269
- id: string;
270
- tenant: string;
271
- model_ver: number;
272
- title: string;
273
- type: "event" | "meeting" | "file" | "note" | "data";
274
- date: Date;
275
- relevance_score: number;
276
- ref?: any;
277
- created_at?: Date | null | undefined;
278
- updated_at?: Date | null | undefined;
279
- deleted_at?: Date | null | undefined;
280
- description?: string | undefined;
281
- tags?: {
282
- name: string;
283
- hidden: boolean;
284
- color?: string | undefined;
285
- }[] | null | undefined;
286
- participants?: string[] | undefined;
287
- metadata?: Record<string, any> | undefined;
288
- notes?: string | undefined;
289
- structured_data?: any;
290
- embeddings?: number[] | undefined;
291
- start_time?: Date | undefined;
292
- end_time?: Date | undefined;
293
- location?: string | undefined;
294
- agenda?: string | undefined;
295
- }, {
296
- id: string;
297
- tenant: string;
298
- title: string;
299
- type: "event" | "meeting" | "file" | "note" | "data";
300
- date: Date;
301
- relevance_score: number;
302
- ref?: any;
303
- model_ver?: number | undefined;
304
- created_at?: Date | null | undefined;
305
- updated_at?: Date | null | undefined;
306
- deleted_at?: Date | null | undefined;
307
- description?: string | undefined;
308
- tags?: {
309
- name: string;
310
- hidden: boolean;
311
- color?: string | undefined;
312
- }[] | null | undefined;
313
- participants?: string[] | undefined;
314
- metadata?: Record<string, any> | undefined;
315
- notes?: string | undefined;
316
- structured_data?: any;
317
- embeddings?: number[] | undefined;
318
- start_time?: Date | undefined;
319
- end_time?: Date | undefined;
320
- location?: string | undefined;
321
- agenda?: string | undefined;
322
- }>;
323
- export declare const zNoteAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
218
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
324
219
  id: z.ZodString;
325
220
  ref: z.ZodAny;
326
221
  tenant: z.ZodString;
@@ -348,50 +243,14 @@ export declare const zNoteAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
348
243
  color?: string | undefined;
349
244
  }>, "many">>>;
350
245
  }>, {
351
- title: z.ZodOptional<z.ZodString>;
352
- content: z.ZodString;
353
- }>, "strip", z.ZodTypeAny, {
354
- id: string;
355
- tenant: string;
356
- model_ver: number;
357
- type: "event" | "meeting" | "file" | "note" | "data";
358
- relevance_score: number;
359
- content: string;
360
- ref?: any;
361
- created_at?: Date | null | undefined;
362
- updated_at?: Date | null | undefined;
363
- deleted_at?: Date | null | undefined;
364
- title?: string | undefined;
365
- tags?: {
366
- name: string;
367
- hidden: boolean;
368
- color?: string | undefined;
369
- }[] | null | undefined;
370
- metadata?: Record<string, any> | undefined;
371
- structured_data?: any;
372
- embeddings?: number[] | undefined;
373
- }, {
374
- id: string;
375
- tenant: string;
376
- type: "event" | "meeting" | "file" | "note" | "data";
377
- relevance_score: number;
378
- content: string;
379
- ref?: any;
380
- model_ver?: number | undefined;
381
- created_at?: Date | null | undefined;
382
- updated_at?: Date | null | undefined;
383
- deleted_at?: Date | null | undefined;
384
- title?: string | undefined;
385
- tags?: {
386
- name: string;
387
- hidden: boolean;
388
- color?: string | undefined;
389
- }[] | null | undefined;
390
- metadata?: Record<string, any> | undefined;
391
- structured_data?: any;
392
- embeddings?: number[] | undefined;
393
- }>;
394
- export declare const zStructuredDataAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
246
+ title: z.ZodString;
247
+ date: z.ZodDate;
248
+ start_time: z.ZodOptional<z.ZodDate>;
249
+ end_time: z.ZodOptional<z.ZodDate>;
250
+ location: z.ZodOptional<z.ZodString>;
251
+ participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
+ description: z.ZodOptional<z.ZodString>;
253
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
395
254
  id: z.ZodString;
396
255
  ref: z.ZodAny;
397
256
  tenant: z.ZodString;
@@ -419,50 +278,15 @@ export declare const zStructuredDataAssetSchema: z.ZodObject<z.objectUtil.extend
419
278
  color?: string | undefined;
420
279
  }>, "many">>>;
421
280
  }>, {
422
- data: z.ZodOptional<z.ZodAny>;
423
- schema: z.ZodOptional<z.ZodString>;
424
- }>, "strip", z.ZodTypeAny, {
425
- id: string;
426
- tenant: string;
427
- model_ver: number;
428
- type: "event" | "meeting" | "file" | "note" | "data";
429
- relevance_score: number;
430
- ref?: any;
431
- created_at?: Date | null | undefined;
432
- updated_at?: Date | null | undefined;
433
- deleted_at?: Date | null | undefined;
434
- tags?: {
435
- name: string;
436
- hidden: boolean;
437
- color?: string | undefined;
438
- }[] | null | undefined;
439
- metadata?: Record<string, any> | undefined;
440
- schema?: string | undefined;
441
- data?: any;
442
- structured_data?: any;
443
- embeddings?: number[] | undefined;
444
- }, {
445
- id: string;
446
- tenant: string;
447
- type: "event" | "meeting" | "file" | "note" | "data";
448
- relevance_score: number;
449
- ref?: any;
450
- model_ver?: number | undefined;
451
- created_at?: Date | null | undefined;
452
- updated_at?: Date | null | undefined;
453
- deleted_at?: Date | null | undefined;
454
- tags?: {
455
- name: string;
456
- hidden: boolean;
457
- color?: string | undefined;
458
- }[] | null | undefined;
459
- metadata?: Record<string, any> | undefined;
460
- schema?: string | undefined;
461
- data?: any;
462
- structured_data?: any;
463
- embeddings?: number[] | undefined;
464
- }>;
465
- export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
281
+ title: z.ZodString;
282
+ date: z.ZodDate;
283
+ start_time: z.ZodOptional<z.ZodDate>;
284
+ end_time: z.ZodOptional<z.ZodDate>;
285
+ location: z.ZodOptional<z.ZodString>;
286
+ participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
287
+ description: z.ZodOptional<z.ZodString>;
288
+ }>, z.ZodTypeAny, "passthrough">>;
289
+ export declare const zMeetingAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
466
290
  id: z.ZodString;
467
291
  ref: z.ZodAny;
468
292
  tenant: z.ZodString;
@@ -490,55 +314,17 @@ export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
490
314
  color?: string | undefined;
491
315
  }>, "many">>>;
492
316
  }>, {
493
- file_name: z.ZodString;
494
- file_type: z.ZodString;
495
- storage_location: z.ZodString;
496
- extracted_text: z.ZodOptional<z.ZodString>;
497
- }>, "strip", z.ZodTypeAny, {
498
- id: string;
499
- tenant: string;
500
- model_ver: number;
501
- type: "event" | "meeting" | "file" | "note" | "data";
502
- relevance_score: number;
503
- file_name: string;
504
- file_type: string;
505
- storage_location: string;
506
- ref?: any;
507
- created_at?: Date | null | undefined;
508
- updated_at?: Date | null | undefined;
509
- deleted_at?: Date | null | undefined;
510
- tags?: {
511
- name: string;
512
- hidden: boolean;
513
- color?: string | undefined;
514
- }[] | null | undefined;
515
- metadata?: Record<string, any> | undefined;
516
- structured_data?: any;
517
- embeddings?: number[] | undefined;
518
- extracted_text?: string | undefined;
519
- }, {
520
- id: string;
521
- tenant: string;
522
- type: "event" | "meeting" | "file" | "note" | "data";
523
- relevance_score: number;
524
- file_name: string;
525
- file_type: string;
526
- storage_location: string;
527
- ref?: any;
528
- model_ver?: number | undefined;
529
- created_at?: Date | null | undefined;
530
- updated_at?: Date | null | undefined;
531
- deleted_at?: Date | null | undefined;
532
- tags?: {
533
- name: string;
534
- hidden: boolean;
535
- color?: string | undefined;
536
- }[] | null | undefined;
537
- metadata?: Record<string, any> | undefined;
538
- structured_data?: any;
539
- embeddings?: number[] | undefined;
540
- extracted_text?: string | undefined;
541
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
317
+ title: z.ZodString;
318
+ date: z.ZodDate;
319
+ start_time: z.ZodOptional<z.ZodDate>;
320
+ end_time: z.ZodOptional<z.ZodDate>;
321
+ location: z.ZodOptional<z.ZodString>;
322
+ participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
323
+ description: z.ZodOptional<z.ZodString>;
324
+ }>, {
325
+ agenda: z.ZodOptional<z.ZodString>;
326
+ notes: z.ZodOptional<z.ZodString>;
327
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
542
328
  id: z.ZodString;
543
329
  ref: z.ZodAny;
544
330
  tenant: z.ZodString;
@@ -573,57 +359,10 @@ export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
573
359
  location: z.ZodOptional<z.ZodString>;
574
360
  participants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
575
361
  description: z.ZodOptional<z.ZodString>;
576
- }>, "strip", z.ZodTypeAny, {
577
- id: string;
578
- tenant: string;
579
- model_ver: number;
580
- title: string;
581
- type: "event" | "meeting" | "file" | "note" | "data";
582
- date: Date;
583
- relevance_score: number;
584
- ref?: any;
585
- created_at?: Date | null | undefined;
586
- updated_at?: Date | null | undefined;
587
- deleted_at?: Date | null | undefined;
588
- description?: string | undefined;
589
- tags?: {
590
- name: string;
591
- hidden: boolean;
592
- color?: string | undefined;
593
- }[] | null | undefined;
594
- participants?: string[] | undefined;
595
- metadata?: Record<string, any> | undefined;
596
- structured_data?: any;
597
- embeddings?: number[] | undefined;
598
- start_time?: Date | undefined;
599
- end_time?: Date | undefined;
600
- location?: string | undefined;
601
- }, {
602
- id: string;
603
- tenant: string;
604
- title: string;
605
- type: "event" | "meeting" | "file" | "note" | "data";
606
- date: Date;
607
- relevance_score: number;
608
- ref?: any;
609
- model_ver?: number | undefined;
610
- created_at?: Date | null | undefined;
611
- updated_at?: Date | null | undefined;
612
- deleted_at?: Date | null | undefined;
613
- description?: string | undefined;
614
- tags?: {
615
- name: string;
616
- hidden: boolean;
617
- color?: string | undefined;
618
- }[] | null | undefined;
619
- participants?: string[] | undefined;
620
- metadata?: Record<string, any> | undefined;
621
- structured_data?: any;
622
- embeddings?: number[] | undefined;
623
- start_time?: Date | undefined;
624
- end_time?: Date | undefined;
625
- location?: string | undefined;
626
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
362
+ }>, {
363
+ agenda: z.ZodOptional<z.ZodString>;
364
+ notes: z.ZodOptional<z.ZodString>;
365
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
627
366
  id: z.ZodString;
628
367
  ref: z.ZodAny;
629
368
  tenant: z.ZodString;
@@ -661,61 +400,68 @@ export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
661
400
  }>, {
662
401
  agenda: z.ZodOptional<z.ZodString>;
663
402
  notes: z.ZodOptional<z.ZodString>;
664
- }>, "strip", z.ZodTypeAny, {
665
- id: string;
666
- tenant: string;
667
- model_ver: number;
668
- title: string;
669
- type: "event" | "meeting" | "file" | "note" | "data";
670
- date: Date;
671
- relevance_score: number;
672
- ref?: any;
673
- created_at?: Date | null | undefined;
674
- updated_at?: Date | null | undefined;
675
- deleted_at?: Date | null | undefined;
676
- description?: string | undefined;
677
- tags?: {
678
- name: string;
679
- hidden: boolean;
680
- color?: string | undefined;
681
- }[] | null | undefined;
682
- participants?: string[] | undefined;
683
- metadata?: Record<string, any> | undefined;
684
- notes?: string | undefined;
685
- structured_data?: any;
686
- embeddings?: number[] | undefined;
687
- start_time?: Date | undefined;
688
- end_time?: Date | undefined;
689
- location?: string | undefined;
690
- agenda?: string | undefined;
403
+ }>, z.ZodTypeAny, "passthrough">>;
404
+ export declare const zNoteAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
405
+ id: z.ZodString;
406
+ ref: z.ZodAny;
407
+ tenant: z.ZodString;
408
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
409
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
410
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
411
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
412
+ }, {
413
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
414
+ relevance_score: z.ZodNumber;
415
+ structured_data: z.ZodOptional<z.ZodAny>;
416
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
417
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
418
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
419
+ name: z.ZodString;
420
+ color: z.ZodOptional<z.ZodString>;
421
+ hidden: z.ZodBoolean;
422
+ }, "strip", z.ZodTypeAny, {
423
+ name: string;
424
+ hidden: boolean;
425
+ color?: string | undefined;
426
+ }, {
427
+ name: string;
428
+ hidden: boolean;
429
+ color?: string | undefined;
430
+ }>, "many">>>;
431
+ }>, {
432
+ title: z.ZodOptional<z.ZodString>;
433
+ content: z.ZodString;
434
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
435
+ id: z.ZodString;
436
+ ref: z.ZodAny;
437
+ tenant: z.ZodString;
438
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
439
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
440
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
441
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
691
442
  }, {
692
- id: string;
693
- tenant: string;
694
- title: string;
695
- type: "event" | "meeting" | "file" | "note" | "data";
696
- date: Date;
697
- relevance_score: number;
698
- ref?: any;
699
- model_ver?: number | undefined;
700
- created_at?: Date | null | undefined;
701
- updated_at?: Date | null | undefined;
702
- deleted_at?: Date | null | undefined;
703
- description?: string | undefined;
704
- tags?: {
705
- name: string;
706
- hidden: boolean;
707
- color?: string | undefined;
708
- }[] | null | undefined;
709
- participants?: string[] | undefined;
710
- metadata?: Record<string, any> | undefined;
711
- notes?: string | undefined;
712
- structured_data?: any;
713
- embeddings?: number[] | undefined;
714
- start_time?: Date | undefined;
715
- end_time?: Date | undefined;
716
- location?: string | undefined;
717
- agenda?: string | undefined;
718
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
443
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
444
+ relevance_score: z.ZodNumber;
445
+ structured_data: z.ZodOptional<z.ZodAny>;
446
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
447
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
448
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
449
+ name: z.ZodString;
450
+ color: z.ZodOptional<z.ZodString>;
451
+ hidden: z.ZodBoolean;
452
+ }, "strip", z.ZodTypeAny, {
453
+ name: string;
454
+ hidden: boolean;
455
+ color?: string | undefined;
456
+ }, {
457
+ name: string;
458
+ hidden: boolean;
459
+ color?: string | undefined;
460
+ }>, "many">>>;
461
+ }>, {
462
+ title: z.ZodOptional<z.ZodString>;
463
+ content: z.ZodString;
464
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
719
465
  id: z.ZodString;
720
466
  ref: z.ZodAny;
721
467
  tenant: z.ZodString;
@@ -745,47 +491,38 @@ export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
745
491
  }>, {
746
492
  title: z.ZodOptional<z.ZodString>;
747
493
  content: z.ZodString;
748
- }>, "strip", z.ZodTypeAny, {
749
- id: string;
750
- tenant: string;
751
- model_ver: number;
752
- type: "event" | "meeting" | "file" | "note" | "data";
753
- relevance_score: number;
754
- content: string;
755
- ref?: any;
756
- created_at?: Date | null | undefined;
757
- updated_at?: Date | null | undefined;
758
- deleted_at?: Date | null | undefined;
759
- title?: string | undefined;
760
- tags?: {
761
- name: string;
762
- hidden: boolean;
763
- color?: string | undefined;
764
- }[] | null | undefined;
765
- metadata?: Record<string, any> | undefined;
766
- structured_data?: any;
767
- embeddings?: number[] | undefined;
494
+ }>, z.ZodTypeAny, "passthrough">>;
495
+ export declare const zStructuredDataAssetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
496
+ id: z.ZodString;
497
+ ref: z.ZodAny;
498
+ tenant: z.ZodString;
499
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
500
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
501
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
502
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
768
503
  }, {
769
- id: string;
770
- tenant: string;
771
- type: "event" | "meeting" | "file" | "note" | "data";
772
- relevance_score: number;
773
- content: string;
774
- ref?: any;
775
- model_ver?: number | undefined;
776
- created_at?: Date | null | undefined;
777
- updated_at?: Date | null | undefined;
778
- deleted_at?: Date | null | undefined;
779
- title?: string | undefined;
780
- tags?: {
781
- name: string;
782
- hidden: boolean;
783
- color?: string | undefined;
784
- }[] | null | undefined;
785
- metadata?: Record<string, any> | undefined;
786
- structured_data?: any;
787
- embeddings?: number[] | undefined;
788
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
504
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
505
+ relevance_score: z.ZodNumber;
506
+ structured_data: z.ZodOptional<z.ZodAny>;
507
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
508
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
509
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
510
+ name: z.ZodString;
511
+ color: z.ZodOptional<z.ZodString>;
512
+ hidden: z.ZodBoolean;
513
+ }, "strip", z.ZodTypeAny, {
514
+ name: string;
515
+ hidden: boolean;
516
+ color?: string | undefined;
517
+ }, {
518
+ name: string;
519
+ hidden: boolean;
520
+ color?: string | undefined;
521
+ }>, "many">>>;
522
+ }>, {
523
+ data: z.ZodOptional<z.ZodAny>;
524
+ schema: z.ZodOptional<z.ZodString>;
525
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
789
526
  id: z.ZodString;
790
527
  ref: z.ZodAny;
791
528
  tenant: z.ZodString;
@@ -815,44 +552,34 @@ export declare const zAssetSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
815
552
  }>, {
816
553
  data: z.ZodOptional<z.ZodAny>;
817
554
  schema: z.ZodOptional<z.ZodString>;
818
- }>, "strip", z.ZodTypeAny, {
819
- id: string;
820
- tenant: string;
821
- model_ver: number;
822
- type: "event" | "meeting" | "file" | "note" | "data";
823
- relevance_score: number;
824
- ref?: any;
825
- created_at?: Date | null | undefined;
826
- updated_at?: Date | null | undefined;
827
- deleted_at?: Date | null | undefined;
828
- tags?: {
829
- name: string;
830
- hidden: boolean;
831
- color?: string | undefined;
832
- }[] | null | undefined;
833
- metadata?: Record<string, any> | undefined;
834
- schema?: string | undefined;
835
- data?: any;
836
- structured_data?: any;
837
- embeddings?: number[] | undefined;
555
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
556
+ id: z.ZodString;
557
+ ref: z.ZodAny;
558
+ tenant: z.ZodString;
559
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
560
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
561
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
562
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
838
563
  }, {
839
- id: string;
840
- tenant: string;
841
- type: "event" | "meeting" | "file" | "note" | "data";
842
- relevance_score: number;
843
- ref?: any;
844
- model_ver?: number | undefined;
845
- created_at?: Date | null | undefined;
846
- updated_at?: Date | null | undefined;
847
- deleted_at?: Date | null | undefined;
848
- tags?: {
849
- name: string;
850
- hidden: boolean;
851
- color?: string | undefined;
852
- }[] | null | undefined;
853
- metadata?: Record<string, any> | undefined;
854
- schema?: string | undefined;
855
- data?: any;
856
- structured_data?: any;
857
- embeddings?: number[] | undefined;
858
- }>]>;
564
+ type: z.ZodEnum<["file", "event", "meeting", "note", "data"]>;
565
+ relevance_score: z.ZodNumber;
566
+ structured_data: z.ZodOptional<z.ZodAny>;
567
+ embeddings: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
568
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
569
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
570
+ name: z.ZodString;
571
+ color: z.ZodOptional<z.ZodString>;
572
+ hidden: z.ZodBoolean;
573
+ }, "strip", z.ZodTypeAny, {
574
+ name: string;
575
+ hidden: boolean;
576
+ color?: string | undefined;
577
+ }, {
578
+ name: string;
579
+ hidden: boolean;
580
+ color?: string | undefined;
581
+ }>, "many">>>;
582
+ }>, {
583
+ data: z.ZodOptional<z.ZodAny>;
584
+ schema: z.ZodOptional<z.ZodString>;
585
+ }>, z.ZodTypeAny, "passthrough">>;
@@ -1,8 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zAssetSchema = exports.zStructuredDataAssetSchema = exports.zNoteAssetSchema = exports.zMeetingAssetSchema = exports.zCalendarEventAssetSchema = exports.zFileAssetSchema = exports.zBaseAssetSchema = exports.zAssetTypeSchema = void 0;
3
+ exports.zStructuredDataAssetSchema = exports.zNoteAssetSchema = exports.zMeetingAssetSchema = exports.zCalendarEventAssetSchema = exports.zFileAssetSchema = exports.zBaseAssetSchema = exports.zAssetTypeSchema = exports.zCakeAssetActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
+ exports.zCakeAssetActionSchema = zod_1.z.enum([
7
+ "CREATE_CAKE_ASSET",
8
+ "DELETE_CAKE_ASSET",
9
+ "UPDATE_CAKE_ASSET",
10
+ "PROCESS_CAKE_ASSET",
11
+ "CLASSIFY_CAKE_ASSET",
12
+ "EXTRACT_TEXT_CAKE_ASSET",
13
+ "OCR_CAKE_ASSET",
14
+ "METADATA_EXTRACTION_CAKE_ASSET",
15
+ "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
16
+ "UPDATE_ASSET_STATUS_CAKE_ASSET",
17
+ "UPDATE_ASSET_TAGS_CAKE_ASSET",
18
+ "PROCESS_CAKE_ASSET_FAILED",
19
+ "CLASSIFY_CAKE_ASSET_FAILED",
20
+ "EXTRACT_TEXT_CAKE_ASSET_FAILED",
21
+ "STORE_CAKE_ASSET",
22
+ "RETRIEVE_CAKE_ASSET",
23
+ ]);
6
24
  exports.zAssetTypeSchema = zod_1.z.enum([
7
25
  "file",
8
26
  "event",
@@ -11,14 +29,16 @@ exports.zAssetTypeSchema = zod_1.z.enum([
11
29
  "data",
12
30
  ]);
13
31
  // Base schema for all assets
14
- exports.zBaseAssetSchema = zod_schemas_1.zFireDocSchema.extend({
32
+ exports.zBaseAssetSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
33
+ .extend({
15
34
  type: exports.zAssetTypeSchema,
16
35
  relevance_score: zod_1.z.number().min(0).max(1),
17
36
  structured_data: (0, zod_1.any)().optional(),
18
37
  embeddings: zod_1.z.array(zod_1.z.number()).optional(),
19
38
  metadata: zod_1.z.record(zod_1.z.any()).optional(),
20
39
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
21
- });
40
+ })
41
+ .passthrough();
22
42
  // Schema for file assets
23
43
  exports.zFileAssetSchema = exports.zBaseAssetSchema.extend({
24
44
  file_name: zod_1.z.string(),
@@ -51,11 +71,3 @@ exports.zStructuredDataAssetSchema = exports.zBaseAssetSchema.extend({
51
71
  data: (0, zod_1.any)().optional(),
52
72
  schema: zod_1.z.string().optional(),
53
73
  });
54
- // Generic schema for any asset type. This is important for validating assets of unknown type.
55
- exports.zAssetSchema = zod_1.z.union([
56
- exports.zFileAssetSchema,
57
- exports.zCalendarEventAssetSchema,
58
- exports.zMeetingAssetSchema,
59
- exports.zNoteAssetSchema,
60
- exports.zStructuredDataAssetSchema,
61
- ]);
@@ -1,6 +1,25 @@
1
1
  import { any, z } from "zod";
2
2
  import { zFireDocSchema, zTagSchema } from "../shared/zod-schemas";
3
3
 
4
+ export const zCakeAssetActionSchema = z.enum([
5
+ "CREATE_CAKE_ASSET",
6
+ "DELETE_CAKE_ASSET",
7
+ "UPDATE_CAKE_ASSET",
8
+ "PROCESS_CAKE_ASSET",
9
+ "CLASSIFY_CAKE_ASSET",
10
+ "EXTRACT_TEXT_CAKE_ASSET",
11
+ "OCR_CAKE_ASSET",
12
+ "METADATA_EXTRACTION_CAKE_ASSET",
13
+ "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
14
+ "UPDATE_ASSET_STATUS_CAKE_ASSET",
15
+ "UPDATE_ASSET_TAGS_CAKE_ASSET",
16
+ "PROCESS_CAKE_ASSET_FAILED",
17
+ "CLASSIFY_CAKE_ASSET_FAILED",
18
+ "EXTRACT_TEXT_CAKE_ASSET_FAILED",
19
+ "STORE_CAKE_ASSET",
20
+ "RETRIEVE_CAKE_ASSET",
21
+ ]);
22
+
4
23
  export const zAssetTypeSchema = z.enum([
5
24
  "file",
6
25
  "event",
@@ -10,14 +29,16 @@ export const zAssetTypeSchema = z.enum([
10
29
  ]);
11
30
 
12
31
  // Base schema for all assets
13
- export const zBaseAssetSchema = zFireDocSchema.extend({
14
- type: zAssetTypeSchema,
15
- relevance_score: z.number().min(0).max(1), // Relevance score between 0 and 1
16
- structured_data: any().optional(),
17
- embeddings: z.array(z.number()).optional(), // Array of numbers for embeddings
18
- metadata: z.record(z.any()).optional(), // Additional metadata
19
- tags: z.array(zTagSchema).nullable().optional(),
20
- });
32
+ export const zBaseAssetSchema = zFireDocSchema // Extend from FireDocSchema
33
+ .extend({
34
+ type: zAssetTypeSchema,
35
+ relevance_score: z.number().min(0).max(1), // Relevance score between 0 and 1
36
+ structured_data: any().optional(),
37
+ embeddings: z.array(z.number()).optional(), // Array of numbers for embeddings
38
+ metadata: z.record(z.any()).optional(), // Additional metadata
39
+ tags: z.array(zTagSchema).nullable().optional(),
40
+ })
41
+ .passthrough();
21
42
 
22
43
  // Schema for file assets
23
44
  export const zFileAssetSchema = zBaseAssetSchema.extend({
@@ -55,12 +76,3 @@ export const zStructuredDataAssetSchema = zBaseAssetSchema.extend({
55
76
  data: any().optional(),
56
77
  schema: z.string().optional(),
57
78
  });
58
-
59
- // Generic schema for any asset type. This is important for validating assets of unknown type.
60
- export const zAssetSchema = z.union([
61
- zFileAssetSchema,
62
- zCalendarEventAssetSchema,
63
- zMeetingAssetSchema,
64
- zNoteAssetSchema,
65
- zStructuredDataAssetSchema,
66
- ]);
@@ -71,8 +71,8 @@ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
71
71
  hidden: boolean;
72
72
  color?: string | undefined;
73
73
  }[] | null | undefined;
74
- templateRef?: any;
75
74
  notes?: string | undefined;
75
+ templateRef?: any;
76
76
  }, {
77
77
  title: string;
78
78
  discussed: boolean;
@@ -84,8 +84,8 @@ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
84
84
  hidden: boolean;
85
85
  color?: string | undefined;
86
86
  }[] | null | undefined;
87
- templateRef?: any;
88
87
  notes?: string | undefined;
88
+ templateRef?: any;
89
89
  }>;
90
90
  export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
91
91
  id: z.ZodString;
@@ -171,8 +171,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
171
171
  hidden: boolean;
172
172
  color?: string | undefined;
173
173
  }[] | null | undefined;
174
- templateRef?: any;
175
174
  notes?: string | undefined;
175
+ templateRef?: any;
176
176
  }, {
177
177
  title: string;
178
178
  discussed: boolean;
@@ -184,8 +184,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
184
184
  hidden: boolean;
185
185
  color?: string | undefined;
186
186
  }[] | null | undefined;
187
- templateRef?: any;
188
187
  notes?: string | undefined;
188
+ templateRef?: any;
189
189
  }>, "many">>;
190
190
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
191
191
  name: z.ZodString;
@@ -284,8 +284,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
284
284
  hidden: boolean;
285
285
  color?: string | undefined;
286
286
  }[] | null | undefined;
287
- templateRef?: any;
288
287
  notes?: string | undefined;
288
+ templateRef?: any;
289
289
  }, {
290
290
  title: string;
291
291
  discussed: boolean;
@@ -297,8 +297,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
297
297
  hidden: boolean;
298
298
  color?: string | undefined;
299
299
  }[] | null | undefined;
300
- templateRef?: any;
301
300
  notes?: string | undefined;
301
+ templateRef?: any;
302
302
  }>, "many">>;
303
303
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
304
304
  name: z.ZodString;
@@ -397,8 +397,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
397
397
  hidden: boolean;
398
398
  color?: string | undefined;
399
399
  }[] | null | undefined;
400
- templateRef?: any;
401
400
  notes?: string | undefined;
401
+ templateRef?: any;
402
402
  }, {
403
403
  title: string;
404
404
  discussed: boolean;
@@ -410,8 +410,8 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
410
410
  hidden: boolean;
411
411
  color?: string | undefined;
412
412
  }[] | null | undefined;
413
- templateRef?: any;
414
413
  notes?: string | undefined;
414
+ templateRef?: any;
415
415
  }>, "many">>;
416
416
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
417
417
  name: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./types/evo-people";
7
7
  export * from "./types/evo-calendar";
8
8
  export * from "./types/evo-task";
9
9
  export * from "./types/evo-survey";
10
+ export * from "./types/evo-cake";
10
11
  export * from "./types/evo-meeting";
11
12
 
12
13
  // zod schemas
@@ -18,4 +19,5 @@ export * from "./apps/evo-people/zod-schemas";
18
19
  export * from "./apps/evo-calendar/zod-schemas";
19
20
  export * from "./apps/evo-task/zod-schemas";
20
21
  export * from "./apps/evo-survey/zod-schemas";
22
+ export * from "./apps/evo-cake/zod-schemas";
21
23
  export * from "./apps/evo-meeting/zod-schemas";
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ __exportStar(require("./types/evo-people"), exports);
23
23
  __exportStar(require("./types/evo-calendar"), exports);
24
24
  __exportStar(require("./types/evo-task"), exports);
25
25
  __exportStar(require("./types/evo-survey"), exports);
26
+ __exportStar(require("./types/evo-cake"), exports);
26
27
  __exportStar(require("./types/evo-meeting"), exports);
27
28
  // zod schemas
28
29
  __exportStar(require("./apps/shared/zod-schemas"), exports);
@@ -33,4 +34,5 @@ __exportStar(require("./apps/evo-people/zod-schemas"), exports);
33
34
  __exportStar(require("./apps/evo-calendar/zod-schemas"), exports);
34
35
  __exportStar(require("./apps/evo-task/zod-schemas"), exports);
35
36
  __exportStar(require("./apps/evo-survey/zod-schemas"), exports);
37
+ __exportStar(require("./apps/evo-cake/zod-schemas"), exports);
36
38
  __exportStar(require("./apps/evo-meeting/zod-schemas"), exports);
package/dist/index.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./types/evo-people";
7
7
  export * from "./types/evo-calendar";
8
8
  export * from "./types/evo-task";
9
9
  export * from "./types/evo-survey";
10
+ export * from "./types/evo-cake";
10
11
  export * from "./types/evo-meeting";
11
12
 
12
13
  // zod schemas
@@ -18,4 +19,5 @@ export * from "./apps/evo-people/zod-schemas";
18
19
  export * from "./apps/evo-calendar/zod-schemas";
19
20
  export * from "./apps/evo-task/zod-schemas";
20
21
  export * from "./apps/evo-survey/zod-schemas";
22
+ export * from "./apps/evo-cake/zod-schemas";
21
23
  export * from "./apps/evo-meeting/zod-schemas";
@@ -1,5 +1,24 @@
1
1
  export * from "./fb_collections";
2
2
  import type { IFireDoc, ITag } from "../shared";
3
+ export type CakeAssetAction = "CREATE_CAKE_ASSET" | "DELETE_CAKE_ASSET" | "UPDATE_CAKE_ASSET" | "PROCESS_CAKE_ASSET" | "CLASSIFY_CAKE_ASSET" | "EXTRACT_TEXT_CAKE_ASSET" | "OCR_CAKE_ASSET" | "METADATA_EXTRACTION_CAKE_ASSET" | "UPDATE_RELEVANCE_SCORE_CAKE_ASSET" | "UPDATE_ASSET_STATUS_CAKE_ASSET" | "UPDATE_ASSET_TAGS_CAKE_ASSET" | "PROCESS_CAKE_ASSET_FAILED" | "CLASSIFY_CAKE_ASSET_FAILED" | "EXTRACT_TEXT_CAKE_ASSET_FAILED" | "STORE_CAKE_ASSET" | "RETRIEVE_CAKE_ASSET";
4
+ export declare enum ICakeAssetAction {
5
+ Create_cake_asset = "CREATE_CAKE_ASSET",
6
+ Delete_cake_asset = "DELETE_CAKE_ASSET",
7
+ Update_cake_asset = "UPDATE_CAKE_ASSET",
8
+ Process_cake_asset = "PROCESS_CAKE_ASSET",
9
+ Classify_cake_asset = "CLASSIFY_CAKE_ASSET",
10
+ Extract_text_cake_asset = "EXTRACT_TEXT_CAKE_ASSET",
11
+ Ocr_cake_asset = "OCR_CAKE_ASSET",
12
+ Metadata_extraction_cake_asset = "METADATA_EXTRACTION_CAKE_ASSET",
13
+ Update_relevance_score_cake_asset = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
14
+ Update_asset_status_cake_asset = "UPDATE_ASSET_STATUS_CAKE_ASSET",
15
+ Update_asset_tags_cake_asset = "UPDATE_ASSET_TAGS_CAKE_ASSET",
16
+ Process_cake_asset_failed = "PROCESS_CAKE_ASSET_FAILED",
17
+ Classify_cake_asset_failed = "CLASSIFY_CAKE_ASSET_FAILED",
18
+ Extract_text_cake_asset_failed = "EXTRACT_TEXT_CAKE_ASSET_FAILED",
19
+ Store_cake_asset = "STORE_CAKE_ASSET",
20
+ Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET"
21
+ }
3
22
  export type AssetType = "file" | "event" | "meeting" | "note" | "data";
4
23
  export declare enum IAssetType {
5
24
  File = "file",
@@ -14,8 +14,32 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.IAssetType = void 0;
17
+ exports.IAssetType = exports.ICakeAssetAction = void 0;
18
18
  __exportStar(require("./fb_collections"), exports);
19
+ var ICakeAssetAction;
20
+ (function (ICakeAssetAction) {
21
+ // Ações principais sobre o asset
22
+ ICakeAssetAction["Create_cake_asset"] = "CREATE_CAKE_ASSET";
23
+ ICakeAssetAction["Delete_cake_asset"] = "DELETE_CAKE_ASSET";
24
+ ICakeAssetAction["Update_cake_asset"] = "UPDATE_CAKE_ASSET";
25
+ // Ações de processamento
26
+ ICakeAssetAction["Process_cake_asset"] = "PROCESS_CAKE_ASSET";
27
+ ICakeAssetAction["Classify_cake_asset"] = "CLASSIFY_CAKE_ASSET";
28
+ ICakeAssetAction["Extract_text_cake_asset"] = "EXTRACT_TEXT_CAKE_ASSET";
29
+ ICakeAssetAction["Ocr_cake_asset"] = "OCR_CAKE_ASSET";
30
+ ICakeAssetAction["Metadata_extraction_cake_asset"] = "METADATA_EXTRACTION_CAKE_ASSET";
31
+ // Ações de atualização de metadados
32
+ ICakeAssetAction["Update_relevance_score_cake_asset"] = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET";
33
+ ICakeAssetAction["Update_asset_status_cake_asset"] = "UPDATE_ASSET_STATUS_CAKE_ASSET";
34
+ ICakeAssetAction["Update_asset_tags_cake_asset"] = "UPDATE_ASSET_TAGS_CAKE_ASSET";
35
+ // Ações relacionadas a erros
36
+ ICakeAssetAction["Process_cake_asset_failed"] = "PROCESS_CAKE_ASSET_FAILED";
37
+ ICakeAssetAction["Classify_cake_asset_failed"] = "CLASSIFY_CAKE_ASSET_FAILED";
38
+ ICakeAssetAction["Extract_text_cake_asset_failed"] = "EXTRACT_TEXT_CAKE_ASSET_FAILED";
39
+ // Ações relacionadas a armazenamento
40
+ ICakeAssetAction["Store_cake_asset"] = "STORE_CAKE_ASSET";
41
+ ICakeAssetAction["Retrieve_cake_asset"] = "RETRIEVE_CAKE_ASSET";
42
+ })(ICakeAssetAction = exports.ICakeAssetAction || (exports.ICakeAssetAction = {}));
19
43
  // Enum for Asset Type
20
44
  var IAssetType;
21
45
  (function (IAssetType) {
@@ -1,6 +1,54 @@
1
1
  export * from "./fb_collections";
2
2
  import type { IFireDoc, ITag } from "../shared";
3
3
 
4
+ // Cake Asset
5
+
6
+ // Enum for Cake Asset Action - used in Asset tracking
7
+ export type CakeAssetAction =
8
+ | "CREATE_CAKE_ASSET"
9
+ | "DELETE_CAKE_ASSET"
10
+ | "UPDATE_CAKE_ASSET"
11
+ | "PROCESS_CAKE_ASSET"
12
+ | "CLASSIFY_CAKE_ASSET"
13
+ | "EXTRACT_TEXT_CAKE_ASSET"
14
+ | "OCR_CAKE_ASSET"
15
+ | "METADATA_EXTRACTION_CAKE_ASSET"
16
+ | "UPDATE_RELEVANCE_SCORE_CAKE_ASSET"
17
+ | "UPDATE_ASSET_STATUS_CAKE_ASSET"
18
+ | "UPDATE_ASSET_TAGS_CAKE_ASSET"
19
+ | "PROCESS_CAKE_ASSET_FAILED"
20
+ | "CLASSIFY_CAKE_ASSET_FAILED"
21
+ | "EXTRACT_TEXT_CAKE_ASSET_FAILED"
22
+ | "STORE_CAKE_ASSET"
23
+ | "RETRIEVE_CAKE_ASSET";
24
+ export enum ICakeAssetAction {
25
+ // Ações principais sobre o asset
26
+ Create_cake_asset = "CREATE_CAKE_ASSET",
27
+ Delete_cake_asset = "DELETE_CAKE_ASSET",
28
+ Update_cake_asset = "UPDATE_CAKE_ASSET",
29
+
30
+ // Ações de processamento
31
+ Process_cake_asset = "PROCESS_CAKE_ASSET", // Ação geral de processamento iniciada
32
+ Classify_cake_asset = "CLASSIFY_CAKE_ASSET", // Classificação do asset (ex: tipo de documento, linguagem)
33
+ Extract_text_cake_asset = "EXTRACT_TEXT_CAKE_ASSET", // Extração de texto do asset
34
+ Ocr_cake_asset = "OCR_CAKE_ASSET", // Processamento OCR se aplicável
35
+ Metadata_extraction_cake_asset = "METADATA_EXTRACTION_CAKE_ASSET", // Extração de metadados
36
+
37
+ // Ações de atualização de metadados
38
+ Update_relevance_score_cake_asset = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
39
+ Update_asset_status_cake_asset = "UPDATE_ASSET_STATUS_CAKE_ASSET", // Ex: processando, processado, erro
40
+ Update_asset_tags_cake_asset = "UPDATE_ASSET_TAGS_CAKE_ASSET",
41
+
42
+ // Ações relacionadas a erros
43
+ Process_cake_asset_failed = "PROCESS_CAKE_ASSET_FAILED",
44
+ Classify_cake_asset_failed = "CLASSIFY_CAKE_ASSET_FAILED",
45
+ Extract_text_cake_asset_failed = "EXTRACT_TEXT_CAKE_ASSET_FAILED",
46
+
47
+ // Ações relacionadas a armazenamento
48
+ Store_cake_asset = "STORE_CAKE_ASSET", // Armazenamento do asset (ex: nuvem, banco de dados)
49
+ Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET", // Recuperação do asset
50
+ }
51
+
4
52
  // Enum for Asset Type
5
53
  export type AssetType = "file" | "event" | "meeting" | "note" | "data";
6
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.1.81",
3
+ "version": "1.1.83",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",