@purpleschool/gptbot 0.18.3-stage-2 → 0.18.4-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 (18) hide show
  1. package/build/commands/tools/html-page-builder/answer-html-page-builder-questions.command.d.ts +1 -0
  2. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +1 -0
  3. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +1 -0
  4. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +1 -0
  5. package/build/commands/tools/html-page-builder/refine-html-page-builder.command.d.ts +1 -0
  6. package/build/commands/tools/html-page-builder/retry-html-page-builder-build.command.d.ts +1 -0
  7. package/build/commands/tools/html-page-builder/retry-html-page-builder-refine.command.d.ts +1 -0
  8. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +1 -0
  9. package/build/commands/tools/html-page-builder/update-html-page-builder-session-reaction.command.d.ts +1 -0
  10. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +1 -0
  11. package/build/constants/email/index.d.ts +0 -1
  12. package/build/constants/email/index.js +0 -1
  13. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +2 -0
  14. package/build/models/tools/html-page-builder/html-page-builder-job.schema.js +2 -0
  15. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +1 -0
  16. package/package.json +1 -1
  17. package/build/constants/email/subjects.d.ts +0 -13
  18. package/build/constants/email/subjects.js +0 -16
@@ -103,6 +103,7 @@ export declare namespace AnswerHtmlPageBuilderQuestionsCommand {
103
103
  question: z.ZodString;
104
104
  answer: z.ZodString;
105
105
  }, z.core.$strip>>>;
106
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
106
107
  }, z.core.$strip>;
107
108
  isDeleted: z.ZodBoolean;
108
109
  createdAt: z.ZodDate;
@@ -109,6 +109,7 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
109
109
  question: z.ZodString;
110
110
  answer: z.ZodString;
111
111
  }, z.core.$strip>>>;
112
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
112
113
  }, z.core.$strip>;
113
114
  isDeleted: z.ZodBoolean;
114
115
  createdAt: z.ZodDate;
@@ -92,6 +92,7 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
92
92
  question: z.ZodString;
93
93
  answer: z.ZodString;
94
94
  }, z.core.$strip>>>;
95
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
95
96
  }, z.core.$strip>;
96
97
  isDeleted: z.ZodBoolean;
97
98
  createdAt: z.ZodDate;
@@ -98,6 +98,7 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
98
98
  question: z.ZodString;
99
99
  answer: z.ZodString;
100
100
  }, z.core.$strip>>>;
101
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
101
102
  }, z.core.$strip>;
102
103
  isDeleted: z.ZodBoolean;
103
104
  createdAt: z.ZodDate;
@@ -97,6 +97,7 @@ export declare namespace RefineHtmlPageBuilderCommand {
97
97
  question: z.ZodString;
98
98
  answer: z.ZodString;
99
99
  }, z.core.$strip>>>;
100
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
100
101
  }, z.core.$strip>;
101
102
  isDeleted: z.ZodBoolean;
102
103
  createdAt: z.ZodDate;
@@ -96,6 +96,7 @@ export declare namespace RetryHtmlPageBuilderBuildCommand {
96
96
  question: z.ZodString;
97
97
  answer: z.ZodString;
98
98
  }, z.core.$strip>>>;
99
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
99
100
  }, z.core.$strip>;
100
101
  isDeleted: z.ZodBoolean;
101
102
  createdAt: z.ZodDate;
@@ -96,6 +96,7 @@ export declare namespace RetryHtmlPageBuilderRefineCommand {
96
96
  question: z.ZodString;
97
97
  answer: z.ZodString;
98
98
  }, z.core.$strip>>>;
99
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
99
100
  }, z.core.$strip>;
100
101
  isDeleted: z.ZodBoolean;
101
102
  createdAt: z.ZodDate;
@@ -96,6 +96,7 @@ export declare namespace UpdateHtmlPageBuilderSessionFavoriteCommand {
96
96
  question: z.ZodString;
97
97
  answer: z.ZodString;
98
98
  }, z.core.$strip>>>;
99
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
99
100
  }, z.core.$strip>;
100
101
  isDeleted: z.ZodBoolean;
101
102
  createdAt: z.ZodDate;
@@ -101,6 +101,7 @@ export declare namespace UpdateHtmlPageBuilderSessionReactionCommand {
101
101
  question: z.ZodString;
102
102
  answer: z.ZodString;
103
103
  }, z.core.$strip>>>;
104
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
104
105
  }, z.core.$strip>;
105
106
  isDeleted: z.ZodBoolean;
106
107
  createdAt: z.ZodDate;
@@ -96,6 +96,7 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
96
96
  question: z.ZodString;
97
97
  answer: z.ZodString;
98
98
  }, z.core.$strip>>>;
99
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
99
100
  }, z.core.$strip>;
100
101
  isDeleted: z.ZodBoolean;
101
102
  createdAt: z.ZodDate;
@@ -1,2 +1 @@
1
1
  export * from './email-endpoint';
2
- export * from './subjects';
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./email-endpoint"), exports);
18
- __exportStar(require("./subjects"), exports);
@@ -17,6 +17,7 @@ export declare const HtmlPageBuilderJobParamsSchema: z.ZodObject<{
17
17
  question: z.ZodString;
18
18
  answer: z.ZodString;
19
19
  }, z.core.$strip>>>;
20
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
20
21
  }, z.core.$strip>;
21
22
  export type HtmlPageBuilderJobParams = z.infer<typeof HtmlPageBuilderJobParamsSchema>;
22
23
  /**
@@ -94,6 +95,7 @@ export declare const HtmlPageBuilderJobSchema: z.ZodObject<{
94
95
  question: z.ZodString;
95
96
  answer: z.ZodString;
96
97
  }, z.core.$strip>>>;
98
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
97
99
  }, z.core.$strip>;
98
100
  isDeleted: z.ZodBoolean;
99
101
  createdAt: z.ZodDate;
@@ -10,6 +10,8 @@ exports.HtmlPageBuilderJobParamsSchema = zod_1.z.object({
10
10
  attachedFiles: zod_1.z.array(common_1.AttachedToolFileSchema),
11
11
  pagesCount: zod_1.z.number().int().positive().optional(),
12
12
  clarifications: html_page_builder_clarification_schema_1.HtmlPageBuilderClarificationBriefSchema.default([]),
13
+ /** Only used by the API canvas execution strategy while linking a failed-questions run. */
14
+ clarificationFallback: zod_1.z.boolean().optional(),
13
15
  });
14
16
  /**
15
17
  * Addresses of the published files of this generation, for reading the source as files rather than
@@ -87,6 +87,7 @@ export declare const HtmlPageBuilderSessionSchema: z.ZodObject<{
87
87
  question: z.ZodString;
88
88
  answer: z.ZodString;
89
89
  }, z.core.$strip>>>;
90
+ clarificationFallback: z.ZodOptional<z.ZodBoolean>;
90
91
  }, z.core.$strip>;
91
92
  isDeleted: z.ZodBoolean;
92
93
  createdAt: z.ZodDate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.18.3-stage-2",
3
+ "version": "0.18.4-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,13 +0,0 @@
1
- export declare const EMAIL_SUBJECTS: {
2
- WELCOME: string;
3
- EMAIL_VERIFICATION: string;
4
- TEAM_ACCOUNT_INVITE: string;
5
- SUBSCRIPTION_PURCHASE: string;
6
- SUBSCRIPTION_CANCEL: string;
7
- PRODUCT_PURCHASE: string;
8
- RECURRENT_PAYMENT_FAILED: string;
9
- SUBSCRIPTION_RENEWAL_REMINDER: string;
10
- RESTORE_PASSWORD: string;
11
- FAST_REGISTRATION: string;
12
- SUBSCRIPTION_BEFORE_CANCEL: string;
13
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EMAIL_SUBJECTS = void 0;
4
- exports.EMAIL_SUBJECTS = {
5
- WELCOME: 'Добро пожаловать на сервис ruGPT!',
6
- EMAIL_VERIFICATION: 'Подтверждение почты',
7
- TEAM_ACCOUNT_INVITE: 'Приглашение в команду',
8
- SUBSCRIPTION_PURCHASE: 'Спасибо за покупку подписки',
9
- SUBSCRIPTION_CANCEL: 'Нам жаль, что вы от нас уходите(',
10
- PRODUCT_PURCHASE: 'Спасибо за покупку тарифа',
11
- RECURRENT_PAYMENT_FAILED: 'Важно: Не удалось получить оплату по подписке',
12
- SUBSCRIPTION_RENEWAL_REMINDER: 'Продление подписки',
13
- RESTORE_PASSWORD: 'Восстановление пароля',
14
- FAST_REGISTRATION: 'Быстрая регистрация',
15
- SUBSCRIPTION_BEFORE_CANCEL: 'Завтра всё изменится',
16
- };