@fonoster/apiserver 0.8.40 → 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 assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
conversationSettings: z.ZodObject<{
|
|
4
4
|
firstMessage: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
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 assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
52
52
|
}>>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
firstMessage?: string;
|
|
55
|
-
|
|
55
|
+
systemPrompt?: string;
|
|
56
56
|
goodbyeMessage?: string;
|
|
57
57
|
systemErrorMessage?: string;
|
|
58
58
|
initialDtmf?: string;
|
|
@@ -76,7 +76,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
76
76
|
};
|
|
77
77
|
}, {
|
|
78
78
|
firstMessage?: string;
|
|
79
|
-
|
|
79
|
+
systemPrompt?: string;
|
|
80
80
|
goodbyeMessage?: string;
|
|
81
81
|
systemErrorMessage?: string;
|
|
82
82
|
initialDtmf?: string;
|
|
@@ -590,7 +590,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
590
590
|
};
|
|
591
591
|
conversationSettings?: {
|
|
592
592
|
firstMessage?: string;
|
|
593
|
-
|
|
593
|
+
systemPrompt?: string;
|
|
594
594
|
goodbyeMessage?: string;
|
|
595
595
|
systemErrorMessage?: string;
|
|
596
596
|
initialDtmf?: string;
|
|
@@ -649,7 +649,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
649
649
|
};
|
|
650
650
|
conversationSettings?: {
|
|
651
651
|
firstMessage?: string;
|
|
652
|
-
|
|
652
|
+
systemPrompt?: string;
|
|
653
653
|
goodbyeMessage?: string;
|
|
654
654
|
systemErrorMessage?: string;
|
|
655
655
|
initialDtmf?: string;
|
|
@@ -40,7 +40,7 @@ declare function createValidationSchema(request: {
|
|
|
40
40
|
config: z.ZodObject<z.objectUtil.extendShape<{
|
|
41
41
|
conversationSettings: z.ZodObject<{
|
|
42
42
|
firstMessage: z.ZodOptional<z.ZodString>;
|
|
43
|
-
|
|
43
|
+
systemPrompt: z.ZodString;
|
|
44
44
|
goodbyeMessage: z.ZodString;
|
|
45
45
|
systemErrorMessage: z.ZodString;
|
|
46
46
|
initialDtmf: z.ZodOptional<z.ZodString>;
|
|
@@ -90,7 +90,7 @@ declare function createValidationSchema(request: {
|
|
|
90
90
|
}>>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
firstMessage?: string;
|
|
93
|
-
|
|
93
|
+
systemPrompt?: string;
|
|
94
94
|
goodbyeMessage?: string;
|
|
95
95
|
systemErrorMessage?: string;
|
|
96
96
|
initialDtmf?: string;
|
|
@@ -114,7 +114,7 @@ declare function createValidationSchema(request: {
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
firstMessage?: string;
|
|
117
|
-
|
|
117
|
+
systemPrompt?: string;
|
|
118
118
|
goodbyeMessage?: string;
|
|
119
119
|
systemErrorMessage?: string;
|
|
120
120
|
initialDtmf?: string;
|
|
@@ -628,7 +628,7 @@ declare function createValidationSchema(request: {
|
|
|
628
628
|
};
|
|
629
629
|
conversationSettings?: {
|
|
630
630
|
firstMessage?: string;
|
|
631
|
-
|
|
631
|
+
systemPrompt?: string;
|
|
632
632
|
goodbyeMessage?: string;
|
|
633
633
|
systemErrorMessage?: string;
|
|
634
634
|
initialDtmf?: string;
|
|
@@ -687,7 +687,7 @@ declare function createValidationSchema(request: {
|
|
|
687
687
|
};
|
|
688
688
|
conversationSettings?: {
|
|
689
689
|
firstMessage?: string;
|
|
690
|
-
|
|
690
|
+
systemPrompt?: string;
|
|
691
691
|
goodbyeMessage?: string;
|
|
692
692
|
systemErrorMessage?: string;
|
|
693
693
|
initialDtmf?: string;
|
|
@@ -748,7 +748,7 @@ declare function createValidationSchema(request: {
|
|
|
748
748
|
};
|
|
749
749
|
conversationSettings?: {
|
|
750
750
|
firstMessage?: string;
|
|
751
|
-
|
|
751
|
+
systemPrompt?: string;
|
|
752
752
|
goodbyeMessage?: string;
|
|
753
753
|
systemErrorMessage?: string;
|
|
754
754
|
initialDtmf?: string;
|
|
@@ -810,7 +810,7 @@ declare function createValidationSchema(request: {
|
|
|
810
810
|
};
|
|
811
811
|
conversationSettings?: {
|
|
812
812
|
firstMessage?: string;
|
|
813
|
-
|
|
813
|
+
systemPrompt?: string;
|
|
814
814
|
goodbyeMessage?: string;
|
|
815
815
|
systemErrorMessage?: string;
|
|
816
816
|
initialDtmf?: string;
|
|
@@ -872,7 +872,7 @@ declare function createValidationSchema(request: {
|
|
|
872
872
|
};
|
|
873
873
|
conversationSettings?: {
|
|
874
874
|
firstMessage?: string;
|
|
875
|
-
|
|
875
|
+
systemPrompt?: string;
|
|
876
876
|
goodbyeMessage?: string;
|
|
877
877
|
systemErrorMessage?: string;
|
|
878
878
|
initialDtmf?: string;
|
|
@@ -934,7 +934,7 @@ declare function createValidationSchema(request: {
|
|
|
934
934
|
};
|
|
935
935
|
conversationSettings?: {
|
|
936
936
|
firstMessage?: string;
|
|
937
|
-
|
|
937
|
+
systemPrompt?: string;
|
|
938
938
|
goodbyeMessage?: string;
|
|
939
939
|
systemErrorMessage?: string;
|
|
940
940
|
initialDtmf?: string;
|
|
@@ -1008,7 +1008,7 @@ declare function createValidationSchema(request: {
|
|
|
1008
1008
|
};
|
|
1009
1009
|
conversationSettings?: {
|
|
1010
1010
|
firstMessage?: string;
|
|
1011
|
-
|
|
1011
|
+
systemPrompt?: string;
|
|
1012
1012
|
goodbyeMessage?: string;
|
|
1013
1013
|
systemErrorMessage?: string;
|
|
1014
1014
|
initialDtmf?: string;
|
|
@@ -1085,7 +1085,7 @@ declare function createValidationSchema(request: {
|
|
|
1085
1085
|
};
|
|
1086
1086
|
conversationSettings?: {
|
|
1087
1087
|
firstMessage?: string;
|
|
1088
|
-
|
|
1088
|
+
systemPrompt?: string;
|
|
1089
1089
|
goodbyeMessage?: string;
|
|
1090
1090
|
systemErrorMessage?: string;
|
|
1091
1091
|
initialDtmf?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/apiserver",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.42",
|
|
4
4
|
"description": "APIServer for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@deepgram/sdk": "^3.5.1",
|
|
24
|
-
"@fonoster/authz": "^0.8.
|
|
25
|
-
"@fonoster/common": "^0.8.
|
|
26
|
-
"@fonoster/identity": "^0.8.
|
|
27
|
-
"@fonoster/logger": "^0.8.
|
|
28
|
-
"@fonoster/sipnet": "^0.8.
|
|
29
|
-
"@fonoster/streams": "^0.8.
|
|
30
|
-
"@fonoster/types": "^0.8.
|
|
24
|
+
"@fonoster/authz": "^0.8.42",
|
|
25
|
+
"@fonoster/common": "^0.8.42",
|
|
26
|
+
"@fonoster/identity": "^0.8.42",
|
|
27
|
+
"@fonoster/logger": "^0.8.42",
|
|
28
|
+
"@fonoster/sipnet": "^0.8.42",
|
|
29
|
+
"@fonoster/streams": "^0.8.42",
|
|
30
|
+
"@fonoster/types": "^0.8.42",
|
|
31
31
|
"@google-cloud/speech": "^6.6.0",
|
|
32
32
|
"@google-cloud/text-to-speech": "^5.3.0",
|
|
33
33
|
"@grpc/grpc-js": "~1.10.6",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@types/uuid": "^10.0.0",
|
|
74
74
|
"@types/validator": "^13.12.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "640d47090720fc3ce5adc9346b4fdbfde4175445"
|
|
77
77
|
}
|