@purpleschool/gptbot 0.18.10-stage-2 → 0.19.0-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.
- package/build/commands/tools/presentation/create-presentation.command.d.ts +1 -0
- package/build/commands/tools/presentation/find-presentation-by-uuid.command.d.ts +1 -0
- package/build/commands/tools/presentation/find-presentations.command.d.ts +1 -0
- package/build/commands/tools/presentation/generate-presentation-slides.command.d.ts +1 -0
- package/build/commands/tools/presentation/set-reaction-to-presentation.command.d.ts +1 -0
- package/build/commands/tools/presentation/update-presentation-favorite.command.d.ts +1 -0
- package/build/commands/tools/presentation/update-presentation.command.d.ts +1 -0
- package/build/constants/loyalty-status/loyalty-levels.constant.js +4 -4
- package/build/models/tools/presentation/presentation.schema.d.ts +2 -0
- package/build/models/tools/presentation/presentation.schema.js +1 -0
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ export declare namespace CreatePresentationCommand {
|
|
|
20
20
|
languageId: z.ZodString;
|
|
21
21
|
templateId: z.ZodString;
|
|
22
22
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
23
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
23
24
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
24
25
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
25
26
|
slideCount: z.ZodNumber;
|
|
@@ -15,6 +15,7 @@ export declare namespace FindPresentationByUuidCommand {
|
|
|
15
15
|
languageId: z.ZodString;
|
|
16
16
|
templateId: z.ZodString;
|
|
17
17
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
18
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
18
19
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
19
20
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
20
21
|
slideCount: z.ZodNumber;
|
|
@@ -21,6 +21,7 @@ export declare namespace FindPresentationsCommand {
|
|
|
21
21
|
languageId: z.ZodString;
|
|
22
22
|
templateId: z.ZodString;
|
|
23
23
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
24
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
24
25
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
25
26
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
26
27
|
slideCount: z.ZodNumber;
|
|
@@ -23,6 +23,7 @@ export declare namespace GeneratePresentationSlidesCommand {
|
|
|
23
23
|
languageId: z.ZodString;
|
|
24
24
|
templateId: z.ZodString;
|
|
25
25
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
26
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
26
27
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
27
28
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
28
29
|
slideCount: z.ZodNumber;
|
|
@@ -21,6 +21,7 @@ export declare namespace SetReactionToPresentationCommand {
|
|
|
21
21
|
languageId: z.ZodString;
|
|
22
22
|
templateId: z.ZodString;
|
|
23
23
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
24
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
24
25
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
25
26
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
26
27
|
slideCount: z.ZodNumber;
|
|
@@ -19,6 +19,7 @@ export declare namespace UpdatePresentationFavoriteCommand {
|
|
|
19
19
|
languageId: z.ZodString;
|
|
20
20
|
templateId: z.ZodString;
|
|
21
21
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
22
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
22
23
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
23
24
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
24
25
|
slideCount: z.ZodNumber;
|
|
@@ -25,6 +25,7 @@ export declare namespace UpdatePresentationCommand {
|
|
|
25
25
|
languageId: z.ZodString;
|
|
26
26
|
templateId: z.ZodString;
|
|
27
27
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
28
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
28
29
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
29
30
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
30
31
|
slideCount: z.ZodNumber;
|
|
@@ -4,8 +4,8 @@ exports.LOYALTY_LEVELS = void 0;
|
|
|
4
4
|
const enums_1 = require("./enums");
|
|
5
5
|
exports.LOYALTY_LEVELS = [
|
|
6
6
|
{ level: enums_1.LOYALTY_LEVEL.NONE, thresholdMonths: 0, renewalBonusPercent: 0 },
|
|
7
|
-
{ level: enums_1.LOYALTY_LEVEL.BRONZE, thresholdMonths: 3, renewalBonusPercent:
|
|
8
|
-
{ level: enums_1.LOYALTY_LEVEL.SILVER, thresholdMonths: 6, renewalBonusPercent:
|
|
9
|
-
{ level: enums_1.LOYALTY_LEVEL.GOLD, thresholdMonths: 12, renewalBonusPercent:
|
|
10
|
-
{ level: enums_1.LOYALTY_LEVEL.PLATINUM, thresholdMonths: 24, renewalBonusPercent:
|
|
7
|
+
{ level: enums_1.LOYALTY_LEVEL.BRONZE, thresholdMonths: 3, renewalBonusPercent: 5 },
|
|
8
|
+
{ level: enums_1.LOYALTY_LEVEL.SILVER, thresholdMonths: 6, renewalBonusPercent: 10 },
|
|
9
|
+
{ level: enums_1.LOYALTY_LEVEL.GOLD, thresholdMonths: 12, renewalBonusPercent: 15 },
|
|
10
|
+
{ level: enums_1.LOYALTY_LEVEL.PLATINUM, thresholdMonths: 24, renewalBonusPercent: 20 },
|
|
11
11
|
];
|
|
@@ -10,6 +10,7 @@ export declare const PresentationSchema: z.ZodObject<{
|
|
|
10
10
|
languageId: z.ZodString;
|
|
11
11
|
templateId: z.ZodString;
|
|
12
12
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
13
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
13
14
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
14
15
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
15
16
|
slideCount: z.ZodNumber;
|
|
@@ -35,6 +36,7 @@ export declare const PresentationWithSlidesSchema: z.ZodObject<{
|
|
|
35
36
|
languageId: z.ZodString;
|
|
36
37
|
templateId: z.ZodString;
|
|
37
38
|
downloadUrl: z.ZodNullable<z.ZodString>;
|
|
39
|
+
docUrl: z.ZodNullable<z.ZodString>;
|
|
38
40
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
39
41
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
40
42
|
slideCount: z.ZodNumber;
|
|
@@ -16,6 +16,7 @@ exports.PresentationSchema = zod_1.z.object({
|
|
|
16
16
|
languageId: zod_1.z.string(),
|
|
17
17
|
templateId: zod_1.z.string(),
|
|
18
18
|
downloadUrl: zod_1.z.string().nullable(),
|
|
19
|
+
docUrl: zod_1.z.string().nullable(),
|
|
19
20
|
reaction: zod_1.z.enum(constants_1.USER_REACTION).nullable(),
|
|
20
21
|
dislikeReason: zod_1.z.string().nullable(),
|
|
21
22
|
slideCount: zod_1.z.number(),
|