@fonoster/common 0.9.52 → 0.9.54
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.
|
@@ -337,14 +337,17 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
337
337
|
callDirection: z.ZodNativeEnum<typeof import("@fonoster/types").CallDirection>;
|
|
338
338
|
ingressNumber: z.ZodString;
|
|
339
339
|
callerNumber: z.ZodString;
|
|
340
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
340
341
|
}, "strip", z.ZodTypeAny, {
|
|
341
342
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
342
343
|
ingressNumber?: string;
|
|
343
344
|
callerNumber?: string;
|
|
345
|
+
metadata?: Record<string, string>;
|
|
344
346
|
}, {
|
|
345
347
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
346
348
|
ingressNumber?: string;
|
|
347
349
|
callerNumber?: string;
|
|
350
|
+
metadata?: Record<string, string>;
|
|
348
351
|
}>;
|
|
349
352
|
conversation: z.ZodArray<z.ZodObject<{
|
|
350
353
|
userInput: z.ZodString;
|
|
@@ -420,6 +423,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
420
423
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
421
424
|
ingressNumber?: string;
|
|
422
425
|
callerNumber?: string;
|
|
426
|
+
metadata?: Record<string, string>;
|
|
423
427
|
};
|
|
424
428
|
conversation?: {
|
|
425
429
|
expected?: {
|
|
@@ -441,6 +445,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
441
445
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
442
446
|
ingressNumber?: string;
|
|
443
447
|
callerNumber?: string;
|
|
448
|
+
metadata?: Record<string, string>;
|
|
444
449
|
};
|
|
445
450
|
conversation?: {
|
|
446
451
|
expected?: {
|
|
@@ -470,6 +475,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
470
475
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
471
476
|
ingressNumber?: string;
|
|
472
477
|
callerNumber?: string;
|
|
478
|
+
metadata?: Record<string, string>;
|
|
473
479
|
};
|
|
474
480
|
conversation?: {
|
|
475
481
|
expected?: {
|
|
@@ -499,6 +505,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
499
505
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
500
506
|
ingressNumber?: string;
|
|
501
507
|
callerNumber?: string;
|
|
508
|
+
metadata?: Record<string, string>;
|
|
502
509
|
};
|
|
503
510
|
conversation?: {
|
|
504
511
|
expected?: {
|
|
@@ -593,6 +600,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
593
600
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
594
601
|
ingressNumber?: string;
|
|
595
602
|
callerNumber?: string;
|
|
603
|
+
metadata?: Record<string, string>;
|
|
596
604
|
};
|
|
597
605
|
conversation?: {
|
|
598
606
|
expected?: {
|
|
@@ -687,6 +695,7 @@ declare const assistantSchema: z.ZodObject<{
|
|
|
687
695
|
callDirection?: import("@fonoster/types").CallDirection;
|
|
688
696
|
ingressNumber?: string;
|
|
689
697
|
callerNumber?: string;
|
|
698
|
+
metadata?: Record<string, string>;
|
|
690
699
|
};
|
|
691
700
|
conversation?: {
|
|
692
701
|
expected?: {
|
|
@@ -40,14 +40,17 @@ declare const testCasesSchema: z.ZodObject<{
|
|
|
40
40
|
callDirection: z.ZodNativeEnum<typeof CallDirection>;
|
|
41
41
|
ingressNumber: z.ZodString;
|
|
42
42
|
callerNumber: z.ZodString;
|
|
43
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
43
44
|
}, "strip", z.ZodTypeAny, {
|
|
44
45
|
callDirection?: CallDirection;
|
|
45
46
|
ingressNumber?: string;
|
|
46
47
|
callerNumber?: string;
|
|
48
|
+
metadata?: Record<string, string>;
|
|
47
49
|
}, {
|
|
48
50
|
callDirection?: CallDirection;
|
|
49
51
|
ingressNumber?: string;
|
|
50
52
|
callerNumber?: string;
|
|
53
|
+
metadata?: Record<string, string>;
|
|
51
54
|
}>;
|
|
52
55
|
conversation: z.ZodArray<z.ZodObject<{
|
|
53
56
|
userInput: z.ZodString;
|
|
@@ -123,6 +126,7 @@ declare const testCasesSchema: z.ZodObject<{
|
|
|
123
126
|
callDirection?: CallDirection;
|
|
124
127
|
ingressNumber?: string;
|
|
125
128
|
callerNumber?: string;
|
|
129
|
+
metadata?: Record<string, string>;
|
|
126
130
|
};
|
|
127
131
|
conversation?: {
|
|
128
132
|
expected?: {
|
|
@@ -144,6 +148,7 @@ declare const testCasesSchema: z.ZodObject<{
|
|
|
144
148
|
callDirection?: CallDirection;
|
|
145
149
|
ingressNumber?: string;
|
|
146
150
|
callerNumber?: string;
|
|
151
|
+
metadata?: Record<string, string>;
|
|
147
152
|
};
|
|
148
153
|
conversation?: {
|
|
149
154
|
expected?: {
|
|
@@ -173,6 +178,7 @@ declare const testCasesSchema: z.ZodObject<{
|
|
|
173
178
|
callDirection?: CallDirection;
|
|
174
179
|
ingressNumber?: string;
|
|
175
180
|
callerNumber?: string;
|
|
181
|
+
metadata?: Record<string, string>;
|
|
176
182
|
};
|
|
177
183
|
conversation?: {
|
|
178
184
|
expected?: {
|
|
@@ -202,6 +208,7 @@ declare const testCasesSchema: z.ZodObject<{
|
|
|
202
208
|
callDirection?: CallDirection;
|
|
203
209
|
ingressNumber?: string;
|
|
204
210
|
callerNumber?: string;
|
|
211
|
+
metadata?: Record<string, string>;
|
|
205
212
|
};
|
|
206
213
|
conversation?: {
|
|
207
214
|
expected?: {
|
|
@@ -36,7 +36,8 @@ const testCasesSchema = zod_1.z.object({
|
|
|
36
36
|
telephonyContext: zod_1.z.object({
|
|
37
37
|
callDirection: zod_1.z.nativeEnum(types_1.CallDirection),
|
|
38
38
|
ingressNumber: zod_1.z.string(),
|
|
39
|
-
callerNumber: zod_1.z.string()
|
|
39
|
+
callerNumber: zod_1.z.string(),
|
|
40
|
+
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.string())
|
|
40
41
|
}),
|
|
41
42
|
conversation: zod_1.z.array(zod_1.z.object({
|
|
42
43
|
userInput: zod_1.z.string(),
|
|
@@ -26,16 +26,16 @@ declare const createCallRequestSchema: z.ZodObject<{
|
|
|
26
26
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
timeout?: number;
|
|
29
|
+
metadata?: Record<string, any>;
|
|
29
30
|
to?: string;
|
|
30
31
|
from?: string;
|
|
31
32
|
appRef?: string;
|
|
32
|
-
metadata?: Record<string, any>;
|
|
33
33
|
}, {
|
|
34
34
|
timeout?: number;
|
|
35
|
+
metadata?: Record<string, any>;
|
|
35
36
|
to?: string;
|
|
36
37
|
from?: string;
|
|
37
38
|
appRef?: string;
|
|
38
|
-
metadata?: Record<string, any>;
|
|
39
39
|
}>;
|
|
40
40
|
declare const getCallRequestSchema: z.ZodObject<{
|
|
41
41
|
ref: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/common",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.54",
|
|
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.9.
|
|
21
|
+
"@fonoster/logger": "^0.9.54",
|
|
22
22
|
"@grpc/grpc-js": "~1.10.6",
|
|
23
23
|
"@grpc/proto-loader": "^0.7.12",
|
|
24
24
|
"@influxdata/influxdb-client": "^1.35.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/nodemailer": "^6.4.14"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "5272372951df997cb17d49f9cda6fc9816e304c9"
|
|
53
53
|
}
|