@unified-api/typescript-sdk 2.73.21 → 2.73.23

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.
@@ -9,6 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type UcComment = {
12
+ callId?: string | undefined;
12
13
  content: string;
13
14
  createdAt?: string | undefined;
14
15
  id?: string | undefined;
@@ -23,6 +24,7 @@ export const UcComment$inboundSchema: z.ZodType<
23
24
  z.ZodTypeDef,
24
25
  unknown
25
26
  > = z.object({
27
+ call_id: z.string().optional(),
26
28
  content: z.string(),
27
29
  created_at: z.string().optional(),
28
30
  id: z.string().optional(),
@@ -31,6 +33,7 @@ export const UcComment$inboundSchema: z.ZodType<
31
33
  user_id: z.string().optional(),
32
34
  }).transform((v) => {
33
35
  return remap$(v, {
36
+ "call_id": "callId",
34
37
  "created_at": "createdAt",
35
38
  "updated_at": "updatedAt",
36
39
  "user_id": "userId",
@@ -39,6 +42,7 @@ export const UcComment$inboundSchema: z.ZodType<
39
42
 
40
43
  /** @internal */
41
44
  export type UcComment$Outbound = {
45
+ call_id?: string | undefined;
42
46
  content: string;
43
47
  created_at?: string | undefined;
44
48
  id?: string | undefined;
@@ -53,6 +57,7 @@ export const UcComment$outboundSchema: z.ZodType<
53
57
  z.ZodTypeDef,
54
58
  UcComment
55
59
  > = z.object({
60
+ callId: z.string().optional(),
56
61
  content: z.string(),
57
62
  createdAt: z.string().optional(),
58
63
  id: z.string().optional(),
@@ -61,6 +66,7 @@ export const UcComment$outboundSchema: z.ZodType<
61
66
  userId: z.string().optional(),
62
67
  }).transform((v) => {
63
68
  return remap$(v, {
69
+ callId: "call_id",
64
70
  createdAt: "created_at",
65
71
  updatedAt: "updated_at",
66
72
  userId: "user_id",