@awarevue/api-types 2.0.45 → 2.0.47

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.
@@ -340,7 +340,8 @@ export declare const sWebRtcReleaseSessionPayload: z.ZodObject<{
340
340
  }>;
341
341
  export type WebRtcReleaseSessionPayload = z.infer<typeof sWebRtcReleaseSessionPayload>;
342
342
  export declare const sWebRtcErrorPayload: z.ZodObject<{
343
- sessionId: z.ZodString;
343
+ requestId: z.ZodOptional<z.ZodString>;
344
+ sessionId: z.ZodOptional<z.ZodString>;
344
345
  error: z.ZodObject<{
345
346
  code: z.ZodString;
346
347
  message: z.ZodString;
@@ -356,13 +357,15 @@ export declare const sWebRtcErrorPayload: z.ZodObject<{
356
357
  code: string;
357
358
  message: string;
358
359
  };
359
- sessionId: string;
360
+ requestId?: string | undefined;
361
+ sessionId?: string | undefined;
360
362
  }, {
361
363
  error: {
362
364
  code: string;
363
365
  message: string;
364
366
  };
365
- sessionId: string;
367
+ requestId?: string | undefined;
368
+ sessionId?: string | undefined;
366
369
  }>;
367
370
  export type WebRtcErrorPayload = z.infer<typeof sWebRtcErrorPayload>;
368
371
  interface WebRtcEventMap {
@@ -73,7 +73,8 @@ exports.sWebRtcReleaseSessionPayload = zod_1.default.object({
73
73
  from: zod_1.default.string().optional(),
74
74
  });
75
75
  exports.sWebRtcErrorPayload = zod_1.default.object({
76
- sessionId: zod_1.default.string().nonempty(),
76
+ requestId: zod_1.default.string().nonempty().optional(),
77
+ sessionId: zod_1.default.string().nonempty().optional(),
77
78
  error: zod_1.default.object({
78
79
  code: zod_1.default.string().nonempty(),
79
80
  message: zod_1.default.string().nonempty(),
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.45",
3
+ "version": "2.0.47",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.45",
3
+ "version": "2.0.47",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",