@anchrd/colab-sdk 0.1.7 → 0.1.9

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.
Files changed (75) hide show
  1. package/dist/actions/actions.d.ts +113 -113
  2. package/dist/actions/actions.js +21 -21
  3. package/dist/apps/apps.d.ts +8 -8
  4. package/dist/apps/apps.js +6 -6
  5. package/dist/archive/archive.d.ts +2 -2
  6. package/dist/archive/archive.js +2 -2
  7. package/dist/boards/boards.d.ts +60 -60
  8. package/dist/boards/boards.js +19 -19
  9. package/dist/columns/columns.d.ts +1 -1
  10. package/dist/columns/columns.js +1 -1
  11. package/dist/connections/connections.d.ts +15 -15
  12. package/dist/connections/connections.js +6 -6
  13. package/dist/connectors/connectors.d.ts +14 -14
  14. package/dist/connectors/connectors.js +7 -7
  15. package/dist/dashboards/dashboards.d.ts +3 -3
  16. package/dist/dashboards/dashboards.js +3 -3
  17. package/dist/directory/directory.d.ts +1 -1
  18. package/dist/directory/directory.js +1 -1
  19. package/dist/documents/documents.d.ts +6 -6
  20. package/dist/documents/documents.js +1 -1
  21. package/dist/events/events.d.ts +7 -7
  22. package/dist/events/events.js +4 -4
  23. package/dist/files/files.d.ts +19 -5
  24. package/dist/files/files.js +12 -6
  25. package/dist/functions/functions.d.ts +1 -1
  26. package/dist/functions/functions.js +1 -1
  27. package/dist/grammar/grammar.d.ts +1 -0
  28. package/dist/grammar/grammar.js +5 -1
  29. package/dist/grants/grants.d.ts +7 -7
  30. package/dist/grants/grants.js +5 -5
  31. package/dist/instructions/instructions.d.ts +3 -3
  32. package/dist/instructions/instructions.js +2 -2
  33. package/dist/interfaces/interfaces.d.ts +1 -1
  34. package/dist/interfaces/interfaces.js +1 -1
  35. package/dist/invitations/invitations.d.ts +8 -8
  36. package/dist/invitations/invitations.js +4 -4
  37. package/dist/links/links.d.ts +3 -3
  38. package/dist/links/links.js +2 -2
  39. package/dist/machines/machines.d.ts +5 -5
  40. package/dist/machines/machines.js +2 -2
  41. package/dist/messages/messages.d.ts +12 -12
  42. package/dist/messages/messages.js +5 -5
  43. package/dist/nodes/nodes.d.ts +58 -58
  44. package/dist/nodes/nodes.js +19 -19
  45. package/dist/operators/operators.d.ts +136 -46
  46. package/dist/operators/operators.js +80 -20
  47. package/dist/pages/pages.d.ts +22 -22
  48. package/dist/pages/pages.js +8 -6
  49. package/dist/profile/profile.d.ts +1 -1
  50. package/dist/profile/profile.js +1 -1
  51. package/dist/roles/roles.d.ts +12 -12
  52. package/dist/roles/roles.js +7 -7
  53. package/dist/runs/runs.d.ts +23 -23
  54. package/dist/runs/runs.js +9 -9
  55. package/dist/runtime-config.d.ts +1 -1
  56. package/dist/runtime-config.js +1 -1
  57. package/dist/sdk.d.ts +2 -2
  58. package/dist/sdk.js +2 -2
  59. package/dist/secrets/secrets.d.ts +5 -5
  60. package/dist/secrets/secrets.js +2 -2
  61. package/dist/services/services.d.ts +15 -15
  62. package/dist/services/services.js +6 -6
  63. package/dist/sso/sso.d.ts +4 -4
  64. package/dist/sso/sso.js +3 -3
  65. package/dist/tables/tables.d.ts +4 -4
  66. package/dist/tables/tables.js +4 -4
  67. package/dist/user-settings/user-settings.d.ts +1 -1
  68. package/dist/user-settings/user-settings.js +1 -1
  69. package/dist/users/users.d.ts +23 -23
  70. package/dist/users/users.js +9 -9
  71. package/dist/validation/validation.d.ts +11 -11
  72. package/dist/validation/validation.js +4 -4
  73. package/dist/versions/versions.d.ts +7 -7
  74. package/dist/versions/versions.js +2 -2
  75. package/package.json +1 -1
@@ -28,7 +28,7 @@ export const ActionListInput = z.strictObject({
28
28
  // The two sections of the page: waiting (open tasks, chats, a due process) and in progress (tasks
29
29
  // in progress, an open run).
30
30
  export const ActionSection = z.enum(["waiting", "progress"]);
31
- export const ActionTask = z.strictObject({
31
+ export const ActionTask = z.object({
32
32
  column: TaskColumn,
33
33
  // The columns of type done, discarded and blocked of the task's own board (a run's own columns
34
34
  // for a run's task), in their order on the board: the buttons that move it there. Empty when the
@@ -37,10 +37,10 @@ export const ActionTask = z.strictObject({
37
37
  // A machine moved it into its column last: "handed over by the Operator".
38
38
  handedOver: z.boolean(),
39
39
  });
40
- export const ActionChat = z.strictObject({
40
+ export const ActionChat = z.object({
41
41
  // The messages of others not read yet, by the person themselves (not their AI).
42
42
  unreadCount: z.number().int(),
43
- lastMessage: z.strictObject({
43
+ lastMessage: z.object({
44
44
  messageId: MessageId,
45
45
  author: MessageAuthor,
46
46
  // The first line of its text that is not empty, at most 200 characters.
@@ -49,12 +49,12 @@ export const ActionChat = z.strictObject({
49
49
  }),
50
50
  });
51
51
  // A process board or a dashboard that is due for its Operator.
52
- export const ActionProcess = z.strictObject({
52
+ export const ActionProcess = z.object({
53
53
  kind: z.enum(["board", "dashboard"]),
54
54
  // The moment of the schedule the next run stands for.
55
55
  dueAt: z.iso.datetime(),
56
56
  });
57
- export const ActionRun = z.strictObject({
57
+ export const ActionRun = z.object({
58
58
  runId: RunId,
59
59
  status: RunStatus,
60
60
  // A dashboard run (E78): the keys of the metrics and summaries assigned to the person that they
@@ -63,8 +63,8 @@ export const ActionRun = z.strictObject({
63
63
  });
64
64
  // One row: the node, where it waits, since when, and what makes it wait. Exactly one of task,
65
65
  // process and run, or none of them on a row that is a chat alone; chat beside any of them.
66
- export const ActionItem = z.strictObject({
67
- node: z.strictObject({
66
+ export const ActionItem = z.object({
67
+ node: z.object({
68
68
  nodeId: NodeId,
69
69
  kind: NodeKind,
70
70
  name: z.string(),
@@ -98,37 +98,37 @@ export const ActionNoticeKind = z.enum(["credential", "paused"]);
98
98
  // Its title: which notice, and the name it is about.
99
99
  export const ActionNoticeTitle = z.discriminatedUnion("text", [
100
100
  // "Access invalid: <the credential's name>".
101
- z.strictObject({ text: z.literal("credentialInvalid"), name: z.string() }),
101
+ z.object({ text: z.literal("credentialInvalid"), name: z.string() }),
102
102
  // "Operator paused: daily limit reached".
103
- z.strictObject({ text: z.literal("pausedLimit") }),
103
+ z.object({ text: z.literal("pausedLimit") }),
104
104
  // "Operator paused: <failures> failures".
105
- z.strictObject({ text: z.literal("pausedFailures"), failures: z.number().int().positive() }),
105
+ z.object({ text: z.literal("pausedFailures"), failures: z.number().int().positive() }),
106
106
  ]);
107
107
  // One step of the grey path below the title: a word the UI translates, or a name shown as it is.
108
108
  export const ActionNoticeCrumb = z.union([
109
- z.strictObject({ word: z.enum(["settings", "operator", "access"]) }),
110
- z.strictObject({ name: z.string() }),
109
+ z.object({ word: z.enum(["settings", "operator", "access"]) }),
110
+ z.object({ name: z.string() }),
111
111
  ]);
112
112
  // The line with the reason, said by the provider of the access or by the Operator.
113
- export const ActionNoticeReason = z.strictObject({
114
- author: z.strictObject({ name: z.string(), kind: z.enum(["provider", "machine"]) }),
113
+ export const ActionNoticeReason = z.object({
114
+ author: z.object({ name: z.string(), kind: z.enum(["provider", "machine"]) }),
115
115
  line: z.discriminatedUnion("text", [
116
116
  // "The token has been refused since <since>. <paused> are paused."
117
- z.strictObject({
117
+ z.object({
118
118
  text: z.literal("credentialRefused"),
119
119
  since: z.iso.datetime(),
120
120
  // The names of the Operators that run on it, every one of them paused now.
121
121
  paused: z.array(z.string()),
122
122
  }),
123
123
  // "<runs> of <limit> runs today. Without resuming it goes on at <until>."
124
- z.strictObject({
124
+ z.object({
125
125
  text: z.literal("limitReached"),
126
126
  runs: z.number().int().nonnegative(),
127
127
  limit: z.number().int().positive(),
128
128
  until: z.iso.datetime(),
129
129
  }),
130
130
  // "Last at <at>: <detail>", the last failed run; null without one.
131
- z.strictObject({
131
+ z.object({
132
132
  text: z.literal("lastFailure"),
133
133
  at: z.iso.datetime().nullable(),
134
134
  detail: z.string().nullable(),
@@ -136,11 +136,11 @@ export const ActionNoticeReason = z.strictObject({
136
136
  ]),
137
137
  });
138
138
  // A button of the row: its word and where it leads, a path within Colab. The first is the primary.
139
- export const ActionNoticeButton = z.strictObject({
139
+ export const ActionNoticeButton = z.object({
140
140
  label: z.enum(["replaceCredential", "resume", "changeLimit", "viewLog"]),
141
141
  href: z.string(),
142
142
  });
143
- export const ActionNotice = z.strictObject({
143
+ export const ActionNotice = z.object({
144
144
  // The package that names it.
145
145
  package: z.enum(packages),
146
146
  // Its identity within the package: one row per package and noticeKey, however often it is named.
@@ -153,7 +153,7 @@ export const ActionNotice = z.strictObject({
153
153
  href: z.string(),
154
154
  buttons: z.array(ActionNoticeButton).max(3),
155
155
  });
156
- export const ActionNoticeItem = z.strictObject({
156
+ export const ActionNoticeItem = z.object({
157
157
  notice: ActionNotice,
158
158
  section: ActionSection,
159
159
  // Since when the package says it waits.
@@ -169,7 +169,7 @@ export function isNodeRow(row) {
169
169
  export const MachineInstructions = InstructionsLink.extend({
170
170
  version: z.int().min(1).nullable(),
171
171
  });
172
- export const ActionList = z.strictObject({
172
+ export const ActionList = z.object({
173
173
  // Newest first by since, then by node id (a notice by package and noticeKey). The filters tasks
174
174
  // and chats leave the notices out.
175
175
  items: z.array(ActionRow),
@@ -11,7 +11,7 @@ export declare const App: z.ZodObject<{
11
11
  resource: z.ZodString;
12
12
  scopes: z.ZodArray<z.ZodString>;
13
13
  connectedAt: z.ZodISODateTime;
14
- }, z.core.$strict>;
14
+ }, z.core.$strip>;
15
15
  export type App = z.infer<typeof App>;
16
16
  export declare const AppList: z.ZodObject<{
17
17
  items: z.ZodArray<z.ZodObject<{
@@ -24,9 +24,9 @@ export declare const AppList: z.ZodObject<{
24
24
  resource: z.ZodString;
25
25
  scopes: z.ZodArray<z.ZodString>;
26
26
  connectedAt: z.ZodISODateTime;
27
- }, z.core.$strict>>;
27
+ }, z.core.$strip>>;
28
28
  nextCursor: z.ZodNullable<z.ZodTemplateLiteral<`app_${string}`>>;
29
- }, z.core.$strict>;
29
+ }, z.core.$strip>;
30
30
  export type AppList = z.infer<typeof AppList>;
31
31
  export declare const AppListInput: z.ZodObject<{
32
32
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -46,7 +46,7 @@ export type AppRevokeInput = z.infer<typeof AppRevokeInput>;
46
46
  export declare const AppRevoked: z.ZodObject<{
47
47
  appId: z.ZodTemplateLiteral<`app_${string}`>;
48
48
  name: z.ZodNullable<z.ZodString>;
49
- }, z.core.$strict>;
49
+ }, z.core.$strip>;
50
50
  export type AppRevoked = z.infer<typeof AppRevoked>;
51
51
  export declare const Session: z.ZodObject<{
52
52
  sessionId: z.ZodTemplateLiteral<`session_${string}`>;
@@ -64,7 +64,7 @@ export declare const Session: z.ZodObject<{
64
64
  key: "key";
65
65
  }>>;
66
66
  signedInAt: z.ZodISODateTime;
67
- }, z.core.$strict>;
67
+ }, z.core.$strip>;
68
68
  export type Session = z.infer<typeof Session>;
69
69
  export declare const SessionList: z.ZodObject<{
70
70
  items: z.ZodArray<z.ZodObject<{
@@ -83,9 +83,9 @@ export declare const SessionList: z.ZodObject<{
83
83
  key: "key";
84
84
  }>>;
85
85
  signedInAt: z.ZodISODateTime;
86
- }, z.core.$strict>>;
86
+ }, z.core.$strip>>;
87
87
  nextCursor: z.ZodNullable<z.ZodTemplateLiteral<`session_${string}`>>;
88
- }, z.core.$strict>;
88
+ }, z.core.$strip>;
89
89
  export type SessionList = z.infer<typeof SessionList>;
90
90
  export declare const SessionListInput: z.ZodObject<{
91
91
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -104,5 +104,5 @@ export declare const SessionRevokeInput: z.ZodObject<{
104
104
  export type SessionRevokeInput = z.infer<typeof SessionRevokeInput>;
105
105
  export declare const SessionsRevoked: z.ZodObject<{
106
106
  sessionIds: z.ZodArray<z.ZodTemplateLiteral<`session_${string}`>>;
107
- }, z.core.$strict>;
107
+ }, z.core.$strip>;
108
108
  export type SessionsRevoked = z.infer<typeof SessionsRevoked>;
package/dist/apps/apps.js CHANGED
@@ -15,7 +15,7 @@ export const SessionId = idSchema("session");
15
15
  const Paging = {
16
16
  limit: Limit.optional(),
17
17
  };
18
- export const App = z.strictObject({
18
+ export const App = z.object({
19
19
  appId: AppId,
20
20
  // The registration's `client_id`, the same for everybody who connected this client.
21
21
  clientId: z.string(),
@@ -31,7 +31,7 @@ export const App = z.strictObject({
31
31
  scopes: z.array(z.string()),
32
32
  connectedAt: z.iso.datetime(),
33
33
  });
34
- export const AppList = z.strictObject({ items: z.array(App), nextCursor: AppId.nullable() });
34
+ export const AppList = z.object({ items: z.array(App), nextCursor: AppId.nullable() });
35
35
  // The admin's list for one person; `userId` is mandatory (there is no installation-wide list).
36
36
  export const AppListInput = z.strictObject({
37
37
  userId: UserId,
@@ -42,8 +42,8 @@ export const AppListInput = z.strictObject({
42
42
  export const OwnAppListQuery = z.strictObject({ cursor: AppId.optional(), ...Paging });
43
43
  export const AppRevokeInput = z.strictObject({ appId: AppId });
44
44
  // What fell, by name (trap P334): after the revocation nothing else can be read about it.
45
- export const AppRevoked = z.strictObject({ appId: AppId, name: z.string().nullable() });
46
- export const Session = z.strictObject({
45
+ export const AppRevoked = z.object({ appId: AppId, name: z.string().nullable() });
46
+ export const Session = z.object({
47
47
  sessionId: SessionId,
48
48
  // The session this request came with ("Diese Sitzung"); always false in an admin's list.
49
49
  current: z.boolean(),
@@ -58,7 +58,7 @@ export const Session = z.strictObject({
58
58
  signInMethod: SignInMethod.nullable(),
59
59
  signedInAt: z.iso.datetime(),
60
60
  });
61
- export const SessionList = z.strictObject({
61
+ export const SessionList = z.object({
62
62
  items: z.array(Session),
63
63
  nextCursor: SessionId.nullable(),
64
64
  });
@@ -70,4 +70,4 @@ export const SessionListInput = z.strictObject({
70
70
  export const OwnSessionListQuery = z.strictObject({ cursor: SessionId.optional(), ...Paging });
71
71
  export const SessionRevokeInput = z.strictObject({ sessionId: SessionId });
72
72
  // The sessions that ended: one for `…/:sessionId/revoke`, every other one for `/auth/sessions/revoke`.
73
- export const SessionsRevoked = z.strictObject({ sessionIds: z.array(SessionId) });
73
+ export const SessionsRevoked = z.object({ sessionIds: z.array(SessionId) });
@@ -11,7 +11,7 @@ export declare const NodeArchived: z.ZodObject<{
11
11
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
12
12
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
13
13
  nodes: z.ZodNumber;
14
- }, z.core.$strict>;
14
+ }, z.core.$strip>;
15
15
  export type NodeArchived = z.infer<typeof NodeArchived>;
16
16
  export declare const NodePurgeInput: z.ZodObject<{
17
17
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -21,5 +21,5 @@ export declare const NodePurged: z.ZodObject<{
21
21
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
22
22
  names: z.ZodArray<z.ZodString>;
23
23
  deleted: z.ZodRecord<z.ZodString, z.ZodNumber>;
24
- }, z.core.$strict>;
24
+ }, z.core.$strip>;
25
25
  export type NodePurged = z.infer<typeof NodePurged>;
@@ -10,7 +10,7 @@ export const NodeRestoreInput = z.strictObject({
10
10
  nodeId: NodeId.describe("The archived node to bring back to its place, with what was archived together with it. Something archived on its own before stays archived; under an archived folder, restore the folder first."),
11
11
  });
12
12
  // Archive and restore answer the same: the state now, and how many nodes changed with this call.
13
- export const NodeArchived = z.strictObject({
13
+ export const NodeArchived = z.object({
14
14
  nodeId: NodeId,
15
15
  archivedAt: z.iso.datetime().nullable(),
16
16
  nodes: z.number().int(),
@@ -18,7 +18,7 @@ export const NodeArchived = z.strictObject({
18
18
  export const NodePurgeInput = z.strictObject({
19
19
  nodeId: NodeId.describe("The archived node to delete for good, with everything archived under it. It cannot be undone."),
20
20
  });
21
- export const NodePurged = z.strictObject({
21
+ export const NodePurged = z.object({
22
22
  nodeId: NodeId,
23
23
  // The names of every node that fell, as the protocol records them.
24
24
  names: z.array(z.string()),
@@ -102,12 +102,12 @@ export declare const BoardColumn: z.ZodObject<{
102
102
  archive: "archive";
103
103
  }>;
104
104
  visible: z.ZodBoolean;
105
- }, z.core.$strict>;
105
+ }, z.core.$strip>;
106
106
  export type BoardColumn = z.infer<typeof BoardColumn>;
107
107
  export declare const BoardLabel: z.ZodObject<{
108
108
  labelId: z.ZodTemplateLiteral<`label_${string}`>;
109
109
  name: z.ZodString;
110
- }, z.core.$strict>;
110
+ }, z.core.$strip>;
111
111
  export type BoardLabel = z.infer<typeof BoardLabel>;
112
112
  export declare const ProcessCheck: z.ZodObject<{
113
113
  operator: z.ZodBoolean;
@@ -116,8 +116,8 @@ export declare const ProcessCheck: z.ZodObject<{
116
116
  operators: z.ZodArray<z.ZodObject<{
117
117
  userId: z.ZodString;
118
118
  name: z.ZodString;
119
- }, z.core.$strict>>;
120
- }, z.core.$strict>;
119
+ }, z.core.$strip>>;
120
+ }, z.core.$strip>;
121
121
  export type ProcessCheck = z.infer<typeof ProcessCheck>;
122
122
  export declare const BoardDetail: z.ZodObject<{
123
123
  boardId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -166,8 +166,8 @@ export declare const BoardDetail: z.ZodObject<{
166
166
  operators: z.ZodArray<z.ZodObject<{
167
167
  userId: z.ZodString;
168
168
  name: z.ZodString;
169
- }, z.core.$strict>>;
170
- }, z.core.$strict>;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>;
171
171
  validator: z.ZodNullable<z.ZodObject<{
172
172
  userId: z.ZodString;
173
173
  name: z.ZodNullable<z.ZodString>;
@@ -175,7 +175,7 @@ export declare const BoardDetail: z.ZodObject<{
175
175
  machine: "machine";
176
176
  human: "human";
177
177
  }>>;
178
- }, z.core.$strict>>;
178
+ }, z.core.$strip>>;
179
179
  columns: z.ZodArray<z.ZodObject<{
180
180
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
181
181
  name: z.ZodString;
@@ -189,17 +189,17 @@ export declare const BoardDetail: z.ZodObject<{
189
189
  archive: "archive";
190
190
  }>;
191
191
  visible: z.ZodBoolean;
192
- }, z.core.$strict>>;
192
+ }, z.core.$strip>>;
193
193
  labels: z.ZodArray<z.ZodObject<{
194
194
  labelId: z.ZodTemplateLiteral<`label_${string}`>;
195
195
  name: z.ZodString;
196
- }, z.core.$strict>>;
196
+ }, z.core.$strip>>;
197
197
  rights: z.ZodObject<{
198
198
  write: z.ZodBoolean;
199
- }, z.core.$strict>;
199
+ }, z.core.$strip>;
200
200
  rev: z.ZodNumber;
201
201
  updatedAt: z.ZodISODateTime;
202
- }, z.core.$strict>;
202
+ }, z.core.$strip>;
203
203
  export type BoardDetail = z.infer<typeof BoardDetail>;
204
204
  export declare const BoardTaskListInput: z.ZodObject<{
205
205
  boardId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -261,10 +261,10 @@ export type TaskUpdateInput = z.infer<typeof TaskUpdateInput>;
261
261
  export declare const TaskImage: z.ZodUnion<readonly [z.ZodObject<{
262
262
  kind: z.ZodLiteral<"url">;
263
263
  url: z.ZodString;
264
- }, z.core.$strict>, z.ZodObject<{
264
+ }, z.core.$strip>, z.ZodObject<{
265
265
  kind: z.ZodLiteral<"file">;
266
266
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
267
- }, z.core.$strict>]>;
267
+ }, z.core.$strip>]>;
268
268
  export type TaskImage = z.infer<typeof TaskImage>;
269
269
  export declare const BoardTaskItem: z.ZodObject<{
270
270
  taskId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -282,7 +282,7 @@ export declare const BoardTaskItem: z.ZodObject<{
282
282
  blocked: "blocked";
283
283
  archive: "archive";
284
284
  }>;
285
- }, z.core.$strict>;
285
+ }, z.core.$strip>;
286
286
  assignee: z.ZodObject<{
287
287
  userId: z.ZodString;
288
288
  name: z.ZodNullable<z.ZodString>;
@@ -290,23 +290,23 @@ export declare const BoardTaskItem: z.ZodObject<{
290
290
  machine: "machine";
291
291
  human: "human";
292
292
  }>>;
293
- }, z.core.$strict>;
293
+ }, z.core.$strip>;
294
294
  startsAt: z.ZodNullable<z.ZodISODateTime>;
295
295
  endsAt: z.ZodNullable<z.ZodISODateTime>;
296
296
  labels: z.ZodArray<z.ZodObject<{
297
297
  labelId: z.ZodTemplateLiteral<`label_${string}`>;
298
298
  name: z.ZodString;
299
- }, z.core.$strict>>;
299
+ }, z.core.$strip>>;
300
300
  parentTaskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
301
301
  depth: z.ZodNumber;
302
302
  ready: z.ZodBoolean;
303
303
  images: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
304
304
  kind: z.ZodLiteral<"url">;
305
305
  url: z.ZodString;
306
- }, z.core.$strict>, z.ZodObject<{
306
+ }, z.core.$strip>, z.ZodObject<{
307
307
  kind: z.ZodLiteral<"file">;
308
308
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
309
- }, z.core.$strict>]>>;
309
+ }, z.core.$strip>]>>;
310
310
  subject: z.ZodNullable<z.ZodObject<{
311
311
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
312
312
  kind: z.ZodEnum<{
@@ -327,16 +327,16 @@ export declare const BoardTaskItem: z.ZodObject<{
327
327
  items: z.ZodArray<z.ZodObject<{
328
328
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
329
329
  name: z.ZodString;
330
- }, z.core.$strict>>;
331
- }, z.core.$strict>;
332
- }, z.core.$strict>>;
330
+ }, z.core.$strip>>;
331
+ }, z.core.$strip>;
332
+ }, z.core.$strip>>;
333
333
  rights: z.ZodObject<{
334
334
  write: z.ZodBoolean;
335
- }, z.core.$strict>;
335
+ }, z.core.$strip>;
336
336
  position: z.ZodString;
337
337
  rev: z.ZodNumber;
338
338
  updatedAt: z.ZodISODateTime;
339
- }, z.core.$strict>;
339
+ }, z.core.$strip>;
340
340
  export type BoardTaskItem = z.infer<typeof BoardTaskItem>;
341
341
  export declare const BoardTaskList: z.ZodObject<{
342
342
  items: z.ZodArray<z.ZodObject<{
@@ -355,7 +355,7 @@ export declare const BoardTaskList: z.ZodObject<{
355
355
  blocked: "blocked";
356
356
  archive: "archive";
357
357
  }>;
358
- }, z.core.$strict>;
358
+ }, z.core.$strip>;
359
359
  assignee: z.ZodObject<{
360
360
  userId: z.ZodString;
361
361
  name: z.ZodNullable<z.ZodString>;
@@ -363,23 +363,23 @@ export declare const BoardTaskList: z.ZodObject<{
363
363
  machine: "machine";
364
364
  human: "human";
365
365
  }>>;
366
- }, z.core.$strict>;
366
+ }, z.core.$strip>;
367
367
  startsAt: z.ZodNullable<z.ZodISODateTime>;
368
368
  endsAt: z.ZodNullable<z.ZodISODateTime>;
369
369
  labels: z.ZodArray<z.ZodObject<{
370
370
  labelId: z.ZodTemplateLiteral<`label_${string}`>;
371
371
  name: z.ZodString;
372
- }, z.core.$strict>>;
372
+ }, z.core.$strip>>;
373
373
  parentTaskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
374
374
  depth: z.ZodNumber;
375
375
  ready: z.ZodBoolean;
376
376
  images: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
377
377
  kind: z.ZodLiteral<"url">;
378
378
  url: z.ZodString;
379
- }, z.core.$strict>, z.ZodObject<{
379
+ }, z.core.$strip>, z.ZodObject<{
380
380
  kind: z.ZodLiteral<"file">;
381
381
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
382
- }, z.core.$strict>]>>;
382
+ }, z.core.$strip>]>>;
383
383
  subject: z.ZodNullable<z.ZodObject<{
384
384
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
385
385
  kind: z.ZodEnum<{
@@ -400,19 +400,19 @@ export declare const BoardTaskList: z.ZodObject<{
400
400
  items: z.ZodArray<z.ZodObject<{
401
401
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
402
402
  name: z.ZodString;
403
- }, z.core.$strict>>;
404
- }, z.core.$strict>;
405
- }, z.core.$strict>>;
403
+ }, z.core.$strip>>;
404
+ }, z.core.$strip>;
405
+ }, z.core.$strip>>;
406
406
  rights: z.ZodObject<{
407
407
  write: z.ZodBoolean;
408
- }, z.core.$strict>;
408
+ }, z.core.$strip>;
409
409
  position: z.ZodString;
410
410
  rev: z.ZodNumber;
411
411
  updatedAt: z.ZodISODateTime;
412
- }, z.core.$strict>>;
412
+ }, z.core.$strip>>;
413
413
  nextCursor: z.ZodNullable<z.ZodString>;
414
414
  instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
- }, z.core.$strict>;
415
+ }, z.core.$strip>;
416
416
  export type BoardTaskList = z.infer<typeof BoardTaskList>;
417
417
  export declare const TaskDetail: z.ZodObject<{
418
418
  taskId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -432,7 +432,7 @@ export declare const TaskDetail: z.ZodObject<{
432
432
  blocked: "blocked";
433
433
  archive: "archive";
434
434
  }>;
435
- }, z.core.$strict>;
435
+ }, z.core.$strip>;
436
436
  columnAt: z.ZodISODateTime;
437
437
  columnBy: z.ZodObject<{
438
438
  userId: z.ZodString;
@@ -441,7 +441,7 @@ export declare const TaskDetail: z.ZodObject<{
441
441
  machine: "machine";
442
442
  human: "human";
443
443
  }>>;
444
- }, z.core.$strict>;
444
+ }, z.core.$strip>;
445
445
  assignee: z.ZodObject<{
446
446
  userId: z.ZodString;
447
447
  name: z.ZodNullable<z.ZodString>;
@@ -449,13 +449,13 @@ export declare const TaskDetail: z.ZodObject<{
449
449
  machine: "machine";
450
450
  human: "human";
451
451
  }>>;
452
- }, z.core.$strict>;
452
+ }, z.core.$strip>;
453
453
  startsAt: z.ZodNullable<z.ZodISODateTime>;
454
454
  endsAt: z.ZodNullable<z.ZodISODateTime>;
455
455
  labels: z.ZodArray<z.ZodObject<{
456
456
  labelId: z.ZodTemplateLiteral<`label_${string}`>;
457
457
  name: z.ZodString;
458
- }, z.core.$strict>>;
458
+ }, z.core.$strip>>;
459
459
  parentTaskId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
460
460
  position: z.ZodString;
461
461
  path: z.ZodObject<{
@@ -467,12 +467,12 @@ export declare const TaskDetail: z.ZodObject<{
467
467
  validation: "validation";
468
468
  process: "process";
469
469
  }>;
470
- }, z.core.$strict>;
470
+ }, z.core.$strip>;
471
471
  tasks: z.ZodArray<z.ZodObject<{
472
472
  taskId: z.ZodTemplateLiteral<`node_${string}`>;
473
473
  title: z.ZodString;
474
- }, z.core.$strict>>;
475
- }, z.core.$strict>;
474
+ }, z.core.$strip>>;
475
+ }, z.core.$strip>;
476
476
  subtasks: z.ZodObject<{
477
477
  items: z.ZodArray<z.ZodObject<{
478
478
  taskId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -489,11 +489,11 @@ export declare const TaskDetail: z.ZodObject<{
489
489
  blocked: "blocked";
490
490
  archive: "archive";
491
491
  }>;
492
- }, z.core.$strict>;
493
- }, z.core.$strict>>;
492
+ }, z.core.$strip>;
493
+ }, z.core.$strip>>;
494
494
  done: z.ZodNumber;
495
495
  total: z.ZodNumber;
496
- }, z.core.$strict>;
496
+ }, z.core.$strip>;
497
497
  dependencies: z.ZodArray<z.ZodObject<{
498
498
  taskId: z.ZodTemplateLiteral<`node_${string}`>;
499
499
  title: z.ZodString;
@@ -509,19 +509,19 @@ export declare const TaskDetail: z.ZodObject<{
509
509
  blocked: "blocked";
510
510
  archive: "archive";
511
511
  }>;
512
- }, z.core.$strict>;
513
- }, z.core.$strict>>;
512
+ }, z.core.$strip>;
513
+ }, z.core.$strip>>;
514
514
  ready: z.ZodBoolean;
515
515
  images: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
516
516
  kind: z.ZodLiteral<"url">;
517
517
  url: z.ZodString;
518
- }, z.core.$strict>, z.ZodObject<{
518
+ }, z.core.$strip>, z.ZodObject<{
519
519
  kind: z.ZodLiteral<"file">;
520
520
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
521
- }, z.core.$strict>]>>;
521
+ }, z.core.$strip>]>>;
522
522
  rights: z.ZodObject<{
523
523
  write: z.ZodBoolean;
524
- }, z.core.$strict>;
524
+ }, z.core.$strip>;
525
525
  waiting: z.ZodNullable<z.ZodObject<{
526
526
  since: z.ZodISODateTime;
527
527
  by: z.ZodObject<{
@@ -531,8 +531,8 @@ export declare const TaskDetail: z.ZodObject<{
531
531
  machine: "machine";
532
532
  human: "human";
533
533
  }>>;
534
- }, z.core.$strict>;
535
- }, z.core.$strict>>;
534
+ }, z.core.$strip>;
535
+ }, z.core.$strip>>;
536
536
  subject: z.ZodNullable<z.ZodObject<{
537
537
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
538
538
  kind: z.ZodEnum<{
@@ -554,9 +554,9 @@ export declare const TaskDetail: z.ZodObject<{
554
554
  items: z.ZodArray<z.ZodObject<{
555
555
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
556
556
  name: z.ZodString;
557
- }, z.core.$strict>>;
558
- }, z.core.$strict>;
559
- }, z.core.$strict>>;
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>;
559
+ }, z.core.$strip>>;
560
560
  history: z.ZodNullable<z.ZodArray<z.ZodObject<{
561
561
  from: z.ZodNullable<z.ZodObject<{
562
562
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
@@ -570,7 +570,7 @@ export declare const TaskDetail: z.ZodObject<{
570
570
  blocked: "blocked";
571
571
  archive: "archive";
572
572
  }>>;
573
- }, z.core.$strict>>;
573
+ }, z.core.$strip>>;
574
574
  to: z.ZodObject<{
575
575
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
576
576
  name: z.ZodNullable<z.ZodString>;
@@ -583,7 +583,7 @@ export declare const TaskDetail: z.ZodObject<{
583
583
  blocked: "blocked";
584
584
  archive: "archive";
585
585
  }>>;
586
- }, z.core.$strict>;
586
+ }, z.core.$strip>;
587
587
  movedBy: z.ZodObject<{
588
588
  userId: z.ZodString;
589
589
  name: z.ZodNullable<z.ZodString>;
@@ -591,10 +591,10 @@ export declare const TaskDetail: z.ZodObject<{
591
591
  machine: "machine";
592
592
  human: "human";
593
593
  }>>;
594
- }, z.core.$strict>;
594
+ }, z.core.$strip>;
595
595
  movedAt: z.ZodISODateTime;
596
596
  comment: z.ZodNullable<z.ZodString>;
597
- }, z.core.$strict>>>;
597
+ }, z.core.$strip>>>;
598
598
  createdBy: z.ZodObject<{
599
599
  userId: z.ZodString;
600
600
  name: z.ZodNullable<z.ZodString>;
@@ -602,11 +602,11 @@ export declare const TaskDetail: z.ZodObject<{
602
602
  machine: "machine";
603
603
  human: "human";
604
604
  }>>;
605
- }, z.core.$strict>;
605
+ }, z.core.$strip>;
606
606
  rev: z.ZodNumber;
607
607
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
608
608
  createdAt: z.ZodISODateTime;
609
609
  updatedAt: z.ZodISODateTime;
610
610
  instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
- }, z.core.$strict>;
611
+ }, z.core.$strip>;
612
612
  export type TaskDetail = z.infer<typeof TaskDetail>;