@unified-api/typescript-sdk 2.73.1 → 2.73.2

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.
@@ -12,6 +12,12 @@ import {
12
12
  } from "../../types/enums.js";
13
13
  import { Result as SafeParseResult } from "../../types/fp.js";
14
14
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
15
+ import {
16
+ TaskMetadata,
17
+ TaskMetadata$inboundSchema,
18
+ TaskMetadata$Outbound,
19
+ TaskMetadata$outboundSchema,
20
+ } from "./taskmetadata.js";
15
21
 
16
22
  export const TaskTaskStatus = {
17
23
  Opened: "OPENED",
@@ -33,6 +39,7 @@ export type TaskTask = {
33
39
  followerUserIds?: Array<string> | undefined;
34
40
  groupIds?: Array<string> | undefined;
35
41
  id?: string | undefined;
42
+ metadata?: Array<TaskMetadata> | undefined;
36
43
  name?: string | undefined;
37
44
  notes?: string | undefined;
38
45
  parentId?: string | undefined;
@@ -96,6 +103,7 @@ export const TaskTask$inboundSchema: z.ZodType<
96
103
  follower_user_ids: z.array(z.string()).optional(),
97
104
  group_ids: z.array(z.string()).optional(),
98
105
  id: z.string().optional(),
106
+ metadata: z.array(TaskMetadata$inboundSchema).optional(),
99
107
  name: z.string().optional(),
100
108
  notes: z.string().optional(),
101
109
  parent_id: z.string().optional(),
@@ -134,6 +142,7 @@ export type TaskTask$Outbound = {
134
142
  follower_user_ids?: Array<string> | undefined;
135
143
  group_ids?: Array<string> | undefined;
136
144
  id?: string | undefined;
145
+ metadata?: Array<TaskMetadata$Outbound> | undefined;
137
146
  name?: string | undefined;
138
147
  notes?: string | undefined;
139
148
  parent_id?: string | undefined;
@@ -161,6 +170,7 @@ export const TaskTask$outboundSchema: z.ZodType<
161
170
  followerUserIds: z.array(z.string()).optional(),
162
171
  groupIds: z.array(z.string()).optional(),
163
172
  id: z.string().optional(),
173
+ metadata: z.array(TaskMetadata$outboundSchema).optional(),
164
174
  name: z.string().optional(),
165
175
  notes: z.string().optional(),
166
176
  parentId: z.string().optional(),