@lssm/lib.work-spec 3.0.1

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 (55) hide show
  1. package/README.md +66 -0
  2. package/dist/browser/capabilities.js +1 -0
  3. package/dist/browser/common.js +1 -0
  4. package/dist/browser/entities.js +1 -0
  5. package/dist/browser/events.js +1 -0
  6. package/dist/browser/index.js +1 -0
  7. package/dist/browser/models.js +1 -0
  8. package/dist/browser/object-read.js +1 -0
  9. package/dist/browser/operations.js +1 -0
  10. package/dist/browser/sync.js +1 -0
  11. package/dist/browser/task-status.js +1 -0
  12. package/dist/browser/taxonomy.js +1 -0
  13. package/dist/browser/work-spec.feature.js +1 -0
  14. package/dist/browser/workspace-revision.js +1 -0
  15. package/dist/capabilities.d.ts +42 -0
  16. package/dist/capabilities.js +2 -0
  17. package/dist/common.d.ts +115 -0
  18. package/dist/common.js +2 -0
  19. package/dist/entities.d.ts +1143 -0
  20. package/dist/entities.js +2 -0
  21. package/dist/events.d.ts +10057 -0
  22. package/dist/events.js +2 -0
  23. package/dist/index.d.ts +12 -0
  24. package/dist/index.js +2 -0
  25. package/dist/models.d.ts +1080 -0
  26. package/dist/models.js +2 -0
  27. package/dist/node/capabilities.js +1 -0
  28. package/dist/node/common.js +1 -0
  29. package/dist/node/entities.js +1 -0
  30. package/dist/node/events.js +1 -0
  31. package/dist/node/index.js +1 -0
  32. package/dist/node/models.js +1 -0
  33. package/dist/node/object-read.js +1 -0
  34. package/dist/node/operations.js +1 -0
  35. package/dist/node/sync.js +1 -0
  36. package/dist/node/task-status.js +1 -0
  37. package/dist/node/taxonomy.js +1 -0
  38. package/dist/node/work-spec.feature.js +1 -0
  39. package/dist/node/workspace-revision.js +1 -0
  40. package/dist/object-read.d.ts +644 -0
  41. package/dist/object-read.js +2 -0
  42. package/dist/operations.d.ts +165 -0
  43. package/dist/operations.js +2 -0
  44. package/dist/sync.d.ts +545 -0
  45. package/dist/sync.js +2 -0
  46. package/dist/task-status.d.ts +3369 -0
  47. package/dist/task-status.js +2 -0
  48. package/dist/taxonomy.d.ts +84 -0
  49. package/dist/taxonomy.js +2 -0
  50. package/dist/work-spec.feature.d.ts +11 -0
  51. package/dist/work-spec.feature.js +2 -0
  52. package/dist/work-spec.test.d.ts +1 -0
  53. package/dist/workspace-revision.d.ts +19 -0
  54. package/dist/workspace-revision.js +2 -0
  55. package/package.json +343 -0
@@ -0,0 +1,1080 @@
1
+ import { z } from 'zod';
2
+ export declare const WorkObjectSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ kind: z.ZodEnum<{
5
+ activity: "activity";
6
+ agent_reference: "agent_reference";
7
+ approval_reference: "approval_reference";
8
+ attachment: "attachment";
9
+ automation_reference: "automation_reference";
10
+ bug: "bug";
11
+ canvas_reference: "canvas_reference";
12
+ capture_reference: "capture_reference";
13
+ collection: "collection";
14
+ comment: "comment";
15
+ contractor: "contractor";
16
+ cross_organization_acl_grant: "cross_organization_acl_grant";
17
+ custom_field_definition: "custom_field_definition";
18
+ custom_field_value: "custom_field_value";
19
+ cycle: "cycle";
20
+ dependency: "dependency";
21
+ document_reference: "document_reference";
22
+ epic: "epic";
23
+ estimate: "estimate";
24
+ evidence_reference: "evidence_reference";
25
+ external_binding: "external_binding";
26
+ focus_policy: "focus_policy";
27
+ folder_projection: "folder_projection";
28
+ form: "form";
29
+ guest: "guest";
30
+ habit: "habit";
31
+ inbox_item: "inbox_item";
32
+ initiative: "initiative";
33
+ issue: "issue";
34
+ key_result: "key_result";
35
+ list: "list";
36
+ member: "member";
37
+ mention: "mention";
38
+ milestone: "milestone";
39
+ objective: "objective";
40
+ occurrence: "occurrence";
41
+ organization: "organization";
42
+ planning_intent: "planning_intent";
43
+ portfolio: "portfolio";
44
+ program: "program";
45
+ project: "project";
46
+ proofing_request: "proofing_request";
47
+ reaction: "reaction";
48
+ recurrence_template: "recurrence_template";
49
+ relationship: "relationship";
50
+ roadmap: "roadmap";
51
+ saved_view: "saved_view";
52
+ schedule_binding_reference: "schedule_binding_reference";
53
+ service_principal: "service_principal";
54
+ status_workflow: "status_workflow";
55
+ story: "story";
56
+ subtask: "subtask";
57
+ sync_conflict: "sync_conflict";
58
+ sync_cursor: "sync_cursor";
59
+ task: "task";
60
+ team: "team";
61
+ template: "template";
62
+ time_entry: "time_entry";
63
+ tombstone: "tombstone";
64
+ workspace: "workspace";
65
+ }>;
66
+ title: z.ZodString;
67
+ description: z.ZodOptional<z.ZodString>;
68
+ metadata: z.ZodObject<{
69
+ scope: z.ZodObject<{
70
+ tenantId: z.ZodString;
71
+ organizationId: z.ZodString;
72
+ workspaceId: z.ZodString;
73
+ }, z.core.$strip>;
74
+ createdAt: z.ZodString;
75
+ createdBy: z.ZodObject<{
76
+ principalId: z.ZodString;
77
+ principalKind: z.ZodEnum<{
78
+ contractor: "contractor";
79
+ guest: "guest";
80
+ member: "member";
81
+ service_principal: "service_principal";
82
+ }>;
83
+ }, z.core.$strip>;
84
+ updatedAt: z.ZodString;
85
+ updatedBy: z.ZodObject<{
86
+ principalId: z.ZodString;
87
+ principalKind: z.ZodEnum<{
88
+ contractor: "contractor";
89
+ guest: "guest";
90
+ member: "member";
91
+ service_principal: "service_principal";
92
+ }>;
93
+ }, z.core.$strip>;
94
+ revision: z.ZodNumber;
95
+ }, z.core.$strip>;
96
+ parentRef: z.ZodOptional<z.ZodObject<{
97
+ id: z.ZodString;
98
+ kind: z.ZodEnum<{
99
+ activity: "activity";
100
+ agent_reference: "agent_reference";
101
+ approval_reference: "approval_reference";
102
+ attachment: "attachment";
103
+ automation_reference: "automation_reference";
104
+ bug: "bug";
105
+ canvas_reference: "canvas_reference";
106
+ capture_reference: "capture_reference";
107
+ collection: "collection";
108
+ comment: "comment";
109
+ contractor: "contractor";
110
+ cross_organization_acl_grant: "cross_organization_acl_grant";
111
+ custom_field_definition: "custom_field_definition";
112
+ custom_field_value: "custom_field_value";
113
+ cycle: "cycle";
114
+ dependency: "dependency";
115
+ document_reference: "document_reference";
116
+ epic: "epic";
117
+ estimate: "estimate";
118
+ evidence_reference: "evidence_reference";
119
+ external_binding: "external_binding";
120
+ focus_policy: "focus_policy";
121
+ folder_projection: "folder_projection";
122
+ form: "form";
123
+ guest: "guest";
124
+ habit: "habit";
125
+ inbox_item: "inbox_item";
126
+ initiative: "initiative";
127
+ issue: "issue";
128
+ key_result: "key_result";
129
+ list: "list";
130
+ member: "member";
131
+ mention: "mention";
132
+ milestone: "milestone";
133
+ objective: "objective";
134
+ occurrence: "occurrence";
135
+ organization: "organization";
136
+ planning_intent: "planning_intent";
137
+ portfolio: "portfolio";
138
+ program: "program";
139
+ project: "project";
140
+ proofing_request: "proofing_request";
141
+ reaction: "reaction";
142
+ recurrence_template: "recurrence_template";
143
+ relationship: "relationship";
144
+ roadmap: "roadmap";
145
+ saved_view: "saved_view";
146
+ schedule_binding_reference: "schedule_binding_reference";
147
+ service_principal: "service_principal";
148
+ status_workflow: "status_workflow";
149
+ story: "story";
150
+ subtask: "subtask";
151
+ sync_conflict: "sync_conflict";
152
+ sync_cursor: "sync_cursor";
153
+ task: "task";
154
+ team: "team";
155
+ template: "template";
156
+ time_entry: "time_entry";
157
+ tombstone: "tombstone";
158
+ workspace: "workspace";
159
+ }>;
160
+ }, z.core.$strip>>;
161
+ ownerRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ kind: z.ZodEnum<{
164
+ activity: "activity";
165
+ agent_reference: "agent_reference";
166
+ approval_reference: "approval_reference";
167
+ attachment: "attachment";
168
+ automation_reference: "automation_reference";
169
+ bug: "bug";
170
+ canvas_reference: "canvas_reference";
171
+ capture_reference: "capture_reference";
172
+ collection: "collection";
173
+ comment: "comment";
174
+ contractor: "contractor";
175
+ cross_organization_acl_grant: "cross_organization_acl_grant";
176
+ custom_field_definition: "custom_field_definition";
177
+ custom_field_value: "custom_field_value";
178
+ cycle: "cycle";
179
+ dependency: "dependency";
180
+ document_reference: "document_reference";
181
+ epic: "epic";
182
+ estimate: "estimate";
183
+ evidence_reference: "evidence_reference";
184
+ external_binding: "external_binding";
185
+ focus_policy: "focus_policy";
186
+ folder_projection: "folder_projection";
187
+ form: "form";
188
+ guest: "guest";
189
+ habit: "habit";
190
+ inbox_item: "inbox_item";
191
+ initiative: "initiative";
192
+ issue: "issue";
193
+ key_result: "key_result";
194
+ list: "list";
195
+ member: "member";
196
+ mention: "mention";
197
+ milestone: "milestone";
198
+ objective: "objective";
199
+ occurrence: "occurrence";
200
+ organization: "organization";
201
+ planning_intent: "planning_intent";
202
+ portfolio: "portfolio";
203
+ program: "program";
204
+ project: "project";
205
+ proofing_request: "proofing_request";
206
+ reaction: "reaction";
207
+ recurrence_template: "recurrence_template";
208
+ relationship: "relationship";
209
+ roadmap: "roadmap";
210
+ saved_view: "saved_view";
211
+ schedule_binding_reference: "schedule_binding_reference";
212
+ service_principal: "service_principal";
213
+ status_workflow: "status_workflow";
214
+ story: "story";
215
+ subtask: "subtask";
216
+ sync_conflict: "sync_conflict";
217
+ sync_cursor: "sync_cursor";
218
+ task: "task";
219
+ team: "team";
220
+ template: "template";
221
+ time_entry: "time_entry";
222
+ tombstone: "tombstone";
223
+ workspace: "workspace";
224
+ }>;
225
+ }, z.core.$strip>>>;
226
+ assigneeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
227
+ id: z.ZodString;
228
+ kind: z.ZodEnum<{
229
+ activity: "activity";
230
+ agent_reference: "agent_reference";
231
+ approval_reference: "approval_reference";
232
+ attachment: "attachment";
233
+ automation_reference: "automation_reference";
234
+ bug: "bug";
235
+ canvas_reference: "canvas_reference";
236
+ capture_reference: "capture_reference";
237
+ collection: "collection";
238
+ comment: "comment";
239
+ contractor: "contractor";
240
+ cross_organization_acl_grant: "cross_organization_acl_grant";
241
+ custom_field_definition: "custom_field_definition";
242
+ custom_field_value: "custom_field_value";
243
+ cycle: "cycle";
244
+ dependency: "dependency";
245
+ document_reference: "document_reference";
246
+ epic: "epic";
247
+ estimate: "estimate";
248
+ evidence_reference: "evidence_reference";
249
+ external_binding: "external_binding";
250
+ focus_policy: "focus_policy";
251
+ folder_projection: "folder_projection";
252
+ form: "form";
253
+ guest: "guest";
254
+ habit: "habit";
255
+ inbox_item: "inbox_item";
256
+ initiative: "initiative";
257
+ issue: "issue";
258
+ key_result: "key_result";
259
+ list: "list";
260
+ member: "member";
261
+ mention: "mention";
262
+ milestone: "milestone";
263
+ objective: "objective";
264
+ occurrence: "occurrence";
265
+ organization: "organization";
266
+ planning_intent: "planning_intent";
267
+ portfolio: "portfolio";
268
+ program: "program";
269
+ project: "project";
270
+ proofing_request: "proofing_request";
271
+ reaction: "reaction";
272
+ recurrence_template: "recurrence_template";
273
+ relationship: "relationship";
274
+ roadmap: "roadmap";
275
+ saved_view: "saved_view";
276
+ schedule_binding_reference: "schedule_binding_reference";
277
+ service_principal: "service_principal";
278
+ status_workflow: "status_workflow";
279
+ story: "story";
280
+ subtask: "subtask";
281
+ sync_conflict: "sync_conflict";
282
+ sync_cursor: "sync_cursor";
283
+ task: "task";
284
+ team: "team";
285
+ template: "template";
286
+ time_entry: "time_entry";
287
+ tombstone: "tombstone";
288
+ workspace: "workspace";
289
+ }>;
290
+ }, z.core.$strip>>>;
291
+ statusId: z.ZodOptional<z.ZodString>;
292
+ statusCategory: z.ZodOptional<z.ZodEnum<{
293
+ backlog: "backlog";
294
+ cancelled: "cancelled";
295
+ completed: "completed";
296
+ started: "started";
297
+ unstarted: "unstarted";
298
+ }>>;
299
+ priority: z.ZodOptional<z.ZodNumber>;
300
+ estimateMinutes: z.ZodOptional<z.ZodNumber>;
301
+ desiredStartAt: z.ZodOptional<z.ZodString>;
302
+ dueAt: z.ZodOptional<z.ZodString>;
303
+ completedAt: z.ZodOptional<z.ZodString>;
304
+ recurrenceTemplateRef: z.ZodOptional<z.ZodObject<{
305
+ id: z.ZodString;
306
+ kind: z.ZodEnum<{
307
+ activity: "activity";
308
+ agent_reference: "agent_reference";
309
+ approval_reference: "approval_reference";
310
+ attachment: "attachment";
311
+ automation_reference: "automation_reference";
312
+ bug: "bug";
313
+ canvas_reference: "canvas_reference";
314
+ capture_reference: "capture_reference";
315
+ collection: "collection";
316
+ comment: "comment";
317
+ contractor: "contractor";
318
+ cross_organization_acl_grant: "cross_organization_acl_grant";
319
+ custom_field_definition: "custom_field_definition";
320
+ custom_field_value: "custom_field_value";
321
+ cycle: "cycle";
322
+ dependency: "dependency";
323
+ document_reference: "document_reference";
324
+ epic: "epic";
325
+ estimate: "estimate";
326
+ evidence_reference: "evidence_reference";
327
+ external_binding: "external_binding";
328
+ focus_policy: "focus_policy";
329
+ folder_projection: "folder_projection";
330
+ form: "form";
331
+ guest: "guest";
332
+ habit: "habit";
333
+ inbox_item: "inbox_item";
334
+ initiative: "initiative";
335
+ issue: "issue";
336
+ key_result: "key_result";
337
+ list: "list";
338
+ member: "member";
339
+ mention: "mention";
340
+ milestone: "milestone";
341
+ objective: "objective";
342
+ occurrence: "occurrence";
343
+ organization: "organization";
344
+ planning_intent: "planning_intent";
345
+ portfolio: "portfolio";
346
+ program: "program";
347
+ project: "project";
348
+ proofing_request: "proofing_request";
349
+ reaction: "reaction";
350
+ recurrence_template: "recurrence_template";
351
+ relationship: "relationship";
352
+ roadmap: "roadmap";
353
+ saved_view: "saved_view";
354
+ schedule_binding_reference: "schedule_binding_reference";
355
+ service_principal: "service_principal";
356
+ status_workflow: "status_workflow";
357
+ story: "story";
358
+ subtask: "subtask";
359
+ sync_conflict: "sync_conflict";
360
+ sync_cursor: "sync_cursor";
361
+ task: "task";
362
+ team: "team";
363
+ template: "template";
364
+ time_entry: "time_entry";
365
+ tombstone: "tombstone";
366
+ workspace: "workspace";
367
+ }>;
368
+ }, z.core.$strip>>;
369
+ captureRef: z.ZodOptional<z.ZodObject<{
370
+ id: z.ZodString;
371
+ kind: z.ZodEnum<{
372
+ activity: "activity";
373
+ agent_reference: "agent_reference";
374
+ approval_reference: "approval_reference";
375
+ attachment: "attachment";
376
+ automation_reference: "automation_reference";
377
+ bug: "bug";
378
+ canvas_reference: "canvas_reference";
379
+ capture_reference: "capture_reference";
380
+ collection: "collection";
381
+ comment: "comment";
382
+ contractor: "contractor";
383
+ cross_organization_acl_grant: "cross_organization_acl_grant";
384
+ custom_field_definition: "custom_field_definition";
385
+ custom_field_value: "custom_field_value";
386
+ cycle: "cycle";
387
+ dependency: "dependency";
388
+ document_reference: "document_reference";
389
+ epic: "epic";
390
+ estimate: "estimate";
391
+ evidence_reference: "evidence_reference";
392
+ external_binding: "external_binding";
393
+ focus_policy: "focus_policy";
394
+ folder_projection: "folder_projection";
395
+ form: "form";
396
+ guest: "guest";
397
+ habit: "habit";
398
+ inbox_item: "inbox_item";
399
+ initiative: "initiative";
400
+ issue: "issue";
401
+ key_result: "key_result";
402
+ list: "list";
403
+ member: "member";
404
+ mention: "mention";
405
+ milestone: "milestone";
406
+ objective: "objective";
407
+ occurrence: "occurrence";
408
+ organization: "organization";
409
+ planning_intent: "planning_intent";
410
+ portfolio: "portfolio";
411
+ program: "program";
412
+ project: "project";
413
+ proofing_request: "proofing_request";
414
+ reaction: "reaction";
415
+ recurrence_template: "recurrence_template";
416
+ relationship: "relationship";
417
+ roadmap: "roadmap";
418
+ saved_view: "saved_view";
419
+ schedule_binding_reference: "schedule_binding_reference";
420
+ service_principal: "service_principal";
421
+ status_workflow: "status_workflow";
422
+ story: "story";
423
+ subtask: "subtask";
424
+ sync_conflict: "sync_conflict";
425
+ sync_cursor: "sync_cursor";
426
+ task: "task";
427
+ team: "team";
428
+ template: "template";
429
+ time_entry: "time_entry";
430
+ tombstone: "tombstone";
431
+ workspace: "workspace";
432
+ }>;
433
+ }, z.core.$strip>>;
434
+ customFieldValueRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
435
+ id: z.ZodString;
436
+ kind: z.ZodEnum<{
437
+ activity: "activity";
438
+ agent_reference: "agent_reference";
439
+ approval_reference: "approval_reference";
440
+ attachment: "attachment";
441
+ automation_reference: "automation_reference";
442
+ bug: "bug";
443
+ canvas_reference: "canvas_reference";
444
+ capture_reference: "capture_reference";
445
+ collection: "collection";
446
+ comment: "comment";
447
+ contractor: "contractor";
448
+ cross_organization_acl_grant: "cross_organization_acl_grant";
449
+ custom_field_definition: "custom_field_definition";
450
+ custom_field_value: "custom_field_value";
451
+ cycle: "cycle";
452
+ dependency: "dependency";
453
+ document_reference: "document_reference";
454
+ epic: "epic";
455
+ estimate: "estimate";
456
+ evidence_reference: "evidence_reference";
457
+ external_binding: "external_binding";
458
+ focus_policy: "focus_policy";
459
+ folder_projection: "folder_projection";
460
+ form: "form";
461
+ guest: "guest";
462
+ habit: "habit";
463
+ inbox_item: "inbox_item";
464
+ initiative: "initiative";
465
+ issue: "issue";
466
+ key_result: "key_result";
467
+ list: "list";
468
+ member: "member";
469
+ mention: "mention";
470
+ milestone: "milestone";
471
+ objective: "objective";
472
+ occurrence: "occurrence";
473
+ organization: "organization";
474
+ planning_intent: "planning_intent";
475
+ portfolio: "portfolio";
476
+ program: "program";
477
+ project: "project";
478
+ proofing_request: "proofing_request";
479
+ reaction: "reaction";
480
+ recurrence_template: "recurrence_template";
481
+ relationship: "relationship";
482
+ roadmap: "roadmap";
483
+ saved_view: "saved_view";
484
+ schedule_binding_reference: "schedule_binding_reference";
485
+ service_principal: "service_principal";
486
+ status_workflow: "status_workflow";
487
+ story: "story";
488
+ subtask: "subtask";
489
+ sync_conflict: "sync_conflict";
490
+ sync_cursor: "sync_cursor";
491
+ task: "task";
492
+ team: "team";
493
+ template: "template";
494
+ time_entry: "time_entry";
495
+ tombstone: "tombstone";
496
+ workspace: "workspace";
497
+ }>;
498
+ }, z.core.$strip>>>;
499
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
500
+ id: z.ZodString;
501
+ kind: z.ZodEnum<{
502
+ activity: "activity";
503
+ agent_reference: "agent_reference";
504
+ approval_reference: "approval_reference";
505
+ attachment: "attachment";
506
+ automation_reference: "automation_reference";
507
+ bug: "bug";
508
+ canvas_reference: "canvas_reference";
509
+ capture_reference: "capture_reference";
510
+ collection: "collection";
511
+ comment: "comment";
512
+ contractor: "contractor";
513
+ cross_organization_acl_grant: "cross_organization_acl_grant";
514
+ custom_field_definition: "custom_field_definition";
515
+ custom_field_value: "custom_field_value";
516
+ cycle: "cycle";
517
+ dependency: "dependency";
518
+ document_reference: "document_reference";
519
+ epic: "epic";
520
+ estimate: "estimate";
521
+ evidence_reference: "evidence_reference";
522
+ external_binding: "external_binding";
523
+ focus_policy: "focus_policy";
524
+ folder_projection: "folder_projection";
525
+ form: "form";
526
+ guest: "guest";
527
+ habit: "habit";
528
+ inbox_item: "inbox_item";
529
+ initiative: "initiative";
530
+ issue: "issue";
531
+ key_result: "key_result";
532
+ list: "list";
533
+ member: "member";
534
+ mention: "mention";
535
+ milestone: "milestone";
536
+ objective: "objective";
537
+ occurrence: "occurrence";
538
+ organization: "organization";
539
+ planning_intent: "planning_intent";
540
+ portfolio: "portfolio";
541
+ program: "program";
542
+ project: "project";
543
+ proofing_request: "proofing_request";
544
+ reaction: "reaction";
545
+ recurrence_template: "recurrence_template";
546
+ relationship: "relationship";
547
+ roadmap: "roadmap";
548
+ saved_view: "saved_view";
549
+ schedule_binding_reference: "schedule_binding_reference";
550
+ service_principal: "service_principal";
551
+ status_workflow: "status_workflow";
552
+ story: "story";
553
+ subtask: "subtask";
554
+ sync_conflict: "sync_conflict";
555
+ sync_cursor: "sync_cursor";
556
+ task: "task";
557
+ team: "team";
558
+ template: "template";
559
+ time_entry: "time_entry";
560
+ tombstone: "tombstone";
561
+ workspace: "workspace";
562
+ }>;
563
+ }, z.core.$strip>>>;
564
+ externalBindingRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
565
+ id: z.ZodString;
566
+ kind: z.ZodEnum<{
567
+ activity: "activity";
568
+ agent_reference: "agent_reference";
569
+ approval_reference: "approval_reference";
570
+ attachment: "attachment";
571
+ automation_reference: "automation_reference";
572
+ bug: "bug";
573
+ canvas_reference: "canvas_reference";
574
+ capture_reference: "capture_reference";
575
+ collection: "collection";
576
+ comment: "comment";
577
+ contractor: "contractor";
578
+ cross_organization_acl_grant: "cross_organization_acl_grant";
579
+ custom_field_definition: "custom_field_definition";
580
+ custom_field_value: "custom_field_value";
581
+ cycle: "cycle";
582
+ dependency: "dependency";
583
+ document_reference: "document_reference";
584
+ epic: "epic";
585
+ estimate: "estimate";
586
+ evidence_reference: "evidence_reference";
587
+ external_binding: "external_binding";
588
+ focus_policy: "focus_policy";
589
+ folder_projection: "folder_projection";
590
+ form: "form";
591
+ guest: "guest";
592
+ habit: "habit";
593
+ inbox_item: "inbox_item";
594
+ initiative: "initiative";
595
+ issue: "issue";
596
+ key_result: "key_result";
597
+ list: "list";
598
+ member: "member";
599
+ mention: "mention";
600
+ milestone: "milestone";
601
+ objective: "objective";
602
+ occurrence: "occurrence";
603
+ organization: "organization";
604
+ planning_intent: "planning_intent";
605
+ portfolio: "portfolio";
606
+ program: "program";
607
+ project: "project";
608
+ proofing_request: "proofing_request";
609
+ reaction: "reaction";
610
+ recurrence_template: "recurrence_template";
611
+ relationship: "relationship";
612
+ roadmap: "roadmap";
613
+ saved_view: "saved_view";
614
+ schedule_binding_reference: "schedule_binding_reference";
615
+ service_principal: "service_principal";
616
+ status_workflow: "status_workflow";
617
+ story: "story";
618
+ subtask: "subtask";
619
+ sync_conflict: "sync_conflict";
620
+ sync_cursor: "sync_cursor";
621
+ task: "task";
622
+ team: "team";
623
+ template: "template";
624
+ time_entry: "time_entry";
625
+ tombstone: "tombstone";
626
+ workspace: "workspace";
627
+ }>;
628
+ }, z.core.$strip>>>;
629
+ archivedAt: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$strip>;
631
+ export type WorkObject = z.infer<typeof WorkObjectSchema>;
632
+ export declare const WorkRelationshipSchema: z.ZodObject<{
633
+ id: z.ZodString;
634
+ metadata: z.ZodObject<{
635
+ scope: z.ZodObject<{
636
+ tenantId: z.ZodString;
637
+ organizationId: z.ZodString;
638
+ workspaceId: z.ZodString;
639
+ }, z.core.$strip>;
640
+ createdAt: z.ZodString;
641
+ createdBy: z.ZodObject<{
642
+ principalId: z.ZodString;
643
+ principalKind: z.ZodEnum<{
644
+ contractor: "contractor";
645
+ guest: "guest";
646
+ member: "member";
647
+ service_principal: "service_principal";
648
+ }>;
649
+ }, z.core.$strip>;
650
+ updatedAt: z.ZodString;
651
+ updatedBy: z.ZodObject<{
652
+ principalId: z.ZodString;
653
+ principalKind: z.ZodEnum<{
654
+ contractor: "contractor";
655
+ guest: "guest";
656
+ member: "member";
657
+ service_principal: "service_principal";
658
+ }>;
659
+ }, z.core.$strip>;
660
+ revision: z.ZodNumber;
661
+ }, z.core.$strip>;
662
+ from: z.ZodObject<{
663
+ id: z.ZodString;
664
+ kind: z.ZodEnum<{
665
+ activity: "activity";
666
+ agent_reference: "agent_reference";
667
+ approval_reference: "approval_reference";
668
+ attachment: "attachment";
669
+ automation_reference: "automation_reference";
670
+ bug: "bug";
671
+ canvas_reference: "canvas_reference";
672
+ capture_reference: "capture_reference";
673
+ collection: "collection";
674
+ comment: "comment";
675
+ contractor: "contractor";
676
+ cross_organization_acl_grant: "cross_organization_acl_grant";
677
+ custom_field_definition: "custom_field_definition";
678
+ custom_field_value: "custom_field_value";
679
+ cycle: "cycle";
680
+ dependency: "dependency";
681
+ document_reference: "document_reference";
682
+ epic: "epic";
683
+ estimate: "estimate";
684
+ evidence_reference: "evidence_reference";
685
+ external_binding: "external_binding";
686
+ focus_policy: "focus_policy";
687
+ folder_projection: "folder_projection";
688
+ form: "form";
689
+ guest: "guest";
690
+ habit: "habit";
691
+ inbox_item: "inbox_item";
692
+ initiative: "initiative";
693
+ issue: "issue";
694
+ key_result: "key_result";
695
+ list: "list";
696
+ member: "member";
697
+ mention: "mention";
698
+ milestone: "milestone";
699
+ objective: "objective";
700
+ occurrence: "occurrence";
701
+ organization: "organization";
702
+ planning_intent: "planning_intent";
703
+ portfolio: "portfolio";
704
+ program: "program";
705
+ project: "project";
706
+ proofing_request: "proofing_request";
707
+ reaction: "reaction";
708
+ recurrence_template: "recurrence_template";
709
+ relationship: "relationship";
710
+ roadmap: "roadmap";
711
+ saved_view: "saved_view";
712
+ schedule_binding_reference: "schedule_binding_reference";
713
+ service_principal: "service_principal";
714
+ status_workflow: "status_workflow";
715
+ story: "story";
716
+ subtask: "subtask";
717
+ sync_conflict: "sync_conflict";
718
+ sync_cursor: "sync_cursor";
719
+ task: "task";
720
+ team: "team";
721
+ template: "template";
722
+ time_entry: "time_entry";
723
+ tombstone: "tombstone";
724
+ workspace: "workspace";
725
+ }>;
726
+ }, z.core.$strip>;
727
+ to: z.ZodObject<{
728
+ id: z.ZodString;
729
+ kind: z.ZodEnum<{
730
+ activity: "activity";
731
+ agent_reference: "agent_reference";
732
+ approval_reference: "approval_reference";
733
+ attachment: "attachment";
734
+ automation_reference: "automation_reference";
735
+ bug: "bug";
736
+ canvas_reference: "canvas_reference";
737
+ capture_reference: "capture_reference";
738
+ collection: "collection";
739
+ comment: "comment";
740
+ contractor: "contractor";
741
+ cross_organization_acl_grant: "cross_organization_acl_grant";
742
+ custom_field_definition: "custom_field_definition";
743
+ custom_field_value: "custom_field_value";
744
+ cycle: "cycle";
745
+ dependency: "dependency";
746
+ document_reference: "document_reference";
747
+ epic: "epic";
748
+ estimate: "estimate";
749
+ evidence_reference: "evidence_reference";
750
+ external_binding: "external_binding";
751
+ focus_policy: "focus_policy";
752
+ folder_projection: "folder_projection";
753
+ form: "form";
754
+ guest: "guest";
755
+ habit: "habit";
756
+ inbox_item: "inbox_item";
757
+ initiative: "initiative";
758
+ issue: "issue";
759
+ key_result: "key_result";
760
+ list: "list";
761
+ member: "member";
762
+ mention: "mention";
763
+ milestone: "milestone";
764
+ objective: "objective";
765
+ occurrence: "occurrence";
766
+ organization: "organization";
767
+ planning_intent: "planning_intent";
768
+ portfolio: "portfolio";
769
+ program: "program";
770
+ project: "project";
771
+ proofing_request: "proofing_request";
772
+ reaction: "reaction";
773
+ recurrence_template: "recurrence_template";
774
+ relationship: "relationship";
775
+ roadmap: "roadmap";
776
+ saved_view: "saved_view";
777
+ schedule_binding_reference: "schedule_binding_reference";
778
+ service_principal: "service_principal";
779
+ status_workflow: "status_workflow";
780
+ story: "story";
781
+ subtask: "subtask";
782
+ sync_conflict: "sync_conflict";
783
+ sync_cursor: "sync_cursor";
784
+ task: "task";
785
+ team: "team";
786
+ template: "template";
787
+ time_entry: "time_entry";
788
+ tombstone: "tombstone";
789
+ workspace: "workspace";
790
+ }>;
791
+ }, z.core.$strip>;
792
+ kind: z.ZodEnum<{
793
+ blocked_by: "blocked_by";
794
+ blocks: "blocks";
795
+ child: "child";
796
+ duplicated_by: "duplicated_by";
797
+ duplicates: "duplicates";
798
+ multi_homed_in: "multi_homed_in";
799
+ parent: "parent";
800
+ relates_to: "relates_to";
801
+ supersedes: "supersedes";
802
+ }>;
803
+ }, z.core.$strip>;
804
+ export type WorkRelationship = z.infer<typeof WorkRelationshipSchema>;
805
+ export declare const WorkRecurrenceSchema: z.ZodObject<{
806
+ id: z.ZodString;
807
+ metadata: z.ZodObject<{
808
+ scope: z.ZodObject<{
809
+ tenantId: z.ZodString;
810
+ organizationId: z.ZodString;
811
+ workspaceId: z.ZodString;
812
+ }, z.core.$strip>;
813
+ createdAt: z.ZodString;
814
+ createdBy: z.ZodObject<{
815
+ principalId: z.ZodString;
816
+ principalKind: z.ZodEnum<{
817
+ contractor: "contractor";
818
+ guest: "guest";
819
+ member: "member";
820
+ service_principal: "service_principal";
821
+ }>;
822
+ }, z.core.$strip>;
823
+ updatedAt: z.ZodString;
824
+ updatedBy: z.ZodObject<{
825
+ principalId: z.ZodString;
826
+ principalKind: z.ZodEnum<{
827
+ contractor: "contractor";
828
+ guest: "guest";
829
+ member: "member";
830
+ service_principal: "service_principal";
831
+ }>;
832
+ }, z.core.$strip>;
833
+ revision: z.ZodNumber;
834
+ }, z.core.$strip>;
835
+ templateRef: z.ZodObject<{
836
+ id: z.ZodString;
837
+ kind: z.ZodEnum<{
838
+ activity: "activity";
839
+ agent_reference: "agent_reference";
840
+ approval_reference: "approval_reference";
841
+ attachment: "attachment";
842
+ automation_reference: "automation_reference";
843
+ bug: "bug";
844
+ canvas_reference: "canvas_reference";
845
+ capture_reference: "capture_reference";
846
+ collection: "collection";
847
+ comment: "comment";
848
+ contractor: "contractor";
849
+ cross_organization_acl_grant: "cross_organization_acl_grant";
850
+ custom_field_definition: "custom_field_definition";
851
+ custom_field_value: "custom_field_value";
852
+ cycle: "cycle";
853
+ dependency: "dependency";
854
+ document_reference: "document_reference";
855
+ epic: "epic";
856
+ estimate: "estimate";
857
+ evidence_reference: "evidence_reference";
858
+ external_binding: "external_binding";
859
+ focus_policy: "focus_policy";
860
+ folder_projection: "folder_projection";
861
+ form: "form";
862
+ guest: "guest";
863
+ habit: "habit";
864
+ inbox_item: "inbox_item";
865
+ initiative: "initiative";
866
+ issue: "issue";
867
+ key_result: "key_result";
868
+ list: "list";
869
+ member: "member";
870
+ mention: "mention";
871
+ milestone: "milestone";
872
+ objective: "objective";
873
+ occurrence: "occurrence";
874
+ organization: "organization";
875
+ planning_intent: "planning_intent";
876
+ portfolio: "portfolio";
877
+ program: "program";
878
+ project: "project";
879
+ proofing_request: "proofing_request";
880
+ reaction: "reaction";
881
+ recurrence_template: "recurrence_template";
882
+ relationship: "relationship";
883
+ roadmap: "roadmap";
884
+ saved_view: "saved_view";
885
+ schedule_binding_reference: "schedule_binding_reference";
886
+ service_principal: "service_principal";
887
+ status_workflow: "status_workflow";
888
+ story: "story";
889
+ subtask: "subtask";
890
+ sync_conflict: "sync_conflict";
891
+ sync_cursor: "sync_cursor";
892
+ task: "task";
893
+ team: "team";
894
+ template: "template";
895
+ time_entry: "time_entry";
896
+ tombstone: "tombstone";
897
+ workspace: "workspace";
898
+ }>;
899
+ }, z.core.$strip>;
900
+ rule: z.ZodObject<{
901
+ frequency: z.ZodEnum<{
902
+ daily: "daily";
903
+ monthly: "monthly";
904
+ weekly: "weekly";
905
+ yearly: "yearly";
906
+ }>;
907
+ interval: z.ZodDefault<z.ZodNumber>;
908
+ timeZone: z.ZodString;
909
+ startsAt: z.ZodString;
910
+ endsAt: z.ZodOptional<z.ZodString>;
911
+ count: z.ZodOptional<z.ZodNumber>;
912
+ }, z.core.$strip>;
913
+ }, z.core.$strip>;
914
+ export type WorkRecurrence = z.infer<typeof WorkRecurrenceSchema>;
915
+ export declare const WorkTimeEntrySchema: z.ZodObject<{
916
+ id: z.ZodString;
917
+ metadata: z.ZodObject<{
918
+ scope: z.ZodObject<{
919
+ tenantId: z.ZodString;
920
+ organizationId: z.ZodString;
921
+ workspaceId: z.ZodString;
922
+ }, z.core.$strip>;
923
+ createdAt: z.ZodString;
924
+ createdBy: z.ZodObject<{
925
+ principalId: z.ZodString;
926
+ principalKind: z.ZodEnum<{
927
+ contractor: "contractor";
928
+ guest: "guest";
929
+ member: "member";
930
+ service_principal: "service_principal";
931
+ }>;
932
+ }, z.core.$strip>;
933
+ updatedAt: z.ZodString;
934
+ updatedBy: z.ZodObject<{
935
+ principalId: z.ZodString;
936
+ principalKind: z.ZodEnum<{
937
+ contractor: "contractor";
938
+ guest: "guest";
939
+ member: "member";
940
+ service_principal: "service_principal";
941
+ }>;
942
+ }, z.core.$strip>;
943
+ revision: z.ZodNumber;
944
+ }, z.core.$strip>;
945
+ workRef: z.ZodObject<{
946
+ id: z.ZodString;
947
+ kind: z.ZodEnum<{
948
+ activity: "activity";
949
+ agent_reference: "agent_reference";
950
+ approval_reference: "approval_reference";
951
+ attachment: "attachment";
952
+ automation_reference: "automation_reference";
953
+ bug: "bug";
954
+ canvas_reference: "canvas_reference";
955
+ capture_reference: "capture_reference";
956
+ collection: "collection";
957
+ comment: "comment";
958
+ contractor: "contractor";
959
+ cross_organization_acl_grant: "cross_organization_acl_grant";
960
+ custom_field_definition: "custom_field_definition";
961
+ custom_field_value: "custom_field_value";
962
+ cycle: "cycle";
963
+ dependency: "dependency";
964
+ document_reference: "document_reference";
965
+ epic: "epic";
966
+ estimate: "estimate";
967
+ evidence_reference: "evidence_reference";
968
+ external_binding: "external_binding";
969
+ focus_policy: "focus_policy";
970
+ folder_projection: "folder_projection";
971
+ form: "form";
972
+ guest: "guest";
973
+ habit: "habit";
974
+ inbox_item: "inbox_item";
975
+ initiative: "initiative";
976
+ issue: "issue";
977
+ key_result: "key_result";
978
+ list: "list";
979
+ member: "member";
980
+ mention: "mention";
981
+ milestone: "milestone";
982
+ objective: "objective";
983
+ occurrence: "occurrence";
984
+ organization: "organization";
985
+ planning_intent: "planning_intent";
986
+ portfolio: "portfolio";
987
+ program: "program";
988
+ project: "project";
989
+ proofing_request: "proofing_request";
990
+ reaction: "reaction";
991
+ recurrence_template: "recurrence_template";
992
+ relationship: "relationship";
993
+ roadmap: "roadmap";
994
+ saved_view: "saved_view";
995
+ schedule_binding_reference: "schedule_binding_reference";
996
+ service_principal: "service_principal";
997
+ status_workflow: "status_workflow";
998
+ story: "story";
999
+ subtask: "subtask";
1000
+ sync_conflict: "sync_conflict";
1001
+ sync_cursor: "sync_cursor";
1002
+ task: "task";
1003
+ team: "team";
1004
+ template: "template";
1005
+ time_entry: "time_entry";
1006
+ tombstone: "tombstone";
1007
+ workspace: "workspace";
1008
+ }>;
1009
+ }, z.core.$strip>;
1010
+ memberRef: z.ZodObject<{
1011
+ id: z.ZodString;
1012
+ kind: z.ZodEnum<{
1013
+ activity: "activity";
1014
+ agent_reference: "agent_reference";
1015
+ approval_reference: "approval_reference";
1016
+ attachment: "attachment";
1017
+ automation_reference: "automation_reference";
1018
+ bug: "bug";
1019
+ canvas_reference: "canvas_reference";
1020
+ capture_reference: "capture_reference";
1021
+ collection: "collection";
1022
+ comment: "comment";
1023
+ contractor: "contractor";
1024
+ cross_organization_acl_grant: "cross_organization_acl_grant";
1025
+ custom_field_definition: "custom_field_definition";
1026
+ custom_field_value: "custom_field_value";
1027
+ cycle: "cycle";
1028
+ dependency: "dependency";
1029
+ document_reference: "document_reference";
1030
+ epic: "epic";
1031
+ estimate: "estimate";
1032
+ evidence_reference: "evidence_reference";
1033
+ external_binding: "external_binding";
1034
+ focus_policy: "focus_policy";
1035
+ folder_projection: "folder_projection";
1036
+ form: "form";
1037
+ guest: "guest";
1038
+ habit: "habit";
1039
+ inbox_item: "inbox_item";
1040
+ initiative: "initiative";
1041
+ issue: "issue";
1042
+ key_result: "key_result";
1043
+ list: "list";
1044
+ member: "member";
1045
+ mention: "mention";
1046
+ milestone: "milestone";
1047
+ objective: "objective";
1048
+ occurrence: "occurrence";
1049
+ organization: "organization";
1050
+ planning_intent: "planning_intent";
1051
+ portfolio: "portfolio";
1052
+ program: "program";
1053
+ project: "project";
1054
+ proofing_request: "proofing_request";
1055
+ reaction: "reaction";
1056
+ recurrence_template: "recurrence_template";
1057
+ relationship: "relationship";
1058
+ roadmap: "roadmap";
1059
+ saved_view: "saved_view";
1060
+ schedule_binding_reference: "schedule_binding_reference";
1061
+ service_principal: "service_principal";
1062
+ status_workflow: "status_workflow";
1063
+ story: "story";
1064
+ subtask: "subtask";
1065
+ sync_conflict: "sync_conflict";
1066
+ sync_cursor: "sync_cursor";
1067
+ task: "task";
1068
+ team: "team";
1069
+ template: "template";
1070
+ time_entry: "time_entry";
1071
+ tombstone: "tombstone";
1072
+ workspace: "workspace";
1073
+ }>;
1074
+ }, z.core.$strip>;
1075
+ startedAt: z.ZodString;
1076
+ endedAt: z.ZodOptional<z.ZodString>;
1077
+ durationMinutes: z.ZodNumber;
1078
+ note: z.ZodOptional<z.ZodString>;
1079
+ }, z.core.$strip>;
1080
+ export type WorkTimeEntry = z.infer<typeof WorkTimeEntrySchema>;