@ai-grator/api 0.1.23 → 0.1.25

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 (164) hide show
  1. package/admin/endpoints/admin.ts +6 -0
  2. package/admin/endpoints/commands/index.ts +2 -0
  3. package/admin/endpoints/commands/mark-admin-support-chat-read.command.ts +25 -0
  4. package/admin/endpoints/commands/send-admin-support-reply.command.ts +38 -0
  5. package/admin/endpoints/queries/get-admin-support-chat-messages.query.ts +33 -0
  6. package/admin/endpoints/queries/get-admin-support-chats.query.ts +27 -0
  7. package/admin/endpoints/queries/index.ts +6 -4
  8. package/admin/models/admin-support-chat-list-item.schema.ts +13 -0
  9. package/admin/models/index.ts +1 -0
  10. package/build/admin/endpoints/admin.d.ts +4 -0
  11. package/build/admin/endpoints/admin.d.ts.map +1 -1
  12. package/build/admin/endpoints/admin.js +5 -0
  13. package/build/admin/endpoints/commands/index.d.ts +2 -0
  14. package/build/admin/endpoints/commands/index.d.ts.map +1 -1
  15. package/build/admin/endpoints/commands/index.js +2 -0
  16. package/build/admin/endpoints/commands/mark-admin-support-chat-read.command.d.ts +24 -0
  17. package/build/admin/endpoints/commands/mark-admin-support-chat-read.command.d.ts.map +1 -0
  18. package/build/admin/endpoints/commands/mark-admin-support-chat-read.command.js +25 -0
  19. package/build/admin/endpoints/commands/send-admin-support-reply.command.d.ts +79 -0
  20. package/build/admin/endpoints/commands/send-admin-support-reply.command.d.ts.map +1 -0
  21. package/build/admin/endpoints/commands/send-admin-support-reply.command.js +37 -0
  22. package/build/admin/endpoints/queries/get-admin-support-chat-messages.query.d.ts +86 -0
  23. package/build/admin/endpoints/queries/get-admin-support-chat-messages.query.d.ts.map +1 -0
  24. package/build/admin/endpoints/queries/get-admin-support-chat-messages.query.js +32 -0
  25. package/build/admin/endpoints/queries/get-admin-support-chats.query.d.ts +49 -0
  26. package/build/admin/endpoints/queries/get-admin-support-chats.query.d.ts.map +1 -0
  27. package/build/admin/endpoints/queries/get-admin-support-chats.query.js +27 -0
  28. package/build/admin/endpoints/queries/index.d.ts +6 -4
  29. package/build/admin/endpoints/queries/index.d.ts.map +1 -1
  30. package/build/admin/endpoints/queries/index.js +6 -4
  31. package/build/admin/models/admin-support-chat-list-item.schema.d.ts +12 -0
  32. package/build/admin/models/admin-support-chat-list-item.schema.d.ts.map +1 -0
  33. package/build/admin/models/admin-support-chat-list-item.schema.js +13 -0
  34. package/build/admin/models/index.d.ts +1 -0
  35. package/build/admin/models/index.d.ts.map +1 -1
  36. package/build/admin/models/index.js +1 -0
  37. package/build/chat/endpoints/commands/create-chat.command.d.ts +2 -0
  38. package/build/chat/endpoints/commands/create-chat.command.d.ts.map +1 -1
  39. package/build/chat/endpoints/commands/update-chat.command.d.ts +2 -0
  40. package/build/chat/endpoints/commands/update-chat.command.d.ts.map +1 -1
  41. package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts +2 -0
  42. package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts.map +1 -1
  43. package/build/chat/endpoints/queries/get-chats.query.d.ts +2 -0
  44. package/build/chat/endpoints/queries/get-chats.query.d.ts.map +1 -1
  45. package/build/chat/models/chat-response.schema.d.ts +1 -0
  46. package/build/chat/models/chat-response.schema.d.ts.map +1 -1
  47. package/build/chat/models/chat-response.schema.js +1 -0
  48. package/build/errors/errors.d.ts +28 -1
  49. package/build/errors/errors.d.ts.map +1 -1
  50. package/build/errors/errors.js +28 -1
  51. package/build/file/enums/file.enum.d.ts +1 -0
  52. package/build/file/enums/file.enum.d.ts.map +1 -1
  53. package/build/file/enums/file.enum.js +59 -59
  54. package/build/file/helpers/allowed-file-formats.helper.d.ts +4 -0
  55. package/build/file/helpers/allowed-file-formats.helper.d.ts.map +1 -0
  56. package/build/file/helpers/allowed-file-formats.helper.js +15 -0
  57. package/build/file/helpers/index.d.ts +2 -0
  58. package/build/file/helpers/index.d.ts.map +1 -0
  59. package/build/file/helpers/index.js +17 -0
  60. package/build/file/index.d.ts +1 -0
  61. package/build/file/index.d.ts.map +1 -1
  62. package/build/file/index.js +1 -0
  63. package/build/file/models/file-format-list.schema.d.ts +8 -0
  64. package/build/file/models/file-format-list.schema.d.ts.map +1 -0
  65. package/build/file/models/file-format-list.schema.js +9 -0
  66. package/build/file/models/index.d.ts +1 -0
  67. package/build/file/models/index.d.ts.map +1 -1
  68. package/build/file/models/index.js +1 -0
  69. package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts +20 -2
  70. package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts.map +1 -1
  71. package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts +20 -2
  72. package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts.map +1 -1
  73. package/build/generation-model/models/generation-model-response.schema.d.ts +31 -1
  74. package/build/generation-model/models/generation-model-response.schema.d.ts.map +1 -1
  75. package/build/generation-model/models/generation-model-response.schema.js +10 -2
  76. package/build/index.d.ts +1 -0
  77. package/build/index.d.ts.map +1 -1
  78. package/build/index.js +1 -0
  79. package/build/marketplace-card/endpoints/marketplace-card.d.ts +1 -0
  80. package/build/marketplace-card/endpoints/marketplace-card.d.ts.map +1 -1
  81. package/build/marketplace-card/endpoints/marketplace-card.js +1 -0
  82. package/build/marketplace-card/endpoints/queries/get-marketplace-card-config.query.d.ts +27 -0
  83. package/build/marketplace-card/endpoints/queries/get-marketplace-card-config.query.d.ts.map +1 -0
  84. package/build/marketplace-card/endpoints/queries/get-marketplace-card-config.query.js +20 -0
  85. package/build/marketplace-card/endpoints/queries/index.d.ts +1 -0
  86. package/build/marketplace-card/endpoints/queries/index.d.ts.map +1 -1
  87. package/build/marketplace-card/endpoints/queries/index.js +1 -0
  88. package/build/scripts/generate-openapi.js +67 -0
  89. package/build/support/endpoints/commands/index.d.ts +3 -0
  90. package/build/support/endpoints/commands/index.d.ts.map +1 -0
  91. package/build/support/endpoints/commands/index.js +18 -0
  92. package/build/support/endpoints/commands/mark-support-chat-read-by-user.command.d.ts +12 -0
  93. package/build/support/endpoints/commands/mark-support-chat-read-by-user.command.d.ts.map +1 -0
  94. package/build/support/endpoints/commands/mark-support-chat-read-by-user.command.js +15 -0
  95. package/build/support/endpoints/commands/send-support-message.command.d.ts +70 -0
  96. package/build/support/endpoints/commands/send-support-message.command.d.ts.map +1 -0
  97. package/build/support/endpoints/commands/send-support-message.command.js +30 -0
  98. package/build/support/endpoints/index.d.ts +4 -0
  99. package/build/support/endpoints/index.d.ts.map +1 -0
  100. package/build/support/endpoints/index.js +19 -0
  101. package/build/support/endpoints/queries/get-support-history.query.d.ts +77 -0
  102. package/build/support/endpoints/queries/get-support-history.query.d.ts.map +1 -0
  103. package/build/support/endpoints/queries/get-support-history.query.js +25 -0
  104. package/build/support/endpoints/queries/get-support-unread-count.query.d.ts +17 -0
  105. package/build/support/endpoints/queries/get-support-unread-count.query.d.ts.map +1 -0
  106. package/build/support/endpoints/queries/get-support-unread-count.query.js +18 -0
  107. package/build/support/endpoints/queries/index.d.ts +3 -0
  108. package/build/support/endpoints/queries/index.d.ts.map +1 -0
  109. package/build/support/endpoints/queries/index.js +18 -0
  110. package/build/support/endpoints/support.d.ts +8 -0
  111. package/build/support/endpoints/support.d.ts.map +1 -0
  112. package/build/support/endpoints/support.js +10 -0
  113. package/build/support/enums/index.d.ts +2 -0
  114. package/build/support/enums/index.d.ts.map +1 -0
  115. package/build/support/enums/index.js +17 -0
  116. package/build/support/enums/support-message-author-type.enum.d.ts +5 -0
  117. package/build/support/enums/support-message-author-type.enum.d.ts.map +1 -0
  118. package/build/support/enums/support-message-author-type.enum.js +8 -0
  119. package/build/support/index.d.ts +5 -0
  120. package/build/support/index.d.ts.map +1 -0
  121. package/build/support/index.js +20 -0
  122. package/build/support/models/index.d.ts +2 -0
  123. package/build/support/models/index.d.ts.map +1 -0
  124. package/build/support/models/index.js +17 -0
  125. package/build/support/models/support-message-response.schema.d.ts +28 -0
  126. package/build/support/models/support-message-response.schema.d.ts.map +1 -0
  127. package/build/support/models/support-message-response.schema.js +14 -0
  128. package/build/support/websocket/index.d.ts +2 -0
  129. package/build/support/websocket/index.d.ts.map +1 -0
  130. package/build/support/websocket/index.js +17 -0
  131. package/build/support/websocket/support-socket-events.d.ts +50 -0
  132. package/build/support/websocket/support-socket-events.d.ts.map +1 -0
  133. package/build/support/websocket/support-socket-events.js +27 -0
  134. package/build/tsconfig.tsbuildinfo +1 -1
  135. package/chat/models/chat-response.schema.ts +1 -0
  136. package/errors/errors.ts +28 -1
  137. package/file/enums/file.enum.ts +60 -59
  138. package/file/helpers/allowed-file-formats.helper.ts +16 -0
  139. package/file/helpers/index.ts +1 -0
  140. package/file/index.ts +1 -0
  141. package/file/models/file-format-list.schema.ts +9 -0
  142. package/file/models/index.ts +1 -0
  143. package/generation-model/models/generation-model-response.schema.ts +11 -1
  144. package/index.ts +1 -0
  145. package/marketplace-card/endpoints/marketplace-card.ts +1 -0
  146. package/marketplace-card/endpoints/queries/get-marketplace-card-config.query.ts +21 -0
  147. package/marketplace-card/endpoints/queries/index.ts +1 -0
  148. package/package.json +1 -1
  149. package/scripts/generate-openapi.ts +104 -0
  150. package/support/endpoints/commands/index.ts +2 -0
  151. package/support/endpoints/commands/mark-support-chat-read-by-user.command.ts +14 -0
  152. package/support/endpoints/commands/send-support-message.command.ts +30 -0
  153. package/support/endpoints/index.ts +3 -0
  154. package/support/endpoints/queries/get-support-history.query.ts +25 -0
  155. package/support/endpoints/queries/get-support-unread-count.query.ts +17 -0
  156. package/support/endpoints/queries/index.ts +2 -0
  157. package/support/endpoints/support.ts +8 -0
  158. package/support/enums/index.ts +1 -0
  159. package/support/enums/support-message-author-type.enum.ts +4 -0
  160. package/support/index.ts +4 -0
  161. package/support/models/index.ts +1 -0
  162. package/support/models/support-message-response.schema.ts +14 -0
  163. package/support/websocket/index.ts +1 -0
  164. package/support/websocket/support-socket-events.ts +35 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC"}
@@ -14,14 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./get-admin-referral-config.query"), exports);
18
17
  __exportStar(require("./get-admin-partner.query"), exports);
18
+ __exportStar(require("./get-admin-kie-balance.query"), exports);
19
+ __exportStar(require("./get-admin-user-transactions.query"), exports);
19
20
  __exportStar(require("./get-admin-partner-bonus-operations.query"), exports);
20
21
  __exportStar(require("./get-admin-partner-l2-bonuses.query"), exports);
22
+ __exportStar(require("./get-admin-user.query"), exports);
21
23
  __exportStar(require("./get-admin-partner-referral-config.query"), exports);
22
24
  __exportStar(require("./get-admin-partner-referrals.query"), exports);
23
25
  __exportStar(require("./get-admin-partners.query"), exports);
26
+ __exportStar(require("./get-admin-referral-config.query"), exports);
24
27
  __exportStar(require("./get-admin-users.query"), exports);
25
- __exportStar(require("./get-admin-user.query"), exports);
26
- __exportStar(require("./get-admin-user-transactions.query"), exports);
27
- __exportStar(require("./get-admin-kie-balance.query"), exports);
28
+ __exportStar(require("./get-admin-support-chats.query"), exports);
29
+ __exportStar(require("./get-admin-support-chat-messages.query"), exports);
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const AdminSupportChatListItemSchema: z.ZodObject<{
3
+ userId: z.ZodUUID;
4
+ userEmail: z.ZodEmail;
5
+ userName: z.ZodNullable<z.ZodString>;
6
+ lastMessage: z.ZodNullable<z.ZodString>;
7
+ lastMessageHasAttachment: z.ZodBoolean;
8
+ lastMessageAt: z.ZodISODateTime;
9
+ unreadCount: z.ZodNumber;
10
+ }, z.core.$strip>;
11
+ export type AdminSupportChatListItemSchemaType = z.infer<typeof AdminSupportChatListItemSchema>;
12
+ //# sourceMappingURL=admin-support-chat-list-item.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-support-chat-list-item.schema.d.ts","sourceRoot":"","sources":["../../../admin/models/admin-support-chat-list-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,8BAA8B;;;;;;;;iBAQzC,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminSupportChatListItemSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.AdminSupportChatListItemSchema = zod_1.z.object({
6
+ userId: zod_1.z.uuid(),
7
+ userEmail: zod_1.z.email(),
8
+ userName: zod_1.z.string().nullable(),
9
+ lastMessage: zod_1.z.string().nullable(),
10
+ lastMessageHasAttachment: zod_1.z.boolean(),
11
+ lastMessageAt: zod_1.z.iso.datetime(),
12
+ unreadCount: zod_1.z.number().int().nonnegative(),
13
+ });
@@ -10,4 +10,5 @@ export * from './admin-user-response.schema';
10
10
  export * from './admin-user-list-item.schema';
11
11
  export * from './admin-user-details-response.schema';
12
12
  export * from './admin-kie-balance-response.schema';
13
+ export * from './admin-support-chat-list-item.schema';
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../admin/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../admin/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC"}
@@ -26,3 +26,4 @@ __exportStar(require("./admin-user-response.schema"), exports);
26
26
  __exportStar(require("./admin-user-list-item.schema"), exports);
27
27
  __exportStar(require("./admin-user-details-response.schema"), exports);
28
28
  __exportStar(require("./admin-kie-balance-response.schema"), exports);
29
+ __exportStar(require("./admin-support-chat-list-item.schema"), exports);
@@ -17,6 +17,7 @@ export declare const CreateChatCommandResponse: z.ZodObject<{
17
17
  }, z.core.$strip>>;
18
18
  createdAt: z.ZodISODateTime;
19
19
  updatedAt: z.ZodISODateTime;
20
+ lastMessageAt: z.ZodISODateTime;
20
21
  }, z.core.$strip>;
21
22
  export declare const CreateChatCommand: {
22
23
  method: HTTP_METHODS.POST;
@@ -42,6 +43,7 @@ export declare const CreateChatCommand: {
42
43
  }, z.core.$strip>>;
43
44
  createdAt: z.ZodISODateTime;
44
45
  updatedAt: z.ZodISODateTime;
46
+ lastMessageAt: z.ZodISODateTime;
45
47
  }, z.core.$strip>;
46
48
  400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
47
49
  500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"create-chat.command.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/commands/create-chat.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAAqB,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY5B,CAAC"}
1
+ {"version":3,"file":"create-chat.command.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/commands/create-chat.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;iBAAqB,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY5B,CAAC"}
@@ -20,6 +20,7 @@ export declare const UpdateChatCommandResponse: z.ZodObject<{
20
20
  }, z.core.$strip>>;
21
21
  createdAt: z.ZodISODateTime;
22
22
  updatedAt: z.ZodISODateTime;
23
+ lastMessageAt: z.ZodISODateTime;
23
24
  }, z.core.$strip>;
24
25
  export declare const UpdateChatCommand: {
25
26
  method: HTTP_METHODS.PATCH;
@@ -48,6 +49,7 @@ export declare const UpdateChatCommand: {
48
49
  }, z.core.$strip>>;
49
50
  createdAt: z.ZodISODateTime;
50
51
  updatedAt: z.ZodISODateTime;
52
+ lastMessageAt: z.ZodISODateTime;
51
53
  }, z.core.$strip>;
52
54
  400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
53
55
  404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-chat.command.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/commands/update-chat.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;iBAM5B,CAAC;AAEP,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAAqB,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc5B,CAAC"}
1
+ {"version":3,"file":"update-chat.command.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/commands/update-chat.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;iBAM5B,CAAC;AAEP,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;iBAAqB,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc5B,CAAC"}
@@ -17,6 +17,7 @@ export declare const GetChatByUuidQueryResponse: z.ZodObject<{
17
17
  }, z.core.$strip>>;
18
18
  createdAt: z.ZodISODateTime;
19
19
  updatedAt: z.ZodISODateTime;
20
+ lastMessageAt: z.ZodISODateTime;
20
21
  }, z.core.$strip>;
21
22
  export declare const GetChatByUuidQuery: {
22
23
  method: HTTP_METHODS.GET;
@@ -42,6 +43,7 @@ export declare const GetChatByUuidQuery: {
42
43
  }, z.core.$strip>>;
43
44
  createdAt: z.ZodISODateTime;
44
45
  updatedAt: z.ZodISODateTime;
46
+ lastMessageAt: z.ZodISODateTime;
45
47
  }, z.core.$strip>;
46
48
  404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
47
49
  500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-by-uuid.query.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/queries/get-chat-by-uuid.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;iBAAqB,CAAC;AAE7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY7B,CAAC"}
1
+ {"version":3,"file":"get-chat-by-uuid.query.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/queries/get-chat-by-uuid.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAAqB,CAAC;AAE7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY7B,CAAC"}
@@ -19,6 +19,7 @@ export declare const GetChatsQueryResponse: z.ZodObject<{
19
19
  }, z.core.$strip>>;
20
20
  createdAt: z.ZodISODateTime;
21
21
  updatedAt: z.ZodISODateTime;
22
+ lastMessageAt: z.ZodISODateTime;
22
23
  }, z.core.$strip>>;
23
24
  nextCursor: z.ZodNullable<z.ZodUUID>;
24
25
  hasMore: z.ZodBoolean;
@@ -49,6 +50,7 @@ export declare const GetChatsQuery: {
49
50
  }, z.core.$strip>>;
50
51
  createdAt: z.ZodISODateTime;
51
52
  updatedAt: z.ZodISODateTime;
53
+ lastMessageAt: z.ZodISODateTime;
52
54
  }, z.core.$strip>>;
53
55
  nextCursor: z.ZodNullable<z.ZodUUID>;
54
56
  hasMore: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"get-chats.query.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/queries/get-chats.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA+C,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAItH,eAAO,MAAM,kBAAkB;;;iBAAwC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAIhC,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAC"}
1
+ {"version":3,"file":"get-chats.query.d.ts","sourceRoot":"","sources":["../../../../chat/endpoints/queries/get-chats.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA+C,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAItH,eAAO,MAAM,kBAAkB;;;iBAAwC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAIhC,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAC"}
@@ -23,6 +23,7 @@ export declare const ChatResponseSchema: z.ZodObject<{
23
23
  }, z.core.$strip>>;
24
24
  createdAt: z.ZodISODateTime;
25
25
  updatedAt: z.ZodISODateTime;
26
+ lastMessageAt: z.ZodISODateTime;
26
27
  }, z.core.$strip>;
27
28
  export type ChatResponseSchemaType = z.infer<typeof ChatResponseSchema>;
28
29
  //# sourceMappingURL=chat-response.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-response.schema.d.ts","sourceRoot":"","sources":["../../../chat/models/chat-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE1E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-response.schema.d.ts","sourceRoot":"","sources":["../../../chat/models/chat-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE1E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -18,4 +18,5 @@ exports.ChatResponseSchema = zod_1.z.object({
18
18
  lastModel: exports.ChatLastModelSchema.nullable(),
19
19
  createdAt: zod_1.z.iso.datetime(),
20
20
  updatedAt: zod_1.z.iso.datetime(),
21
+ lastMessageAt: zod_1.z.iso.datetime(),
21
22
  });
@@ -328,10 +328,15 @@ export declare const ERRORS: {
328
328
  readonly code: "GENERATION_JOB.INVALID_ATTACHMENT_FILE_TYPE";
329
329
  readonly message: "Один или несколько прикреплённых файлов имеют тип файла, не принятый слотом";
330
330
  };
331
+ readonly INVALID_ATTACHMENT_FILE_FORMAT: {
332
+ readonly httpCode: 400;
333
+ readonly code: "GENERATION_JOB.INVALID_ATTACHMENT_FILE_FORMAT";
334
+ readonly message: "Один или несколько прикреплённых файлов имеют формат, не поддерживаемый этой моделью";
335
+ };
331
336
  readonly ATTACHMENT_SLOT_NOT_MULTIPLE: {
332
337
  readonly httpCode: 400;
333
338
  readonly code: "GENERATION_JOB.ATTACHMENT_SLOT_NOT_MULTIPLE";
334
- readonly message: "Этот слот вложения принимает только один файл";
339
+ readonly message: "Превышено максимальное количество файлов для этого слота вложения";
335
340
  };
336
341
  readonly CHAT_MODEL_MISMATCH: {
337
342
  readonly httpCode: 400;
@@ -795,5 +800,27 @@ export declare const ERRORS: {
795
800
  readonly message: "Запрос провайдера генерации не удался";
796
801
  };
797
802
  };
803
+ readonly SUPPORT: {
804
+ readonly CHAT_NOT_FOUND: {
805
+ readonly httpCode: 404;
806
+ readonly code: "SUPPORT.CHAT_NOT_FOUND";
807
+ readonly message: "Чат поддержки не найден";
808
+ };
809
+ readonly SEND_MESSAGE_ERROR: {
810
+ readonly httpCode: 500;
811
+ readonly code: "SUPPORT.SEND_MESSAGE_ERROR";
812
+ readonly message: "Не удалось отправить сообщение в поддержку";
813
+ };
814
+ readonly FIND_ERROR: {
815
+ readonly httpCode: 500;
816
+ readonly code: "SUPPORT.FIND_ERROR";
817
+ readonly message: "Не удалось получить историю переписки с поддержкой";
818
+ };
819
+ readonly MARK_READ_ERROR: {
820
+ readonly httpCode: 500;
821
+ readonly code: "SUPPORT.MARK_READ_ERROR";
822
+ readonly message: "Не удалось отметить сообщения поддержки как прочитанные";
823
+ };
824
+ };
798
825
  };
799
826
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8xBT,CAAC"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyzBT,CAAC"}
@@ -331,10 +331,15 @@ exports.ERRORS = {
331
331
  code: 'GENERATION_JOB.INVALID_ATTACHMENT_FILE_TYPE',
332
332
  message: 'Один или несколько прикреплённых файлов имеют тип файла, не принятый слотом',
333
333
  },
334
+ INVALID_ATTACHMENT_FILE_FORMAT: {
335
+ httpCode: 400,
336
+ code: 'GENERATION_JOB.INVALID_ATTACHMENT_FILE_FORMAT',
337
+ message: 'Один или несколько прикреплённых файлов имеют формат, не поддерживаемый этой моделью',
338
+ },
334
339
  ATTACHMENT_SLOT_NOT_MULTIPLE: {
335
340
  httpCode: 400,
336
341
  code: 'GENERATION_JOB.ATTACHMENT_SLOT_NOT_MULTIPLE',
337
- message: 'Этот слот вложения принимает только один файл',
342
+ message: 'Превышено максимальное количество файлов для этого слота вложения',
338
343
  },
339
344
  CHAT_MODEL_MISMATCH: {
340
345
  httpCode: 400,
@@ -798,4 +803,26 @@ exports.ERRORS = {
798
803
  message: 'Запрос провайдера генерации не удался',
799
804
  },
800
805
  },
806
+ SUPPORT: {
807
+ CHAT_NOT_FOUND: {
808
+ httpCode: 404,
809
+ code: 'SUPPORT.CHAT_NOT_FOUND',
810
+ message: 'Чат поддержки не найден',
811
+ },
812
+ SEND_MESSAGE_ERROR: {
813
+ httpCode: 500,
814
+ code: 'SUPPORT.SEND_MESSAGE_ERROR',
815
+ message: 'Не удалось отправить сообщение в поддержку',
816
+ },
817
+ FIND_ERROR: {
818
+ httpCode: 500,
819
+ code: 'SUPPORT.FIND_ERROR',
820
+ message: 'Не удалось получить историю переписки с поддержкой',
821
+ },
822
+ MARK_READ_ERROR: {
823
+ httpCode: 500,
824
+ code: 'SUPPORT.MARK_READ_ERROR',
825
+ message: 'Не удалось отметить сообщения поддержки как прочитанные',
826
+ },
827
+ },
801
828
  };
@@ -15,6 +15,7 @@ export declare const MAX_VIDEO_UPLOAD_SIZE: number;
15
15
  export declare const SUPPORTED_FILES: Map<string, {
16
16
  type: FILE_TYPE;
17
17
  size: number;
18
+ extension: string;
18
19
  }>;
19
20
  export declare const DELETE_UNUSED_FILES_AFTER_HOURS = 12;
20
21
  //# sourceMappingURL=file.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file.enum.d.ts","sourceRoot":"","sources":["../../../file/enums/file.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,qBAAqB,QAAmB,CAAC;AACtD,eAAO,MAAM,iBAAiB,QAAmB,CAAC;AAClD,eAAO,MAAM,oBAAoB,QAAmB,CAAC;AACrD,eAAO,MAAM,wBAAwB,QAAmB,CAAC;AACzD,eAAO,MAAM,qBAAqB,QAAmB,CAAC;AACtD,eAAO,MAAM,qBAAqB,QAAoB,CAAC;AAEvD,eAAO,MAAM,eAAe;UAGd,SAAS;UACT,MAAM;EA+ElB,CAAC;AAEH,eAAO,MAAM,+BAA+B,KAAK,CAAC"}
1
+ {"version":3,"file":"file.enum.d.ts","sourceRoot":"","sources":["../../../file/enums/file.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,qBAAqB,QAAmB,CAAC;AACtD,eAAO,MAAM,iBAAiB,QAAmB,CAAC;AAClD,eAAO,MAAM,oBAAoB,QAAmB,CAAC;AACrD,eAAO,MAAM,wBAAwB,QAAmB,CAAC;AACzD,eAAO,MAAM,qBAAqB,QAAmB,CAAC;AACtD,eAAO,MAAM,qBAAqB,QAAoB,CAAC;AAEvD,eAAO,MAAM,eAAe;UAGd,SAAS;UACT,MAAM;eACD,MAAM;EA+EvB,CAAC;AAEH,eAAO,MAAM,+BAA+B,KAAK,CAAC"}
@@ -17,73 +17,73 @@ exports.MAX_DOCUMENT_UPLOAD_SIZE = 10 * 1024 * 1024; // 10 MB
17
17
  exports.MAX_AUDIO_UPLOAD_SIZE = 50 * 1024 * 1024; // 50 MB
18
18
  exports.MAX_VIDEO_UPLOAD_SIZE = 100 * 1024 * 1024; // 100 MB
19
19
  exports.SUPPORTED_FILES = new Map([
20
- ['application/json', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
21
- ['application/x-ndjson', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
22
- ['application/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
23
- ['application/toml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
24
- ['application/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
25
- ['application/graphql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
26
- ['text/csv', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
27
- ['text/tab-separated-values', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
28
- ['text/markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
29
- ['text/x-markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
30
- ['text/yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
31
- ['text/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
32
- ['text/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
33
- ['text/plain', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
34
- ['text/html', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
35
- ['text/css', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
36
- ['text/x-scss', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
37
- ['text/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
38
- ['application/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
39
- ['text/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
40
- ['application/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
41
- ['text/x-python', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
42
- ['text/x-go', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
43
- ['text/x-ruby', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
44
- ['text/x-php', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
45
- ['text/x-c', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
46
- ['text/x-c++', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
47
- ['text/x-java-source', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
48
- ['text/x-sql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
49
- ['application/x-sh', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
50
- ['text/x-shellscript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
51
- ['text/x-ini', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
52
- ['text/x-properties', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
53
- ['text/x-config', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
54
- ['image/png', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
55
- ['image/jpeg', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
56
- ['image/webp', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
57
- ['image/avif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
58
- ['image/gif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
59
- ['image/svg+xml', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
60
- ['application/pdf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
20
+ ['application/json', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'json' }],
21
+ ['application/x-ndjson', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'ndjson' }],
22
+ ['application/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'yaml' }],
23
+ ['application/toml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'toml' }],
24
+ ['application/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'xml' }],
25
+ ['application/graphql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'graphql' }],
26
+ ['text/csv', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'csv' }],
27
+ ['text/tab-separated-values', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'tsv' }],
28
+ ['text/markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'md' }],
29
+ ['text/x-markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'md' }],
30
+ ['text/yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'yaml' }],
31
+ ['text/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'yaml' }],
32
+ ['text/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'xml' }],
33
+ ['text/plain', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'txt' }],
34
+ ['text/html', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'html' }],
35
+ ['text/css', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'css' }],
36
+ ['text/x-scss', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'scss' }],
37
+ ['text/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'js' }],
38
+ ['application/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'js' }],
39
+ ['text/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'ts' }],
40
+ ['application/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'ts' }],
41
+ ['text/x-python', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'py' }],
42
+ ['text/x-go', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'go' }],
43
+ ['text/x-ruby', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'rb' }],
44
+ ['text/x-php', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'php' }],
45
+ ['text/x-c', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'c' }],
46
+ ['text/x-c++', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'cpp' }],
47
+ ['text/x-java-source', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'java' }],
48
+ ['text/x-sql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'sql' }],
49
+ ['application/x-sh', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'sh' }],
50
+ ['text/x-shellscript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'sh' }],
51
+ ['text/x-ini', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'ini' }],
52
+ ['text/x-properties', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'properties' }],
53
+ ['text/x-config', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE, extension: 'conf' }],
54
+ ['image/png', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'png' }],
55
+ ['image/jpeg', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'jpg' }],
56
+ ['image/webp', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'webp' }],
57
+ ['image/avif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'avif' }],
58
+ ['image/gif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'gif' }],
59
+ ['image/svg+xml', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE, extension: 'svg' }],
60
+ ['application/pdf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'pdf' }],
61
61
  [
62
62
  'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
63
- { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
63
+ { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'docx' },
64
64
  ],
65
- ['application/vnd.ms-excel', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
65
+ ['application/vnd.ms-excel', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'xls' }],
66
66
  [
67
67
  'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
68
- { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
68
+ { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'xlsx' },
69
69
  ],
70
70
  [
71
71
  'application/vnd.openxmlformats-officedocument.presentationml.presentation',
72
- { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
72
+ { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'pptx' },
73
73
  ],
74
- ['application/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
75
- ['text/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
76
- ['audio/mpeg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
77
- ['audio/mp4', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
78
- ['audio/wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
79
- ['audio/x-wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
80
- ['audio/webm', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
81
- ['audio/ogg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
82
- ['audio/aac', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
83
- ['video/mp4', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
84
- ['video/mpeg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
85
- ['video/webm', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
86
- ['video/quicktime', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
87
- ['video/ogg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
74
+ ['application/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'rtf' }],
75
+ ['text/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE, extension: 'rtf' }],
76
+ ['audio/mpeg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'mp3' }],
77
+ ['audio/mp4', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'm4a' }],
78
+ ['audio/wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'wav' }],
79
+ ['audio/x-wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'wav' }],
80
+ ['audio/webm', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'weba' }],
81
+ ['audio/ogg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'ogg' }],
82
+ ['audio/aac', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE, extension: 'aac' }],
83
+ ['video/mp4', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE, extension: 'mp4' }],
84
+ ['video/mpeg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE, extension: 'mpeg' }],
85
+ ['video/webm', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE, extension: 'webm' }],
86
+ ['video/quicktime', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE, extension: 'mov' }],
87
+ ['video/ogg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE, extension: 'ogv' }],
88
88
  ]);
89
89
  exports.DELETE_UNUSED_FILES_AFTER_HOURS = 12;
@@ -0,0 +1,4 @@
1
+ import { FILE_TYPE } from '../enums';
2
+ import { FileFormatListSchemaType } from '../models';
3
+ export declare function getAllowedFileFormats(fileType: FILE_TYPE): FileFormatListSchemaType;
4
+ //# sourceMappingURL=allowed-file-formats.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowed-file-formats.helper.d.ts","sourceRoot":"","sources":["../../../file/helpers/allowed-file-formats.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,SAAS,GAAG,wBAAwB,CAYnF"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getAllowedFileFormats = getAllowedFileFormats;
4
+ const enums_1 = require("../enums");
5
+ function getAllowedFileFormats(fileType) {
6
+ const entries = [...enums_1.SUPPORTED_FILES.entries()].filter(([, value]) => value.type === fileType);
7
+ if (entries.length === 0) {
8
+ throw new Error(`No SUPPORTED_FILES entries registered for FILE_TYPE.${fileType}`);
9
+ }
10
+ return {
11
+ mimeTypes: entries.map(([mimeType]) => mimeType),
12
+ extensions: [...new Set(entries.map(([, value]) => value.extension))],
13
+ maxSize: Math.min(...entries.map(([, value]) => value.size)),
14
+ };
15
+ }
@@ -0,0 +1,2 @@
1
+ export * from './allowed-file-formats.helper';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./allowed-file-formats.helper"), exports);
@@ -1,4 +1,5 @@
1
1
  export * from './models';
2
2
  export * from './endpoints';
3
3
  export * from './enums';
4
+ export * from './helpers';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./models"), exports);
18
18
  __exportStar(require("./endpoints"), exports);
19
19
  __exportStar(require("./enums"), exports);
20
+ __exportStar(require("./helpers"), exports);
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const FileFormatListSchema: z.ZodObject<{
3
+ mimeTypes: z.ZodArray<z.ZodString>;
4
+ extensions: z.ZodArray<z.ZodString>;
5
+ maxSize: z.ZodInt;
6
+ }, z.core.$strip>;
7
+ export type FileFormatListSchemaType = z.infer<typeof FileFormatListSchema>;
8
+ //# sourceMappingURL=file-format-list.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-format-list.schema.d.ts","sourceRoot":"","sources":["../../../file/models/file-format-list.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FileFormatListSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.FileFormatListSchema = zod_1.z.object({
6
+ mimeTypes: zod_1.z.array(zod_1.z.string()),
7
+ extensions: zod_1.z.array(zod_1.z.string()),
8
+ maxSize: zod_1.z.int().positive(),
9
+ });
@@ -1,2 +1,3 @@
1
1
  export * from './file-response.schema';
2
+ export * from './file-format-list.schema';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./file-response.schema"), exports);
18
+ __exportStar(require("./file-format-list.schema"), exports);
@@ -17,7 +17,16 @@ export declare const GetGenerationModelsByTypeQueryResponse: z.ZodObject<{
17
17
  providerTitle: z.ZodString;
18
18
  order: z.ZodInt;
19
19
  isActive: z.ZodBoolean;
20
- attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
+ attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodObject<{
21
+ fileType: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
22
+ required: z.ZodBoolean;
23
+ maxCount: z.ZodInt;
24
+ allowedFormats: z.ZodObject<{
25
+ mimeTypes: z.ZodArray<z.ZodString>;
26
+ extensions: z.ZodArray<z.ZodString>;
27
+ maxSize: z.ZodInt;
28
+ }, z.core.$strip>;
29
+ }, z.core.$strip>>;
21
30
  paramsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
22
31
  pricingPolicy: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
23
32
  type: z.ZodLiteral<"base">;
@@ -60,7 +69,16 @@ export declare const GetGenerationModelsByTypeQuery: {
60
69
  providerTitle: z.ZodString;
61
70
  order: z.ZodInt;
62
71
  isActive: z.ZodBoolean;
63
- attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodUnknown>;
72
+ attachmentPolicy: z.ZodRecord<z.ZodString, z.ZodObject<{
73
+ fileType: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
74
+ required: z.ZodBoolean;
75
+ maxCount: z.ZodInt;
76
+ allowedFormats: z.ZodObject<{
77
+ mimeTypes: z.ZodArray<z.ZodString>;
78
+ extensions: z.ZodArray<z.ZodString>;
79
+ maxSize: z.ZodInt;
80
+ }, z.core.$strip>;
81
+ }, z.core.$strip>>;
64
82
  paramsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
65
83
  pricingPolicy: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
66
84
  type: z.ZodLiteral<"base">;
@@ -1 +1 @@
1
- {"version":3,"file":"get-generation-models-by-type.query.d.ts","sourceRoot":"","sources":["../../../../generation-model/endpoints/queries/get-generation-models-by-type.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,oCAAoC;;iBAE/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEjD,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWzC,CAAC"}
1
+ {"version":3,"file":"get-generation-models-by-type.query.d.ts","sourceRoot":"","sources":["../../../../generation-model/endpoints/queries/get-generation-models-by-type.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,oCAAoC;;iBAE/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEjD,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWzC,CAAC"}