@purpleschool/gptbot-tools 0.4.13 → 0.4.15-stage-2

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 (73) hide show
  1. package/build/greetings/commands/greeting-settlement.command.d.ts +28 -0
  2. package/build/greetings/commands/greeting-settlement.command.js +18 -0
  3. package/build/greetings/commands/index.d.ts +1 -0
  4. package/build/greetings/commands/index.js +17 -0
  5. package/build/greetings/enums/greeting-kind.enum.d.ts +6 -0
  6. package/build/greetings/enums/greeting-kind.enum.js +10 -0
  7. package/build/greetings/enums/greeting-status.enum.d.ts +6 -0
  8. package/build/greetings/enums/greeting-status.enum.js +10 -0
  9. package/build/greetings/enums/index.d.ts +2 -0
  10. package/build/greetings/enums/index.js +18 -0
  11. package/build/greetings/index.d.ts +6 -0
  12. package/build/greetings/index.js +22 -0
  13. package/build/greetings/models/greeting-config.schema.d.ts +80 -0
  14. package/build/greetings/models/greeting-config.schema.js +35 -0
  15. package/build/greetings/models/greeting-input.schema.d.ts +64 -0
  16. package/build/greetings/models/greeting-input.schema.js +26 -0
  17. package/build/greetings/models/greeting-job.schema.d.ts +104 -0
  18. package/build/greetings/models/greeting-job.schema.js +24 -0
  19. package/build/greetings/models/greeting-owner.schema.d.ts +6 -0
  20. package/build/greetings/models/greeting-owner.schema.js +12 -0
  21. package/build/greetings/models/greeting-price-data.schema.d.ts +20 -0
  22. package/build/greetings/models/greeting-price-data.schema.js +21 -0
  23. package/build/greetings/models/greeting-result.schema.d.ts +36 -0
  24. package/build/greetings/models/greeting-result.schema.js +22 -0
  25. package/build/greetings/models/index.d.ts +6 -0
  26. package/build/greetings/models/index.js +22 -0
  27. package/build/greetings/requests/greeting-execute.schema.d.ts +67 -0
  28. package/build/greetings/requests/greeting-execute.schema.js +11 -0
  29. package/build/greetings/requests/greeting-favorite-request.schema.d.ts +9 -0
  30. package/build/greetings/requests/greeting-favorite-request.schema.js +8 -0
  31. package/build/greetings/requests/greeting-identity-request.schema.d.ts +13 -0
  32. package/build/greetings/requests/greeting-identity-request.schema.js +10 -0
  33. package/build/greetings/requests/greeting-internal-execute.schema.d.ts +151 -0
  34. package/build/greetings/requests/greeting-internal-execute.schema.js +9 -0
  35. package/build/greetings/requests/greeting-internal-price-request.schema.d.ts +69 -0
  36. package/build/greetings/requests/greeting-internal-price-request.schema.js +10 -0
  37. package/build/greetings/requests/greeting-job-request.schema.d.ts +8 -0
  38. package/build/greetings/requests/greeting-job-request.schema.js +9 -0
  39. package/build/greetings/requests/greeting-list-request.schema.d.ts +16 -0
  40. package/build/greetings/requests/greeting-list-request.schema.js +13 -0
  41. package/build/greetings/requests/greeting-operation-request.schema.d.ts +8 -0
  42. package/build/greetings/requests/greeting-operation-request.schema.js +9 -0
  43. package/build/greetings/requests/greeting-price-request.schema.d.ts +64 -0
  44. package/build/greetings/requests/greeting-price-request.schema.js +6 -0
  45. package/build/greetings/requests/greeting-reaction-request.schema.d.ts +10 -0
  46. package/build/greetings/requests/greeting-reaction-request.schema.js +9 -0
  47. package/build/greetings/requests/greeting-retry.schema.d.ts +7 -0
  48. package/build/greetings/requests/greeting-retry.schema.js +10 -0
  49. package/build/greetings/requests/greeting-title-request.schema.d.ts +9 -0
  50. package/build/greetings/requests/greeting-title-request.schema.js +8 -0
  51. package/build/greetings/requests/index.d.ts +12 -0
  52. package/build/greetings/requests/index.js +28 -0
  53. package/build/greetings/responses/greeting.responses.d.ts +633 -0
  54. package/build/greetings/responses/greeting.responses.js +15 -0
  55. package/build/greetings/responses/index.d.ts +1 -0
  56. package/build/greetings/responses/index.js +17 -0
  57. package/build/greetings/routes/greetings.amqp.routes.d.ts +14 -0
  58. package/build/greetings/routes/greetings.amqp.routes.js +17 -0
  59. package/build/greetings/routes/index.d.ts +1 -0
  60. package/build/greetings/routes/index.js +17 -0
  61. package/build/index.d.ts +3 -0
  62. package/build/index.js +3 -0
  63. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  64. package/build/tools/enums/tool-content-type.enum.js +1 -0
  65. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  66. package/build/tools/enums/tool-type.enum.js +1 -0
  67. package/build/tools/models/global-tools-config.schema.d.ts +49 -0
  68. package/build/tools/models/global-tools-config.schema.js +2 -0
  69. package/build/tools/models/tools-with-configs.schema.d.ts +122 -0
  70. package/build/tools/models/tools-with-configs.schema.js +5 -0
  71. package/build/tools/queries/get-global-tools-config.query.d.ts +88 -0
  72. package/build/tools/queries/get-tools-with-configs.query.d.ts +112 -0
  73. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './greetings.amqp.routes';
@@ -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("./greetings.amqp.routes"), exports);
package/build/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './common';
2
+ export * from './greetings';
2
3
  export * from './account-merge';
3
4
  export * from './paraphrase';
4
5
  export * from './tools';
@@ -25,6 +26,7 @@ export * from './image-recognition';
25
26
  export * from './sound-generation';
26
27
  export * from './photo-sessions';
27
28
  import * as common from './common';
29
+ import * as greetings from './greetings';
28
30
  import * as paraphrase from './paraphrase';
29
31
  import * as tools from './tools';
30
32
  import * as stt from './stt';
@@ -51,6 +53,7 @@ import * as imageRecognition from './image-recognition';
51
53
  import * as soundGeneration from './sound-generation';
52
54
  import * as photoSessions from './photo-sessions';
53
55
  export declare namespace ToolService {
56
+ export import Greetings = greetings;
54
57
  export import Common = common;
55
58
  export import Paraphrase = paraphrase;
56
59
  export import Tools = tools;
package/build/index.js CHANGED
@@ -38,6 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ToolService = void 0;
40
40
  __exportStar(require("./common"), exports);
41
+ __exportStar(require("./greetings"), exports);
41
42
  __exportStar(require("./account-merge"), exports);
42
43
  __exportStar(require("./paraphrase"), exports);
43
44
  __exportStar(require("./tools"), exports);
@@ -64,6 +65,7 @@ __exportStar(require("./image-recognition"), exports);
64
65
  __exportStar(require("./sound-generation"), exports);
65
66
  __exportStar(require("./photo-sessions"), exports);
66
67
  const common = __importStar(require("./common"));
68
+ const greetings = __importStar(require("./greetings"));
67
69
  const paraphrase = __importStar(require("./paraphrase"));
68
70
  const tools = __importStar(require("./tools"));
69
71
  const stt = __importStar(require("./stt"));
@@ -91,6 +93,7 @@ const soundGeneration = __importStar(require("./sound-generation"));
91
93
  const photoSessions = __importStar(require("./photo-sessions"));
92
94
  var ToolService;
93
95
  (function (ToolService) {
96
+ ToolService.Greetings = greetings;
94
97
  ToolService.Common = common;
95
98
  ToolService.Paraphrase = paraphrase;
96
99
  ToolService.Tools = tools;
@@ -1,4 +1,5 @@
1
1
  export declare enum TOOL_CONTENT_TYPE {
2
+ GREETINGS = "GREETINGS",
2
3
  IMAGE_EDITOR = "IMAGE_EDITOR",
3
4
  IMAGE_GENERATION = "IMAGE_GENERATION",
4
5
  TEXT_TO_SPEECH = "TEXT_TO_SPEECH",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TOOL_CONTENT_TYPE = void 0;
4
4
  var TOOL_CONTENT_TYPE;
5
5
  (function (TOOL_CONTENT_TYPE) {
6
+ TOOL_CONTENT_TYPE["GREETINGS"] = "GREETINGS";
6
7
  TOOL_CONTENT_TYPE["IMAGE_EDITOR"] = "IMAGE_EDITOR";
7
8
  TOOL_CONTENT_TYPE["IMAGE_GENERATION"] = "IMAGE_GENERATION";
8
9
  TOOL_CONTENT_TYPE["TEXT_TO_SPEECH"] = "TEXT_TO_SPEECH";
@@ -1,4 +1,5 @@
1
1
  export declare enum TOOL_TYPE {
2
+ GREETINGS = "GREETINGS",
2
3
  IMAGE = "IMAGE",
3
4
  TEXT = "TEXT",
4
5
  VIDEO = "VIDEO",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TOOL_TYPE = void 0;
4
4
  var TOOL_TYPE;
5
5
  (function (TOOL_TYPE) {
6
+ TOOL_TYPE["GREETINGS"] = "GREETINGS";
6
7
  TOOL_TYPE["IMAGE"] = "IMAGE";
7
8
  TOOL_TYPE["TEXT"] = "TEXT";
8
9
  TOOL_TYPE["VIDEO"] = "VIDEO";
@@ -1208,5 +1208,54 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
1208
1208
  updatedAt: z.ZodDate;
1209
1209
  }, z.core.$strip>>;
1210
1210
  }, z.core.$strip>;
1211
+ GREETINGS: z.ZodObject<{
1212
+ models: z.ZodArray<z.ZodObject<{
1213
+ uuid: z.ZodUUID;
1214
+ title: z.ZodString;
1215
+ description: z.ZodOptional<z.ZodString>;
1216
+ kind: z.ZodEnum<typeof import("../..").GREETING_KIND>;
1217
+ order: z.ZodInt;
1218
+ sourceModelId: z.ZodUUID;
1219
+ sourceModelType: z.ZodEnum<{
1220
+ IMAGE: "IMAGE";
1221
+ SONG: "SONG";
1222
+ TEXT: "TEXT";
1223
+ VIDEO: "VIDEO";
1224
+ }>;
1225
+ durations: z.ZodArray<z.ZodInt>;
1226
+ aspectRatios: z.ZodArray<z.ZodString>;
1227
+ defaultDuration: z.ZodNullable<z.ZodInt>;
1228
+ defaultAspectRatio: z.ZodNullable<z.ZodString>;
1229
+ supportsReference: z.ZodBoolean;
1230
+ maxAttachedImages: z.ZodInt;
1231
+ maxPromptLength: z.ZodInt;
1232
+ maxProviderPromptLength: z.ZodOptional<z.ZodInt>;
1233
+ }, z.core.$strip>>;
1234
+ textLengths: z.ZodArray<z.ZodObject<{
1235
+ uuid: z.ZodUUID;
1236
+ title: z.ZodString;
1237
+ order: z.ZodInt;
1238
+ }, z.core.$strip>>;
1239
+ textFormats: z.ZodArray<z.ZodObject<{
1240
+ uuid: z.ZodUUID;
1241
+ title: z.ZodString;
1242
+ order: z.ZodInt;
1243
+ }, z.core.$strip>>;
1244
+ musicStyles: z.ZodArray<z.ZodObject<{
1245
+ uuid: z.ZodUUID;
1246
+ title: z.ZodString;
1247
+ order: z.ZodInt;
1248
+ }, z.core.$strip>>;
1249
+ videoStyles: z.ZodArray<z.ZodObject<{
1250
+ uuid: z.ZodUUID;
1251
+ title: z.ZodString;
1252
+ order: z.ZodInt;
1253
+ }, z.core.$strip>>;
1254
+ imageStyles: z.ZodArray<z.ZodObject<{
1255
+ uuid: z.ZodUUID;
1256
+ title: z.ZodString;
1257
+ order: z.ZodInt;
1258
+ }, z.core.$strip>>;
1259
+ }, z.core.$strip>;
1211
1260
  }, z.core.$strip>;
1212
1261
  export type GlobalToolsConfig = z.infer<typeof GlobalToolsConfigSchema>;
@@ -22,6 +22,7 @@ const models_2 = require("../../html-page-builder/models");
22
22
  const photo_sessions_1 = require("../../photo-sessions");
23
23
  const image_recognition_1 = require("../../image-recognition");
24
24
  const sound_generation_1 = require("../../sound-generation");
25
+ const models_3 = require("../../greetings/models");
25
26
  exports.GlobalToolsConfigSchema = zod_1.z.object({
26
27
  [enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
27
28
  [enums_1.TOOL_CONTENT_TYPE.MUSIC]: music_1.MusicConfigSchema,
@@ -42,4 +43,5 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
42
43
  [enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
43
44
  [enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
44
45
  [enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION]: sound_generation_1.SoundGenerationConfigSchema,
46
+ [enums_1.TOOL_CONTENT_TYPE.GREETINGS]: models_3.GreetingConfigSchema,
45
47
  });
@@ -1,6 +1,67 @@
1
1
  import { z } from 'zod';
2
2
  import { TOOL_CONTENT_TYPE } from '../enums';
3
3
  export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ title: z.ZodString;
6
+ description: z.ZodString;
7
+ icon: z.ZodString;
8
+ alias: z.ZodString;
9
+ bgColor: z.ZodString;
10
+ iconColor: z.ZodString;
11
+ order: z.ZodNumber;
12
+ createdAt: z.ZodDate;
13
+ updatedAt: z.ZodDate;
14
+ contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.GREETINGS>;
15
+ config: z.ZodObject<{
16
+ models: z.ZodArray<z.ZodObject<{
17
+ uuid: z.ZodUUID;
18
+ title: z.ZodString;
19
+ description: z.ZodOptional<z.ZodString>;
20
+ kind: z.ZodEnum<typeof import("../..").GREETING_KIND>;
21
+ order: z.ZodInt;
22
+ sourceModelId: z.ZodUUID;
23
+ sourceModelType: z.ZodEnum<{
24
+ IMAGE: "IMAGE";
25
+ SONG: "SONG";
26
+ TEXT: "TEXT";
27
+ VIDEO: "VIDEO";
28
+ }>;
29
+ durations: z.ZodArray<z.ZodInt>;
30
+ aspectRatios: z.ZodArray<z.ZodString>;
31
+ defaultDuration: z.ZodNullable<z.ZodInt>;
32
+ defaultAspectRatio: z.ZodNullable<z.ZodString>;
33
+ supportsReference: z.ZodBoolean;
34
+ maxAttachedImages: z.ZodInt;
35
+ maxPromptLength: z.ZodInt;
36
+ maxProviderPromptLength: z.ZodOptional<z.ZodInt>;
37
+ }, z.core.$strip>>;
38
+ textLengths: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodUUID;
40
+ title: z.ZodString;
41
+ order: z.ZodInt;
42
+ }, z.core.$strip>>;
43
+ textFormats: z.ZodArray<z.ZodObject<{
44
+ uuid: z.ZodUUID;
45
+ title: z.ZodString;
46
+ order: z.ZodInt;
47
+ }, z.core.$strip>>;
48
+ musicStyles: z.ZodArray<z.ZodObject<{
49
+ uuid: z.ZodUUID;
50
+ title: z.ZodString;
51
+ order: z.ZodInt;
52
+ }, z.core.$strip>>;
53
+ videoStyles: z.ZodArray<z.ZodObject<{
54
+ uuid: z.ZodUUID;
55
+ title: z.ZodString;
56
+ order: z.ZodInt;
57
+ }, z.core.$strip>>;
58
+ imageStyles: z.ZodArray<z.ZodObject<{
59
+ uuid: z.ZodUUID;
60
+ title: z.ZodString;
61
+ order: z.ZodInt;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>;
64
+ }, z.core.$strip>, z.ZodObject<{
4
65
  uuid: z.ZodString;
5
66
  title: z.ZodString;
6
67
  description: z.ZodString;
@@ -1362,6 +1423,67 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
1362
1423
  }, z.core.$strip>], "contentType">;
1363
1424
  export type ToolWithConfig = z.infer<typeof ToolWithConfigSchema>;
1364
1425
  export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1426
+ uuid: z.ZodString;
1427
+ title: z.ZodString;
1428
+ description: z.ZodString;
1429
+ icon: z.ZodString;
1430
+ alias: z.ZodString;
1431
+ bgColor: z.ZodString;
1432
+ iconColor: z.ZodString;
1433
+ order: z.ZodNumber;
1434
+ createdAt: z.ZodDate;
1435
+ updatedAt: z.ZodDate;
1436
+ contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.GREETINGS>;
1437
+ config: z.ZodObject<{
1438
+ models: z.ZodArray<z.ZodObject<{
1439
+ uuid: z.ZodUUID;
1440
+ title: z.ZodString;
1441
+ description: z.ZodOptional<z.ZodString>;
1442
+ kind: z.ZodEnum<typeof import("../..").GREETING_KIND>;
1443
+ order: z.ZodInt;
1444
+ sourceModelId: z.ZodUUID;
1445
+ sourceModelType: z.ZodEnum<{
1446
+ IMAGE: "IMAGE";
1447
+ SONG: "SONG";
1448
+ TEXT: "TEXT";
1449
+ VIDEO: "VIDEO";
1450
+ }>;
1451
+ durations: z.ZodArray<z.ZodInt>;
1452
+ aspectRatios: z.ZodArray<z.ZodString>;
1453
+ defaultDuration: z.ZodNullable<z.ZodInt>;
1454
+ defaultAspectRatio: z.ZodNullable<z.ZodString>;
1455
+ supportsReference: z.ZodBoolean;
1456
+ maxAttachedImages: z.ZodInt;
1457
+ maxPromptLength: z.ZodInt;
1458
+ maxProviderPromptLength: z.ZodOptional<z.ZodInt>;
1459
+ }, z.core.$strip>>;
1460
+ textLengths: z.ZodArray<z.ZodObject<{
1461
+ uuid: z.ZodUUID;
1462
+ title: z.ZodString;
1463
+ order: z.ZodInt;
1464
+ }, z.core.$strip>>;
1465
+ textFormats: z.ZodArray<z.ZodObject<{
1466
+ uuid: z.ZodUUID;
1467
+ title: z.ZodString;
1468
+ order: z.ZodInt;
1469
+ }, z.core.$strip>>;
1470
+ musicStyles: z.ZodArray<z.ZodObject<{
1471
+ uuid: z.ZodUUID;
1472
+ title: z.ZodString;
1473
+ order: z.ZodInt;
1474
+ }, z.core.$strip>>;
1475
+ videoStyles: z.ZodArray<z.ZodObject<{
1476
+ uuid: z.ZodUUID;
1477
+ title: z.ZodString;
1478
+ order: z.ZodInt;
1479
+ }, z.core.$strip>>;
1480
+ imageStyles: z.ZodArray<z.ZodObject<{
1481
+ uuid: z.ZodUUID;
1482
+ title: z.ZodString;
1483
+ order: z.ZodInt;
1484
+ }, z.core.$strip>>;
1485
+ }, z.core.$strip>;
1486
+ }, z.core.$strip>, z.ZodObject<{
1365
1487
  uuid: z.ZodString;
1366
1488
  title: z.ZodString;
1367
1489
  description: z.ZodString;
@@ -22,8 +22,13 @@ const diagrams_1 = require("../../diagrams");
22
22
  const models_2 = require("../../html-page-builder/models");
23
23
  const image_recognition_1 = require("../../image-recognition");
24
24
  const sound_generation_1 = require("../../sound-generation");
25
+ const models_3 = require("../../greetings/models");
25
26
  // Discriminated union array: Tools with their configs
26
27
  exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
28
+ tool_schema_1.ToolSchema.extend({
29
+ contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.GREETINGS),
30
+ config: models_3.GreetingConfigSchema,
31
+ }),
27
32
  tool_schema_1.ToolSchema.extend({
28
33
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.VIDEO),
29
34
  config: video_1.VideoConfigSchema,
@@ -1215,6 +1215,50 @@ export declare namespace GetGlobalToolsConfigQuery {
1215
1215
  updatedAt: Date;
1216
1216
  }[];
1217
1217
  };
1218
+ GREETINGS: {
1219
+ models: {
1220
+ uuid: string;
1221
+ title: string;
1222
+ description?: string | undefined;
1223
+ kind: import("../..").GREETING_KIND;
1224
+ order: number;
1225
+ sourceModelId: string;
1226
+ sourceModelType: "IMAGE" | "SONG" | "TEXT" | "VIDEO";
1227
+ durations: number[];
1228
+ aspectRatios: string[];
1229
+ defaultDuration: number | null;
1230
+ defaultAspectRatio: string | null;
1231
+ supportsReference: boolean;
1232
+ maxAttachedImages: number;
1233
+ maxPromptLength: number;
1234
+ maxProviderPromptLength?: number | undefined;
1235
+ }[];
1236
+ textLengths: {
1237
+ uuid: string;
1238
+ title: string;
1239
+ order: number;
1240
+ }[];
1241
+ textFormats: {
1242
+ uuid: string;
1243
+ title: string;
1244
+ order: number;
1245
+ }[];
1246
+ musicStyles: {
1247
+ uuid: string;
1248
+ title: string;
1249
+ order: number;
1250
+ }[];
1251
+ videoStyles: {
1252
+ uuid: string;
1253
+ title: string;
1254
+ order: number;
1255
+ }[];
1256
+ imageStyles: {
1257
+ uuid: string;
1258
+ title: string;
1259
+ order: number;
1260
+ }[];
1261
+ };
1218
1262
  }, unknown, z.core.$ZodTypeInternals<{
1219
1263
  VIDEO: {
1220
1264
  vendors: {
@@ -2424,6 +2468,50 @@ export declare namespace GetGlobalToolsConfigQuery {
2424
2468
  updatedAt: Date;
2425
2469
  }[];
2426
2470
  };
2471
+ GREETINGS: {
2472
+ models: {
2473
+ uuid: string;
2474
+ title: string;
2475
+ description?: string | undefined;
2476
+ kind: import("../..").GREETING_KIND;
2477
+ order: number;
2478
+ sourceModelId: string;
2479
+ sourceModelType: "IMAGE" | "SONG" | "TEXT" | "VIDEO";
2480
+ durations: number[];
2481
+ aspectRatios: string[];
2482
+ defaultDuration: number | null;
2483
+ defaultAspectRatio: string | null;
2484
+ supportsReference: boolean;
2485
+ maxAttachedImages: number;
2486
+ maxPromptLength: number;
2487
+ maxProviderPromptLength?: number | undefined;
2488
+ }[];
2489
+ textLengths: {
2490
+ uuid: string;
2491
+ title: string;
2492
+ order: number;
2493
+ }[];
2494
+ textFormats: {
2495
+ uuid: string;
2496
+ title: string;
2497
+ order: number;
2498
+ }[];
2499
+ musicStyles: {
2500
+ uuid: string;
2501
+ title: string;
2502
+ order: number;
2503
+ }[];
2504
+ videoStyles: {
2505
+ uuid: string;
2506
+ title: string;
2507
+ order: number;
2508
+ }[];
2509
+ imageStyles: {
2510
+ uuid: string;
2511
+ title: string;
2512
+ order: number;
2513
+ }[];
2514
+ };
2427
2515
  }, unknown>>>;
2428
2516
  code: z.ZodOptional<z.ZodString>;
2429
2517
  message: z.ZodOptional<z.ZodString>;
@@ -7,6 +7,62 @@ export declare namespace GetToolsWithConfigsQuery {
7
7
  const ResponseSchema: z.ZodObject<{
8
8
  isSuccess: z.ZodBoolean;
9
9
  data: z.ZodOptional<z.ZodType<({
10
+ uuid: string;
11
+ title: string;
12
+ description: string;
13
+ icon: string;
14
+ alias: string;
15
+ bgColor: string;
16
+ iconColor: string;
17
+ order: number;
18
+ createdAt: Date;
19
+ updatedAt: Date;
20
+ contentType: import("..").TOOL_CONTENT_TYPE.GREETINGS;
21
+ config: {
22
+ models: {
23
+ uuid: string;
24
+ title: string;
25
+ description?: string | undefined;
26
+ kind: import("../..").GREETING_KIND;
27
+ order: number;
28
+ sourceModelId: string;
29
+ sourceModelType: "IMAGE" | "SONG" | "TEXT" | "VIDEO";
30
+ durations: number[];
31
+ aspectRatios: string[];
32
+ defaultDuration: number | null;
33
+ defaultAspectRatio: string | null;
34
+ supportsReference: boolean;
35
+ maxAttachedImages: number;
36
+ maxPromptLength: number;
37
+ maxProviderPromptLength?: number | undefined;
38
+ }[];
39
+ textLengths: {
40
+ uuid: string;
41
+ title: string;
42
+ order: number;
43
+ }[];
44
+ textFormats: {
45
+ uuid: string;
46
+ title: string;
47
+ order: number;
48
+ }[];
49
+ musicStyles: {
50
+ uuid: string;
51
+ title: string;
52
+ order: number;
53
+ }[];
54
+ videoStyles: {
55
+ uuid: string;
56
+ title: string;
57
+ order: number;
58
+ }[];
59
+ imageStyles: {
60
+ uuid: string;
61
+ title: string;
62
+ order: number;
63
+ }[];
64
+ };
65
+ } | {
10
66
  uuid: string;
11
67
  title: string;
12
68
  description: string;
@@ -1366,6 +1422,62 @@ export declare namespace GetToolsWithConfigsQuery {
1366
1422
  }[];
1367
1423
  };
1368
1424
  })[], unknown, z.core.$ZodTypeInternals<({
1425
+ uuid: string;
1426
+ title: string;
1427
+ description: string;
1428
+ icon: string;
1429
+ alias: string;
1430
+ bgColor: string;
1431
+ iconColor: string;
1432
+ order: number;
1433
+ createdAt: Date;
1434
+ updatedAt: Date;
1435
+ contentType: import("..").TOOL_CONTENT_TYPE.GREETINGS;
1436
+ config: {
1437
+ models: {
1438
+ uuid: string;
1439
+ title: string;
1440
+ description?: string | undefined;
1441
+ kind: import("../..").GREETING_KIND;
1442
+ order: number;
1443
+ sourceModelId: string;
1444
+ sourceModelType: "IMAGE" | "SONG" | "TEXT" | "VIDEO";
1445
+ durations: number[];
1446
+ aspectRatios: string[];
1447
+ defaultDuration: number | null;
1448
+ defaultAspectRatio: string | null;
1449
+ supportsReference: boolean;
1450
+ maxAttachedImages: number;
1451
+ maxPromptLength: number;
1452
+ maxProviderPromptLength?: number | undefined;
1453
+ }[];
1454
+ textLengths: {
1455
+ uuid: string;
1456
+ title: string;
1457
+ order: number;
1458
+ }[];
1459
+ textFormats: {
1460
+ uuid: string;
1461
+ title: string;
1462
+ order: number;
1463
+ }[];
1464
+ musicStyles: {
1465
+ uuid: string;
1466
+ title: string;
1467
+ order: number;
1468
+ }[];
1469
+ videoStyles: {
1470
+ uuid: string;
1471
+ title: string;
1472
+ order: number;
1473
+ }[];
1474
+ imageStyles: {
1475
+ uuid: string;
1476
+ title: string;
1477
+ order: number;
1478
+ }[];
1479
+ };
1480
+ } | {
1369
1481
  uuid: string;
1370
1482
  title: string;
1371
1483
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.4.13",
3
+ "version": "0.4.15-stage-2",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [