@purpleschool/gptbot 0.19.26-stage-2 → 0.19.27

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.
@@ -24,6 +24,7 @@ export declare namespace CreateContentReportCommand {
24
24
  readonly IMAGE_RECOGNITION: import("../..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
25
25
  readonly SOUND_GENERATION: import("../..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
26
26
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
27
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
27
28
  }>;
28
29
  targetId: z.ZodUUID;
29
30
  category: z.ZodEnum<typeof import("../..").CONTENT_REPORT_CATEGORY>;
@@ -57,6 +58,7 @@ export declare namespace CreateContentReportCommand {
57
58
  readonly IMAGE_RECOGNITION: import("../..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
58
59
  readonly SOUND_GENERATION: import("../..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
59
60
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
61
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
60
62
  }>;
61
63
  targetId: z.ZodUUID;
62
64
  category: z.ZodEnum<typeof import("../..").CONTENT_REPORT_CATEGORY>;
@@ -26,6 +26,7 @@ export declare namespace FindContentReportsQuery {
26
26
  readonly IMAGE_RECOGNITION: import("../..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
27
27
  readonly SOUND_GENERATION: import("../..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
28
28
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
29
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
29
30
  }>>;
30
31
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31
32
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -58,6 +59,7 @@ export declare namespace FindContentReportsQuery {
58
59
  readonly IMAGE_RECOGNITION: import("../..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
59
60
  readonly SOUND_GENERATION: import("../..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
60
61
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
62
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
61
63
  }>;
62
64
  targetId: z.ZodUUID;
63
65
  category: z.ZodEnum<typeof import("../..").CONTENT_REPORT_CATEGORY>;
@@ -36,6 +36,7 @@ export declare namespace UpdateContentReportStatusCommand {
36
36
  readonly IMAGE_RECOGNITION: import("../..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
37
37
  readonly SOUND_GENERATION: import("../..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
38
38
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
39
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
39
40
  }>;
40
41
  targetId: z.ZodUUID;
41
42
  category: z.ZodEnum<typeof import("../..").CONTENT_REPORT_CATEGORY>;
@@ -1,5 +1,6 @@
1
1
  import { TOOL_CONTENT_TYPE } from '../../tool/enums/tool-content-type.enum';
2
2
  export declare const CONTENT_REPORT_CHAT_MESSAGE_TYPE: 'CHAT_MESSAGE';
3
+ export declare const CONTENT_REPORT_PHOTO_SESSIONS_TYPE: 'PHOTO_SESSIONS';
3
4
  export declare const CONTENT_REPORT_TARGET_TYPE: {
4
5
  readonly GREETINGS: TOOL_CONTENT_TYPE.GREETINGS;
5
6
  readonly IMAGE_EDITOR: TOOL_CONTENT_TYPE.IMAGE_EDITOR;
@@ -23,5 +24,6 @@ export declare const CONTENT_REPORT_TARGET_TYPE: {
23
24
  readonly IMAGE_RECOGNITION: TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
24
25
  readonly SOUND_GENERATION: TOOL_CONTENT_TYPE.SOUND_GENERATION;
25
26
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
27
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
26
28
  };
27
29
  export type CONTENT_REPORT_TARGET_TYPE = (typeof CONTENT_REPORT_TARGET_TYPE)[keyof typeof CONTENT_REPORT_TARGET_TYPE];
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CONTENT_REPORT_TARGET_TYPE = exports.CONTENT_REPORT_CHAT_MESSAGE_TYPE = void 0;
3
+ exports.CONTENT_REPORT_TARGET_TYPE = exports.CONTENT_REPORT_PHOTO_SESSIONS_TYPE = exports.CONTENT_REPORT_CHAT_MESSAGE_TYPE = void 0;
4
4
  const tool_content_type_enum_1 = require("../../tool/enums/tool-content-type.enum");
5
5
  exports.CONTENT_REPORT_CHAT_MESSAGE_TYPE = 'CHAT_MESSAGE';
6
- exports.CONTENT_REPORT_TARGET_TYPE = Object.assign(Object.assign({}, tool_content_type_enum_1.TOOL_CONTENT_TYPE), { CHAT_MESSAGE: exports.CONTENT_REPORT_CHAT_MESSAGE_TYPE });
6
+ // Фотосессии нет в TOOL_CONTENT_TYPE: у инструмента свой тип, тот же, что отдают клиентам (`PHOTO_SESSIONS`).
7
+ exports.CONTENT_REPORT_PHOTO_SESSIONS_TYPE = 'PHOTO_SESSIONS';
8
+ exports.CONTENT_REPORT_TARGET_TYPE = Object.assign(Object.assign({}, tool_content_type_enum_1.TOOL_CONTENT_TYPE), { CHAT_MESSAGE: exports.CONTENT_REPORT_CHAT_MESSAGE_TYPE, PHOTO_SESSIONS: exports.CONTENT_REPORT_PHOTO_SESSIONS_TYPE });
@@ -27,6 +27,7 @@ export declare const ContentReportSchema: z.ZodObject<{
27
27
  readonly IMAGE_RECOGNITION: import("..").TOOL_CONTENT_TYPE.IMAGE_RECOGNITION;
28
28
  readonly SOUND_GENERATION: import("..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
29
29
  readonly CHAT_MESSAGE: "CHAT_MESSAGE";
30
+ readonly PHOTO_SESSIONS: "PHOTO_SESSIONS";
30
31
  }>;
31
32
  targetId: z.ZodUUID;
32
33
  category: z.ZodEnum<typeof CONTENT_REPORT_CATEGORY>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.19.26-stage-2",
3
+ "version": "0.19.27",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@purpleschool/rugpt-lib-common": "0.0.108",
18
+ "@purpleschool/rugpt-lib-common": "0.0.109",
19
19
  "zod": "4.6.5"
20
20
  }
21
21
  }