@fonoster/common 0.8.41 → 0.8.42

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.
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  declare const assistantSchema: z.ZodObject<{
3
3
  conversationSettings: z.ZodObject<{
4
4
  firstMessage: z.ZodOptional<z.ZodString>;
5
- systemTemplate: z.ZodString;
5
+ systemPrompt: z.ZodString;
6
6
  goodbyeMessage: z.ZodString;
7
7
  systemErrorMessage: z.ZodString;
8
8
  initialDtmf: z.ZodOptional<z.ZodString>;
@@ -52,7 +52,7 @@ declare const assistantSchema: z.ZodObject<{
52
52
  }>>;
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  firstMessage?: string;
55
- systemTemplate?: string;
55
+ systemPrompt?: string;
56
56
  goodbyeMessage?: string;
57
57
  systemErrorMessage?: string;
58
58
  initialDtmf?: string;
@@ -76,7 +76,7 @@ declare const assistantSchema: z.ZodObject<{
76
76
  };
77
77
  }, {
78
78
  firstMessage?: string;
79
- systemTemplate?: string;
79
+ systemPrompt?: string;
80
80
  goodbyeMessage?: string;
81
81
  systemErrorMessage?: string;
82
82
  initialDtmf?: string;
@@ -297,7 +297,7 @@ declare const assistantSchema: z.ZodObject<{
297
297
  }, "strip", z.ZodTypeAny, {
298
298
  conversationSettings?: {
299
299
  firstMessage?: string;
300
- systemTemplate?: string;
300
+ systemPrompt?: string;
301
301
  goodbyeMessage?: string;
302
302
  systemErrorMessage?: string;
303
303
  initialDtmf?: string;
@@ -356,7 +356,7 @@ declare const assistantSchema: z.ZodObject<{
356
356
  }, {
357
357
  conversationSettings?: {
358
358
  firstMessage?: string;
359
- systemTemplate?: string;
359
+ systemPrompt?: string;
360
360
  goodbyeMessage?: string;
361
361
  systemErrorMessage?: string;
362
362
  initialDtmf?: string;
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  declare const conversationSettingsSchema: z.ZodObject<{
3
3
  firstMessage: z.ZodOptional<z.ZodString>;
4
- systemTemplate: z.ZodString;
4
+ systemPrompt: z.ZodString;
5
5
  goodbyeMessage: z.ZodString;
6
6
  systemErrorMessage: z.ZodString;
7
7
  initialDtmf: z.ZodOptional<z.ZodString>;
@@ -51,7 +51,7 @@ declare const conversationSettingsSchema: z.ZodObject<{
51
51
  }>>;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  firstMessage?: string;
54
- systemTemplate?: string;
54
+ systemPrompt?: string;
55
55
  goodbyeMessage?: string;
56
56
  systemErrorMessage?: string;
57
57
  initialDtmf?: string;
@@ -75,7 +75,7 @@ declare const conversationSettingsSchema: z.ZodObject<{
75
75
  };
76
76
  }, {
77
77
  firstMessage?: string;
78
- systemTemplate?: string;
78
+ systemPrompt?: string;
79
79
  goodbyeMessage?: string;
80
80
  systemErrorMessage?: string;
81
81
  initialDtmf?: string;
@@ -63,7 +63,7 @@ const VAD_DEACTIVATION_THRESHOLD = 0.25;
63
63
  const VAD_DEBOUNCE_FRAMES = 3;
64
64
  const conversationSettingsSchema = zod_1.z.object({
65
65
  firstMessage: zod_1.z.string().optional(),
66
- systemTemplate: zod_1.z.string(),
66
+ systemPrompt: zod_1.z.string(),
67
67
  goodbyeMessage: zod_1.z.string(),
68
68
  systemErrorMessage: zod_1.z.string(),
69
69
  initialDtmf: zod_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.8.41",
3
+ "version": "0.8.42",
4
4
  "description": "Common library for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf ./dist node_modules tsconfig.tsbuildinfo"
19
19
  },
20
20
  "dependencies": {
21
- "@fonoster/logger": "^0.8.41",
21
+ "@fonoster/logger": "^0.8.42",
22
22
  "@grpc/grpc-js": "~1.10.6",
23
23
  "@grpc/proto-loader": "^0.7.12",
24
24
  "@influxdata/influxdb-client": "^1.35.0",
@@ -48,5 +48,5 @@
48
48
  "devDependencies": {
49
49
  "@types/nodemailer": "^6.4.14"
50
50
  },
51
- "gitHead": "9aeac381dc6e2864d81b3fcc8dfe6f067910516f"
51
+ "gitHead": "640d47090720fc3ce5adc9346b4fdbfde4175445"
52
52
  }