@veruna/api-contracts 1.1.8 → 1.1.10

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 (170) hide show
  1. package/build/controllers/assistants-catalog.controllers.d.ts +2 -0
  2. package/build/controllers/assistants-catalog.controllers.js +6 -0
  3. package/build/controllers/assistants-catalog.controllers.js.map +1 -0
  4. package/build/controllers/assistants.controllers.d.ts +1 -0
  5. package/build/controllers/assistants.controllers.js +2 -1
  6. package/build/controllers/assistants.controllers.js.map +1 -1
  7. package/build/controllers/client-file.controllers.d.ts +1 -1
  8. package/build/controllers/client-file.controllers.js +1 -1
  9. package/build/controllers/client-file.controllers.js.map +1 -1
  10. package/build/controllers/index.d.ts +2 -1
  11. package/build/controllers/index.js +5 -1
  12. package/build/controllers/index.js.map +1 -1
  13. package/build/locales/validation.d.ts +176 -14
  14. package/build/locales/validation.js +176 -14
  15. package/build/locales/validation.js.map +1 -1
  16. package/build/rest-api.d.ts +21 -4
  17. package/build/rest-api.js +21 -4
  18. package/build/rest-api.js.map +1 -1
  19. package/build/routes/assistants-catalog.routes.d.ts +4 -0
  20. package/build/routes/assistants-catalog.routes.js +8 -0
  21. package/build/routes/assistants-catalog.routes.js.map +1 -0
  22. package/build/routes/assistants-user.routes.d.ts +7 -0
  23. package/build/routes/assistants-user.routes.js +11 -0
  24. package/build/routes/assistants-user.routes.js.map +1 -0
  25. package/build/routes/index.d.ts +2 -0
  26. package/build/routes/index.js +5 -1
  27. package/build/routes/index.js.map +1 -1
  28. package/build/tsconfig.tsbuildinfo +1 -1
  29. package/build/v1/assistants/admin/commands/create-assistant.command.d.ts +6 -2
  30. package/build/v1/assistants/admin/commands/update-assistant.command.d.ts +7 -2
  31. package/build/v1/assistants/admin/queries/get-assistant.query.d.ts +4 -1
  32. package/build/v1/assistants/admin/queries/get-assistants.query.d.ts +54 -2
  33. package/build/v1/assistants/admin/queries/get-assistants.query.js +11 -2
  34. package/build/v1/assistants/admin/queries/get-assistants.query.js.map +1 -1
  35. package/build/v1/assistants/assistants.errors.d.ts +4 -1
  36. package/build/v1/assistants/assistants.errors.js +15 -0
  37. package/build/v1/assistants/assistants.errors.js.map +1 -1
  38. package/build/v1/assistants/catalog/queries/catalog-long-reg.query.d.ts +32 -0
  39. package/build/v1/assistants/catalog/queries/catalog-long-reg.query.js +15 -0
  40. package/build/v1/assistants/catalog/queries/catalog-long-reg.query.js.map +1 -0
  41. package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.d.ts +29 -0
  42. package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.js +15 -0
  43. package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.js.map +1 -0
  44. package/build/v1/assistants/catalog/queries/catalog-short-reg.query.d.ts +54 -0
  45. package/build/v1/assistants/catalog/queries/catalog-short-reg.query.js +15 -0
  46. package/build/v1/assistants/catalog/queries/catalog-short-reg.query.js.map +1 -0
  47. package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.d.ts +34 -0
  48. package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.js +15 -0
  49. package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.js.map +1 -0
  50. package/build/v1/assistants/catalog/queries/index.d.ts +4 -0
  51. package/build/v1/assistants/catalog/queries/index.js +12 -0
  52. package/build/v1/assistants/catalog/queries/index.js.map +1 -0
  53. package/build/v1/assistants/index.d.ts +3 -0
  54. package/build/v1/assistants/index.js +3 -0
  55. package/build/v1/assistants/index.js.map +1 -1
  56. package/build/v1/assistants/public/queries/get-tree.query.d.ts +2 -2
  57. package/build/v1/assistants/schemas/assistant-constants.d.ts +1 -0
  58. package/build/v1/assistants/schemas/assistant-constants.js +5 -0
  59. package/build/v1/assistants/schemas/assistant-constants.js.map +1 -0
  60. package/build/v1/assistants/schemas/assistant-public.schema.d.ts +1 -1
  61. package/build/v1/assistants/schemas/assistant-public.schema.js +1 -1
  62. package/build/v1/assistants/schemas/assistant-public.schema.js.map +1 -1
  63. package/build/v1/assistants/schemas/assistant-response.schema.d.ts +9 -2
  64. package/build/v1/assistants/schemas/assistant-response.schema.js +5 -1
  65. package/build/v1/assistants/schemas/assistant-response.schema.js.map +1 -1
  66. package/build/v1/assistants/schemas/assistant-tree.schema.d.ts +5 -5
  67. package/build/v1/assistants/schemas/assistant-tree.schema.js +2 -2
  68. package/build/v1/assistants/schemas/assistant-tree.schema.js.map +1 -1
  69. package/build/v1/assistants/schemas/assistant-visibility.enum.d.ts +4 -0
  70. package/build/v1/assistants/schemas/assistant-visibility.enum.js +9 -0
  71. package/build/v1/assistants/schemas/assistant-visibility.enum.js.map +1 -0
  72. package/build/v1/assistants/schemas/catalog-filter.enum.d.ts +5 -0
  73. package/build/v1/assistants/schemas/catalog-filter.enum.js +10 -0
  74. package/build/v1/assistants/schemas/catalog-filter.enum.js.map +1 -0
  75. package/build/v1/assistants/schemas/catalog-long-request.schema.d.ts +18 -0
  76. package/build/v1/assistants/schemas/catalog-long-request.schema.js +38 -0
  77. package/build/v1/assistants/schemas/catalog-long-request.schema.js.map +1 -0
  78. package/build/v1/assistants/schemas/catalog-long-response.schema.d.ts +53 -0
  79. package/build/v1/assistants/schemas/catalog-long-response.schema.js +30 -0
  80. package/build/v1/assistants/schemas/catalog-long-response.schema.js.map +1 -0
  81. package/build/v1/assistants/schemas/catalog-short-response.schema.d.ts +120 -0
  82. package/build/v1/assistants/schemas/catalog-short-response.schema.js +45 -0
  83. package/build/v1/assistants/schemas/catalog-short-response.schema.js.map +1 -0
  84. package/build/v1/assistants/schemas/catalog-sort.enum.d.ts +5 -0
  85. package/build/v1/assistants/schemas/catalog-sort.enum.js +10 -0
  86. package/build/v1/assistants/schemas/catalog-sort.enum.js.map +1 -0
  87. package/build/v1/assistants/schemas/create-assistant-request.schema.d.ts +2 -1
  88. package/build/v1/assistants/schemas/create-assistant-request.schema.js +8 -4
  89. package/build/v1/assistants/schemas/create-assistant-request.schema.js.map +1 -1
  90. package/build/v1/assistants/schemas/create-user-assistant-request.schema.d.ts +8 -0
  91. package/build/v1/assistants/schemas/create-user-assistant-request.schema.js +30 -0
  92. package/build/v1/assistants/schemas/create-user-assistant-request.schema.js.map +1 -0
  93. package/build/v1/assistants/schemas/index.d.ts +11 -0
  94. package/build/v1/assistants/schemas/index.js +33 -1
  95. package/build/v1/assistants/schemas/index.js.map +1 -1
  96. package/build/v1/assistants/schemas/update-assistant-request.schema.d.ts +4 -1
  97. package/build/v1/assistants/schemas/update-assistant-request.schema.js +12 -2
  98. package/build/v1/assistants/schemas/update-assistant-request.schema.js.map +1 -1
  99. package/build/v1/assistants/schemas/update-user-assistant-request.schema.d.ts +8 -0
  100. package/build/v1/assistants/schemas/update-user-assistant-request.schema.js +34 -0
  101. package/build/v1/assistants/schemas/update-user-assistant-request.schema.js.map +1 -0
  102. package/build/v1/assistants/schemas/user-assistant-response.schema.d.ts +20 -0
  103. package/build/v1/assistants/schemas/user-assistant-response.schema.js +25 -0
  104. package/build/v1/assistants/schemas/user-assistant-response.schema.js.map +1 -0
  105. package/build/v1/assistants/schemas/user-assistant-type.enum.d.ts +5 -0
  106. package/build/v1/assistants/schemas/user-assistant-type.enum.js +10 -0
  107. package/build/v1/assistants/schemas/user-assistant-type.enum.js.map +1 -0
  108. package/build/v1/assistants/user/commands/create-user-assistant.command.d.ts +27 -0
  109. package/build/v1/assistants/user/commands/create-user-assistant.command.js +14 -0
  110. package/build/v1/assistants/user/commands/create-user-assistant.command.js.map +1 -0
  111. package/build/v1/assistants/user/commands/delete-user-assistant.command.d.ts +12 -0
  112. package/build/v1/assistants/user/commands/delete-user-assistant.command.js +15 -0
  113. package/build/v1/assistants/user/commands/delete-user-assistant.command.js.map +1 -0
  114. package/build/v1/assistants/user/commands/index.d.ts +4 -0
  115. package/build/v1/assistants/user/commands/index.js +12 -0
  116. package/build/v1/assistants/user/commands/index.js.map +1 -0
  117. package/build/v1/assistants/user/commands/toggle-favorite-assistant.command.d.ts +12 -0
  118. package/build/v1/assistants/user/commands/toggle-favorite-assistant.command.js +15 -0
  119. package/build/v1/assistants/user/commands/toggle-favorite-assistant.command.js.map +1 -0
  120. package/build/v1/assistants/user/commands/update-user-assistant.command.d.ts +27 -0
  121. package/build/v1/assistants/user/commands/update-user-assistant.command.js +14 -0
  122. package/build/v1/assistants/user/commands/update-user-assistant.command.js.map +1 -0
  123. package/build/v1/assistants/user/queries/get-user-assistant.query.d.ts +21 -0
  124. package/build/v1/assistants/user/queries/get-user-assistant.query.js +15 -0
  125. package/build/v1/assistants/user/queries/get-user-assistant.query.js.map +1 -0
  126. package/build/v1/assistants/user/queries/index.d.ts +1 -0
  127. package/build/v1/assistants/user/queries/index.js +6 -0
  128. package/build/v1/assistants/user/queries/index.js.map +1 -0
  129. package/build/v1/chat/commands/create-reg-chat.command.d.ts +1 -0
  130. package/build/v1/chat/commands/create-unreg-chat.command.d.ts +1 -0
  131. package/build/v1/chat/commands/update-chat-title.command.d.ts +1 -0
  132. package/build/v1/chat/commands/update-chat.command.d.ts +2 -0
  133. package/build/v1/chat/queries/get-last-active-chat.query.d.ts +1 -0
  134. package/build/v1/chat/queries/get-reg-chat.query.d.ts +1 -0
  135. package/build/v1/chat/queries/get-unreg-chat.query.d.ts +1 -0
  136. package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +1 -0
  137. package/build/v1/chat/schemas/update-chat-request.schema.d.ts +1 -0
  138. package/build/v1/chat/schemas/update-chat-request.schema.js +1 -0
  139. package/build/v1/chat/schemas/update-chat-request.schema.js.map +1 -1
  140. package/build/v1/client-file/commands/client-file-attach.command.d.ts +1 -2
  141. package/build/v1/client-file/commands/client-file-attach.command.js +1 -1
  142. package/build/v1/client-file/commands/client-file-attach.command.js.map +1 -1
  143. package/build/v1/client-file/commands/client-file-delete.command.d.ts +1 -2
  144. package/build/v1/client-file/commands/client-file-delete.command.js +1 -1
  145. package/build/v1/client-file/commands/client-file-delete.command.js.map +1 -1
  146. package/build/v1/client-file/commands/client-file-upload.command.d.ts +1 -2
  147. package/build/v1/client-file/commands/client-file-upload.command.js +1 -1
  148. package/build/v1/client-file/commands/client-file-upload.command.js.map +1 -1
  149. package/build/v1/client-file/queries/client-file-list.query.d.ts +1 -2
  150. package/build/v1/client-file/queries/client-file-list.query.js +1 -1
  151. package/build/v1/client-file/queries/client-file-list.query.js.map +1 -1
  152. package/build/v1/client-file/schemas/client-file-by-id-params.schema.d.ts +0 -1
  153. package/build/v1/client-file/schemas/client-file-chat-params.schema.d.ts +0 -1
  154. package/build/v1/client-file/schemas/client-file-chat-params.schema.js +1 -7
  155. package/build/v1/client-file/schemas/client-file-chat-params.schema.js.map +1 -1
  156. package/build/v1/message/commands/create-message.command.d.ts +1 -0
  157. package/build/v1/message/schemas/create-message-request.schema.d.ts +1 -0
  158. package/build/v1/message/schemas/create-message-request.schema.js +4 -0
  159. package/build/v1/message/schemas/create-message-request.schema.js.map +1 -1
  160. package/build/v1/message/schemas/message-response.schema.d.ts +1 -0
  161. package/build/v1/message/schemas/message-response.schema.js +1 -0
  162. package/build/v1/message/schemas/message-response.schema.js.map +1 -1
  163. package/build/v1/s2s/commands/upload-ai-image.command.d.ts +0 -1
  164. package/build/v1/s2s/schemas/s2s-upload-ai-image-request.schema.d.ts +0 -1
  165. package/build/v1/s2s/schemas/s2s-upload-ai-image-request.schema.js +0 -1
  166. package/build/v1/s2s/schemas/s2s-upload-ai-image-request.schema.js.map +1 -1
  167. package/build/v1/seo-pages/public/queries/get-index-page.query.d.ts +1 -1
  168. package/build/v1/seo-pages/public/queries/get-page-by-alias.query.d.ts +1 -1
  169. package/build/v1/seo-pages/schemas/page-response.schema.d.ts +1 -1
  170. package/package.json +1 -1
@@ -1,8 +1,19 @@
1
1
  export { AssistantStatus } from './assistant-status.enum';
2
2
  export { AssistantMark } from './assistant-mark.enum';
3
+ export { AssistantVisibility } from './assistant-visibility.enum';
4
+ export { UserAssistantType } from './user-assistant-type.enum';
5
+ export { DEFAULT_USER_ASSISTANT_IMAGE } from './assistant-constants';
3
6
  export { AssistantLinkedPageSchema, AssistantTreePageSchema, type AssistantLinkedPageType, type AssistantTreePageType, } from './assistant-linked-page.schema';
4
7
  export { CreateAssistantRequestSchema } from './create-assistant-request.schema';
5
8
  export { UpdateAssistantRequestSchema } from './update-assistant-request.schema';
9
+ export { CreateUserAssistantRequestSchema } from './create-user-assistant-request.schema';
10
+ export { UpdateUserAssistantRequestSchema } from './update-user-assistant-request.schema';
11
+ export { UserAssistantResponseSchema, ToggleFavoriteResponseSchema, DeleteUserAssistantResponseSchema, } from './user-assistant-response.schema';
6
12
  export { AssistantResponseSchema, AssistantListItemSchema, } from './assistant-response.schema';
7
13
  export { PublicAssistantSchema, type PublicAssistantType } from './assistant-public.schema';
8
14
  export { AssistantTreeChildSchema, AssistantTreeNodeSchema, AssistantsTreeResponseSchema, type AssistantTreeChildType, type AssistantTreeNodeType, type AssistantsTreeResponseType, } from './assistant-tree.schema';
15
+ export { CatalogFilter } from './catalog-filter.enum';
16
+ export { CatalogSort } from './catalog-sort.enum';
17
+ export { CatalogShortItemSchema, CatalogShortTreeChildSchema, CatalogShortTreeNodeSchema, CatalogShortUnregResponseSchema, CatalogShortRegResponseSchema, } from './catalog-short-response.schema';
18
+ export { CatalogLongUnregRequestSchema, CatalogLongRegRequestSchema, } from './catalog-long-request.schema';
19
+ export { CatalogLongUnregItemSchema, CatalogLongRegItemSchema, CatalogLongUnregResponseSchema, CatalogLongRegResponseSchema, } from './catalog-long-response.schema';
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssistantsTreeResponseSchema = exports.AssistantTreeNodeSchema = exports.AssistantTreeChildSchema = exports.PublicAssistantSchema = exports.AssistantListItemSchema = exports.AssistantResponseSchema = exports.UpdateAssistantRequestSchema = exports.CreateAssistantRequestSchema = exports.AssistantTreePageSchema = exports.AssistantLinkedPageSchema = exports.AssistantMark = exports.AssistantStatus = void 0;
3
+ exports.CatalogLongRegResponseSchema = exports.CatalogLongUnregResponseSchema = exports.CatalogLongRegItemSchema = exports.CatalogLongUnregItemSchema = exports.CatalogLongRegRequestSchema = exports.CatalogLongUnregRequestSchema = exports.CatalogShortRegResponseSchema = exports.CatalogShortUnregResponseSchema = exports.CatalogShortTreeNodeSchema = exports.CatalogShortTreeChildSchema = exports.CatalogShortItemSchema = exports.CatalogSort = exports.CatalogFilter = exports.AssistantsTreeResponseSchema = exports.AssistantTreeNodeSchema = exports.AssistantTreeChildSchema = exports.PublicAssistantSchema = exports.AssistantListItemSchema = exports.AssistantResponseSchema = exports.DeleteUserAssistantResponseSchema = exports.ToggleFavoriteResponseSchema = exports.UserAssistantResponseSchema = exports.UpdateUserAssistantRequestSchema = exports.CreateUserAssistantRequestSchema = exports.UpdateAssistantRequestSchema = exports.CreateAssistantRequestSchema = exports.AssistantTreePageSchema = exports.AssistantLinkedPageSchema = exports.DEFAULT_USER_ASSISTANT_IMAGE = exports.UserAssistantType = exports.AssistantVisibility = exports.AssistantMark = exports.AssistantStatus = void 0;
4
4
  var assistant_status_enum_1 = require("./assistant-status.enum");
5
5
  Object.defineProperty(exports, "AssistantStatus", { enumerable: true, get: function () { return assistant_status_enum_1.AssistantStatus; } });
6
6
  var assistant_mark_enum_1 = require("./assistant-mark.enum");
7
7
  Object.defineProperty(exports, "AssistantMark", { enumerable: true, get: function () { return assistant_mark_enum_1.AssistantMark; } });
8
+ var assistant_visibility_enum_1 = require("./assistant-visibility.enum");
9
+ Object.defineProperty(exports, "AssistantVisibility", { enumerable: true, get: function () { return assistant_visibility_enum_1.AssistantVisibility; } });
10
+ var user_assistant_type_enum_1 = require("./user-assistant-type.enum");
11
+ Object.defineProperty(exports, "UserAssistantType", { enumerable: true, get: function () { return user_assistant_type_enum_1.UserAssistantType; } });
12
+ var assistant_constants_1 = require("./assistant-constants");
13
+ Object.defineProperty(exports, "DEFAULT_USER_ASSISTANT_IMAGE", { enumerable: true, get: function () { return assistant_constants_1.DEFAULT_USER_ASSISTANT_IMAGE; } });
8
14
  var assistant_linked_page_schema_1 = require("./assistant-linked-page.schema");
9
15
  Object.defineProperty(exports, "AssistantLinkedPageSchema", { enumerable: true, get: function () { return assistant_linked_page_schema_1.AssistantLinkedPageSchema; } });
10
16
  Object.defineProperty(exports, "AssistantTreePageSchema", { enumerable: true, get: function () { return assistant_linked_page_schema_1.AssistantTreePageSchema; } });
@@ -12,6 +18,14 @@ var create_assistant_request_schema_1 = require("./create-assistant-request.sche
12
18
  Object.defineProperty(exports, "CreateAssistantRequestSchema", { enumerable: true, get: function () { return create_assistant_request_schema_1.CreateAssistantRequestSchema; } });
13
19
  var update_assistant_request_schema_1 = require("./update-assistant-request.schema");
14
20
  Object.defineProperty(exports, "UpdateAssistantRequestSchema", { enumerable: true, get: function () { return update_assistant_request_schema_1.UpdateAssistantRequestSchema; } });
21
+ var create_user_assistant_request_schema_1 = require("./create-user-assistant-request.schema");
22
+ Object.defineProperty(exports, "CreateUserAssistantRequestSchema", { enumerable: true, get: function () { return create_user_assistant_request_schema_1.CreateUserAssistantRequestSchema; } });
23
+ var update_user_assistant_request_schema_1 = require("./update-user-assistant-request.schema");
24
+ Object.defineProperty(exports, "UpdateUserAssistantRequestSchema", { enumerable: true, get: function () { return update_user_assistant_request_schema_1.UpdateUserAssistantRequestSchema; } });
25
+ var user_assistant_response_schema_1 = require("./user-assistant-response.schema");
26
+ Object.defineProperty(exports, "UserAssistantResponseSchema", { enumerable: true, get: function () { return user_assistant_response_schema_1.UserAssistantResponseSchema; } });
27
+ Object.defineProperty(exports, "ToggleFavoriteResponseSchema", { enumerable: true, get: function () { return user_assistant_response_schema_1.ToggleFavoriteResponseSchema; } });
28
+ Object.defineProperty(exports, "DeleteUserAssistantResponseSchema", { enumerable: true, get: function () { return user_assistant_response_schema_1.DeleteUserAssistantResponseSchema; } });
15
29
  var assistant_response_schema_1 = require("./assistant-response.schema");
16
30
  Object.defineProperty(exports, "AssistantResponseSchema", { enumerable: true, get: function () { return assistant_response_schema_1.AssistantResponseSchema; } });
17
31
  Object.defineProperty(exports, "AssistantListItemSchema", { enumerable: true, get: function () { return assistant_response_schema_1.AssistantListItemSchema; } });
@@ -21,4 +35,22 @@ var assistant_tree_schema_1 = require("./assistant-tree.schema");
21
35
  Object.defineProperty(exports, "AssistantTreeChildSchema", { enumerable: true, get: function () { return assistant_tree_schema_1.AssistantTreeChildSchema; } });
22
36
  Object.defineProperty(exports, "AssistantTreeNodeSchema", { enumerable: true, get: function () { return assistant_tree_schema_1.AssistantTreeNodeSchema; } });
23
37
  Object.defineProperty(exports, "AssistantsTreeResponseSchema", { enumerable: true, get: function () { return assistant_tree_schema_1.AssistantsTreeResponseSchema; } });
38
+ var catalog_filter_enum_1 = require("./catalog-filter.enum");
39
+ Object.defineProperty(exports, "CatalogFilter", { enumerable: true, get: function () { return catalog_filter_enum_1.CatalogFilter; } });
40
+ var catalog_sort_enum_1 = require("./catalog-sort.enum");
41
+ Object.defineProperty(exports, "CatalogSort", { enumerable: true, get: function () { return catalog_sort_enum_1.CatalogSort; } });
42
+ var catalog_short_response_schema_1 = require("./catalog-short-response.schema");
43
+ Object.defineProperty(exports, "CatalogShortItemSchema", { enumerable: true, get: function () { return catalog_short_response_schema_1.CatalogShortItemSchema; } });
44
+ Object.defineProperty(exports, "CatalogShortTreeChildSchema", { enumerable: true, get: function () { return catalog_short_response_schema_1.CatalogShortTreeChildSchema; } });
45
+ Object.defineProperty(exports, "CatalogShortTreeNodeSchema", { enumerable: true, get: function () { return catalog_short_response_schema_1.CatalogShortTreeNodeSchema; } });
46
+ Object.defineProperty(exports, "CatalogShortUnregResponseSchema", { enumerable: true, get: function () { return catalog_short_response_schema_1.CatalogShortUnregResponseSchema; } });
47
+ Object.defineProperty(exports, "CatalogShortRegResponseSchema", { enumerable: true, get: function () { return catalog_short_response_schema_1.CatalogShortRegResponseSchema; } });
48
+ var catalog_long_request_schema_1 = require("./catalog-long-request.schema");
49
+ Object.defineProperty(exports, "CatalogLongUnregRequestSchema", { enumerable: true, get: function () { return catalog_long_request_schema_1.CatalogLongUnregRequestSchema; } });
50
+ Object.defineProperty(exports, "CatalogLongRegRequestSchema", { enumerable: true, get: function () { return catalog_long_request_schema_1.CatalogLongRegRequestSchema; } });
51
+ var catalog_long_response_schema_1 = require("./catalog-long-response.schema");
52
+ Object.defineProperty(exports, "CatalogLongUnregItemSchema", { enumerable: true, get: function () { return catalog_long_response_schema_1.CatalogLongUnregItemSchema; } });
53
+ Object.defineProperty(exports, "CatalogLongRegItemSchema", { enumerable: true, get: function () { return catalog_long_response_schema_1.CatalogLongRegItemSchema; } });
54
+ Object.defineProperty(exports, "CatalogLongUnregResponseSchema", { enumerable: true, get: function () { return catalog_long_response_schema_1.CatalogLongUnregResponseSchema; } });
55
+ Object.defineProperty(exports, "CatalogLongRegResponseSchema", { enumerable: true, get: function () { return catalog_long_response_schema_1.CatalogLongRegResponseSchema; } });
24
56
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/index.ts"],"names":[],"mappings":";;;AAAA,iEAA0D;AAAjD,wHAAA,eAAe,OAAA;AACxB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,+EAKwC;AAJpC,yIAAA,yBAAyB,OAAA;AACzB,uIAAA,uBAAuB,OAAA;AAI3B,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,yEAGqC;AAFjC,oIAAA,uBAAuB,OAAA;AACvB,oIAAA,uBAAuB,OAAA;AAE3B,qEAA4F;AAAnF,gIAAA,qBAAqB,OAAA;AAC9B,iEAOiC;AAN7B,iIAAA,wBAAwB,OAAA;AACxB,gIAAA,uBAAuB,OAAA;AACvB,qIAAA,4BAA4B,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/index.ts"],"names":[],"mappings":";;;AAAA,iEAA0D;AAAjD,wHAAA,eAAe,OAAA;AACxB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,yEAAkE;AAAzD,gIAAA,mBAAmB,OAAA;AAC5B,uEAA+D;AAAtD,6HAAA,iBAAiB,OAAA;AAC1B,6DAAqE;AAA5D,mIAAA,4BAA4B,OAAA;AACrC,+EAKwC;AAJpC,yIAAA,yBAAyB,OAAA;AACzB,uIAAA,uBAAuB,OAAA;AAI3B,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,+FAA0F;AAAjF,wJAAA,gCAAgC,OAAA;AACzC,+FAA0F;AAAjF,wJAAA,gCAAgC,OAAA;AACzC,mFAI0C;AAHtC,6IAAA,2BAA2B,OAAA;AAC3B,8IAAA,4BAA4B,OAAA;AAC5B,mJAAA,iCAAiC,OAAA;AAErC,yEAGqC;AAFjC,oIAAA,uBAAuB,OAAA;AACvB,oIAAA,uBAAuB,OAAA;AAE3B,qEAA4F;AAAnF,gIAAA,qBAAqB,OAAA;AAC9B,iEAOiC;AAN7B,iIAAA,wBAAwB,OAAA;AACxB,gIAAA,uBAAuB,OAAA;AACvB,qIAAA,4BAA4B,OAAA;AAKhC,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,iFAMyC;AALrC,uIAAA,sBAAsB,OAAA;AACtB,4IAAA,2BAA2B,OAAA;AAC3B,2IAAA,0BAA0B,OAAA;AAC1B,gJAAA,+BAA+B,OAAA;AAC/B,8IAAA,6BAA6B,OAAA;AAEjC,6EAGuC;AAFnC,4IAAA,6BAA6B,OAAA;AAC7B,0IAAA,2BAA2B,OAAA;AAE/B,+EAKwC;AAJpC,0IAAA,0BAA0B,OAAA;AAC1B,wIAAA,wBAAwB,OAAA;AACxB,8IAAA,8BAA8B,OAAA;AAC9B,4IAAA,4BAA4B,OAAA"}
@@ -1,15 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  import { AssistantMark } from './assistant-mark.enum';
3
3
  import { AssistantStatus } from './assistant-status.enum';
4
+ import { AssistantVisibility } from './assistant-visibility.enum';
4
5
  export declare const UpdateAssistantRequestSchema: z.ZodObject<{
5
6
  title: z.ZodOptional<z.ZodString>;
6
7
  description: z.ZodOptional<z.ZodString>;
7
8
  placeholder: z.ZodOptional<z.ZodString>;
8
9
  seoName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- icon: z.ZodOptional<z.ZodString>;
10
+ image: z.ZodOptional<z.ZodString>;
10
11
  prompt: z.ZodOptional<z.ZodString>;
11
12
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
13
  order: z.ZodOptional<z.ZodNumber>;
13
14
  marks: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof AssistantMark>>>;
14
15
  status: z.ZodOptional<z.ZodEnum<typeof AssistantStatus>>;
16
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ visibility: z.ZodOptional<z.ZodEnum<typeof AssistantVisibility>>;
15
18
  }, z.core.$strip>;
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const shared_1 = require("../../../shared");
6
6
  const assistant_mark_enum_1 = require("./assistant-mark.enum");
7
7
  const assistant_status_enum_1 = require("./assistant-status.enum");
8
+ const assistant_visibility_enum_1 = require("./assistant-visibility.enum");
8
9
  exports.UpdateAssistantRequestSchema = zod_1.z.object({
9
10
  title: zod_1.z.string().min(1, { message: 'UpdateAssistantRequest.title.min' }).max(300, {
10
11
  message: 'UpdateAssistantRequest.title.max',
@@ -24,8 +25,8 @@ exports.UpdateAssistantRequestSchema = zod_1.z.object({
24
25
  .max(200, { message: 'UpdateAssistantRequest.seoName.max' })
25
26
  .nullable()
26
27
  .optional(),
27
- icon: zod_1.z.string().min(1, { message: 'UpdateAssistantRequest.icon.min' }).max(100, {
28
- message: 'UpdateAssistantRequest.icon.max',
28
+ image: zod_1.z.string().min(1, { message: 'UpdateAssistantRequest.image.min' }).max(100, {
29
+ message: 'UpdateAssistantRequest.image.max',
29
30
  }).optional(),
30
31
  prompt: zod_1.z
31
32
  .string()
@@ -54,5 +55,14 @@ exports.UpdateAssistantRequestSchema = zod_1.z.object({
54
55
  error: 'UpdateAssistantRequest.status.invalid',
55
56
  })
56
57
  .optional(),
58
+ tags: zod_1.z
59
+ .array(zod_1.z.string().max(100, { message: 'UpdateAssistantRequest.tags.itemMax' }))
60
+ .max(20, { message: 'UpdateAssistantRequest.tags.max' })
61
+ .optional(),
62
+ visibility: zod_1.z
63
+ .nativeEnum(assistant_visibility_enum_1.AssistantVisibility, {
64
+ error: 'UpdateAssistantRequest.visibility.invalid',
65
+ })
66
+ .optional(),
57
67
  });
58
68
  //# sourceMappingURL=update-assistant-request.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-assistant-request.schema.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/update-assistant-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,+DAAsD;AACtD,mEAA0D;AAE7C,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE;QAC/E,OAAO,EAAE,kCAAkC;KAC9C,CAAC,CAAC,QAAQ,EAAE;IACb,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC7D,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAChE,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC7D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC/D,QAAQ,EAAE;IACf,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;SAC3D,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE;QAC7E,OAAO,EAAE,iCAAiC;KAC7C,CAAC,CAAC,QAAQ,EAAE;IACb,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SACxD,GAAG,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SAC5D,QAAQ,EAAE;IACf,QAAQ,EAAE,OAAC;SACN,MAAM,EAAE;SACR,KAAK,CAAC,mBAAU,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;SACzE,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SACxD,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC3D,GAAG,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;SAC3D,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,KAAK,CACF,OAAC,CAAC,UAAU,CAAC,mCAAa,EAAE;QACxB,KAAK,EAAE,sCAAsC;KAChD,CAAC,CACL;SACA,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;SACxD,QAAQ,EAAE;IACf,MAAM,EAAE,OAAC;SACJ,UAAU,CAAC,uCAAe,EAAE;QACzB,KAAK,EAAE,uCAAuC;KACjD,CAAC;SACD,QAAQ,EAAE;CAClB,CAAC,CAAC"}
1
+ {"version":3,"file":"update-assistant-request.schema.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/update-assistant-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAC7C,+DAAsD;AACtD,mEAA0D;AAC1D,2EAAkE;AAErD,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE;QAC/E,OAAO,EAAE,kCAAkC;KAC9C,CAAC,CAAC,QAAQ,EAAE;IACb,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC7D,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAChE,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC7D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC/D,QAAQ,EAAE;IACf,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;SAC3D,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE;QAC/E,OAAO,EAAE,kCAAkC;KAC9C,CAAC,CAAC,QAAQ,EAAE;IACb,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SACxD,GAAG,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;SAC5D,QAAQ,EAAE;IACf,QAAQ,EAAE,OAAC;SACN,MAAM,EAAE;SACR,KAAK,CAAC,mBAAU,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;SACzE,QAAQ,EAAE;SACV,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SACxD,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC3D,GAAG,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;SAC3D,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC;SACH,KAAK,CACF,OAAC,CAAC,UAAU,CAAC,mCAAa,EAAE;QACxB,KAAK,EAAE,sCAAsC;KAChD,CAAC,CACL;SACA,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;SACxD,QAAQ,EAAE;IACf,MAAM,EAAE,OAAC;SACJ,UAAU,CAAC,uCAAe,EAAE;QACzB,KAAK,EAAE,uCAAuC;KACjD,CAAC;SACD,QAAQ,EAAE;IACf,IAAI,EAAE,OAAC;SACF,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC,CAAC;SAC9E,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;SACvD,QAAQ,EAAE;IACf,UAAU,EAAE,OAAC;SACR,UAAU,CAAC,+CAAmB,EAAE;QAC7B,KAAK,EAAE,2CAA2C;KACrD,CAAC;SACD,QAAQ,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const UpdateUserAssistantRequestSchema: z.ZodObject<{
3
+ title: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ placeholder: z.ZodOptional<z.ZodString>;
6
+ prompt: z.ZodOptional<z.ZodString>;
7
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateUserAssistantRequestSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.UpdateUserAssistantRequestSchema = zod_1.z.object({
6
+ title: zod_1.z
7
+ .string()
8
+ .min(1, { message: 'UpdateUserAssistantRequest.title.min' })
9
+ .max(300, { message: 'UpdateUserAssistantRequest.title.max' })
10
+ .optional(),
11
+ description: zod_1.z
12
+ .string()
13
+ .min(1, { message: 'UpdateUserAssistantRequest.description.min' })
14
+ .max(5000, { message: 'UpdateUserAssistantRequest.description.max' })
15
+ .optional(),
16
+ placeholder: zod_1.z
17
+ .string()
18
+ .min(1, { message: 'UpdateUserAssistantRequest.placeholder.min' })
19
+ .max(500, { message: 'UpdateUserAssistantRequest.placeholder.max' })
20
+ .optional(),
21
+ prompt: zod_1.z
22
+ .string()
23
+ .min(1, { message: 'UpdateUserAssistantRequest.prompt.min' })
24
+ .max(10000, { message: 'UpdateUserAssistantRequest.prompt.max' })
25
+ .optional(),
26
+ tags: zod_1.z
27
+ .array(zod_1.z.string()
28
+ .min(1, { message: 'UpdateUserAssistantRequest.tags.itemMin' })
29
+ .max(100, { message: 'UpdateUserAssistantRequest.tags.itemMax' })
30
+ .trim())
31
+ .max(20, { message: 'UpdateUserAssistantRequest.tags.max' })
32
+ .optional(),
33
+ });
34
+ //# sourceMappingURL=update-user-assistant-request.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-user-assistant-request.schema.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/update-user-assistant-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC3D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC7D,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SACjE,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SACpE,QAAQ,EAAE;IACf,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SACjE,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SACnE,QAAQ,EAAE;IACf,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;SAC5D,GAAG,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;SAChE,QAAQ,EAAE;IACf,IAAI,EAAE,OAAC;SACF,KAAK,CACF,OAAC,CAAC,MAAM,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;SAC9D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,yCAAyC,EAAE,CAAC;SAChE,IAAI,EAAE,CACd;SACA,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC;SAC3D,QAAQ,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { AssistantVisibility } from './assistant-visibility.enum';
3
+ export declare const UserAssistantResponseSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ title: z.ZodString;
6
+ description: z.ZodString;
7
+ placeholder: z.ZodString;
8
+ image: z.ZodString;
9
+ prompt: z.ZodString;
10
+ tags: z.ZodArray<z.ZodString>;
11
+ visibility: z.ZodEnum<typeof AssistantVisibility>;
12
+ createdAt: z.ZodString;
13
+ updatedAt: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export declare const ToggleFavoriteResponseSchema: z.ZodObject<{
16
+ isFavorite: z.ZodBoolean;
17
+ }, z.core.$strip>;
18
+ export declare const DeleteUserAssistantResponseSchema: z.ZodObject<{
19
+ uuid: z.ZodString;
20
+ }, z.core.$strip>;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteUserAssistantResponseSchema = exports.ToggleFavoriteResponseSchema = exports.UserAssistantResponseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const shared_1 = require("../../../shared");
6
+ const assistant_visibility_enum_1 = require("./assistant-visibility.enum");
7
+ exports.UserAssistantResponseSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
9
+ title: zod_1.z.string(),
10
+ description: zod_1.z.string(),
11
+ placeholder: zod_1.z.string(),
12
+ image: zod_1.z.string(),
13
+ prompt: zod_1.z.string(),
14
+ tags: zod_1.z.array(zod_1.z.string()),
15
+ visibility: zod_1.z.nativeEnum(assistant_visibility_enum_1.AssistantVisibility),
16
+ createdAt: zod_1.z.string().regex(shared_1.DATETIME_REGEX),
17
+ updatedAt: zod_1.z.string().regex(shared_1.DATETIME_REGEX),
18
+ });
19
+ exports.ToggleFavoriteResponseSchema = zod_1.z.object({
20
+ isFavorite: zod_1.z.boolean(),
21
+ });
22
+ exports.DeleteUserAssistantResponseSchema = zod_1.z.object({
23
+ uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
24
+ });
25
+ //# sourceMappingURL=user-assistant-response.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-assistant-response.schema.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/user-assistant-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6D;AAC7D,2EAAkE;AAErD,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,OAAC,CAAC,UAAU,CAAC,+CAAmB,CAAC;IAC7C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,uBAAc,CAAC;IAC3C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,uBAAc,CAAC;CAC9C,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAU,CAAC;CACrC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare enum UserAssistantType {
2
+ OWNER = "owner",
3
+ FAVORITE = "favorite",
4
+ GRANTED = "granted"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantType = void 0;
4
+ var UserAssistantType;
5
+ (function (UserAssistantType) {
6
+ UserAssistantType["OWNER"] = "owner";
7
+ UserAssistantType["FAVORITE"] = "favorite";
8
+ UserAssistantType["GRANTED"] = "granted";
9
+ })(UserAssistantType || (exports.UserAssistantType = UserAssistantType = {}));
10
+ //# sourceMappingURL=user-assistant-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-assistant-type.enum.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/user-assistant-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;AACvB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B"}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace UserAssistantCreateCommand {
4
+ const Request: z.ZodObject<{
5
+ title: z.ZodString;
6
+ description: z.ZodString;
7
+ placeholder: z.ZodString;
8
+ prompt: z.ZodString;
9
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ const Response: z.ZodObject<{
12
+ uuid: z.ZodString;
13
+ title: z.ZodString;
14
+ description: z.ZodString;
15
+ placeholder: z.ZodString;
16
+ image: z.ZodString;
17
+ prompt: z.ZodString;
18
+ tags: z.ZodArray<z.ZodString>;
19
+ visibility: z.ZodEnum<typeof import("../../schemas").AssistantVisibility>;
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, z.core.$strip>;
23
+ const URL: "/api/v1/assistants/user/";
24
+ const METHOD = HttpMethod.POST;
25
+ type RequestType = z.infer<typeof Request>;
26
+ type ResponseType = z.infer<typeof Response>;
27
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantCreateCommand = void 0;
4
+ const schemas_1 = require("../../schemas");
5
+ const rest_api_1 = require("../../../../rest-api");
6
+ const http_method_1 = require("../../../../shared/http-method");
7
+ var UserAssistantCreateCommand;
8
+ (function (UserAssistantCreateCommand) {
9
+ UserAssistantCreateCommand.Request = schemas_1.CreateUserAssistantRequestSchema;
10
+ UserAssistantCreateCommand.Response = schemas_1.UserAssistantResponseSchema;
11
+ UserAssistantCreateCommand.URL = rest_api_1.REST_API.V1.ASSISTANTS.USER.CREATE;
12
+ UserAssistantCreateCommand.METHOD = http_method_1.HttpMethod.POST;
13
+ })(UserAssistantCreateCommand || (exports.UserAssistantCreateCommand = UserAssistantCreateCommand = {}));
14
+ //# sourceMappingURL=create-user-assistant.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user-assistant.command.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/commands/create-user-assistant.command.ts"],"names":[],"mappings":";;;AACA,2CAA8F;AAC9F,mDAAgD;AAChD,gEAA4D;AAE5D,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,kCAAO,GAAG,0CAAgC,CAAC;IAC3C,mCAAQ,GAAG,qCAA2B,CAAC;IACvC,8BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;IACzC,iCAAM,GAAG,wBAAU,CAAC,IAAI,CAAC;AAG1C,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace UserAssistantDeleteCommand {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ const URL: (uuid: string) => string;
9
+ const METHOD = HttpMethod.DELETE;
10
+ type RequestType = z.infer<typeof Request>;
11
+ type ResponseType = z.infer<typeof Response>;
12
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantDeleteCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const schemas_1 = require("../../schemas");
6
+ const rest_api_1 = require("../../../../rest-api");
7
+ const http_method_1 = require("../../../../shared/http-method");
8
+ var UserAssistantDeleteCommand;
9
+ (function (UserAssistantDeleteCommand) {
10
+ UserAssistantDeleteCommand.Request = zod_1.z.object({});
11
+ UserAssistantDeleteCommand.Response = schemas_1.DeleteUserAssistantResponseSchema;
12
+ UserAssistantDeleteCommand.URL = (uuid) => rest_api_1.REST_API.V1.ASSISTANTS.USER.DELETE(uuid);
13
+ UserAssistantDeleteCommand.METHOD = http_method_1.HttpMethod.DELETE;
14
+ })(UserAssistantDeleteCommand || (exports.UserAssistantDeleteCommand = UserAssistantDeleteCommand = {}));
15
+ //# sourceMappingURL=delete-user-assistant.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user-assistant.command.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/commands/delete-user-assistant.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAAkE;AAClE,mDAAgD;AAChD,gEAA4D;AAE5D,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,kCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,mCAAQ,GAAG,2CAAiC,CAAC;IAC7C,8BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACjE,iCAAM,GAAG,wBAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -0,0 +1,4 @@
1
+ export { UserAssistantCreateCommand } from './create-user-assistant.command';
2
+ export { UserAssistantUpdateCommand } from './update-user-assistant.command';
3
+ export { UserAssistantDeleteCommand } from './delete-user-assistant.command';
4
+ export { UserAssistantToggleFavoriteCommand } from './toggle-favorite-assistant.command';
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantToggleFavoriteCommand = exports.UserAssistantDeleteCommand = exports.UserAssistantUpdateCommand = exports.UserAssistantCreateCommand = void 0;
4
+ var create_user_assistant_command_1 = require("./create-user-assistant.command");
5
+ Object.defineProperty(exports, "UserAssistantCreateCommand", { enumerable: true, get: function () { return create_user_assistant_command_1.UserAssistantCreateCommand; } });
6
+ var update_user_assistant_command_1 = require("./update-user-assistant.command");
7
+ Object.defineProperty(exports, "UserAssistantUpdateCommand", { enumerable: true, get: function () { return update_user_assistant_command_1.UserAssistantUpdateCommand; } });
8
+ var delete_user_assistant_command_1 = require("./delete-user-assistant.command");
9
+ Object.defineProperty(exports, "UserAssistantDeleteCommand", { enumerable: true, get: function () { return delete_user_assistant_command_1.UserAssistantDeleteCommand; } });
10
+ var toggle_favorite_assistant_command_1 = require("./toggle-favorite-assistant.command");
11
+ Object.defineProperty(exports, "UserAssistantToggleFavoriteCommand", { enumerable: true, get: function () { return toggle_favorite_assistant_command_1.UserAssistantToggleFavoriteCommand; } });
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/commands/index.ts"],"names":[],"mappings":";;;AAAA,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,yFAAyF;AAAhF,uJAAA,kCAAkC,OAAA"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace UserAssistantToggleFavoriteCommand {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ isFavorite: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ const URL: (uuid: string) => string;
9
+ const METHOD = HttpMethod.POST;
10
+ type RequestType = z.infer<typeof Request>;
11
+ type ResponseType = z.infer<typeof Response>;
12
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantToggleFavoriteCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const schemas_1 = require("../../schemas");
6
+ const rest_api_1 = require("../../../../rest-api");
7
+ const http_method_1 = require("../../../../shared/http-method");
8
+ var UserAssistantToggleFavoriteCommand;
9
+ (function (UserAssistantToggleFavoriteCommand) {
10
+ UserAssistantToggleFavoriteCommand.Request = zod_1.z.object({});
11
+ UserAssistantToggleFavoriteCommand.Response = schemas_1.ToggleFavoriteResponseSchema;
12
+ UserAssistantToggleFavoriteCommand.URL = (uuid) => rest_api_1.REST_API.V1.ASSISTANTS.USER.TOGGLE_FAVORITE(uuid);
13
+ UserAssistantToggleFavoriteCommand.METHOD = http_method_1.HttpMethod.POST;
14
+ })(UserAssistantToggleFavoriteCommand || (exports.UserAssistantToggleFavoriteCommand = UserAssistantToggleFavoriteCommand = {}));
15
+ //# sourceMappingURL=toggle-favorite-assistant.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-favorite-assistant.command.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/commands/toggle-favorite-assistant.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA6D;AAC7D,mDAAgD;AAChD,gEAA4D;AAE5D,IAAiB,kCAAkC,CAOlD;AAPD,WAAiB,kCAAkC;IAClC,0CAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,2CAAQ,GAAG,sCAA4B,CAAC;IACxC,sCAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1E,yCAAM,GAAG,wBAAU,CAAC,IAAI,CAAC;AAG1C,CAAC,EAPgB,kCAAkC,kDAAlC,kCAAkC,QAOlD"}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace UserAssistantUpdateCommand {
4
+ const Request: z.ZodObject<{
5
+ title: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ placeholder: z.ZodOptional<z.ZodString>;
8
+ prompt: z.ZodOptional<z.ZodString>;
9
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ const Response: z.ZodObject<{
12
+ uuid: z.ZodString;
13
+ title: z.ZodString;
14
+ description: z.ZodString;
15
+ placeholder: z.ZodString;
16
+ image: z.ZodString;
17
+ prompt: z.ZodString;
18
+ tags: z.ZodArray<z.ZodString>;
19
+ visibility: z.ZodEnum<typeof import("../../schemas").AssistantVisibility>;
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, z.core.$strip>;
23
+ const URL: (uuid: string) => string;
24
+ const METHOD = HttpMethod.PATCH;
25
+ type RequestType = z.infer<typeof Request>;
26
+ type ResponseType = z.infer<typeof Response>;
27
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantUpdateCommand = void 0;
4
+ const schemas_1 = require("../../schemas");
5
+ const rest_api_1 = require("../../../../rest-api");
6
+ const http_method_1 = require("../../../../shared/http-method");
7
+ var UserAssistantUpdateCommand;
8
+ (function (UserAssistantUpdateCommand) {
9
+ UserAssistantUpdateCommand.Request = schemas_1.UpdateUserAssistantRequestSchema;
10
+ UserAssistantUpdateCommand.Response = schemas_1.UserAssistantResponseSchema;
11
+ UserAssistantUpdateCommand.URL = (uuid) => rest_api_1.REST_API.V1.ASSISTANTS.USER.UPDATE(uuid);
12
+ UserAssistantUpdateCommand.METHOD = http_method_1.HttpMethod.PATCH;
13
+ })(UserAssistantUpdateCommand || (exports.UserAssistantUpdateCommand = UserAssistantUpdateCommand = {}));
14
+ //# sourceMappingURL=update-user-assistant.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-user-assistant.command.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/commands/update-user-assistant.command.ts"],"names":[],"mappings":";;;AACA,2CAA8F;AAC9F,mDAAgD;AAChD,gEAA4D;AAE5D,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,kCAAO,GAAG,0CAAgC,CAAC;IAC3C,mCAAQ,GAAG,qCAA2B,CAAC;IACvC,8BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACjE,iCAAM,GAAG,wBAAU,CAAC,KAAK,CAAC;AAG3C,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace UserAssistantGetByUuidQuery {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ title: z.ZodString;
8
+ description: z.ZodString;
9
+ placeholder: z.ZodString;
10
+ image: z.ZodString;
11
+ prompt: z.ZodString;
12
+ tags: z.ZodArray<z.ZodString>;
13
+ visibility: z.ZodEnum<typeof import("../../schemas").AssistantVisibility>;
14
+ createdAt: z.ZodString;
15
+ updatedAt: z.ZodString;
16
+ }, z.core.$strip>;
17
+ const URL: (uuid: string) => string;
18
+ const METHOD = HttpMethod.GET;
19
+ type RequestType = z.infer<typeof Request>;
20
+ type ResponseType = z.infer<typeof Response>;
21
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantGetByUuidQuery = void 0;
4
+ const zod_1 = require("zod");
5
+ const schemas_1 = require("../../schemas");
6
+ const rest_api_1 = require("../../../../rest-api");
7
+ const http_method_1 = require("../../../../shared/http-method");
8
+ var UserAssistantGetByUuidQuery;
9
+ (function (UserAssistantGetByUuidQuery) {
10
+ UserAssistantGetByUuidQuery.Request = zod_1.z.object({});
11
+ UserAssistantGetByUuidQuery.Response = schemas_1.UserAssistantResponseSchema;
12
+ UserAssistantGetByUuidQuery.URL = (uuid) => rest_api_1.REST_API.V1.ASSISTANTS.USER.GET_BY_UUID(uuid);
13
+ UserAssistantGetByUuidQuery.METHOD = http_method_1.HttpMethod.GET;
14
+ })(UserAssistantGetByUuidQuery || (exports.UserAssistantGetByUuidQuery = UserAssistantGetByUuidQuery = {}));
15
+ //# sourceMappingURL=get-user-assistant.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-assistant.query.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/queries/get-user-assistant.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA4D;AAC5D,mDAAgD;AAChD,gEAA4D;AAE5D,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC3B,mCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,oCAAQ,GAAG,qCAA2B,CAAC;IACvC,+BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACtE,kCAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
@@ -0,0 +1 @@
1
+ export { UserAssistantGetByUuidQuery } from './get-user-assistant.query';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAssistantGetByUuidQuery = void 0;
4
+ var get_user_assistant_query_1 = require("./get-user-assistant.query");
5
+ Object.defineProperty(exports, "UserAssistantGetByUuidQuery", { enumerable: true, get: function () { return get_user_assistant_query_1.UserAssistantGetByUuidQuery; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/assistants/user/queries/index.ts"],"names":[],"mappings":";;;AAAA,uEAAyE;AAAhE,uIAAA,2BAA2B,OAAA"}
@@ -19,6 +19,7 @@ export declare namespace CreateRegChatCommand {
19
19
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
20
20
  content: z.ZodString;
21
21
  aiModelId: z.ZodNullable<z.ZodString>;
22
+ assistantId: z.ZodNullable<z.ZodString>;
22
23
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
23
24
  steps: z.ZodArray<z.ZodObject<{
24
25
  uuid: z.ZodString;
@@ -19,6 +19,7 @@ export declare namespace CreateUnregChatCommand {
19
19
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
20
20
  content: z.ZodString;
21
21
  aiModelId: z.ZodNullable<z.ZodString>;
22
+ assistantId: z.ZodNullable<z.ZodString>;
22
23
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
23
24
  steps: z.ZodArray<z.ZodObject<{
24
25
  uuid: z.ZodString;
@@ -18,6 +18,7 @@ export declare namespace UpdateChatTitleCommand {
18
18
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
19
19
  content: z.ZodString;
20
20
  aiModelId: z.ZodNullable<z.ZodString>;
21
+ assistantId: z.ZodNullable<z.ZodString>;
21
22
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
22
23
  steps: z.ZodArray<z.ZodObject<{
23
24
  uuid: z.ZodString;
@@ -4,6 +4,7 @@ export declare namespace UpdateChatCommand {
4
4
  const Request: z.ZodObject<{
5
5
  title: z.ZodOptional<z.ZodString>;
6
6
  folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ assistantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
8
  }, z.core.$strip>;
8
9
  const Response: z.ZodObject<{
9
10
  uuid: z.ZodString;
@@ -19,6 +20,7 @@ export declare namespace UpdateChatCommand {
19
20
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
20
21
  content: z.ZodString;
21
22
  aiModelId: z.ZodNullable<z.ZodString>;
23
+ assistantId: z.ZodNullable<z.ZodString>;
22
24
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
23
25
  steps: z.ZodArray<z.ZodObject<{
24
26
  uuid: z.ZodString;
@@ -16,6 +16,7 @@ export declare namespace GetLastActiveChatQuery {
16
16
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
17
17
  content: z.ZodString;
18
18
  aiModelId: z.ZodNullable<z.ZodString>;
19
+ assistantId: z.ZodNullable<z.ZodString>;
19
20
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
20
21
  steps: z.ZodArray<z.ZodObject<{
21
22
  uuid: z.ZodString;
@@ -16,6 +16,7 @@ export declare namespace GetRegChatQuery {
16
16
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
17
17
  content: z.ZodString;
18
18
  aiModelId: z.ZodNullable<z.ZodString>;
19
+ assistantId: z.ZodNullable<z.ZodString>;
19
20
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
20
21
  steps: z.ZodArray<z.ZodObject<{
21
22
  uuid: z.ZodString;
@@ -16,6 +16,7 @@ export declare namespace GetUnregChatQuery {
16
16
  status: z.ZodEnum<typeof import("../..").MessageStatus>;
17
17
  content: z.ZodString;
18
18
  aiModelId: z.ZodNullable<z.ZodString>;
19
+ assistantId: z.ZodNullable<z.ZodString>;
19
20
  userRating: z.ZodNullable<z.ZodEnum<typeof import("../..").UserRating>>;
20
21
  steps: z.ZodArray<z.ZodObject<{
21
22
  uuid: z.ZodString;