@fonoster/common 0.9.54 → 0.9.56

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,7 +337,7 @@ 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
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
341
341
  }, "strip", z.ZodTypeAny, {
342
342
  callDirection?: import("@fonoster/types").CallDirection;
343
343
  ingressNumber?: string;
@@ -40,7 +40,7 @@ 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
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  callDirection?: CallDirection;
46
46
  ingressNumber?: string;
@@ -37,7 +37,7 @@ const testCasesSchema = zod_1.z.object({
37
37
  callDirection: zod_1.z.nativeEnum(types_1.CallDirection),
38
38
  ingressNumber: zod_1.z.string(),
39
39
  callerNumber: zod_1.z.string(),
40
- metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.string())
40
+ metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional()
41
41
  }),
42
42
  conversation: zod_1.z.array(zod_1.z.object({
43
43
  userInput: zod_1.z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.9.54",
3
+ "version": "0.9.56",
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.54",
21
+ "@fonoster/logger": "^0.9.56",
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": "5272372951df997cb17d49f9cda6fc9816e304c9"
52
+ "gitHead": "fa32573d8af9093bcac42ad2ebedd70d2b6da573"
53
53
  }