@voiceflow/dtos-interact 1.70.1-41df5cfd9b.4 → 1.71.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 (79) hide show
  1. package/build/cjs/main.d.ts +1 -1
  2. package/build/cjs/main.d.ts.map +1 -1
  3. package/build/cjs/main.js +1 -1
  4. package/build/cjs/main.js.map +1 -1
  5. package/build/cjs/request/any-request.dto.d.ts +0 -108
  6. package/build/cjs/request/any-request.dto.d.ts.map +1 -1
  7. package/build/cjs/request/any-request.dto.js +0 -2
  8. package/build/cjs/request/any-request.dto.js.map +1 -1
  9. package/build/cjs/request/request-type.enum.d.ts +0 -1
  10. package/build/cjs/request/request-type.enum.d.ts.map +1 -1
  11. package/build/cjs/request/request-type.enum.js +0 -1
  12. package/build/cjs/request/request-type.enum.js.map +1 -1
  13. package/build/cjs/socket/socket-action-send.dto.d.ts +0 -252
  14. package/build/cjs/socket/socket-action-send.dto.d.ts.map +1 -1
  15. package/build/cjs/socket/socket-action-trace.dto.d.ts +251 -16
  16. package/build/cjs/socket/socket-action-trace.dto.d.ts.map +1 -1
  17. package/build/cjs/socket/socket-message.dto.d.ts +502 -1040
  18. package/build/cjs/socket/socket-message.dto.d.ts.map +1 -1
  19. package/build/cjs/socket/socket-server-restart.dto.d.ts +0 -252
  20. package/build/cjs/socket/socket-server-restart.dto.d.ts.map +1 -1
  21. package/build/cjs/trace/any.dto.d.ts +139 -8
  22. package/build/cjs/trace/any.dto.d.ts.map +1 -1
  23. package/build/cjs/trace/any.dto.js +2 -0
  24. package/build/cjs/trace/any.dto.js.map +1 -1
  25. package/build/cjs/trace/live-agent-handoff.dto.d.ts +8 -8
  26. package/build/cjs/trace/tool-call.dto.d.ts +140 -0
  27. package/build/cjs/trace/tool-call.dto.d.ts.map +1 -0
  28. package/build/cjs/trace/tool-call.dto.js +28 -0
  29. package/build/cjs/trace/tool-call.dto.js.map +1 -0
  30. package/build/cjs/trace/trace-type.enum.d.ts +1 -0
  31. package/build/cjs/trace/trace-type.enum.d.ts.map +1 -1
  32. package/build/cjs/trace/trace-type.enum.js +1 -0
  33. package/build/cjs/trace/trace-type.enum.js.map +1 -1
  34. package/build/cjs/trace/utils.dto.d.ts +3 -2
  35. package/build/cjs/trace/utils.dto.d.ts.map +1 -1
  36. package/build/esm/main.d.ts +1 -1
  37. package/build/esm/main.d.ts.map +1 -1
  38. package/build/esm/main.js +1 -1
  39. package/build/esm/main.js.map +1 -1
  40. package/build/esm/request/any-request.dto.d.ts +0 -108
  41. package/build/esm/request/any-request.dto.d.ts.map +1 -1
  42. package/build/esm/request/any-request.dto.js +0 -2
  43. package/build/esm/request/any-request.dto.js.map +1 -1
  44. package/build/esm/request/request-type.enum.d.ts +0 -1
  45. package/build/esm/request/request-type.enum.d.ts.map +1 -1
  46. package/build/esm/request/request-type.enum.js +0 -1
  47. package/build/esm/request/request-type.enum.js.map +1 -1
  48. package/build/esm/socket/socket-action-send.dto.d.ts +0 -252
  49. package/build/esm/socket/socket-action-send.dto.d.ts.map +1 -1
  50. package/build/esm/socket/socket-action-trace.dto.d.ts +251 -16
  51. package/build/esm/socket/socket-action-trace.dto.d.ts.map +1 -1
  52. package/build/esm/socket/socket-message.dto.d.ts +502 -1040
  53. package/build/esm/socket/socket-message.dto.d.ts.map +1 -1
  54. package/build/esm/socket/socket-server-restart.dto.d.ts +0 -252
  55. package/build/esm/socket/socket-server-restart.dto.d.ts.map +1 -1
  56. package/build/esm/trace/any.dto.d.ts +139 -8
  57. package/build/esm/trace/any.dto.d.ts.map +1 -1
  58. package/build/esm/trace/any.dto.js +2 -0
  59. package/build/esm/trace/any.dto.js.map +1 -1
  60. package/build/esm/trace/live-agent-handoff.dto.d.ts +8 -8
  61. package/build/esm/trace/tool-call.dto.d.ts +140 -0
  62. package/build/esm/trace/tool-call.dto.d.ts.map +1 -0
  63. package/build/esm/trace/tool-call.dto.js +25 -0
  64. package/build/esm/trace/tool-call.dto.js.map +1 -0
  65. package/build/esm/trace/trace-type.enum.d.ts +1 -0
  66. package/build/esm/trace/trace-type.enum.d.ts.map +1 -1
  67. package/build/esm/trace/trace-type.enum.js +1 -0
  68. package/build/esm/trace/trace-type.enum.js.map +1 -1
  69. package/build/esm/trace/utils.dto.d.ts +3 -2
  70. package/build/esm/trace/utils.dto.d.ts.map +1 -1
  71. package/package.json +2 -2
  72. package/build/cjs/request/file-request.dto.d.ts +0 -127
  73. package/build/cjs/request/file-request.dto.d.ts.map +0 -1
  74. package/build/cjs/request/file-request.dto.js +0 -23
  75. package/build/cjs/request/file-request.dto.js.map +0 -1
  76. package/build/esm/request/file-request.dto.d.ts +0 -127
  77. package/build/esm/request/file-request.dto.d.ts.map +0 -1
  78. package/build/esm/request/file-request.dto.js +0 -19
  79. package/build/esm/request/file-request.dto.js.map +0 -1
@@ -294,114 +294,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
294
294
  diagramID: z.ZodOptional<z.ZodString>;
295
295
  time: z.ZodOptional<z.ZodNumber>;
296
296
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
297
- } & {
298
- type: z.ZodLiteral<"file">;
299
- payload: z.ZodObject<{
300
- text: z.ZodOptional<z.ZodString>;
301
- files: z.ZodArray<z.ZodObject<{
302
- url: z.ZodString;
303
- mimeType: z.ZodString;
304
- filename: z.ZodOptional<z.ZodString>;
305
- }, "strip", z.ZodTypeAny, {
306
- url: string;
307
- mimeType: string;
308
- filename?: string | undefined;
309
- }, {
310
- url: string;
311
- mimeType: string;
312
- filename?: string | undefined;
313
- }>, "many">;
314
- }, "strip", z.ZodTypeAny, {
315
- files: {
316
- url: string;
317
- mimeType: string;
318
- filename?: string | undefined;
319
- }[];
320
- text?: string | undefined;
321
- }, {
322
- files: {
323
- url: string;
324
- mimeType: string;
325
- filename?: string | undefined;
326
- }[];
327
- text?: string | undefined;
328
- }>;
329
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
330
- diagramID: z.ZodOptional<z.ZodString>;
331
- time: z.ZodOptional<z.ZodNumber>;
332
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
- } & {
334
- type: z.ZodLiteral<"file">;
335
- payload: z.ZodObject<{
336
- text: z.ZodOptional<z.ZodString>;
337
- files: z.ZodArray<z.ZodObject<{
338
- url: z.ZodString;
339
- mimeType: z.ZodString;
340
- filename: z.ZodOptional<z.ZodString>;
341
- }, "strip", z.ZodTypeAny, {
342
- url: string;
343
- mimeType: string;
344
- filename?: string | undefined;
345
- }, {
346
- url: string;
347
- mimeType: string;
348
- filename?: string | undefined;
349
- }>, "many">;
350
- }, "strip", z.ZodTypeAny, {
351
- files: {
352
- url: string;
353
- mimeType: string;
354
- filename?: string | undefined;
355
- }[];
356
- text?: string | undefined;
357
- }, {
358
- files: {
359
- url: string;
360
- mimeType: string;
361
- filename?: string | undefined;
362
- }[];
363
- text?: string | undefined;
364
- }>;
365
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
366
- diagramID: z.ZodOptional<z.ZodString>;
367
- time: z.ZodOptional<z.ZodNumber>;
368
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
369
- } & {
370
- type: z.ZodLiteral<"file">;
371
- payload: z.ZodObject<{
372
- text: z.ZodOptional<z.ZodString>;
373
- files: z.ZodArray<z.ZodObject<{
374
- url: z.ZodString;
375
- mimeType: z.ZodString;
376
- filename: z.ZodOptional<z.ZodString>;
377
- }, "strip", z.ZodTypeAny, {
378
- url: string;
379
- mimeType: string;
380
- filename?: string | undefined;
381
- }, {
382
- url: string;
383
- mimeType: string;
384
- filename?: string | undefined;
385
- }>, "many">;
386
- }, "strip", z.ZodTypeAny, {
387
- files: {
388
- url: string;
389
- mimeType: string;
390
- filename?: string | undefined;
391
- }[];
392
- text?: string | undefined;
393
- }, {
394
- files: {
395
- url: string;
396
- mimeType: string;
397
- filename?: string | undefined;
398
- }[];
399
- text?: string | undefined;
400
- }>;
401
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
402
- diagramID: z.ZodOptional<z.ZodString>;
403
- time: z.ZodOptional<z.ZodNumber>;
404
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
405
297
  } & {
406
298
  type: z.ZodLiteral<"action">;
407
299
  payload: z.ZodOptional<z.ZodObject<{
@@ -2170,42 +2062,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
2170
2062
  diagramID: z.ZodOptional<z.ZodString>;
2171
2063
  time: z.ZodOptional<z.ZodNumber>;
2172
2064
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2173
- } & {
2174
- type: z.ZodLiteral<"file">;
2175
- payload: z.ZodObject<{
2176
- text: z.ZodOptional<z.ZodString>;
2177
- files: z.ZodArray<z.ZodObject<{
2178
- url: z.ZodString;
2179
- mimeType: z.ZodString;
2180
- filename: z.ZodOptional<z.ZodString>;
2181
- }, "strip", z.ZodTypeAny, {
2182
- url: string;
2183
- mimeType: string;
2184
- filename?: string | undefined;
2185
- }, {
2186
- url: string;
2187
- mimeType: string;
2188
- filename?: string | undefined;
2189
- }>, "many">;
2190
- }, "strip", z.ZodTypeAny, {
2191
- files: {
2192
- url: string;
2193
- mimeType: string;
2194
- filename?: string | undefined;
2195
- }[];
2196
- text?: string | undefined;
2197
- }, {
2198
- files: {
2199
- url: string;
2200
- mimeType: string;
2201
- filename?: string | undefined;
2202
- }[];
2203
- text?: string | undefined;
2204
- }>;
2205
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
2206
- diagramID: z.ZodOptional<z.ZodString>;
2207
- time: z.ZodOptional<z.ZodNumber>;
2208
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2209
2065
  } & {
2210
2066
  type: z.ZodEffects<z.ZodString, string, string>;
2211
2067
  payload: z.ZodOptional<z.ZodObject<{
@@ -2759,42 +2615,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
2759
2615
  diagramID: z.ZodOptional<z.ZodString>;
2760
2616
  time: z.ZodOptional<z.ZodNumber>;
2761
2617
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2762
- } & {
2763
- type: z.ZodLiteral<"file">;
2764
- payload: z.ZodObject<{
2765
- text: z.ZodOptional<z.ZodString>;
2766
- files: z.ZodArray<z.ZodObject<{
2767
- url: z.ZodString;
2768
- mimeType: z.ZodString;
2769
- filename: z.ZodOptional<z.ZodString>;
2770
- }, "strip", z.ZodTypeAny, {
2771
- url: string;
2772
- mimeType: string;
2773
- filename?: string | undefined;
2774
- }, {
2775
- url: string;
2776
- mimeType: string;
2777
- filename?: string | undefined;
2778
- }>, "many">;
2779
- }, "strip", z.ZodTypeAny, {
2780
- files: {
2781
- url: string;
2782
- mimeType: string;
2783
- filename?: string | undefined;
2784
- }[];
2785
- text?: string | undefined;
2786
- }, {
2787
- files: {
2788
- url: string;
2789
- mimeType: string;
2790
- filename?: string | undefined;
2791
- }[];
2792
- text?: string | undefined;
2793
- }>;
2794
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
2795
- diagramID: z.ZodOptional<z.ZodString>;
2796
- time: z.ZodOptional<z.ZodNumber>;
2797
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2798
2618
  } & {
2799
2619
  type: z.ZodEffects<z.ZodString, string, string>;
2800
2620
  payload: z.ZodOptional<z.ZodObject<{
@@ -3351,42 +3171,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
3351
3171
  diagramID: z.ZodOptional<z.ZodString>;
3352
3172
  time: z.ZodOptional<z.ZodNumber>;
3353
3173
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3354
- } & {
3355
- type: z.ZodLiteral<"file">;
3356
- payload: z.ZodObject<{
3357
- text: z.ZodOptional<z.ZodString>;
3358
- files: z.ZodArray<z.ZodObject<{
3359
- url: z.ZodString;
3360
- mimeType: z.ZodString;
3361
- filename: z.ZodOptional<z.ZodString>;
3362
- }, "strip", z.ZodTypeAny, {
3363
- url: string;
3364
- mimeType: string;
3365
- filename?: string | undefined;
3366
- }, {
3367
- url: string;
3368
- mimeType: string;
3369
- filename?: string | undefined;
3370
- }>, "many">;
3371
- }, "strip", z.ZodTypeAny, {
3372
- files: {
3373
- url: string;
3374
- mimeType: string;
3375
- filename?: string | undefined;
3376
- }[];
3377
- text?: string | undefined;
3378
- }, {
3379
- files: {
3380
- url: string;
3381
- mimeType: string;
3382
- filename?: string | undefined;
3383
- }[];
3384
- text?: string | undefined;
3385
- }>;
3386
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
3387
- diagramID: z.ZodOptional<z.ZodString>;
3388
- time: z.ZodOptional<z.ZodNumber>;
3389
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3390
3174
  } & {
3391
3175
  type: z.ZodEffects<z.ZodString, string, string>;
3392
3176
  payload: z.ZodOptional<z.ZodObject<{
@@ -3943,42 +3727,6 @@ export declare const SocketClientMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
3943
3727
  diagramID: z.ZodOptional<z.ZodString>;
3944
3728
  time: z.ZodOptional<z.ZodNumber>;
3945
3729
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3946
- } & {
3947
- type: z.ZodLiteral<"file">;
3948
- payload: z.ZodObject<{
3949
- text: z.ZodOptional<z.ZodString>;
3950
- files: z.ZodArray<z.ZodObject<{
3951
- url: z.ZodString;
3952
- mimeType: z.ZodString;
3953
- filename: z.ZodOptional<z.ZodString>;
3954
- }, "strip", z.ZodTypeAny, {
3955
- url: string;
3956
- mimeType: string;
3957
- filename?: string | undefined;
3958
- }, {
3959
- url: string;
3960
- mimeType: string;
3961
- filename?: string | undefined;
3962
- }>, "many">;
3963
- }, "strip", z.ZodTypeAny, {
3964
- files: {
3965
- url: string;
3966
- mimeType: string;
3967
- filename?: string | undefined;
3968
- }[];
3969
- text?: string | undefined;
3970
- }, {
3971
- files: {
3972
- url: string;
3973
- mimeType: string;
3974
- filename?: string | undefined;
3975
- }[];
3976
- text?: string | undefined;
3977
- }>;
3978
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3979
- diagramID: z.ZodOptional<z.ZodString>;
3980
- time: z.ZodOptional<z.ZodNumber>;
3981
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3982
3730
  } & {
3983
3731
  type: z.ZodEffects<z.ZodString, string, string>;
3984
3732
  payload: z.ZodOptional<z.ZodObject<{
@@ -10995,13 +10743,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10995
10743
  }>;
10996
10744
  }, "strip", z.ZodTypeAny, {
10997
10745
  message: string;
10746
+ event: "file_received";
10747
+ conversationID: string;
10998
10748
  file: {
10999
10749
  url: string;
11000
10750
  name: string;
11001
10751
  type?: string | undefined;
11002
10752
  };
11003
- event: "file_received";
11004
- conversationID: string;
11005
10753
  agent?: {
11006
10754
  name: string;
11007
10755
  imageUrl?: string | undefined;
@@ -11010,13 +10758,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11010
10758
  translationParams?: Record<string, string> | undefined;
11011
10759
  }, {
11012
10760
  message: string;
10761
+ event: "file_received";
10762
+ conversationID: string;
11013
10763
  file: {
11014
10764
  url: string;
11015
10765
  name: string;
11016
10766
  type?: string | undefined;
11017
10767
  };
11018
- event: "file_received";
11019
- conversationID: string;
11020
10768
  agent?: {
11021
10769
  name: string;
11022
10770
  imageUrl?: string | undefined;
@@ -11092,13 +10840,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11092
10840
  provider?: "ujet" | "genesys" | undefined;
11093
10841
  } | {
11094
10842
  message: string;
10843
+ event: "file_received";
10844
+ conversationID: string;
11095
10845
  file: {
11096
10846
  url: string;
11097
10847
  name: string;
11098
10848
  type?: string | undefined;
11099
10849
  };
11100
- event: "file_received";
11101
- conversationID: string;
11102
10850
  agent?: {
11103
10851
  name: string;
11104
10852
  imageUrl?: string | undefined;
@@ -11161,13 +10909,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11161
10909
  provider?: "ujet" | "genesys" | undefined;
11162
10910
  } | {
11163
10911
  message: string;
10912
+ event: "file_received";
10913
+ conversationID: string;
11164
10914
  file: {
11165
10915
  url: string;
11166
10916
  name: string;
11167
10917
  type?: string | undefined;
11168
10918
  };
11169
- event: "file_received";
11170
- conversationID: string;
11171
10919
  agent?: {
11172
10920
  name: string;
11173
10921
  imageUrl?: string | undefined;
@@ -11199,6 +10947,137 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11199
10947
  defaultPath?: number | undefined;
11200
10948
  turnID?: string | undefined;
11201
10949
  handleID?: string | undefined;
10950
+ }>, z.ZodObject<{
10951
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
10952
+ label: z.ZodOptional<z.ZodString>;
10953
+ event: z.ZodOptional<z.ZodObject<{
10954
+ type: z.ZodString;
10955
+ payload: z.ZodOptional<z.ZodAny>;
10956
+ diagramID: z.ZodOptional<z.ZodString>;
10957
+ time: z.ZodOptional<z.ZodNumber>;
10958
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10959
+ }, "strip", z.ZodTypeAny, {
10960
+ type: string;
10961
+ payload?: any;
10962
+ diagramID?: string | undefined;
10963
+ time?: number | undefined;
10964
+ metadata?: Record<string, unknown> | undefined;
10965
+ }, {
10966
+ type: string;
10967
+ payload?: any;
10968
+ diagramID?: string | undefined;
10969
+ time?: number | undefined;
10970
+ metadata?: Record<string, unknown> | undefined;
10971
+ }>>;
10972
+ }, "strip", z.ZodTypeAny, {
10973
+ label?: string | undefined;
10974
+ event?: {
10975
+ type: string;
10976
+ payload?: any;
10977
+ diagramID?: string | undefined;
10978
+ time?: number | undefined;
10979
+ metadata?: Record<string, unknown> | undefined;
10980
+ } | undefined;
10981
+ }, {
10982
+ label?: string | undefined;
10983
+ event?: {
10984
+ type: string;
10985
+ payload?: any;
10986
+ diagramID?: string | undefined;
10987
+ time?: number | undefined;
10988
+ metadata?: Record<string, unknown> | undefined;
10989
+ } | undefined;
10990
+ }>, "many">>;
10991
+ defaultPath: z.ZodOptional<z.ZodNumber>;
10992
+ time: z.ZodOptional<z.ZodNumber>;
10993
+ turnID: z.ZodOptional<z.ZodString>;
10994
+ handleID: z.ZodOptional<z.ZodString>;
10995
+ } & {
10996
+ type: z.ZodLiteral<"tool-call">;
10997
+ payload: z.ZodUnion<[z.ZodObject<{
10998
+ callID: z.ZodString;
10999
+ sound: z.ZodOptional<z.ZodObject<{
11000
+ ref: z.ZodString;
11001
+ }, "strip", z.ZodTypeAny, {
11002
+ ref: string;
11003
+ }, {
11004
+ ref: string;
11005
+ }>>;
11006
+ state: z.ZodLiteral<"start">;
11007
+ }, "strip", z.ZodTypeAny, {
11008
+ state: "start";
11009
+ callID: string;
11010
+ sound?: {
11011
+ ref: string;
11012
+ } | undefined;
11013
+ }, {
11014
+ state: "start";
11015
+ callID: string;
11016
+ sound?: {
11017
+ ref: string;
11018
+ } | undefined;
11019
+ }>, z.ZodObject<{
11020
+ state: z.ZodLiteral<"end">;
11021
+ callID: z.ZodString;
11022
+ }, "strip", z.ZodTypeAny, {
11023
+ state: "end";
11024
+ callID: string;
11025
+ }, {
11026
+ state: "end";
11027
+ callID: string;
11028
+ }>]>;
11029
+ }, "strip", z.ZodTypeAny, {
11030
+ type: "tool-call";
11031
+ payload: {
11032
+ state: "start";
11033
+ callID: string;
11034
+ sound?: {
11035
+ ref: string;
11036
+ } | undefined;
11037
+ } | {
11038
+ state: "end";
11039
+ callID: string;
11040
+ };
11041
+ time?: number | undefined;
11042
+ paths?: {
11043
+ label?: string | undefined;
11044
+ event?: {
11045
+ type: string;
11046
+ payload?: any;
11047
+ diagramID?: string | undefined;
11048
+ time?: number | undefined;
11049
+ metadata?: Record<string, unknown> | undefined;
11050
+ } | undefined;
11051
+ }[] | undefined;
11052
+ defaultPath?: number | undefined;
11053
+ turnID?: string | undefined;
11054
+ handleID?: string | undefined;
11055
+ }, {
11056
+ type: "tool-call";
11057
+ payload: {
11058
+ state: "start";
11059
+ callID: string;
11060
+ sound?: {
11061
+ ref: string;
11062
+ } | undefined;
11063
+ } | {
11064
+ state: "end";
11065
+ callID: string;
11066
+ };
11067
+ time?: number | undefined;
11068
+ paths?: {
11069
+ label?: string | undefined;
11070
+ event?: {
11071
+ type: string;
11072
+ payload?: any;
11073
+ diagramID?: string | undefined;
11074
+ time?: number | undefined;
11075
+ metadata?: Record<string, unknown> | undefined;
11076
+ } | undefined;
11077
+ }[] | undefined;
11078
+ defaultPath?: number | undefined;
11079
+ turnID?: string | undefined;
11080
+ handleID?: string | undefined;
11202
11081
  }>]>;
11203
11082
  messageID: z.ZodString;
11204
11083
  }, "strip", z.ZodTypeAny, {
@@ -11969,13 +11848,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11969
11848
  provider?: "ujet" | "genesys" | undefined;
11970
11849
  } | {
11971
11850
  message: string;
11851
+ event: "file_received";
11852
+ conversationID: string;
11972
11853
  file: {
11973
11854
  url: string;
11974
11855
  name: string;
11975
11856
  type?: string | undefined;
11976
11857
  };
11977
- event: "file_received";
11978
- conversationID: string;
11979
11858
  agent?: {
11980
11859
  name: string;
11981
11860
  imageUrl?: string | undefined;
@@ -12250,6 +12129,32 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
12250
12129
  defaultPath?: number | undefined;
12251
12130
  turnID?: string | undefined;
12252
12131
  handleID?: string | undefined;
12132
+ } | {
12133
+ type: "tool-call";
12134
+ payload: {
12135
+ state: "start";
12136
+ callID: string;
12137
+ sound?: {
12138
+ ref: string;
12139
+ } | undefined;
12140
+ } | {
12141
+ state: "end";
12142
+ callID: string;
12143
+ };
12144
+ time?: number | undefined;
12145
+ paths?: {
12146
+ label?: string | undefined;
12147
+ event?: {
12148
+ type: string;
12149
+ payload?: any;
12150
+ diagramID?: string | undefined;
12151
+ time?: number | undefined;
12152
+ metadata?: Record<string, unknown> | undefined;
12153
+ } | undefined;
12154
+ }[] | undefined;
12155
+ defaultPath?: number | undefined;
12156
+ turnID?: string | undefined;
12157
+ handleID?: string | undefined;
12253
12158
  } | {
12254
12159
  type: "visual";
12255
12160
  payload: {
@@ -13049,13 +12954,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
13049
12954
  provider?: "ujet" | "genesys" | undefined;
13050
12955
  } | {
13051
12956
  message: string;
12957
+ event: "file_received";
12958
+ conversationID: string;
13052
12959
  file: {
13053
12960
  url: string;
13054
12961
  name: string;
13055
12962
  type?: string | undefined;
13056
12963
  };
13057
- event: "file_received";
13058
- conversationID: string;
13059
12964
  agent?: {
13060
12965
  name: string;
13061
12966
  imageUrl?: string | undefined;
@@ -13330,6 +13235,32 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
13330
13235
  defaultPath?: number | undefined;
13331
13236
  turnID?: string | undefined;
13332
13237
  handleID?: string | undefined;
13238
+ } | {
13239
+ type: "tool-call";
13240
+ payload: {
13241
+ state: "start";
13242
+ callID: string;
13243
+ sound?: {
13244
+ ref: string;
13245
+ } | undefined;
13246
+ } | {
13247
+ state: "end";
13248
+ callID: string;
13249
+ };
13250
+ time?: number | undefined;
13251
+ paths?: {
13252
+ label?: string | undefined;
13253
+ event?: {
13254
+ type: string;
13255
+ payload?: any;
13256
+ diagramID?: string | undefined;
13257
+ time?: number | undefined;
13258
+ metadata?: Record<string, unknown> | undefined;
13259
+ } | undefined;
13260
+ }[] | undefined;
13261
+ defaultPath?: number | undefined;
13262
+ turnID?: string | undefined;
13263
+ handleID?: string | undefined;
13333
13264
  } | {
13334
13265
  type: "visual";
13335
13266
  payload: {
@@ -14132,13 +14063,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
14132
14063
  provider?: "ujet" | "genesys" | undefined;
14133
14064
  } | {
14134
14065
  message: string;
14066
+ event: "file_received";
14067
+ conversationID: string;
14135
14068
  file: {
14136
14069
  url: string;
14137
14070
  name: string;
14138
14071
  type?: string | undefined;
14139
14072
  };
14140
- event: "file_received";
14141
- conversationID: string;
14142
14073
  agent?: {
14143
14074
  name: string;
14144
14075
  imageUrl?: string | undefined;
@@ -14413,6 +14344,32 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
14413
14344
  defaultPath?: number | undefined;
14414
14345
  turnID?: string | undefined;
14415
14346
  handleID?: string | undefined;
14347
+ } | {
14348
+ type: "tool-call";
14349
+ payload: {
14350
+ state: "start";
14351
+ callID: string;
14352
+ sound?: {
14353
+ ref: string;
14354
+ } | undefined;
14355
+ } | {
14356
+ state: "end";
14357
+ callID: string;
14358
+ };
14359
+ time?: number | undefined;
14360
+ paths?: {
14361
+ label?: string | undefined;
14362
+ event?: {
14363
+ type: string;
14364
+ payload?: any;
14365
+ diagramID?: string | undefined;
14366
+ time?: number | undefined;
14367
+ metadata?: Record<string, unknown> | undefined;
14368
+ } | undefined;
14369
+ }[] | undefined;
14370
+ defaultPath?: number | undefined;
14371
+ turnID?: string | undefined;
14372
+ handleID?: string | undefined;
14416
14373
  } | {
14417
14374
  type: "visual";
14418
14375
  payload: {
@@ -15215,13 +15172,13 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
15215
15172
  provider?: "ujet" | "genesys" | undefined;
15216
15173
  } | {
15217
15174
  message: string;
15175
+ event: "file_received";
15176
+ conversationID: string;
15218
15177
  file: {
15219
15178
  url: string;
15220
15179
  name: string;
15221
15180
  type?: string | undefined;
15222
15181
  };
15223
- event: "file_received";
15224
- conversationID: string;
15225
15182
  agent?: {
15226
15183
  name: string;
15227
15184
  imageUrl?: string | undefined;
@@ -15496,6 +15453,32 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
15496
15453
  defaultPath?: number | undefined;
15497
15454
  turnID?: string | undefined;
15498
15455
  handleID?: string | undefined;
15456
+ } | {
15457
+ type: "tool-call";
15458
+ payload: {
15459
+ state: "start";
15460
+ callID: string;
15461
+ sound?: {
15462
+ ref: string;
15463
+ } | undefined;
15464
+ } | {
15465
+ state: "end";
15466
+ callID: string;
15467
+ };
15468
+ time?: number | undefined;
15469
+ paths?: {
15470
+ label?: string | undefined;
15471
+ event?: {
15472
+ type: string;
15473
+ payload?: any;
15474
+ diagramID?: string | undefined;
15475
+ time?: number | undefined;
15476
+ metadata?: Record<string, unknown> | undefined;
15477
+ } | undefined;
15478
+ }[] | undefined;
15479
+ defaultPath?: number | undefined;
15480
+ turnID?: string | undefined;
15481
+ handleID?: string | undefined;
15499
15482
  } | {
15500
15483
  type: "visual";
15501
15484
  payload: {
@@ -15632,114 +15615,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
15632
15615
  diagramID: z.ZodOptional<z.ZodString>;
15633
15616
  time: z.ZodOptional<z.ZodNumber>;
15634
15617
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15635
- } & {
15636
- type: z.ZodLiteral<"file">;
15637
- payload: z.ZodObject<{
15638
- text: z.ZodOptional<z.ZodString>;
15639
- files: z.ZodArray<z.ZodObject<{
15640
- url: z.ZodString;
15641
- mimeType: z.ZodString;
15642
- filename: z.ZodOptional<z.ZodString>;
15643
- }, "strip", z.ZodTypeAny, {
15644
- url: string;
15645
- mimeType: string;
15646
- filename?: string | undefined;
15647
- }, {
15648
- url: string;
15649
- mimeType: string;
15650
- filename?: string | undefined;
15651
- }>, "many">;
15652
- }, "strip", z.ZodTypeAny, {
15653
- files: {
15654
- url: string;
15655
- mimeType: string;
15656
- filename?: string | undefined;
15657
- }[];
15658
- text?: string | undefined;
15659
- }, {
15660
- files: {
15661
- url: string;
15662
- mimeType: string;
15663
- filename?: string | undefined;
15664
- }[];
15665
- text?: string | undefined;
15666
- }>;
15667
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15668
- diagramID: z.ZodOptional<z.ZodString>;
15669
- time: z.ZodOptional<z.ZodNumber>;
15670
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15671
- } & {
15672
- type: z.ZodLiteral<"file">;
15673
- payload: z.ZodObject<{
15674
- text: z.ZodOptional<z.ZodString>;
15675
- files: z.ZodArray<z.ZodObject<{
15676
- url: z.ZodString;
15677
- mimeType: z.ZodString;
15678
- filename: z.ZodOptional<z.ZodString>;
15679
- }, "strip", z.ZodTypeAny, {
15680
- url: string;
15681
- mimeType: string;
15682
- filename?: string | undefined;
15683
- }, {
15684
- url: string;
15685
- mimeType: string;
15686
- filename?: string | undefined;
15687
- }>, "many">;
15688
- }, "strip", z.ZodTypeAny, {
15689
- files: {
15690
- url: string;
15691
- mimeType: string;
15692
- filename?: string | undefined;
15693
- }[];
15694
- text?: string | undefined;
15695
- }, {
15696
- files: {
15697
- url: string;
15698
- mimeType: string;
15699
- filename?: string | undefined;
15700
- }[];
15701
- text?: string | undefined;
15702
- }>;
15703
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15704
- diagramID: z.ZodOptional<z.ZodString>;
15705
- time: z.ZodOptional<z.ZodNumber>;
15706
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15707
- } & {
15708
- type: z.ZodLiteral<"file">;
15709
- payload: z.ZodObject<{
15710
- text: z.ZodOptional<z.ZodString>;
15711
- files: z.ZodArray<z.ZodObject<{
15712
- url: z.ZodString;
15713
- mimeType: z.ZodString;
15714
- filename: z.ZodOptional<z.ZodString>;
15715
- }, "strip", z.ZodTypeAny, {
15716
- url: string;
15717
- mimeType: string;
15718
- filename?: string | undefined;
15719
- }, {
15720
- url: string;
15721
- mimeType: string;
15722
- filename?: string | undefined;
15723
- }>, "many">;
15724
- }, "strip", z.ZodTypeAny, {
15725
- files: {
15726
- url: string;
15727
- mimeType: string;
15728
- filename?: string | undefined;
15729
- }[];
15730
- text?: string | undefined;
15731
- }, {
15732
- files: {
15733
- url: string;
15734
- mimeType: string;
15735
- filename?: string | undefined;
15736
- }[];
15737
- text?: string | undefined;
15738
- }>;
15739
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
15740
- diagramID: z.ZodOptional<z.ZodString>;
15741
- time: z.ZodOptional<z.ZodNumber>;
15742
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15743
15618
  } & {
15744
15619
  type: z.ZodLiteral<"action">;
15745
15620
  payload: z.ZodOptional<z.ZodObject<{
@@ -17491,42 +17366,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
17491
17366
  diagramID: z.ZodOptional<z.ZodString>;
17492
17367
  time: z.ZodOptional<z.ZodNumber>;
17493
17368
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17494
- } & {
17495
- type: z.ZodLiteral<"file">;
17496
- payload: z.ZodObject<{
17497
- text: z.ZodOptional<z.ZodString>;
17498
- files: z.ZodArray<z.ZodObject<{
17499
- url: z.ZodString;
17500
- mimeType: z.ZodString;
17501
- filename: z.ZodOptional<z.ZodString>;
17502
- }, "strip", z.ZodTypeAny, {
17503
- url: string;
17504
- mimeType: string;
17505
- filename?: string | undefined;
17506
- }, {
17507
- url: string;
17508
- mimeType: string;
17509
- filename?: string | undefined;
17510
- }>, "many">;
17511
- }, "strip", z.ZodTypeAny, {
17512
- files: {
17513
- url: string;
17514
- mimeType: string;
17515
- filename?: string | undefined;
17516
- }[];
17517
- text?: string | undefined;
17518
- }, {
17519
- files: {
17520
- url: string;
17521
- mimeType: string;
17522
- filename?: string | undefined;
17523
- }[];
17524
- text?: string | undefined;
17525
- }>;
17526
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
17527
- diagramID: z.ZodOptional<z.ZodString>;
17528
- time: z.ZodOptional<z.ZodNumber>;
17529
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17530
17369
  } & {
17531
17370
  type: z.ZodEffects<z.ZodString, string, string>;
17532
17371
  payload: z.ZodOptional<z.ZodObject<{
@@ -18071,42 +17910,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
18071
17910
  diagramID: z.ZodOptional<z.ZodString>;
18072
17911
  time: z.ZodOptional<z.ZodNumber>;
18073
17912
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18074
- } & {
18075
- type: z.ZodLiteral<"file">;
18076
- payload: z.ZodObject<{
18077
- text: z.ZodOptional<z.ZodString>;
18078
- files: z.ZodArray<z.ZodObject<{
18079
- url: z.ZodString;
18080
- mimeType: z.ZodString;
18081
- filename: z.ZodOptional<z.ZodString>;
18082
- }, "strip", z.ZodTypeAny, {
18083
- url: string;
18084
- mimeType: string;
18085
- filename?: string | undefined;
18086
- }, {
18087
- url: string;
18088
- mimeType: string;
18089
- filename?: string | undefined;
18090
- }>, "many">;
18091
- }, "strip", z.ZodTypeAny, {
18092
- files: {
18093
- url: string;
18094
- mimeType: string;
18095
- filename?: string | undefined;
18096
- }[];
18097
- text?: string | undefined;
18098
- }, {
18099
- files: {
18100
- url: string;
18101
- mimeType: string;
18102
- filename?: string | undefined;
18103
- }[];
18104
- text?: string | undefined;
18105
- }>;
18106
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
18107
- diagramID: z.ZodOptional<z.ZodString>;
18108
- time: z.ZodOptional<z.ZodNumber>;
18109
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18110
17913
  } & {
18111
17914
  type: z.ZodEffects<z.ZodString, string, string>;
18112
17915
  payload: z.ZodOptional<z.ZodObject<{
@@ -18654,42 +18457,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
18654
18457
  diagramID: z.ZodOptional<z.ZodString>;
18655
18458
  time: z.ZodOptional<z.ZodNumber>;
18656
18459
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18657
- } & {
18658
- type: z.ZodLiteral<"file">;
18659
- payload: z.ZodObject<{
18660
- text: z.ZodOptional<z.ZodString>;
18661
- files: z.ZodArray<z.ZodObject<{
18662
- url: z.ZodString;
18663
- mimeType: z.ZodString;
18664
- filename: z.ZodOptional<z.ZodString>;
18665
- }, "strip", z.ZodTypeAny, {
18666
- url: string;
18667
- mimeType: string;
18668
- filename?: string | undefined;
18669
- }, {
18670
- url: string;
18671
- mimeType: string;
18672
- filename?: string | undefined;
18673
- }>, "many">;
18674
- }, "strip", z.ZodTypeAny, {
18675
- files: {
18676
- url: string;
18677
- mimeType: string;
18678
- filename?: string | undefined;
18679
- }[];
18680
- text?: string | undefined;
18681
- }, {
18682
- files: {
18683
- url: string;
18684
- mimeType: string;
18685
- filename?: string | undefined;
18686
- }[];
18687
- text?: string | undefined;
18688
- }>;
18689
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
18690
- diagramID: z.ZodOptional<z.ZodString>;
18691
- time: z.ZodOptional<z.ZodNumber>;
18692
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18693
18460
  } & {
18694
18461
  type: z.ZodEffects<z.ZodString, string, string>;
18695
18462
  payload: z.ZodOptional<z.ZodObject<{
@@ -19237,42 +19004,6 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
19237
19004
  diagramID: z.ZodOptional<z.ZodString>;
19238
19005
  time: z.ZodOptional<z.ZodNumber>;
19239
19006
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19240
- } & {
19241
- type: z.ZodLiteral<"file">;
19242
- payload: z.ZodObject<{
19243
- text: z.ZodOptional<z.ZodString>;
19244
- files: z.ZodArray<z.ZodObject<{
19245
- url: z.ZodString;
19246
- mimeType: z.ZodString;
19247
- filename: z.ZodOptional<z.ZodString>;
19248
- }, "strip", z.ZodTypeAny, {
19249
- url: string;
19250
- mimeType: string;
19251
- filename?: string | undefined;
19252
- }, {
19253
- url: string;
19254
- mimeType: string;
19255
- filename?: string | undefined;
19256
- }>, "many">;
19257
- }, "strip", z.ZodTypeAny, {
19258
- files: {
19259
- url: string;
19260
- mimeType: string;
19261
- filename?: string | undefined;
19262
- }[];
19263
- text?: string | undefined;
19264
- }, {
19265
- files: {
19266
- url: string;
19267
- mimeType: string;
19268
- filename?: string | undefined;
19269
- }[];
19270
- text?: string | undefined;
19271
- }>;
19272
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
19273
- diagramID: z.ZodOptional<z.ZodString>;
19274
- time: z.ZodOptional<z.ZodNumber>;
19275
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19276
19007
  } & {
19277
19008
  type: z.ZodEffects<z.ZodString, string, string>;
19278
19009
  payload: z.ZodOptional<z.ZodObject<{
@@ -20051,114 +19782,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
20051
19782
  diagramID: z.ZodOptional<z.ZodString>;
20052
19783
  time: z.ZodOptional<z.ZodNumber>;
20053
19784
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20054
- } & {
20055
- type: z.ZodLiteral<"file">;
20056
- payload: z.ZodObject<{
20057
- text: z.ZodOptional<z.ZodString>;
20058
- files: z.ZodArray<z.ZodObject<{
20059
- url: z.ZodString;
20060
- mimeType: z.ZodString;
20061
- filename: z.ZodOptional<z.ZodString>;
20062
- }, "strip", z.ZodTypeAny, {
20063
- url: string;
20064
- mimeType: string;
20065
- filename?: string | undefined;
20066
- }, {
20067
- url: string;
20068
- mimeType: string;
20069
- filename?: string | undefined;
20070
- }>, "many">;
20071
- }, "strip", z.ZodTypeAny, {
20072
- files: {
20073
- url: string;
20074
- mimeType: string;
20075
- filename?: string | undefined;
20076
- }[];
20077
- text?: string | undefined;
20078
- }, {
20079
- files: {
20080
- url: string;
20081
- mimeType: string;
20082
- filename?: string | undefined;
20083
- }[];
20084
- text?: string | undefined;
20085
- }>;
20086
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20087
- diagramID: z.ZodOptional<z.ZodString>;
20088
- time: z.ZodOptional<z.ZodNumber>;
20089
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20090
- } & {
20091
- type: z.ZodLiteral<"file">;
20092
- payload: z.ZodObject<{
20093
- text: z.ZodOptional<z.ZodString>;
20094
- files: z.ZodArray<z.ZodObject<{
20095
- url: z.ZodString;
20096
- mimeType: z.ZodString;
20097
- filename: z.ZodOptional<z.ZodString>;
20098
- }, "strip", z.ZodTypeAny, {
20099
- url: string;
20100
- mimeType: string;
20101
- filename?: string | undefined;
20102
- }, {
20103
- url: string;
20104
- mimeType: string;
20105
- filename?: string | undefined;
20106
- }>, "many">;
20107
- }, "strip", z.ZodTypeAny, {
20108
- files: {
20109
- url: string;
20110
- mimeType: string;
20111
- filename?: string | undefined;
20112
- }[];
20113
- text?: string | undefined;
20114
- }, {
20115
- files: {
20116
- url: string;
20117
- mimeType: string;
20118
- filename?: string | undefined;
20119
- }[];
20120
- text?: string | undefined;
20121
- }>;
20122
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20123
- diagramID: z.ZodOptional<z.ZodString>;
20124
- time: z.ZodOptional<z.ZodNumber>;
20125
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20126
- } & {
20127
- type: z.ZodLiteral<"file">;
20128
- payload: z.ZodObject<{
20129
- text: z.ZodOptional<z.ZodString>;
20130
- files: z.ZodArray<z.ZodObject<{
20131
- url: z.ZodString;
20132
- mimeType: z.ZodString;
20133
- filename: z.ZodOptional<z.ZodString>;
20134
- }, "strip", z.ZodTypeAny, {
20135
- url: string;
20136
- mimeType: string;
20137
- filename?: string | undefined;
20138
- }, {
20139
- url: string;
20140
- mimeType: string;
20141
- filename?: string | undefined;
20142
- }>, "many">;
20143
- }, "strip", z.ZodTypeAny, {
20144
- files: {
20145
- url: string;
20146
- mimeType: string;
20147
- filename?: string | undefined;
20148
- }[];
20149
- text?: string | undefined;
20150
- }, {
20151
- files: {
20152
- url: string;
20153
- mimeType: string;
20154
- filename?: string | undefined;
20155
- }[];
20156
- text?: string | undefined;
20157
- }>;
20158
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
20159
- diagramID: z.ZodOptional<z.ZodString>;
20160
- time: z.ZodOptional<z.ZodNumber>;
20161
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20162
19785
  } & {
20163
19786
  type: z.ZodLiteral<"action">;
20164
19787
  payload: z.ZodOptional<z.ZodObject<{
@@ -21927,42 +21550,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
21927
21550
  diagramID: z.ZodOptional<z.ZodString>;
21928
21551
  time: z.ZodOptional<z.ZodNumber>;
21929
21552
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21930
- } & {
21931
- type: z.ZodLiteral<"file">;
21932
- payload: z.ZodObject<{
21933
- text: z.ZodOptional<z.ZodString>;
21934
- files: z.ZodArray<z.ZodObject<{
21935
- url: z.ZodString;
21936
- mimeType: z.ZodString;
21937
- filename: z.ZodOptional<z.ZodString>;
21938
- }, "strip", z.ZodTypeAny, {
21939
- url: string;
21940
- mimeType: string;
21941
- filename?: string | undefined;
21942
- }, {
21943
- url: string;
21944
- mimeType: string;
21945
- filename?: string | undefined;
21946
- }>, "many">;
21947
- }, "strip", z.ZodTypeAny, {
21948
- files: {
21949
- url: string;
21950
- mimeType: string;
21951
- filename?: string | undefined;
21952
- }[];
21953
- text?: string | undefined;
21954
- }, {
21955
- files: {
21956
- url: string;
21957
- mimeType: string;
21958
- filename?: string | undefined;
21959
- }[];
21960
- text?: string | undefined;
21961
- }>;
21962
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
21963
- diagramID: z.ZodOptional<z.ZodString>;
21964
- time: z.ZodOptional<z.ZodNumber>;
21965
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21966
21553
  } & {
21967
21554
  type: z.ZodEffects<z.ZodString, string, string>;
21968
21555
  payload: z.ZodOptional<z.ZodObject<{
@@ -22516,42 +22103,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
22516
22103
  diagramID: z.ZodOptional<z.ZodString>;
22517
22104
  time: z.ZodOptional<z.ZodNumber>;
22518
22105
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22519
- } & {
22520
- type: z.ZodLiteral<"file">;
22521
- payload: z.ZodObject<{
22522
- text: z.ZodOptional<z.ZodString>;
22523
- files: z.ZodArray<z.ZodObject<{
22524
- url: z.ZodString;
22525
- mimeType: z.ZodString;
22526
- filename: z.ZodOptional<z.ZodString>;
22527
- }, "strip", z.ZodTypeAny, {
22528
- url: string;
22529
- mimeType: string;
22530
- filename?: string | undefined;
22531
- }, {
22532
- url: string;
22533
- mimeType: string;
22534
- filename?: string | undefined;
22535
- }>, "many">;
22536
- }, "strip", z.ZodTypeAny, {
22537
- files: {
22538
- url: string;
22539
- mimeType: string;
22540
- filename?: string | undefined;
22541
- }[];
22542
- text?: string | undefined;
22543
- }, {
22544
- files: {
22545
- url: string;
22546
- mimeType: string;
22547
- filename?: string | undefined;
22548
- }[];
22549
- text?: string | undefined;
22550
- }>;
22551
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
22552
- diagramID: z.ZodOptional<z.ZodString>;
22553
- time: z.ZodOptional<z.ZodNumber>;
22554
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22555
22106
  } & {
22556
22107
  type: z.ZodEffects<z.ZodString, string, string>;
22557
22108
  payload: z.ZodOptional<z.ZodObject<{
@@ -23108,42 +22659,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23108
22659
  diagramID: z.ZodOptional<z.ZodString>;
23109
22660
  time: z.ZodOptional<z.ZodNumber>;
23110
22661
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23111
- } & {
23112
- type: z.ZodLiteral<"file">;
23113
- payload: z.ZodObject<{
23114
- text: z.ZodOptional<z.ZodString>;
23115
- files: z.ZodArray<z.ZodObject<{
23116
- url: z.ZodString;
23117
- mimeType: z.ZodString;
23118
- filename: z.ZodOptional<z.ZodString>;
23119
- }, "strip", z.ZodTypeAny, {
23120
- url: string;
23121
- mimeType: string;
23122
- filename?: string | undefined;
23123
- }, {
23124
- url: string;
23125
- mimeType: string;
23126
- filename?: string | undefined;
23127
- }>, "many">;
23128
- }, "strip", z.ZodTypeAny, {
23129
- files: {
23130
- url: string;
23131
- mimeType: string;
23132
- filename?: string | undefined;
23133
- }[];
23134
- text?: string | undefined;
23135
- }, {
23136
- files: {
23137
- url: string;
23138
- mimeType: string;
23139
- filename?: string | undefined;
23140
- }[];
23141
- text?: string | undefined;
23142
- }>;
23143
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
23144
- diagramID: z.ZodOptional<z.ZodString>;
23145
- time: z.ZodOptional<z.ZodNumber>;
23146
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23147
22662
  } & {
23148
22663
  type: z.ZodEffects<z.ZodString, string, string>;
23149
22664
  payload: z.ZodOptional<z.ZodObject<{
@@ -23700,42 +23215,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
23700
23215
  diagramID: z.ZodOptional<z.ZodString>;
23701
23216
  time: z.ZodOptional<z.ZodNumber>;
23702
23217
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23703
- } & {
23704
- type: z.ZodLiteral<"file">;
23705
- payload: z.ZodObject<{
23706
- text: z.ZodOptional<z.ZodString>;
23707
- files: z.ZodArray<z.ZodObject<{
23708
- url: z.ZodString;
23709
- mimeType: z.ZodString;
23710
- filename: z.ZodOptional<z.ZodString>;
23711
- }, "strip", z.ZodTypeAny, {
23712
- url: string;
23713
- mimeType: string;
23714
- filename?: string | undefined;
23715
- }, {
23716
- url: string;
23717
- mimeType: string;
23718
- filename?: string | undefined;
23719
- }>, "many">;
23720
- }, "strip", z.ZodTypeAny, {
23721
- files: {
23722
- url: string;
23723
- mimeType: string;
23724
- filename?: string | undefined;
23725
- }[];
23726
- text?: string | undefined;
23727
- }, {
23728
- files: {
23729
- url: string;
23730
- mimeType: string;
23731
- filename?: string | undefined;
23732
- }[];
23733
- text?: string | undefined;
23734
- }>;
23735
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
23736
- diagramID: z.ZodOptional<z.ZodString>;
23737
- time: z.ZodOptional<z.ZodNumber>;
23738
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23739
23218
  } & {
23740
23219
  type: z.ZodEffects<z.ZodString, string, string>;
23741
23220
  payload: z.ZodOptional<z.ZodObject<{
@@ -30745,13 +30224,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
30745
30224
  }>;
30746
30225
  }, "strip", z.ZodTypeAny, {
30747
30226
  message: string;
30227
+ event: "file_received";
30228
+ conversationID: string;
30748
30229
  file: {
30749
30230
  url: string;
30750
30231
  name: string;
30751
30232
  type?: string | undefined;
30752
30233
  };
30753
- event: "file_received";
30754
- conversationID: string;
30755
30234
  agent?: {
30756
30235
  name: string;
30757
30236
  imageUrl?: string | undefined;
@@ -30760,13 +30239,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
30760
30239
  translationParams?: Record<string, string> | undefined;
30761
30240
  }, {
30762
30241
  message: string;
30242
+ event: "file_received";
30243
+ conversationID: string;
30763
30244
  file: {
30764
30245
  url: string;
30765
30246
  name: string;
30766
30247
  type?: string | undefined;
30767
30248
  };
30768
- event: "file_received";
30769
- conversationID: string;
30770
30249
  agent?: {
30771
30250
  name: string;
30772
30251
  imageUrl?: string | undefined;
@@ -30842,13 +30321,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
30842
30321
  provider?: "ujet" | "genesys" | undefined;
30843
30322
  } | {
30844
30323
  message: string;
30324
+ event: "file_received";
30325
+ conversationID: string;
30845
30326
  file: {
30846
30327
  url: string;
30847
30328
  name: string;
30848
30329
  type?: string | undefined;
30849
30330
  };
30850
- event: "file_received";
30851
- conversationID: string;
30852
30331
  agent?: {
30853
30332
  name: string;
30854
30333
  imageUrl?: string | undefined;
@@ -30911,13 +30390,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
30911
30390
  provider?: "ujet" | "genesys" | undefined;
30912
30391
  } | {
30913
30392
  message: string;
30393
+ event: "file_received";
30394
+ conversationID: string;
30914
30395
  file: {
30915
30396
  url: string;
30916
30397
  name: string;
30917
30398
  type?: string | undefined;
30918
30399
  };
30919
- event: "file_received";
30920
- conversationID: string;
30921
30400
  agent?: {
30922
30401
  name: string;
30923
30402
  imageUrl?: string | undefined;
@@ -30949,6 +30428,137 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
30949
30428
  defaultPath?: number | undefined;
30950
30429
  turnID?: string | undefined;
30951
30430
  handleID?: string | undefined;
30431
+ }>, z.ZodObject<{
30432
+ paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
30433
+ label: z.ZodOptional<z.ZodString>;
30434
+ event: z.ZodOptional<z.ZodObject<{
30435
+ type: z.ZodString;
30436
+ payload: z.ZodOptional<z.ZodAny>;
30437
+ diagramID: z.ZodOptional<z.ZodString>;
30438
+ time: z.ZodOptional<z.ZodNumber>;
30439
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30440
+ }, "strip", z.ZodTypeAny, {
30441
+ type: string;
30442
+ payload?: any;
30443
+ diagramID?: string | undefined;
30444
+ time?: number | undefined;
30445
+ metadata?: Record<string, unknown> | undefined;
30446
+ }, {
30447
+ type: string;
30448
+ payload?: any;
30449
+ diagramID?: string | undefined;
30450
+ time?: number | undefined;
30451
+ metadata?: Record<string, unknown> | undefined;
30452
+ }>>;
30453
+ }, "strip", z.ZodTypeAny, {
30454
+ label?: string | undefined;
30455
+ event?: {
30456
+ type: string;
30457
+ payload?: any;
30458
+ diagramID?: string | undefined;
30459
+ time?: number | undefined;
30460
+ metadata?: Record<string, unknown> | undefined;
30461
+ } | undefined;
30462
+ }, {
30463
+ label?: string | undefined;
30464
+ event?: {
30465
+ type: string;
30466
+ payload?: any;
30467
+ diagramID?: string | undefined;
30468
+ time?: number | undefined;
30469
+ metadata?: Record<string, unknown> | undefined;
30470
+ } | undefined;
30471
+ }>, "many">>;
30472
+ defaultPath: z.ZodOptional<z.ZodNumber>;
30473
+ time: z.ZodOptional<z.ZodNumber>;
30474
+ turnID: z.ZodOptional<z.ZodString>;
30475
+ handleID: z.ZodOptional<z.ZodString>;
30476
+ } & {
30477
+ type: z.ZodLiteral<"tool-call">;
30478
+ payload: z.ZodUnion<[z.ZodObject<{
30479
+ callID: z.ZodString;
30480
+ sound: z.ZodOptional<z.ZodObject<{
30481
+ ref: z.ZodString;
30482
+ }, "strip", z.ZodTypeAny, {
30483
+ ref: string;
30484
+ }, {
30485
+ ref: string;
30486
+ }>>;
30487
+ state: z.ZodLiteral<"start">;
30488
+ }, "strip", z.ZodTypeAny, {
30489
+ state: "start";
30490
+ callID: string;
30491
+ sound?: {
30492
+ ref: string;
30493
+ } | undefined;
30494
+ }, {
30495
+ state: "start";
30496
+ callID: string;
30497
+ sound?: {
30498
+ ref: string;
30499
+ } | undefined;
30500
+ }>, z.ZodObject<{
30501
+ state: z.ZodLiteral<"end">;
30502
+ callID: z.ZodString;
30503
+ }, "strip", z.ZodTypeAny, {
30504
+ state: "end";
30505
+ callID: string;
30506
+ }, {
30507
+ state: "end";
30508
+ callID: string;
30509
+ }>]>;
30510
+ }, "strip", z.ZodTypeAny, {
30511
+ type: "tool-call";
30512
+ payload: {
30513
+ state: "start";
30514
+ callID: string;
30515
+ sound?: {
30516
+ ref: string;
30517
+ } | undefined;
30518
+ } | {
30519
+ state: "end";
30520
+ callID: string;
30521
+ };
30522
+ time?: number | undefined;
30523
+ paths?: {
30524
+ label?: string | undefined;
30525
+ event?: {
30526
+ type: string;
30527
+ payload?: any;
30528
+ diagramID?: string | undefined;
30529
+ time?: number | undefined;
30530
+ metadata?: Record<string, unknown> | undefined;
30531
+ } | undefined;
30532
+ }[] | undefined;
30533
+ defaultPath?: number | undefined;
30534
+ turnID?: string | undefined;
30535
+ handleID?: string | undefined;
30536
+ }, {
30537
+ type: "tool-call";
30538
+ payload: {
30539
+ state: "start";
30540
+ callID: string;
30541
+ sound?: {
30542
+ ref: string;
30543
+ } | undefined;
30544
+ } | {
30545
+ state: "end";
30546
+ callID: string;
30547
+ };
30548
+ time?: number | undefined;
30549
+ paths?: {
30550
+ label?: string | undefined;
30551
+ event?: {
30552
+ type: string;
30553
+ payload?: any;
30554
+ diagramID?: string | undefined;
30555
+ time?: number | undefined;
30556
+ metadata?: Record<string, unknown> | undefined;
30557
+ } | undefined;
30558
+ }[] | undefined;
30559
+ defaultPath?: number | undefined;
30560
+ turnID?: string | undefined;
30561
+ handleID?: string | undefined;
30952
30562
  }>]>;
30953
30563
  messageID: z.ZodString;
30954
30564
  }, "strip", z.ZodTypeAny, {
@@ -31719,13 +31329,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
31719
31329
  provider?: "ujet" | "genesys" | undefined;
31720
31330
  } | {
31721
31331
  message: string;
31332
+ event: "file_received";
31333
+ conversationID: string;
31722
31334
  file: {
31723
31335
  url: string;
31724
31336
  name: string;
31725
31337
  type?: string | undefined;
31726
31338
  };
31727
- event: "file_received";
31728
- conversationID: string;
31729
31339
  agent?: {
31730
31340
  name: string;
31731
31341
  imageUrl?: string | undefined;
@@ -32000,6 +31610,32 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
32000
31610
  defaultPath?: number | undefined;
32001
31611
  turnID?: string | undefined;
32002
31612
  handleID?: string | undefined;
31613
+ } | {
31614
+ type: "tool-call";
31615
+ payload: {
31616
+ state: "start";
31617
+ callID: string;
31618
+ sound?: {
31619
+ ref: string;
31620
+ } | undefined;
31621
+ } | {
31622
+ state: "end";
31623
+ callID: string;
31624
+ };
31625
+ time?: number | undefined;
31626
+ paths?: {
31627
+ label?: string | undefined;
31628
+ event?: {
31629
+ type: string;
31630
+ payload?: any;
31631
+ diagramID?: string | undefined;
31632
+ time?: number | undefined;
31633
+ metadata?: Record<string, unknown> | undefined;
31634
+ } | undefined;
31635
+ }[] | undefined;
31636
+ defaultPath?: number | undefined;
31637
+ turnID?: string | undefined;
31638
+ handleID?: string | undefined;
32003
31639
  } | {
32004
31640
  type: "visual";
32005
31641
  payload: {
@@ -32799,13 +32435,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
32799
32435
  provider?: "ujet" | "genesys" | undefined;
32800
32436
  } | {
32801
32437
  message: string;
32438
+ event: "file_received";
32439
+ conversationID: string;
32802
32440
  file: {
32803
32441
  url: string;
32804
32442
  name: string;
32805
32443
  type?: string | undefined;
32806
32444
  };
32807
- event: "file_received";
32808
- conversationID: string;
32809
32445
  agent?: {
32810
32446
  name: string;
32811
32447
  imageUrl?: string | undefined;
@@ -33080,6 +32716,32 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
33080
32716
  defaultPath?: number | undefined;
33081
32717
  turnID?: string | undefined;
33082
32718
  handleID?: string | undefined;
32719
+ } | {
32720
+ type: "tool-call";
32721
+ payload: {
32722
+ state: "start";
32723
+ callID: string;
32724
+ sound?: {
32725
+ ref: string;
32726
+ } | undefined;
32727
+ } | {
32728
+ state: "end";
32729
+ callID: string;
32730
+ };
32731
+ time?: number | undefined;
32732
+ paths?: {
32733
+ label?: string | undefined;
32734
+ event?: {
32735
+ type: string;
32736
+ payload?: any;
32737
+ diagramID?: string | undefined;
32738
+ time?: number | undefined;
32739
+ metadata?: Record<string, unknown> | undefined;
32740
+ } | undefined;
32741
+ }[] | undefined;
32742
+ defaultPath?: number | undefined;
32743
+ turnID?: string | undefined;
32744
+ handleID?: string | undefined;
33083
32745
  } | {
33084
32746
  type: "visual";
33085
32747
  payload: {
@@ -33882,13 +33544,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
33882
33544
  provider?: "ujet" | "genesys" | undefined;
33883
33545
  } | {
33884
33546
  message: string;
33547
+ event: "file_received";
33548
+ conversationID: string;
33885
33549
  file: {
33886
33550
  url: string;
33887
33551
  name: string;
33888
33552
  type?: string | undefined;
33889
33553
  };
33890
- event: "file_received";
33891
- conversationID: string;
33892
33554
  agent?: {
33893
33555
  name: string;
33894
33556
  imageUrl?: string | undefined;
@@ -34163,6 +33825,32 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
34163
33825
  defaultPath?: number | undefined;
34164
33826
  turnID?: string | undefined;
34165
33827
  handleID?: string | undefined;
33828
+ } | {
33829
+ type: "tool-call";
33830
+ payload: {
33831
+ state: "start";
33832
+ callID: string;
33833
+ sound?: {
33834
+ ref: string;
33835
+ } | undefined;
33836
+ } | {
33837
+ state: "end";
33838
+ callID: string;
33839
+ };
33840
+ time?: number | undefined;
33841
+ paths?: {
33842
+ label?: string | undefined;
33843
+ event?: {
33844
+ type: string;
33845
+ payload?: any;
33846
+ diagramID?: string | undefined;
33847
+ time?: number | undefined;
33848
+ metadata?: Record<string, unknown> | undefined;
33849
+ } | undefined;
33850
+ }[] | undefined;
33851
+ defaultPath?: number | undefined;
33852
+ turnID?: string | undefined;
33853
+ handleID?: string | undefined;
34166
33854
  } | {
34167
33855
  type: "visual";
34168
33856
  payload: {
@@ -34965,13 +34653,13 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
34965
34653
  provider?: "ujet" | "genesys" | undefined;
34966
34654
  } | {
34967
34655
  message: string;
34656
+ event: "file_received";
34657
+ conversationID: string;
34968
34658
  file: {
34969
34659
  url: string;
34970
34660
  name: string;
34971
34661
  type?: string | undefined;
34972
34662
  };
34973
- event: "file_received";
34974
- conversationID: string;
34975
34663
  agent?: {
34976
34664
  name: string;
34977
34665
  imageUrl?: string | undefined;
@@ -35246,6 +34934,32 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
35246
34934
  defaultPath?: number | undefined;
35247
34935
  turnID?: string | undefined;
35248
34936
  handleID?: string | undefined;
34937
+ } | {
34938
+ type: "tool-call";
34939
+ payload: {
34940
+ state: "start";
34941
+ callID: string;
34942
+ sound?: {
34943
+ ref: string;
34944
+ } | undefined;
34945
+ } | {
34946
+ state: "end";
34947
+ callID: string;
34948
+ };
34949
+ time?: number | undefined;
34950
+ paths?: {
34951
+ label?: string | undefined;
34952
+ event?: {
34953
+ type: string;
34954
+ payload?: any;
34955
+ diagramID?: string | undefined;
34956
+ time?: number | undefined;
34957
+ metadata?: Record<string, unknown> | undefined;
34958
+ } | undefined;
34959
+ }[] | undefined;
34960
+ defaultPath?: number | undefined;
34961
+ turnID?: string | undefined;
34962
+ handleID?: string | undefined;
35249
34963
  } | {
35250
34964
  type: "visual";
35251
34965
  payload: {
@@ -35382,114 +35096,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
35382
35096
  diagramID: z.ZodOptional<z.ZodString>;
35383
35097
  time: z.ZodOptional<z.ZodNumber>;
35384
35098
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35385
- } & {
35386
- type: z.ZodLiteral<"file">;
35387
- payload: z.ZodObject<{
35388
- text: z.ZodOptional<z.ZodString>;
35389
- files: z.ZodArray<z.ZodObject<{
35390
- url: z.ZodString;
35391
- mimeType: z.ZodString;
35392
- filename: z.ZodOptional<z.ZodString>;
35393
- }, "strip", z.ZodTypeAny, {
35394
- url: string;
35395
- mimeType: string;
35396
- filename?: string | undefined;
35397
- }, {
35398
- url: string;
35399
- mimeType: string;
35400
- filename?: string | undefined;
35401
- }>, "many">;
35402
- }, "strip", z.ZodTypeAny, {
35403
- files: {
35404
- url: string;
35405
- mimeType: string;
35406
- filename?: string | undefined;
35407
- }[];
35408
- text?: string | undefined;
35409
- }, {
35410
- files: {
35411
- url: string;
35412
- mimeType: string;
35413
- filename?: string | undefined;
35414
- }[];
35415
- text?: string | undefined;
35416
- }>;
35417
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35418
- diagramID: z.ZodOptional<z.ZodString>;
35419
- time: z.ZodOptional<z.ZodNumber>;
35420
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35421
- } & {
35422
- type: z.ZodLiteral<"file">;
35423
- payload: z.ZodObject<{
35424
- text: z.ZodOptional<z.ZodString>;
35425
- files: z.ZodArray<z.ZodObject<{
35426
- url: z.ZodString;
35427
- mimeType: z.ZodString;
35428
- filename: z.ZodOptional<z.ZodString>;
35429
- }, "strip", z.ZodTypeAny, {
35430
- url: string;
35431
- mimeType: string;
35432
- filename?: string | undefined;
35433
- }, {
35434
- url: string;
35435
- mimeType: string;
35436
- filename?: string | undefined;
35437
- }>, "many">;
35438
- }, "strip", z.ZodTypeAny, {
35439
- files: {
35440
- url: string;
35441
- mimeType: string;
35442
- filename?: string | undefined;
35443
- }[];
35444
- text?: string | undefined;
35445
- }, {
35446
- files: {
35447
- url: string;
35448
- mimeType: string;
35449
- filename?: string | undefined;
35450
- }[];
35451
- text?: string | undefined;
35452
- }>;
35453
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
35454
- diagramID: z.ZodOptional<z.ZodString>;
35455
- time: z.ZodOptional<z.ZodNumber>;
35456
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35457
- } & {
35458
- type: z.ZodLiteral<"file">;
35459
- payload: z.ZodObject<{
35460
- text: z.ZodOptional<z.ZodString>;
35461
- files: z.ZodArray<z.ZodObject<{
35462
- url: z.ZodString;
35463
- mimeType: z.ZodString;
35464
- filename: z.ZodOptional<z.ZodString>;
35465
- }, "strip", z.ZodTypeAny, {
35466
- url: string;
35467
- mimeType: string;
35468
- filename?: string | undefined;
35469
- }, {
35470
- url: string;
35471
- mimeType: string;
35472
- filename?: string | undefined;
35473
- }>, "many">;
35474
- }, "strip", z.ZodTypeAny, {
35475
- files: {
35476
- url: string;
35477
- mimeType: string;
35478
- filename?: string | undefined;
35479
- }[];
35480
- text?: string | undefined;
35481
- }, {
35482
- files: {
35483
- url: string;
35484
- mimeType: string;
35485
- filename?: string | undefined;
35486
- }[];
35487
- text?: string | undefined;
35488
- }>;
35489
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
35490
- diagramID: z.ZodOptional<z.ZodString>;
35491
- time: z.ZodOptional<z.ZodNumber>;
35492
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35493
35099
  } & {
35494
35100
  type: z.ZodLiteral<"action">;
35495
35101
  payload: z.ZodOptional<z.ZodObject<{
@@ -37241,42 +36847,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
37241
36847
  diagramID: z.ZodOptional<z.ZodString>;
37242
36848
  time: z.ZodOptional<z.ZodNumber>;
37243
36849
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37244
- } & {
37245
- type: z.ZodLiteral<"file">;
37246
- payload: z.ZodObject<{
37247
- text: z.ZodOptional<z.ZodString>;
37248
- files: z.ZodArray<z.ZodObject<{
37249
- url: z.ZodString;
37250
- mimeType: z.ZodString;
37251
- filename: z.ZodOptional<z.ZodString>;
37252
- }, "strip", z.ZodTypeAny, {
37253
- url: string;
37254
- mimeType: string;
37255
- filename?: string | undefined;
37256
- }, {
37257
- url: string;
37258
- mimeType: string;
37259
- filename?: string | undefined;
37260
- }>, "many">;
37261
- }, "strip", z.ZodTypeAny, {
37262
- files: {
37263
- url: string;
37264
- mimeType: string;
37265
- filename?: string | undefined;
37266
- }[];
37267
- text?: string | undefined;
37268
- }, {
37269
- files: {
37270
- url: string;
37271
- mimeType: string;
37272
- filename?: string | undefined;
37273
- }[];
37274
- text?: string | undefined;
37275
- }>;
37276
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
37277
- diagramID: z.ZodOptional<z.ZodString>;
37278
- time: z.ZodOptional<z.ZodNumber>;
37279
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37280
36850
  } & {
37281
36851
  type: z.ZodEffects<z.ZodString, string, string>;
37282
36852
  payload: z.ZodOptional<z.ZodObject<{
@@ -37821,42 +37391,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
37821
37391
  diagramID: z.ZodOptional<z.ZodString>;
37822
37392
  time: z.ZodOptional<z.ZodNumber>;
37823
37393
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37824
- } & {
37825
- type: z.ZodLiteral<"file">;
37826
- payload: z.ZodObject<{
37827
- text: z.ZodOptional<z.ZodString>;
37828
- files: z.ZodArray<z.ZodObject<{
37829
- url: z.ZodString;
37830
- mimeType: z.ZodString;
37831
- filename: z.ZodOptional<z.ZodString>;
37832
- }, "strip", z.ZodTypeAny, {
37833
- url: string;
37834
- mimeType: string;
37835
- filename?: string | undefined;
37836
- }, {
37837
- url: string;
37838
- mimeType: string;
37839
- filename?: string | undefined;
37840
- }>, "many">;
37841
- }, "strip", z.ZodTypeAny, {
37842
- files: {
37843
- url: string;
37844
- mimeType: string;
37845
- filename?: string | undefined;
37846
- }[];
37847
- text?: string | undefined;
37848
- }, {
37849
- files: {
37850
- url: string;
37851
- mimeType: string;
37852
- filename?: string | undefined;
37853
- }[];
37854
- text?: string | undefined;
37855
- }>;
37856
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
37857
- diagramID: z.ZodOptional<z.ZodString>;
37858
- time: z.ZodOptional<z.ZodNumber>;
37859
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37860
37394
  } & {
37861
37395
  type: z.ZodEffects<z.ZodString, string, string>;
37862
37396
  payload: z.ZodOptional<z.ZodObject<{
@@ -38404,42 +37938,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
38404
37938
  diagramID: z.ZodOptional<z.ZodString>;
38405
37939
  time: z.ZodOptional<z.ZodNumber>;
38406
37940
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38407
- } & {
38408
- type: z.ZodLiteral<"file">;
38409
- payload: z.ZodObject<{
38410
- text: z.ZodOptional<z.ZodString>;
38411
- files: z.ZodArray<z.ZodObject<{
38412
- url: z.ZodString;
38413
- mimeType: z.ZodString;
38414
- filename: z.ZodOptional<z.ZodString>;
38415
- }, "strip", z.ZodTypeAny, {
38416
- url: string;
38417
- mimeType: string;
38418
- filename?: string | undefined;
38419
- }, {
38420
- url: string;
38421
- mimeType: string;
38422
- filename?: string | undefined;
38423
- }>, "many">;
38424
- }, "strip", z.ZodTypeAny, {
38425
- files: {
38426
- url: string;
38427
- mimeType: string;
38428
- filename?: string | undefined;
38429
- }[];
38430
- text?: string | undefined;
38431
- }, {
38432
- files: {
38433
- url: string;
38434
- mimeType: string;
38435
- filename?: string | undefined;
38436
- }[];
38437
- text?: string | undefined;
38438
- }>;
38439
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
38440
- diagramID: z.ZodOptional<z.ZodString>;
38441
- time: z.ZodOptional<z.ZodNumber>;
38442
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38443
37941
  } & {
38444
37942
  type: z.ZodEffects<z.ZodString, string, string>;
38445
37943
  payload: z.ZodOptional<z.ZodObject<{
@@ -38987,42 +38485,6 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
38987
38485
  diagramID: z.ZodOptional<z.ZodString>;
38988
38486
  time: z.ZodOptional<z.ZodNumber>;
38989
38487
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
38990
- } & {
38991
- type: z.ZodLiteral<"file">;
38992
- payload: z.ZodObject<{
38993
- text: z.ZodOptional<z.ZodString>;
38994
- files: z.ZodArray<z.ZodObject<{
38995
- url: z.ZodString;
38996
- mimeType: z.ZodString;
38997
- filename: z.ZodOptional<z.ZodString>;
38998
- }, "strip", z.ZodTypeAny, {
38999
- url: string;
39000
- mimeType: string;
39001
- filename?: string | undefined;
39002
- }, {
39003
- url: string;
39004
- mimeType: string;
39005
- filename?: string | undefined;
39006
- }>, "many">;
39007
- }, "strip", z.ZodTypeAny, {
39008
- files: {
39009
- url: string;
39010
- mimeType: string;
39011
- filename?: string | undefined;
39012
- }[];
39013
- text?: string | undefined;
39014
- }, {
39015
- files: {
39016
- url: string;
39017
- mimeType: string;
39018
- filename?: string | undefined;
39019
- }[];
39020
- text?: string | undefined;
39021
- }>;
39022
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
39023
- diagramID: z.ZodOptional<z.ZodString>;
39024
- time: z.ZodOptional<z.ZodNumber>;
39025
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39026
38488
  } & {
39027
38489
  type: z.ZodEffects<z.ZodString, string, string>;
39028
38490
  payload: z.ZodOptional<z.ZodObject<{