@fonoster/apiserver 0.8.39 → 0.8.40
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.
|
@@ -6,6 +6,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
6
6
|
goodbyeMessage: z.ZodString;
|
|
7
7
|
systemErrorMessage: z.ZodString;
|
|
8
8
|
initialDtmf: z.ZodOptional<z.ZodString>;
|
|
9
|
+
maxSessionDuration: z.ZodDefault<z.ZodNumber>;
|
|
9
10
|
maxSpeechWaitTimeout: z.ZodDefault<z.ZodNumber>;
|
|
10
11
|
transferOptions: z.ZodOptional<z.ZodObject<{
|
|
11
12
|
phoneNumber: z.ZodString;
|
|
@@ -55,6 +56,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
55
56
|
goodbyeMessage?: string;
|
|
56
57
|
systemErrorMessage?: string;
|
|
57
58
|
initialDtmf?: string;
|
|
59
|
+
maxSessionDuration?: number;
|
|
58
60
|
maxSpeechWaitTimeout?: number;
|
|
59
61
|
transferOptions?: {
|
|
60
62
|
message?: string;
|
|
@@ -78,6 +80,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
78
80
|
goodbyeMessage?: string;
|
|
79
81
|
systemErrorMessage?: string;
|
|
80
82
|
initialDtmf?: string;
|
|
83
|
+
maxSessionDuration?: number;
|
|
81
84
|
maxSpeechWaitTimeout?: number;
|
|
82
85
|
transferOptions?: {
|
|
83
86
|
message?: string;
|
|
@@ -591,6 +594,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
591
594
|
goodbyeMessage?: string;
|
|
592
595
|
systemErrorMessage?: string;
|
|
593
596
|
initialDtmf?: string;
|
|
597
|
+
maxSessionDuration?: number;
|
|
594
598
|
maxSpeechWaitTimeout?: number;
|
|
595
599
|
transferOptions?: {
|
|
596
600
|
message?: string;
|
|
@@ -649,6 +653,7 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
649
653
|
goodbyeMessage?: string;
|
|
650
654
|
systemErrorMessage?: string;
|
|
651
655
|
initialDtmf?: string;
|
|
656
|
+
maxSessionDuration?: number;
|
|
652
657
|
maxSpeechWaitTimeout?: number;
|
|
653
658
|
transferOptions?: {
|
|
654
659
|
message?: string;
|
|
@@ -44,6 +44,7 @@ declare function createValidationSchema(request: {
|
|
|
44
44
|
goodbyeMessage: z.ZodString;
|
|
45
45
|
systemErrorMessage: z.ZodString;
|
|
46
46
|
initialDtmf: z.ZodOptional<z.ZodString>;
|
|
47
|
+
maxSessionDuration: z.ZodDefault<z.ZodNumber>;
|
|
47
48
|
maxSpeechWaitTimeout: z.ZodDefault<z.ZodNumber>;
|
|
48
49
|
transferOptions: z.ZodOptional<z.ZodObject<{
|
|
49
50
|
phoneNumber: z.ZodString;
|
|
@@ -93,6 +94,7 @@ declare function createValidationSchema(request: {
|
|
|
93
94
|
goodbyeMessage?: string;
|
|
94
95
|
systemErrorMessage?: string;
|
|
95
96
|
initialDtmf?: string;
|
|
97
|
+
maxSessionDuration?: number;
|
|
96
98
|
maxSpeechWaitTimeout?: number;
|
|
97
99
|
transferOptions?: {
|
|
98
100
|
message?: string;
|
|
@@ -116,6 +118,7 @@ declare function createValidationSchema(request: {
|
|
|
116
118
|
goodbyeMessage?: string;
|
|
117
119
|
systemErrorMessage?: string;
|
|
118
120
|
initialDtmf?: string;
|
|
121
|
+
maxSessionDuration?: number;
|
|
119
122
|
maxSpeechWaitTimeout?: number;
|
|
120
123
|
transferOptions?: {
|
|
121
124
|
message?: string;
|
|
@@ -629,6 +632,7 @@ declare function createValidationSchema(request: {
|
|
|
629
632
|
goodbyeMessage?: string;
|
|
630
633
|
systemErrorMessage?: string;
|
|
631
634
|
initialDtmf?: string;
|
|
635
|
+
maxSessionDuration?: number;
|
|
632
636
|
maxSpeechWaitTimeout?: number;
|
|
633
637
|
transferOptions?: {
|
|
634
638
|
message?: string;
|
|
@@ -687,6 +691,7 @@ declare function createValidationSchema(request: {
|
|
|
687
691
|
goodbyeMessage?: string;
|
|
688
692
|
systemErrorMessage?: string;
|
|
689
693
|
initialDtmf?: string;
|
|
694
|
+
maxSessionDuration?: number;
|
|
690
695
|
maxSpeechWaitTimeout?: number;
|
|
691
696
|
transferOptions?: {
|
|
692
697
|
message?: string;
|
|
@@ -747,6 +752,7 @@ declare function createValidationSchema(request: {
|
|
|
747
752
|
goodbyeMessage?: string;
|
|
748
753
|
systemErrorMessage?: string;
|
|
749
754
|
initialDtmf?: string;
|
|
755
|
+
maxSessionDuration?: number;
|
|
750
756
|
maxSpeechWaitTimeout?: number;
|
|
751
757
|
transferOptions?: {
|
|
752
758
|
message?: string;
|
|
@@ -808,6 +814,7 @@ declare function createValidationSchema(request: {
|
|
|
808
814
|
goodbyeMessage?: string;
|
|
809
815
|
systemErrorMessage?: string;
|
|
810
816
|
initialDtmf?: string;
|
|
817
|
+
maxSessionDuration?: number;
|
|
811
818
|
maxSpeechWaitTimeout?: number;
|
|
812
819
|
transferOptions?: {
|
|
813
820
|
message?: string;
|
|
@@ -869,6 +876,7 @@ declare function createValidationSchema(request: {
|
|
|
869
876
|
goodbyeMessage?: string;
|
|
870
877
|
systemErrorMessage?: string;
|
|
871
878
|
initialDtmf?: string;
|
|
879
|
+
maxSessionDuration?: number;
|
|
872
880
|
maxSpeechWaitTimeout?: number;
|
|
873
881
|
transferOptions?: {
|
|
874
882
|
message?: string;
|
|
@@ -930,6 +938,7 @@ declare function createValidationSchema(request: {
|
|
|
930
938
|
goodbyeMessage?: string;
|
|
931
939
|
systemErrorMessage?: string;
|
|
932
940
|
initialDtmf?: string;
|
|
941
|
+
maxSessionDuration?: number;
|
|
933
942
|
maxSpeechWaitTimeout?: number;
|
|
934
943
|
transferOptions?: {
|
|
935
944
|
message?: string;
|
|
@@ -1003,6 +1012,7 @@ declare function createValidationSchema(request: {
|
|
|
1003
1012
|
goodbyeMessage?: string;
|
|
1004
1013
|
systemErrorMessage?: string;
|
|
1005
1014
|
initialDtmf?: string;
|
|
1015
|
+
maxSessionDuration?: number;
|
|
1006
1016
|
maxSpeechWaitTimeout?: number;
|
|
1007
1017
|
transferOptions?: {
|
|
1008
1018
|
message?: string;
|
|
@@ -1079,6 +1089,7 @@ declare function createValidationSchema(request: {
|
|
|
1079
1089
|
goodbyeMessage?: string;
|
|
1080
1090
|
systemErrorMessage?: string;
|
|
1081
1091
|
initialDtmf?: string;
|
|
1092
|
+
maxSessionDuration?: number;
|
|
1082
1093
|
maxSpeechWaitTimeout?: number;
|
|
1083
1094
|
transferOptions?: {
|
|
1084
1095
|
message?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/apiserver",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.40",
|
|
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.40",
|
|
25
|
+
"@fonoster/common": "^0.8.40",
|
|
26
|
+
"@fonoster/identity": "^0.8.40",
|
|
27
|
+
"@fonoster/logger": "^0.8.40",
|
|
28
|
+
"@fonoster/sipnet": "^0.8.40",
|
|
29
|
+
"@fonoster/streams": "^0.8.40",
|
|
30
|
+
"@fonoster/types": "^0.8.40",
|
|
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": "2bbf3dadb6e1e178c4eefdeb4291a2e05eef0f2b"
|
|
77
77
|
}
|