@veruna/api-contracts 6.2.0 → 6.3.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 (87) hide show
  1. package/build/rest-api.d.ts +1 -0
  2. package/build/rest-api.js +1 -0
  3. package/build/rest-api.js.map +1 -1
  4. package/build/routes/s2s.routes.d.ts +1 -0
  5. package/build/routes/s2s.routes.js +1 -0
  6. package/build/routes/s2s.routes.js.map +1 -1
  7. package/build/tsconfig.tsbuildinfo +1 -1
  8. package/build/v1/chat/commands/create-reg-chat.command.d.ts +2 -0
  9. package/build/v1/chat/commands/create-unreg-chat.command.d.ts +2 -0
  10. package/build/v1/chat/commands/update-chat-title.command.d.ts +2 -0
  11. package/build/v1/chat/commands/update-chat.command.d.ts +2 -0
  12. package/build/v1/chat/queries/get-last-active-chat.query.d.ts +2 -0
  13. package/build/v1/chat/queries/get-reg-chat.query.d.ts +2 -0
  14. package/build/v1/chat/queries/get-unreg-chat.query.d.ts +2 -0
  15. package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +2 -0
  16. package/build/v1/client-file/commands/client-file-attach.command.d.ts +1 -0
  17. package/build/v1/client-file/commands/client-file-upload.command.d.ts +1 -0
  18. package/build/v1/client-file/queries/client-file-list.query.d.ts +1 -0
  19. package/build/v1/client-file/queries/user-files-list.query.d.ts +1 -0
  20. package/build/v1/client-file/schemas/client-file-attach-response.schema.d.ts +3 -0
  21. package/build/v1/client-file/schemas/client-file-attach-response.schema.js +2 -0
  22. package/build/v1/client-file/schemas/client-file-attach-response.schema.js.map +1 -1
  23. package/build/v1/client-file/schemas/client-file-item-response.schema.d.ts +2 -0
  24. package/build/v1/client-file/schemas/client-file-item-response.schema.js +2 -0
  25. package/build/v1/client-file/schemas/client-file-item-response.schema.js.map +1 -1
  26. package/build/v1/client-file/schemas/client-file-list-response.schema.d.ts +1 -0
  27. package/build/v1/client-file/schemas/client-file-mark.enum.d.ts +3 -0
  28. package/build/v1/client-file/schemas/client-file-mark.enum.js +8 -0
  29. package/build/v1/client-file/schemas/client-file-mark.enum.js.map +1 -0
  30. package/build/v1/client-file/schemas/client-file-upload-query.schema.d.ts +6 -0
  31. package/build/v1/client-file/schemas/client-file-upload-query.schema.js +16 -0
  32. package/build/v1/client-file/schemas/client-file-upload-query.schema.js.map +1 -0
  33. package/build/v1/client-file/schemas/client-file-upload-response.schema.d.ts +1 -0
  34. package/build/v1/client-file/schemas/index.d.ts +2 -0
  35. package/build/v1/client-file/schemas/index.js +2 -0
  36. package/build/v1/client-file/schemas/index.js.map +1 -1
  37. package/build/v1/client-file/schemas/user-file-item-response.schema.d.ts +2 -0
  38. package/build/v1/client-file/schemas/user-file-item-response.schema.js +2 -0
  39. package/build/v1/client-file/schemas/user-file-item-response.schema.js.map +1 -1
  40. package/build/v1/client-file/schemas/user-files-list-response.schema.d.ts +1 -0
  41. package/build/v1/message/commands/create-message.command.d.ts +8 -0
  42. package/build/v1/message/queries/get-message-stream-reg.query.d.ts +4 -0
  43. package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +4 -0
  44. package/build/v1/message/schemas/index.d.ts +1 -0
  45. package/build/v1/message/schemas/index.js +4 -1
  46. package/build/v1/message/schemas/index.js.map +1 -1
  47. package/build/v1/message/schemas/message-attachment-response.schema.d.ts +3 -0
  48. package/build/v1/message/schemas/message-attachment-response.schema.js +2 -0
  49. package/build/v1/message/schemas/message-attachment-response.schema.js.map +1 -1
  50. package/build/v1/message/schemas/message-response.schema.d.ts +2 -0
  51. package/build/v1/message/schemas/message-step-response.schema.d.ts +2 -0
  52. package/build/v1/message/schemas/message-step-response.schema.js +1 -0
  53. package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
  54. package/build/v1/message/schemas/model-attributed-step-types.const.d.ts +3 -0
  55. package/build/v1/message/schemas/model-attributed-step-types.const.js +16 -0
  56. package/build/v1/message/schemas/model-attributed-step-types.const.js.map +1 -0
  57. package/build/v1/message/schemas/stream-events.schema.d.ts +8 -0
  58. package/build/v1/message/schemas/stream-events.schema.js +4 -0
  59. package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
  60. package/build/v1/s2s/queries/index.d.ts +1 -0
  61. package/build/v1/s2s/queries/index.js +1 -0
  62. package/build/v1/s2s/queries/index.js.map +1 -1
  63. package/build/v1/s2s/queries/list-client-files.query.d.ts +30 -0
  64. package/build/v1/s2s/queries/list-client-files.query.js +17 -0
  65. package/build/v1/s2s/queries/list-client-files.query.js.map +1 -0
  66. package/build/v1/s2s/schemas/index.d.ts +2 -0
  67. package/build/v1/s2s/schemas/index.js +2 -0
  68. package/build/v1/s2s/schemas/index.js.map +1 -1
  69. package/build/v1/s2s/schemas/s2s-list-client-files-params.schema.d.ts +5 -0
  70. package/build/v1/s2s/schemas/s2s-list-client-files-params.schema.js +11 -0
  71. package/build/v1/s2s/schemas/s2s-list-client-files-params.schema.js.map +1 -0
  72. package/build/v1/s2s/schemas/s2s-list-client-files-query.schema.d.ts +7 -0
  73. package/build/v1/s2s/schemas/s2s-list-client-files-query.schema.js +15 -0
  74. package/build/v1/s2s/schemas/s2s-list-client-files-query.schema.js.map +1 -0
  75. package/build/v1/wallet/index.d.ts +1 -0
  76. package/build/v1/wallet/index.js +1 -0
  77. package/build/v1/wallet/index.js.map +1 -1
  78. package/build/v1/wallet/unreg/index.d.ts +3 -0
  79. package/build/v1/wallet/unreg/index.js +23 -0
  80. package/build/v1/wallet/unreg/index.js.map +1 -0
  81. package/build/v1/wallet/unreg/queries/get-balance-summary.query.d.ts +34 -0
  82. package/build/v1/wallet/unreg/queries/get-balance-summary.query.js +15 -0
  83. package/build/v1/wallet/unreg/queries/get-balance-summary.query.js.map +1 -0
  84. package/build/v1/wallet/unreg/queries/index.d.ts +1 -0
  85. package/build/v1/wallet/unreg/queries/index.js +6 -0
  86. package/build/v1/wallet/unreg/queries/index.js.map +1 -0
  87. package/package.json +1 -1
@@ -25,6 +25,7 @@ export declare namespace CreateRegChatCommand {
25
25
  uuid: z.ZodString;
26
26
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
27
27
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
28
+ modelUuid: z.ZodNullable<z.ZodString>;
28
29
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
29
30
  content: z.ZodString;
30
31
  }, z.core.$strip>, z.ZodObject<{
@@ -118,6 +119,7 @@ export declare namespace CreateRegChatCommand {
118
119
  width: z.ZodOptional<z.ZodNumber>;
119
120
  height: z.ZodOptional<z.ZodNumber>;
120
121
  }, z.core.$strip>>;
122
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
121
123
  }, z.core.$strip>>;
122
124
  citations: z.ZodArray<z.ZodObject<{
123
125
  uuid: z.ZodString;
@@ -25,6 +25,7 @@ export declare namespace CreateUnregChatCommand {
25
25
  uuid: z.ZodString;
26
26
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
27
27
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
28
+ modelUuid: z.ZodNullable<z.ZodString>;
28
29
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
29
30
  content: z.ZodString;
30
31
  }, z.core.$strip>, z.ZodObject<{
@@ -118,6 +119,7 @@ export declare namespace CreateUnregChatCommand {
118
119
  width: z.ZodOptional<z.ZodNumber>;
119
120
  height: z.ZodOptional<z.ZodNumber>;
120
121
  }, z.core.$strip>>;
122
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
121
123
  }, z.core.$strip>>;
122
124
  citations: z.ZodArray<z.ZodObject<{
123
125
  uuid: z.ZodString;
@@ -24,6 +24,7 @@ export declare namespace UpdateChatTitleCommand {
24
24
  uuid: z.ZodString;
25
25
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
26
26
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
27
+ modelUuid: z.ZodNullable<z.ZodString>;
27
28
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
28
29
  content: z.ZodString;
29
30
  }, z.core.$strip>, z.ZodObject<{
@@ -117,6 +118,7 @@ export declare namespace UpdateChatTitleCommand {
117
118
  width: z.ZodOptional<z.ZodNumber>;
118
119
  height: z.ZodOptional<z.ZodNumber>;
119
120
  }, z.core.$strip>>;
121
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
120
122
  }, z.core.$strip>>;
121
123
  citations: z.ZodArray<z.ZodObject<{
122
124
  uuid: z.ZodString;
@@ -26,6 +26,7 @@ export declare namespace UpdateChatCommand {
26
26
  uuid: z.ZodString;
27
27
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
28
28
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
29
+ modelUuid: z.ZodNullable<z.ZodString>;
29
30
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
30
31
  content: z.ZodString;
31
32
  }, z.core.$strip>, z.ZodObject<{
@@ -119,6 +120,7 @@ export declare namespace UpdateChatCommand {
119
120
  width: z.ZodOptional<z.ZodNumber>;
120
121
  height: z.ZodOptional<z.ZodNumber>;
121
122
  }, z.core.$strip>>;
123
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
122
124
  }, z.core.$strip>>;
123
125
  citations: z.ZodArray<z.ZodObject<{
124
126
  uuid: z.ZodString;
@@ -22,6 +22,7 @@ export declare namespace GetLastActiveChatQuery {
22
22
  uuid: z.ZodString;
23
23
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
24
24
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
25
+ modelUuid: z.ZodNullable<z.ZodString>;
25
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
26
27
  content: z.ZodString;
27
28
  }, z.core.$strip>, z.ZodObject<{
@@ -115,6 +116,7 @@ export declare namespace GetLastActiveChatQuery {
115
116
  width: z.ZodOptional<z.ZodNumber>;
116
117
  height: z.ZodOptional<z.ZodNumber>;
117
118
  }, z.core.$strip>>;
119
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
118
120
  }, z.core.$strip>>;
119
121
  citations: z.ZodArray<z.ZodObject<{
120
122
  uuid: z.ZodString;
@@ -22,6 +22,7 @@ export declare namespace GetRegChatQuery {
22
22
  uuid: z.ZodString;
23
23
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
24
24
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
25
+ modelUuid: z.ZodNullable<z.ZodString>;
25
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
26
27
  content: z.ZodString;
27
28
  }, z.core.$strip>, z.ZodObject<{
@@ -115,6 +116,7 @@ export declare namespace GetRegChatQuery {
115
116
  width: z.ZodOptional<z.ZodNumber>;
116
117
  height: z.ZodOptional<z.ZodNumber>;
117
118
  }, z.core.$strip>>;
119
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
118
120
  }, z.core.$strip>>;
119
121
  citations: z.ZodArray<z.ZodObject<{
120
122
  uuid: z.ZodString;
@@ -22,6 +22,7 @@ export declare namespace GetUnregChatQuery {
22
22
  uuid: z.ZodString;
23
23
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
24
24
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
25
+ modelUuid: z.ZodNullable<z.ZodString>;
25
26
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
26
27
  content: z.ZodString;
27
28
  }, z.core.$strip>, z.ZodObject<{
@@ -115,6 +116,7 @@ export declare namespace GetUnregChatQuery {
115
116
  width: z.ZodOptional<z.ZodNumber>;
116
117
  height: z.ZodOptional<z.ZodNumber>;
117
118
  }, z.core.$strip>>;
119
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
118
120
  }, z.core.$strip>>;
119
121
  citations: z.ZodArray<z.ZodObject<{
120
122
  uuid: z.ZodString;
@@ -20,6 +20,7 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
20
20
  uuid: z.ZodString;
21
21
  type: z.ZodEnum<typeof import("../..").GenerationStepType>;
22
22
  status: z.ZodEnum<typeof import("../..").MessageStepStatus>;
23
+ modelUuid: z.ZodNullable<z.ZodString>;
23
24
  content: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
24
25
  content: z.ZodString;
25
26
  }, z.core.$strip>, z.ZodObject<{
@@ -113,6 +114,7 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
113
114
  width: z.ZodOptional<z.ZodNumber>;
114
115
  height: z.ZodOptional<z.ZodNumber>;
115
116
  }, z.core.$strip>>;
117
+ marks: z.ZodArray<z.ZodEnum<typeof import("../..").ClientFileMark>>;
116
118
  }, z.core.$strip>>;
117
119
  citations: z.ZodArray<z.ZodObject<{
118
120
  uuid: z.ZodString;
@@ -28,6 +28,7 @@ export declare namespace ClientFileAttachCommand {
28
28
  textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  shortPreviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ marks: z.ZodArray<z.ZodEnum<typeof import("../schemas").ClientFileMark>>;
31
32
  }, z.core.$strip>>;
32
33
  }, z.core.$strip>;
33
34
  const URL: (chatId: string) => string;
@@ -14,6 +14,7 @@ export declare namespace ClientFileUploadCommand {
14
14
  originalSize: z.ZodNumber;
15
15
  originalFilename: z.ZodString;
16
16
  originalContentType: z.ZodString;
17
+ marks: z.ZodArray<z.ZodEnum<typeof import("../schemas").ClientFileMark>>;
17
18
  }, z.core.$strip>;
18
19
  const URL: (chatId: string) => string;
19
20
  const METHOD = HttpMethod.PUT;
@@ -15,6 +15,7 @@ export declare namespace ClientFileListQuery {
15
15
  originalSize: z.ZodNumber;
16
16
  originalFilename: z.ZodString;
17
17
  originalContentType: z.ZodString;
18
+ marks: z.ZodArray<z.ZodEnum<typeof import("../schemas").ClientFileMark>>;
18
19
  }, z.core.$strip>>;
19
20
  }, z.core.$strip>;
20
21
  const URL: (chatId: string) => string;
@@ -25,6 +25,7 @@ export declare namespace UserFilesListQuery {
25
25
  id: z.ZodString;
26
26
  }, z.core.$strip>>;
27
27
  processingCategory: z.ZodNullable<z.ZodEnum<typeof import("../schemas").FileProcessingCategory>>;
28
+ marks: z.ZodArray<z.ZodEnum<typeof import("../schemas").ClientFileMark>>;
28
29
  createdAt: z.ZodString;
29
30
  updatedAt: z.ZodString;
30
31
  }, z.core.$strip>>;
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { ClientFileType } from './client-file-type.enum';
3
+ import { ClientFileMark } from './client-file-mark.enum';
3
4
  export declare const ClientFileAttachmentItemSchema: z.ZodObject<{
4
5
  uuid: z.ZodString;
5
6
  type: z.ZodEnum<typeof ClientFileType>;
@@ -17,6 +18,7 @@ export declare const ClientFileAttachmentItemSchema: z.ZodObject<{
17
18
  textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
19
  pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
20
  shortPreviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
20
22
  }, z.core.$strip>;
21
23
  export declare const ClientFileAttachResponseSchema: z.ZodObject<{
22
24
  items: z.ZodArray<z.ZodObject<{
@@ -36,6 +38,7 @@ export declare const ClientFileAttachResponseSchema: z.ZodObject<{
36
38
  textPreview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
39
  pageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
40
  shortPreviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
39
42
  }, z.core.$strip>>;
40
43
  }, z.core.$strip>;
41
44
  export type ClientFileAttachResponseDto = z.infer<typeof ClientFileAttachResponseSchema>;
@@ -4,6 +4,7 @@ exports.ClientFileAttachResponseSchema = exports.ClientFileAttachmentItemSchema
4
4
  const zod_1 = require("zod");
5
5
  const shared_1 = require("../../../shared");
6
6
  const client_file_type_enum_1 = require("./client-file-type.enum");
7
+ const client_file_mark_enum_1 = require("./client-file-mark.enum");
7
8
  exports.ClientFileAttachmentItemSchema = zod_1.z.object({
8
9
  uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
9
10
  type: zod_1.z.enum(client_file_type_enum_1.ClientFileType),
@@ -21,6 +22,7 @@ exports.ClientFileAttachmentItemSchema = zod_1.z.object({
21
22
  textPreview: zod_1.z.string().nullable().optional(),
22
23
  pageCount: zod_1.z.number().int().nullable().optional(),
23
24
  shortPreviewUrl: zod_1.z.string().url().nullable().optional(),
25
+ marks: zod_1.z.array(zod_1.z.enum(client_file_mark_enum_1.ClientFileMark)),
24
26
  });
25
27
  exports.ClientFileAttachResponseSchema = zod_1.z.object({
26
28
  items: zod_1.z.array(exports.ClientFileAttachmentItemSchema),
@@ -1 +1 @@
1
- {"version":3,"file":"client-file-attach-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-attach-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AAE5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC;IAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAE5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE7C,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAEpD,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE3D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE7C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAEjD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sCAA8B,CAAC;CACjD,CAAC,CAAC"}
1
+ {"version":3,"file":"client-file-attach-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-attach-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AACzD,mEAAyD;AAE5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,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C,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC,CAAC;CACzC,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sCAA8B,CAAC;CACjD,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { ClientFileType } from './client-file-type.enum';
3
3
  import { ClientFileStatus } from './client-file-status.enum';
4
+ import { ClientFileMark } from './client-file-mark.enum';
4
5
  export declare const ClientFileItemResponseSchema: z.ZodObject<{
5
6
  uuid: z.ZodString;
6
7
  type: z.ZodEnum<typeof ClientFileType>;
@@ -11,5 +12,6 @@ export declare const ClientFileItemResponseSchema: z.ZodObject<{
11
12
  originalSize: z.ZodNumber;
12
13
  originalFilename: z.ZodString;
13
14
  originalContentType: z.ZodString;
15
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
14
16
  }, z.core.$strip>;
15
17
  export type ClientFileItemResponseDto = z.infer<typeof ClientFileItemResponseSchema>;
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const shared_1 = require("../../../shared");
6
6
  const client_file_type_enum_1 = require("./client-file-type.enum");
7
7
  const client_file_status_enum_1 = require("./client-file-status.enum");
8
+ const client_file_mark_enum_1 = require("./client-file-mark.enum");
8
9
  exports.ClientFileItemResponseSchema = zod_1.z.object({
9
10
  uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
10
11
  type: zod_1.z.enum(client_file_type_enum_1.ClientFileType),
@@ -15,5 +16,6 @@ exports.ClientFileItemResponseSchema = zod_1.z.object({
15
16
  originalSize: zod_1.z.number().int().nonnegative(),
16
17
  originalFilename: zod_1.z.string().min(1),
17
18
  originalContentType: zod_1.z.string().min(1),
19
+ marks: zod_1.z.array(zod_1.z.enum(client_file_mark_enum_1.ClientFileMark)),
18
20
  });
19
21
  //# sourceMappingURL=client-file-item-response.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-file-item-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-item-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AACzD,uEAA6D;AAShD,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC;IAC5B,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,0CAAgB,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACzC,CAAC,CAAC"}
1
+ {"version":3,"file":"client-file-item-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-item-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AACzD,uEAA6D;AAC7D,mEAAyD;AAS5C,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC;IAC5B,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,0CAAgB,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC,CAAC;CACzC,CAAC,CAAC"}
@@ -10,6 +10,7 @@ export declare const ClientFileListResponseSchema: z.ZodObject<{
10
10
  originalSize: z.ZodNumber;
11
11
  originalFilename: z.ZodString;
12
12
  originalContentType: z.ZodString;
13
+ marks: z.ZodArray<z.ZodEnum<typeof import("./client-file-mark.enum").ClientFileMark>>;
13
14
  }, z.core.$strip>>;
14
15
  }, z.core.$strip>;
15
16
  export type ClientFileListResponseDto = z.infer<typeof ClientFileListResponseSchema>;
@@ -0,0 +1,3 @@
1
+ export declare enum ClientFileMark {
2
+ PASTED = "PASTED"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClientFileMark = void 0;
4
+ var ClientFileMark;
5
+ (function (ClientFileMark) {
6
+ ClientFileMark["PASTED"] = "PASTED";
7
+ })(ClientFileMark || (exports.ClientFileMark = ClientFileMark = {}));
8
+ //# sourceMappingURL=client-file-mark.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-file-mark.enum.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-mark.enum.ts"],"names":[],"mappings":";;;AAMA,IAAY,cAMX;AAND,WAAY,cAAc;IAKtB,mCAAiB,CAAA;AACrB,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB"}
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { ClientFileMark } from './client-file-mark.enum';
3
+ export declare const ClientFileUploadQuerySchema: z.ZodObject<{
4
+ marks: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<typeof ClientFileMark>, z.ZodArray<z.ZodEnum<typeof ClientFileMark>>]>>, z.ZodTransform<ClientFileMark[], ClientFileMark.PASTED | ClientFileMark.PASTED[] | undefined>>;
5
+ }, z.core.$strip>;
6
+ export type ClientFileUploadQueryDto = z.infer<typeof ClientFileUploadQuerySchema>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClientFileUploadQuerySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const client_file_mark_enum_1 = require("./client-file-mark.enum");
6
+ exports.ClientFileUploadQuerySchema = zod_1.z.object({
7
+ marks: zod_1.z
8
+ .union([zod_1.z.enum(client_file_mark_enum_1.ClientFileMark), zod_1.z.array(zod_1.z.enum(client_file_mark_enum_1.ClientFileMark))])
9
+ .optional()
10
+ .transform((value) => {
11
+ if (value === undefined)
12
+ return [];
13
+ return Array.isArray(value) ? value : [value];
14
+ }),
15
+ });
16
+ //# sourceMappingURL=client-file-upload-query.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-file-upload-query.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/client-file-upload-query.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mEAAyD;AAU5C,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,OAAC;SACH,KAAK,CAAC,CAAC,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC,CAAC,CAAC,CAAC;SAChE,QAAQ,EAAE;SACV,SAAS,CAAC,CAAC,KAAK,EAAoB,EAAE;QACnC,IAAI,KAAK,KAAK,SAAS;YAAE,OAAO,EAAE,CAAC;QACnC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC,CAAC;CACT,CAAC,CAAC"}
@@ -8,4 +8,5 @@ export declare const ClientFileUploadResponseSchema: import("zod").ZodObject<{
8
8
  originalSize: import("zod").ZodNumber;
9
9
  originalFilename: import("zod").ZodString;
10
10
  originalContentType: import("zod").ZodString;
11
+ marks: import("zod").ZodArray<import("zod").ZodEnum<typeof import("./client-file-mark.enum").ClientFileMark>>;
11
12
  }, import("zod/v4/core").$strip>;
@@ -1,11 +1,13 @@
1
1
  export * from './client-file-type.enum';
2
2
  export * from './client-file-status.enum';
3
+ export * from './client-file-mark.enum';
3
4
  export * from './client-file-id-param.schema';
4
5
  export * from './client-file-chat-params.schema';
5
6
  export * from './client-file-by-id-params.schema';
6
7
  export * from './client-file-item-response.schema';
7
8
  export * from './client-file-list-response.schema';
8
9
  export * from './client-file-upload-response.schema';
10
+ export * from './client-file-upload-query.schema';
9
11
  export * from './client-file-delete-response.schema';
10
12
  export * from './client-file-attach-request.schema';
11
13
  export * from './client-file-attach-response.schema';
@@ -16,12 +16,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client-file-type.enum"), exports);
18
18
  __exportStar(require("./client-file-status.enum"), exports);
19
+ __exportStar(require("./client-file-mark.enum"), exports);
19
20
  __exportStar(require("./client-file-id-param.schema"), exports);
20
21
  __exportStar(require("./client-file-chat-params.schema"), exports);
21
22
  __exportStar(require("./client-file-by-id-params.schema"), exports);
22
23
  __exportStar(require("./client-file-item-response.schema"), exports);
23
24
  __exportStar(require("./client-file-list-response.schema"), exports);
24
25
  __exportStar(require("./client-file-upload-response.schema"), exports);
26
+ __exportStar(require("./client-file-upload-query.schema"), exports);
25
27
  __exportStar(require("./client-file-delete-response.schema"), exports);
26
28
  __exportStar(require("./client-file-attach-request.schema"), exports);
27
29
  __exportStar(require("./client-file-attach-response.schema"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,4DAA0C;AAC1C,gEAA8C;AAC9C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,uEAAqD;AACrD,sEAAoD;AACpD,uEAAqD;AACrD,2DAAyC;AACzC,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD;AACrD,oEAAkD;AAClD,uEAAqD;AACrD,sEAAoD;AACpD,uEAAqD;AACrD,2DAAyC;AACzC,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { ClientFileType } from './client-file-type.enum';
3
3
  import { ClientFileStatus } from './client-file-status.enum';
4
+ import { ClientFileMark } from './client-file-mark.enum';
4
5
  import { FileProcessingCategory } from './processing-category.enum';
5
6
  export declare const UserFileItemResponseSchema: z.ZodObject<{
6
7
  uuid: z.ZodString;
@@ -19,6 +20,7 @@ export declare const UserFileItemResponseSchema: z.ZodObject<{
19
20
  id: z.ZodString;
20
21
  }, z.core.$strip>>;
21
22
  processingCategory: z.ZodNullable<z.ZodEnum<typeof FileProcessingCategory>>;
23
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
22
24
  createdAt: z.ZodString;
23
25
  updatedAt: z.ZodString;
24
26
  }, z.core.$strip>;
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const shared_1 = require("../../../shared");
6
6
  const client_file_type_enum_1 = require("./client-file-type.enum");
7
7
  const client_file_status_enum_1 = require("./client-file-status.enum");
8
+ const client_file_mark_enum_1 = require("./client-file-mark.enum");
8
9
  const processing_category_enum_1 = require("./processing-category.enum");
9
10
  exports.UserFileItemResponseSchema = zod_1.z.object({
10
11
  uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
@@ -25,6 +26,7 @@ exports.UserFileItemResponseSchema = zod_1.z.object({
25
26
  })
26
27
  .nullable(),
27
28
  processingCategory: zod_1.z.enum(processing_category_enum_1.FileProcessingCategory).nullable(),
29
+ marks: zod_1.z.array(zod_1.z.enum(client_file_mark_enum_1.ClientFileMark)),
28
30
  createdAt: zod_1.z.string().datetime(),
29
31
  updatedAt: zod_1.z.string().datetime(),
30
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"user-file-item-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/user-file-item-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AACzD,uEAA6D;AAC7D,yEAAoE;AAUvD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,sCAAc,CAAC;IAC5B,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,0CAAgB,CAAC;IAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;KACnC,CAAC;IACF,UAAU,EAAE,OAAC;SACR,MAAM,CAAC;QACJ,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;KACnC,CAAC;SACD,QAAQ,EAAE;IACf,kBAAkB,EAAE,OAAC,CAAC,IAAI,CAAC,iDAAsB,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
1
+ {"version":3,"file":"user-file-item-response.schema.js","sourceRoot":"","sources":["../../../../v1/client-file/schemas/user-file-item-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,mEAAyD;AACzD,uEAA6D;AAC7D,mEAAyD;AACzD,yEAAoE;AAUvD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBA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
19
  processingCategory: z.ZodNullable<z.ZodEnum<typeof import("./processing-category.enum").FileProcessingCategory>>;
20
+ marks: z.ZodArray<z.ZodEnum<typeof import("./client-file-mark.enum").ClientFileMark>>;
20
21
  createdAt: z.ZodString;
21
22
  updatedAt: z.ZodString;
22
23
  }, z.core.$strip>>;
@@ -29,6 +29,7 @@ export declare namespace CreateMessageCommand {
29
29
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
30
30
  stepId: z.ZodString;
31
31
  stepIndex: z.ZodNumber;
32
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
32
33
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
33
34
  queries: z.ZodArray<z.ZodString>;
34
35
  }, z.core.$strip>, z.ZodObject<{
@@ -47,6 +48,7 @@ export declare namespace CreateMessageCommand {
47
48
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
48
49
  stepId: z.ZodString;
49
50
  chunk: z.ZodString;
51
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
50
52
  metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
51
53
  kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
52
54
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
@@ -108,6 +110,7 @@ export declare namespace CreateMessageCommand {
108
110
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
109
111
  stepId: z.ZodString;
110
112
  stepIndex: z.ZodNumber;
113
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
111
114
  errorCode: z.ZodString;
112
115
  errorMessage: z.ZodOptional<z.ZodString>;
113
116
  }, z.core.$strip>, z.ZodObject<{
@@ -118,6 +121,7 @@ export declare namespace CreateMessageCommand {
118
121
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
119
122
  stepId: z.ZodString;
120
123
  stepIndex: z.ZodNumber;
124
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
121
125
  fullContent: z.ZodOptional<z.ZodString>;
122
126
  structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
123
127
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -196,6 +200,7 @@ export declare namespace CreateMessageCommand {
196
200
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
197
201
  stepId: z.ZodString;
198
202
  stepIndex: z.ZodNumber;
203
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
199
204
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
200
205
  queries: z.ZodArray<z.ZodString>;
201
206
  }, z.core.$strip>, z.ZodObject<{
@@ -215,6 +220,7 @@ export declare namespace CreateMessageCommand {
215
220
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
216
221
  stepId: z.ZodString;
217
222
  chunk: z.ZodString;
223
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
218
224
  metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
219
225
  kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
220
226
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
@@ -277,6 +283,7 @@ export declare namespace CreateMessageCommand {
277
283
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
278
284
  stepId: z.ZodString;
279
285
  stepIndex: z.ZodNumber;
286
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
280
287
  errorCode: z.ZodString;
281
288
  errorMessage: z.ZodOptional<z.ZodString>;
282
289
  }, z.core.$strip>;
@@ -288,6 +295,7 @@ export declare namespace CreateMessageCommand {
288
295
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
289
296
  stepId: z.ZodString;
290
297
  stepIndex: z.ZodNumber;
298
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
291
299
  fullContent: z.ZodOptional<z.ZodString>;
292
300
  structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
293
301
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -10,6 +10,7 @@ export declare namespace GetMessageStreamRegQuery {
10
10
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
11
11
  stepId: z.ZodString;
12
12
  stepIndex: z.ZodNumber;
13
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13
14
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
14
15
  queries: z.ZodArray<z.ZodString>;
15
16
  }, z.core.$strip>, z.ZodObject<{
@@ -28,6 +29,7 @@ export declare namespace GetMessageStreamRegQuery {
28
29
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
29
30
  stepId: z.ZodString;
30
31
  chunk: z.ZodString;
32
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31
33
  metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32
34
  kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
33
35
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
@@ -89,6 +91,7 @@ export declare namespace GetMessageStreamRegQuery {
89
91
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
90
92
  stepId: z.ZodString;
91
93
  stepIndex: z.ZodNumber;
94
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
92
95
  errorCode: z.ZodString;
93
96
  errorMessage: z.ZodOptional<z.ZodString>;
94
97
  }, z.core.$strip>, z.ZodObject<{
@@ -99,6 +102,7 @@ export declare namespace GetMessageStreamRegQuery {
99
102
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
100
103
  stepId: z.ZodString;
101
104
  stepIndex: z.ZodNumber;
105
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
102
106
  fullContent: z.ZodOptional<z.ZodString>;
103
107
  structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104
108
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -10,6 +10,7 @@ export declare namespace GetMessageStreamUnregQuery {
10
10
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
11
11
  stepId: z.ZodString;
12
12
  stepIndex: z.ZodNumber;
13
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13
14
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
14
15
  queries: z.ZodArray<z.ZodString>;
15
16
  }, z.core.$strip>, z.ZodObject<{
@@ -28,6 +29,7 @@ export declare namespace GetMessageStreamUnregQuery {
28
29
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
29
30
  stepId: z.ZodString;
30
31
  chunk: z.ZodString;
32
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31
33
  metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
32
34
  kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
33
35
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
@@ -89,6 +91,7 @@ export declare namespace GetMessageStreamUnregQuery {
89
91
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
90
92
  stepId: z.ZodString;
91
93
  stepIndex: z.ZodNumber;
94
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
92
95
  errorCode: z.ZodString;
93
96
  errorMessage: z.ZodOptional<z.ZodString>;
94
97
  }, z.core.$strip>, z.ZodObject<{
@@ -99,6 +102,7 @@ export declare namespace GetMessageStreamUnregQuery {
99
102
  stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
100
103
  stepId: z.ZodString;
101
104
  stepIndex: z.ZodNumber;
105
+ modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
102
106
  fullContent: z.ZodOptional<z.ZodString>;
103
107
  structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104
108
  metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -26,6 +26,7 @@ export { AttachmentStatus } from './attachment-status.enum';
26
26
  export { AttachmentSchema, AttachmentsSchema, } from './message-attachment.schema';
27
27
  export type { Attachment, Attachments } from './message-attachment.schema';
28
28
  export { GenerationStepType } from './generation-step-type.enum';
29
+ export { MODEL_ATTRIBUTED_STEP_TYPES, isModelAttributedStepType, } from './model-attributed-step-types.const';
29
30
  export { MessageStepStatus } from './message-step-status.enum';
30
31
  export { GenerationStepSchema } from './generation-step.schema';
31
32
  export type { GenerationStep } from './generation-step.schema';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = exports.STEP_CHUNK_LINE_MAX_LENGTH = exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
4
- exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.MessageStepStatus = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = void 0;
4
+ exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = void 0;
5
5
  var message_role_enum_1 = require("./message-role.enum");
6
6
  Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
7
7
  var message_status_enum_1 = require("./message-status.enum");
@@ -85,6 +85,9 @@ Object.defineProperty(exports, "AttachmentSchema", { enumerable: true, get: func
85
85
  Object.defineProperty(exports, "AttachmentsSchema", { enumerable: true, get: function () { return message_attachment_schema_1.AttachmentsSchema; } });
86
86
  var generation_step_type_enum_1 = require("./generation-step-type.enum");
87
87
  Object.defineProperty(exports, "GenerationStepType", { enumerable: true, get: function () { return generation_step_type_enum_1.GenerationStepType; } });
88
+ var model_attributed_step_types_const_1 = require("./model-attributed-step-types.const");
89
+ Object.defineProperty(exports, "MODEL_ATTRIBUTED_STEP_TYPES", { enumerable: true, get: function () { return model_attributed_step_types_const_1.MODEL_ATTRIBUTED_STEP_TYPES; } });
90
+ Object.defineProperty(exports, "isModelAttributedStepType", { enumerable: true, get: function () { return model_attributed_step_types_const_1.isModelAttributedStepType; } });
88
91
  var message_step_status_enum_1 = require("./message-step-status.enum");
89
92
  Object.defineProperty(exports, "MessageStepStatus", { enumerable: true, get: function () { return message_step_status_enum_1.MessageStepStatus; } });
90
93
  var generation_step_schema_1 = require("./generation-step.schema");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,+EAUwC;AATpC,yIAAA,yBAAyB,OAAA;AACzB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,qIAAA,qBAAqB,OAAA;AACrB,uIAAA,uBAAuB,OAAA;AACvB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,uIAAA,uBAAuB,OAAA;AACvB,sJAAA,sCAAsC,OAAA;AAa1C,2FAI8C;AAH1C,qJAAA,+BAA+B,OAAA;AAC/B,sJAAA,gCAAgC,OAAA;AAChC,kJAAA,4BAA4B,OAAA;AAOhC,uFAG4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AgB,OAAA;AACzB,yEAGqC;AAFjC,6HAAA,gBAAgB,OAAA;AAChB,8HAAA,iBAAiB,OAAA;AAGrB,yEAAiE;AAAxD,+HAAA,kBAAkB,OAAA;AAC3B,yFAG6C;AAFzC,gJAAA,2BAA2B,OAAA;AAC3B,8IAAA,yBAAyB,OAAA;AAE7B,uEAA+D;AAAtD,6HAAA,iBAAiB,OAAA;AAC1B,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAE7B,6DAI+B;AAH3B,+HAAA,wBAAwB,OAAA;AACxB,gIAAA,yBAAyB,OAAA;AACzB,8HAAA,uBAAuB,OAAA;AAO3B,iEAAiG;AAAxF,kIAAA,yBAAyB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAE/D,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA"}
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { AttachmentSource } from './attachment-source.enum';
3
3
  import { AttachmentType } from './attachment-type.enum';
4
+ import { ClientFileMark } from '../../client-file/schemas/client-file-mark.enum';
4
5
  export declare const AttachmentMetaResponseSchema: z.ZodObject<{
5
6
  width: z.ZodOptional<z.ZodNumber>;
6
7
  height: z.ZodOptional<z.ZodNumber>;
@@ -18,6 +19,7 @@ export declare const MessageAttachmentResponseSchema: z.ZodObject<{
18
19
  width: z.ZodOptional<z.ZodNumber>;
19
20
  height: z.ZodOptional<z.ZodNumber>;
20
21
  }, z.core.$strip>>;
22
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
21
23
  }, z.core.$strip>;
22
24
  export type MessageAttachmentResponse = z.infer<typeof MessageAttachmentResponseSchema>;
23
25
  export declare const MessageAttachmentsResponseSchema: z.ZodArray<z.ZodObject<{
@@ -32,5 +34,6 @@ export declare const MessageAttachmentsResponseSchema: z.ZodArray<z.ZodObject<{
32
34
  width: z.ZodOptional<z.ZodNumber>;
33
35
  height: z.ZodOptional<z.ZodNumber>;
34
36
  }, z.core.$strip>>;
37
+ marks: z.ZodArray<z.ZodEnum<typeof ClientFileMark>>;
35
38
  }, z.core.$strip>>;
36
39
  export type MessageAttachmentsResponse = z.infer<typeof MessageAttachmentsResponseSchema>;