@purpleschool/gptbot-tools 0.4.7-stage-2 → 0.4.8-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.
@@ -1,6 +1,7 @@
1
1
  export * from './pptx-export-payload';
2
2
  export * from './presentation-config.schema';
3
3
  export * from './presentation-template.schema';
4
+ export * from './presentation-preset.schema';
4
5
  export * from './presentation.schema';
5
6
  export * from './slide-content-type.schema';
6
7
  export * from './slide-outline.schema';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./pptx-export-payload"), exports);
18
18
  __exportStar(require("./presentation-config.schema"), exports);
19
19
  __exportStar(require("./presentation-template.schema"), exports);
20
+ __exportStar(require("./presentation-preset.schema"), exports);
20
21
  __exportStar(require("./presentation.schema"), exports);
21
22
  __exportStar(require("./slide-content-type.schema"), exports);
22
23
  __exportStar(require("./slide-outline.schema"), exports);
@@ -28,6 +28,16 @@ export declare const PresentationConfigSchema: z.ZodObject<{
28
28
  createdAt: z.ZodDate;
29
29
  updatedAt: z.ZodDate;
30
30
  }, z.core.$strip>>;
31
+ presets: z.ZodArray<z.ZodObject<{
32
+ uuid: z.ZodUUID;
33
+ code: z.ZodString;
34
+ title: z.ZodString;
35
+ prompt: z.ZodString;
36
+ templateId: z.ZodUUID;
37
+ slideCount: z.ZodNumber;
38
+ targetAudience: z.ZodEnum<typeof import("..").PRESENTATION_TARGET_AUDIENCE>;
39
+ order: z.ZodNumber;
40
+ }, z.core.$strip>>;
31
41
  aiActions: z.ZodArray<z.ZodObject<{
32
42
  uuid: z.ZodString;
33
43
  type: z.ZodEnum<typeof import("..").PRESENTATION_AI_ACTION_TYPE>;
@@ -5,11 +5,13 @@ const zod_1 = require("zod");
5
5
  const slide_content_type_schema_1 = require("./slide-content-type.schema");
6
6
  const language_1 = require("../../language");
7
7
  const presentation_template_schema_1 = require("./presentation-template.schema");
8
+ const presentation_preset_schema_1 = require("./presentation-preset.schema");
8
9
  const presentation_ai_action_schema_1 = require("./presentation-ai-action.schema");
9
10
  exports.PresentationConfigSchema = zod_1.z.object({
10
11
  slideContentTypes: zod_1.z.array(slide_content_type_schema_1.SlideContentTypeSchema),
11
12
  languages: zod_1.z.array(language_1.LanguageSchema),
12
13
  templates: zod_1.z.array(presentation_template_schema_1.PresentationTemplateSchema),
14
+ presets: zod_1.z.array(presentation_preset_schema_1.PresentationPresetSchema),
13
15
  aiActions: zod_1.z.array(presentation_ai_action_schema_1.PresentationAiActionSchema),
14
16
  slideGenerationPrice: zod_1.z.number(),
15
17
  maxSlides: zod_1.z.number(),
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { PRESENTATION_TARGET_AUDIENCE } from '../enums';
3
+ export declare const PresentationPresetSchema: z.ZodObject<{
4
+ uuid: z.ZodUUID;
5
+ code: z.ZodString;
6
+ title: z.ZodString;
7
+ prompt: z.ZodString;
8
+ templateId: z.ZodUUID;
9
+ slideCount: z.ZodNumber;
10
+ targetAudience: z.ZodEnum<typeof PRESENTATION_TARGET_AUDIENCE>;
11
+ order: z.ZodNumber;
12
+ }, z.core.$strip>;
13
+ export type PresentationPreset = z.infer<typeof PresentationPresetSchema>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PresentationPresetSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const enums_1 = require("../enums");
6
+ exports.PresentationPresetSchema = zod_1.z.object({
7
+ uuid: zod_1.z.uuid(),
8
+ code: zod_1.z.string(),
9
+ title: zod_1.z.string(),
10
+ prompt: zod_1.z.string(),
11
+ templateId: zod_1.z.uuid(),
12
+ slideCount: zod_1.z.number().int(),
13
+ targetAudience: zod_1.z.enum(enums_1.PRESENTATION_TARGET_AUDIENCE),
14
+ order: zod_1.z.number().int(),
15
+ });
@@ -35,6 +35,16 @@ export declare namespace GetPresentationConfigQuery {
35
35
  createdAt: Date;
36
36
  updatedAt: Date;
37
37
  }[];
38
+ presets: {
39
+ uuid: string;
40
+ code: string;
41
+ title: string;
42
+ prompt: string;
43
+ templateId: string;
44
+ slideCount: number;
45
+ targetAudience: import("..").PRESENTATION_TARGET_AUDIENCE;
46
+ order: number;
47
+ }[];
38
48
  aiActions: {
39
49
  uuid: string;
40
50
  type: import("..").PRESENTATION_AI_ACTION_TYPE;
@@ -89,6 +99,16 @@ export declare namespace GetPresentationConfigQuery {
89
99
  createdAt: Date;
90
100
  updatedAt: Date;
91
101
  }[];
102
+ presets: {
103
+ uuid: string;
104
+ code: string;
105
+ title: string;
106
+ prompt: string;
107
+ templateId: string;
108
+ slideCount: number;
109
+ targetAudience: import("..").PRESENTATION_TARGET_AUDIENCE;
110
+ order: number;
111
+ }[];
92
112
  aiActions: {
93
113
  uuid: string;
94
114
  type: import("..").PRESENTATION_AI_ACTION_TYPE;
@@ -428,6 +428,16 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
428
428
  createdAt: z.ZodDate;
429
429
  updatedAt: z.ZodDate;
430
430
  }, z.core.$strip>>;
431
+ presets: z.ZodArray<z.ZodObject<{
432
+ uuid: z.ZodUUID;
433
+ code: z.ZodString;
434
+ title: z.ZodString;
435
+ prompt: z.ZodString;
436
+ templateId: z.ZodUUID;
437
+ slideCount: z.ZodNumber;
438
+ targetAudience: z.ZodEnum<typeof import("../../presentation").PRESENTATION_TARGET_AUDIENCE>;
439
+ order: z.ZodNumber;
440
+ }, z.core.$strip>>;
431
441
  aiActions: z.ZodArray<z.ZodObject<{
432
442
  uuid: z.ZodString;
433
443
  type: z.ZodEnum<typeof import("../../presentation").PRESENTATION_AI_ACTION_TYPE>;
@@ -512,6 +512,16 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
512
512
  createdAt: z.ZodDate;
513
513
  updatedAt: z.ZodDate;
514
514
  }, z.core.$strip>>;
515
+ presets: z.ZodArray<z.ZodObject<{
516
+ uuid: z.ZodUUID;
517
+ code: z.ZodString;
518
+ title: z.ZodString;
519
+ prompt: z.ZodString;
520
+ templateId: z.ZodUUID;
521
+ slideCount: z.ZodNumber;
522
+ targetAudience: z.ZodEnum<typeof import("../../presentation").PRESENTATION_TARGET_AUDIENCE>;
523
+ order: z.ZodNumber;
524
+ }, z.core.$strip>>;
515
525
  aiActions: z.ZodArray<z.ZodObject<{
516
526
  uuid: z.ZodString;
517
527
  type: z.ZodEnum<typeof import("../../presentation").PRESENTATION_AI_ACTION_TYPE>;
@@ -1864,6 +1874,16 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1864
1874
  createdAt: z.ZodDate;
1865
1875
  updatedAt: z.ZodDate;
1866
1876
  }, z.core.$strip>>;
1877
+ presets: z.ZodArray<z.ZodObject<{
1878
+ uuid: z.ZodUUID;
1879
+ code: z.ZodString;
1880
+ title: z.ZodString;
1881
+ prompt: z.ZodString;
1882
+ templateId: z.ZodUUID;
1883
+ slideCount: z.ZodNumber;
1884
+ targetAudience: z.ZodEnum<typeof import("../../presentation").PRESENTATION_TARGET_AUDIENCE>;
1885
+ order: z.ZodNumber;
1886
+ }, z.core.$strip>>;
1867
1887
  aiActions: z.ZodArray<z.ZodObject<{
1868
1888
  uuid: z.ZodString;
1869
1889
  type: z.ZodEnum<typeof import("../../presentation").PRESENTATION_AI_ACTION_TYPE>;
@@ -435,6 +435,16 @@ export declare namespace GetGlobalToolsConfigQuery {
435
435
  createdAt: Date;
436
436
  updatedAt: Date;
437
437
  }[];
438
+ presets: {
439
+ uuid: string;
440
+ code: string;
441
+ title: string;
442
+ prompt: string;
443
+ templateId: string;
444
+ slideCount: number;
445
+ targetAudience: import("../../presentation").PRESENTATION_TARGET_AUDIENCE;
446
+ order: number;
447
+ }[];
438
448
  aiActions: {
439
449
  uuid: string;
440
450
  type: import("../../presentation").PRESENTATION_AI_ACTION_TYPE;
@@ -1635,6 +1645,16 @@ export declare namespace GetGlobalToolsConfigQuery {
1635
1645
  createdAt: Date;
1636
1646
  updatedAt: Date;
1637
1647
  }[];
1648
+ presets: {
1649
+ uuid: string;
1650
+ code: string;
1651
+ title: string;
1652
+ prompt: string;
1653
+ templateId: string;
1654
+ slideCount: number;
1655
+ targetAudience: import("../../presentation").PRESENTATION_TARGET_AUDIENCE;
1656
+ order: number;
1657
+ }[];
1638
1658
  aiActions: {
1639
1659
  uuid: string;
1640
1660
  type: import("../../presentation").PRESENTATION_AI_ACTION_TYPE;
@@ -518,6 +518,16 @@ export declare namespace GetToolsWithConfigsQuery {
518
518
  createdAt: Date;
519
519
  updatedAt: Date;
520
520
  }[];
521
+ presets: {
522
+ uuid: string;
523
+ code: string;
524
+ title: string;
525
+ prompt: string;
526
+ templateId: string;
527
+ slideCount: number;
528
+ targetAudience: import("../../presentation").PRESENTATION_TARGET_AUDIENCE;
529
+ order: number;
530
+ }[];
521
531
  aiActions: {
522
532
  uuid: string;
523
533
  type: import("../../presentation").PRESENTATION_AI_ACTION_TYPE;
@@ -1868,6 +1878,16 @@ export declare namespace GetToolsWithConfigsQuery {
1868
1878
  createdAt: Date;
1869
1879
  updatedAt: Date;
1870
1880
  }[];
1881
+ presets: {
1882
+ uuid: string;
1883
+ code: string;
1884
+ title: string;
1885
+ prompt: string;
1886
+ templateId: string;
1887
+ slideCount: number;
1888
+ targetAudience: import("../../presentation").PRESENTATION_TARGET_AUDIENCE;
1889
+ order: number;
1890
+ }[];
1871
1891
  aiActions: {
1872
1892
  uuid: string;
1873
1893
  type: import("../../presentation").PRESENTATION_AI_ACTION_TYPE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.4.7-stage-2",
3
+ "version": "0.4.8-stage-2",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [