@faiber/faiber-task 0.21.1 → 0.23.0

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.
@@ -32,6 +32,43 @@ export interface RoutesCreateAgentProposalPostResponse extends ApiEnvelope<JsonV
32
32
  /** Backend response type: serde_json::Value. */
33
33
  export interface RoutesApproveAgentProposalPostResponse extends ApiEnvelope<JsonValue> {
34
34
  }
35
+ /** Backend request type: WorkspaceQuery. */
36
+ export interface RoutesQueryPostInputFieldFilters extends JsonObject {
37
+ "key": string;
38
+ "op": string;
39
+ "value"?: JsonValue | null;
40
+ "unit"?: string | null;
41
+ }
42
+ export interface RoutesQueryPostInput extends JsonObject {
43
+ "project_id"?: string | null;
44
+ "owner_id"?: string | null;
45
+ "item_type"?: string | null;
46
+ "q"?: string | null;
47
+ "from"?: string | null;
48
+ "until"?: string | null;
49
+ "completed_by_me"?: boolean;
50
+ "active_only"?: boolean;
51
+ "cursor"?: string | null;
52
+ "limit"?: number | null;
53
+ "include_archived"?: boolean;
54
+ "record_type"?: string | null;
55
+ "field_filters"?: RoutesQueryPostInputFieldFilters[];
56
+ }
57
+ /** Backend response type: Value. */
58
+ export interface RoutesQueryPostResponse extends ApiEnvelope<JsonValue> {
59
+ }
60
+ /** Backend response type: serde_json::Value. */
61
+ export type RoutesRemoveDeleteApiV1AttachmentsIdResponse = import("./types.js").TaskResponse<import("./collaboration.js").DeletedAttachment>;
62
+ /** Backend response type: Attachment. */
63
+ export type RoutesStatusGetApiV1AttachmentsIdResponse = import("./types.js").TaskResponse<import("./collaboration.js").TaskAttachment>;
64
+ /** Backend request type: multipart/form-data. */
65
+ export type RoutesContentPutInput = FormData;
66
+ /** Backend response type: Attachment. */
67
+ export type RoutesContentPutResponse = import("./types.js").TaskResponse<import("./collaboration.js").TaskAttachment>;
68
+ /** Backend response type: raw-response. */
69
+ export type RoutesDownloadGetResponse = ArrayBuffer | Uint8Array;
70
+ /** Backend response type: serde_json::Value. */
71
+ export type RoutesConfigGetApiV1CollaborationConfigResponse = import("./types.js").TaskResponse<import("./collaboration.js").CollaborationConfig>;
35
72
  /** Backend response type: stream. */
36
73
  export interface RoutesEventsGetResponse extends ApiEnvelope<JsonValue> {
37
74
  }
@@ -42,6 +79,188 @@ export interface RoutesUseGuestLinkPostInput extends JsonObject {
42
79
  /** Backend response type: serde_json::Value. */
43
80
  export interface RoutesUseGuestLinkPostResponse extends ApiEnvelope<JsonValue> {
44
81
  }
82
+ /** Backend query type: GiftQuery. */
83
+ export interface RoutesListGetQuery extends QueryParams {
84
+ "page"?: number | null;
85
+ "per_page"?: number | null;
86
+ "search"?: string | null;
87
+ }
88
+ /** Backend response type: Value. */
89
+ export interface RoutesListGetResponse extends ApiEnvelope<JsonValue> {
90
+ }
91
+ /** Backend request type: CreateGift. */
92
+ export interface RoutesCreatePostApiV1InternalPlansGiftsInputLimits extends JsonObject {
93
+ "tasks": number;
94
+ "responses": number;
95
+ "images"?: number;
96
+ "shared_spaces": number;
97
+ "members": number;
98
+ }
99
+ export interface RoutesCreatePostApiV1InternalPlansGiftsInput extends JsonObject {
100
+ "request_id": string;
101
+ "created_by": string;
102
+ "max_uses"?: number;
103
+ "label": string;
104
+ "status": string;
105
+ "expires_at": string;
106
+ "limits": RoutesCreatePostApiV1InternalPlansGiftsInputLimits;
107
+ "rotate_token"?: boolean;
108
+ }
109
+ /** Backend response type: Value. */
110
+ export interface RoutesCreatePostApiV1InternalPlansGiftsResponse extends ApiEnvelope<JsonValue> {
111
+ }
112
+ /** Backend response type: Value. */
113
+ export interface RoutesShowGetResponse extends ApiEnvelope<JsonValue> {
114
+ }
115
+ /** Backend request type: GiftSettings. */
116
+ export interface RoutesUpdatePutInputLimits extends JsonObject {
117
+ "tasks": number;
118
+ "responses": number;
119
+ "images"?: number;
120
+ "shared_spaces": number;
121
+ "members": number;
122
+ }
123
+ export interface RoutesUpdatePutInput extends JsonObject {
124
+ "max_uses"?: number;
125
+ "label": string;
126
+ "status": string;
127
+ "expires_at": string;
128
+ "limits": RoutesUpdatePutInputLimits;
129
+ "rotate_token"?: boolean;
130
+ }
131
+ /** Backend response type: Value. */
132
+ export interface RoutesUpdatePutResponse extends ApiEnvelope<JsonValue> {
133
+ }
134
+ /** Backend request type: ReserveInput. */
135
+ export type RoutesReserveInternalPostInputBucket = "storage_bytes" | "imports" | "research" | "audio_seconds";
136
+ export interface RoutesReserveInternalPostInput extends JsonObject {
137
+ "id": string;
138
+ "user_id": string;
139
+ "project_id"?: string | null;
140
+ "bucket": RoutesReserveInternalPostInputBucket;
141
+ "units": number;
142
+ }
143
+ /** Backend response type: serde_json::Value. */
144
+ export interface RoutesReserveInternalPostResponse extends ApiEnvelope<JsonValue> {
145
+ }
146
+ /** Backend request type: SettleInput. */
147
+ export type RoutesSettleInternalPostInputBucket = "storage_bytes" | "imports" | "research" | "audio_seconds";
148
+ export interface RoutesSettleInternalPostInput extends JsonObject {
149
+ "completed_at"?: string | null;
150
+ "user_id": string;
151
+ "bucket": RoutesSettleInternalPostInputBucket;
152
+ "completed_units": number;
153
+ }
154
+ /** Backend response type: serde_json::Value. */
155
+ export interface RoutesSettleInternalPostResponse extends ApiEnvelope<JsonValue> {
156
+ }
157
+ /** Backend request type: Reserve. */
158
+ export type RoutesReservePostInputBucket = "tasks" | "images" | "responses";
159
+ export interface RoutesReservePostInput extends JsonObject {
160
+ "id": string;
161
+ "user_id": string;
162
+ "project_id"?: string | null;
163
+ "bucket"?: RoutesReservePostInputBucket;
164
+ }
165
+ /** Backend response type: Value. */
166
+ export interface RoutesReservePostResponse extends ApiEnvelope<JsonValue> {
167
+ }
168
+ /** Backend request type: Finish. */
169
+ export type RoutesFinishPostInputBucket = "tasks" | "images" | "responses";
170
+ export interface RoutesFinishPostInput extends JsonObject {
171
+ "completed": boolean;
172
+ "bucket"?: RoutesFinishPostInputBucket | null;
173
+ }
174
+ /** Backend response type: Value. */
175
+ export interface RoutesFinishPostResponse extends ApiEnvelope<JsonValue> {
176
+ }
177
+ /** Backend response type: Usage. */
178
+ export type RoutesOwnGetResponse = import("./types.js").TaskResponse<import("./collaboration.js").MemoryUsage>;
179
+ /** Backend query type: FolderQuery. */
180
+ export interface RoutesFoldersGetQuery extends QueryParams {
181
+ "project_id": string;
182
+ }
183
+ /** Backend response type: Value. */
184
+ export interface RoutesFoldersGetResponse extends ApiEnvelope<JsonValue> {
185
+ }
186
+ /** Backend response type: Value. */
187
+ export type RoutesGetGetApiV1NoteImportsIdResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteImportJob>;
188
+ /** Backend request type: Control. */
189
+ export type RoutesControlPostInput = import("./collaboration.js").ControlNoteImport;
190
+ /** Backend response type: Value. */
191
+ export type RoutesControlPostResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteImportJob>;
192
+ /** Backend request type: Apply. */
193
+ export type RoutesApplyPostApiV1NoteImportsIdApplyInput = import("./collaboration.js").ApplyNoteImport;
194
+ /** Backend response type: Value. */
195
+ export type RoutesApplyPostApiV1NoteImportsIdApplyResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteImportJob>;
196
+ /** Backend request type: SetCover. */
197
+ export type RoutesCoverPutInput = import("./collaboration.js").SetNoteCover;
198
+ /** Backend response type: NoteMedia. */
199
+ export type RoutesCoverPutResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteMedia>;
200
+ /** Backend response type: Value. */
201
+ export interface RoutesDocumentGetResponse extends ApiEnvelope<JsonValue> {
202
+ }
203
+ /** Backend request type: Update. */
204
+ export interface RoutesUpdatePostInput extends JsonObject {
205
+ "id": string;
206
+ "generation": number;
207
+ "body": string;
208
+ "plain_text": string;
209
+ }
210
+ /** Backend response type: Value. */
211
+ export interface RoutesUpdatePostResponse extends ApiEnvelope<JsonValue> {
212
+ }
213
+ /** Backend request type: Create. */
214
+ export type RoutesCreatePostApiV1NotesIdImportsInput = import("./collaboration.js").StartNoteImport;
215
+ /** Backend response type: Value. */
216
+ export type RoutesCreatePostApiV1NotesIdImportsResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteImportJob>;
217
+ /** Backend response type: Value. */
218
+ export type RoutesStatusGetApiV1NotesIdIndexingResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteIndexing>;
219
+ /** Backend response type: Value. */
220
+ export interface RoutesRetryPostResponse extends ApiEnvelope<JsonValue> {
221
+ }
222
+ /** Backend response type: NoteMedia. */
223
+ export type RoutesGetGetApiV1NotesIdMediaResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteMedia>;
224
+ /** Backend request type: AddMedia. */
225
+ export type RoutesAddPostInput = import("./collaboration.js").AddNoteMedia;
226
+ /** Backend response type: NoteMedia. */
227
+ export type RoutesAddPostResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteMedia>;
228
+ /** Backend request type: RemoveMedia. */
229
+ export type RoutesRemoveDeleteApiV1NotesIdMediaAttachmentInput = import("./collaboration.js").RemoveNoteMedia;
230
+ /** Backend response type: NoteMedia. */
231
+ export type RoutesRemoveDeleteApiV1NotesIdMediaAttachmentResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteMedia>;
232
+ /** Backend request type: Authorization. */
233
+ export interface RoutesAuthorizePostInput extends JsonObject {
234
+ "socket_id": string;
235
+ "channel_name": string;
236
+ }
237
+ /** Backend response type: Value. */
238
+ export type RoutesAuthorizePostResponse = JsonValue;
239
+ /** Backend response type: Value. */
240
+ export interface RoutesConfigGetApiV1NotesIdRealtimeConfigResponse extends ApiEnvelope<JsonValue> {
241
+ }
242
+ /** Backend request type: CreateSource. */
243
+ export type RoutesCreatePostApiV1NotesIdSourceImportsInput = import("./collaboration.js").StartSourceImport;
244
+ /** Backend response type: Value. */
245
+ export type RoutesCreatePostApiV1NotesIdSourceImportsResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteImportJob>;
246
+ /** Backend response type: Value. */
247
+ export interface RoutesCatalogGetApiV1NotesDataCatalogResponse extends ApiEnvelope<JsonValue> {
248
+ }
249
+ /** Backend request type: Query. */
250
+ export type RoutesSearchPostInput = import("./collaboration.js").NoteKnowledgeQuery;
251
+ /** Backend response type: Value. */
252
+ export type RoutesSearchPostResponse = import("./types.js").TaskResponse<import("./collaboration.js").NoteKnowledgeResult>;
253
+ /** Backend response type: Value. */
254
+ export interface RoutesGetPreferencesGetResponse extends ApiEnvelope<JsonValue> {
255
+ }
256
+ /** Backend request type: NotificationPreferencesInput. */
257
+ export interface RoutesPutPreferencesPutInput extends JsonObject {
258
+ "sms_enabled"?: boolean;
259
+ "email_enabled"?: boolean;
260
+ }
261
+ /** Backend response type: Value. */
262
+ export interface RoutesPutPreferencesPutResponse extends ApiEnvelope<JsonValue> {
263
+ }
45
264
  /** Backend request type: PerformancePolicyInput. */
46
265
  export interface RoutesUpsertPerformancePolicyPutInput extends JsonObject {
47
266
  "month": string;
@@ -54,6 +273,73 @@ export interface RoutesUpsertPerformancePolicyPutInput extends JsonObject {
54
273
  /** Backend response type: serde_json::Value. */
55
274
  export interface RoutesUpsertPerformancePolicyPutResponse extends ApiEnvelope<JsonValue> {
56
275
  }
276
+ /** Backend response type: Value. */
277
+ export interface RoutesPreferencesGetResponse extends ApiEnvelope<JsonValue> {
278
+ }
279
+ /** Backend request type: PlanningPreferences. */
280
+ export interface RoutesSavePreferencesPutInput extends JsonObject {
281
+ "timezone": string;
282
+ "calendar": string;
283
+ "week_start": number;
284
+ "working_days": number[];
285
+ "work_start": string;
286
+ "work_end": string;
287
+ "default_duration_minutes": number;
288
+ }
289
+ /** Backend response type: Value. */
290
+ export interface RoutesSavePreferencesPutResponse extends ApiEnvelope<JsonValue> {
291
+ }
292
+ /** Backend query type: ScopeQuery. */
293
+ export interface RoutesGetGetApiV1PlansQuery extends QueryParams {
294
+ "project_id"?: string | null;
295
+ }
296
+ /** Backend response type: Value. */
297
+ export interface RoutesGetGetApiV1PlansResponse extends ApiEnvelope<JsonValue> {
298
+ }
299
+ /** Backend query type: IncomeQuery. */
300
+ export interface RoutesIncomeGetQuery extends QueryParams {
301
+ "from": string;
302
+ "to": string;
303
+ "plan"?: string | null;
304
+ "page"?: number | null;
305
+ }
306
+ /** Backend response type: Value. */
307
+ export interface RoutesIncomeGetResponse extends ApiEnvelope<JsonValue> {
308
+ }
309
+ /** Backend request type: MemoryLimits. */
310
+ export type RoutesConfigurePutInput = import("./collaboration.js").PlanMemoryLimits;
311
+ /** Backend response type: MemoryLimits. */
312
+ export type RoutesConfigurePutResponse = import("./types.js").TaskResponse<import("./collaboration.js").PlanMemoryLimits>;
313
+ /** Backend query type: UsersQuery. */
314
+ export interface RoutesUsersGetQuery extends QueryParams {
315
+ "user_ids": string;
316
+ }
317
+ /** Backend response type: Value. */
318
+ export interface RoutesUsersGetResponse extends ApiEnvelope<JsonValue> {
319
+ }
320
+ /** Backend request type: Checkout. */
321
+ export interface RoutesCheckoutPostInput extends JsonObject {
322
+ "plan": string;
323
+ "request_id": string;
324
+ }
325
+ /** Backend response type: Value. */
326
+ export interface RoutesCheckoutPostResponse extends ApiEnvelope<JsonValue> {
327
+ }
328
+ /** Backend request type: Redeem. */
329
+ export interface RoutesRedeemPostInput extends JsonObject {
330
+ "token": string;
331
+ }
332
+ /** Backend response type: Value. */
333
+ export interface RoutesRedeemPostResponse extends ApiEnvelope<JsonValue> {
334
+ }
335
+ /** Backend response type: Value. */
336
+ export interface RoutesGiftPostResponse extends ApiEnvelope<JsonValue> {
337
+ }
338
+ /** Backend response type: MemoryLimits. */
339
+ export type RoutesCatalogGetApiV1PlansMemoryLimitsResponse = import("./types.js").TaskResponse<import("./collaboration.js").PlanMemoryLimits>;
340
+ /** Backend response type: Value. */
341
+ export interface RoutesReconcilePostResponse extends ApiEnvelope<JsonValue> {
342
+ }
57
343
  /** Backend query type: PointHistoryQuery. */
58
344
  export interface RoutesPointHistoryGetQuery extends QueryParams {
59
345
  "month"?: string | null;
@@ -73,7 +359,9 @@ export interface RoutesListProjectsGetQuery extends QueryParams {
73
359
  }
74
360
  /** Backend response type: Vec<ProjectView>. */
75
361
  export interface RoutesListProjectsGetResponseItem extends JsonObject {
362
+ "plan_access"?: JsonValue | null;
76
363
  "id": string;
364
+ "created_by": string;
77
365
  "workspace_id": string;
78
366
  "team_id"?: string | null;
79
367
  "key": string;
@@ -114,6 +402,15 @@ export interface RoutesUpdateProjectPatchInput extends JsonObject {
114
402
  /** Backend response type: raw-response. */
115
403
  export interface RoutesUpdateProjectPatchResponse extends ApiEnvelope<JsonValue> {
116
404
  }
405
+ /** Backend response type: Workflow. */
406
+ export type RoutesGetGetApiV1ProjectsIdBoardWorkflowResponse = import("./types.js").TaskResponse<import("./collaboration.js").BoardWorkflow>;
407
+ /** Backend request type: SaveWorkflow. */
408
+ export type RoutesPutPutApiV1ProjectsIdBoardWorkflowInput = import("./collaboration.js").SaveBoardWorkflow;
409
+ /** Backend response type: Workflow. */
410
+ export type RoutesPutPutApiV1ProjectsIdBoardWorkflowResponse = import("./types.js").TaskResponse<import("./collaboration.js").BoardWorkflow>;
411
+ /** Backend response type: Value. */
412
+ export interface RoutesProjectChecklistsGetResponse extends ApiEnvelope<JsonValue> {
413
+ }
117
414
  /** Backend request type: GrantAccess. */
118
415
  export interface RoutesGrantProjectAccessPostInput extends JsonObject {
119
416
  "user_id": string;
@@ -123,6 +420,49 @@ export interface RoutesGrantProjectAccessPostInput extends JsonObject {
123
420
  /** Backend response type: serde_json::Value. */
124
421
  export interface RoutesGrantProjectAccessPostResponse extends ApiEnvelope<JsonValue> {
125
422
  }
423
+ /** Backend response type: Value. */
424
+ export interface RoutesMembersGetResponse extends ApiEnvelope<JsonValue> {
425
+ }
426
+ /** Backend response type: Value. */
427
+ export interface RoutesRemoveMemberDeleteResponse extends ApiEnvelope<JsonValue> {
428
+ }
429
+ /** Backend response type: Usage. */
430
+ export type RoutesGetGetApiV1ProjectsIdMemoryUsageResponse = import("./types.js").TaskResponse<import("./collaboration.js").MemoryUsage>;
431
+ /** Backend query type: Filters. */
432
+ export interface RoutesGetGetApiV1ProjectsIdReportQuery extends QueryParams {
433
+ "from": string;
434
+ "to": string;
435
+ }
436
+ /** Backend response type: Report. */
437
+ export interface RoutesGetGetApiV1ProjectsIdReportResponseDataTasksTimes extends JsonObject {
438
+ "user_id": string;
439
+ "period_seconds": number;
440
+ "total_seconds": number;
441
+ }
442
+ export interface RoutesGetGetApiV1ProjectsIdReportResponseDataTasks extends JsonObject {
443
+ "id": string;
444
+ "title": string;
445
+ "status": string;
446
+ "priority": string;
447
+ "owner_id": string;
448
+ "created_at": string;
449
+ "due_at"?: string | null;
450
+ "completed_at"?: string | null;
451
+ "completed_by"?: string | null;
452
+ "period_seconds": number;
453
+ "total_seconds": number;
454
+ "times": RoutesGetGetApiV1ProjectsIdReportResponseDataTasksTimes[];
455
+ "history_available": boolean;
456
+ }
457
+ export interface RoutesGetGetApiV1ProjectsIdReportResponseData extends JsonObject {
458
+ "project_id": string;
459
+ "from": string;
460
+ "to": string;
461
+ "generated_at": string;
462
+ "tasks": RoutesGetGetApiV1ProjectsIdReportResponseDataTasks[];
463
+ }
464
+ export interface RoutesGetGetApiV1ProjectsIdReportResponse extends ApiEnvelope<RoutesGetGetApiV1ProjectsIdReportResponseData> {
465
+ }
126
466
  /** Backend response type: Vec<WorkflowStateView>. */
127
467
  export interface RoutesWorkflowStatesGetResponseItem extends JsonObject {
128
468
  "key": string;
@@ -138,6 +478,7 @@ export type RoutesEnsurePersonalProjectPostResponse = import("./types.js").Proje
138
478
  /** Backend request type: CreateSharedProject. */
139
479
  export interface RoutesCreateSharedProjectPostInput extends JsonObject {
140
480
  "name": string;
481
+ "description"?: string;
141
482
  }
142
483
  /** Backend response type: raw-response. */
143
484
  export type RoutesCreateSharedProjectPostResponse = import("./types.js").ProjectResponse;
@@ -163,6 +504,48 @@ export interface RoutesTeamMonitoringGetQuery extends QueryParams {
163
504
  /** Backend response type: serde_json::Value. */
164
505
  export interface RoutesTeamMonitoringGetResponse extends ApiEnvelope<JsonValue> {
165
506
  }
507
+ /** Backend request type: ProposalInput. */
508
+ export type RoutesProposePostInputOperations = "create" | "update" | "transition" | "archive_note" | "import_note" | "delete" | "checklist" | "reminder" | "plan" | "move_note" | "folder" | "delete_folder";
509
+ export interface RoutesProposePostInput extends JsonObject {
510
+ "request_id"?: string | null;
511
+ "conversation_id": string;
512
+ "project_id"?: string | null;
513
+ "operations": RoutesProposePostInputOperations[];
514
+ }
515
+ /** Backend response type: Value. */
516
+ export interface RoutesProposePostResponse extends ApiEnvelope<JsonValue> {
517
+ }
518
+ /** Backend response type: Value. */
519
+ export interface RoutesGetGetApiV1ReviewProposalsIdResponse extends ApiEnvelope<JsonValue> {
520
+ }
521
+ /** Backend request type: ProposalInput. */
522
+ export type RoutesRevisePutInputOperations = "create" | "update" | "transition" | "archive_note" | "import_note" | "delete" | "checklist" | "reminder" | "plan" | "move_note" | "folder" | "delete_folder";
523
+ export interface RoutesRevisePutInput extends JsonObject {
524
+ "request_id"?: string | null;
525
+ "conversation_id": string;
526
+ "project_id"?: string | null;
527
+ "operations": RoutesRevisePutInputOperations[];
528
+ }
529
+ /** Backend response type: Value. */
530
+ export interface RoutesRevisePutResponse extends ApiEnvelope<JsonValue> {
531
+ }
532
+ /** Backend response type: Value. */
533
+ export interface RoutesApplyPostApiV1ReviewProposalsIdApplyResponse extends ApiEnvelope<JsonValue> {
534
+ }
535
+ /** Backend response type: Value. */
536
+ export interface RoutesRefreshPostResponse extends ApiEnvelope<JsonValue> {
537
+ }
538
+ /** Backend request type: ProposalInput. */
539
+ export type RoutesValidateProposalPostInputOperations = "create" | "update" | "transition" | "archive_note" | "import_note" | "delete" | "checklist" | "reminder" | "plan" | "move_note" | "folder" | "delete_folder";
540
+ export interface RoutesValidateProposalPostInput extends JsonObject {
541
+ "request_id"?: string | null;
542
+ "conversation_id": string;
543
+ "project_id"?: string | null;
544
+ "operations": RoutesValidateProposalPostInputOperations[];
545
+ }
546
+ /** Backend response type: Value. */
547
+ export interface RoutesValidateProposalPostResponse extends ApiEnvelope<JsonValue> {
548
+ }
166
549
  /** Backend query type: SprintListQuery. */
167
550
  export interface RoutesListSprintsGetQuery extends QueryParams {
168
551
  "team_id"?: string | null;
@@ -263,13 +646,19 @@ export interface RoutesListWorkItemsGetResponseItem extends JsonObject {
263
646
  "title": string;
264
647
  "description": string;
265
648
  "status": string;
649
+ "stage_id"?: string | null;
650
+ "status_category"?: string;
266
651
  "priority": string;
267
652
  "rank": string;
268
653
  "owner_id": string;
269
654
  "reporter_id": string;
270
655
  "estimate"?: number | null;
271
656
  "story_points"?: number | null;
657
+ "progress_started_at"?: string | null;
272
658
  "start_at"?: string | null;
659
+ "folder_id"?: string | null;
660
+ "planned_start_at"?: string | null;
661
+ "planned_end_at"?: string | null;
273
662
  "due_at"?: string | null;
274
663
  "completed_at"?: string | null;
275
664
  "sprint_id"?: string | null;
@@ -283,7 +672,21 @@ export interface RoutesListWorkItemsGetResponseItem extends JsonObject {
283
672
  export interface RoutesListWorkItemsGetResponse extends ApiEnvelope<RoutesListWorkItemsGetResponseItem[]> {
284
673
  }
285
674
  /** Backend request type: CreateWorkItem. */
675
+ export interface RoutesCreateWorkItemPostInputChecklist extends JsonObject {
676
+ "id": string;
677
+ "title": string;
678
+ "done": boolean;
679
+ }
680
+ export type RoutesCreateWorkItemPostInputReminderTriggers = "relative" | "same_day";
681
+ export interface RoutesCreateWorkItemPostInputReminder extends JsonObject {
682
+ "anchor_at": string;
683
+ "timezone": string;
684
+ "recurrence"?: string;
685
+ "triggers"?: RoutesCreateWorkItemPostInputReminderTriggers[];
686
+ }
286
687
  export interface RoutesCreateWorkItemPostInput extends JsonObject {
688
+ "checklist"?: RoutesCreateWorkItemPostInputChecklist[];
689
+ "reminder"?: RoutesCreateWorkItemPostInputReminder | null;
287
690
  "project_id": string;
288
691
  "team_id"?: string | null;
289
692
  "parent_id"?: string | null;
@@ -306,6 +709,8 @@ export interface RoutesCreateWorkItemPostInput extends JsonObject {
306
709
  /** Backend response type: raw-response. */
307
710
  export interface RoutesCreateWorkItemPostResponse extends ApiEnvelope<JsonValue> {
308
711
  }
712
+ /** Backend response type: no-content. */
713
+ export type RoutesRemoveWorkItemDeleteResponse = void;
309
714
  /** Backend response type: raw-response. */
310
715
  export interface RoutesGetWorkItemGetResponse extends ApiEnvelope<JsonValue> {
311
716
  }
@@ -328,7 +733,43 @@ export interface RoutesUpdateWorkItemPatchInput extends JsonObject {
328
733
  /** Backend response type: raw-response. */
329
734
  export interface RoutesUpdateWorkItemPatchResponse extends ApiEnvelope<JsonValue> {
330
735
  }
736
+ /** Backend query type: ActivityQuery. */
737
+ export interface RoutesWorkItemActivityGetQuery extends QueryParams {
738
+ "offset"?: number;
739
+ }
740
+ /** Backend response type: Vec<serde_json::Value>. */
741
+ export interface RoutesWorkItemActivityGetResponse extends ApiEnvelope<JsonValue[]> {
742
+ }
743
+ /** Backend request type: CreateUpload. */
744
+ export type RoutesCreatePostApiV1WorkItemsIdAttachmentsInput = import("./collaboration.js").CreateAttachment;
745
+ /** Backend response type: Attachment. */
746
+ export type RoutesCreatePostApiV1WorkItemsIdAttachmentsResponse = import("./types.js").TaskResponse<import("./collaboration.js").TaskAttachment>;
747
+ /** Backend response type: Value. */
748
+ export interface RoutesWorkItemChecklistGetResponse extends ApiEnvelope<JsonValue> {
749
+ }
750
+ /** Backend request type: ChecklistInput. */
751
+ export interface RoutesReplaceChecklistPutInputItems extends JsonObject {
752
+ "id": string;
753
+ "title": string;
754
+ "done": boolean;
755
+ }
756
+ export interface RoutesReplaceChecklistPutInput extends JsonObject {
757
+ "items": RoutesReplaceChecklistPutInputItems[];
758
+ }
759
+ /** Backend response type: Value. */
760
+ export interface RoutesReplaceChecklistPutResponse extends ApiEnvelope<JsonValue> {
761
+ }
331
762
  /** Backend response type: Vec<CommentView>. */
763
+ export interface RoutesListCommentsGetResponseItemAttachments extends JsonObject {
764
+ "id": string;
765
+ "work_item_id": string;
766
+ "filename": string;
767
+ "content_type": string;
768
+ "size_bytes": number;
769
+ "status": string;
770
+ "purpose": string;
771
+ "version": number;
772
+ }
332
773
  export interface RoutesListCommentsGetResponseItem extends JsonObject {
333
774
  "id": string;
334
775
  "work_item_id": string;
@@ -337,17 +778,51 @@ export interface RoutesListCommentsGetResponseItem extends JsonObject {
337
778
  "mentions": string[];
338
779
  "version": number;
339
780
  "created_at": string;
781
+ "attachments": RoutesListCommentsGetResponseItemAttachments[];
340
782
  }
341
783
  export interface RoutesListCommentsGetResponse extends ApiEnvelope<RoutesListCommentsGetResponseItem[]> {
342
784
  }
343
785
  /** Backend request type: CreateComment. */
344
786
  export interface RoutesCreateCommentPostInput extends JsonObject {
345
- "body": string;
787
+ "body"?: string;
346
788
  "mentions"?: string[];
789
+ "attachment_ids"?: string[];
790
+ "request_id"?: string | null;
347
791
  }
348
792
  /** Backend response type: raw-response. */
349
793
  export interface RoutesCreateCommentPostResponse extends ApiEnvelope<JsonValue> {
350
794
  }
795
+ /** Backend query type: CommentPageQuery. */
796
+ export interface RoutesCommentPageGetQuery extends QueryParams {
797
+ "before"?: string | null;
798
+ }
799
+ /** Backend response type: CommentPage. */
800
+ export interface RoutesCommentPageGetResponseDataItemsAttachments extends JsonObject {
801
+ "id": string;
802
+ "work_item_id": string;
803
+ "filename": string;
804
+ "content_type": string;
805
+ "size_bytes": number;
806
+ "status": string;
807
+ "purpose": string;
808
+ "version": number;
809
+ }
810
+ export interface RoutesCommentPageGetResponseDataItems extends JsonObject {
811
+ "id": string;
812
+ "work_item_id": string;
813
+ "author_id": string;
814
+ "body": string;
815
+ "mentions": string[];
816
+ "version": number;
817
+ "created_at": string;
818
+ "attachments": RoutesCommentPageGetResponseDataItemsAttachments[];
819
+ }
820
+ export interface RoutesCommentPageGetResponseData extends JsonObject {
821
+ "items": RoutesCommentPageGetResponseDataItems[];
822
+ "next_cursor"?: string | null;
823
+ }
824
+ export interface RoutesCommentPageGetResponse extends ApiEnvelope<RoutesCommentPageGetResponseData> {
825
+ }
351
826
  /** Backend response type: Vec<CommitLinkView>. */
352
827
  export interface RoutesListCommitsGetResponseItem extends JsonObject {
353
828
  "id": string;
@@ -386,6 +861,23 @@ export interface RoutesAddPointsPostInput extends JsonObject {
386
861
  /** Backend response type: raw-response. */
387
862
  export interface RoutesAddPointsPostResponse extends ApiEnvelope<JsonValue> {
388
863
  }
864
+ /** Backend response type: Value. */
865
+ export interface RoutesRemoveDeleteApiV1WorkItemsIdReminderResponse extends ApiEnvelope<JsonValue> {
866
+ }
867
+ /** Backend response type: Value. */
868
+ export interface RoutesGetGetApiV1WorkItemsIdReminderResponse extends ApiEnvelope<JsonValue> {
869
+ }
870
+ /** Backend request type: Input. */
871
+ export type RoutesPutPutApiV1WorkItemsIdReminderInputTriggers = "relative" | "same_day";
872
+ export interface RoutesPutPutApiV1WorkItemsIdReminderInput extends JsonObject {
873
+ "anchor_at": string;
874
+ "timezone": string;
875
+ "recurrence"?: string;
876
+ "triggers"?: RoutesPutPutApiV1WorkItemsIdReminderInputTriggers[];
877
+ }
878
+ /** Backend response type: Value. */
879
+ export interface RoutesPutPutApiV1WorkItemsIdReminderResponse extends ApiEnvelope<JsonValue> {
880
+ }
389
881
  /** Backend request type: TransitionWorkItem. */
390
882
  export interface RoutesTransitionWorkItemPostInput extends JsonObject {
391
883
  "status": string;