@task-shepherd/agent 1.0.6 → 1.0.7

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 (80) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/meta.json +5 -5
  4. package/package.json +2 -2
  5. package/shared/dist/index.d.ts +15 -0
  6. package/shared/dist/index.js +12 -0
  7. package/shared/dist/mcp-client/client.d.ts +18 -0
  8. package/shared/dist/mcp-client/client.js +49 -0
  9. package/shared/dist/mcp-client/index.d.ts +7 -0
  10. package/shared/dist/mcp-client/index.js +7 -0
  11. package/shared/dist/mcp-client/types.d.ts +822 -0
  12. package/shared/dist/mcp-client/types.js +193 -0
  13. package/shared/dist/schema/index.d.ts +189 -0
  14. package/shared/dist/schema/index.js +142 -0
  15. package/shared/dist/schema/mcp-mappings.d.ts +50 -0
  16. package/shared/dist/schema/mcp-mappings.js +563 -0
  17. package/shared/dist/schema/validation.d.ts +91 -0
  18. package/shared/dist/schema/validation.js +282 -0
  19. package/shared/dist/work-queue/index.d.ts +7 -0
  20. package/shared/dist/work-queue/index.js +7 -0
  21. package/shared/dist/work-queue/types.d.ts +147 -0
  22. package/shared/dist/work-queue/types.js +4 -0
  23. package/shared/dist/work-queue/validation.d.ts +24 -0
  24. package/shared/dist/work-queue/validation.js +160 -0
  25. package/shared/dist/workspace/constants.d.ts +148 -0
  26. package/shared/dist/workspace/constants.js +432 -0
  27. package/shared/dist/workspace/index.d.ts +10 -0
  28. package/shared/dist/workspace/index.js +10 -0
  29. package/shared/dist/workspace/types.d.ts +477 -0
  30. package/shared/dist/workspace/types.js +9 -0
  31. package/shared/dist/workspace/utils.d.ts +79 -0
  32. package/shared/dist/workspace/utils.js +334 -0
  33. package/shared/dist/workspace/validation.d.ts +1312 -0
  34. package/shared/dist/workspace/validation.js +467 -0
  35. package/shared/graphql/generated-internal.ts +3629 -0
  36. package/shared/graphql/generated-public.ts +773 -0
  37. package/shared/graphql/generated.d.ts +7456 -0
  38. package/shared/graphql/generated.js +11799 -0
  39. package/shared/graphql/generated.ts +27569 -0
  40. package/shared/graphql/generated.ts.backup +16531 -0
  41. package/shared/graphql/generated.ts.working +4828 -0
  42. package/shared/graphql/introspection-internal.json +15845 -0
  43. package/shared/graphql/introspection-public.json +9658 -0
  44. package/shared/graphql/introspection.json +44263 -0
  45. package/shared/graphql/operations/ai-service.graphql +131 -0
  46. package/shared/graphql/operations/ai-work-queue.graphql +31 -0
  47. package/shared/graphql/operations/analytics.graphql +283 -0
  48. package/shared/graphql/operations/analytics.ts +3 -0
  49. package/shared/graphql/operations/api-keys.graphql +126 -0
  50. package/shared/graphql/operations/attachments.graphql +53 -0
  51. package/shared/graphql/operations/attachments.ts +39 -0
  52. package/shared/graphql/operations/audit.graphql +46 -0
  53. package/shared/graphql/operations/auth.graphql +83 -0
  54. package/shared/graphql/operations/claude-usage.graphql +178 -0
  55. package/shared/graphql/operations/comments.graphql +4 -0
  56. package/shared/graphql/operations/dashboard.graphql +29 -0
  57. package/shared/graphql/operations/development-plans.graphql +408 -0
  58. package/shared/graphql/operations/early-access.graphql.disabled +21 -0
  59. package/shared/graphql/operations/errors.graphql.disabled +83 -0
  60. package/shared/graphql/operations/internal-api.graphql +931 -0
  61. package/shared/graphql/operations/notifications.graphql +4 -0
  62. package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
  63. package/shared/graphql/operations/performance.graphql +4 -0
  64. package/shared/graphql/operations/project-reviews.graphql +610 -0
  65. package/shared/graphql/operations/projects.graphql +98 -0
  66. package/shared/graphql/operations/settings.graphql +4 -0
  67. package/shared/graphql/operations/stories.graphql +113 -0
  68. package/shared/graphql/operations/subscriptions.graphql +235 -0
  69. package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
  70. package/shared/graphql/operations/tasks.graphql +257 -0
  71. package/shared/graphql/operations/team.graphql +111 -0
  72. package/shared/graphql/operations/team.ts +226 -0
  73. package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
  74. package/shared/graphql/operations/work-queue.graphql +210 -0
  75. package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
  76. package/shared/graphql/operations/workspace.graphql +146 -0
  77. package/shared/graphql/schema-internal.graphql +1085 -0
  78. package/shared/graphql/schema-public.graphql +709 -0
  79. package/shared/graphql/schema.graphql +3473 -0
  80. package/shared/package.json +23 -0
@@ -0,0 +1,4828 @@
1
+ import { DocumentNode } from "graphql";
2
+ import * as Apollo from "@apollo/client";
3
+ export type Maybe<T> = T | null;
4
+ export type InputMaybe<T> = Maybe<T>;
5
+ export type Exact<T extends { [key: string]: unknown }> = {
6
+ [K in keyof T]: T[K];
7
+ };
8
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
+ [SubKey in K]?: Maybe<T[SubKey]>;
10
+ };
11
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
+ [SubKey in K]: Maybe<T[SubKey]>;
13
+ };
14
+ export type MakeEmpty<
15
+ T extends { [key: string]: unknown },
16
+ K extends keyof T,
17
+ > = { [_ in K]?: never };
18
+ export type Incremental<T> =
19
+ | T
20
+ | {
21
+ [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
22
+ };
23
+ const defaultOptions = {} as const;
24
+ /** All built-in and custom scalars, mapped to their actual values */
25
+ export type Scalars = {
26
+ ID: { input: string; output: string };
27
+ String: { input: string; output: string };
28
+ Boolean: { input: boolean; output: boolean };
29
+ Int: { input: number; output: number };
30
+ Float: { input: number; output: number };
31
+ /** Date custom scalar type that accepts both date-only (YYYY-MM-DD) and full DateTime (ISO 8601) strings */
32
+ Date: { input: string; output: string };
33
+ /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
34
+ JSON: { input: any; output: any };
35
+ /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
36
+ JSONObject: { input: any; output: any };
37
+ };
38
+
39
+ export type AiServiceSession = {
40
+ __typename: "AIServiceSession";
41
+ capabilitiesJson: Scalars["String"]["output"];
42
+ completedAt: Maybe<Scalars["Date"]["output"]>;
43
+ createdAt: Scalars["Date"]["output"];
44
+ hasCodeReviewCapability: Scalars["Boolean"]["output"];
45
+ hasDevelopmentPlanningCapability: Scalars["Boolean"]["output"];
46
+ hasProjectReviewCapability: Scalars["Boolean"]["output"];
47
+ hasStoryImplementationCapability: Scalars["Boolean"]["output"];
48
+ id: Scalars["ID"]["output"];
49
+ isConnected: Scalars["Boolean"]["output"];
50
+ lastHeartbeat: Maybe<Scalars["Date"]["output"]>;
51
+ metadata: Maybe<Scalars["String"]["output"]>;
52
+ serviceEndpoint: Scalars["String"]["output"];
53
+ sessionToken: Scalars["String"]["output"];
54
+ startedAt: Maybe<Scalars["Date"]["output"]>;
55
+ status: AiServiceStatus;
56
+ updatedAt: Scalars["Date"]["output"];
57
+ user: User;
58
+ workType: Maybe<Scalars["String"]["output"]>;
59
+ };
60
+
61
+ /** Status of AI service connection */
62
+ export enum AiServiceStatus {
63
+ ACTIVE = "ACTIVE",
64
+ DISCONNECTED = "DISCONNECTED",
65
+ ERROR = "ERROR",
66
+ INACTIVE = "INACTIVE",
67
+ }
68
+
69
+ export type AiWorkAssignment = {
70
+ __typename: "AIWorkAssignment";
71
+ assignedAt: Scalars["Date"]["output"];
72
+ assignmentId: Scalars["String"]["output"];
73
+ deadline: Maybe<Scalars["Date"]["output"]>;
74
+ priority: Scalars["Float"]["output"];
75
+ workData: Maybe<Scalars["JSONObject"]["output"]>;
76
+ workItemId: Scalars["String"]["output"];
77
+ workItemType: Scalars["String"]["output"];
78
+ workerId: Scalars["String"]["output"];
79
+ };
80
+
81
+ export type AiWorkAudit = {
82
+ __typename: "AIWorkAudit";
83
+ actionType: AuditActionType;
84
+ actorId: Maybe<Scalars["String"]["output"]>;
85
+ actorName: Scalars["String"]["output"];
86
+ actorType: AuditActorType;
87
+ createdAt: Scalars["Date"]["output"];
88
+ details: Maybe<Scalars["String"]["output"]>;
89
+ duration: Scalars["Float"]["output"];
90
+ errorMessage: Maybe<Scalars["String"]["output"]>;
91
+ hasError: Scalars["Boolean"]["output"];
92
+ id: Scalars["ID"]["output"];
93
+ isStatusChange: Scalars["Boolean"]["output"];
94
+ isWorkerChange: Scalars["Boolean"]["output"];
95
+ metadata: Scalars["JSONObject"]["output"];
96
+ newStatus: Maybe<AiWorkStatus>;
97
+ newWorkerId: Maybe<Scalars["String"]["output"]>;
98
+ previousStatus: Maybe<AiWorkStatus>;
99
+ previousWorkerId: Maybe<Scalars["String"]["output"]>;
100
+ reason: Scalars["String"]["output"];
101
+ source: Scalars["String"]["output"];
102
+ summaryText: Scalars["String"]["output"];
103
+ updatedAt: Scalars["Date"]["output"];
104
+ user: Maybe<User>;
105
+ workItem: AiWorkQueue;
106
+ };
107
+
108
+ export type AiWorkBulkOperationResult = {
109
+ __typename: "AIWorkBulkOperationResult";
110
+ deletedCount: Maybe<Scalars["Float"]["output"]>;
111
+ errors: Maybe<Array<Scalars["String"]["output"]>>;
112
+ message: Maybe<Scalars["String"]["output"]>;
113
+ success: Scalars["Boolean"]["output"];
114
+ updatedCount: Scalars["Float"]["output"];
115
+ };
116
+
117
+ export type AiWorkCompletion = {
118
+ __typename: "AIWorkCompletion";
119
+ assignmentId: Scalars["String"]["output"];
120
+ completedAt: Scalars["Date"]["output"];
121
+ errors: Array<Scalars["String"]["output"]>;
122
+ result: Maybe<Scalars["String"]["output"]>;
123
+ success: Scalars["Boolean"]["output"];
124
+ workerId: Scalars["String"]["output"];
125
+ };
126
+
127
+ export type AiWorkProgress = {
128
+ __typename: "AIWorkProgress";
129
+ assignmentId: Scalars["String"]["output"];
130
+ currentStep: Scalars["String"]["output"];
131
+ estimatedCompletion: Maybe<Scalars["Date"]["output"]>;
132
+ message: Scalars["String"]["output"];
133
+ metadata: Maybe<Scalars["JSONObject"]["output"]>;
134
+ progressPercentage: Scalars["Float"]["output"];
135
+ stage: Scalars["String"]["output"];
136
+ updatedAt: Scalars["Date"]["output"];
137
+ workerId: Scalars["String"]["output"];
138
+ };
139
+
140
+ export type AiWorkQueue = {
141
+ __typename: "AIWorkQueue";
142
+ activeCompatibleAgentCount: Maybe<Scalars["Int"]["output"]>;
143
+ actualDuration: Maybe<Scalars["Int"]["output"]>;
144
+ agentAvailabilityReason: Maybe<Scalars["String"]["output"]>;
145
+ agentAvailabilityStatus: Maybe<Scalars["String"]["output"]>;
146
+ aiWorkerId: Maybe<Scalars["String"]["output"]>;
147
+ assignedWorker: Maybe<Scalars["String"]["output"]>;
148
+ attemptCount: Scalars["Float"]["output"];
149
+ canRetry: Scalars["Boolean"]["output"];
150
+ claimedAt: Maybe<Scalars["Date"]["output"]>;
151
+ compatibleAgentCount: Maybe<Scalars["Int"]["output"]>;
152
+ completedAt: Maybe<Scalars["Date"]["output"]>;
153
+ createdAt: Scalars["Date"]["output"];
154
+ currentStep: Scalars["String"]["output"];
155
+ elapsedDuration: Maybe<Scalars["Int"]["output"]>;
156
+ error: Maybe<Scalars["String"]["output"]>;
157
+ estimatedDuration: Maybe<Scalars["Int"]["output"]>;
158
+ failureClassification: Maybe<Scalars["String"]["output"]>;
159
+ hasError: Scalars["Boolean"]["output"];
160
+ id: Scalars["ID"]["output"];
161
+ isClaimed: Scalars["Boolean"]["output"];
162
+ isCompleted: Scalars["Boolean"]["output"];
163
+ isFailed: Scalars["Boolean"]["output"];
164
+ isFailedButRetrying: Scalars["Boolean"]["output"];
165
+ isFailedPermanently: Scalars["Boolean"]["output"];
166
+ isInProgress: Scalars["Boolean"]["output"];
167
+ isQueued: Scalars["Boolean"]["output"];
168
+ lastError: Maybe<Scalars["String"]["output"]>;
169
+ lastRetryAt: Maybe<Scalars["Date"]["output"]>;
170
+ maxRetryAttempts: Scalars["Float"]["output"];
171
+ metadataJson: Scalars["String"]["output"];
172
+ nextRetryAt: Maybe<Scalars["Date"]["output"]>;
173
+ priority: Scalars["Int"]["output"];
174
+ progressPercentage: Scalars["Float"]["output"];
175
+ project: Maybe<Project>;
176
+ queuePosition: Maybe<Scalars["Int"]["output"]>;
177
+ queuedByUser: Maybe<User>;
178
+ requiredWorkspaces: Maybe<Array<Scalars["String"]["output"]>>;
179
+ retryCount: Maybe<Scalars["Int"]["output"]>;
180
+ retryDelay: Maybe<Scalars["Int"]["output"]>;
181
+ startedAt: Maybe<Scalars["Date"]["output"]>;
182
+ status: AiWorkStatus;
183
+ story: Maybe<Story>;
184
+ updatedAt: Scalars["Date"]["output"];
185
+ workType: Scalars["String"]["output"];
186
+ };
187
+
188
+ export type AiWorkQueueSearchInput = {
189
+ aiWorkerId?: InputMaybe<Scalars["String"]["input"]>;
190
+ createdAfter?: InputMaybe<Scalars["String"]["input"]>;
191
+ createdBefore?: InputMaybe<Scalars["String"]["input"]>;
192
+ hasErrors?: InputMaybe<Scalars["Boolean"]["input"]>;
193
+ ids?: InputMaybe<Array<Scalars["String"]["input"]>>;
194
+ maxPriority?: InputMaybe<Scalars["Float"]["input"]>;
195
+ minPriority?: InputMaybe<Scalars["Float"]["input"]>;
196
+ priorities?: InputMaybe<Array<Scalars["Float"]["input"]>>;
197
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
198
+ projectIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
199
+ search?: InputMaybe<Scalars["String"]["input"]>;
200
+ status?: InputMaybe<Array<AiWorkStatus>>;
201
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
202
+ workTypes?: InputMaybe<Array<Scalars["String"]["input"]>>;
203
+ workerIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
204
+ workerType?: InputMaybe<Scalars["String"]["input"]>;
205
+ };
206
+
207
+ /** Status of AI work item */
208
+ export enum AiWorkStatus {
209
+ ASSIGNED = "ASSIGNED",
210
+ CLAIMED = "CLAIMED",
211
+ COMPLETED = "COMPLETED",
212
+ FAILED = "FAILED",
213
+ FAILED_PERMANENT = "FAILED_PERMANENT",
214
+ FAILED_RETRYING = "FAILED_RETRYING",
215
+ IN_PROGRESS = "IN_PROGRESS",
216
+ PENDING = "PENDING",
217
+ QUEUED = "QUEUED",
218
+ }
219
+
220
+ export type AiWorker = {
221
+ __typename: "AIWorker";
222
+ accessibleServices: Array<Scalars["String"]["output"]>;
223
+ accessibleWorkspaces: Array<Scalars["String"]["output"]>;
224
+ canAcceptWork: Scalars["Boolean"]["output"];
225
+ canGuideMore: Scalars["Boolean"]["output"];
226
+ capabilities: Array<WorkerCapability>;
227
+ createdAt: Scalars["Date"]["output"];
228
+ currentActivity: ShepherdActivity;
229
+ currentTaskCount: Scalars["Float"]["output"];
230
+ flockEntities: Array<Scalars["String"]["output"]>;
231
+ flockHealthStatus: FlockHealthStatus;
232
+ flockMetrics: Maybe<Scalars["JSONObject"]["output"]>;
233
+ flockSize: Scalars["Float"]["output"];
234
+ healthMetrics: Maybe<Scalars["JSONObject"]["output"]>;
235
+ id: Scalars["ID"]["output"];
236
+ isAvailable: Scalars["Boolean"]["output"];
237
+ isHealthy: Scalars["Boolean"]["output"];
238
+ lastActivity: Maybe<Scalars["Date"]["output"]>;
239
+ lastFlockAssessment: Maybe<Scalars["Date"]["output"]>;
240
+ lastHeartbeat: Maybe<Scalars["Date"]["output"]>;
241
+ lastRestPeriod: Maybe<Scalars["Date"]["output"]>;
242
+ maxConcurrentTasks: Scalars["Float"]["output"];
243
+ metadata: Maybe<Scalars["JSONObject"]["output"]>;
244
+ needsRest: Scalars["Boolean"]["output"];
245
+ project: Maybe<Project>;
246
+ resourceLimits: Maybe<Scalars["JSONObject"]["output"]>;
247
+ scope: WorkerScope;
248
+ scopeId: Scalars["String"]["output"];
249
+ shepherdCapabilities: Maybe<Scalars["JSONObject"]["output"]>;
250
+ shepherdEffectiveness: Scalars["Float"]["output"];
251
+ shepherdExperience: Scalars["Float"]["output"];
252
+ shepherdPreferences: Maybe<Scalars["JSONObject"]["output"]>;
253
+ shepherdRole: ShepherdRole;
254
+ shepherdStamina: Scalars["Float"]["output"];
255
+ shepherdStatusDescription: Scalars["String"]["output"];
256
+ status: AiWorkerStatus;
257
+ team: Maybe<Team>;
258
+ updatedAt: Scalars["Date"]["output"];
259
+ uptimeSeconds: Scalars["Float"]["output"];
260
+ user: Maybe<User>;
261
+ utilizationPercentage: Scalars["Float"]["output"];
262
+ workerId: Scalars["String"]["output"];
263
+ workerName: Scalars["String"]["output"];
264
+ };
265
+
266
+ export type AiWorkerDisconnectionInfo = {
267
+ __typename: "AIWorkerDisconnectionInfo";
268
+ disconnectedAt: Scalars["Date"]["output"];
269
+ reason: Scalars["String"]["output"];
270
+ workerId: Scalars["String"]["output"];
271
+ };
272
+
273
+ export type AiWorkerDiscoveryFilter = {
274
+ availableOnly?: InputMaybe<Scalars["Boolean"]["input"]>;
275
+ capabilities?: InputMaybe<Array<WorkerCapability>>;
276
+ scope?: InputMaybe<WorkerScope>;
277
+ scopeId?: InputMaybe<Scalars["String"]["input"]>;
278
+ status?: InputMaybe<Array<AiWorkerStatus>>;
279
+ };
280
+
281
+ export type AiWorkerDiscoveryUpdate = {
282
+ __typename: "AIWorkerDiscoveryUpdate";
283
+ activeWorkers: Scalars["Float"]["output"];
284
+ availableCapabilities: Array<Scalars["String"]["output"]>;
285
+ totalWorkers: Scalars["Float"]["output"];
286
+ };
287
+
288
+ export type AiWorkerHealthCheckInput = {
289
+ cpuUsage?: InputMaybe<Scalars["Float"]["input"]>;
290
+ errorRate?: InputMaybe<Scalars["Float"]["input"]>;
291
+ isHealthy: Scalars["Boolean"]["input"];
292
+ localWorkState?: InputMaybe<Array<WorkStateItem>>;
293
+ memoryUsage?: InputMaybe<Scalars["Float"]["input"]>;
294
+ responseTime?: InputMaybe<Scalars["Float"]["input"]>;
295
+ workerId: Scalars["String"]["input"];
296
+ };
297
+
298
+ export type AiWorkerHealthStatus = {
299
+ __typename: "AIWorkerHealthStatus";
300
+ cpuUsage: Scalars["Float"]["output"];
301
+ errorRate: Scalars["Float"]["output"];
302
+ healthIssues: Array<Scalars["String"]["output"]>;
303
+ isHealthy: Scalars["Boolean"]["output"];
304
+ lastHealthCheck: Scalars["Date"]["output"];
305
+ memoryUsage: Scalars["Float"]["output"];
306
+ responseTime: Scalars["Float"]["output"];
307
+ workerId: Scalars["String"]["output"];
308
+ };
309
+
310
+ export type AiWorkerHeartbeatInput = {
311
+ cpuUsage?: InputMaybe<Scalars["Float"]["input"]>;
312
+ errorRate?: InputMaybe<Scalars["Float"]["input"]>;
313
+ isHealthy: Scalars["Boolean"]["input"];
314
+ memoryUsage?: InputMaybe<Scalars["Float"]["input"]>;
315
+ responseTime?: InputMaybe<Scalars["Float"]["input"]>;
316
+ workProgress?: InputMaybe<Array<WorkProgressUpdateInput>>;
317
+ workerId: Scalars["String"]["input"];
318
+ };
319
+
320
+ export type AiWorkerOperationResult = {
321
+ __typename: "AIWorkerOperationResult";
322
+ message: Maybe<Scalars["String"]["output"]>;
323
+ success: Scalars["Boolean"]["output"];
324
+ worker: Maybe<AiWorker>;
325
+ };
326
+
327
+ export type AiWorkerRegistration = {
328
+ __typename: "AIWorkerRegistration";
329
+ approvedBy: Maybe<User>;
330
+ createdAt: Scalars["Date"]["output"];
331
+ expiresAt: Maybe<Scalars["Date"]["output"]>;
332
+ id: Scalars["ID"]["output"];
333
+ isExpired: Scalars["Boolean"]["output"];
334
+ isProcessed: Scalars["Boolean"]["output"];
335
+ metadata: Maybe<Scalars["JSONObject"]["output"]>;
336
+ notes: Maybe<Scalars["String"]["output"]>;
337
+ processedAt: Maybe<Scalars["Date"]["output"]>;
338
+ processingTimeMs: Maybe<Scalars["Float"]["output"]>;
339
+ requestedBy: Maybe<User>;
340
+ status: RegistrationStatus;
341
+ updatedAt: Scalars["Date"]["output"];
342
+ worker: Maybe<AiWorker>;
343
+ workerId: Scalars["String"]["output"];
344
+ };
345
+
346
+ export type AiWorkerRegistrationInput = {
347
+ accessibleServices?: InputMaybe<Array<Scalars["String"]["input"]>>;
348
+ accessibleWorkspaces?: InputMaybe<Array<Scalars["String"]["input"]>>;
349
+ capabilities: Array<WorkerCapability>;
350
+ maxConcurrentTasks?: InputMaybe<Scalars["Float"]["input"]>;
351
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
352
+ scope: WorkerScope;
353
+ scopeId: Scalars["String"]["input"];
354
+ workerId: Scalars["String"]["input"];
355
+ workerName: Scalars["String"]["input"];
356
+ };
357
+
358
+ export type AiWorkerStatistics = {
359
+ __typename: "AIWorkerStatistics";
360
+ activeWorkers: Scalars["Float"]["output"];
361
+ availableCapabilities: Array<WorkerCapability>;
362
+ availableWorkers: Scalars["Float"]["output"];
363
+ busyWorkers: Scalars["Float"]["output"];
364
+ disconnectedWorkers: Scalars["Float"]["output"];
365
+ totalCapacity: Scalars["Float"]["output"];
366
+ totalWorkers: Scalars["Float"]["output"];
367
+ usedCapacity: Scalars["Float"]["output"];
368
+ utilizationPercentage: Scalars["Float"]["output"];
369
+ };
370
+
371
+ export enum AiWorkerStatus {
372
+ ACTIVE = "ACTIVE",
373
+ BUSY = "BUSY",
374
+ COORDINATING = "COORDINATING",
375
+ DEGRADED = "DEGRADED",
376
+ DISCONNECTED = "DISCONNECTED",
377
+ ERROR = "ERROR",
378
+ GUIDING_TASKS = "GUIDING_TASKS",
379
+ IDLE = "IDLE",
380
+ ON_PATROL = "ON_PATROL",
381
+ REGISTERING = "REGISTERING",
382
+ RESTING = "RESTING",
383
+ TRAINING = "TRAINING",
384
+ WATCHING_FLOCK = "WATCHING_FLOCK",
385
+ }
386
+
387
+ export type ApiVersionInfo = {
388
+ __typename: "APIVersionInfo";
389
+ buildTimestamp: Scalars["String"]["output"];
390
+ commitHash: Maybe<Scalars["String"]["output"]>;
391
+ deprecationWarnings: Array<DeprecationWarning>;
392
+ minSupportedAgentVersion: Scalars["String"]["output"];
393
+ supportedFeatures: Array<Scalars["String"]["output"]>;
394
+ version: Scalars["String"]["output"];
395
+ };
396
+
397
+ export type AcceptOrganizationInviteInput = {
398
+ acceptedTerms?: InputMaybe<Scalars["Boolean"]["input"]>;
399
+ ageVerified: Scalars["Boolean"]["input"];
400
+ firstName: Scalars["String"]["input"];
401
+ inviteToken: Scalars["String"]["input"];
402
+ lastName: Scalars["String"]["input"];
403
+ organizationName: Scalars["String"]["input"];
404
+ organizationSubdomain: Scalars["String"]["input"];
405
+ password: Scalars["String"]["input"];
406
+ };
407
+
408
+ export type ActivityMetric = {
409
+ __typename: "ActivityMetric";
410
+ activeUsers: Scalars["Int"]["output"];
411
+ attachmentsUploaded: Scalars["Int"]["output"];
412
+ commentsAdded: Scalars["Int"]["output"];
413
+ date: Scalars["Date"]["output"];
414
+ storiesCompleted: Scalars["Int"]["output"];
415
+ storiesCreated: Scalars["Int"]["output"];
416
+ tasksCompleted: Scalars["Int"]["output"];
417
+ tasksCreated: Scalars["Int"]["output"];
418
+ };
419
+
420
+ export type AddTeamMemberInput = {
421
+ roleId: Scalars["String"]["input"];
422
+ teamId: Scalars["String"]["input"];
423
+ userId: Scalars["String"]["input"];
424
+ };
425
+
426
+ export type AgentConfiguration = {
427
+ __typename: "AgentConfiguration";
428
+ priorityFilters: Maybe<PriorityFilters>;
429
+ };
430
+
431
+ export type AgentConfigurationInput = {
432
+ priorityFilters?: InputMaybe<PriorityFiltersInput>;
433
+ };
434
+
435
+ export type AnalysisInput = {
436
+ opportunities: Array<OpportunityInput>;
437
+ risks: Array<RiskInput>;
438
+ strengths: Array<StrengthInput>;
439
+ weaknesses: Array<WeaknessInput>;
440
+ };
441
+
442
+ export type AnalyticsFilter = {
443
+ endDate?: InputMaybe<Scalars["Date"]["input"]>;
444
+ includeInactive?: InputMaybe<Scalars["Boolean"]["input"]>;
445
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
446
+ startDate?: InputMaybe<Scalars["Date"]["input"]>;
447
+ teamId?: InputMaybe<Scalars["String"]["input"]>;
448
+ userId?: InputMaybe<Scalars["String"]["input"]>;
449
+ };
450
+
451
+ export enum ApiKeyScope {
452
+ ORGANIZATION = "ORGANIZATION",
453
+ USER = "USER",
454
+ }
455
+
456
+ export enum ApiKeyType {
457
+ AGENT = "AGENT",
458
+ INTEGRATION = "INTEGRATION",
459
+ SERVICE = "SERVICE",
460
+ USER = "USER",
461
+ WEBHOOK = "WEBHOOK",
462
+ }
463
+
464
+ export type ApiKeyWithSecret = {
465
+ __typename: "ApiKeyWithSecret";
466
+ agentConfiguration: Maybe<AgentConfiguration>;
467
+ createdAt: Scalars["Date"]["output"];
468
+ createdBy: Maybe<User>;
469
+ id: Scalars["String"]["output"];
470
+ key: Scalars["String"]["output"];
471
+ keyType: ApiKeyType;
472
+ lastUsed: Maybe<Scalars["Date"]["output"]>;
473
+ name: Scalars["String"]["output"];
474
+ scope: ApiKeyScope;
475
+ userId: Scalars["String"]["output"];
476
+ };
477
+
478
+ export type ApplicationProgress = {
479
+ __typename: "ApplicationProgress";
480
+ currentStep: Scalars["String"]["output"];
481
+ estimatedCompletion: Maybe<Scalars["Date"]["output"]>;
482
+ filesModified: Array<Scalars["String"]["output"]>;
483
+ percentage: Scalars["Float"]["output"];
484
+ requirementsProgressJson: Maybe<Scalars["String"]["output"]>;
485
+ stage: Scalars["String"]["output"];
486
+ };
487
+
488
+ export type ApplicationQueueItem = {
489
+ __typename: "ApplicationQueueItem";
490
+ completedAt: Maybe<Scalars["Date"]["output"]>;
491
+ createdAt: Scalars["Date"]["output"];
492
+ estimatedDuration: Maybe<Scalars["Float"]["output"]>;
493
+ id: Scalars["String"]["output"];
494
+ priority: Scalars["Float"]["output"];
495
+ progress: Maybe<ApplicationProgress>;
496
+ projectId: Scalars["String"]["output"];
497
+ projectName: Scalars["String"]["output"];
498
+ queuePosition: Scalars["Float"]["output"];
499
+ reviewId: Scalars["String"]["output"];
500
+ startedAt: Maybe<Scalars["Date"]["output"]>;
501
+ status: ApplicationStatus;
502
+ };
503
+
504
+ /** Status of a review application */
505
+ export enum ApplicationStatus {
506
+ CANCELLED = "CANCELLED",
507
+ COMPLETED = "COMPLETED",
508
+ FAILED = "FAILED",
509
+ IN_PROGRESS = "IN_PROGRESS",
510
+ NOT_APPLICABLE = "NOT_APPLICABLE",
511
+ PENDING = "PENDING",
512
+ QUEUED = "QUEUED",
513
+ }
514
+
515
+ export type ApplyReviewInput = {
516
+ applicationPrompt?: InputMaybe<Scalars["String"]["input"]>;
517
+ customInstructions?: InputMaybe<Scalars["String"]["input"]>;
518
+ focusAreas?: InputMaybe<Array<Scalars["String"]["input"]>>;
519
+ reviewId: Scalars["String"]["input"];
520
+ validatedRequirementsJson?: InputMaybe<Scalars["String"]["input"]>;
521
+ };
522
+
523
+ export type ApproveProjectReviewInput = {
524
+ approvalNotes?: InputMaybe<Scalars["String"]["input"]>;
525
+ approved: Scalars["Boolean"]["input"];
526
+ reviewId: Scalars["String"]["input"];
527
+ };
528
+
529
+ export type Attachment = {
530
+ __typename: "Attachment";
531
+ createdAt: Scalars["Date"]["output"];
532
+ createdByUser: Maybe<User>;
533
+ duration: Maybe<Scalars["Int"]["output"]>;
534
+ fileExtension: Scalars["String"]["output"];
535
+ fileSize: Scalars["Int"]["output"];
536
+ fileSizeFormatted: Scalars["String"]["output"];
537
+ filename: Scalars["String"]["output"];
538
+ height: Maybe<Scalars["Int"]["output"]>;
539
+ id: Scalars["ID"]["output"];
540
+ isAudio: Scalars["Boolean"]["output"];
541
+ isDocument: Scalars["Boolean"]["output"];
542
+ isImage: Scalars["Boolean"]["output"];
543
+ isPublic: Scalars["Boolean"]["output"];
544
+ isVideo: Scalars["Boolean"]["output"];
545
+ mimeType: Scalars["String"]["output"];
546
+ originalFilename: Scalars["String"]["output"];
547
+ storageProvider: Scalars["String"]["output"];
548
+ story: Maybe<Story>;
549
+ task: Maybe<Task>;
550
+ updatedAt: Scalars["Date"]["output"];
551
+ updatedByUser: Maybe<User>;
552
+ width: Maybe<Scalars["Int"]["output"]>;
553
+ };
554
+
555
+ export type AttachmentSearchInput = {
556
+ createdBy?: InputMaybe<Scalars["String"]["input"]>;
557
+ isDocument?: InputMaybe<Scalars["Boolean"]["input"]>;
558
+ isImage?: InputMaybe<Scalars["Boolean"]["input"]>;
559
+ isVideo?: InputMaybe<Scalars["Boolean"]["input"]>;
560
+ mimeType?: InputMaybe<Scalars["String"]["input"]>;
561
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
562
+ taskId?: InputMaybe<Scalars["String"]["input"]>;
563
+ };
564
+
565
+ export enum AuditAction {
566
+ ASSIGNED = "ASSIGNED",
567
+ CREATED = "CREATED",
568
+ DELETED = "DELETED",
569
+ STATE_CHANGED = "STATE_CHANGED",
570
+ UNASSIGNED = "UNASSIGNED",
571
+ UPDATED = "UPDATED",
572
+ }
573
+
574
+ /** Type of audit action performed on work item */
575
+ export enum AuditActionType {
576
+ CANCELLED = "CANCELLED",
577
+ CLAIMED = "CLAIMED",
578
+ COMPLETED = "COMPLETED",
579
+ CREATED = "CREATED",
580
+ FAILED = "FAILED",
581
+ PROGRESS_UPDATED = "PROGRESS_UPDATED",
582
+ REASSIGNED = "REASSIGNED",
583
+ RECLAIMED = "RECLAIMED",
584
+ RELEASED = "RELEASED",
585
+ RETRY = "RETRY",
586
+ STARTED = "STARTED",
587
+ TIMEOUT = "TIMEOUT",
588
+ }
589
+
590
+ export type AuditActionTypeCount = {
591
+ __typename: "AuditActionTypeCount";
592
+ actionType: AuditActionType;
593
+ count: Scalars["Int"]["output"];
594
+ };
595
+
596
+ export type AuditActorCount = {
597
+ __typename: "AuditActorCount";
598
+ actorId: Scalars["String"]["output"];
599
+ count: Scalars["Int"]["output"];
600
+ };
601
+
602
+ /** Type of actor that performed the audit action */
603
+ export enum AuditActorType {
604
+ ADMIN = "ADMIN",
605
+ AI_WORKER = "AI_WORKER",
606
+ SYSTEM = "SYSTEM",
607
+ USER = "USER",
608
+ }
609
+
610
+ export type AuditActorTypeCount = {
611
+ __typename: "AuditActorTypeCount";
612
+ actorType: AuditActorType;
613
+ count: Scalars["Int"]["output"];
614
+ };
615
+
616
+ export type AuditLogResult = {
617
+ __typename: "AuditLogResult";
618
+ audit: Maybe<AiWorkAudit>;
619
+ message: Maybe<Scalars["String"]["output"]>;
620
+ success: Scalars["Boolean"]["output"];
621
+ };
622
+
623
+ export type AuditSearchInput = {
624
+ actionType?: InputMaybe<AuditActionType>;
625
+ actorId?: InputMaybe<Scalars["String"]["input"]>;
626
+ actorType?: InputMaybe<AuditActorType>;
627
+ dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
628
+ dateTo?: InputMaybe<Scalars["Date"]["input"]>;
629
+ hasErrors?: InputMaybe<Scalars["Boolean"]["input"]>;
630
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
631
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
632
+ source?: InputMaybe<Scalars["String"]["input"]>;
633
+ userId?: InputMaybe<Scalars["String"]["input"]>;
634
+ workItemId?: InputMaybe<Scalars["String"]["input"]>;
635
+ };
636
+
637
+ export type AuditSearchResult = {
638
+ __typename: "AuditSearchResult";
639
+ hasMore: Scalars["Boolean"]["output"];
640
+ items: Array<AiWorkAudit>;
641
+ limit: Scalars["Int"]["output"];
642
+ offset: Scalars["Int"]["output"];
643
+ total: Scalars["Int"]["output"];
644
+ };
645
+
646
+ export type AuditSourceCount = {
647
+ __typename: "AuditSourceCount";
648
+ count: Scalars["Int"]["output"];
649
+ source: Scalars["String"]["output"];
650
+ };
651
+
652
+ export type AuditStatsResult = {
653
+ __typename: "AuditStatsResult";
654
+ actionTypeCounts: Array<AuditActionTypeCount>;
655
+ actorTypeCounts: Array<AuditActorTypeCount>;
656
+ averageDuration: Scalars["Float"]["output"];
657
+ errorRate: Scalars["Float"]["output"];
658
+ topActors: Array<AuditActorCount>;
659
+ topSources: Array<AuditSourceCount>;
660
+ totalActions: Scalars["Int"]["output"];
661
+ };
662
+
663
+ export type AuditTrail = {
664
+ __typename: "AuditTrail";
665
+ action: AuditAction;
666
+ createdAt: Scalars["Date"]["output"];
667
+ createdByUser: Maybe<User>;
668
+ entityId: Scalars["String"]["output"];
669
+ entityType: Scalars["String"]["output"];
670
+ fieldName: Maybe<Scalars["String"]["output"]>;
671
+ id: Scalars["ID"]["output"];
672
+ isAssignment: Scalars["Boolean"]["output"];
673
+ isCreation: Scalars["Boolean"]["output"];
674
+ isDeletion: Scalars["Boolean"]["output"];
675
+ isStateChange: Scalars["Boolean"]["output"];
676
+ isUpdate: Scalars["Boolean"]["output"];
677
+ metadata: Maybe<Scalars["JSONObject"]["output"]>;
678
+ newValue: Maybe<Scalars["JSONObject"]["output"]>;
679
+ oldValue: Maybe<Scalars["JSONObject"]["output"]>;
680
+ updatedAt: Scalars["Date"]["output"];
681
+ user: Maybe<User>;
682
+ };
683
+
684
+ export type AuthPayload = {
685
+ __typename: "AuthPayload";
686
+ refreshToken: Maybe<Scalars["String"]["output"]>;
687
+ token: Scalars["String"]["output"];
688
+ user: User;
689
+ };
690
+
691
+ export type BulkInviteUsersInput = {
692
+ emails: Array<Scalars["String"]["input"]>;
693
+ expiresInDays?: InputMaybe<Scalars["Float"]["input"]>;
694
+ message?: InputMaybe<Scalars["String"]["input"]>;
695
+ roleId: Scalars["String"]["input"];
696
+ teamId?: InputMaybe<Scalars["String"]["input"]>;
697
+ };
698
+
699
+ export type BulkOperationResult = {
700
+ __typename: "BulkOperationResult";
701
+ errors: Array<Scalars["String"]["output"]>;
702
+ failedOperations: Scalars["Float"]["output"];
703
+ successfulOperations: Scalars["Float"]["output"];
704
+ totalOperations: Scalars["Float"]["output"];
705
+ };
706
+
707
+ export type ChangePasswordInput = {
708
+ currentPassword: Scalars["String"]["input"];
709
+ newPassword: Scalars["String"]["input"];
710
+ };
711
+
712
+ export type ClarificationQuestionType = {
713
+ __typename: "ClarificationQuestionType";
714
+ category: Scalars["String"]["output"];
715
+ impact_if_unclear: Scalars["String"]["output"];
716
+ question: Scalars["String"]["output"];
717
+ suggested_default: Scalars["String"]["output"];
718
+ };
719
+
720
+ export type Comment = {
721
+ __typename: "Comment";
722
+ canDelete: Scalars["Boolean"]["output"];
723
+ canEdit: Scalars["Boolean"]["output"];
724
+ canReply: Scalars["Boolean"]["output"];
725
+ content: Scalars["String"]["output"];
726
+ contentHtml: Maybe<Scalars["String"]["output"]>;
727
+ createdAt: Scalars["Date"]["output"];
728
+ createdByUser: Maybe<User>;
729
+ editedAt: Maybe<Scalars["Date"]["output"]>;
730
+ hasReplies: Scalars["Boolean"]["output"];
731
+ id: Scalars["ID"]["output"];
732
+ isEdited: Scalars["Boolean"]["output"];
733
+ isReply: Scalars["Boolean"]["output"];
734
+ isTopLevel: Scalars["Boolean"]["output"];
735
+ parentComment: Maybe<Comment>;
736
+ replies: Array<Comment>;
737
+ replyCount: Scalars["Float"]["output"];
738
+ story: Maybe<Story>;
739
+ task: Maybe<Task>;
740
+ threadDepth: Scalars["Int"]["output"];
741
+ updatedAt: Scalars["Date"]["output"];
742
+ updatedByUser: Maybe<User>;
743
+ };
744
+
745
+ export type CommentSearchInput = {
746
+ includeReplies?: InputMaybe<Scalars["Boolean"]["input"]>;
747
+ parentOnly?: InputMaybe<Scalars["Boolean"]["input"]>;
748
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
749
+ taskId?: InputMaybe<Scalars["String"]["input"]>;
750
+ };
751
+
752
+ export type CommentThread = {
753
+ __typename: "CommentThread";
754
+ comments: Array<CommentWithThread>;
755
+ topLevelCount: Scalars["Int"]["output"];
756
+ totalCount: Scalars["Int"]["output"];
757
+ };
758
+
759
+ export type CommentWithThread = {
760
+ __typename: "CommentWithThread";
761
+ comment: Comment;
762
+ depth: Scalars["Int"]["output"];
763
+ replies: Array<Comment>;
764
+ totalReplies: Scalars["Int"]["output"];
765
+ };
766
+
767
+ export type CreateAiServiceSessionInput = {
768
+ capabilitiesJson: Scalars["String"]["input"];
769
+ serviceEndpoint: Scalars["String"]["input"];
770
+ sessionToken: Scalars["String"]["input"];
771
+ };
772
+
773
+ export type CreateApiKeyInput = {
774
+ agentConfiguration?: InputMaybe<AgentConfigurationInput>;
775
+ expiresAt?: InputMaybe<Scalars["Date"]["input"]>;
776
+ keyType: ApiKeyType;
777
+ name: Scalars["String"]["input"];
778
+ scope: ApiKeyScope;
779
+ };
780
+
781
+ export type CreateAttachmentInput = {
782
+ duration?: InputMaybe<Scalars["Float"]["input"]>;
783
+ fileSize: Scalars["Float"]["input"];
784
+ filename: Scalars["String"]["input"];
785
+ height?: InputMaybe<Scalars["Float"]["input"]>;
786
+ isPublic?: Scalars["Boolean"]["input"];
787
+ mimeType: Scalars["String"]["input"];
788
+ originalFilename: Scalars["String"]["input"];
789
+ storagePath: Scalars["String"]["input"];
790
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
791
+ taskId?: InputMaybe<Scalars["String"]["input"]>;
792
+ width?: InputMaybe<Scalars["Float"]["input"]>;
793
+ };
794
+
795
+ export type CreateAuditLogInput = {
796
+ actionType: AuditActionType;
797
+ actorId?: InputMaybe<Scalars["String"]["input"]>;
798
+ actorType: AuditActorType;
799
+ details?: InputMaybe<Scalars["String"]["input"]>;
800
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
801
+ reason: Scalars["String"]["input"];
802
+ source?: InputMaybe<Scalars["String"]["input"]>;
803
+ workItemId: Scalars["String"]["input"];
804
+ };
805
+
806
+ export type CreateCommentInput = {
807
+ content: Scalars["String"]["input"];
808
+ parentCommentId?: InputMaybe<Scalars["String"]["input"]>;
809
+ storyId: Scalars["String"]["input"];
810
+ };
811
+
812
+ export type CreateDevelopmentPlanInput = {
813
+ createdByUserId?: InputMaybe<Scalars["String"]["input"]>;
814
+ dependenciesJson: Scalars["String"]["input"];
815
+ estimatesJson: Scalars["String"]["input"];
816
+ planDataJson: Scalars["String"]["input"];
817
+ projectId: Scalars["String"]["input"];
818
+ };
819
+
820
+ export type CreateDevelopmentPlanVersionInput = {
821
+ createdByUserId?: InputMaybe<Scalars["String"]["input"]>;
822
+ dependenciesJson: Scalars["String"]["input"];
823
+ estimatesJson: Scalars["String"]["input"];
824
+ parentPlanId: Scalars["String"]["input"];
825
+ planDataJson: Scalars["String"]["input"];
826
+ repromptContext?: InputMaybe<Scalars["String"]["input"]>;
827
+ versionNotes?: InputMaybe<Scalars["String"]["input"]>;
828
+ };
829
+
830
+ export type CreateInviteFromEarlyAccessInput = {
831
+ earlyAccessId: Scalars["String"]["input"];
832
+ expiresInDays?: InputMaybe<Scalars["Float"]["input"]>;
833
+ message?: InputMaybe<Scalars["String"]["input"]>;
834
+ };
835
+
836
+ export type CreateOrganizationInviteInput = {
837
+ companySize?: InputMaybe<Scalars["String"]["input"]>;
838
+ email: Scalars["String"]["input"];
839
+ expiresInDays?: InputMaybe<Scalars["Float"]["input"]>;
840
+ features: Array<Scalars["String"]["input"]>;
841
+ message?: InputMaybe<Scalars["String"]["input"]>;
842
+ useCase?: InputMaybe<Scalars["String"]["input"]>;
843
+ };
844
+
845
+ export type CreateProjectInput = {
846
+ affectedServiceIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
847
+ description?: InputMaybe<Scalars["String"]["input"]>;
848
+ documentationUrl?: InputMaybe<Scalars["String"]["input"]>;
849
+ isPublic?: InputMaybe<Scalars["Boolean"]["input"]>;
850
+ name: Scalars["String"]["input"];
851
+ repositoryUrl?: InputMaybe<Scalars["String"]["input"]>;
852
+ stage?: InputMaybe<ProjectStage>;
853
+ startDate?: InputMaybe<Scalars["Date"]["input"]>;
854
+ targetCompletionDate?: InputMaybe<Scalars["Date"]["input"]>;
855
+ workspaceConfig?: InputMaybe<Scalars["JSONObject"]["input"]>;
856
+ workspaceIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
857
+ };
858
+
859
+ export type CreateReplyInput = {
860
+ content: Scalars["String"]["input"];
861
+ parentCommentId: Scalars["String"]["input"];
862
+ };
863
+
864
+ export type CreateRoleInput = {
865
+ description?: InputMaybe<Scalars["String"]["input"]>;
866
+ name: Scalars["String"]["input"];
867
+ permissions: Scalars["JSONObject"]["input"];
868
+ };
869
+
870
+ export type CreateStoryDependencyInput = {
871
+ dependsOnStoryId: Scalars["String"]["input"];
872
+ storyId: Scalars["String"]["input"];
873
+ };
874
+
875
+ export type CreateStoryInput = {
876
+ acceptanceCriteria?: InputMaybe<Array<Scalars["String"]["input"]>>;
877
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
878
+ description?: InputMaybe<Scalars["String"]["input"]>;
879
+ estimate?: InputMaybe<Scalars["Int"]["input"]>;
880
+ orderIndex?: InputMaybe<Scalars["Int"]["input"]>;
881
+ priority?: InputMaybe<PriorityLevel>;
882
+ projectId: Scalars["String"]["input"];
883
+ storyLink?: InputMaybe<Scalars["String"]["input"]>;
884
+ tags?: InputMaybe<Array<Scalars["String"]["input"]>>;
885
+ title: Scalars["String"]["input"];
886
+ };
887
+
888
+ export type CreateTaskInput = {
889
+ areas: Array<Scalars["String"]["input"]>;
890
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
891
+ description?: InputMaybe<Scalars["String"]["input"]>;
892
+ dueDate?: InputMaybe<Scalars["Date"]["input"]>;
893
+ estimate?: InputMaybe<Scalars["Int"]["input"]>;
894
+ estimatedHours?: InputMaybe<Scalars["Int"]["input"]>;
895
+ priority?: InputMaybe<PriorityLevel>;
896
+ status?: InputMaybe<TaskState>;
897
+ storyId: Scalars["String"]["input"];
898
+ title: Scalars["String"]["input"];
899
+ type?: InputMaybe<TaskType>;
900
+ };
901
+
902
+ export type CreateTeamInput = {
903
+ description?: InputMaybe<Scalars["String"]["input"]>;
904
+ name: Scalars["String"]["input"];
905
+ settings?: InputMaybe<Scalars["JSONObject"]["input"]>;
906
+ };
907
+
908
+ export type CreateUserInput = {
909
+ email: Scalars["String"]["input"];
910
+ firstName?: InputMaybe<Scalars["String"]["input"]>;
911
+ lastName?: InputMaybe<Scalars["String"]["input"]>;
912
+ role?: InputMaybe<UserRole>;
913
+ status?: InputMaybe<UserStatus>;
914
+ timezone?: InputMaybe<Scalars["String"]["input"]>;
915
+ };
916
+
917
+ export type DashboardData = {
918
+ __typename: "DashboardData";
919
+ projectProgress: Array<ProgressMetric>;
920
+ recentActivity: Array<ActivityMetric>;
921
+ teamPerformance: Array<TeamPerformance>;
922
+ topPerformers: Array<UserStats>;
923
+ topProjects: Array<ProjectStats>;
924
+ velocityTrend: Array<VelocityMetric>;
925
+ workspaceStats: WorkspaceStats;
926
+ };
927
+
928
+ export type DeprecationWarning = {
929
+ __typename: "DeprecationWarning";
930
+ deprecatedInVersion: Scalars["String"]["output"];
931
+ feature: Scalars["String"]["output"];
932
+ message: Scalars["String"]["output"];
933
+ removedInVersion: Scalars["String"]["output"];
934
+ };
935
+
936
+ export type DevelopmentPlan = {
937
+ __typename: "DevelopmentPlan";
938
+ activatedAt: Maybe<Scalars["Date"]["output"]>;
939
+ activatedByUser: Maybe<User>;
940
+ activationNotes: Maybe<Scalars["String"]["output"]>;
941
+ approvalNotes: Maybe<Scalars["String"]["output"]>;
942
+ approvedAt: Maybe<Scalars["Date"]["output"]>;
943
+ approvedByUser: Maybe<User>;
944
+ averageConfidence: Scalars["Float"]["output"];
945
+ childVersionCount: Scalars["Int"]["output"];
946
+ childVersions: Array<DevelopmentPlan>;
947
+ coordinatedServices: Array<Scalars["String"]["output"]>;
948
+ createdAt: Scalars["Date"]["output"];
949
+ createdByUser: Maybe<User>;
950
+ criticalPathLength: Scalars["Float"]["output"];
951
+ dependenciesJson: Scalars["String"]["output"];
952
+ estimatesJson: Scalars["String"]["output"];
953
+ generatedBy: PlanGeneratedBy;
954
+ hasChildVersions: Scalars["Boolean"]["output"];
955
+ id: Scalars["ID"]["output"];
956
+ isAIGenerated: Scalars["Boolean"]["output"];
957
+ isActive: Scalars["Boolean"]["output"];
958
+ isApproved: Scalars["Boolean"]["output"];
959
+ isDraft: Scalars["Boolean"]["output"];
960
+ isLatestVersion: Scalars["Boolean"]["output"];
961
+ isOriginalVersion: Scalars["Boolean"]["output"];
962
+ parentPlan: Maybe<DevelopmentPlan>;
963
+ phaseCount: Scalars["Float"]["output"];
964
+ planDataJson: Scalars["String"]["output"];
965
+ project: Project;
966
+ rejectedAt: Maybe<Scalars["Date"]["output"]>;
967
+ rejectedByUser: Maybe<User>;
968
+ rejectionReason: Maybe<Scalars["String"]["output"]>;
969
+ repromptContext: Maybe<Scalars["String"]["output"]>;
970
+ requestedByUser: Maybe<User>;
971
+ status: PlanStatus;
972
+ storyCount: Scalars["Float"]["output"];
973
+ targetWorkspaces: Array<Scalars["String"]["output"]>;
974
+ totalEstimatedDays: Scalars["Float"]["output"];
975
+ totalEstimatedHours: Scalars["Float"]["output"];
976
+ updatedAt: Scalars["Date"]["output"];
977
+ version: Scalars["Int"]["output"];
978
+ versionNotes: Maybe<Scalars["String"]["output"]>;
979
+ };
980
+
981
+ export type DevelopmentPlanAuditLog = {
982
+ __typename: "DevelopmentPlanAuditLog";
983
+ action: PlanAuditAction;
984
+ createdAt: Scalars["Date"]["output"];
985
+ description: Maybe<Scalars["String"]["output"]>;
986
+ id: Scalars["ID"]["output"];
987
+ metadataJson: Maybe<Scalars["String"]["output"]>;
988
+ notes: Maybe<Scalars["String"]["output"]>;
989
+ performedBy: Maybe<User>;
990
+ plan: DevelopmentPlan;
991
+ planVersion: Maybe<Scalars["Float"]["output"]>;
992
+ timestamp: Scalars["Date"]["output"];
993
+ updatedAt: Scalars["Date"]["output"];
994
+ };
995
+
996
+ export type DevelopmentPlanSearchInput = {
997
+ createdByUserId?: InputMaybe<Scalars["String"]["input"]>;
998
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
999
+ status?: InputMaybe<PlanStatus>;
1000
+ };
1001
+
1002
+ export type EarlyAccessRegistration = {
1003
+ __typename: "EarlyAccessRegistration";
1004
+ acceptedTerms: Scalars["Boolean"]["output"];
1005
+ ageVerified: Scalars["Boolean"]["output"];
1006
+ aiTools: Array<Scalars["String"]["output"]>;
1007
+ comments: Maybe<Scalars["String"]["output"]>;
1008
+ companyName: Maybe<Scalars["String"]["output"]>;
1009
+ contactName: Maybe<Scalars["String"]["output"]>;
1010
+ createdAt: Scalars["Date"]["output"];
1011
+ currentTools: Array<Scalars["String"]["output"]>;
1012
+ email: Scalars["String"]["output"];
1013
+ id: Scalars["ID"]["output"];
1014
+ inviteSentAt: Maybe<Scalars["Date"]["output"]>;
1015
+ inviteToken: Maybe<Scalars["String"]["output"]>;
1016
+ notes: Maybe<Scalars["String"]["output"]>;
1017
+ organizationInviteId: Maybe<Scalars["String"]["output"]>;
1018
+ painPoints: Array<Scalars["String"]["output"]>;
1019
+ primaryLanguages: Array<Scalars["String"]["output"]>;
1020
+ projectTypes: Array<Scalars["String"]["output"]>;
1021
+ repoStructure: Maybe<Scalars["String"]["output"]>;
1022
+ role: Maybe<Scalars["String"]["output"]>;
1023
+ serviceCount: Maybe<Scalars["String"]["output"]>;
1024
+ status: Scalars["String"]["output"];
1025
+ subscribeToNewsletter: Maybe<Scalars["Boolean"]["output"]>;
1026
+ teamSize: Maybe<Scalars["String"]["output"]>;
1027
+ updatedAt: Scalars["Date"]["output"];
1028
+ };
1029
+
1030
+ /** Error categories for analysis */
1031
+ export enum ErrorCategory {
1032
+ CONFIGURATION = "CONFIGURATION",
1033
+ PERMANENT = "PERMANENT",
1034
+ SYSTEM = "SYSTEM",
1035
+ TRANSIENT = "TRANSIENT",
1036
+ }
1037
+
1038
+ /** Error severity levels */
1039
+ export enum ErrorSeverity {
1040
+ CRITICAL = "CRITICAL",
1041
+ HIGH = "HIGH",
1042
+ LOW = "LOW",
1043
+ MEDIUM = "MEDIUM",
1044
+ }
1045
+
1046
+ export type ExplicitRequirementInput = {
1047
+ confidence: Scalars["String"]["input"];
1048
+ requirement: Scalars["String"]["input"];
1049
+ source_text: Scalars["String"]["input"];
1050
+ };
1051
+
1052
+ export type ExplicitRequirementType = {
1053
+ __typename: "ExplicitRequirementType";
1054
+ confidence: Scalars["String"]["output"];
1055
+ requirement: Scalars["String"]["output"];
1056
+ source_text: Scalars["String"]["output"];
1057
+ };
1058
+
1059
+ export type FileDownloadResponse = {
1060
+ __typename: "FileDownloadResponse";
1061
+ fileSize: Scalars["Float"]["output"];
1062
+ filename: Scalars["String"]["output"];
1063
+ mimeType: Scalars["String"]["output"];
1064
+ url: Scalars["String"]["output"];
1065
+ };
1066
+
1067
+ export type FileModificationInput = {
1068
+ change_type: Scalars["String"]["input"];
1069
+ path: Scalars["String"]["input"];
1070
+ summary: Scalars["String"]["input"];
1071
+ };
1072
+
1073
+ export enum FlockHealthStatus {
1074
+ CRITICAL = "CRITICAL",
1075
+ HEALTHY = "HEALTHY",
1076
+ STABLE = "STABLE",
1077
+ STRESSED = "STRESSED",
1078
+ STRUGGLING = "STRUGGLING",
1079
+ THRIVING = "THRIVING",
1080
+ }
1081
+
1082
+ export type GenerateStoriesFromPlanResult = {
1083
+ __typename: "GenerateStoriesFromPlanResult";
1084
+ message: Scalars["String"]["output"];
1085
+ stories: Array<Story>;
1086
+ storiesCreated: Scalars["Int"]["output"];
1087
+ success: Scalars["Boolean"]["output"];
1088
+ tasks: Array<Task>;
1089
+ tasksCreated: Scalars["Int"]["output"];
1090
+ };
1091
+
1092
+ export type ImplementationPlanInput = {
1093
+ analysis: AnalysisInput;
1094
+ analysis_type: Scalars["String"]["input"];
1095
+ executive_summary: Scalars["String"]["input"];
1096
+ metadata: MetadataInput;
1097
+ project_id: Scalars["String"]["input"];
1098
+ recommendations: Array<RecommendationInput>;
1099
+ scores: ScoresInput;
1100
+ suggested_product_requirements: ProductRequirementsInput;
1101
+ timeline: TimelineInput;
1102
+ };
1103
+
1104
+ export type InferredFunctionalRequirementInput = {
1105
+ domain_pattern: Scalars["String"]["input"];
1106
+ priority: Scalars["String"]["input"];
1107
+ rationale: Scalars["String"]["input"];
1108
+ requirement: Scalars["String"]["input"];
1109
+ };
1110
+
1111
+ export type InferredRequirementType = {
1112
+ __typename: "InferredRequirementType";
1113
+ domain_pattern: Scalars["String"]["output"];
1114
+ priority: Scalars["String"]["output"];
1115
+ rationale: Scalars["String"]["output"];
1116
+ requirement: Scalars["String"]["output"];
1117
+ };
1118
+
1119
+ export type InvitationPayload = {
1120
+ __typename: "InvitationPayload";
1121
+ error: Maybe<Scalars["String"]["output"]>;
1122
+ invitationId: Scalars["String"]["output"];
1123
+ success: Scalars["Boolean"]["output"];
1124
+ };
1125
+
1126
+ export enum InvitationStatus {
1127
+ ACCEPTED = "ACCEPTED",
1128
+ DECLINED = "DECLINED",
1129
+ EXPIRED = "EXPIRED",
1130
+ PENDING = "PENDING",
1131
+ }
1132
+
1133
+ export type InviteResponse = {
1134
+ __typename: "InviteResponse";
1135
+ error: Maybe<Scalars["String"]["output"]>;
1136
+ inviteToken: Maybe<Scalars["String"]["output"]>;
1137
+ inviteUrl: Maybe<Scalars["String"]["output"]>;
1138
+ success: Scalars["Boolean"]["output"];
1139
+ };
1140
+
1141
+ export type InviteUserInput = {
1142
+ email: Scalars["String"]["input"];
1143
+ expiresInDays?: InputMaybe<Scalars["Float"]["input"]>;
1144
+ message?: InputMaybe<Scalars["String"]["input"]>;
1145
+ roleId: Scalars["String"]["input"];
1146
+ teamId?: InputMaybe<Scalars["String"]["input"]>;
1147
+ };
1148
+
1149
+ export type LoginInput = {
1150
+ email: Scalars["String"]["input"];
1151
+ password: Scalars["String"]["input"];
1152
+ };
1153
+
1154
+ export type LoginPayload = {
1155
+ __typename: "LoginPayload";
1156
+ expiresIn: Scalars["String"]["output"];
1157
+ refreshToken: Maybe<Scalars["String"]["output"]>;
1158
+ token: Scalars["String"]["output"];
1159
+ tokenType: Scalars["String"]["output"];
1160
+ user: User;
1161
+ };
1162
+
1163
+ export type LogoutPayload = {
1164
+ __typename: "LogoutPayload";
1165
+ message: Scalars["String"]["output"];
1166
+ success: Scalars["Boolean"]["output"];
1167
+ };
1168
+
1169
+ export type McpAgentOperationResult = {
1170
+ __typename: "MCPAgentOperationResult";
1171
+ analysisId: Maybe<Scalars["String"]["output"]>;
1172
+ message: Scalars["String"]["output"];
1173
+ planId: Maybe<Scalars["String"]["output"]>;
1174
+ success: Scalars["Boolean"]["output"];
1175
+ taskId: Maybe<Scalars["String"]["output"]>;
1176
+ };
1177
+
1178
+ export type MetadataInput = {
1179
+ analysis_duration_seconds: Scalars["Float"]["input"];
1180
+ analysis_timestamp: Scalars["String"]["input"];
1181
+ claude_model: Scalars["String"]["input"];
1182
+ confidence_level: Scalars["Float"]["input"];
1183
+ reviewer_notes?: InputMaybe<Scalars["String"]["input"]>;
1184
+ };
1185
+
1186
+ export type Mutation = {
1187
+ __typename: "Mutation";
1188
+ acceptOrganizationInvite: OrganizationRegistrationResponse;
1189
+ activateDevelopmentPlan: DevelopmentPlan;
1190
+ addTaskTimeEntry: Task;
1191
+ addTeamMember: TeamMember;
1192
+ allocateWork: Array<AiWorkQueue>;
1193
+ applyProjectReview: ReviewApplicationResult;
1194
+ approveDevelopmentPlan: DevelopmentPlan;
1195
+ approveProjectReview: ProjectReview;
1196
+ assignTask: Task;
1197
+ bulkCancelAIWorkItems: AiWorkBulkOperationResult;
1198
+ bulkDeleteAIWorkItems: AiWorkBulkOperationResult;
1199
+ bulkInviteUsers: BulkOperationResult;
1200
+ bulkRequeueAIWorkItems: AiWorkBulkOperationResult;
1201
+ bulkUpdateUsers: BulkOperationResult;
1202
+ cancelReviewApplication: Scalars["Boolean"]["output"];
1203
+ changePassword: PasswordChangePayload;
1204
+ claimAIWork: AiWorkQueue;
1205
+ claimStory: Story;
1206
+ claimTask: Task;
1207
+ cleanupOrphanedWork: Scalars["Boolean"]["output"];
1208
+ cleanupStaleAIWorkers: AiWorkerOperationResult;
1209
+ cleanupStaleWorkTasks: Scalars["Boolean"]["output"];
1210
+ clearTaskTimeEntries: Task;
1211
+ completeAIWork: AiWorkQueue;
1212
+ completeReviewApplication: Scalars["Boolean"]["output"];
1213
+ completeStory: Story;
1214
+ completeTask: Task;
1215
+ createAIServiceSession: AiServiceSession;
1216
+ createApiKey: ApiKeyWithSecret;
1217
+ createAttachment: Attachment;
1218
+ createAuditLog: AuditLogResult;
1219
+ createComment: Comment;
1220
+ createDevelopmentPlan: DevelopmentPlan;
1221
+ createDevelopmentPlanVersion: DevelopmentPlan;
1222
+ createEarlyAccessRegistration: EarlyAccessRegistration;
1223
+ createInviteFromEarlyAccess: InviteResponse;
1224
+ createOrganizationInvite: OrganizationInvite;
1225
+ createProject: Project;
1226
+ createProjectReview: ProjectReview;
1227
+ createReply: Comment;
1228
+ createRole: Role;
1229
+ createStory: Story;
1230
+ createStoryDependency: Story;
1231
+ createTask: Task;
1232
+ createTaskDependency: Task;
1233
+ createTeam: Team;
1234
+ createUser: User;
1235
+ deactivateUser: Scalars["Boolean"]["output"];
1236
+ deactivateWorkspace: Scalars["Boolean"]["output"];
1237
+ deleteApiKey: Scalars["Boolean"]["output"];
1238
+ deleteAttachment: Scalars["Boolean"]["output"];
1239
+ deleteComment: Scalars["Boolean"]["output"];
1240
+ deleteMultipleNotifications: Scalars["Boolean"]["output"];
1241
+ deleteNotification: Scalars["Boolean"]["output"];
1242
+ deleteProject: Scalars["Boolean"]["output"];
1243
+ deleteStory: Scalars["Boolean"]["output"];
1244
+ deleteTask: Scalars["Boolean"]["output"];
1245
+ deleteTeam: Scalars["Boolean"]["output"];
1246
+ deleteUser: Scalars["Boolean"]["output"];
1247
+ deleteWorkspace: Scalars["Boolean"]["output"];
1248
+ disableUser: User;
1249
+ disconnectAIService: Scalars["Boolean"]["output"];
1250
+ enableUser: User;
1251
+ exchangeApiKeyForToken: LoginPayload;
1252
+ generateInviteToken: InviteResponse;
1253
+ generateStoriesFromPlan: GenerateStoriesFromPlanResult;
1254
+ inviteUser: InvitationPayload;
1255
+ logUserActivity: UserActivity;
1256
+ logWorkItemError: WorkItemErrorResult;
1257
+ logWorkItemEvent: WorkItemLogResult;
1258
+ login: LoginPayload;
1259
+ logout: LogoutPayload;
1260
+ markAllNotificationsRead: Scalars["Boolean"]["output"];
1261
+ markMultipleNotificationsRead: Scalars["Boolean"]["output"];
1262
+ markNotificationRead: Notification;
1263
+ optimizeWorkQueue: Scalars["String"]["output"];
1264
+ queueAIWork: AiWorkQueue;
1265
+ reactivateUser: Scalars["Boolean"]["output"];
1266
+ reclaimWork: Array<AiWorkQueue>;
1267
+ refreshToken: LoginPayload;
1268
+ register: AuthPayload;
1269
+ registerAIWorker: AiWorkerOperationResult;
1270
+ registerWorker: Scalars["Boolean"]["output"];
1271
+ registerWorkspace: Workspace;
1272
+ rejectDevelopmentPlan: DevelopmentPlan;
1273
+ releaseStory: Story;
1274
+ releaseWorkItem: Scalars["Boolean"]["output"];
1275
+ removeAIWork: Scalars["Boolean"]["output"];
1276
+ removeStoryDependency: Story;
1277
+ removeTaskDependency: Task;
1278
+ removeTeamMember: Scalars["Boolean"]["output"];
1279
+ repromptDevelopmentPlan: RepromptDevelopmentPlanResult;
1280
+ repromptProjectReview: ProjectReview;
1281
+ requestPasswordReset: PasswordResetRequestPayload;
1282
+ requeueAIWorkItem: AiWorkQueue;
1283
+ resendOrganizationInvite: Maybe<OrganizationInvite>;
1284
+ resetPassword: PasswordResetPayload;
1285
+ retryAIWork: AiWorkQueue;
1286
+ reviewStory: Story;
1287
+ revokeOrganizationInvite: Maybe<OrganizationInvite>;
1288
+ sendAIServiceHeartbeat: Scalars["Boolean"]["output"];
1289
+ startTask: Task;
1290
+ startTaskTimer: Task;
1291
+ stopTaskTimer: Task;
1292
+ submitImplementationPlan: McpAgentOperationResult;
1293
+ submitProjectAnalysis: McpAgentOperationResult;
1294
+ submitStoryForReview: Story;
1295
+ submitStoryProgress: McpAgentOperationResult;
1296
+ submitTaskImplementation: McpAgentOperationResult;
1297
+ unclaimTask: Task;
1298
+ unregisterAIWorker: AiWorkerOperationResult;
1299
+ updateAIServiceSession: AiServiceSession;
1300
+ updateAIWork: AiWorkQueue;
1301
+ updateAIWorkerHeartbeat: AiWorkerOperationResult;
1302
+ updateAIWorkerHeartbeatWithProgress: AiWorkerOperationResult;
1303
+ updateAIWorkerTaskCount: AiWorkerOperationResult;
1304
+ updateApiKey: UserApiKey;
1305
+ updateComment: Comment;
1306
+ updateDevelopmentPlan: DevelopmentPlan;
1307
+ updateEarlyAccessRegistration: Maybe<EarlyAccessRegistration>;
1308
+ updateProject: Project;
1309
+ updateProjectReview: ProjectReview;
1310
+ updateRole: Role;
1311
+ updateStory: Story;
1312
+ updateStoryStatus: Story;
1313
+ updateTask: Task;
1314
+ updateTeam: Team;
1315
+ updateTeamMember: TeamMember;
1316
+ updateUser: User;
1317
+ updateUserPreferences: UserPreferences;
1318
+ updateUserRole: User;
1319
+ updateWorkerHeartbeat: Scalars["Boolean"]["output"];
1320
+ };
1321
+
1322
+ export type MutationAcceptOrganizationInviteArgs = {
1323
+ input: AcceptOrganizationInviteInput;
1324
+ };
1325
+
1326
+ export type MutationActivateDevelopmentPlanArgs = {
1327
+ activationNotes?: InputMaybe<Scalars["String"]["input"]>;
1328
+ id: Scalars["String"]["input"];
1329
+ };
1330
+
1331
+ export type MutationAddTaskTimeEntryArgs = {
1332
+ date?: InputMaybe<Scalars["Date"]["input"]>;
1333
+ description?: InputMaybe<Scalars["String"]["input"]>;
1334
+ id: Scalars["String"]["input"];
1335
+ minutes: Scalars["Int"]["input"];
1336
+ };
1337
+
1338
+ export type MutationAddTeamMemberArgs = {
1339
+ input: AddTeamMemberInput;
1340
+ };
1341
+
1342
+ export type MutationAllocateWorkArgs = {
1343
+ input: WorkAllocationInput;
1344
+ };
1345
+
1346
+ export type MutationApplyProjectReviewArgs = {
1347
+ input: ApplyReviewInput;
1348
+ };
1349
+
1350
+ export type MutationApproveDevelopmentPlanArgs = {
1351
+ approvalNotes?: InputMaybe<Scalars["String"]["input"]>;
1352
+ id: Scalars["String"]["input"];
1353
+ };
1354
+
1355
+ export type MutationApproveProjectReviewArgs = {
1356
+ input: ApproveProjectReviewInput;
1357
+ };
1358
+
1359
+ export type MutationAssignTaskArgs = {
1360
+ taskId: Scalars["String"]["input"];
1361
+ userId?: InputMaybe<Scalars["String"]["input"]>;
1362
+ };
1363
+
1364
+ export type MutationBulkCancelAiWorkItemsArgs = {
1365
+ ids: Array<Scalars["String"]["input"]>;
1366
+ };
1367
+
1368
+ export type MutationBulkDeleteAiWorkItemsArgs = {
1369
+ ids: Array<Scalars["String"]["input"]>;
1370
+ };
1371
+
1372
+ export type MutationBulkInviteUsersArgs = {
1373
+ input: BulkInviteUsersInput;
1374
+ };
1375
+
1376
+ export type MutationBulkRequeueAiWorkItemsArgs = {
1377
+ ids: Array<Scalars["String"]["input"]>;
1378
+ };
1379
+
1380
+ export type MutationBulkUpdateUsersArgs = {
1381
+ operations: Array<UserOperation>;
1382
+ };
1383
+
1384
+ export type MutationCancelReviewApplicationArgs = {
1385
+ reviewId: Scalars["String"]["input"];
1386
+ };
1387
+
1388
+ export type MutationChangePasswordArgs = {
1389
+ input: ChangePasswordInput;
1390
+ };
1391
+
1392
+ export type MutationClaimAiWorkArgs = {
1393
+ aiWorkerId: Scalars["String"]["input"];
1394
+ id: Scalars["String"]["input"];
1395
+ };
1396
+
1397
+ export type MutationClaimStoryArgs = {
1398
+ id: Scalars["String"]["input"];
1399
+ };
1400
+
1401
+ export type MutationClaimTaskArgs = {
1402
+ id: Scalars["String"]["input"];
1403
+ };
1404
+
1405
+ export type MutationClearTaskTimeEntriesArgs = {
1406
+ id: Scalars["String"]["input"];
1407
+ };
1408
+
1409
+ export type MutationCompleteAiWorkArgs = {
1410
+ artifacts?: InputMaybe<Array<Scalars["String"]["input"]>>;
1411
+ id: Scalars["String"]["input"];
1412
+ summary: Scalars["String"]["input"];
1413
+ };
1414
+
1415
+ export type MutationCompleteReviewApplicationArgs = {
1416
+ result: Scalars["JSONObject"]["input"];
1417
+ reviewId: Scalars["String"]["input"];
1418
+ workQueueId?: InputMaybe<Scalars["String"]["input"]>;
1419
+ };
1420
+
1421
+ export type MutationCompleteStoryArgs = {
1422
+ id: Scalars["String"]["input"];
1423
+ implementationSummary?: InputMaybe<Scalars["String"]["input"]>;
1424
+ };
1425
+
1426
+ export type MutationCompleteTaskArgs = {
1427
+ id: Scalars["String"]["input"];
1428
+ implementationSummary?: InputMaybe<Scalars["String"]["input"]>;
1429
+ keyFiles?: InputMaybe<Array<Scalars["String"]["input"]>>;
1430
+ };
1431
+
1432
+ export type MutationCreateAiServiceSessionArgs = {
1433
+ input: CreateAiServiceSessionInput;
1434
+ };
1435
+
1436
+ export type MutationCreateApiKeyArgs = {
1437
+ input: CreateApiKeyInput;
1438
+ };
1439
+
1440
+ export type MutationCreateAttachmentArgs = {
1441
+ input: CreateAttachmentInput;
1442
+ };
1443
+
1444
+ export type MutationCreateAuditLogArgs = {
1445
+ input: CreateAuditLogInput;
1446
+ };
1447
+
1448
+ export type MutationCreateCommentArgs = {
1449
+ input: CreateCommentInput;
1450
+ };
1451
+
1452
+ export type MutationCreateDevelopmentPlanArgs = {
1453
+ input: CreateDevelopmentPlanInput;
1454
+ };
1455
+
1456
+ export type MutationCreateDevelopmentPlanVersionArgs = {
1457
+ input: CreateDevelopmentPlanVersionInput;
1458
+ };
1459
+
1460
+ export type MutationCreateEarlyAccessRegistrationArgs = {
1461
+ input: PublicEarlyAccessRegistrationInput;
1462
+ };
1463
+
1464
+ export type MutationCreateInviteFromEarlyAccessArgs = {
1465
+ input: CreateInviteFromEarlyAccessInput;
1466
+ };
1467
+
1468
+ export type MutationCreateOrganizationInviteArgs = {
1469
+ input: CreateOrganizationInviteInput;
1470
+ };
1471
+
1472
+ export type MutationCreateProjectArgs = {
1473
+ input: CreateProjectInput;
1474
+ };
1475
+
1476
+ export type MutationCreateProjectReviewArgs = {
1477
+ input: ProjectReviewInput;
1478
+ };
1479
+
1480
+ export type MutationCreateReplyArgs = {
1481
+ input: CreateReplyInput;
1482
+ };
1483
+
1484
+ export type MutationCreateRoleArgs = {
1485
+ input: CreateRoleInput;
1486
+ };
1487
+
1488
+ export type MutationCreateStoryArgs = {
1489
+ input: CreateStoryInput;
1490
+ };
1491
+
1492
+ export type MutationCreateStoryDependencyArgs = {
1493
+ input: CreateStoryDependencyInput;
1494
+ };
1495
+
1496
+ export type MutationCreateTaskArgs = {
1497
+ input: CreateTaskInput;
1498
+ };
1499
+
1500
+ export type MutationCreateTaskDependencyArgs = {
1501
+ dependentId: Scalars["String"]["input"];
1502
+ dependsOnId: Scalars["String"]["input"];
1503
+ };
1504
+
1505
+ export type MutationCreateTeamArgs = {
1506
+ input: CreateTeamInput;
1507
+ };
1508
+
1509
+ export type MutationCreateUserArgs = {
1510
+ input: CreateUserInput;
1511
+ };
1512
+
1513
+ export type MutationDeactivateUserArgs = {
1514
+ userId: Scalars["String"]["input"];
1515
+ };
1516
+
1517
+ export type MutationDeactivateWorkspaceArgs = {
1518
+ workspaceId: Scalars["String"]["input"];
1519
+ };
1520
+
1521
+ export type MutationDeleteApiKeyArgs = {
1522
+ id: Scalars["ID"]["input"];
1523
+ };
1524
+
1525
+ export type MutationDeleteAttachmentArgs = {
1526
+ id: Scalars["String"]["input"];
1527
+ };
1528
+
1529
+ export type MutationDeleteCommentArgs = {
1530
+ id: Scalars["String"]["input"];
1531
+ };
1532
+
1533
+ export type MutationDeleteMultipleNotificationsArgs = {
1534
+ notificationIds: Array<Scalars["String"]["input"]>;
1535
+ };
1536
+
1537
+ export type MutationDeleteNotificationArgs = {
1538
+ id: Scalars["String"]["input"];
1539
+ };
1540
+
1541
+ export type MutationDeleteProjectArgs = {
1542
+ id: Scalars["String"]["input"];
1543
+ };
1544
+
1545
+ export type MutationDeleteStoryArgs = {
1546
+ id: Scalars["String"]["input"];
1547
+ };
1548
+
1549
+ export type MutationDeleteTaskArgs = {
1550
+ id: Scalars["String"]["input"];
1551
+ };
1552
+
1553
+ export type MutationDeleteTeamArgs = {
1554
+ id: Scalars["String"]["input"];
1555
+ };
1556
+
1557
+ export type MutationDeleteUserArgs = {
1558
+ userId: Scalars["String"]["input"];
1559
+ };
1560
+
1561
+ export type MutationDeleteWorkspaceArgs = {
1562
+ workspaceId: Scalars["String"]["input"];
1563
+ };
1564
+
1565
+ export type MutationDisableUserArgs = {
1566
+ userId: Scalars["String"]["input"];
1567
+ };
1568
+
1569
+ export type MutationEnableUserArgs = {
1570
+ userId: Scalars["String"]["input"];
1571
+ };
1572
+
1573
+ export type MutationExchangeApiKeyForTokenArgs = {
1574
+ apiKey: Scalars["String"]["input"];
1575
+ };
1576
+
1577
+ export type MutationGenerateInviteTokenArgs = {
1578
+ earlyAccessId: Scalars["String"]["input"];
1579
+ };
1580
+
1581
+ export type MutationGenerateStoriesFromPlanArgs = {
1582
+ planId: Scalars["String"]["input"];
1583
+ };
1584
+
1585
+ export type MutationInviteUserArgs = {
1586
+ input: InviteUserInput;
1587
+ };
1588
+
1589
+ export type MutationLogUserActivityArgs = {
1590
+ actionType: Scalars["String"]["input"];
1591
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
1592
+ resourceId?: InputMaybe<Scalars["String"]["input"]>;
1593
+ resourceType?: InputMaybe<Scalars["String"]["input"]>;
1594
+ };
1595
+
1596
+ export type MutationLogWorkItemErrorArgs = {
1597
+ input: WorkItemErrorInput;
1598
+ };
1599
+
1600
+ export type MutationLogWorkItemEventArgs = {
1601
+ input: WorkItemLogInput;
1602
+ };
1603
+
1604
+ export type MutationLoginArgs = {
1605
+ input: LoginInput;
1606
+ };
1607
+
1608
+ export type MutationMarkMultipleNotificationsReadArgs = {
1609
+ notificationIds: Array<Scalars["String"]["input"]>;
1610
+ };
1611
+
1612
+ export type MutationMarkNotificationReadArgs = {
1613
+ id: Scalars["String"]["input"];
1614
+ };
1615
+
1616
+ export type MutationOptimizeWorkQueueArgs = {
1617
+ input?: InputMaybe<QueueOptimizationInput>;
1618
+ };
1619
+
1620
+ export type MutationQueueAiWorkArgs = {
1621
+ input: QueueAiWorkInput;
1622
+ };
1623
+
1624
+ export type MutationReactivateUserArgs = {
1625
+ userId: Scalars["String"]["input"];
1626
+ };
1627
+
1628
+ export type MutationReclaimWorkArgs = {
1629
+ workItemIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
1630
+ workerId: Scalars["String"]["input"];
1631
+ };
1632
+
1633
+ export type MutationRefreshTokenArgs = {
1634
+ input: RefreshTokenInput;
1635
+ };
1636
+
1637
+ export type MutationRegisterArgs = {
1638
+ input: RegisterInput;
1639
+ };
1640
+
1641
+ export type MutationRegisterAiWorkerArgs = {
1642
+ input: AiWorkerRegistrationInput;
1643
+ };
1644
+
1645
+ export type MutationRegisterWorkerArgs = {
1646
+ input: WorkerRegistrationInput;
1647
+ };
1648
+
1649
+ export type MutationRegisterWorkspaceArgs = {
1650
+ input: WorkspaceRegistrationInput;
1651
+ };
1652
+
1653
+ export type MutationRejectDevelopmentPlanArgs = {
1654
+ id: Scalars["String"]["input"];
1655
+ rejectionReason: Scalars["String"]["input"];
1656
+ };
1657
+
1658
+ export type MutationReleaseStoryArgs = {
1659
+ id: Scalars["String"]["input"];
1660
+ };
1661
+
1662
+ export type MutationReleaseWorkItemArgs = {
1663
+ input: WorkItemReleaseInput;
1664
+ };
1665
+
1666
+ export type MutationRemoveAiWorkArgs = {
1667
+ id: Scalars["String"]["input"];
1668
+ };
1669
+
1670
+ export type MutationRemoveStoryDependencyArgs = {
1671
+ input: RemoveStoryDependencyInput;
1672
+ };
1673
+
1674
+ export type MutationRemoveTaskDependencyArgs = {
1675
+ dependentId: Scalars["String"]["input"];
1676
+ dependsOnId: Scalars["String"]["input"];
1677
+ };
1678
+
1679
+ export type MutationRemoveTeamMemberArgs = {
1680
+ teamId: Scalars["String"]["input"];
1681
+ userId: Scalars["String"]["input"];
1682
+ };
1683
+
1684
+ export type MutationRepromptDevelopmentPlanArgs = {
1685
+ input: RepromptDevelopmentPlanInput;
1686
+ };
1687
+
1688
+ export type MutationRepromptProjectReviewArgs = {
1689
+ input: RepromptReviewInput;
1690
+ };
1691
+
1692
+ export type MutationRequestPasswordResetArgs = {
1693
+ input: RequestPasswordResetInput;
1694
+ };
1695
+
1696
+ export type MutationRequeueAiWorkItemArgs = {
1697
+ id: Scalars["String"]["input"];
1698
+ };
1699
+
1700
+ export type MutationResendOrganizationInviteArgs = {
1701
+ id: Scalars["String"]["input"];
1702
+ };
1703
+
1704
+ export type MutationResetPasswordArgs = {
1705
+ input: ResetPasswordInput;
1706
+ };
1707
+
1708
+ export type MutationRetryAiWorkArgs = {
1709
+ id: Scalars["String"]["input"];
1710
+ };
1711
+
1712
+ export type MutationReviewStoryArgs = {
1713
+ approved: Scalars["Boolean"]["input"];
1714
+ id: Scalars["String"]["input"];
1715
+ reviewNotes?: InputMaybe<Scalars["String"]["input"]>;
1716
+ };
1717
+
1718
+ export type MutationRevokeOrganizationInviteArgs = {
1719
+ id: Scalars["String"]["input"];
1720
+ };
1721
+
1722
+ export type MutationStartTaskArgs = {
1723
+ id: Scalars["String"]["input"];
1724
+ };
1725
+
1726
+ export type MutationStartTaskTimerArgs = {
1727
+ id: Scalars["String"]["input"];
1728
+ };
1729
+
1730
+ export type MutationStopTaskTimerArgs = {
1731
+ id: Scalars["String"]["input"];
1732
+ };
1733
+
1734
+ export type MutationSubmitImplementationPlanArgs = {
1735
+ plan: ImplementationPlanInput;
1736
+ };
1737
+
1738
+ export type MutationSubmitProjectAnalysisArgs = {
1739
+ analysis: ProjectAnalysisInput;
1740
+ };
1741
+
1742
+ export type MutationSubmitStoryForReviewArgs = {
1743
+ id: Scalars["String"]["input"];
1744
+ implementationSummary?: InputMaybe<Scalars["String"]["input"]>;
1745
+ };
1746
+
1747
+ export type MutationSubmitStoryProgressArgs = {
1748
+ progress: StoryProgressInput;
1749
+ };
1750
+
1751
+ export type MutationSubmitTaskImplementationArgs = {
1752
+ implementation: TaskImplementationInput;
1753
+ };
1754
+
1755
+ export type MutationUnclaimTaskArgs = {
1756
+ id: Scalars["String"]["input"];
1757
+ };
1758
+
1759
+ export type MutationUnregisterAiWorkerArgs = {
1760
+ workerId: Scalars["String"]["input"];
1761
+ };
1762
+
1763
+ export type MutationUpdateAiServiceSessionArgs = {
1764
+ id: Scalars["String"]["input"];
1765
+ input: UpdateAiServiceSessionInput;
1766
+ };
1767
+
1768
+ export type MutationUpdateAiWorkArgs = {
1769
+ input: UpdateAiWorkInput;
1770
+ };
1771
+
1772
+ export type MutationUpdateAiWorkerHeartbeatArgs = {
1773
+ input: AiWorkerHealthCheckInput;
1774
+ };
1775
+
1776
+ export type MutationUpdateAiWorkerHeartbeatWithProgressArgs = {
1777
+ input: AiWorkerHeartbeatInput;
1778
+ };
1779
+
1780
+ export type MutationUpdateAiWorkerTaskCountArgs = {
1781
+ taskCount: Scalars["Float"]["input"];
1782
+ workerId: Scalars["String"]["input"];
1783
+ };
1784
+
1785
+ export type MutationUpdateApiKeyArgs = {
1786
+ id: Scalars["ID"]["input"];
1787
+ input: UpdateApiKeyInput;
1788
+ };
1789
+
1790
+ export type MutationUpdateCommentArgs = {
1791
+ id: Scalars["String"]["input"];
1792
+ input: UpdateCommentInput;
1793
+ };
1794
+
1795
+ export type MutationUpdateDevelopmentPlanArgs = {
1796
+ id: Scalars["String"]["input"];
1797
+ input: UpdateDevelopmentPlanInput;
1798
+ };
1799
+
1800
+ export type MutationUpdateEarlyAccessRegistrationArgs = {
1801
+ id: Scalars["String"]["input"];
1802
+ input: UpdateEarlyAccessRegistrationInput;
1803
+ };
1804
+
1805
+ export type MutationUpdateProjectArgs = {
1806
+ id: Scalars["String"]["input"];
1807
+ input: UpdateProjectInput;
1808
+ };
1809
+
1810
+ export type MutationUpdateProjectReviewArgs = {
1811
+ input: ProjectReviewInput;
1812
+ reviewId: Scalars["String"]["input"];
1813
+ };
1814
+
1815
+ export type MutationUpdateRoleArgs = {
1816
+ id: Scalars["String"]["input"];
1817
+ input: UpdateRoleInput;
1818
+ };
1819
+
1820
+ export type MutationUpdateStoryArgs = {
1821
+ id: Scalars["String"]["input"];
1822
+ input: UpdateStoryInput;
1823
+ };
1824
+
1825
+ export type MutationUpdateStoryStatusArgs = {
1826
+ id: Scalars["String"]["input"];
1827
+ status: StoryState;
1828
+ };
1829
+
1830
+ export type MutationUpdateTaskArgs = {
1831
+ id: Scalars["String"]["input"];
1832
+ input: UpdateTaskInput;
1833
+ };
1834
+
1835
+ export type MutationUpdateTeamArgs = {
1836
+ id: Scalars["String"]["input"];
1837
+ input: UpdateTeamInput;
1838
+ };
1839
+
1840
+ export type MutationUpdateTeamMemberArgs = {
1841
+ input: UpdateTeamMemberInput;
1842
+ teamId: Scalars["String"]["input"];
1843
+ userId: Scalars["String"]["input"];
1844
+ };
1845
+
1846
+ export type MutationUpdateUserArgs = {
1847
+ id: Scalars["String"]["input"];
1848
+ input: UpdateUserInput;
1849
+ };
1850
+
1851
+ export type MutationUpdateUserPreferencesArgs = {
1852
+ input: UpdateUserPreferencesInput;
1853
+ };
1854
+
1855
+ export type MutationUpdateUserRoleArgs = {
1856
+ roleId: Scalars["String"]["input"];
1857
+ userId: Scalars["String"]["input"];
1858
+ };
1859
+
1860
+ export type MutationUpdateWorkerHeartbeatArgs = {
1861
+ input: WorkerHeartbeatInput;
1862
+ };
1863
+
1864
+ export type NonFunctionalRequirementInput = {
1865
+ category: Scalars["String"]["input"];
1866
+ customization_needed: Scalars["Boolean"]["input"];
1867
+ industry_standard: Scalars["Boolean"]["input"];
1868
+ requirement: Scalars["String"]["input"];
1869
+ };
1870
+
1871
+ export type NonFunctionalRequirementType = {
1872
+ __typename: "NonFunctionalRequirementType";
1873
+ category: Scalars["String"]["output"];
1874
+ customization_needed: Scalars["Boolean"]["output"];
1875
+ industry_standard: Scalars["Boolean"]["output"];
1876
+ requirement: Scalars["String"]["output"];
1877
+ };
1878
+
1879
+ export type Notification = {
1880
+ __typename: "Notification";
1881
+ createdAt: Scalars["Date"]["output"];
1882
+ createdByUser: Maybe<User>;
1883
+ emailSent: Scalars["Boolean"]["output"];
1884
+ emailSentAt: Maybe<Scalars["Date"]["output"]>;
1885
+ entityId: Maybe<Scalars["String"]["output"]>;
1886
+ entityType: Maybe<Scalars["String"]["output"]>;
1887
+ id: Scalars["ID"]["output"];
1888
+ isRead: Scalars["Boolean"]["output"];
1889
+ isRecent: Scalars["Boolean"]["output"];
1890
+ isUnread: Scalars["Boolean"]["output"];
1891
+ message: Scalars["String"]["output"];
1892
+ readAt: Maybe<Scalars["Date"]["output"]>;
1893
+ shouldSendEmail: Scalars["Boolean"]["output"];
1894
+ targetUrl: Maybe<Scalars["String"]["output"]>;
1895
+ title: Scalars["String"]["output"];
1896
+ type: NotificationType;
1897
+ updatedAt: Scalars["Date"]["output"];
1898
+ user: User;
1899
+ };
1900
+
1901
+ export enum NotificationType {
1902
+ ASSIGNMENT = "ASSIGNMENT",
1903
+ COMMENT = "COMMENT",
1904
+ DEADLINE = "DEADLINE",
1905
+ MENTION = "MENTION",
1906
+ STATUS_CHANGE = "STATUS_CHANGE",
1907
+ }
1908
+
1909
+ export type OpportunityInput = {
1910
+ description: Scalars["String"]["input"];
1911
+ implementation_complexity?: InputMaybe<Scalars["String"]["input"]>;
1912
+ potential_value: Scalars["String"]["input"];
1913
+ title: Scalars["String"]["input"];
1914
+ };
1915
+
1916
+ export type Organization = {
1917
+ __typename: "Organization";
1918
+ createdAt: Scalars["Date"]["output"];
1919
+ deletedAt: Maybe<Scalars["Date"]["output"]>;
1920
+ description: Maybe<Scalars["String"]["output"]>;
1921
+ fullDomain: Scalars["String"]["output"];
1922
+ id: Scalars["ID"]["output"];
1923
+ isActive: Scalars["Boolean"]["output"];
1924
+ name: Scalars["String"]["output"];
1925
+ settings: Maybe<Scalars["JSON"]["output"]>;
1926
+ status: OrganizationStatus;
1927
+ subdomain: Scalars["String"]["output"];
1928
+ updatedAt: Scalars["Date"]["output"];
1929
+ };
1930
+
1931
+ export type OrganizationInvite = {
1932
+ __typename: "OrganizationInvite";
1933
+ acceptedAt: Maybe<Scalars["Date"]["output"]>;
1934
+ acceptedByUserId: Maybe<Scalars["String"]["output"]>;
1935
+ companySize: Maybe<Scalars["String"]["output"]>;
1936
+ createdAt: Scalars["Date"]["output"];
1937
+ createdOrganizationId: Maybe<Scalars["String"]["output"]>;
1938
+ email: Scalars["String"]["output"];
1939
+ expiresAt: Maybe<Scalars["Date"]["output"]>;
1940
+ features: Array<Scalars["String"]["output"]>;
1941
+ id: Scalars["ID"]["output"];
1942
+ inviteToken: Scalars["String"]["output"];
1943
+ invitedBy: Maybe<User>;
1944
+ message: Maybe<Scalars["String"]["output"]>;
1945
+ status: Scalars["String"]["output"];
1946
+ updatedAt: Scalars["Date"]["output"];
1947
+ useCase: Maybe<Scalars["String"]["output"]>;
1948
+ };
1949
+
1950
+ export type OrganizationRegistrationResponse = {
1951
+ __typename: "OrganizationRegistrationResponse";
1952
+ loginUrl: Maybe<Scalars["String"]["output"]>;
1953
+ message: Scalars["String"]["output"];
1954
+ organizationId: Maybe<Scalars["String"]["output"]>;
1955
+ success: Scalars["Boolean"]["output"];
1956
+ userId: Maybe<Scalars["String"]["output"]>;
1957
+ };
1958
+
1959
+ export enum OrganizationRole {
1960
+ ADMIN = "ADMIN",
1961
+ MEMBER = "MEMBER",
1962
+ OWNER = "OWNER",
1963
+ VIEWER = "VIEWER",
1964
+ }
1965
+
1966
+ export enum OrganizationStatus {
1967
+ ACTIVE = "ACTIVE",
1968
+ ARCHIVED = "ARCHIVED",
1969
+ DELETED = "DELETED",
1970
+ SUSPENDED = "SUSPENDED",
1971
+ }
1972
+
1973
+ export type PaginationInput = {
1974
+ limit?: InputMaybe<Scalars["Float"]["input"]>;
1975
+ offset?: InputMaybe<Scalars["Float"]["input"]>;
1976
+ };
1977
+
1978
+ export type PasswordChangePayload = {
1979
+ __typename: "PasswordChangePayload";
1980
+ message: Scalars["String"]["output"];
1981
+ success: Scalars["Boolean"]["output"];
1982
+ };
1983
+
1984
+ export type PasswordResetPayload = {
1985
+ __typename: "PasswordResetPayload";
1986
+ message: Scalars["String"]["output"];
1987
+ success: Scalars["Boolean"]["output"];
1988
+ };
1989
+
1990
+ export type PasswordResetRequestPayload = {
1991
+ __typename: "PasswordResetRequestPayload";
1992
+ message: Scalars["String"]["output"];
1993
+ };
1994
+
1995
+ export type Phase = {
1996
+ __typename: "Phase";
1997
+ allStoriesComplete: Scalars["Boolean"]["output"];
1998
+ completedAt: Maybe<Scalars["Date"]["output"]>;
1999
+ completedStories: Scalars["Int"]["output"];
2000
+ createdAt: Scalars["Date"]["output"];
2001
+ createdByUser: Maybe<User>;
2002
+ description: Maybe<Scalars["String"]["output"]>;
2003
+ id: Scalars["ID"]["output"];
2004
+ isCompleted: Scalars["Boolean"]["output"];
2005
+ name: Scalars["String"]["output"];
2006
+ orderIndex: Scalars["Int"]["output"];
2007
+ progressPercentage: Scalars["Int"]["output"];
2008
+ project: Project;
2009
+ stories: Array<Story>;
2010
+ totalStories: Scalars["Int"]["output"];
2011
+ updatedAt: Scalars["Date"]["output"];
2012
+ updatedByUser: Maybe<User>;
2013
+ };
2014
+
2015
+ export type PhaseInput = {
2016
+ deliverables?: InputMaybe<Array<Scalars["String"]["input"]>>;
2017
+ dependencies?: InputMaybe<Array<Scalars["String"]["input"]>>;
2018
+ description: Scalars["String"]["input"];
2019
+ duration_weeks: Scalars["Int"]["input"];
2020
+ id: Scalars["String"]["input"];
2021
+ key_milestones?: InputMaybe<Array<Scalars["String"]["input"]>>;
2022
+ name: Scalars["String"]["input"];
2023
+ resources_required?: InputMaybe<Array<Scalars["String"]["input"]>>;
2024
+ risks?: InputMaybe<Array<Scalars["String"]["input"]>>;
2025
+ start_week: Scalars["Int"]["input"];
2026
+ };
2027
+
2028
+ /** Actions that can be performed on development plans */
2029
+ export enum PlanAuditAction {
2030
+ ACTIVATED = "ACTIVATED",
2031
+ APPROVED = "APPROVED",
2032
+ COMMENTED = "COMMENTED",
2033
+ COMPLETED = "COMPLETED",
2034
+ CREATED = "CREATED",
2035
+ REJECTED = "REJECTED",
2036
+ SUBMITTED = "SUBMITTED",
2037
+ UPDATED = "UPDATED",
2038
+ VERSION_CREATED = "VERSION_CREATED",
2039
+ }
2040
+
2041
+ /** Who generated the development plan */
2042
+ export enum PlanGeneratedBy {
2043
+ AI = "AI",
2044
+ HUMAN = "HUMAN",
2045
+ }
2046
+
2047
+ /** Status of the development plan */
2048
+ export enum PlanStatus {
2049
+ ACTIVE = "ACTIVE",
2050
+ APPROVED = "APPROVED",
2051
+ CANCELLED = "CANCELLED",
2052
+ COMPLETED = "COMPLETED",
2053
+ DRAFT = "DRAFT",
2054
+ PENDING = "PENDING",
2055
+ REJECTED = "REJECTED",
2056
+ }
2057
+
2058
+ export enum PlatformRole {
2059
+ AGENT_ADMIN = "AGENT_ADMIN",
2060
+ AGENT_REVIEWER = "AGENT_REVIEWER",
2061
+ AUDIT_VIEWER = "AUDIT_VIEWER",
2062
+ BILLING_ADMIN = "BILLING_ADMIN",
2063
+ SUPER_ADMIN = "SUPER_ADMIN",
2064
+ SUPPORT = "SUPPORT",
2065
+ }
2066
+
2067
+ export type PriorityFilters = {
2068
+ __typename: "PriorityFilters";
2069
+ priorities: Maybe<Array<Scalars["String"]["output"]>>;
2070
+ projects: Maybe<Array<Scalars["String"]["output"]>>;
2071
+ taskTypes: Maybe<Array<Scalars["String"]["output"]>>;
2072
+ teams: Maybe<Array<Scalars["String"]["output"]>>;
2073
+ };
2074
+
2075
+ export type PriorityFiltersInput = {
2076
+ priorities?: InputMaybe<Array<Scalars["String"]["input"]>>;
2077
+ projects?: InputMaybe<Array<Scalars["String"]["input"]>>;
2078
+ taskTypes?: InputMaybe<Array<Scalars["String"]["input"]>>;
2079
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
2080
+ };
2081
+
2082
+ export enum PriorityLevel {
2083
+ CRITICAL = "CRITICAL",
2084
+ HIGH = "HIGH",
2085
+ LOW = "LOW",
2086
+ MEDIUM = "MEDIUM",
2087
+ }
2088
+
2089
+ export type ProductRequirementsInput = {
2090
+ explicit_requirements: Array<ExplicitRequirementInput>;
2091
+ inferred_functional_requirements: Array<InferredFunctionalRequirementInput>;
2092
+ requirements_clarification_questions: Array<RequirementsClarificationQuestionInput>;
2093
+ suggested_non_functional_requirements: Array<NonFunctionalRequirementInput>;
2094
+ };
2095
+
2096
+ export type ProgressMetric = {
2097
+ __typename: "ProgressMetric";
2098
+ completedItems: Scalars["Int"]["output"];
2099
+ completionPercentage: Scalars["Float"]["output"];
2100
+ endDate: Maybe<Scalars["Date"]["output"]>;
2101
+ entityId: Scalars["String"]["output"];
2102
+ entityTitle: Scalars["String"]["output"];
2103
+ entityType: Scalars["String"]["output"];
2104
+ estimatedEndDate: Maybe<Scalars["Date"]["output"]>;
2105
+ inProgressItems: Scalars["Int"]["output"];
2106
+ overdueItems: Scalars["Int"]["output"];
2107
+ startDate: Scalars["Date"]["output"];
2108
+ totalItems: Scalars["Int"]["output"];
2109
+ };
2110
+
2111
+ export type Project = {
2112
+ __typename: "Project";
2113
+ affectedServices: Array<WorkspaceService>;
2114
+ blockedStoriesCount: Scalars["Int"]["output"];
2115
+ completedStoriesCount: Scalars["Int"]["output"];
2116
+ createdAt: Scalars["Date"]["output"];
2117
+ createdByUser: Maybe<User>;
2118
+ description: Maybe<Scalars["String"]["output"]>;
2119
+ documentationUrl: Maybe<Scalars["String"]["output"]>;
2120
+ healthScore: Scalars["Float"]["output"];
2121
+ id: Scalars["ID"]["output"];
2122
+ implementationStoriesCount: Scalars["Int"]["output"];
2123
+ isActive: Scalars["Boolean"]["output"];
2124
+ isArchived: Scalars["Boolean"]["output"];
2125
+ isComplete: Scalars["Boolean"]["output"];
2126
+ isPublic: Scalars["Boolean"]["output"];
2127
+ links: Maybe<Scalars["JSONObject"]["output"]>;
2128
+ name: Scalars["String"]["output"];
2129
+ notes: Array<ProjectNote>;
2130
+ organization: Organization;
2131
+ pendingStoriesCount: Scalars["Int"]["output"];
2132
+ phases: Array<Phase>;
2133
+ progressPercentage: Scalars["Int"]["output"];
2134
+ qualityMetrics: Scalars["JSONObject"]["output"];
2135
+ repositoryUrl: Maybe<Scalars["String"]["output"]>;
2136
+ requirements: Array<ProjectRequirement>;
2137
+ reviewHistory: Scalars["JSONObject"]["output"];
2138
+ reviewStoriesCount: Scalars["Int"]["output"];
2139
+ riskProfile: Scalars["JSONObject"]["output"];
2140
+ sprints: Array<Sprint>;
2141
+ stage: ProjectStage;
2142
+ startDate: Maybe<Scalars["Date"]["output"]>;
2143
+ stories: Array<Story>;
2144
+ storiesCount: Scalars["Int"]["output"];
2145
+ targetCompletionDate: Maybe<Scalars["Date"]["output"]>;
2146
+ tasksCount: Scalars["Int"]["output"];
2147
+ team: Maybe<Team>;
2148
+ updatedAt: Scalars["Date"]["output"];
2149
+ updatedByUser: Maybe<User>;
2150
+ workspaceConfig: Maybe<Scalars["JSONObject"]["output"]>;
2151
+ workspaces: Array<Workspace>;
2152
+ };
2153
+
2154
+ export type ProjectStoriesArgs = {
2155
+ limit?: Scalars["Int"]["input"];
2156
+ offset?: Scalars["Int"]["input"];
2157
+ };
2158
+
2159
+ export type ProjectAnalysisInput = {
2160
+ analysis: AnalysisInput;
2161
+ analysis_type: Scalars["String"]["input"];
2162
+ executive_summary: Scalars["String"]["input"];
2163
+ metadata: MetadataInput;
2164
+ project_id: Scalars["String"]["input"];
2165
+ recommendations: Array<RecommendationInput>;
2166
+ scores: ScoresInput;
2167
+ suggested_product_requirements: ProductRequirementsInput;
2168
+ timeline: TimelineInput;
2169
+ };
2170
+
2171
+ export type ProjectNote = {
2172
+ __typename: "ProjectNote";
2173
+ content: Scalars["String"]["output"];
2174
+ createdAt: Scalars["Date"]["output"];
2175
+ createdByUser: Maybe<User>;
2176
+ id: Scalars["ID"]["output"];
2177
+ isPinned: Scalars["Boolean"]["output"];
2178
+ project: Project;
2179
+ title: Maybe<Scalars["String"]["output"]>;
2180
+ updatedAt: Scalars["Date"]["output"];
2181
+ updatedByUser: Maybe<User>;
2182
+ };
2183
+
2184
+ export type ProjectRequirement = {
2185
+ __typename: "ProjectRequirement";
2186
+ acceptanceCriteria: Array<Scalars["String"]["output"]>;
2187
+ applicationArea: Maybe<Scalars["String"]["output"]>;
2188
+ createdAt: Scalars["Date"]["output"];
2189
+ createdByUser: Maybe<User>;
2190
+ description: Scalars["String"]["output"];
2191
+ id: Scalars["ID"]["output"];
2192
+ isCompleted: Scalars["Boolean"]["output"];
2193
+ priority: PriorityLevel;
2194
+ project: Project;
2195
+ title: Scalars["String"]["output"];
2196
+ updatedAt: Scalars["Date"]["output"];
2197
+ updatedByUser: Maybe<User>;
2198
+ };
2199
+
2200
+ export type ProjectReview = {
2201
+ __typename: "ProjectReview";
2202
+ analysisScope: Array<Scalars["String"]["output"]>;
2203
+ applicationPrompt: Maybe<Scalars["String"]["output"]>;
2204
+ applicationResultJson: Maybe<Scalars["String"]["output"]>;
2205
+ appliedAt: Maybe<Scalars["Date"]["output"]>;
2206
+ approvalCount: Scalars["Float"]["output"];
2207
+ approvedAt: Maybe<Scalars["Date"]["output"]>;
2208
+ approvedByUser: Maybe<User>;
2209
+ canBeApplied: Scalars["Boolean"]["output"];
2210
+ completedAt: Maybe<Scalars["Date"]["output"]>;
2211
+ createdAt: Scalars["Date"]["output"];
2212
+ hasApprovals: Scalars["Boolean"]["output"];
2213
+ highPrioritySuggestionCount: Scalars["Float"]["output"];
2214
+ id: Scalars["ID"]["output"];
2215
+ isAIReview: Scalars["Boolean"]["output"];
2216
+ isApplied: Scalars["Boolean"]["output"];
2217
+ isApplying: Scalars["Boolean"]["output"];
2218
+ isApproved: Scalars["Boolean"]["output"];
2219
+ isCompleted: Scalars["Boolean"]["output"];
2220
+ isCurrentVersion: Scalars["Boolean"]["output"];
2221
+ isPending: Scalars["Boolean"]["output"];
2222
+ originalReview: Maybe<ProjectReview>;
2223
+ overallScore: Scalars["Float"]["output"];
2224
+ previousVersion: Maybe<ProjectReview>;
2225
+ project: Project;
2226
+ rejectionCount: Scalars["Float"]["output"];
2227
+ repromptContext: Maybe<Scalars["String"]["output"]>;
2228
+ repromptedAt: Maybe<Scalars["Date"]["output"]>;
2229
+ reviewDataJson: Scalars["String"]["output"];
2230
+ reviewNotes: Maybe<Scalars["String"]["output"]>;
2231
+ reviewedBy: Maybe<User>;
2232
+ reviewerId: Scalars["String"]["output"];
2233
+ reviewerType: ReviewerType;
2234
+ reviewerUser: Maybe<User>;
2235
+ status: ReviewStatus;
2236
+ suggestedProductRequirements: Maybe<SuggestedProductRequirementsType>;
2237
+ suggestionCount: Scalars["Float"]["output"];
2238
+ suggestionsJson: Scalars["String"]["output"];
2239
+ targetServices: Array<Scalars["String"]["output"]>;
2240
+ updatedAt: Scalars["Date"]["output"];
2241
+ version: Scalars["Float"]["output"];
2242
+ };
2243
+
2244
+ export type ProjectReviewInput = {
2245
+ projectId: Scalars["String"]["input"];
2246
+ reviewDataJson?: InputMaybe<Scalars["String"]["input"]>;
2247
+ reviewNotes?: InputMaybe<Scalars["String"]["input"]>;
2248
+ reviewerId: Scalars["String"]["input"];
2249
+ reviewerType: ReviewerType;
2250
+ suggestionsJson?: InputMaybe<Scalars["String"]["input"]>;
2251
+ };
2252
+
2253
+ export type ProjectReviewSearchInput = {
2254
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
2255
+ reviewerId?: InputMaybe<Scalars["String"]["input"]>;
2256
+ reviewerType?: InputMaybe<ReviewerType>;
2257
+ status?: InputMaybe<ReviewStatus>;
2258
+ };
2259
+
2260
+ export type ProjectSearchInput = {
2261
+ query?: InputMaybe<Scalars["String"]["input"]>;
2262
+ stage?: InputMaybe<ProjectStage>;
2263
+ };
2264
+
2265
+ export enum ProjectStage {
2266
+ ARCHIVED = "ARCHIVED",
2267
+ COMPLETE = "COMPLETE",
2268
+ DESIGN = "DESIGN",
2269
+ DEVELOPMENT = "DEVELOPMENT",
2270
+ IMPLEMENTATION = "IMPLEMENTATION",
2271
+ REQUIREMENTS = "REQUIREMENTS",
2272
+ }
2273
+
2274
+ export type ProjectStats = {
2275
+ __typename: "ProjectStats";
2276
+ activeTeamMembers: Scalars["Int"]["output"];
2277
+ averageStoryPoints: Scalars["Float"]["output"];
2278
+ completedStories: Scalars["Int"]["output"];
2279
+ completedStoryPoints: Scalars["Int"]["output"];
2280
+ completedTasks: Scalars["Int"]["output"];
2281
+ completionPercentage: Scalars["Float"]["output"];
2282
+ inProgressStories: Scalars["Int"]["output"];
2283
+ inProgressTasks: Scalars["Int"]["output"];
2284
+ lastActivityAt: Scalars["Date"]["output"];
2285
+ projectId: Scalars["String"]["output"];
2286
+ projectName: Scalars["String"]["output"];
2287
+ todoStories: Scalars["Int"]["output"];
2288
+ todoTasks: Scalars["Int"]["output"];
2289
+ totalAttachments: Scalars["Int"]["output"];
2290
+ totalComments: Scalars["Int"]["output"];
2291
+ totalStories: Scalars["Int"]["output"];
2292
+ totalStoryPoints: Scalars["Int"]["output"];
2293
+ totalTasks: Scalars["Int"]["output"];
2294
+ velocityLastWeek: Scalars["Float"]["output"];
2295
+ velocityThisWeek: Scalars["Float"]["output"];
2296
+ };
2297
+
2298
+ export type ProjectStatsSummary = {
2299
+ __typename: "ProjectStatsSummary";
2300
+ completedStories: Scalars["Int"]["output"];
2301
+ completedTasks: Scalars["Int"]["output"];
2302
+ completionPercentage: Scalars["Int"]["output"];
2303
+ totalComments: Scalars["Int"]["output"];
2304
+ totalStories: Scalars["Int"]["output"];
2305
+ totalTasks: Scalars["Int"]["output"];
2306
+ };
2307
+
2308
+ export type ProjectWithStats = {
2309
+ __typename: "ProjectWithStats";
2310
+ affectedServices: Array<WorkspaceService>;
2311
+ blockedStoriesCount: Scalars["Int"]["output"];
2312
+ completedStoriesCount: Scalars["Int"]["output"];
2313
+ createdAt: Scalars["Date"]["output"];
2314
+ createdByUser: Maybe<User>;
2315
+ description: Maybe<Scalars["String"]["output"]>;
2316
+ documentationUrl: Maybe<Scalars["String"]["output"]>;
2317
+ healthScore: Scalars["Float"]["output"];
2318
+ id: Scalars["ID"]["output"];
2319
+ implementationStoriesCount: Scalars["Int"]["output"];
2320
+ isActive: Scalars["Boolean"]["output"];
2321
+ isArchived: Scalars["Boolean"]["output"];
2322
+ isComplete: Scalars["Boolean"]["output"];
2323
+ isPublic: Scalars["Boolean"]["output"];
2324
+ links: Maybe<Scalars["JSONObject"]["output"]>;
2325
+ name: Scalars["String"]["output"];
2326
+ notes: Array<ProjectNote>;
2327
+ organization: Organization;
2328
+ pendingStoriesCount: Scalars["Int"]["output"];
2329
+ phases: Array<Phase>;
2330
+ progressPercentage: Scalars["Int"]["output"];
2331
+ qualityMetrics: Scalars["JSONObject"]["output"];
2332
+ repositoryUrl: Maybe<Scalars["String"]["output"]>;
2333
+ requirements: Array<ProjectRequirement>;
2334
+ reviewHistory: Scalars["JSONObject"]["output"];
2335
+ reviewStoriesCount: Scalars["Int"]["output"];
2336
+ riskProfile: Scalars["JSONObject"]["output"];
2337
+ sprints: Array<Sprint>;
2338
+ stage: ProjectStage;
2339
+ startDate: Maybe<Scalars["Date"]["output"]>;
2340
+ stats: ProjectStatsSummary;
2341
+ stories: Array<Story>;
2342
+ storiesCount: Scalars["Int"]["output"];
2343
+ targetCompletionDate: Maybe<Scalars["Date"]["output"]>;
2344
+ tasksCount: Scalars["Int"]["output"];
2345
+ team: Maybe<Team>;
2346
+ updatedAt: Scalars["Date"]["output"];
2347
+ updatedByUser: Maybe<User>;
2348
+ workspaceConfig: Maybe<Scalars["JSONObject"]["output"]>;
2349
+ workspaces: Array<Workspace>;
2350
+ };
2351
+
2352
+ export type ProjectWithStatsStoriesArgs = {
2353
+ limit?: Scalars["Int"]["input"];
2354
+ offset?: Scalars["Int"]["input"];
2355
+ };
2356
+
2357
+ export type PublicEarlyAccessRegistrationInput = {
2358
+ acceptedTerms: Scalars["Boolean"]["input"];
2359
+ ageVerified: Scalars["Boolean"]["input"];
2360
+ aiTools: Array<Scalars["String"]["input"]>;
2361
+ comments?: InputMaybe<Scalars["String"]["input"]>;
2362
+ companyName?: InputMaybe<Scalars["String"]["input"]>;
2363
+ contactName?: InputMaybe<Scalars["String"]["input"]>;
2364
+ currentTools: Array<Scalars["String"]["input"]>;
2365
+ email: Scalars["String"]["input"];
2366
+ painPoints: Array<Scalars["String"]["input"]>;
2367
+ primaryLanguages: Array<Scalars["String"]["input"]>;
2368
+ projectTypes: Array<Scalars["String"]["input"]>;
2369
+ repoStructure?: InputMaybe<Scalars["String"]["input"]>;
2370
+ role?: InputMaybe<Scalars["String"]["input"]>;
2371
+ serviceCount?: InputMaybe<Scalars["String"]["input"]>;
2372
+ subscribeToNewsletter?: InputMaybe<Scalars["Boolean"]["input"]>;
2373
+ teamSize?: InputMaybe<Scalars["String"]["input"]>;
2374
+ };
2375
+
2376
+ export type Query = {
2377
+ __typename: "Query";
2378
+ activeDevelopmentPlan: Maybe<DevelopmentPlan>;
2379
+ activityMetrics: Array<ActivityMetric>;
2380
+ aiServiceAnalytics: Scalars["String"]["output"];
2381
+ aiServiceSessions: Array<AiServiceSession>;
2382
+ aiWorkItem: Maybe<AiWorkQueue>;
2383
+ aiWorkQueue: Array<AiWorkQueue>;
2384
+ aiWorkTypeConfiguration: Scalars["JSONObject"]["output"];
2385
+ aiWorker: Maybe<AiWorker>;
2386
+ aiWorkerRegistrations: Array<AiWorkerRegistration>;
2387
+ aiWorkerStatistics: AiWorkerStatistics;
2388
+ aiWorkersByScope: Array<AiWorker>;
2389
+ apiKey: Maybe<UserApiKey>;
2390
+ apiKeys: Array<UserApiKey>;
2391
+ apiVersion: ApiVersionInfo;
2392
+ attachment: Maybe<Attachment>;
2393
+ attachments: Array<Attachment>;
2394
+ auditTrail: Array<AuditTrail>;
2395
+ availableAIWork: Array<AiWorkQueue>;
2396
+ availableWorkspaces: Array<Workspace>;
2397
+ commentThread: CommentThread;
2398
+ comments: Array<Comment>;
2399
+ dashboardData: DashboardData;
2400
+ developmentPlan: Maybe<DevelopmentPlan>;
2401
+ developmentPlanAuditTrail: Array<DevelopmentPlanAuditLog>;
2402
+ developmentPlanVersions: Array<DevelopmentPlan>;
2403
+ developmentPlans: Array<DevelopmentPlan>;
2404
+ discoverAIWorkers: Array<AiWorker>;
2405
+ earlyAccessRegistration: Maybe<EarlyAccessRegistration>;
2406
+ earlyAccessRegistrationCount: Scalars["Float"]["output"];
2407
+ earlyAccessRegistrations: Array<EarlyAccessRegistration>;
2408
+ entityAuditTrail: Array<AuditTrail>;
2409
+ getApplicationQueue: Array<ApplicationQueueItem>;
2410
+ getApplicationStatus: Maybe<ReviewApplicationStatus>;
2411
+ getAttachmentDownloadUrl: FileDownloadResponse;
2412
+ getAuditStats: AuditStatsResult;
2413
+ getOptimizedWorkQueue: Array<AiWorkQueue>;
2414
+ getOrganizationInviteByToken: Maybe<OrganizationInvite>;
2415
+ getRecoverableWork: Array<AiWorkQueue>;
2416
+ getWorkItemAuditHistory: Array<AiWorkAudit>;
2417
+ getWorkItemAuditSummary: Maybe<WorkItemAuditSummary>;
2418
+ getWorkerCurrentWork: Array<AiWorkQueue>;
2419
+ me: Maybe<User>;
2420
+ myActiveAISession: Maybe<AiServiceSession>;
2421
+ myDashboard: UserStats;
2422
+ myNotifications: Array<Notification>;
2423
+ organizationInvite: Maybe<OrganizationInvite>;
2424
+ organizationInvites: Array<OrganizationInvite>;
2425
+ project: Maybe<Project>;
2426
+ projectHealthMetrics: Scalars["JSON"]["output"];
2427
+ projectHealthRankings: Array<Scalars["JSON"]["output"]>;
2428
+ projectProgress: Array<ProgressMetric>;
2429
+ projectReview: Maybe<ProjectReview>;
2430
+ projectReviewVersions: Array<ProjectReview>;
2431
+ projectReviews: Array<ProjectReview>;
2432
+ projectStats: ProjectStats;
2433
+ projectVelocity: Array<VelocityMetric>;
2434
+ projectWithStats: Maybe<ProjectWithStats>;
2435
+ projects: Array<Project>;
2436
+ publicApiHealth: Scalars["String"]["output"];
2437
+ recentActivity: Array<ActivityMetric>;
2438
+ roleUsage: Array<RoleUsageStats>;
2439
+ roles: Array<Role>;
2440
+ searchAuditLogs: AuditSearchResult;
2441
+ sessionInfo: SessionInfo;
2442
+ stories: Array<Story>;
2443
+ story: Maybe<Story>;
2444
+ storyWithTasks: Maybe<StoryWithTasks>;
2445
+ task: Maybe<Task>;
2446
+ tasks: Array<Task>;
2447
+ team: Maybe<Team>;
2448
+ teamMembers: Array<TeamMember>;
2449
+ teamPerformance: Array<TeamPerformance>;
2450
+ teams: Array<Team>;
2451
+ testAuth: Scalars["String"]["output"];
2452
+ testClaudeConnection: Scalars["Boolean"]["output"];
2453
+ topPerformers: Array<UserStats>;
2454
+ topProjects: Array<ProjectStats>;
2455
+ unreadNotificationsCount: Scalars["Int"]["output"];
2456
+ user: Maybe<User>;
2457
+ userActivities: Array<UserActivity>;
2458
+ userComparison: Array<UserStats>;
2459
+ userDetails: Maybe<User>;
2460
+ userInvitations: Array<UserInvitation>;
2461
+ userPreferences: Maybe<UserPreferences>;
2462
+ userStats: UserStats;
2463
+ users: UserConnection;
2464
+ validateSubdomain: SubdomainValidationResponse;
2465
+ velocityMetrics: Array<VelocityMetric>;
2466
+ workQueueMetrics: Scalars["JSONObject"]["output"];
2467
+ workQueueSystemHealth: Scalars["JSONObject"]["output"];
2468
+ workspaceStats: WorkspaceStats;
2469
+ };
2470
+
2471
+ export type QueryActiveDevelopmentPlanArgs = {
2472
+ projectId: Scalars["String"]["input"];
2473
+ };
2474
+
2475
+ export type QueryActivityMetricsArgs = {
2476
+ filter?: InputMaybe<AnalyticsFilter>;
2477
+ timeRange: TimeRange;
2478
+ };
2479
+
2480
+ export type QueryAiWorkItemArgs = {
2481
+ id: Scalars["String"]["input"];
2482
+ };
2483
+
2484
+ export type QueryAiWorkQueueArgs = {
2485
+ search?: InputMaybe<AiWorkQueueSearchInput>;
2486
+ };
2487
+
2488
+ export type QueryAiWorkerArgs = {
2489
+ workerId: Scalars["String"]["input"];
2490
+ };
2491
+
2492
+ export type QueryAiWorkerRegistrationsArgs = {
2493
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
2494
+ };
2495
+
2496
+ export type QueryAiWorkersByScopeArgs = {
2497
+ scope: WorkerScope;
2498
+ scopeId: Scalars["String"]["input"];
2499
+ };
2500
+
2501
+ export type QueryApiKeyArgs = {
2502
+ id: Scalars["ID"]["input"];
2503
+ };
2504
+
2505
+ export type QueryApiKeysArgs = {
2506
+ scope?: InputMaybe<ApiKeyScope>;
2507
+ };
2508
+
2509
+ export type QueryAttachmentArgs = {
2510
+ id: Scalars["String"]["input"];
2511
+ };
2512
+
2513
+ export type QueryAttachmentsArgs = {
2514
+ limit?: Scalars["Int"]["input"];
2515
+ offset?: Scalars["Int"]["input"];
2516
+ search?: InputMaybe<AttachmentSearchInput>;
2517
+ };
2518
+
2519
+ export type QueryAuditTrailArgs = {
2520
+ entityId?: InputMaybe<Scalars["String"]["input"]>;
2521
+ entityType?: InputMaybe<Scalars["String"]["input"]>;
2522
+ limit?: Scalars["Int"]["input"];
2523
+ offset?: Scalars["Int"]["input"];
2524
+ userId?: InputMaybe<Scalars["String"]["input"]>;
2525
+ };
2526
+
2527
+ export type QueryAvailableAiWorkArgs = {
2528
+ aiWorkerId: Scalars["String"]["input"];
2529
+ workerType?: InputMaybe<Scalars["String"]["input"]>;
2530
+ };
2531
+
2532
+ export type QueryCommentThreadArgs = {
2533
+ limit?: Scalars["Int"]["input"];
2534
+ offset?: Scalars["Int"]["input"];
2535
+ storyId: Scalars["String"]["input"];
2536
+ };
2537
+
2538
+ export type QueryCommentsArgs = {
2539
+ limit?: Scalars["Int"]["input"];
2540
+ offset?: Scalars["Int"]["input"];
2541
+ search: CommentSearchInput;
2542
+ };
2543
+
2544
+ export type QueryDashboardDataArgs = {
2545
+ filter?: InputMaybe<AnalyticsFilter>;
2546
+ };
2547
+
2548
+ export type QueryDevelopmentPlanArgs = {
2549
+ id: Scalars["String"]["input"];
2550
+ };
2551
+
2552
+ export type QueryDevelopmentPlanAuditTrailArgs = {
2553
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
2554
+ planId: Scalars["String"]["input"];
2555
+ };
2556
+
2557
+ export type QueryDevelopmentPlanVersionsArgs = {
2558
+ planId: Scalars["String"]["input"];
2559
+ };
2560
+
2561
+ export type QueryDevelopmentPlansArgs = {
2562
+ search?: InputMaybe<DevelopmentPlanSearchInput>;
2563
+ };
2564
+
2565
+ export type QueryDiscoverAiWorkersArgs = {
2566
+ filter?: InputMaybe<AiWorkerDiscoveryFilter>;
2567
+ };
2568
+
2569
+ export type QueryEarlyAccessRegistrationArgs = {
2570
+ id: Scalars["String"]["input"];
2571
+ };
2572
+
2573
+ export type QueryEarlyAccessRegistrationCountArgs = {
2574
+ status?: InputMaybe<Scalars["String"]["input"]>;
2575
+ };
2576
+
2577
+ export type QueryEarlyAccessRegistrationsArgs = {
2578
+ status?: InputMaybe<Scalars["String"]["input"]>;
2579
+ };
2580
+
2581
+ export type QueryEntityAuditTrailArgs = {
2582
+ entityId: Scalars["String"]["input"];
2583
+ entityType: Scalars["String"]["input"];
2584
+ limit?: Scalars["Int"]["input"];
2585
+ offset?: Scalars["Int"]["input"];
2586
+ };
2587
+
2588
+ export type QueryGetApplicationQueueArgs = {
2589
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
2590
+ };
2591
+
2592
+ export type QueryGetApplicationStatusArgs = {
2593
+ reviewId: Scalars["String"]["input"];
2594
+ };
2595
+
2596
+ export type QueryGetAttachmentDownloadUrlArgs = {
2597
+ id: Scalars["String"]["input"];
2598
+ };
2599
+
2600
+ export type QueryGetAuditStatsArgs = {
2601
+ dateFrom?: InputMaybe<Scalars["Date"]["input"]>;
2602
+ dateTo?: InputMaybe<Scalars["Date"]["input"]>;
2603
+ };
2604
+
2605
+ export type QueryGetOptimizedWorkQueueArgs = {
2606
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
2607
+ workerType?: InputMaybe<Scalars["String"]["input"]>;
2608
+ };
2609
+
2610
+ export type QueryGetOrganizationInviteByTokenArgs = {
2611
+ token: Scalars["String"]["input"];
2612
+ };
2613
+
2614
+ export type QueryGetRecoverableWorkArgs = {
2615
+ workerId: Scalars["String"]["input"];
2616
+ };
2617
+
2618
+ export type QueryGetWorkItemAuditHistoryArgs = {
2619
+ limit?: Scalars["Float"]["input"];
2620
+ workItemId: Scalars["String"]["input"];
2621
+ };
2622
+
2623
+ export type QueryGetWorkItemAuditSummaryArgs = {
2624
+ workItemId: Scalars["String"]["input"];
2625
+ };
2626
+
2627
+ export type QueryGetWorkerCurrentWorkArgs = {
2628
+ workerId: Scalars["String"]["input"];
2629
+ };
2630
+
2631
+ export type QueryMyDashboardArgs = {
2632
+ filter?: InputMaybe<AnalyticsFilter>;
2633
+ };
2634
+
2635
+ export type QueryMyNotificationsArgs = {
2636
+ limit?: Scalars["Int"]["input"];
2637
+ offset?: Scalars["Int"]["input"];
2638
+ unreadOnly?: Scalars["Boolean"]["input"];
2639
+ };
2640
+
2641
+ export type QueryOrganizationInviteArgs = {
2642
+ id: Scalars["String"]["input"];
2643
+ };
2644
+
2645
+ export type QueryOrganizationInvitesArgs = {
2646
+ status?: InputMaybe<Scalars["String"]["input"]>;
2647
+ };
2648
+
2649
+ export type QueryProjectArgs = {
2650
+ id: Scalars["String"]["input"];
2651
+ };
2652
+
2653
+ export type QueryProjectHealthMetricsArgs = {
2654
+ projectId: Scalars["String"]["input"];
2655
+ };
2656
+
2657
+ export type QueryProjectHealthRankingsArgs = {
2658
+ limit?: Scalars["Int"]["input"];
2659
+ };
2660
+
2661
+ export type QueryProjectProgressArgs = {
2662
+ filter?: InputMaybe<AnalyticsFilter>;
2663
+ };
2664
+
2665
+ export type QueryProjectReviewArgs = {
2666
+ id: Scalars["String"]["input"];
2667
+ };
2668
+
2669
+ export type QueryProjectReviewVersionsArgs = {
2670
+ reviewId: Scalars["String"]["input"];
2671
+ };
2672
+
2673
+ export type QueryProjectReviewsArgs = {
2674
+ search?: InputMaybe<ProjectReviewSearchInput>;
2675
+ };
2676
+
2677
+ export type QueryProjectStatsArgs = {
2678
+ filter?: InputMaybe<AnalyticsFilter>;
2679
+ projectId: Scalars["String"]["input"];
2680
+ };
2681
+
2682
+ export type QueryProjectVelocityArgs = {
2683
+ projectId: Scalars["String"]["input"];
2684
+ weeks?: Scalars["Int"]["input"];
2685
+ };
2686
+
2687
+ export type QueryProjectWithStatsArgs = {
2688
+ id: Scalars["String"]["input"];
2689
+ };
2690
+
2691
+ export type QueryProjectsArgs = {
2692
+ limit?: Scalars["Int"]["input"];
2693
+ offset?: Scalars["Int"]["input"];
2694
+ search?: InputMaybe<ProjectSearchInput>;
2695
+ };
2696
+
2697
+ export type QueryRecentActivityArgs = {
2698
+ days?: Scalars["Int"]["input"];
2699
+ filter?: InputMaybe<AnalyticsFilter>;
2700
+ };
2701
+
2702
+ export type QuerySearchAuditLogsArgs = {
2703
+ input: AuditSearchInput;
2704
+ };
2705
+
2706
+ export type QueryStoriesArgs = {
2707
+ limit?: Scalars["Int"]["input"];
2708
+ offset?: Scalars["Int"]["input"];
2709
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
2710
+ search?: InputMaybe<StorySearchInput>;
2711
+ };
2712
+
2713
+ export type QueryStoryArgs = {
2714
+ id: Scalars["String"]["input"];
2715
+ };
2716
+
2717
+ export type QueryStoryWithTasksArgs = {
2718
+ id: Scalars["String"]["input"];
2719
+ };
2720
+
2721
+ export type QueryTaskArgs = {
2722
+ id: Scalars["String"]["input"];
2723
+ };
2724
+
2725
+ export type QueryTasksArgs = {
2726
+ options?: InputMaybe<TasksOptionsInput>;
2727
+ };
2728
+
2729
+ export type QueryTeamArgs = {
2730
+ id: Scalars["String"]["input"];
2731
+ };
2732
+
2733
+ export type QueryTeamMembersArgs = {
2734
+ teamId: Scalars["String"]["input"];
2735
+ };
2736
+
2737
+ export type QueryTeamPerformanceArgs = {
2738
+ filter?: InputMaybe<AnalyticsFilter>;
2739
+ };
2740
+
2741
+ export type QueryTeamsArgs = {
2742
+ pagination?: InputMaybe<PaginationInput>;
2743
+ search?: InputMaybe<TeamSearchInput>;
2744
+ };
2745
+
2746
+ export type QueryTopPerformersArgs = {
2747
+ filter?: InputMaybe<AnalyticsFilter>;
2748
+ limit?: Scalars["Int"]["input"];
2749
+ };
2750
+
2751
+ export type QueryTopProjectsArgs = {
2752
+ filter?: InputMaybe<AnalyticsFilter>;
2753
+ limit?: Scalars["Int"]["input"];
2754
+ };
2755
+
2756
+ export type QueryUserArgs = {
2757
+ id: Scalars["String"]["input"];
2758
+ };
2759
+
2760
+ export type QueryUserActivitiesArgs = {
2761
+ limit?: InputMaybe<Scalars["Float"]["input"]>;
2762
+ userId: Scalars["String"]["input"];
2763
+ };
2764
+
2765
+ export type QueryUserComparisonArgs = {
2766
+ filter?: InputMaybe<AnalyticsFilter>;
2767
+ userIds: Array<Scalars["String"]["input"]>;
2768
+ };
2769
+
2770
+ export type QueryUserDetailsArgs = {
2771
+ id: Scalars["String"]["input"];
2772
+ };
2773
+
2774
+ export type QueryUserInvitationsArgs = {
2775
+ status?: InputMaybe<InvitationStatus>;
2776
+ };
2777
+
2778
+ export type QueryUserStatsArgs = {
2779
+ filter?: InputMaybe<AnalyticsFilter>;
2780
+ userId?: InputMaybe<Scalars["String"]["input"]>;
2781
+ };
2782
+
2783
+ export type QueryUsersArgs = {
2784
+ pagination?: InputMaybe<PaginationInput>;
2785
+ search?: InputMaybe<TeamUserSearchInput>;
2786
+ };
2787
+
2788
+ export type QueryValidateSubdomainArgs = {
2789
+ subdomain: Scalars["String"]["input"];
2790
+ };
2791
+
2792
+ export type QueryVelocityMetricsArgs = {
2793
+ filter?: InputMaybe<AnalyticsFilter>;
2794
+ timeRange: TimeRange;
2795
+ };
2796
+
2797
+ export type QueryWorkspaceStatsArgs = {
2798
+ filter?: InputMaybe<AnalyticsFilter>;
2799
+ };
2800
+
2801
+ export type QueueAiWorkInput = {
2802
+ aiWorkerId?: InputMaybe<Scalars["String"]["input"]>;
2803
+ estimatedDuration?: InputMaybe<Scalars["Float"]["input"]>;
2804
+ metadataJson?: InputMaybe<Scalars["String"]["input"]>;
2805
+ priority?: InputMaybe<Scalars["Float"]["input"]>;
2806
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
2807
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
2808
+ };
2809
+
2810
+ export type QueueOptimizationInput = {
2811
+ forceOptimization?: InputMaybe<Scalars["Boolean"]["input"]>;
2812
+ priorityThreshold?: InputMaybe<Scalars["Float"]["input"]>;
2813
+ targetWorkerId?: InputMaybe<Scalars["String"]["input"]>;
2814
+ };
2815
+
2816
+ export type RecommendationInput = {
2817
+ business_impact?: InputMaybe<Scalars["String"]["input"]>;
2818
+ category: Scalars["String"]["input"];
2819
+ description: Scalars["String"]["input"];
2820
+ estimated_effort?: InputMaybe<Scalars["String"]["input"]>;
2821
+ id: Scalars["String"]["input"];
2822
+ implementation_guide?: InputMaybe<Scalars["String"]["input"]>;
2823
+ priority: Scalars["String"]["input"];
2824
+ technical_complexity?: InputMaybe<Scalars["String"]["input"]>;
2825
+ title: Scalars["String"]["input"];
2826
+ };
2827
+
2828
+ export type RefreshTokenInput = {
2829
+ refreshToken: Scalars["String"]["input"];
2830
+ };
2831
+
2832
+ export type RegisterInput = {
2833
+ email: Scalars["String"]["input"];
2834
+ firstName?: InputMaybe<Scalars["String"]["input"]>;
2835
+ lastName?: InputMaybe<Scalars["String"]["input"]>;
2836
+ password: Scalars["String"]["input"];
2837
+ role?: InputMaybe<UserRole>;
2838
+ };
2839
+
2840
+ /** Status of AI agent registration request */
2841
+ export enum RegistrationStatus {
2842
+ APPROVED = "APPROVED",
2843
+ EXPIRED = "EXPIRED",
2844
+ PENDING = "PENDING",
2845
+ REJECTED = "REJECTED",
2846
+ }
2847
+
2848
+ export type RemoveStoryDependencyInput = {
2849
+ dependsOnStoryId: Scalars["String"]["input"];
2850
+ storyId: Scalars["String"]["input"];
2851
+ };
2852
+
2853
+ export type RepromptDevelopmentPlanInput = {
2854
+ additionalContext?: InputMaybe<Scalars["String"]["input"]>;
2855
+ changeRequest: Scalars["String"]["input"];
2856
+ planId: Scalars["String"]["input"];
2857
+ preserveContext?: Scalars["Boolean"]["input"];
2858
+ repromptType: RepromptType;
2859
+ };
2860
+
2861
+ export type RepromptDevelopmentPlanResult = {
2862
+ __typename: "RepromptDevelopmentPlanResult";
2863
+ estimatedCompletionTime: Maybe<Scalars["String"]["output"]>;
2864
+ id: Scalars["String"]["output"];
2865
+ message: Scalars["String"]["output"];
2866
+ queuePosition: Scalars["Float"]["output"];
2867
+ success: Scalars["Boolean"]["output"];
2868
+ workQueueId: Scalars["String"]["output"];
2869
+ };
2870
+
2871
+ export type RepromptReviewInput = {
2872
+ focusAreas?: InputMaybe<Array<Scalars["String"]["input"]>>;
2873
+ repromptContext?: InputMaybe<Scalars["String"]["input"]>;
2874
+ reviewId: Scalars["String"]["input"];
2875
+ };
2876
+
2877
+ /** Type of reprompt request for development plans */
2878
+ export enum RepromptType {
2879
+ REFINEMENT = "REFINEMENT",
2880
+ RESOURCE_OPTIMIZATION = "RESOURCE_OPTIMIZATION",
2881
+ RISK_MITIGATION = "RISK_MITIGATION",
2882
+ SCOPE_CHANGE = "SCOPE_CHANGE",
2883
+ TECHNOLOGY_CHANGE = "TECHNOLOGY_CHANGE",
2884
+ TIMELINE_ADJUSTMENT = "TIMELINE_ADJUSTMENT",
2885
+ }
2886
+
2887
+ export type RequestPasswordResetInput = {
2888
+ email: Scalars["String"]["input"];
2889
+ };
2890
+
2891
+ export type RequirementsClarificationQuestionInput = {
2892
+ category: Scalars["String"]["input"];
2893
+ impact_if_unclear: Scalars["String"]["input"];
2894
+ question: Scalars["String"]["input"];
2895
+ suggested_default: Scalars["String"]["input"];
2896
+ };
2897
+
2898
+ export type ResetPasswordInput = {
2899
+ newPassword: Scalars["String"]["input"];
2900
+ token: Scalars["String"]["input"];
2901
+ };
2902
+
2903
+ export type ReviewApplicationResult = {
2904
+ __typename: "ReviewApplicationResult";
2905
+ estimatedDuration: Maybe<Scalars["Float"]["output"]>;
2906
+ id: Scalars["String"]["output"];
2907
+ message: Scalars["String"]["output"];
2908
+ status: ApplicationStatus;
2909
+ workQueueId: Maybe<Scalars["String"]["output"]>;
2910
+ };
2911
+
2912
+ export type ReviewApplicationStatus = {
2913
+ __typename: "ReviewApplicationStatus";
2914
+ errors: Array<Scalars["String"]["output"]>;
2915
+ progress: Maybe<ApplicationProgress>;
2916
+ reviewId: Scalars["String"]["output"];
2917
+ status: ApplicationStatus;
2918
+ workQueue: Maybe<ApplicationQueueItem>;
2919
+ };
2920
+
2921
+ /** Completion status of the review generation */
2922
+ export enum ReviewStatus {
2923
+ APPLIED = "APPLIED",
2924
+ APPLYING = "APPLYING",
2925
+ APPROVED = "APPROVED",
2926
+ COMPLETED = "COMPLETED",
2927
+ FAILED = "FAILED",
2928
+ PENDING = "PENDING",
2929
+ }
2930
+
2931
+ /** Type of reviewer (human or AI) */
2932
+ export enum ReviewerType {
2933
+ AI = "AI",
2934
+ HUMAN = "HUMAN",
2935
+ }
2936
+
2937
+ export type RiskInput = {
2938
+ description: Scalars["String"]["input"];
2939
+ impact: Scalars["String"]["input"];
2940
+ mitigation_strategy?: InputMaybe<Scalars["String"]["input"]>;
2941
+ probability: Scalars["String"]["input"];
2942
+ title: Scalars["String"]["input"];
2943
+ };
2944
+
2945
+ export type Role = {
2946
+ __typename: "Role";
2947
+ createdAt: Scalars["Date"]["output"];
2948
+ description: Maybe<Scalars["String"]["output"]>;
2949
+ id: Scalars["ID"]["output"];
2950
+ isSystemRole: Scalars["Boolean"]["output"];
2951
+ name: Scalars["String"]["output"];
2952
+ permissions: Scalars["JSONObject"]["output"];
2953
+ updatedAt: Scalars["Date"]["output"];
2954
+ };
2955
+
2956
+ export type RoleUsageStats = {
2957
+ __typename: "RoleUsageStats";
2958
+ activeUserCount: Scalars["Float"]["output"];
2959
+ roleId: Scalars["String"]["output"];
2960
+ roleName: Scalars["String"]["output"];
2961
+ userCount: Scalars["Float"]["output"];
2962
+ };
2963
+
2964
+ export type ScoreInput = {
2965
+ reasoning: Scalars["String"]["input"];
2966
+ score: Scalars["Int"]["input"];
2967
+ };
2968
+
2969
+ export type ScoresInput = {
2970
+ clarity: ScoreInput;
2971
+ completeness: ScoreInput;
2972
+ feasibility: ScoreInput;
2973
+ overall: ScoreInput;
2974
+ };
2975
+
2976
+ export type ServiceRegistrationInput = {
2977
+ name: Scalars["String"]["input"];
2978
+ port?: InputMaybe<Scalars["Float"]["input"]>;
2979
+ serviceId: Scalars["String"]["input"];
2980
+ technology?: Scalars["String"]["input"];
2981
+ };
2982
+
2983
+ export type SessionInfo = {
2984
+ __typename: "SessionInfo";
2985
+ expiresAt: Maybe<Scalars["Date"]["output"]>;
2986
+ isValid: Scalars["Boolean"]["output"];
2987
+ issuedAt: Maybe<Scalars["Date"]["output"]>;
2988
+ user: Maybe<User>;
2989
+ };
2990
+
2991
+ export enum ShepherdActivity {
2992
+ COORDINATING = "COORDINATING",
2993
+ EMERGENCY_RESPONSE = "EMERGENCY_RESPONSE",
2994
+ GUIDING = "GUIDING",
2995
+ MONITORING = "MONITORING",
2996
+ OPTIMIZING = "OPTIMIZING",
2997
+ RESTING = "RESTING",
2998
+ REVIEWING = "REVIEWING",
2999
+ TRAINING = "TRAINING",
3000
+ }
3001
+
3002
+ export enum ShepherdRole {
3003
+ CODE_SHEPHERD = "CODE_SHEPHERD",
3004
+ FLOCK_GUARDIAN = "FLOCK_GUARDIAN",
3005
+ JUNIOR_SHEPHERD = "JUNIOR_SHEPHERD",
3006
+ LEAD_SHEPHERD = "LEAD_SHEPHERD",
3007
+ PERFORMANCE_SHEPHERD = "PERFORMANCE_SHEPHERD",
3008
+ QUALITY_SHEPHERD = "QUALITY_SHEPHERD",
3009
+ SPECIALIST_SHEPHERD = "SPECIALIST_SHEPHERD",
3010
+ TASK_SHEPHERD = "TASK_SHEPHERD",
3011
+ }
3012
+
3013
+ export type Sprint = {
3014
+ __typename: "Sprint";
3015
+ completedStories: Scalars["Float"]["output"];
3016
+ createdAt: Scalars["Date"]["output"];
3017
+ createdByUser: Maybe<User>;
3018
+ duration: Scalars["Float"]["output"];
3019
+ endDate: Scalars["Date"]["output"];
3020
+ goal: Maybe<Scalars["String"]["output"]>;
3021
+ id: Scalars["ID"]["output"];
3022
+ isActive: Scalars["Boolean"]["output"];
3023
+ isEnded: Scalars["Boolean"]["output"];
3024
+ isInProgress: Scalars["Boolean"]["output"];
3025
+ isStarted: Scalars["Boolean"]["output"];
3026
+ name: Scalars["String"]["output"];
3027
+ progressPercentage: Scalars["Float"]["output"];
3028
+ project: Project;
3029
+ startDate: Scalars["Date"]["output"];
3030
+ stories: Array<Story>;
3031
+ totalStories: Scalars["Float"]["output"];
3032
+ updatedAt: Scalars["Date"]["output"];
3033
+ updatedByUser: Maybe<User>;
3034
+ };
3035
+
3036
+ export type Story = {
3037
+ __typename: "Story";
3038
+ acceptanceCriteria: Array<Scalars["String"]["output"]>;
3039
+ affectedServices: Array<Scalars["String"]["output"]>;
3040
+ assignedTo: Maybe<Scalars["String"]["output"]>;
3041
+ assignedToUser: Maybe<User>;
3042
+ attachments: Array<Attachment>;
3043
+ canBeClaimed: Scalars["Boolean"]["output"];
3044
+ claimedAt: Maybe<Scalars["Date"]["output"]>;
3045
+ comments: Array<Comment>;
3046
+ completedAt: Maybe<Scalars["Date"]["output"]>;
3047
+ completedTasks: Scalars["Float"]["output"];
3048
+ completedTasksCount: Scalars["Int"]["output"];
3049
+ createdAt: Scalars["Date"]["output"];
3050
+ createdByUser: Maybe<User>;
3051
+ crossWorkspaceCoordination: Maybe<Scalars["String"]["output"]>;
3052
+ dependencies: Maybe<Array<Story>>;
3053
+ dependsOn: Maybe<Array<Story>>;
3054
+ description: Maybe<Scalars["String"]["output"]>;
3055
+ estimate: Maybe<Scalars["Int"]["output"]>;
3056
+ hasBlockingDependencies: Scalars["Boolean"]["output"];
3057
+ id: Scalars["ID"]["output"];
3058
+ implementationDuration: Maybe<Scalars["Int"]["output"]>;
3059
+ isAssigned: Scalars["Boolean"]["output"];
3060
+ isBlocked: Scalars["Boolean"]["output"];
3061
+ isComplete: Scalars["Boolean"]["output"];
3062
+ isInProgress: Scalars["Boolean"]["output"];
3063
+ isInReview: Scalars["Boolean"]["output"];
3064
+ isPending: Scalars["Boolean"]["output"];
3065
+ orderIndex: Maybe<Scalars["Int"]["output"]>;
3066
+ organization: Organization;
3067
+ phase: Maybe<Phase>;
3068
+ priority: PriorityLevel;
3069
+ progressPercentage: Scalars["Int"]["output"];
3070
+ project: Project;
3071
+ pullRequestLink: Maybe<Scalars["String"]["output"]>;
3072
+ relatedWorkspaces: Array<Scalars["String"]["output"]>;
3073
+ reviewNotes: Maybe<Scalars["String"]["output"]>;
3074
+ reviewedAt: Maybe<Scalars["Date"]["output"]>;
3075
+ reviewedBy: Maybe<User>;
3076
+ sprint: Maybe<Sprint>;
3077
+ startedAt: Maybe<Scalars["Date"]["output"]>;
3078
+ status: StoryState;
3079
+ storyLink: Maybe<Scalars["String"]["output"]>;
3080
+ tags: Array<Scalars["String"]["output"]>;
3081
+ taskProgressPercentage: Scalars["Float"]["output"];
3082
+ tasks: Array<Task>;
3083
+ tasksCount: Scalars["Int"]["output"];
3084
+ title: Scalars["String"]["output"];
3085
+ totalTasks: Scalars["Float"]["output"];
3086
+ updatedAt: Scalars["Date"]["output"];
3087
+ updatedByUser: Maybe<User>;
3088
+ workspaceId: Maybe<Scalars["String"]["output"]>;
3089
+ };
3090
+
3091
+ export type StoryTasksArgs = {
3092
+ limit?: Scalars["Int"]["input"];
3093
+ offset?: Scalars["Int"]["input"];
3094
+ };
3095
+
3096
+ export type StoryProgressInput = {
3097
+ next_steps?: InputMaybe<Array<Scalars["String"]["input"]>>;
3098
+ overall_progress: Scalars["Int"]["input"];
3099
+ status_summary: Scalars["String"]["input"];
3100
+ story_id: Scalars["String"]["input"];
3101
+ tasks_completed?: InputMaybe<Array<Scalars["String"]["input"]>>;
3102
+ tasks_remaining?: InputMaybe<Array<Scalars["String"]["input"]>>;
3103
+ };
3104
+
3105
+ export type StorySearchInput = {
3106
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
3107
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3108
+ query?: InputMaybe<Scalars["String"]["input"]>;
3109
+ state?: InputMaybe<StoryState>;
3110
+ type?: InputMaybe<TaskType>;
3111
+ };
3112
+
3113
+ export enum StoryState {
3114
+ BLOCKED = "BLOCKED",
3115
+ COMPLETE = "COMPLETE",
3116
+ IMPLEMENTATION = "IMPLEMENTATION",
3117
+ PENDING = "PENDING",
3118
+ REVIEW = "REVIEW",
3119
+ }
3120
+
3121
+ export type StoryWithTasks = {
3122
+ __typename: "StoryWithTasks";
3123
+ createdAt: Scalars["Date"]["output"];
3124
+ createdBy: Scalars["String"]["output"];
3125
+ description: Maybe<Scalars["String"]["output"]>;
3126
+ id: Scalars["String"]["output"];
3127
+ priority: Maybe<PriorityLevel>;
3128
+ priorityLevel: PriorityLevel;
3129
+ status: StoryState;
3130
+ storyPoints: Maybe<Scalars["Int"]["output"]>;
3131
+ tasks: Array<Task>;
3132
+ title: Scalars["String"]["output"];
3133
+ type: Maybe<TaskType>;
3134
+ updatedAt: Scalars["Date"]["output"];
3135
+ updatedBy: Maybe<Scalars["String"]["output"]>;
3136
+ };
3137
+
3138
+ export type StrengthInput = {
3139
+ description: Scalars["String"]["input"];
3140
+ evidence?: InputMaybe<Array<Scalars["String"]["input"]>>;
3141
+ impact: Scalars["String"]["input"];
3142
+ title: Scalars["String"]["input"];
3143
+ };
3144
+
3145
+ export type SubdomainValidationResponse = {
3146
+ __typename: "SubdomainValidationResponse";
3147
+ error: Maybe<Scalars["String"]["output"]>;
3148
+ isValid: Scalars["Boolean"]["output"];
3149
+ suggestions: Array<Scalars["String"]["output"]>;
3150
+ };
3151
+
3152
+ export type Subscription = {
3153
+ __typename: "Subscription";
3154
+ aiServiceStatusUpdated: AiServiceSession;
3155
+ aiWorkAssigned: AiWorkAssignment;
3156
+ aiWorkCompleted: AiWorkCompletion;
3157
+ aiWorkProgressUpdated: AiWorkProgress;
3158
+ aiWorkUpdated: AiWorkQueue;
3159
+ aiWorkerDisconnected: AiWorkerDisconnectionInfo;
3160
+ aiWorkerDiscoveryUpdated: AiWorkerDiscoveryUpdate;
3161
+ aiWorkerHealthUpdated: AiWorkerHealthStatus;
3162
+ aiWorkerRegistered: AiWorker;
3163
+ aiWorkerStatusChanged: AiWorker;
3164
+ applicationCompleted: ReviewApplicationResult;
3165
+ applicationProgressUpdated: ApplicationProgress;
3166
+ commentAdded: Comment;
3167
+ developmentPlanUpdated: DevelopmentPlan;
3168
+ notificationReceived: Notification;
3169
+ projectReviewUpdated: ProjectReview;
3170
+ projectUpdated: Project;
3171
+ storyUpdated: Story;
3172
+ taskUpdated: Task;
3173
+ userPresence: UserPresence;
3174
+ };
3175
+
3176
+ export type SubscriptionAiWorkAssignedArgs = {
3177
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3178
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3179
+ };
3180
+
3181
+ export type SubscriptionAiWorkCompletedArgs = {
3182
+ assignmentId?: InputMaybe<Scalars["String"]["input"]>;
3183
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3184
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3185
+ };
3186
+
3187
+ export type SubscriptionAiWorkProgressUpdatedArgs = {
3188
+ assignmentId?: InputMaybe<Scalars["String"]["input"]>;
3189
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3190
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3191
+ };
3192
+
3193
+ export type SubscriptionAiWorkerDisconnectedArgs = {
3194
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3195
+ };
3196
+
3197
+ export type SubscriptionAiWorkerDiscoveryUpdatedArgs = {
3198
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3199
+ };
3200
+
3201
+ export type SubscriptionAiWorkerHealthUpdatedArgs = {
3202
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3203
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3204
+ };
3205
+
3206
+ export type SubscriptionAiWorkerRegisteredArgs = {
3207
+ capabilities?: InputMaybe<Array<WorkerCapability>>;
3208
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3209
+ };
3210
+
3211
+ export type SubscriptionAiWorkerStatusChangedArgs = {
3212
+ projectId?: InputMaybe<Scalars["String"]["input"]>;
3213
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3214
+ };
3215
+
3216
+ export type SubscriptionApplicationCompletedArgs = {
3217
+ reviewId: Scalars["String"]["input"];
3218
+ };
3219
+
3220
+ export type SubscriptionApplicationProgressUpdatedArgs = {
3221
+ reviewId: Scalars["String"]["input"];
3222
+ };
3223
+
3224
+ export type SubscriptionCommentAddedArgs = {
3225
+ storyId: Scalars["String"]["input"];
3226
+ };
3227
+
3228
+ export type SubscriptionProjectUpdatedArgs = {
3229
+ projectId: Scalars["String"]["input"];
3230
+ };
3231
+
3232
+ export type SubscriptionStoryUpdatedArgs = {
3233
+ projectId: Scalars["String"]["input"];
3234
+ };
3235
+
3236
+ export type SubscriptionTaskUpdatedArgs = {
3237
+ storyId: Scalars["String"]["input"];
3238
+ };
3239
+
3240
+ export type SubscriptionUserPresenceArgs = {
3241
+ projectId: Scalars["String"]["input"];
3242
+ };
3243
+
3244
+ export type SuggestedProductRequirementsType = {
3245
+ __typename: "SuggestedProductRequirementsType";
3246
+ explicitRequirements: Array<ExplicitRequirementType>;
3247
+ inferredFunctionalRequirements: Array<InferredRequirementType>;
3248
+ requirementsClarificationQuestions: Array<ClarificationQuestionType>;
3249
+ suggestedNonFunctionalRequirements: Array<NonFunctionalRequirementType>;
3250
+ };
3251
+
3252
+ export type Task = {
3253
+ __typename: "Task";
3254
+ actualHours: Maybe<Scalars["Int"]["output"]>;
3255
+ actualTime: Maybe<Scalars["Int"]["output"]>;
3256
+ affectedWorkspaces: Array<Scalars["String"]["output"]>;
3257
+ areas: Array<Scalars["String"]["output"]>;
3258
+ assignedTo: Maybe<Scalars["String"]["output"]>;
3259
+ assignedToUser: Maybe<User>;
3260
+ attachments: Array<Attachment>;
3261
+ canBeClaimed: Scalars["Boolean"]["output"];
3262
+ claimedAt: Maybe<Scalars["Date"]["output"]>;
3263
+ comments: Array<Comment>;
3264
+ completedAt: Maybe<Scalars["Date"]["output"]>;
3265
+ completionPercentage: Scalars["Int"]["output"];
3266
+ createdAt: Scalars["Date"]["output"];
3267
+ createdByUser: Maybe<User>;
3268
+ currentSessionDuration: Scalars["Float"]["output"];
3269
+ currentSessionStart: Maybe<Scalars["Date"]["output"]>;
3270
+ deadline: Maybe<Scalars["Date"]["output"]>;
3271
+ dependencies: Maybe<Array<Task>>;
3272
+ dependsOn: Maybe<Array<Task>>;
3273
+ description: Maybe<Scalars["String"]["output"]>;
3274
+ dueDate: Maybe<Scalars["Date"]["output"]>;
3275
+ estimate: Maybe<Scalars["Int"]["output"]>;
3276
+ estimatedHours: Maybe<Scalars["Int"]["output"]>;
3277
+ estimatedTime: Maybe<Scalars["Int"]["output"]>;
3278
+ hasBlockingDependencies: Scalars["Boolean"]["output"];
3279
+ id: Scalars["ID"]["output"];
3280
+ implementationDuration: Maybe<Scalars["Int"]["output"]>;
3281
+ implementationSummary: Maybe<Scalars["String"]["output"]>;
3282
+ isAsk: Scalars["Boolean"]["output"];
3283
+ isAssigned: Scalars["Boolean"]["output"];
3284
+ isBlocked: Scalars["Boolean"]["output"];
3285
+ isComplete: Scalars["Boolean"]["output"];
3286
+ isFollowup: Scalars["Boolean"]["output"];
3287
+ isInProgress: Scalars["Boolean"]["output"];
3288
+ isOverdue: Scalars["Boolean"]["output"];
3289
+ isPending: Scalars["Boolean"]["output"];
3290
+ isPlanned: Scalars["Boolean"]["output"];
3291
+ isTimerRunning: Scalars["Boolean"]["output"];
3292
+ keyFiles: Maybe<Array<Scalars["String"]["output"]>>;
3293
+ orderIndex: Maybe<Scalars["Int"]["output"]>;
3294
+ organization: Organization;
3295
+ priority: PriorityLevel;
3296
+ startedAt: Maybe<Scalars["Date"]["output"]>;
3297
+ state: TaskState;
3298
+ status: TaskState;
3299
+ story: Story;
3300
+ targetFilePaths: Array<Scalars["String"]["output"]>;
3301
+ targetService: Maybe<Scalars["String"]["output"]>;
3302
+ title: Scalars["String"]["output"];
3303
+ totalTimeIncludingCurrent: Scalars["Float"]["output"];
3304
+ totalTrackedTime: Scalars["Int"]["output"];
3305
+ type: TaskType;
3306
+ updatedAt: Scalars["Date"]["output"];
3307
+ updatedByUser: Maybe<User>;
3308
+ workspaceId: Maybe<Scalars["String"]["output"]>;
3309
+ };
3310
+
3311
+ export type TaskImplementationInput = {
3312
+ blockers?: InputMaybe<Array<Scalars["String"]["input"]>>;
3313
+ completion_status: Scalars["String"]["input"];
3314
+ files_modified: Array<FileModificationInput>;
3315
+ implementation_summary: Scalars["String"]["input"];
3316
+ task_id: Scalars["String"]["input"];
3317
+ tests_added?: InputMaybe<Array<Scalars["String"]["input"]>>;
3318
+ };
3319
+
3320
+ export type TaskSearchInput = {
3321
+ areas?: InputMaybe<Array<Scalars["String"]["input"]>>;
3322
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
3323
+ priority?: InputMaybe<PriorityLevel>;
3324
+ priorityLevel?: InputMaybe<PriorityLevel>;
3325
+ query?: InputMaybe<Scalars["String"]["input"]>;
3326
+ state?: InputMaybe<TaskState>;
3327
+ status?: InputMaybe<TaskState>;
3328
+ tags?: InputMaybe<Array<Scalars["String"]["input"]>>;
3329
+ type?: InputMaybe<TaskType>;
3330
+ };
3331
+
3332
+ export enum TaskState {
3333
+ BLOCKED = "BLOCKED",
3334
+ COMPLETE = "COMPLETE",
3335
+ IMPLEMENTATION = "IMPLEMENTATION",
3336
+ PENDING = "PENDING",
3337
+ }
3338
+
3339
+ export enum TaskType {
3340
+ ASK = "ASK",
3341
+ FOLLOWUP = "FOLLOWUP",
3342
+ PLANNED = "PLANNED",
3343
+ }
3344
+
3345
+ export type TasksOptionsInput = {
3346
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
3347
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
3348
+ search?: InputMaybe<TaskSearchInput>;
3349
+ storyId?: InputMaybe<Scalars["String"]["input"]>;
3350
+ };
3351
+
3352
+ export type Team = {
3353
+ __typename: "Team";
3354
+ createdAt: Scalars["Date"]["output"];
3355
+ createdByUser: User;
3356
+ description: Maybe<Scalars["String"]["output"]>;
3357
+ id: Scalars["ID"]["output"];
3358
+ isActive: Scalars["Boolean"]["output"];
3359
+ memberCount: Scalars["Int"]["output"];
3360
+ members: Array<TeamMember>;
3361
+ name: Scalars["String"]["output"];
3362
+ projectCount: Scalars["Int"]["output"];
3363
+ settings: Maybe<Scalars["JSONObject"]["output"]>;
3364
+ updatedAt: Scalars["Date"]["output"];
3365
+ };
3366
+
3367
+ export type TeamMember = {
3368
+ __typename: "TeamMember";
3369
+ createdAt: Scalars["Date"]["output"];
3370
+ id: Scalars["ID"]["output"];
3371
+ joinedAt: Scalars["Date"]["output"];
3372
+ role: Role;
3373
+ status: Scalars["String"]["output"];
3374
+ team: Team;
3375
+ updatedAt: Scalars["Date"]["output"];
3376
+ user: User;
3377
+ };
3378
+
3379
+ export type TeamPerformance = {
3380
+ __typename: "TeamPerformance";
3381
+ averageCompletionTime: Scalars["Float"]["output"];
3382
+ completedItems: Scalars["Int"]["output"];
3383
+ completedStoryPoints: Scalars["Int"]["output"];
3384
+ completionRate: Scalars["Float"]["output"];
3385
+ inProgressItems: Scalars["Int"]["output"];
3386
+ lastActivityAt: Scalars["Date"]["output"];
3387
+ teamMemberAvatar: Maybe<Scalars["String"]["output"]>;
3388
+ teamMemberId: Scalars["String"]["output"];
3389
+ teamMemberName: Scalars["String"]["output"];
3390
+ totalStoryPoints: Scalars["Int"]["output"];
3391
+ };
3392
+
3393
+ export type TeamSearchInput = {
3394
+ createdBy?: InputMaybe<Scalars["String"]["input"]>;
3395
+ isActive?: InputMaybe<Scalars["Boolean"]["input"]>;
3396
+ name?: InputMaybe<Scalars["String"]["input"]>;
3397
+ };
3398
+
3399
+ export type TeamUserSearchInput = {
3400
+ email?: InputMaybe<Scalars["String"]["input"]>;
3401
+ firstName?: InputMaybe<Scalars["String"]["input"]>;
3402
+ isActive?: InputMaybe<Scalars["Boolean"]["input"]>;
3403
+ lastName?: InputMaybe<Scalars["String"]["input"]>;
3404
+ teamId?: InputMaybe<Scalars["String"]["input"]>;
3405
+ };
3406
+
3407
+ export type TimeRange = {
3408
+ end: Scalars["Date"]["input"];
3409
+ granularity?: Scalars["String"]["input"];
3410
+ start: Scalars["Date"]["input"];
3411
+ };
3412
+
3413
+ export type TimelineInput = {
3414
+ phases: Array<PhaseInput>;
3415
+ total_duration_weeks: Scalars["Int"]["input"];
3416
+ };
3417
+
3418
+ export type UpdateAiServiceSessionInput = {
3419
+ capabilitiesJson?: InputMaybe<Scalars["String"]["input"]>;
3420
+ serviceEndpoint?: InputMaybe<Scalars["String"]["input"]>;
3421
+ sessionToken?: InputMaybe<Scalars["String"]["input"]>;
3422
+ status?: InputMaybe<AiServiceStatus>;
3423
+ };
3424
+
3425
+ export type UpdateAiWorkInput = {
3426
+ metadataJson?: InputMaybe<Scalars["String"]["input"]>;
3427
+ priority?: InputMaybe<Scalars["Float"]["input"]>;
3428
+ status?: InputMaybe<AiWorkStatus>;
3429
+ workId: Scalars["String"]["input"];
3430
+ };
3431
+
3432
+ export type UpdateApiKeyInput = {
3433
+ agentConfiguration?: InputMaybe<AgentConfigurationInput>;
3434
+ isActive?: InputMaybe<Scalars["Boolean"]["input"]>;
3435
+ name?: InputMaybe<Scalars["String"]["input"]>;
3436
+ };
3437
+
3438
+ export type UpdateCommentInput = {
3439
+ content: Scalars["String"]["input"];
3440
+ };
3441
+
3442
+ export type UpdateDevelopmentPlanInput = {
3443
+ approvalNotes?: InputMaybe<Scalars["String"]["input"]>;
3444
+ dependenciesJson?: InputMaybe<Scalars["String"]["input"]>;
3445
+ estimatesJson?: InputMaybe<Scalars["String"]["input"]>;
3446
+ planDataJson?: InputMaybe<Scalars["String"]["input"]>;
3447
+ status?: InputMaybe<PlanStatus>;
3448
+ };
3449
+
3450
+ export type UpdateEarlyAccessRegistrationInput = {
3451
+ companyName?: InputMaybe<Scalars["String"]["input"]>;
3452
+ contactName?: InputMaybe<Scalars["String"]["input"]>;
3453
+ notes?: InputMaybe<Scalars["String"]["input"]>;
3454
+ status?: InputMaybe<Scalars["String"]["input"]>;
3455
+ };
3456
+
3457
+ export type UpdateProjectInput = {
3458
+ affectedServiceIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
3459
+ description?: InputMaybe<Scalars["String"]["input"]>;
3460
+ documentationUrl?: InputMaybe<Scalars["String"]["input"]>;
3461
+ isPublic?: InputMaybe<Scalars["Boolean"]["input"]>;
3462
+ name?: InputMaybe<Scalars["String"]["input"]>;
3463
+ repositoryUrl?: InputMaybe<Scalars["String"]["input"]>;
3464
+ stage?: InputMaybe<ProjectStage>;
3465
+ startDate?: InputMaybe<Scalars["Date"]["input"]>;
3466
+ targetCompletionDate?: InputMaybe<Scalars["Date"]["input"]>;
3467
+ workspaceConfig?: InputMaybe<Scalars["JSONObject"]["input"]>;
3468
+ workspaceIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
3469
+ };
3470
+
3471
+ export type UpdateRoleInput = {
3472
+ description?: InputMaybe<Scalars["String"]["input"]>;
3473
+ name?: InputMaybe<Scalars["String"]["input"]>;
3474
+ permissions?: InputMaybe<Scalars["JSONObject"]["input"]>;
3475
+ };
3476
+
3477
+ export type UpdateStoryInput = {
3478
+ acceptanceCriteria?: InputMaybe<Array<Scalars["String"]["input"]>>;
3479
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
3480
+ description?: InputMaybe<Scalars["String"]["input"]>;
3481
+ estimate?: InputMaybe<Scalars["Int"]["input"]>;
3482
+ priority?: InputMaybe<PriorityLevel>;
3483
+ storyLink?: InputMaybe<Scalars["String"]["input"]>;
3484
+ tags?: InputMaybe<Array<Scalars["String"]["input"]>>;
3485
+ title?: InputMaybe<Scalars["String"]["input"]>;
3486
+ };
3487
+
3488
+ export type UpdateTaskInput = {
3489
+ actualHours?: InputMaybe<Scalars["Int"]["input"]>;
3490
+ actualTime?: InputMaybe<Scalars["Int"]["input"]>;
3491
+ areas?: InputMaybe<Array<Scalars["String"]["input"]>>;
3492
+ assignedTo?: InputMaybe<Scalars["String"]["input"]>;
3493
+ description?: InputMaybe<Scalars["String"]["input"]>;
3494
+ dueDate?: InputMaybe<Scalars["Date"]["input"]>;
3495
+ estimatedHours?: InputMaybe<Scalars["Int"]["input"]>;
3496
+ estimatedTime?: InputMaybe<Scalars["Int"]["input"]>;
3497
+ priority?: InputMaybe<PriorityLevel>;
3498
+ state?: InputMaybe<TaskState>;
3499
+ status?: InputMaybe<TaskState>;
3500
+ title?: InputMaybe<Scalars["String"]["input"]>;
3501
+ type?: InputMaybe<TaskType>;
3502
+ };
3503
+
3504
+ export type UpdateTeamInput = {
3505
+ description?: InputMaybe<Scalars["String"]["input"]>;
3506
+ isActive?: InputMaybe<Scalars["Boolean"]["input"]>;
3507
+ name?: InputMaybe<Scalars["String"]["input"]>;
3508
+ settings?: InputMaybe<Scalars["JSONObject"]["input"]>;
3509
+ };
3510
+
3511
+ export type UpdateTeamMemberInput = {
3512
+ roleId?: InputMaybe<Scalars["String"]["input"]>;
3513
+ status?: InputMaybe<Scalars["String"]["input"]>;
3514
+ };
3515
+
3516
+ export type UpdateUserInput = {
3517
+ avatarUrl?: InputMaybe<Scalars["String"]["input"]>;
3518
+ firstName?: InputMaybe<Scalars["String"]["input"]>;
3519
+ lastName?: InputMaybe<Scalars["String"]["input"]>;
3520
+ role?: InputMaybe<UserRole>;
3521
+ status?: InputMaybe<UserStatus>;
3522
+ timezone?: InputMaybe<Scalars["String"]["input"]>;
3523
+ };
3524
+
3525
+ export type UpdateUserPreferencesInput = {
3526
+ dateFormat?: InputMaybe<Scalars["String"]["input"]>;
3527
+ defaultProjectView?: InputMaybe<Scalars["String"]["input"]>;
3528
+ emailDigestFrequency?: InputMaybe<Scalars["String"]["input"]>;
3529
+ emailNotifications?: InputMaybe<Scalars["Boolean"]["input"]>;
3530
+ itemsPerPage?: InputMaybe<Scalars["Int"]["input"]>;
3531
+ notifyOnAssignment?: InputMaybe<Scalars["Boolean"]["input"]>;
3532
+ notifyOnComment?: InputMaybe<Scalars["Boolean"]["input"]>;
3533
+ notifyOnMention?: InputMaybe<Scalars["Boolean"]["input"]>;
3534
+ notifyOnStatusChange?: InputMaybe<Scalars["Boolean"]["input"]>;
3535
+ theme?: InputMaybe<Scalars["String"]["input"]>;
3536
+ timeFormat?: InputMaybe<Scalars["String"]["input"]>;
3537
+ timezone?: InputMaybe<Scalars["String"]["input"]>;
3538
+ };
3539
+
3540
+ export type User = {
3541
+ __typename: "User";
3542
+ activeApiKeysCount: Scalars["Int"]["output"];
3543
+ assignedStoriesCount: Scalars["Int"]["output"];
3544
+ assignedTasksCount: Scalars["Int"]["output"];
3545
+ avatarUrl: Maybe<Scalars["String"]["output"]>;
3546
+ canAccessAudits: Scalars["Boolean"]["output"];
3547
+ canAccessInternal: Scalars["Boolean"]["output"];
3548
+ canManageBilling: Scalars["Boolean"]["output"];
3549
+ canSupportOrganizations: Scalars["Boolean"]["output"];
3550
+ commentsCount: Scalars["Int"]["output"];
3551
+ createdAt: Scalars["Date"]["output"];
3552
+ createdProjectsCount: Scalars["Int"]["output"];
3553
+ displayName: Scalars["String"]["output"];
3554
+ email: Scalars["String"]["output"];
3555
+ firstName: Maybe<Scalars["String"]["output"]>;
3556
+ fullName: Scalars["String"]["output"];
3557
+ id: Scalars["ID"]["output"];
3558
+ isActive: Scalars["Boolean"]["output"];
3559
+ isAdmin: Scalars["Boolean"]["output"];
3560
+ lastLoginAt: Maybe<Scalars["Date"]["output"]>;
3561
+ lastName: Maybe<Scalars["String"]["output"]>;
3562
+ organizationMemberships: Array<UserOrganization>;
3563
+ platformRoles: Array<UserPlatformRole>;
3564
+ role: UserRole;
3565
+ status: UserStatus;
3566
+ storiesCount: Scalars["Int"]["output"];
3567
+ tasksCount: Scalars["Int"]["output"];
3568
+ teamMemberships: Array<TeamMember>;
3569
+ timezone: Maybe<Scalars["String"]["output"]>;
3570
+ updatedAt: Scalars["Date"]["output"];
3571
+ };
3572
+
3573
+ export type UserActivity = {
3574
+ __typename: "UserActivity";
3575
+ actionType: Scalars["String"]["output"];
3576
+ createdAt: Scalars["Date"]["output"];
3577
+ id: Scalars["ID"]["output"];
3578
+ metadata: Maybe<Scalars["JSONObject"]["output"]>;
3579
+ resourceId: Maybe<Scalars["String"]["output"]>;
3580
+ resourceType: Maybe<Scalars["String"]["output"]>;
3581
+ updatedAt: Scalars["Date"]["output"];
3582
+ user: User;
3583
+ };
3584
+
3585
+ export type UserApiKey = {
3586
+ __typename: "UserApiKey";
3587
+ agentConfiguration: Maybe<AgentConfiguration>;
3588
+ createdAt: Scalars["Date"]["output"];
3589
+ createdByUser: Maybe<User>;
3590
+ expiresAt: Maybe<Scalars["Date"]["output"]>;
3591
+ id: Scalars["ID"]["output"];
3592
+ isActive: Scalars["Boolean"]["output"];
3593
+ isExpired: Scalars["Boolean"]["output"];
3594
+ isValid: Scalars["Boolean"]["output"];
3595
+ keyPrefix: Scalars["String"]["output"];
3596
+ keyType: ApiKeyType;
3597
+ lastUsedAt: Maybe<Scalars["Date"]["output"]>;
3598
+ name: Scalars["String"]["output"];
3599
+ scope: ApiKeyScope;
3600
+ scopes: Array<Scalars["String"]["output"]>;
3601
+ updatedAt: Scalars["Date"]["output"];
3602
+ user: User;
3603
+ };
3604
+
3605
+ export type UserConnection = {
3606
+ __typename: "UserConnection";
3607
+ hasNextPage: Scalars["Boolean"]["output"];
3608
+ hasPreviousPage: Scalars["Boolean"]["output"];
3609
+ nodes: Array<User>;
3610
+ totalCount: Scalars["Float"]["output"];
3611
+ };
3612
+
3613
+ export type UserInvitation = {
3614
+ __typename: "UserInvitation";
3615
+ acceptedAt: Maybe<Scalars["Date"]["output"]>;
3616
+ createdAt: Scalars["Date"]["output"];
3617
+ email: Scalars["String"]["output"];
3618
+ expiresAt: Scalars["Date"]["output"];
3619
+ id: Scalars["ID"]["output"];
3620
+ invitedBy: User;
3621
+ message: Maybe<Scalars["String"]["output"]>;
3622
+ role: Role;
3623
+ status: Scalars["String"]["output"];
3624
+ updatedAt: Scalars["Date"]["output"];
3625
+ };
3626
+
3627
+ export type UserOperation = {
3628
+ operation: Scalars["String"]["input"];
3629
+ userId: Scalars["String"]["input"];
3630
+ value?: InputMaybe<Scalars["String"]["input"]>;
3631
+ };
3632
+
3633
+ export type UserOrganization = {
3634
+ __typename: "UserOrganization";
3635
+ createdAt: Scalars["Date"]["output"];
3636
+ id: Scalars["ID"]["output"];
3637
+ invitationToken: Maybe<Scalars["String"]["output"]>;
3638
+ invitedAt: Maybe<Scalars["Date"]["output"]>;
3639
+ invitedBy: Maybe<Scalars["String"]["output"]>;
3640
+ joinedAt: Scalars["Date"]["output"];
3641
+ lastAccessedAt: Maybe<Scalars["Date"]["output"]>;
3642
+ organization: Organization;
3643
+ role: OrganizationRole;
3644
+ status: UserOrganizationStatus;
3645
+ updatedAt: Scalars["Date"]["output"];
3646
+ user: User;
3647
+ };
3648
+
3649
+ /** Status of user membership in an organization */
3650
+ export enum UserOrganizationStatus {
3651
+ ACTIVE = "ACTIVE",
3652
+ INVITED = "INVITED",
3653
+ LEFT = "LEFT",
3654
+ SUSPENDED = "SUSPENDED",
3655
+ }
3656
+
3657
+ export type UserPlatformRole = {
3658
+ __typename: "UserPlatformRole";
3659
+ createdAt: Scalars["Date"]["output"];
3660
+ expiresAt: Maybe<Scalars["Date"]["output"]>;
3661
+ grantedAt: Maybe<Scalars["Date"]["output"]>;
3662
+ grantedBy: Maybe<User>;
3663
+ id: Scalars["ID"]["output"];
3664
+ reason: Maybe<Scalars["String"]["output"]>;
3665
+ role: PlatformRole;
3666
+ updatedAt: Scalars["Date"]["output"];
3667
+ user: User;
3668
+ };
3669
+
3670
+ export type UserPreferences = {
3671
+ __typename: "UserPreferences";
3672
+ createdAt: Scalars["Date"]["output"];
3673
+ dateFormat: Scalars["String"]["output"];
3674
+ defaultProjectView: Scalars["String"]["output"];
3675
+ emailDigestFrequency: Scalars["String"]["output"];
3676
+ emailNotifications: Scalars["Boolean"]["output"];
3677
+ hasEmailNotificationsEnabled: Scalars["Boolean"]["output"];
3678
+ id: Scalars["ID"]["output"];
3679
+ isDarkMode: Scalars["Boolean"]["output"];
3680
+ isLightMode: Scalars["Boolean"]["output"];
3681
+ itemsPerPage: Scalars["Int"]["output"];
3682
+ notifyOnAssignment: Scalars["Boolean"]["output"];
3683
+ notifyOnComment: Scalars["Boolean"]["output"];
3684
+ notifyOnMention: Scalars["Boolean"]["output"];
3685
+ notifyOnStatusChange: Scalars["Boolean"]["output"];
3686
+ prefersKanbanView: Scalars["Boolean"]["output"];
3687
+ theme: Scalars["String"]["output"];
3688
+ timeFormat: Scalars["String"]["output"];
3689
+ timezone: Scalars["String"]["output"];
3690
+ updatedAt: Scalars["Date"]["output"];
3691
+ user: User;
3692
+ uses24HourTime: Scalars["Boolean"]["output"];
3693
+ usesSystemTheme: Scalars["Boolean"]["output"];
3694
+ };
3695
+
3696
+ export type UserPresence = {
3697
+ __typename: "UserPresence";
3698
+ avatarUrl: Maybe<Scalars["String"]["output"]>;
3699
+ currentPage: Maybe<Scalars["String"]["output"]>;
3700
+ fullName: Scalars["String"]["output"];
3701
+ lastSeen: Scalars["Date"]["output"];
3702
+ status: Scalars["String"]["output"];
3703
+ userId: Scalars["String"]["output"];
3704
+ };
3705
+
3706
+ export enum UserRole {
3707
+ ADMIN = "ADMIN",
3708
+ PRODUCT = "PRODUCT",
3709
+ VIEW = "VIEW",
3710
+ WORKER = "WORKER",
3711
+ }
3712
+
3713
+ export type UserStats = {
3714
+ __typename: "UserStats";
3715
+ assignedStories: Scalars["Int"]["output"];
3716
+ assignedTasks: Scalars["Int"]["output"];
3717
+ averageTaskCompletionTime: Scalars["Float"]["output"];
3718
+ completedStories: Scalars["Int"]["output"];
3719
+ completedTasks: Scalars["Int"]["output"];
3720
+ completionRate: Scalars["Float"]["output"];
3721
+ createdProjects: Scalars["Int"]["output"];
3722
+ lastActiveAt: Scalars["Date"]["output"];
3723
+ totalAttachments: Scalars["Int"]["output"];
3724
+ totalComments: Scalars["Int"]["output"];
3725
+ userAvatarUrl: Maybe<Scalars["String"]["output"]>;
3726
+ userFullName: Scalars["String"]["output"];
3727
+ userId: Scalars["String"]["output"];
3728
+ };
3729
+
3730
+ export enum UserStatus {
3731
+ ACTIVE = "ACTIVE",
3732
+ DISABLED = "DISABLED",
3733
+ }
3734
+
3735
+ export type VelocityMetric = {
3736
+ __typename: "VelocityMetric";
3737
+ averageCompletionTime: Scalars["Float"]["output"];
3738
+ storiesCompleted: Scalars["Int"]["output"];
3739
+ storyPointsCompleted: Scalars["Int"]["output"];
3740
+ tasksCompleted: Scalars["Int"]["output"];
3741
+ teamSize: Scalars["Int"]["output"];
3742
+ week: Scalars["Date"]["output"];
3743
+ };
3744
+
3745
+ export type WeaknessInput = {
3746
+ affected_areas?: InputMaybe<Array<Scalars["String"]["input"]>>;
3747
+ description: Scalars["String"]["input"];
3748
+ improvement_effort?: InputMaybe<Scalars["String"]["input"]>;
3749
+ severity: Scalars["String"]["input"];
3750
+ title: Scalars["String"]["input"];
3751
+ };
3752
+
3753
+ export type WorkAllocationInput = {
3754
+ forceRebalance?: InputMaybe<Scalars["Boolean"]["input"]>;
3755
+ maxItems?: InputMaybe<Scalars["Float"]["input"]>;
3756
+ workerId?: InputMaybe<Scalars["String"]["input"]>;
3757
+ workerType?: InputMaybe<Scalars["String"]["input"]>;
3758
+ };
3759
+
3760
+ export type WorkItemAuditSummary = {
3761
+ __typename: "WorkItemAuditSummary";
3762
+ actionBreakdown: Array<AuditActionTypeCount>;
3763
+ averageActionDuration: Scalars["Float"]["output"];
3764
+ errors: Scalars["Int"]["output"];
3765
+ firstAction: Scalars["Date"]["output"];
3766
+ lastAction: Scalars["Date"]["output"];
3767
+ statusChanges: Scalars["Int"]["output"];
3768
+ totalActions: Scalars["Int"]["output"];
3769
+ uniqueActors: Scalars["Int"]["output"];
3770
+ workItemId: Scalars["String"]["output"];
3771
+ workerChanges: Scalars["Int"]["output"];
3772
+ };
3773
+
3774
+ export type WorkItemErrorInput = {
3775
+ assignmentId: Scalars["String"]["input"];
3776
+ category: ErrorCategory;
3777
+ contextJson?: InputMaybe<Scalars["String"]["input"]>;
3778
+ errorType: WorkItemErrorType;
3779
+ message: Scalars["String"]["input"];
3780
+ resolutionJson?: InputMaybe<Scalars["String"]["input"]>;
3781
+ resolved?: Scalars["Boolean"]["input"];
3782
+ retryable: Scalars["Boolean"]["input"];
3783
+ severity: ErrorSeverity;
3784
+ stack?: InputMaybe<Scalars["String"]["input"]>;
3785
+ stage: Scalars["String"]["input"];
3786
+ tags: Array<Scalars["String"]["input"]>;
3787
+ workItemId: Scalars["String"]["input"];
3788
+ workType: Scalars["String"]["input"];
3789
+ workerId: Scalars["String"]["input"];
3790
+ };
3791
+
3792
+ export type WorkItemErrorResult = {
3793
+ __typename: "WorkItemErrorResult";
3794
+ id: Scalars["String"]["output"];
3795
+ logged: Scalars["Boolean"]["output"];
3796
+ message: Maybe<Scalars["String"]["output"]>;
3797
+ };
3798
+
3799
+ /** Types of work item errors */
3800
+ export enum WorkItemErrorType {
3801
+ AI_RESPONSE_ERROR = "AI_RESPONSE_ERROR",
3802
+ ANALYSIS_FAILED = "ANALYSIS_FAILED",
3803
+ AUTHENTICATION_ERROR = "AUTHENTICATION_ERROR",
3804
+ CLAUDE_API_ERROR = "CLAUDE_API_ERROR",
3805
+ CLAUDE_CLI_ERROR = "CLAUDE_CLI_ERROR",
3806
+ CONNECTION_ERROR = "CONNECTION_ERROR",
3807
+ HANDLER_NOT_FOUND = "HANDLER_NOT_FOUND",
3808
+ INTERNAL_ERROR = "INTERNAL_ERROR",
3809
+ INVALID_PROJECT_ID = "INVALID_PROJECT_ID",
3810
+ INVALID_WORK_DATA = "INVALID_WORK_DATA",
3811
+ MISSING_PROJECT = "MISSING_PROJECT",
3812
+ MISSING_REQUIRED_FIELD = "MISSING_REQUIRED_FIELD",
3813
+ NETWORK_ERROR = "NETWORK_ERROR",
3814
+ PLAN_GENERATION_FAILED = "PLAN_GENERATION_FAILED",
3815
+ RECOVERY_FAILED = "RECOVERY_FAILED",
3816
+ RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED",
3817
+ RETRY_LIMIT_EXCEEDED = "RETRY_LIMIT_EXCEEDED",
3818
+ SAVE_FAILED = "SAVE_FAILED",
3819
+ TIMEOUT_ERROR = "TIMEOUT_ERROR",
3820
+ TOKEN_LIMIT_ERROR = "TOKEN_LIMIT_ERROR",
3821
+ VALIDATION_FAILED = "VALIDATION_FAILED",
3822
+ WORK_TYPE_MISMATCH = "WORK_TYPE_MISMATCH",
3823
+ }
3824
+
3825
+ export type WorkItemLogInput = {
3826
+ assignmentId: Scalars["String"]["input"];
3827
+ duration?: InputMaybe<Scalars["Float"]["input"]>;
3828
+ metadataJson?: InputMaybe<Scalars["String"]["input"]>;
3829
+ progress?: InputMaybe<Scalars["Float"]["input"]>;
3830
+ stage: Scalars["String"]["input"];
3831
+ status: Scalars["String"]["input"];
3832
+ timestamp: Scalars["Date"]["input"];
3833
+ workItemId: Scalars["String"]["input"];
3834
+ workType: Scalars["String"]["input"];
3835
+ };
3836
+
3837
+ export type WorkItemLogResult = {
3838
+ __typename: "WorkItemLogResult";
3839
+ id: Scalars["String"]["output"];
3840
+ logged: Scalars["Boolean"]["output"];
3841
+ message: Maybe<Scalars["String"]["output"]>;
3842
+ };
3843
+
3844
+ export type WorkItemReleaseInput = {
3845
+ allowRetry?: InputMaybe<Scalars["Boolean"]["input"]>;
3846
+ reason: Scalars["String"]["input"];
3847
+ workItemId: Scalars["String"]["input"];
3848
+ };
3849
+
3850
+ export type WorkProgressUpdateInput = {
3851
+ completedSteps?: InputMaybe<Array<Scalars["String"]["input"]>>;
3852
+ currentStep: Scalars["String"]["input"];
3853
+ estimatedTimeRemaining?: InputMaybe<Scalars["Float"]["input"]>;
3854
+ lastError?: InputMaybe<Scalars["String"]["input"]>;
3855
+ percentage: Scalars["Float"]["input"];
3856
+ workItemId: Scalars["String"]["input"];
3857
+ };
3858
+
3859
+ export type WorkStateItem = {
3860
+ completedAt?: InputMaybe<Scalars["String"]["input"]>;
3861
+ lastUpdate?: InputMaybe<Scalars["String"]["input"]>;
3862
+ startedAt?: InputMaybe<Scalars["String"]["input"]>;
3863
+ status: Scalars["String"]["input"];
3864
+ workItemId: Scalars["String"]["input"];
3865
+ };
3866
+
3867
+ export enum WorkerCapability {
3868
+ CODE_REVIEW = "CODE_REVIEW",
3869
+ CONFLICT_RESOLUTION = "CONFLICT_RESOLUTION",
3870
+ DOCUMENTATION = "DOCUMENTATION",
3871
+ FLOCK_MANAGEMENT = "FLOCK_MANAGEMENT",
3872
+ IMPLEMENTATION_PLAN = "IMPLEMENTATION_PLAN",
3873
+ PERFORMANCE_MONITORING = "PERFORMANCE_MONITORING",
3874
+ PROJECT_REVIEW = "PROJECT_REVIEW",
3875
+ QUALITY_SHEPHERDING = "QUALITY_SHEPHERDING",
3876
+ RESOURCE_ALLOCATION = "RESOURCE_ALLOCATION",
3877
+ STORY_IMPLEMENTATION = "STORY_IMPLEMENTATION",
3878
+ TASK_HERDING = "TASK_HERDING",
3879
+ TEAM_COORDINATION = "TEAM_COORDINATION",
3880
+ TESTING = "TESTING",
3881
+ WORKFLOW_GUIDANCE = "WORKFLOW_GUIDANCE",
3882
+ }
3883
+
3884
+ export type WorkerHeartbeatInput = {
3885
+ currentTaskCount?: InputMaybe<Scalars["Float"]["input"]>;
3886
+ health: Scalars["String"]["input"];
3887
+ workerId: Scalars["String"]["input"];
3888
+ };
3889
+
3890
+ export type WorkerRegistrationInput = {
3891
+ capabilities: Array<Scalars["String"]["input"]>;
3892
+ maxConcurrentTasks: Scalars["Float"]["input"];
3893
+ priority?: InputMaybe<Scalars["Float"]["input"]>;
3894
+ workerId: Scalars["String"]["input"];
3895
+ workerType: Scalars["String"]["input"];
3896
+ };
3897
+
3898
+ export enum WorkerScope {
3899
+ ORGANIZATION = "ORGANIZATION",
3900
+ PROJECT = "PROJECT",
3901
+ TEAM = "TEAM",
3902
+ USER = "USER",
3903
+ }
3904
+
3905
+ export type Workspace = {
3906
+ __typename: "Workspace";
3907
+ config: Maybe<Scalars["JSONObject"]["output"]>;
3908
+ createdAt: Scalars["Date"]["output"];
3909
+ description: Maybe<Scalars["String"]["output"]>;
3910
+ errors: Array<Scalars["String"]["output"]>;
3911
+ id: Scalars["ID"]["output"];
3912
+ isActive: Scalars["Boolean"]["output"];
3913
+ name: Scalars["String"]["output"];
3914
+ path: Scalars["String"]["output"];
3915
+ pattern: Scalars["String"]["output"];
3916
+ projects: Array<Project>;
3917
+ services: Array<WorkspaceService>;
3918
+ updatedAt: Scalars["Date"]["output"];
3919
+ workspaceId: Scalars["String"]["output"];
3920
+ };
3921
+
3922
+ export type WorkspaceRegistrationInput = {
3923
+ description?: InputMaybe<Scalars["String"]["input"]>;
3924
+ name: Scalars["String"]["input"];
3925
+ path: Scalars["String"]["input"];
3926
+ pattern?: Scalars["String"]["input"];
3927
+ services: Array<ServiceRegistrationInput>;
3928
+ workspaceId: Scalars["String"]["input"];
3929
+ };
3930
+
3931
+ export type WorkspaceService = {
3932
+ __typename: "WorkspaceService";
3933
+ createdAt: Scalars["Date"]["output"];
3934
+ id: Scalars["ID"]["output"];
3935
+ isActive: Scalars["Boolean"]["output"];
3936
+ name: Scalars["String"]["output"];
3937
+ serviceId: Scalars["String"]["output"];
3938
+ technology: Scalars["String"]["output"];
3939
+ updatedAt: Scalars["Date"]["output"];
3940
+ workspace: Workspace;
3941
+ };
3942
+
3943
+ export type WorkspaceStats = {
3944
+ __typename: "WorkspaceStats";
3945
+ activeProjects: Scalars["Int"]["output"];
3946
+ activeUsers: Scalars["Int"]["output"];
3947
+ averageProjectVelocity: Scalars["Float"]["output"];
3948
+ overallCompletionRate: Scalars["Float"]["output"];
3949
+ totalAttachments: Scalars["Int"]["output"];
3950
+ totalComments: Scalars["Int"]["output"];
3951
+ totalProjects: Scalars["Int"]["output"];
3952
+ totalStories: Scalars["Int"]["output"];
3953
+ totalTasks: Scalars["Int"]["output"];
3954
+ totalUsers: Scalars["Int"]["output"];
3955
+ };
3956
+
3957
+ export type GetApiKeysQueryVariables = Exact<{
3958
+ scope?: InputMaybe<ApiKeyScope>;
3959
+ }>;
3960
+
3961
+ export type GetApiKeysQuery = {
3962
+ __typename: "Query";
3963
+ apiKeys: Array<{
3964
+ __typename: "UserApiKey";
3965
+ id: string;
3966
+ name: string;
3967
+ keyType: ApiKeyType;
3968
+ scope: ApiKeyScope;
3969
+ createdAt: string;
3970
+ lastUsedAt: string | null;
3971
+ user: { __typename: "User"; id: string; displayName: string };
3972
+ createdByUser: {
3973
+ __typename: "User";
3974
+ id: string;
3975
+ displayName: string;
3976
+ } | null;
3977
+ agentConfiguration: {
3978
+ __typename: "AgentConfiguration";
3979
+ priorityFilters: {
3980
+ __typename: "PriorityFilters";
3981
+ teams: Array<string> | null;
3982
+ projects: Array<string> | null;
3983
+ taskTypes: Array<string> | null;
3984
+ priorities: Array<string> | null;
3985
+ } | null;
3986
+ } | null;
3987
+ }>;
3988
+ };
3989
+
3990
+ export type GetApiKeyQueryVariables = Exact<{
3991
+ id: Scalars["ID"]["input"];
3992
+ }>;
3993
+
3994
+ export type GetApiKeyQuery = {
3995
+ __typename: "Query";
3996
+ apiKey: {
3997
+ __typename: "UserApiKey";
3998
+ id: string;
3999
+ name: string;
4000
+ keyType: ApiKeyType;
4001
+ scope: ApiKeyScope;
4002
+ createdAt: string;
4003
+ lastUsedAt: string | null;
4004
+ user: { __typename: "User"; id: string; displayName: string };
4005
+ createdByUser: {
4006
+ __typename: "User";
4007
+ id: string;
4008
+ displayName: string;
4009
+ } | null;
4010
+ agentConfiguration: {
4011
+ __typename: "AgentConfiguration";
4012
+ priorityFilters: {
4013
+ __typename: "PriorityFilters";
4014
+ teams: Array<string> | null;
4015
+ projects: Array<string> | null;
4016
+ taskTypes: Array<string> | null;
4017
+ priorities: Array<string> | null;
4018
+ } | null;
4019
+ } | null;
4020
+ } | null;
4021
+ };
4022
+
4023
+ export type CreateApiKeyMutationVariables = Exact<{
4024
+ input: CreateApiKeyInput;
4025
+ }>;
4026
+
4027
+ export type CreateApiKeyMutation = {
4028
+ __typename: "Mutation";
4029
+ createApiKey: {
4030
+ __typename: "ApiKeyWithSecret";
4031
+ id: string;
4032
+ name: string;
4033
+ keyType: ApiKeyType;
4034
+ scope: ApiKeyScope;
4035
+ key: string;
4036
+ createdAt: string;
4037
+ lastUsed: string | null;
4038
+ userId: string;
4039
+ createdBy: { __typename: "User"; id: string; displayName: string } | null;
4040
+ agentConfiguration: {
4041
+ __typename: "AgentConfiguration";
4042
+ priorityFilters: {
4043
+ __typename: "PriorityFilters";
4044
+ teams: Array<string> | null;
4045
+ projects: Array<string> | null;
4046
+ taskTypes: Array<string> | null;
4047
+ priorities: Array<string> | null;
4048
+ } | null;
4049
+ } | null;
4050
+ };
4051
+ };
4052
+
4053
+ export type DeleteApiKeyMutationVariables = Exact<{
4054
+ id: Scalars["ID"]["input"];
4055
+ }>;
4056
+
4057
+ export type DeleteApiKeyMutation = {
4058
+ __typename: "Mutation";
4059
+ deleteApiKey: boolean;
4060
+ };
4061
+
4062
+ export type UpdateApiKeyMutationVariables = Exact<{
4063
+ id: Scalars["ID"]["input"];
4064
+ input: UpdateApiKeyInput;
4065
+ }>;
4066
+
4067
+ export type UpdateApiKeyMutation = {
4068
+ __typename: "Mutation";
4069
+ updateApiKey: {
4070
+ __typename: "UserApiKey";
4071
+ id: string;
4072
+ name: string;
4073
+ agentConfiguration: {
4074
+ __typename: "AgentConfiguration";
4075
+ priorityFilters: {
4076
+ __typename: "PriorityFilters";
4077
+ teams: Array<string> | null;
4078
+ projects: Array<string> | null;
4079
+ taskTypes: Array<string> | null;
4080
+ priorities: Array<string> | null;
4081
+ } | null;
4082
+ } | null;
4083
+ };
4084
+ };
4085
+
4086
+ export const GetApiKeysDocument = {
4087
+ kind: "Document",
4088
+ definitions: [
4089
+ {
4090
+ kind: "OperationDefinition",
4091
+ operation: "query",
4092
+ name: { kind: "Name", value: "GetApiKeys" },
4093
+ variableDefinitions: [
4094
+ {
4095
+ kind: "VariableDefinition",
4096
+ variable: {
4097
+ kind: "Variable",
4098
+ name: { kind: "Name", value: "scope" },
4099
+ },
4100
+ type: {
4101
+ kind: "NamedType",
4102
+ name: { kind: "Name", value: "ApiKeyScope" },
4103
+ },
4104
+ },
4105
+ ],
4106
+ selectionSet: {
4107
+ kind: "SelectionSet",
4108
+ selections: [
4109
+ {
4110
+ kind: "Field",
4111
+ name: { kind: "Name", value: "apiKeys" },
4112
+ arguments: [
4113
+ {
4114
+ kind: "Argument",
4115
+ name: { kind: "Name", value: "scope" },
4116
+ value: {
4117
+ kind: "Variable",
4118
+ name: { kind: "Name", value: "scope" },
4119
+ },
4120
+ },
4121
+ ],
4122
+ selectionSet: {
4123
+ kind: "SelectionSet",
4124
+ selections: [
4125
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4126
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4127
+ { kind: "Field", name: { kind: "Name", value: "keyType" } },
4128
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
4129
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4130
+ { kind: "Field", name: { kind: "Name", value: "lastUsedAt" } },
4131
+ {
4132
+ kind: "Field",
4133
+ name: { kind: "Name", value: "user" },
4134
+ selectionSet: {
4135
+ kind: "SelectionSet",
4136
+ selections: [
4137
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4138
+ {
4139
+ kind: "Field",
4140
+ name: { kind: "Name", value: "displayName" },
4141
+ },
4142
+ ],
4143
+ },
4144
+ },
4145
+ {
4146
+ kind: "Field",
4147
+ name: { kind: "Name", value: "createdByUser" },
4148
+ selectionSet: {
4149
+ kind: "SelectionSet",
4150
+ selections: [
4151
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4152
+ {
4153
+ kind: "Field",
4154
+ name: { kind: "Name", value: "displayName" },
4155
+ },
4156
+ ],
4157
+ },
4158
+ },
4159
+ {
4160
+ kind: "Field",
4161
+ name: { kind: "Name", value: "agentConfiguration" },
4162
+ selectionSet: {
4163
+ kind: "SelectionSet",
4164
+ selections: [
4165
+ {
4166
+ kind: "Field",
4167
+ name: { kind: "Name", value: "priorityFilters" },
4168
+ selectionSet: {
4169
+ kind: "SelectionSet",
4170
+ selections: [
4171
+ {
4172
+ kind: "Field",
4173
+ name: { kind: "Name", value: "teams" },
4174
+ },
4175
+ {
4176
+ kind: "Field",
4177
+ name: { kind: "Name", value: "projects" },
4178
+ },
4179
+ {
4180
+ kind: "Field",
4181
+ name: { kind: "Name", value: "taskTypes" },
4182
+ },
4183
+ {
4184
+ kind: "Field",
4185
+ name: { kind: "Name", value: "priorities" },
4186
+ },
4187
+ ],
4188
+ },
4189
+ },
4190
+ ],
4191
+ },
4192
+ },
4193
+ ],
4194
+ },
4195
+ },
4196
+ ],
4197
+ },
4198
+ },
4199
+ ],
4200
+ } as unknown as DocumentNode;
4201
+
4202
+ /**
4203
+ * __useGetApiKeysQuery__
4204
+ *
4205
+ * To run a query within a React component, call `useGetApiKeysQuery` and pass it any options that fit your needs.
4206
+ * When your component renders, `useGetApiKeysQuery` returns an object from Apollo Client that contains loading, error, and data properties
4207
+ * you can use to render your UI.
4208
+ *
4209
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
4210
+ *
4211
+ * @example
4212
+ * const { data, loading, error } = useGetApiKeysQuery({
4213
+ * variables: {
4214
+ * scope: // value for 'scope'
4215
+ * },
4216
+ * });
4217
+ */
4218
+ export function useGetApiKeysQuery(
4219
+ baseOptions?: Apollo.QueryHookOptions<
4220
+ GetApiKeysQuery,
4221
+ GetApiKeysQueryVariables
4222
+ >,
4223
+ ) {
4224
+ const options = { ...defaultOptions, ...baseOptions };
4225
+ return Apollo.useQuery<GetApiKeysQuery, GetApiKeysQueryVariables>(
4226
+ GetApiKeysDocument,
4227
+ options,
4228
+ );
4229
+ }
4230
+ export function useGetApiKeysLazyQuery(
4231
+ baseOptions?: Apollo.LazyQueryHookOptions<
4232
+ GetApiKeysQuery,
4233
+ GetApiKeysQueryVariables
4234
+ >,
4235
+ ) {
4236
+ const options = { ...defaultOptions, ...baseOptions };
4237
+ return Apollo.useLazyQuery<GetApiKeysQuery, GetApiKeysQueryVariables>(
4238
+ GetApiKeysDocument,
4239
+ options,
4240
+ );
4241
+ }
4242
+ export function useGetApiKeysSuspenseQuery(
4243
+ baseOptions?:
4244
+ | Apollo.SkipToken
4245
+ | Apollo.SuspenseQueryHookOptions<
4246
+ GetApiKeysQuery,
4247
+ GetApiKeysQueryVariables
4248
+ >,
4249
+ ) {
4250
+ const options =
4251
+ baseOptions === Apollo.skipToken
4252
+ ? baseOptions
4253
+ : { ...defaultOptions, ...baseOptions };
4254
+ return Apollo.useSuspenseQuery<GetApiKeysQuery, GetApiKeysQueryVariables>(
4255
+ GetApiKeysDocument,
4256
+ options,
4257
+ );
4258
+ }
4259
+ export type GetApiKeysQueryHookResult = ReturnType<typeof useGetApiKeysQuery>;
4260
+ export type GetApiKeysLazyQueryHookResult = ReturnType<
4261
+ typeof useGetApiKeysLazyQuery
4262
+ >;
4263
+ export type GetApiKeysSuspenseQueryHookResult = ReturnType<
4264
+ typeof useGetApiKeysSuspenseQuery
4265
+ >;
4266
+ export type GetApiKeysQueryResult = Apollo.QueryResult<
4267
+ GetApiKeysQuery,
4268
+ GetApiKeysQueryVariables
4269
+ >;
4270
+ export const GetApiKeyDocument = {
4271
+ kind: "Document",
4272
+ definitions: [
4273
+ {
4274
+ kind: "OperationDefinition",
4275
+ operation: "query",
4276
+ name: { kind: "Name", value: "GetApiKey" },
4277
+ variableDefinitions: [
4278
+ {
4279
+ kind: "VariableDefinition",
4280
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
4281
+ type: {
4282
+ kind: "NonNullType",
4283
+ type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
4284
+ },
4285
+ },
4286
+ ],
4287
+ selectionSet: {
4288
+ kind: "SelectionSet",
4289
+ selections: [
4290
+ {
4291
+ kind: "Field",
4292
+ name: { kind: "Name", value: "apiKey" },
4293
+ arguments: [
4294
+ {
4295
+ kind: "Argument",
4296
+ name: { kind: "Name", value: "id" },
4297
+ value: {
4298
+ kind: "Variable",
4299
+ name: { kind: "Name", value: "id" },
4300
+ },
4301
+ },
4302
+ ],
4303
+ selectionSet: {
4304
+ kind: "SelectionSet",
4305
+ selections: [
4306
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4307
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4308
+ { kind: "Field", name: { kind: "Name", value: "keyType" } },
4309
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
4310
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4311
+ { kind: "Field", name: { kind: "Name", value: "lastUsedAt" } },
4312
+ {
4313
+ kind: "Field",
4314
+ name: { kind: "Name", value: "user" },
4315
+ selectionSet: {
4316
+ kind: "SelectionSet",
4317
+ selections: [
4318
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4319
+ {
4320
+ kind: "Field",
4321
+ name: { kind: "Name", value: "displayName" },
4322
+ },
4323
+ ],
4324
+ },
4325
+ },
4326
+ {
4327
+ kind: "Field",
4328
+ name: { kind: "Name", value: "createdByUser" },
4329
+ selectionSet: {
4330
+ kind: "SelectionSet",
4331
+ selections: [
4332
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4333
+ {
4334
+ kind: "Field",
4335
+ name: { kind: "Name", value: "displayName" },
4336
+ },
4337
+ ],
4338
+ },
4339
+ },
4340
+ {
4341
+ kind: "Field",
4342
+ name: { kind: "Name", value: "agentConfiguration" },
4343
+ selectionSet: {
4344
+ kind: "SelectionSet",
4345
+ selections: [
4346
+ {
4347
+ kind: "Field",
4348
+ name: { kind: "Name", value: "priorityFilters" },
4349
+ selectionSet: {
4350
+ kind: "SelectionSet",
4351
+ selections: [
4352
+ {
4353
+ kind: "Field",
4354
+ name: { kind: "Name", value: "teams" },
4355
+ },
4356
+ {
4357
+ kind: "Field",
4358
+ name: { kind: "Name", value: "projects" },
4359
+ },
4360
+ {
4361
+ kind: "Field",
4362
+ name: { kind: "Name", value: "taskTypes" },
4363
+ },
4364
+ {
4365
+ kind: "Field",
4366
+ name: { kind: "Name", value: "priorities" },
4367
+ },
4368
+ ],
4369
+ },
4370
+ },
4371
+ ],
4372
+ },
4373
+ },
4374
+ ],
4375
+ },
4376
+ },
4377
+ ],
4378
+ },
4379
+ },
4380
+ ],
4381
+ } as unknown as DocumentNode;
4382
+
4383
+ /**
4384
+ * __useGetApiKeyQuery__
4385
+ *
4386
+ * To run a query within a React component, call `useGetApiKeyQuery` and pass it any options that fit your needs.
4387
+ * When your component renders, `useGetApiKeyQuery` returns an object from Apollo Client that contains loading, error, and data properties
4388
+ * you can use to render your UI.
4389
+ *
4390
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
4391
+ *
4392
+ * @example
4393
+ * const { data, loading, error } = useGetApiKeyQuery({
4394
+ * variables: {
4395
+ * id: // value for 'id'
4396
+ * },
4397
+ * });
4398
+ */
4399
+ export function useGetApiKeyQuery(
4400
+ baseOptions: Apollo.QueryHookOptions<
4401
+ GetApiKeyQuery,
4402
+ GetApiKeyQueryVariables
4403
+ > &
4404
+ (
4405
+ | { variables: GetApiKeyQueryVariables; skip?: boolean }
4406
+ | { skip: boolean }
4407
+ ),
4408
+ ) {
4409
+ const options = { ...defaultOptions, ...baseOptions };
4410
+ return Apollo.useQuery<GetApiKeyQuery, GetApiKeyQueryVariables>(
4411
+ GetApiKeyDocument,
4412
+ options,
4413
+ );
4414
+ }
4415
+ export function useGetApiKeyLazyQuery(
4416
+ baseOptions?: Apollo.LazyQueryHookOptions<
4417
+ GetApiKeyQuery,
4418
+ GetApiKeyQueryVariables
4419
+ >,
4420
+ ) {
4421
+ const options = { ...defaultOptions, ...baseOptions };
4422
+ return Apollo.useLazyQuery<GetApiKeyQuery, GetApiKeyQueryVariables>(
4423
+ GetApiKeyDocument,
4424
+ options,
4425
+ );
4426
+ }
4427
+ export function useGetApiKeySuspenseQuery(
4428
+ baseOptions?:
4429
+ | Apollo.SkipToken
4430
+ | Apollo.SuspenseQueryHookOptions<GetApiKeyQuery, GetApiKeyQueryVariables>,
4431
+ ) {
4432
+ const options =
4433
+ baseOptions === Apollo.skipToken
4434
+ ? baseOptions
4435
+ : { ...defaultOptions, ...baseOptions };
4436
+ return Apollo.useSuspenseQuery<GetApiKeyQuery, GetApiKeyQueryVariables>(
4437
+ GetApiKeyDocument,
4438
+ options,
4439
+ );
4440
+ }
4441
+ export type GetApiKeyQueryHookResult = ReturnType<typeof useGetApiKeyQuery>;
4442
+ export type GetApiKeyLazyQueryHookResult = ReturnType<
4443
+ typeof useGetApiKeyLazyQuery
4444
+ >;
4445
+ export type GetApiKeySuspenseQueryHookResult = ReturnType<
4446
+ typeof useGetApiKeySuspenseQuery
4447
+ >;
4448
+ export type GetApiKeyQueryResult = Apollo.QueryResult<
4449
+ GetApiKeyQuery,
4450
+ GetApiKeyQueryVariables
4451
+ >;
4452
+ export const CreateApiKeyDocument = {
4453
+ kind: "Document",
4454
+ definitions: [
4455
+ {
4456
+ kind: "OperationDefinition",
4457
+ operation: "mutation",
4458
+ name: { kind: "Name", value: "CreateApiKey" },
4459
+ variableDefinitions: [
4460
+ {
4461
+ kind: "VariableDefinition",
4462
+ variable: {
4463
+ kind: "Variable",
4464
+ name: { kind: "Name", value: "input" },
4465
+ },
4466
+ type: {
4467
+ kind: "NonNullType",
4468
+ type: {
4469
+ kind: "NamedType",
4470
+ name: { kind: "Name", value: "CreateApiKeyInput" },
4471
+ },
4472
+ },
4473
+ },
4474
+ ],
4475
+ selectionSet: {
4476
+ kind: "SelectionSet",
4477
+ selections: [
4478
+ {
4479
+ kind: "Field",
4480
+ name: { kind: "Name", value: "createApiKey" },
4481
+ arguments: [
4482
+ {
4483
+ kind: "Argument",
4484
+ name: { kind: "Name", value: "input" },
4485
+ value: {
4486
+ kind: "Variable",
4487
+ name: { kind: "Name", value: "input" },
4488
+ },
4489
+ },
4490
+ ],
4491
+ selectionSet: {
4492
+ kind: "SelectionSet",
4493
+ selections: [
4494
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4495
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4496
+ { kind: "Field", name: { kind: "Name", value: "keyType" } },
4497
+ { kind: "Field", name: { kind: "Name", value: "scope" } },
4498
+ { kind: "Field", name: { kind: "Name", value: "key" } },
4499
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
4500
+ { kind: "Field", name: { kind: "Name", value: "lastUsed" } },
4501
+ { kind: "Field", name: { kind: "Name", value: "userId" } },
4502
+ {
4503
+ kind: "Field",
4504
+ name: { kind: "Name", value: "createdBy" },
4505
+ selectionSet: {
4506
+ kind: "SelectionSet",
4507
+ selections: [
4508
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4509
+ {
4510
+ kind: "Field",
4511
+ name: { kind: "Name", value: "displayName" },
4512
+ },
4513
+ ],
4514
+ },
4515
+ },
4516
+ {
4517
+ kind: "Field",
4518
+ name: { kind: "Name", value: "agentConfiguration" },
4519
+ selectionSet: {
4520
+ kind: "SelectionSet",
4521
+ selections: [
4522
+ {
4523
+ kind: "Field",
4524
+ name: { kind: "Name", value: "priorityFilters" },
4525
+ selectionSet: {
4526
+ kind: "SelectionSet",
4527
+ selections: [
4528
+ {
4529
+ kind: "Field",
4530
+ name: { kind: "Name", value: "teams" },
4531
+ },
4532
+ {
4533
+ kind: "Field",
4534
+ name: { kind: "Name", value: "projects" },
4535
+ },
4536
+ {
4537
+ kind: "Field",
4538
+ name: { kind: "Name", value: "taskTypes" },
4539
+ },
4540
+ {
4541
+ kind: "Field",
4542
+ name: { kind: "Name", value: "priorities" },
4543
+ },
4544
+ ],
4545
+ },
4546
+ },
4547
+ ],
4548
+ },
4549
+ },
4550
+ ],
4551
+ },
4552
+ },
4553
+ ],
4554
+ },
4555
+ },
4556
+ ],
4557
+ } as unknown as DocumentNode;
4558
+ export type CreateApiKeyMutationFn = Apollo.MutationFunction<
4559
+ CreateApiKeyMutation,
4560
+ CreateApiKeyMutationVariables
4561
+ >;
4562
+
4563
+ /**
4564
+ * __useCreateApiKeyMutation__
4565
+ *
4566
+ * To run a mutation, you first call `useCreateApiKeyMutation` within a React component and pass it any options that fit your needs.
4567
+ * When your component renders, `useCreateApiKeyMutation` returns a tuple that includes:
4568
+ * - A mutate function that you can call at any time to execute the mutation
4569
+ * - An object with fields that represent the current status of the mutation's execution
4570
+ *
4571
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4572
+ *
4573
+ * @example
4574
+ * const [createApiKeyMutation, { data, loading, error }] = useCreateApiKeyMutation({
4575
+ * variables: {
4576
+ * input: // value for 'input'
4577
+ * },
4578
+ * });
4579
+ */
4580
+ export function useCreateApiKeyMutation(
4581
+ baseOptions?: Apollo.MutationHookOptions<
4582
+ CreateApiKeyMutation,
4583
+ CreateApiKeyMutationVariables
4584
+ >,
4585
+ ) {
4586
+ const options = { ...defaultOptions, ...baseOptions };
4587
+ return Apollo.useMutation<
4588
+ CreateApiKeyMutation,
4589
+ CreateApiKeyMutationVariables
4590
+ >(CreateApiKeyDocument, options);
4591
+ }
4592
+ export type CreateApiKeyMutationHookResult = ReturnType<
4593
+ typeof useCreateApiKeyMutation
4594
+ >;
4595
+ export type CreateApiKeyMutationResult =
4596
+ Apollo.MutationResult<CreateApiKeyMutation>;
4597
+ export type CreateApiKeyMutationOptions = Apollo.BaseMutationOptions<
4598
+ CreateApiKeyMutation,
4599
+ CreateApiKeyMutationVariables
4600
+ >;
4601
+ export const DeleteApiKeyDocument = {
4602
+ kind: "Document",
4603
+ definitions: [
4604
+ {
4605
+ kind: "OperationDefinition",
4606
+ operation: "mutation",
4607
+ name: { kind: "Name", value: "DeleteApiKey" },
4608
+ variableDefinitions: [
4609
+ {
4610
+ kind: "VariableDefinition",
4611
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
4612
+ type: {
4613
+ kind: "NonNullType",
4614
+ type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
4615
+ },
4616
+ },
4617
+ ],
4618
+ selectionSet: {
4619
+ kind: "SelectionSet",
4620
+ selections: [
4621
+ {
4622
+ kind: "Field",
4623
+ name: { kind: "Name", value: "deleteApiKey" },
4624
+ arguments: [
4625
+ {
4626
+ kind: "Argument",
4627
+ name: { kind: "Name", value: "id" },
4628
+ value: {
4629
+ kind: "Variable",
4630
+ name: { kind: "Name", value: "id" },
4631
+ },
4632
+ },
4633
+ ],
4634
+ },
4635
+ ],
4636
+ },
4637
+ },
4638
+ ],
4639
+ } as unknown as DocumentNode;
4640
+ export type DeleteApiKeyMutationFn = Apollo.MutationFunction<
4641
+ DeleteApiKeyMutation,
4642
+ DeleteApiKeyMutationVariables
4643
+ >;
4644
+
4645
+ /**
4646
+ * __useDeleteApiKeyMutation__
4647
+ *
4648
+ * To run a mutation, you first call `useDeleteApiKeyMutation` within a React component and pass it any options that fit your needs.
4649
+ * When your component renders, `useDeleteApiKeyMutation` returns a tuple that includes:
4650
+ * - A mutate function that you can call at any time to execute the mutation
4651
+ * - An object with fields that represent the current status of the mutation's execution
4652
+ *
4653
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4654
+ *
4655
+ * @example
4656
+ * const [deleteApiKeyMutation, { data, loading, error }] = useDeleteApiKeyMutation({
4657
+ * variables: {
4658
+ * id: // value for 'id'
4659
+ * },
4660
+ * });
4661
+ */
4662
+ export function useDeleteApiKeyMutation(
4663
+ baseOptions?: Apollo.MutationHookOptions<
4664
+ DeleteApiKeyMutation,
4665
+ DeleteApiKeyMutationVariables
4666
+ >,
4667
+ ) {
4668
+ const options = { ...defaultOptions, ...baseOptions };
4669
+ return Apollo.useMutation<
4670
+ DeleteApiKeyMutation,
4671
+ DeleteApiKeyMutationVariables
4672
+ >(DeleteApiKeyDocument, options);
4673
+ }
4674
+ export type DeleteApiKeyMutationHookResult = ReturnType<
4675
+ typeof useDeleteApiKeyMutation
4676
+ >;
4677
+ export type DeleteApiKeyMutationResult =
4678
+ Apollo.MutationResult<DeleteApiKeyMutation>;
4679
+ export type DeleteApiKeyMutationOptions = Apollo.BaseMutationOptions<
4680
+ DeleteApiKeyMutation,
4681
+ DeleteApiKeyMutationVariables
4682
+ >;
4683
+ export const UpdateApiKeyDocument = {
4684
+ kind: "Document",
4685
+ definitions: [
4686
+ {
4687
+ kind: "OperationDefinition",
4688
+ operation: "mutation",
4689
+ name: { kind: "Name", value: "UpdateApiKey" },
4690
+ variableDefinitions: [
4691
+ {
4692
+ kind: "VariableDefinition",
4693
+ variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
4694
+ type: {
4695
+ kind: "NonNullType",
4696
+ type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
4697
+ },
4698
+ },
4699
+ {
4700
+ kind: "VariableDefinition",
4701
+ variable: {
4702
+ kind: "Variable",
4703
+ name: { kind: "Name", value: "input" },
4704
+ },
4705
+ type: {
4706
+ kind: "NonNullType",
4707
+ type: {
4708
+ kind: "NamedType",
4709
+ name: { kind: "Name", value: "UpdateApiKeyInput" },
4710
+ },
4711
+ },
4712
+ },
4713
+ ],
4714
+ selectionSet: {
4715
+ kind: "SelectionSet",
4716
+ selections: [
4717
+ {
4718
+ kind: "Field",
4719
+ name: { kind: "Name", value: "updateApiKey" },
4720
+ arguments: [
4721
+ {
4722
+ kind: "Argument",
4723
+ name: { kind: "Name", value: "id" },
4724
+ value: {
4725
+ kind: "Variable",
4726
+ name: { kind: "Name", value: "id" },
4727
+ },
4728
+ },
4729
+ {
4730
+ kind: "Argument",
4731
+ name: { kind: "Name", value: "input" },
4732
+ value: {
4733
+ kind: "Variable",
4734
+ name: { kind: "Name", value: "input" },
4735
+ },
4736
+ },
4737
+ ],
4738
+ selectionSet: {
4739
+ kind: "SelectionSet",
4740
+ selections: [
4741
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4742
+ { kind: "Field", name: { kind: "Name", value: "name" } },
4743
+ {
4744
+ kind: "Field",
4745
+ name: { kind: "Name", value: "agentConfiguration" },
4746
+ selectionSet: {
4747
+ kind: "SelectionSet",
4748
+ selections: [
4749
+ {
4750
+ kind: "Field",
4751
+ name: { kind: "Name", value: "priorityFilters" },
4752
+ selectionSet: {
4753
+ kind: "SelectionSet",
4754
+ selections: [
4755
+ {
4756
+ kind: "Field",
4757
+ name: { kind: "Name", value: "teams" },
4758
+ },
4759
+ {
4760
+ kind: "Field",
4761
+ name: { kind: "Name", value: "projects" },
4762
+ },
4763
+ {
4764
+ kind: "Field",
4765
+ name: { kind: "Name", value: "taskTypes" },
4766
+ },
4767
+ {
4768
+ kind: "Field",
4769
+ name: { kind: "Name", value: "priorities" },
4770
+ },
4771
+ ],
4772
+ },
4773
+ },
4774
+ ],
4775
+ },
4776
+ },
4777
+ ],
4778
+ },
4779
+ },
4780
+ ],
4781
+ },
4782
+ },
4783
+ ],
4784
+ } as unknown as DocumentNode;
4785
+ export type UpdateApiKeyMutationFn = Apollo.MutationFunction<
4786
+ UpdateApiKeyMutation,
4787
+ UpdateApiKeyMutationVariables
4788
+ >;
4789
+
4790
+ /**
4791
+ * __useUpdateApiKeyMutation__
4792
+ *
4793
+ * To run a mutation, you first call `useUpdateApiKeyMutation` within a React component and pass it any options that fit your needs.
4794
+ * When your component renders, `useUpdateApiKeyMutation` returns a tuple that includes:
4795
+ * - A mutate function that you can call at any time to execute the mutation
4796
+ * - An object with fields that represent the current status of the mutation's execution
4797
+ *
4798
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4799
+ *
4800
+ * @example
4801
+ * const [updateApiKeyMutation, { data, loading, error }] = useUpdateApiKeyMutation({
4802
+ * variables: {
4803
+ * id: // value for 'id'
4804
+ * input: // value for 'input'
4805
+ * },
4806
+ * });
4807
+ */
4808
+ export function useUpdateApiKeyMutation(
4809
+ baseOptions?: Apollo.MutationHookOptions<
4810
+ UpdateApiKeyMutation,
4811
+ UpdateApiKeyMutationVariables
4812
+ >,
4813
+ ) {
4814
+ const options = { ...defaultOptions, ...baseOptions };
4815
+ return Apollo.useMutation<
4816
+ UpdateApiKeyMutation,
4817
+ UpdateApiKeyMutationVariables
4818
+ >(UpdateApiKeyDocument, options);
4819
+ }
4820
+ export type UpdateApiKeyMutationHookResult = ReturnType<
4821
+ typeof useUpdateApiKeyMutation
4822
+ >;
4823
+ export type UpdateApiKeyMutationResult =
4824
+ Apollo.MutationResult<UpdateApiKeyMutation>;
4825
+ export type UpdateApiKeyMutationOptions = Apollo.BaseMutationOptions<
4826
+ UpdateApiKeyMutation,
4827
+ UpdateApiKeyMutationVariables
4828
+ >;