@legendsoflearning/lol-sdk-core 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +172 -0
  2. package/dist/auth/index.d.mts +1 -0
  3. package/dist/auth/index.d.ts +1 -0
  4. package/dist/auth/index.js +12 -0
  5. package/dist/auth/index.js.map +1 -0
  6. package/dist/auth/index.mjs +3 -0
  7. package/dist/auth/index.mjs.map +1 -0
  8. package/dist/cache/index.d.mts +26 -0
  9. package/dist/cache/index.d.ts +26 -0
  10. package/dist/cache/index.js +63 -0
  11. package/dist/cache/index.js.map +1 -0
  12. package/dist/cache/index.mjs +60 -0
  13. package/dist/cache/index.mjs.map +1 -0
  14. package/dist/chunk-Q4UXELOU.mjs +284 -0
  15. package/dist/chunk-Q4UXELOU.mjs.map +1 -0
  16. package/dist/chunk-WWN77BBN.js +286 -0
  17. package/dist/chunk-WWN77BBN.js.map +1 -0
  18. package/dist/generated/admins/index.d.mts +2738 -0
  19. package/dist/generated/admins/index.d.ts +2738 -0
  20. package/dist/generated/admins/index.js +126 -0
  21. package/dist/generated/admins/index.js.map +1 -0
  22. package/dist/generated/admins/index.mjs +108 -0
  23. package/dist/generated/admins/index.mjs.map +1 -0
  24. package/dist/generated/agents/index.d.mts +1744 -0
  25. package/dist/generated/agents/index.d.ts +1744 -0
  26. package/dist/generated/agents/index.js +220 -0
  27. package/dist/generated/agents/index.js.map +1 -0
  28. package/dist/generated/agents/index.mjs +168 -0
  29. package/dist/generated/agents/index.mjs.map +1 -0
  30. package/dist/generated/developers/index.d.mts +748 -0
  31. package/dist/generated/developers/index.d.ts +748 -0
  32. package/dist/generated/developers/index.js +72 -0
  33. package/dist/generated/developers/index.js.map +1 -0
  34. package/dist/generated/developers/index.mjs +54 -0
  35. package/dist/generated/developers/index.mjs.map +1 -0
  36. package/dist/generated/parents/index.d.mts +2446 -0
  37. package/dist/generated/parents/index.d.ts +2446 -0
  38. package/dist/generated/parents/index.js +272 -0
  39. package/dist/generated/parents/index.js.map +1 -0
  40. package/dist/generated/parents/index.mjs +206 -0
  41. package/dist/generated/parents/index.mjs.map +1 -0
  42. package/dist/generated/play/index.d.mts +1740 -0
  43. package/dist/generated/play/index.d.ts +1740 -0
  44. package/dist/generated/play/index.js +173 -0
  45. package/dist/generated/play/index.js.map +1 -0
  46. package/dist/generated/play/index.mjs +139 -0
  47. package/dist/generated/play/index.mjs.map +1 -0
  48. package/dist/generated/public/index.d.mts +1126 -0
  49. package/dist/generated/public/index.d.ts +1126 -0
  50. package/dist/generated/public/index.js +58 -0
  51. package/dist/generated/public/index.js.map +1 -0
  52. package/dist/generated/public/index.mjs +46 -0
  53. package/dist/generated/public/index.mjs.map +1 -0
  54. package/dist/generated/teachers/index.d.mts +6205 -0
  55. package/dist/generated/teachers/index.d.ts +6205 -0
  56. package/dist/generated/teachers/index.js +353 -0
  57. package/dist/generated/teachers/index.js.map +1 -0
  58. package/dist/generated/teachers/index.mjs +282 -0
  59. package/dist/generated/teachers/index.mjs.map +1 -0
  60. package/dist/generated/translation-hub/index.d.mts +2018 -0
  61. package/dist/generated/translation-hub/index.d.ts +2018 -0
  62. package/dist/generated/translation-hub/index.js +186 -0
  63. package/dist/generated/translation-hub/index.js.map +1 -0
  64. package/dist/generated/translation-hub/index.mjs +135 -0
  65. package/dist/generated/translation-hub/index.mjs.map +1 -0
  66. package/dist/index-CYIBtoSV.d.mts +173 -0
  67. package/dist/index-CYIBtoSV.d.ts +173 -0
  68. package/dist/index.d.mts +154 -0
  69. package/dist/index.d.ts +154 -0
  70. package/dist/index.js +364 -0
  71. package/dist/index.js.map +1 -0
  72. package/dist/index.mjs +348 -0
  73. package/dist/index.mjs.map +1 -0
  74. package/package.json +121 -0
@@ -0,0 +1,1744 @@
1
+ import { TypedDocumentNode, DocumentTypeDecoration, ResultOf } from '@graphql-typed-document-node/core';
2
+
3
+ type Maybe<T> = T | null;
4
+ type InputMaybe<T> = Maybe<T>;
5
+ type Exact<T extends {
6
+ [key: string]: unknown;
7
+ }> = {
8
+ [K in keyof T]: T[K];
9
+ };
10
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
+ [SubKey in K]?: Maybe<T[SubKey]>;
12
+ };
13
+ type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
14
+ [SubKey in K]: Maybe<T[SubKey]>;
15
+ };
16
+ type MakeEmpty<T extends {
17
+ [key: string]: unknown;
18
+ }, K extends keyof T> = {
19
+ [_ in K]?: never;
20
+ };
21
+ type Incremental<T> = T | {
22
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
23
+ };
24
+ /** All built-in and custom scalars, mapped to their actual values */
25
+ type Scalars = {
26
+ ID: {
27
+ input: string;
28
+ output: string;
29
+ };
30
+ String: {
31
+ input: string;
32
+ output: string;
33
+ };
34
+ Boolean: {
35
+ input: boolean;
36
+ output: boolean;
37
+ };
38
+ Int: {
39
+ input: number;
40
+ output: number;
41
+ };
42
+ Float: {
43
+ input: number;
44
+ output: number;
45
+ };
46
+ /**
47
+ * The `Date` scalar type represents a date. The Date appears in a JSON
48
+ * response as an ISO8601 formatted string, without a time component.
49
+ */
50
+ Date: {
51
+ input: any;
52
+ output: any;
53
+ };
54
+ /**
55
+ * The `DateTime` scalar type represents a date and time in the UTC
56
+ * timezone. The DateTime appears in a JSON response as an ISO8601 formatted
57
+ * string, including UTC timezone ("Z"). The parsed date and time string will
58
+ * be converted to UTC if there is an offset.
59
+ */
60
+ DateTime: {
61
+ input: any;
62
+ output: any;
63
+ };
64
+ /**
65
+ * The `Json` scalar type represents arbitrary json string data, represented as UTF-8
66
+ * character sequences. The Json type is most often used to represent a free-form
67
+ * human-readable json string.
68
+ */
69
+ Json: {
70
+ input: any;
71
+ output: any;
72
+ };
73
+ };
74
+ declare enum AdminRole {
75
+ Admin = "ADMIN",
76
+ Editor = "EDITOR",
77
+ Viewer = "VIEWER"
78
+ }
79
+ type Agent = {
80
+ __typename?: 'Agent';
81
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
82
+ avatarUrl?: Maybe<Scalars['String']['output']>;
83
+ conversations?: Maybe<Array<Conversation>>;
84
+ description?: Maybe<Scalars['String']['output']>;
85
+ id: Scalars['ID']['output'];
86
+ insertedAt: Scalars['DateTime']['output'];
87
+ isPublic: Scalars['Boolean']['output'];
88
+ lastActiveAt?: Maybe<Scalars['DateTime']['output']>;
89
+ maxTokens: Scalars['Int']['output'];
90
+ model: Scalars['String']['output'];
91
+ name: Scalars['String']['output'];
92
+ role: AgentRole;
93
+ schedules?: Maybe<Array<Schedule>>;
94
+ slug: Scalars['String']['output'];
95
+ status: AgentStatus;
96
+ statusMessage?: Maybe<Scalars['String']['output']>;
97
+ systemPrompt: Scalars['String']['output'];
98
+ temperature: Scalars['Float']['output'];
99
+ tools?: Maybe<Array<ToolRegistry>>;
100
+ updatedAt: Scalars['DateTime']['output'];
101
+ };
102
+ declare enum AgentRole {
103
+ Content = "CONTENT",
104
+ Data = "DATA",
105
+ Devops = "DEVOPS",
106
+ Engineering = "ENGINEERING",
107
+ Product = "PRODUCT",
108
+ Qa = "QA",
109
+ Security = "SECURITY",
110
+ Support = "SUPPORT"
111
+ }
112
+ declare enum AgentStatus {
113
+ Busy = "BUSY",
114
+ Disabled = "DISABLED",
115
+ Error = "ERROR",
116
+ Idle = "IDLE"
117
+ }
118
+ type AgentsAdmin = {
119
+ __typename?: 'AgentsAdmin';
120
+ canManageAdmins: Scalars['Boolean']['output'];
121
+ canManageAgents: Scalars['Boolean']['output'];
122
+ canManageTools: Scalars['Boolean']['output'];
123
+ canViewAllConversations: Scalars['Boolean']['output'];
124
+ email: Scalars['String']['output'];
125
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
126
+ id: Scalars['ID']['output'];
127
+ insertedAt: Scalars['DateTime']['output'];
128
+ lastAccessedAt?: Maybe<Scalars['DateTime']['output']>;
129
+ role: AdminRole;
130
+ updatedAt: Scalars['DateTime']['output'];
131
+ };
132
+ type Conversation = {
133
+ __typename?: 'Conversation';
134
+ agent?: Maybe<Agent>;
135
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
136
+ contextId?: Maybe<Scalars['ID']['output']>;
137
+ contextType?: Maybe<Scalars['String']['output']>;
138
+ createdById?: Maybe<Scalars['ID']['output']>;
139
+ id: Scalars['ID']['output'];
140
+ insertedAt: Scalars['DateTime']['output'];
141
+ isPublic: Scalars['Boolean']['output'];
142
+ messages?: Maybe<Array<Message>>;
143
+ pinned: Scalars['Boolean']['output'];
144
+ runs?: Maybe<Array<Run>>;
145
+ status: ConversationStatus;
146
+ summary?: Maybe<Scalars['String']['output']>;
147
+ title?: Maybe<Scalars['String']['output']>;
148
+ updatedAt: Scalars['DateTime']['output'];
149
+ };
150
+ declare enum ConversationStatus {
151
+ Active = "ACTIVE",
152
+ Archived = "ARCHIVED",
153
+ Completed = "COMPLETED",
154
+ Paused = "PAUSED"
155
+ }
156
+ type CreateAdminInput = {
157
+ canManageAdmins?: InputMaybe<Scalars['Boolean']['input']>;
158
+ canManageAgents?: InputMaybe<Scalars['Boolean']['input']>;
159
+ canManageTools?: InputMaybe<Scalars['Boolean']['input']>;
160
+ canViewAllConversations?: InputMaybe<Scalars['Boolean']['input']>;
161
+ email: Scalars['String']['input'];
162
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
163
+ role?: InputMaybe<AdminRole>;
164
+ };
165
+ type CreateAgentInput = {
166
+ avatarUrl?: InputMaybe<Scalars['String']['input']>;
167
+ description?: InputMaybe<Scalars['String']['input']>;
168
+ isPublic?: InputMaybe<Scalars['Boolean']['input']>;
169
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
170
+ model?: InputMaybe<Scalars['String']['input']>;
171
+ name: Scalars['String']['input'];
172
+ role: AgentRole;
173
+ slug: Scalars['String']['input'];
174
+ systemPrompt: Scalars['String']['input'];
175
+ temperature?: InputMaybe<Scalars['Float']['input']>;
176
+ };
177
+ type CreateConversationInput = {
178
+ agentId: Scalars['ID']['input'];
179
+ isPublic?: InputMaybe<Scalars['Boolean']['input']>;
180
+ title?: InputMaybe<Scalars['String']['input']>;
181
+ };
182
+ type CreateScheduleInput = {
183
+ agentId: Scalars['ID']['input'];
184
+ cronExpression: Scalars['String']['input'];
185
+ description?: InputMaybe<Scalars['String']['input']>;
186
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
187
+ initialMessage?: InputMaybe<Scalars['String']['input']>;
188
+ maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
189
+ name: Scalars['String']['input'];
190
+ taskConfig?: InputMaybe<Scalars['Json']['input']>;
191
+ taskType: ScheduleTaskType;
192
+ timezone?: InputMaybe<Scalars['String']['input']>;
193
+ };
194
+ type CreateToolInput = {
195
+ categoryId?: InputMaybe<Scalars['ID']['input']>;
196
+ confirmationMessage?: InputMaybe<Scalars['String']['input']>;
197
+ description: Scalars['String']['input'];
198
+ displayName?: InputMaybe<Scalars['String']['input']>;
199
+ inputSchema: Scalars['Json']['input'];
200
+ maxExecutionSeconds?: InputMaybe<Scalars['Int']['input']>;
201
+ name: Scalars['String']['input'];
202
+ outputSchema?: InputMaybe<Scalars['Json']['input']>;
203
+ requiresConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
204
+ sourceId?: InputMaybe<Scalars['ID']['input']>;
205
+ };
206
+ type Message = {
207
+ __typename?: 'Message';
208
+ content: Scalars['String']['output'];
209
+ contentType: Scalars['String']['output'];
210
+ conversation: Conversation;
211
+ deletedAt?: Maybe<Scalars['DateTime']['output']>;
212
+ editedAt?: Maybe<Scalars['DateTime']['output']>;
213
+ id: Scalars['ID']['output'];
214
+ insertedAt: Scalars['DateTime']['output'];
215
+ metadata?: Maybe<Scalars['Json']['output']>;
216
+ role: MessageRole;
217
+ run?: Maybe<Run>;
218
+ stopReason?: Maybe<Scalars['String']['output']>;
219
+ updatedAt: Scalars['DateTime']['output'];
220
+ userId?: Maybe<Scalars['ID']['output']>;
221
+ };
222
+ declare enum MessageRole {
223
+ Assistant = "ASSISTANT",
224
+ System = "SYSTEM",
225
+ ToolResult = "TOOL_RESULT",
226
+ User = "USER"
227
+ }
228
+ type RootMutationType = {
229
+ __typename?: 'RootMutationType';
230
+ /** Archive an agent */
231
+ archiveAgent?: Maybe<Agent>;
232
+ /** Archive a conversation */
233
+ archiveAgentsConversation?: Maybe<Conversation>;
234
+ /** Assign a tool to an agent */
235
+ assignToolToAgent?: Maybe<Scalars['Boolean']['output']>;
236
+ /** Cancel a running agent run */
237
+ cancelAgentsRun?: Maybe<Run>;
238
+ /** Confirm a tool call that requires confirmation */
239
+ confirmAgentsToolCall?: Maybe<Scalars['Boolean']['output']>;
240
+ /** Create a new agent */
241
+ createAgent?: Maybe<Agent>;
242
+ /** Create a new agents admin */
243
+ createAgentsAdmin?: Maybe<AgentsAdmin>;
244
+ /** Create a new conversation */
245
+ createAgentsConversation?: Maybe<Conversation>;
246
+ /** Create a new schedule */
247
+ createAgentsSchedule?: Maybe<Schedule>;
248
+ /** Create a new tool */
249
+ createAgentsTool?: Maybe<ToolRegistry>;
250
+ /** Delete an agents admin */
251
+ deleteAgentsAdmin?: Maybe<Scalars['Boolean']['output']>;
252
+ /** Delete a schedule */
253
+ deleteAgentsSchedule?: Maybe<Scalars['Boolean']['output']>;
254
+ /** Delete a tool */
255
+ deleteAgentsTool?: Maybe<Scalars['Boolean']['output']>;
256
+ /** Disable a schedule */
257
+ disableAgentsSchedule?: Maybe<Schedule>;
258
+ /** Enable a schedule */
259
+ enableAgentsSchedule?: Maybe<Schedule>;
260
+ /** Reject a tool call that requires confirmation */
261
+ rejectAgentsToolCall?: Maybe<Scalars['Boolean']['output']>;
262
+ /** Remove a tool from an agent */
263
+ removeToolFromAgent?: Maybe<Scalars['Boolean']['output']>;
264
+ /** Restore an archived agent */
265
+ restoreAgent?: Maybe<Agent>;
266
+ /** Send a message to a conversation */
267
+ sendAgentsMessage?: Maybe<Message>;
268
+ /** Update an existing agent */
269
+ updateAgent?: Maybe<Agent>;
270
+ /** Update an agents admin */
271
+ updateAgentsAdmin?: Maybe<AgentsAdmin>;
272
+ /** Update an existing schedule */
273
+ updateAgentsSchedule?: Maybe<Schedule>;
274
+ /** Update an existing tool */
275
+ updateAgentsTool?: Maybe<ToolRegistry>;
276
+ };
277
+ type RootMutationTypeArchiveAgentArgs = {
278
+ id: Scalars['ID']['input'];
279
+ };
280
+ type RootMutationTypeArchiveAgentsConversationArgs = {
281
+ id: Scalars['ID']['input'];
282
+ };
283
+ type RootMutationTypeAssignToolToAgentArgs = {
284
+ agentId: Scalars['ID']['input'];
285
+ toolId: Scalars['ID']['input'];
286
+ };
287
+ type RootMutationTypeCancelAgentsRunArgs = {
288
+ id: Scalars['ID']['input'];
289
+ };
290
+ type RootMutationTypeConfirmAgentsToolCallArgs = {
291
+ id: Scalars['ID']['input'];
292
+ };
293
+ type RootMutationTypeCreateAgentArgs = {
294
+ input: CreateAgentInput;
295
+ };
296
+ type RootMutationTypeCreateAgentsAdminArgs = {
297
+ input: CreateAdminInput;
298
+ };
299
+ type RootMutationTypeCreateAgentsConversationArgs = {
300
+ input: CreateConversationInput;
301
+ };
302
+ type RootMutationTypeCreateAgentsScheduleArgs = {
303
+ input: CreateScheduleInput;
304
+ };
305
+ type RootMutationTypeCreateAgentsToolArgs = {
306
+ input: CreateToolInput;
307
+ };
308
+ type RootMutationTypeDeleteAgentsAdminArgs = {
309
+ id: Scalars['ID']['input'];
310
+ };
311
+ type RootMutationTypeDeleteAgentsScheduleArgs = {
312
+ id: Scalars['ID']['input'];
313
+ };
314
+ type RootMutationTypeDeleteAgentsToolArgs = {
315
+ id: Scalars['ID']['input'];
316
+ };
317
+ type RootMutationTypeDisableAgentsScheduleArgs = {
318
+ id: Scalars['ID']['input'];
319
+ };
320
+ type RootMutationTypeEnableAgentsScheduleArgs = {
321
+ id: Scalars['ID']['input'];
322
+ };
323
+ type RootMutationTypeRejectAgentsToolCallArgs = {
324
+ id: Scalars['ID']['input'];
325
+ };
326
+ type RootMutationTypeRemoveToolFromAgentArgs = {
327
+ agentId: Scalars['ID']['input'];
328
+ toolId: Scalars['ID']['input'];
329
+ };
330
+ type RootMutationTypeRestoreAgentArgs = {
331
+ id: Scalars['ID']['input'];
332
+ };
333
+ type RootMutationTypeSendAgentsMessageArgs = {
334
+ input: SendMessageInput;
335
+ };
336
+ type RootMutationTypeUpdateAgentArgs = {
337
+ id: Scalars['ID']['input'];
338
+ input: UpdateAgentInput;
339
+ };
340
+ type RootMutationTypeUpdateAgentsAdminArgs = {
341
+ id: Scalars['ID']['input'];
342
+ input: UpdateAdminInput;
343
+ };
344
+ type RootMutationTypeUpdateAgentsScheduleArgs = {
345
+ id: Scalars['ID']['input'];
346
+ input: UpdateScheduleInput;
347
+ };
348
+ type RootMutationTypeUpdateAgentsToolArgs = {
349
+ id: Scalars['ID']['input'];
350
+ input: UpdateToolInput;
351
+ };
352
+ type RootQueryType = {
353
+ __typename?: 'RootQueryType';
354
+ /** Get a single agent by ID or slug */
355
+ agent?: Maybe<Agent>;
356
+ /** List all agents */
357
+ agents?: Maybe<Array<Agent>>;
358
+ /** List agents admins */
359
+ agentsAdmins?: Maybe<Array<AgentsAdmin>>;
360
+ /** Get a single conversation by ID */
361
+ agentsConversation?: Maybe<Conversation>;
362
+ /** List conversations */
363
+ agentsConversations?: Maybe<Array<Conversation>>;
364
+ /** Get current agents admin info */
365
+ agentsCurrentAdmin?: Maybe<AgentsAdmin>;
366
+ /** Get a single run by ID */
367
+ agentsRun?: Maybe<Run>;
368
+ /** List runs */
369
+ agentsRuns?: Maybe<Array<Run>>;
370
+ /** Get a single schedule by ID */
371
+ agentsSchedule?: Maybe<Schedule>;
372
+ /** List schedules */
373
+ agentsSchedules?: Maybe<Array<Schedule>>;
374
+ /** Get a single tool by ID */
375
+ agentsTool?: Maybe<ToolRegistry>;
376
+ /** List tool categories */
377
+ agentsToolCategories?: Maybe<Array<ToolCategory>>;
378
+ /** List tool sources (MCP servers, etc.) */
379
+ agentsToolSources?: Maybe<Array<ToolSource>>;
380
+ /** List all tools in the registry */
381
+ agentsTools?: Maybe<Array<ToolRegistry>>;
382
+ /** Get daily usage records */
383
+ agentsUsageDaily?: Maybe<Array<UsageDaily>>;
384
+ /** Get usage statistics */
385
+ agentsUsageStats?: Maybe<UsageStats>;
386
+ };
387
+ type RootQueryTypeAgentArgs = {
388
+ id?: InputMaybe<Scalars['ID']['input']>;
389
+ slug?: InputMaybe<Scalars['String']['input']>;
390
+ };
391
+ type RootQueryTypeAgentsArgs = {
392
+ includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
393
+ role?: InputMaybe<AgentRole>;
394
+ status?: InputMaybe<AgentStatus>;
395
+ };
396
+ type RootQueryTypeAgentsConversationArgs = {
397
+ id: Scalars['ID']['input'];
398
+ };
399
+ type RootQueryTypeAgentsConversationsArgs = {
400
+ agentId?: InputMaybe<Scalars['ID']['input']>;
401
+ limit?: InputMaybe<Scalars['Int']['input']>;
402
+ status?: InputMaybe<ConversationStatus>;
403
+ };
404
+ type RootQueryTypeAgentsRunArgs = {
405
+ id: Scalars['ID']['input'];
406
+ };
407
+ type RootQueryTypeAgentsRunsArgs = {
408
+ agentId?: InputMaybe<Scalars['ID']['input']>;
409
+ conversationId?: InputMaybe<Scalars['ID']['input']>;
410
+ limit?: InputMaybe<Scalars['Int']['input']>;
411
+ status?: InputMaybe<RunStatus>;
412
+ };
413
+ type RootQueryTypeAgentsScheduleArgs = {
414
+ id: Scalars['ID']['input'];
415
+ };
416
+ type RootQueryTypeAgentsSchedulesArgs = {
417
+ agentId?: InputMaybe<Scalars['ID']['input']>;
418
+ enabledOnly?: InputMaybe<Scalars['Boolean']['input']>;
419
+ };
420
+ type RootQueryTypeAgentsToolArgs = {
421
+ id: Scalars['ID']['input'];
422
+ };
423
+ type RootQueryTypeAgentsToolsArgs = {
424
+ categoryId?: InputMaybe<Scalars['ID']['input']>;
425
+ enabledOnly?: InputMaybe<Scalars['Boolean']['input']>;
426
+ sourceId?: InputMaybe<Scalars['ID']['input']>;
427
+ };
428
+ type RootQueryTypeAgentsUsageDailyArgs = {
429
+ agentId?: InputMaybe<Scalars['ID']['input']>;
430
+ endDate?: InputMaybe<Scalars['Date']['input']>;
431
+ startDate?: InputMaybe<Scalars['Date']['input']>;
432
+ };
433
+ type RootQueryTypeAgentsUsageStatsArgs = {
434
+ agentId?: InputMaybe<Scalars['ID']['input']>;
435
+ endDate?: InputMaybe<Scalars['Date']['input']>;
436
+ startDate?: InputMaybe<Scalars['Date']['input']>;
437
+ };
438
+ type Run = {
439
+ __typename?: 'Run';
440
+ agent: Agent;
441
+ cacheReadTokens: Scalars['Int']['output'];
442
+ cacheWriteTokens: Scalars['Int']['output'];
443
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
444
+ conversation?: Maybe<Conversation>;
445
+ costCents: Scalars['Float']['output'];
446
+ error?: Maybe<Scalars['String']['output']>;
447
+ errorCode?: Maybe<Scalars['String']['output']>;
448
+ id: Scalars['ID']['output'];
449
+ inputTokens: Scalars['Int']['output'];
450
+ insertedAt: Scalars['DateTime']['output'];
451
+ modelUsed?: Maybe<Scalars['String']['output']>;
452
+ outputTokens: Scalars['Int']['output'];
453
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
454
+ status: RunStatus;
455
+ toolCalls?: Maybe<Array<ToolCall>>;
456
+ toolsDiscovered?: Maybe<Array<Scalars['String']['output']>>;
457
+ toolsUsed?: Maybe<Array<Scalars['String']['output']>>;
458
+ triggerType: Scalars['String']['output'];
459
+ updatedAt: Scalars['DateTime']['output'];
460
+ };
461
+ declare enum RunStatus {
462
+ Cancelled = "CANCELLED",
463
+ Completed = "COMPLETED",
464
+ Failed = "FAILED",
465
+ Pending = "PENDING",
466
+ Running = "RUNNING",
467
+ Timeout = "TIMEOUT"
468
+ }
469
+ type Schedule = {
470
+ __typename?: 'Schedule';
471
+ agent: Agent;
472
+ cronExpression: Scalars['String']['output'];
473
+ description?: Maybe<Scalars['String']['output']>;
474
+ enabled: Scalars['Boolean']['output'];
475
+ id: Scalars['ID']['output'];
476
+ initialMessage?: Maybe<Scalars['String']['output']>;
477
+ insertedAt: Scalars['DateTime']['output'];
478
+ lastError?: Maybe<Scalars['String']['output']>;
479
+ lastRunAt?: Maybe<Scalars['DateTime']['output']>;
480
+ lastRunStatus?: Maybe<Scalars['String']['output']>;
481
+ maxDurationSeconds: Scalars['Int']['output'];
482
+ name: Scalars['String']['output'];
483
+ nextRunAt?: Maybe<Scalars['DateTime']['output']>;
484
+ taskConfig?: Maybe<Scalars['Json']['output']>;
485
+ taskType: ScheduleTaskType;
486
+ timezone: Scalars['String']['output'];
487
+ updatedAt: Scalars['DateTime']['output'];
488
+ };
489
+ declare enum ScheduleTaskType {
490
+ Conversation = "CONVERSATION",
491
+ Maintenance = "MAINTENANCE",
492
+ Report = "REPORT"
493
+ }
494
+ type SendMessageInput = {
495
+ content: Scalars['String']['input'];
496
+ conversationId: Scalars['ID']['input'];
497
+ };
498
+ type ToolCall = {
499
+ __typename?: 'ToolCall';
500
+ cacheHit: Scalars['Boolean']['output'];
501
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
502
+ confirmedAt?: Maybe<Scalars['DateTime']['output']>;
503
+ confirmedById?: Maybe<Scalars['ID']['output']>;
504
+ durationMs?: Maybe<Scalars['Int']['output']>;
505
+ error?: Maybe<Scalars['String']['output']>;
506
+ errorType?: Maybe<Scalars['String']['output']>;
507
+ id: Scalars['ID']['output'];
508
+ input: Scalars['Json']['output'];
509
+ insertedAt: Scalars['DateTime']['output'];
510
+ output?: Maybe<Scalars['Json']['output']>;
511
+ outputTruncated: Scalars['Boolean']['output'];
512
+ requiresConfirmation: Scalars['Boolean']['output'];
513
+ run: Run;
514
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
515
+ status: ToolCallStatus;
516
+ toolCallId?: Maybe<Scalars['String']['output']>;
517
+ toolName: Scalars['String']['output'];
518
+ updatedAt: Scalars['DateTime']['output'];
519
+ };
520
+ declare enum ToolCallStatus {
521
+ AwaitingConfirmation = "AWAITING_CONFIRMATION",
522
+ Cancelled = "CANCELLED",
523
+ Completed = "COMPLETED",
524
+ Failed = "FAILED",
525
+ Pending = "PENDING",
526
+ Running = "RUNNING"
527
+ }
528
+ type ToolCategory = {
529
+ __typename?: 'ToolCategory';
530
+ description?: Maybe<Scalars['String']['output']>;
531
+ icon?: Maybe<Scalars['String']['output']>;
532
+ id: Scalars['ID']['output'];
533
+ insertedAt: Scalars['DateTime']['output'];
534
+ name: Scalars['String']['output'];
535
+ slug: Scalars['String']['output'];
536
+ sortOrder: Scalars['Int']['output'];
537
+ updatedAt: Scalars['DateTime']['output'];
538
+ };
539
+ type ToolRegistry = {
540
+ __typename?: 'ToolRegistry';
541
+ category?: Maybe<ToolCategory>;
542
+ confirmationMessage?: Maybe<Scalars['String']['output']>;
543
+ deprecated: Scalars['Boolean']['output'];
544
+ deprecatedMessage?: Maybe<Scalars['String']['output']>;
545
+ description: Scalars['String']['output'];
546
+ displayName?: Maybe<Scalars['String']['output']>;
547
+ enabled: Scalars['Boolean']['output'];
548
+ failureCount: Scalars['Int']['output'];
549
+ id: Scalars['ID']['output'];
550
+ inputSchema: Scalars['Json']['output'];
551
+ insertedAt: Scalars['DateTime']['output'];
552
+ lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
553
+ maxExecutionSeconds?: Maybe<Scalars['Int']['output']>;
554
+ name: Scalars['String']['output'];
555
+ outputSchema?: Maybe<Scalars['Json']['output']>;
556
+ requiresConfirmation: Scalars['Boolean']['output'];
557
+ source?: Maybe<ToolSource>;
558
+ successCount: Scalars['Int']['output'];
559
+ updatedAt: Scalars['DateTime']['output'];
560
+ usageCount: Scalars['Int']['output'];
561
+ };
562
+ type ToolSource = {
563
+ __typename?: 'ToolSource';
564
+ displayName: Scalars['String']['output'];
565
+ enabled: Scalars['Boolean']['output'];
566
+ endpoint?: Maybe<Scalars['String']['output']>;
567
+ healthStatus?: Maybe<Scalars['String']['output']>;
568
+ id: Scalars['ID']['output'];
569
+ insertedAt: Scalars['DateTime']['output'];
570
+ name: Scalars['String']['output'];
571
+ type: Scalars['String']['output'];
572
+ updatedAt: Scalars['DateTime']['output'];
573
+ };
574
+ type UpdateAdminInput = {
575
+ canManageAdmins?: InputMaybe<Scalars['Boolean']['input']>;
576
+ canManageAgents?: InputMaybe<Scalars['Boolean']['input']>;
577
+ canManageTools?: InputMaybe<Scalars['Boolean']['input']>;
578
+ canViewAllConversations?: InputMaybe<Scalars['Boolean']['input']>;
579
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
580
+ role?: InputMaybe<AdminRole>;
581
+ };
582
+ type UpdateAgentInput = {
583
+ avatarUrl?: InputMaybe<Scalars['String']['input']>;
584
+ description?: InputMaybe<Scalars['String']['input']>;
585
+ isPublic?: InputMaybe<Scalars['Boolean']['input']>;
586
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
587
+ model?: InputMaybe<Scalars['String']['input']>;
588
+ name?: InputMaybe<Scalars['String']['input']>;
589
+ status?: InputMaybe<AgentStatus>;
590
+ statusMessage?: InputMaybe<Scalars['String']['input']>;
591
+ systemPrompt?: InputMaybe<Scalars['String']['input']>;
592
+ temperature?: InputMaybe<Scalars['Float']['input']>;
593
+ };
594
+ type UpdateScheduleInput = {
595
+ cronExpression?: InputMaybe<Scalars['String']['input']>;
596
+ description?: InputMaybe<Scalars['String']['input']>;
597
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
598
+ initialMessage?: InputMaybe<Scalars['String']['input']>;
599
+ maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
600
+ name?: InputMaybe<Scalars['String']['input']>;
601
+ taskConfig?: InputMaybe<Scalars['Json']['input']>;
602
+ timezone?: InputMaybe<Scalars['String']['input']>;
603
+ };
604
+ type UpdateToolInput = {
605
+ categoryId?: InputMaybe<Scalars['ID']['input']>;
606
+ confirmationMessage?: InputMaybe<Scalars['String']['input']>;
607
+ deprecated?: InputMaybe<Scalars['Boolean']['input']>;
608
+ deprecatedMessage?: InputMaybe<Scalars['String']['input']>;
609
+ description?: InputMaybe<Scalars['String']['input']>;
610
+ displayName?: InputMaybe<Scalars['String']['input']>;
611
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
612
+ inputSchema?: InputMaybe<Scalars['Json']['input']>;
613
+ maxExecutionSeconds?: InputMaybe<Scalars['Int']['input']>;
614
+ outputSchema?: InputMaybe<Scalars['Json']['input']>;
615
+ requiresConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
616
+ };
617
+ type UsageDaily = {
618
+ __typename?: 'UsageDaily';
619
+ agentId?: Maybe<Scalars['ID']['output']>;
620
+ cacheReadTokens: Scalars['Int']['output'];
621
+ cacheWriteTokens: Scalars['Int']['output'];
622
+ costCents: Scalars['Float']['output'];
623
+ date: Scalars['Date']['output'];
624
+ errorCount: Scalars['Int']['output'];
625
+ id: Scalars['ID']['output'];
626
+ inputTokens: Scalars['Int']['output'];
627
+ insertedAt: Scalars['DateTime']['output'];
628
+ messageCount: Scalars['Int']['output'];
629
+ outputTokens: Scalars['Int']['output'];
630
+ runCount: Scalars['Int']['output'];
631
+ toolCallCount: Scalars['Int']['output'];
632
+ updatedAt: Scalars['DateTime']['output'];
633
+ };
634
+ type UsageStats = {
635
+ __typename?: 'UsageStats';
636
+ totalCostCents?: Maybe<Scalars['Float']['output']>;
637
+ totalErrors?: Maybe<Scalars['Int']['output']>;
638
+ totalInputTokens?: Maybe<Scalars['Int']['output']>;
639
+ totalMessages?: Maybe<Scalars['Int']['output']>;
640
+ totalOutputTokens?: Maybe<Scalars['Int']['output']>;
641
+ totalRuns?: Maybe<Scalars['Int']['output']>;
642
+ totalToolCalls?: Maybe<Scalars['Int']['output']>;
643
+ };
644
+ type CreateAgentMutationVariables = Exact<{
645
+ input: CreateAgentInput;
646
+ }>;
647
+ type CreateAgentMutation = {
648
+ __typename?: 'RootMutationType';
649
+ createAgent?: {
650
+ __typename?: 'Agent';
651
+ id: string;
652
+ slug: string;
653
+ name: string;
654
+ role: AgentRole;
655
+ status: AgentStatus;
656
+ description?: string | null;
657
+ systemPrompt: string;
658
+ model: string;
659
+ temperature: number;
660
+ maxTokens: number;
661
+ avatarUrl?: string | null;
662
+ isPublic: boolean;
663
+ insertedAt: any;
664
+ updatedAt: any;
665
+ } | null;
666
+ };
667
+ type UpdateAgentMutationVariables = Exact<{
668
+ id: Scalars['ID']['input'];
669
+ input: UpdateAgentInput;
670
+ }>;
671
+ type UpdateAgentMutation = {
672
+ __typename?: 'RootMutationType';
673
+ updateAgent?: {
674
+ __typename?: 'Agent';
675
+ id: string;
676
+ slug: string;
677
+ name: string;
678
+ role: AgentRole;
679
+ status: AgentStatus;
680
+ statusMessage?: string | null;
681
+ description?: string | null;
682
+ systemPrompt: string;
683
+ model: string;
684
+ temperature: number;
685
+ maxTokens: number;
686
+ avatarUrl?: string | null;
687
+ isPublic: boolean;
688
+ lastActiveAt?: any | null;
689
+ updatedAt: any;
690
+ } | null;
691
+ };
692
+ type ArchiveAgentMutationVariables = Exact<{
693
+ id: Scalars['ID']['input'];
694
+ }>;
695
+ type ArchiveAgentMutation = {
696
+ __typename?: 'RootMutationType';
697
+ archiveAgent?: {
698
+ __typename?: 'Agent';
699
+ id: string;
700
+ archivedAt?: any | null;
701
+ } | null;
702
+ };
703
+ type RestoreAgentMutationVariables = Exact<{
704
+ id: Scalars['ID']['input'];
705
+ }>;
706
+ type RestoreAgentMutation = {
707
+ __typename?: 'RootMutationType';
708
+ restoreAgent?: {
709
+ __typename?: 'Agent';
710
+ id: string;
711
+ archivedAt?: any | null;
712
+ } | null;
713
+ };
714
+ type CreateAgentsToolMutationVariables = Exact<{
715
+ input: CreateToolInput;
716
+ }>;
717
+ type CreateAgentsToolMutation = {
718
+ __typename?: 'RootMutationType';
719
+ createAgentsTool?: {
720
+ __typename?: 'ToolRegistry';
721
+ id: string;
722
+ name: string;
723
+ displayName?: string | null;
724
+ description: string;
725
+ inputSchema: any;
726
+ outputSchema?: any | null;
727
+ enabled: boolean;
728
+ requiresConfirmation: boolean;
729
+ confirmationMessage?: string | null;
730
+ maxExecutionSeconds?: number | null;
731
+ insertedAt: any;
732
+ updatedAt: any;
733
+ } | null;
734
+ };
735
+ type UpdateAgentsToolMutationVariables = Exact<{
736
+ id: Scalars['ID']['input'];
737
+ input: UpdateToolInput;
738
+ }>;
739
+ type UpdateAgentsToolMutation = {
740
+ __typename?: 'RootMutationType';
741
+ updateAgentsTool?: {
742
+ __typename?: 'ToolRegistry';
743
+ id: string;
744
+ name: string;
745
+ displayName?: string | null;
746
+ description: string;
747
+ inputSchema: any;
748
+ outputSchema?: any | null;
749
+ enabled: boolean;
750
+ deprecated: boolean;
751
+ deprecatedMessage?: string | null;
752
+ requiresConfirmation: boolean;
753
+ confirmationMessage?: string | null;
754
+ maxExecutionSeconds?: number | null;
755
+ updatedAt: any;
756
+ } | null;
757
+ };
758
+ type DeleteAgentsToolMutationVariables = Exact<{
759
+ id: Scalars['ID']['input'];
760
+ }>;
761
+ type DeleteAgentsToolMutation = {
762
+ __typename?: 'RootMutationType';
763
+ deleteAgentsTool?: boolean | null;
764
+ };
765
+ type AssignToolToAgentMutationVariables = Exact<{
766
+ agentId: Scalars['ID']['input'];
767
+ toolId: Scalars['ID']['input'];
768
+ }>;
769
+ type AssignToolToAgentMutation = {
770
+ __typename?: 'RootMutationType';
771
+ assignToolToAgent?: boolean | null;
772
+ };
773
+ type RemoveToolFromAgentMutationVariables = Exact<{
774
+ agentId: Scalars['ID']['input'];
775
+ toolId: Scalars['ID']['input'];
776
+ }>;
777
+ type RemoveToolFromAgentMutation = {
778
+ __typename?: 'RootMutationType';
779
+ removeToolFromAgent?: boolean | null;
780
+ };
781
+ type CreateAgentsScheduleMutationVariables = Exact<{
782
+ input: CreateScheduleInput;
783
+ }>;
784
+ type CreateAgentsScheduleMutation = {
785
+ __typename?: 'RootMutationType';
786
+ createAgentsSchedule?: {
787
+ __typename?: 'Schedule';
788
+ id: string;
789
+ name: string;
790
+ description?: string | null;
791
+ cronExpression: string;
792
+ timezone: string;
793
+ enabled: boolean;
794
+ initialMessage?: string | null;
795
+ taskType: ScheduleTaskType;
796
+ taskConfig?: any | null;
797
+ maxDurationSeconds: number;
798
+ nextRunAt?: any | null;
799
+ insertedAt: any;
800
+ updatedAt: any;
801
+ agent: {
802
+ __typename?: 'Agent';
803
+ id: string;
804
+ name: string;
805
+ };
806
+ } | null;
807
+ };
808
+ type UpdateAgentsScheduleMutationVariables = Exact<{
809
+ id: Scalars['ID']['input'];
810
+ input: UpdateScheduleInput;
811
+ }>;
812
+ type UpdateAgentsScheduleMutation = {
813
+ __typename?: 'RootMutationType';
814
+ updateAgentsSchedule?: {
815
+ __typename?: 'Schedule';
816
+ id: string;
817
+ name: string;
818
+ description?: string | null;
819
+ cronExpression: string;
820
+ timezone: string;
821
+ enabled: boolean;
822
+ initialMessage?: string | null;
823
+ nextRunAt?: any | null;
824
+ updatedAt: any;
825
+ } | null;
826
+ };
827
+ type DeleteAgentsScheduleMutationVariables = Exact<{
828
+ id: Scalars['ID']['input'];
829
+ }>;
830
+ type DeleteAgentsScheduleMutation = {
831
+ __typename?: 'RootMutationType';
832
+ deleteAgentsSchedule?: boolean | null;
833
+ };
834
+ type EnableAgentsScheduleMutationVariables = Exact<{
835
+ id: Scalars['ID']['input'];
836
+ }>;
837
+ type EnableAgentsScheduleMutation = {
838
+ __typename?: 'RootMutationType';
839
+ enableAgentsSchedule?: {
840
+ __typename?: 'Schedule';
841
+ id: string;
842
+ enabled: boolean;
843
+ nextRunAt?: any | null;
844
+ } | null;
845
+ };
846
+ type DisableAgentsScheduleMutationVariables = Exact<{
847
+ id: Scalars['ID']['input'];
848
+ }>;
849
+ type DisableAgentsScheduleMutation = {
850
+ __typename?: 'RootMutationType';
851
+ disableAgentsSchedule?: {
852
+ __typename?: 'Schedule';
853
+ id: string;
854
+ enabled: boolean;
855
+ } | null;
856
+ };
857
+ type CreateAgentsConversationMutationVariables = Exact<{
858
+ input: CreateConversationInput;
859
+ }>;
860
+ type CreateAgentsConversationMutation = {
861
+ __typename?: 'RootMutationType';
862
+ createAgentsConversation?: {
863
+ __typename?: 'Conversation';
864
+ id: string;
865
+ title?: string | null;
866
+ status: ConversationStatus;
867
+ contextType?: string | null;
868
+ contextId?: string | null;
869
+ isPublic: boolean;
870
+ insertedAt: any;
871
+ updatedAt: any;
872
+ agent?: {
873
+ __typename?: 'Agent';
874
+ id: string;
875
+ name: string;
876
+ } | null;
877
+ } | null;
878
+ };
879
+ type ArchiveAgentsConversationMutationVariables = Exact<{
880
+ id: Scalars['ID']['input'];
881
+ }>;
882
+ type ArchiveAgentsConversationMutation = {
883
+ __typename?: 'RootMutationType';
884
+ archiveAgentsConversation?: {
885
+ __typename?: 'Conversation';
886
+ id: string;
887
+ archivedAt?: any | null;
888
+ } | null;
889
+ };
890
+ type SendAgentsMessageMutationVariables = Exact<{
891
+ input: SendMessageInput;
892
+ }>;
893
+ type SendAgentsMessageMutation = {
894
+ __typename?: 'RootMutationType';
895
+ sendAgentsMessage?: {
896
+ __typename?: 'Message';
897
+ id: string;
898
+ role: MessageRole;
899
+ content: string;
900
+ contentType: string;
901
+ insertedAt: any;
902
+ } | null;
903
+ };
904
+ type CancelAgentsRunMutationVariables = Exact<{
905
+ id: Scalars['ID']['input'];
906
+ }>;
907
+ type CancelAgentsRunMutation = {
908
+ __typename?: 'RootMutationType';
909
+ cancelAgentsRun?: {
910
+ __typename?: 'Run';
911
+ id: string;
912
+ status: RunStatus;
913
+ error?: string | null;
914
+ completedAt?: any | null;
915
+ } | null;
916
+ };
917
+ type ConfirmAgentsToolCallMutationVariables = Exact<{
918
+ id: Scalars['ID']['input'];
919
+ }>;
920
+ type ConfirmAgentsToolCallMutation = {
921
+ __typename?: 'RootMutationType';
922
+ confirmAgentsToolCall?: boolean | null;
923
+ };
924
+ type RejectAgentsToolCallMutationVariables = Exact<{
925
+ id: Scalars['ID']['input'];
926
+ }>;
927
+ type RejectAgentsToolCallMutation = {
928
+ __typename?: 'RootMutationType';
929
+ rejectAgentsToolCall?: boolean | null;
930
+ };
931
+ type CreateAgentsAdminMutationVariables = Exact<{
932
+ input: CreateAdminInput;
933
+ }>;
934
+ type CreateAgentsAdminMutation = {
935
+ __typename?: 'RootMutationType';
936
+ createAgentsAdmin?: {
937
+ __typename?: 'AgentsAdmin';
938
+ id: string;
939
+ email: string;
940
+ role: AdminRole;
941
+ canManageAgents: boolean;
942
+ canManageTools: boolean;
943
+ canManageAdmins: boolean;
944
+ canViewAllConversations: boolean;
945
+ expiresAt?: any | null;
946
+ insertedAt: any;
947
+ updatedAt: any;
948
+ } | null;
949
+ };
950
+ type UpdateAgentsAdminMutationVariables = Exact<{
951
+ id: Scalars['ID']['input'];
952
+ input: UpdateAdminInput;
953
+ }>;
954
+ type UpdateAgentsAdminMutation = {
955
+ __typename?: 'RootMutationType';
956
+ updateAgentsAdmin?: {
957
+ __typename?: 'AgentsAdmin';
958
+ id: string;
959
+ email: string;
960
+ role: AdminRole;
961
+ canManageAgents: boolean;
962
+ canManageTools: boolean;
963
+ canManageAdmins: boolean;
964
+ canViewAllConversations: boolean;
965
+ expiresAt?: any | null;
966
+ updatedAt: any;
967
+ } | null;
968
+ };
969
+ type DeleteAgentsAdminMutationVariables = Exact<{
970
+ id: Scalars['ID']['input'];
971
+ }>;
972
+ type DeleteAgentsAdminMutation = {
973
+ __typename?: 'RootMutationType';
974
+ deleteAgentsAdmin?: boolean | null;
975
+ };
976
+ type GetAgentsQueryVariables = Exact<{
977
+ role?: InputMaybe<AgentRole>;
978
+ status?: InputMaybe<AgentStatus>;
979
+ }>;
980
+ type GetAgentsQuery = {
981
+ __typename?: 'RootQueryType';
982
+ agents?: Array<{
983
+ __typename?: 'Agent';
984
+ id: string;
985
+ slug: string;
986
+ name: string;
987
+ role: AgentRole;
988
+ status: AgentStatus;
989
+ statusMessage?: string | null;
990
+ description?: string | null;
991
+ systemPrompt: string;
992
+ model: string;
993
+ temperature: number;
994
+ maxTokens: number;
995
+ avatarUrl?: string | null;
996
+ isPublic: boolean;
997
+ lastActiveAt?: any | null;
998
+ archivedAt?: any | null;
999
+ insertedAt: any;
1000
+ updatedAt: any;
1001
+ }> | null;
1002
+ };
1003
+ type GetAgentQueryVariables = Exact<{
1004
+ id?: InputMaybe<Scalars['ID']['input']>;
1005
+ slug?: InputMaybe<Scalars['String']['input']>;
1006
+ }>;
1007
+ type GetAgentQuery = {
1008
+ __typename?: 'RootQueryType';
1009
+ agent?: {
1010
+ __typename?: 'Agent';
1011
+ id: string;
1012
+ slug: string;
1013
+ name: string;
1014
+ role: AgentRole;
1015
+ status: AgentStatus;
1016
+ statusMessage?: string | null;
1017
+ description?: string | null;
1018
+ systemPrompt: string;
1019
+ model: string;
1020
+ temperature: number;
1021
+ maxTokens: number;
1022
+ avatarUrl?: string | null;
1023
+ isPublic: boolean;
1024
+ lastActiveAt?: any | null;
1025
+ archivedAt?: any | null;
1026
+ insertedAt: any;
1027
+ updatedAt: any;
1028
+ tools?: Array<{
1029
+ __typename?: 'ToolRegistry';
1030
+ id: string;
1031
+ name: string;
1032
+ displayName?: string | null;
1033
+ description: string;
1034
+ }> | null;
1035
+ schedules?: Array<{
1036
+ __typename?: 'Schedule';
1037
+ id: string;
1038
+ name: string;
1039
+ cronExpression: string;
1040
+ enabled: boolean;
1041
+ }> | null;
1042
+ } | null;
1043
+ };
1044
+ type GetAgentsToolsQueryVariables = Exact<{
1045
+ categoryId?: InputMaybe<Scalars['ID']['input']>;
1046
+ sourceId?: InputMaybe<Scalars['ID']['input']>;
1047
+ enabledOnly?: InputMaybe<Scalars['Boolean']['input']>;
1048
+ }>;
1049
+ type GetAgentsToolsQuery = {
1050
+ __typename?: 'RootQueryType';
1051
+ agentsTools?: Array<{
1052
+ __typename?: 'ToolRegistry';
1053
+ id: string;
1054
+ name: string;
1055
+ displayName?: string | null;
1056
+ description: string;
1057
+ inputSchema: any;
1058
+ outputSchema?: any | null;
1059
+ enabled: boolean;
1060
+ deprecated: boolean;
1061
+ deprecatedMessage?: string | null;
1062
+ requiresConfirmation: boolean;
1063
+ confirmationMessage?: string | null;
1064
+ maxExecutionSeconds?: number | null;
1065
+ usageCount: number;
1066
+ successCount: number;
1067
+ failureCount: number;
1068
+ lastUsedAt?: any | null;
1069
+ insertedAt: any;
1070
+ updatedAt: any;
1071
+ source?: {
1072
+ __typename?: 'ToolSource';
1073
+ id: string;
1074
+ name: string;
1075
+ } | null;
1076
+ category?: {
1077
+ __typename?: 'ToolCategory';
1078
+ id: string;
1079
+ name: string;
1080
+ } | null;
1081
+ }> | null;
1082
+ };
1083
+ type GetAgentsToolQueryVariables = Exact<{
1084
+ id: Scalars['ID']['input'];
1085
+ }>;
1086
+ type GetAgentsToolQuery = {
1087
+ __typename?: 'RootQueryType';
1088
+ agentsTool?: {
1089
+ __typename?: 'ToolRegistry';
1090
+ id: string;
1091
+ name: string;
1092
+ displayName?: string | null;
1093
+ description: string;
1094
+ inputSchema: any;
1095
+ outputSchema?: any | null;
1096
+ enabled: boolean;
1097
+ deprecated: boolean;
1098
+ deprecatedMessage?: string | null;
1099
+ requiresConfirmation: boolean;
1100
+ confirmationMessage?: string | null;
1101
+ maxExecutionSeconds?: number | null;
1102
+ usageCount: number;
1103
+ successCount: number;
1104
+ failureCount: number;
1105
+ lastUsedAt?: any | null;
1106
+ insertedAt: any;
1107
+ updatedAt: any;
1108
+ source?: {
1109
+ __typename?: 'ToolSource';
1110
+ id: string;
1111
+ name: string;
1112
+ type: string;
1113
+ endpoint?: string | null;
1114
+ } | null;
1115
+ category?: {
1116
+ __typename?: 'ToolCategory';
1117
+ id: string;
1118
+ name: string;
1119
+ description?: string | null;
1120
+ } | null;
1121
+ } | null;
1122
+ };
1123
+ type GetAgentsToolSourcesQueryVariables = Exact<{
1124
+ [key: string]: never;
1125
+ }>;
1126
+ type GetAgentsToolSourcesQuery = {
1127
+ __typename?: 'RootQueryType';
1128
+ agentsToolSources?: Array<{
1129
+ __typename?: 'ToolSource';
1130
+ id: string;
1131
+ name: string;
1132
+ displayName: string;
1133
+ type: string;
1134
+ endpoint?: string | null;
1135
+ enabled: boolean;
1136
+ healthStatus?: string | null;
1137
+ insertedAt: any;
1138
+ updatedAt: any;
1139
+ }> | null;
1140
+ };
1141
+ type GetAgentsToolCategoriesQueryVariables = Exact<{
1142
+ [key: string]: never;
1143
+ }>;
1144
+ type GetAgentsToolCategoriesQuery = {
1145
+ __typename?: 'RootQueryType';
1146
+ agentsToolCategories?: Array<{
1147
+ __typename?: 'ToolCategory';
1148
+ id: string;
1149
+ name: string;
1150
+ description?: string | null;
1151
+ insertedAt: any;
1152
+ updatedAt: any;
1153
+ }> | null;
1154
+ };
1155
+ type GetAgentsSchedulesQueryVariables = Exact<{
1156
+ agentId?: InputMaybe<Scalars['ID']['input']>;
1157
+ enabledOnly?: InputMaybe<Scalars['Boolean']['input']>;
1158
+ }>;
1159
+ type GetAgentsSchedulesQuery = {
1160
+ __typename?: 'RootQueryType';
1161
+ agentsSchedules?: Array<{
1162
+ __typename?: 'Schedule';
1163
+ id: string;
1164
+ name: string;
1165
+ description?: string | null;
1166
+ cronExpression: string;
1167
+ timezone: string;
1168
+ enabled: boolean;
1169
+ lastRunAt?: any | null;
1170
+ lastRunStatus?: string | null;
1171
+ lastError?: string | null;
1172
+ nextRunAt?: any | null;
1173
+ taskType: ScheduleTaskType;
1174
+ maxDurationSeconds: number;
1175
+ insertedAt: any;
1176
+ updatedAt: any;
1177
+ agent: {
1178
+ __typename?: 'Agent';
1179
+ id: string;
1180
+ name: string;
1181
+ slug: string;
1182
+ };
1183
+ }> | null;
1184
+ };
1185
+ type GetAgentsScheduleQueryVariables = Exact<{
1186
+ id: Scalars['ID']['input'];
1187
+ }>;
1188
+ type GetAgentsScheduleQuery = {
1189
+ __typename?: 'RootQueryType';
1190
+ agentsSchedule?: {
1191
+ __typename?: 'Schedule';
1192
+ id: string;
1193
+ name: string;
1194
+ description?: string | null;
1195
+ cronExpression: string;
1196
+ timezone: string;
1197
+ enabled: boolean;
1198
+ lastRunAt?: any | null;
1199
+ lastRunStatus?: string | null;
1200
+ lastError?: string | null;
1201
+ nextRunAt?: any | null;
1202
+ initialMessage?: string | null;
1203
+ taskType: ScheduleTaskType;
1204
+ taskConfig?: any | null;
1205
+ maxDurationSeconds: number;
1206
+ insertedAt: any;
1207
+ updatedAt: any;
1208
+ agent: {
1209
+ __typename?: 'Agent';
1210
+ id: string;
1211
+ name: string;
1212
+ slug: string;
1213
+ };
1214
+ } | null;
1215
+ };
1216
+ type GetAgentsConversationsQueryVariables = Exact<{
1217
+ agentId?: InputMaybe<Scalars['ID']['input']>;
1218
+ status?: InputMaybe<ConversationStatus>;
1219
+ }>;
1220
+ type GetAgentsConversationsQuery = {
1221
+ __typename?: 'RootQueryType';
1222
+ agentsConversations?: Array<{
1223
+ __typename?: 'Conversation';
1224
+ id: string;
1225
+ title?: string | null;
1226
+ summary?: string | null;
1227
+ status: ConversationStatus;
1228
+ contextType?: string | null;
1229
+ contextId?: string | null;
1230
+ isPublic: boolean;
1231
+ pinned: boolean;
1232
+ archivedAt?: any | null;
1233
+ insertedAt: any;
1234
+ updatedAt: any;
1235
+ agent?: {
1236
+ __typename?: 'Agent';
1237
+ id: string;
1238
+ name: string;
1239
+ slug: string;
1240
+ } | null;
1241
+ }> | null;
1242
+ };
1243
+ type GetAgentsConversationQueryVariables = Exact<{
1244
+ id: Scalars['ID']['input'];
1245
+ }>;
1246
+ type GetAgentsConversationQuery = {
1247
+ __typename?: 'RootQueryType';
1248
+ agentsConversation?: {
1249
+ __typename?: 'Conversation';
1250
+ id: string;
1251
+ title?: string | null;
1252
+ summary?: string | null;
1253
+ status: ConversationStatus;
1254
+ contextType?: string | null;
1255
+ contextId?: string | null;
1256
+ isPublic: boolean;
1257
+ pinned: boolean;
1258
+ archivedAt?: any | null;
1259
+ insertedAt: any;
1260
+ updatedAt: any;
1261
+ agent?: {
1262
+ __typename?: 'Agent';
1263
+ id: string;
1264
+ name: string;
1265
+ slug: string;
1266
+ } | null;
1267
+ messages?: Array<{
1268
+ __typename?: 'Message';
1269
+ id: string;
1270
+ role: MessageRole;
1271
+ content: string;
1272
+ contentType: string;
1273
+ insertedAt: any;
1274
+ }> | null;
1275
+ runs?: Array<{
1276
+ __typename?: 'Run';
1277
+ id: string;
1278
+ status: RunStatus;
1279
+ modelUsed?: string | null;
1280
+ startedAt?: any | null;
1281
+ completedAt?: any | null;
1282
+ }> | null;
1283
+ } | null;
1284
+ };
1285
+ type GetAgentsRunsQueryVariables = Exact<{
1286
+ agentId?: InputMaybe<Scalars['ID']['input']>;
1287
+ conversationId?: InputMaybe<Scalars['ID']['input']>;
1288
+ status?: InputMaybe<RunStatus>;
1289
+ }>;
1290
+ type GetAgentsRunsQuery = {
1291
+ __typename?: 'RootQueryType';
1292
+ agentsRuns?: Array<{
1293
+ __typename?: 'Run';
1294
+ id: string;
1295
+ status: RunStatus;
1296
+ triggerType: string;
1297
+ modelUsed?: string | null;
1298
+ inputTokens: number;
1299
+ outputTokens: number;
1300
+ cacheReadTokens: number;
1301
+ cacheWriteTokens: number;
1302
+ costCents: number;
1303
+ toolsDiscovered?: Array<string> | null;
1304
+ toolsUsed?: Array<string> | null;
1305
+ error?: string | null;
1306
+ errorCode?: string | null;
1307
+ startedAt?: any | null;
1308
+ completedAt?: any | null;
1309
+ insertedAt: any;
1310
+ updatedAt: any;
1311
+ agent: {
1312
+ __typename?: 'Agent';
1313
+ id: string;
1314
+ name: string;
1315
+ slug: string;
1316
+ };
1317
+ conversation?: {
1318
+ __typename?: 'Conversation';
1319
+ id: string;
1320
+ title?: string | null;
1321
+ } | null;
1322
+ }> | null;
1323
+ };
1324
+ type GetAgentsRunQueryVariables = Exact<{
1325
+ id: Scalars['ID']['input'];
1326
+ }>;
1327
+ type GetAgentsRunQuery = {
1328
+ __typename?: 'RootQueryType';
1329
+ agentsRun?: {
1330
+ __typename?: 'Run';
1331
+ id: string;
1332
+ status: RunStatus;
1333
+ triggerType: string;
1334
+ modelUsed?: string | null;
1335
+ inputTokens: number;
1336
+ outputTokens: number;
1337
+ cacheReadTokens: number;
1338
+ cacheWriteTokens: number;
1339
+ costCents: number;
1340
+ toolsDiscovered?: Array<string> | null;
1341
+ toolsUsed?: Array<string> | null;
1342
+ error?: string | null;
1343
+ errorCode?: string | null;
1344
+ startedAt?: any | null;
1345
+ completedAt?: any | null;
1346
+ insertedAt: any;
1347
+ updatedAt: any;
1348
+ agent: {
1349
+ __typename?: 'Agent';
1350
+ id: string;
1351
+ name: string;
1352
+ slug: string;
1353
+ };
1354
+ conversation?: {
1355
+ __typename?: 'Conversation';
1356
+ id: string;
1357
+ title?: string | null;
1358
+ } | null;
1359
+ toolCalls?: Array<{
1360
+ __typename?: 'ToolCall';
1361
+ id: string;
1362
+ toolName: string;
1363
+ toolCallId?: string | null;
1364
+ status: ToolCallStatus;
1365
+ input: any;
1366
+ output?: any | null;
1367
+ outputTruncated: boolean;
1368
+ error?: string | null;
1369
+ errorType?: string | null;
1370
+ cacheHit: boolean;
1371
+ durationMs?: number | null;
1372
+ requiresConfirmation: boolean;
1373
+ confirmedAt?: any | null;
1374
+ startedAt?: any | null;
1375
+ completedAt?: any | null;
1376
+ }> | null;
1377
+ } | null;
1378
+ };
1379
+ type GetAgentsUsageStatsQueryVariables = Exact<{
1380
+ agentId?: InputMaybe<Scalars['ID']['input']>;
1381
+ startDate?: InputMaybe<Scalars['Date']['input']>;
1382
+ endDate?: InputMaybe<Scalars['Date']['input']>;
1383
+ }>;
1384
+ type GetAgentsUsageStatsQuery = {
1385
+ __typename?: 'RootQueryType';
1386
+ agentsUsageStats?: {
1387
+ __typename?: 'UsageStats';
1388
+ totalRuns?: number | null;
1389
+ totalMessages?: number | null;
1390
+ totalInputTokens?: number | null;
1391
+ totalOutputTokens?: number | null;
1392
+ totalCostCents?: number | null;
1393
+ totalToolCalls?: number | null;
1394
+ totalErrors?: number | null;
1395
+ } | null;
1396
+ };
1397
+ type GetAgentsUsageDailyQueryVariables = Exact<{
1398
+ agentId?: InputMaybe<Scalars['ID']['input']>;
1399
+ startDate?: InputMaybe<Scalars['Date']['input']>;
1400
+ endDate?: InputMaybe<Scalars['Date']['input']>;
1401
+ }>;
1402
+ type GetAgentsUsageDailyQuery = {
1403
+ __typename?: 'RootQueryType';
1404
+ agentsUsageDaily?: Array<{
1405
+ __typename?: 'UsageDaily';
1406
+ id: string;
1407
+ date: any;
1408
+ agentId?: string | null;
1409
+ runCount: number;
1410
+ messageCount: number;
1411
+ inputTokens: number;
1412
+ outputTokens: number;
1413
+ cacheReadTokens: number;
1414
+ cacheWriteTokens: number;
1415
+ costCents: number;
1416
+ toolCallCount: number;
1417
+ errorCount: number;
1418
+ insertedAt: any;
1419
+ updatedAt: any;
1420
+ }> | null;
1421
+ };
1422
+ type GetAgentsAdminsQueryVariables = Exact<{
1423
+ [key: string]: never;
1424
+ }>;
1425
+ type GetAgentsAdminsQuery = {
1426
+ __typename?: 'RootQueryType';
1427
+ agentsAdmins?: Array<{
1428
+ __typename?: 'AgentsAdmin';
1429
+ id: string;
1430
+ email: string;
1431
+ role: AdminRole;
1432
+ canManageAgents: boolean;
1433
+ canManageTools: boolean;
1434
+ canManageAdmins: boolean;
1435
+ canViewAllConversations: boolean;
1436
+ expiresAt?: any | null;
1437
+ lastAccessedAt?: any | null;
1438
+ insertedAt: any;
1439
+ updatedAt: any;
1440
+ }> | null;
1441
+ };
1442
+ type GetAgentsCurrentAdminQueryVariables = Exact<{
1443
+ [key: string]: never;
1444
+ }>;
1445
+ type GetAgentsCurrentAdminQuery = {
1446
+ __typename?: 'RootQueryType';
1447
+ agentsCurrentAdmin?: {
1448
+ __typename?: 'AgentsAdmin';
1449
+ id: string;
1450
+ email: string;
1451
+ role: AdminRole;
1452
+ canManageAgents: boolean;
1453
+ canManageTools: boolean;
1454
+ canManageAdmins: boolean;
1455
+ canViewAllConversations: boolean;
1456
+ expiresAt?: any | null;
1457
+ lastAccessedAt?: any | null;
1458
+ insertedAt: any;
1459
+ updatedAt: any;
1460
+ } | null;
1461
+ };
1462
+ declare const CreateAgentDocument: TypedDocumentNode<CreateAgentMutation, CreateAgentMutationVariables>;
1463
+ declare const UpdateAgentDocument: TypedDocumentNode<UpdateAgentMutation, UpdateAgentMutationVariables>;
1464
+ declare const ArchiveAgentDocument: TypedDocumentNode<ArchiveAgentMutation, ArchiveAgentMutationVariables>;
1465
+ declare const RestoreAgentDocument: TypedDocumentNode<RestoreAgentMutation, RestoreAgentMutationVariables>;
1466
+ declare const CreateAgentsToolDocument: TypedDocumentNode<CreateAgentsToolMutation, CreateAgentsToolMutationVariables>;
1467
+ declare const UpdateAgentsToolDocument: TypedDocumentNode<UpdateAgentsToolMutation, UpdateAgentsToolMutationVariables>;
1468
+ declare const DeleteAgentsToolDocument: TypedDocumentNode<DeleteAgentsToolMutation, DeleteAgentsToolMutationVariables>;
1469
+ declare const AssignToolToAgentDocument: TypedDocumentNode<AssignToolToAgentMutation, AssignToolToAgentMutationVariables>;
1470
+ declare const RemoveToolFromAgentDocument: TypedDocumentNode<RemoveToolFromAgentMutation, RemoveToolFromAgentMutationVariables>;
1471
+ declare const CreateAgentsScheduleDocument: TypedDocumentNode<CreateAgentsScheduleMutation, CreateAgentsScheduleMutationVariables>;
1472
+ declare const UpdateAgentsScheduleDocument: TypedDocumentNode<UpdateAgentsScheduleMutation, UpdateAgentsScheduleMutationVariables>;
1473
+ declare const DeleteAgentsScheduleDocument: TypedDocumentNode<DeleteAgentsScheduleMutation, DeleteAgentsScheduleMutationVariables>;
1474
+ declare const EnableAgentsScheduleDocument: TypedDocumentNode<EnableAgentsScheduleMutation, EnableAgentsScheduleMutationVariables>;
1475
+ declare const DisableAgentsScheduleDocument: TypedDocumentNode<DisableAgentsScheduleMutation, DisableAgentsScheduleMutationVariables>;
1476
+ declare const CreateAgentsConversationDocument: TypedDocumentNode<CreateAgentsConversationMutation, CreateAgentsConversationMutationVariables>;
1477
+ declare const ArchiveAgentsConversationDocument: TypedDocumentNode<ArchiveAgentsConversationMutation, ArchiveAgentsConversationMutationVariables>;
1478
+ declare const SendAgentsMessageDocument: TypedDocumentNode<SendAgentsMessageMutation, SendAgentsMessageMutationVariables>;
1479
+ declare const CancelAgentsRunDocument: TypedDocumentNode<CancelAgentsRunMutation, CancelAgentsRunMutationVariables>;
1480
+ declare const ConfirmAgentsToolCallDocument: TypedDocumentNode<ConfirmAgentsToolCallMutation, ConfirmAgentsToolCallMutationVariables>;
1481
+ declare const RejectAgentsToolCallDocument: TypedDocumentNode<RejectAgentsToolCallMutation, RejectAgentsToolCallMutationVariables>;
1482
+ declare const CreateAgentsAdminDocument: TypedDocumentNode<CreateAgentsAdminMutation, CreateAgentsAdminMutationVariables>;
1483
+ declare const UpdateAgentsAdminDocument: TypedDocumentNode<UpdateAgentsAdminMutation, UpdateAgentsAdminMutationVariables>;
1484
+ declare const DeleteAgentsAdminDocument: TypedDocumentNode<DeleteAgentsAdminMutation, DeleteAgentsAdminMutationVariables>;
1485
+ declare const GetAgentsDocument: TypedDocumentNode<GetAgentsQuery, GetAgentsQueryVariables>;
1486
+ declare const GetAgentDocument: TypedDocumentNode<GetAgentQuery, GetAgentQueryVariables>;
1487
+ declare const GetAgentsToolsDocument: TypedDocumentNode<GetAgentsToolsQuery, GetAgentsToolsQueryVariables>;
1488
+ declare const GetAgentsToolDocument: TypedDocumentNode<GetAgentsToolQuery, GetAgentsToolQueryVariables>;
1489
+ declare const GetAgentsToolSourcesDocument: TypedDocumentNode<GetAgentsToolSourcesQuery, GetAgentsToolSourcesQueryVariables>;
1490
+ declare const GetAgentsToolCategoriesDocument: TypedDocumentNode<GetAgentsToolCategoriesQuery, GetAgentsToolCategoriesQueryVariables>;
1491
+ declare const GetAgentsSchedulesDocument: TypedDocumentNode<GetAgentsSchedulesQuery, GetAgentsSchedulesQueryVariables>;
1492
+ declare const GetAgentsScheduleDocument: TypedDocumentNode<GetAgentsScheduleQuery, GetAgentsScheduleQueryVariables>;
1493
+ declare const GetAgentsConversationsDocument: TypedDocumentNode<GetAgentsConversationsQuery, GetAgentsConversationsQueryVariables>;
1494
+ declare const GetAgentsConversationDocument: TypedDocumentNode<GetAgentsConversationQuery, GetAgentsConversationQueryVariables>;
1495
+ declare const GetAgentsRunsDocument: TypedDocumentNode<GetAgentsRunsQuery, GetAgentsRunsQueryVariables>;
1496
+ declare const GetAgentsRunDocument: TypedDocumentNode<GetAgentsRunQuery, GetAgentsRunQueryVariables>;
1497
+ declare const GetAgentsUsageStatsDocument: TypedDocumentNode<GetAgentsUsageStatsQuery, GetAgentsUsageStatsQueryVariables>;
1498
+ declare const GetAgentsUsageDailyDocument: TypedDocumentNode<GetAgentsUsageDailyQuery, GetAgentsUsageDailyQueryVariables>;
1499
+ declare const GetAgentsAdminsDocument: TypedDocumentNode<GetAgentsAdminsQuery, GetAgentsAdminsQueryVariables>;
1500
+ declare const GetAgentsCurrentAdminDocument: TypedDocumentNode<GetAgentsCurrentAdminQuery, GetAgentsCurrentAdminQueryVariables>;
1501
+
1502
+ type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<infer TType, any> ? [TType] extends [{
1503
+ ' $fragmentName'?: infer TKey;
1504
+ }] ? TKey extends string ? {
1505
+ ' $fragmentRefs'?: {
1506
+ [key in TKey]: TType;
1507
+ };
1508
+ } : never : never : never;
1509
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>>): TType;
1510
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | undefined): TType | undefined;
1511
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null): TType | null;
1512
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null | undefined): TType | null | undefined;
1513
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>>): Array<TType>;
1514
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): Array<TType> | null | undefined;
1515
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>>): ReadonlyArray<TType>;
1516
+ declare function useFragment<TType>(_documentNode: DocumentTypeDecoration<TType, any>, fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined): ReadonlyArray<TType> | null | undefined;
1517
+ declare function makeFragmentData<F extends DocumentTypeDecoration<any, any>, FT extends ResultOf<F>>(data: FT, _fragment: F): FragmentType<F>;
1518
+ declare function isFragmentReady<TQuery, TFrag>(queryNode: DocumentTypeDecoration<TQuery, any>, fragmentNode: TypedDocumentNode<TFrag>, data: FragmentType<TypedDocumentNode<Incremental<TFrag>, any>> | null | undefined): data is FragmentType<typeof fragmentNode>;
1519
+
1520
+ /**
1521
+ * Map of all GraphQL operations in the project.
1522
+ *
1523
+ * This map has several performance disadvantages:
1524
+ * 1. It is not tree-shakeable, so it will include all operations in the project.
1525
+ * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
1526
+ * 3. It does not support dead code elimination, so it will add unused operations.
1527
+ *
1528
+ * Therefore it is highly recommended to use the babel or swc plugin for production.
1529
+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1530
+ */
1531
+ type Documents = {
1532
+ "\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n": typeof CreateAgentDocument;
1533
+ "\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n": typeof UpdateAgentDocument;
1534
+ "\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n": typeof ArchiveAgentDocument;
1535
+ "\n mutation RestoreAgent($id: ID!) {\n restoreAgent(id: $id) {\n id\n archivedAt\n }\n }\n": typeof RestoreAgentDocument;
1536
+ "\n mutation CreateAgentsTool($input: CreateToolInput!) {\n createAgentsTool(input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n insertedAt\n updatedAt\n }\n }\n": typeof CreateAgentsToolDocument;
1537
+ "\n mutation UpdateAgentsTool($id: ID!, $input: UpdateToolInput!) {\n updateAgentsTool(id: $id, input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n updatedAt\n }\n }\n": typeof UpdateAgentsToolDocument;
1538
+ "\n mutation DeleteAgentsTool($id: ID!) {\n deleteAgentsTool(id: $id)\n }\n": typeof DeleteAgentsToolDocument;
1539
+ "\n mutation AssignToolToAgent($agentId: ID!, $toolId: ID!) {\n assignToolToAgent(agentId: $agentId, toolId: $toolId)\n }\n": typeof AssignToolToAgentDocument;
1540
+ "\n mutation RemoveToolFromAgent($agentId: ID!, $toolId: ID!) {\n removeToolFromAgent(agentId: $agentId, toolId: $toolId)\n }\n": typeof RemoveToolFromAgentDocument;
1541
+ "\n mutation CreateAgentsSchedule($input: CreateScheduleInput!) {\n createAgentsSchedule(input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n nextRunAt\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n": typeof CreateAgentsScheduleDocument;
1542
+ "\n mutation UpdateAgentsSchedule($id: ID!, $input: UpdateScheduleInput!) {\n updateAgentsSchedule(id: $id, input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n nextRunAt\n updatedAt\n }\n }\n": typeof UpdateAgentsScheduleDocument;
1543
+ "\n mutation DeleteAgentsSchedule($id: ID!) {\n deleteAgentsSchedule(id: $id)\n }\n": typeof DeleteAgentsScheduleDocument;
1544
+ "\n mutation EnableAgentsSchedule($id: ID!) {\n enableAgentsSchedule(id: $id) {\n id\n enabled\n nextRunAt\n }\n }\n": typeof EnableAgentsScheduleDocument;
1545
+ "\n mutation DisableAgentsSchedule($id: ID!) {\n disableAgentsSchedule(id: $id) {\n id\n enabled\n }\n }\n": typeof DisableAgentsScheduleDocument;
1546
+ "\n mutation CreateAgentsConversation($input: CreateConversationInput!) {\n createAgentsConversation(input: $input) {\n id\n title\n status\n contextType\n contextId\n isPublic\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n": typeof CreateAgentsConversationDocument;
1547
+ "\n mutation ArchiveAgentsConversation($id: ID!) {\n archiveAgentsConversation(id: $id) {\n id\n archivedAt\n }\n }\n": typeof ArchiveAgentsConversationDocument;
1548
+ "\n mutation SendAgentsMessage($input: SendMessageInput!) {\n sendAgentsMessage(input: $input) {\n id\n role\n content\n contentType\n insertedAt\n }\n }\n": typeof SendAgentsMessageDocument;
1549
+ "\n mutation CancelAgentsRun($id: ID!) {\n cancelAgentsRun(id: $id) {\n id\n status\n error\n completedAt\n }\n }\n": typeof CancelAgentsRunDocument;
1550
+ "\n mutation ConfirmAgentsToolCall($id: ID!) {\n confirmAgentsToolCall(id: $id)\n }\n": typeof ConfirmAgentsToolCallDocument;
1551
+ "\n mutation RejectAgentsToolCall($id: ID!) {\n rejectAgentsToolCall(id: $id)\n }\n": typeof RejectAgentsToolCallDocument;
1552
+ "\n mutation CreateAgentsAdmin($input: CreateAdminInput!) {\n createAgentsAdmin(input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n insertedAt\n updatedAt\n }\n }\n": typeof CreateAgentsAdminDocument;
1553
+ "\n mutation UpdateAgentsAdmin($id: ID!, $input: UpdateAdminInput!) {\n updateAgentsAdmin(id: $id, input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n updatedAt\n }\n }\n": typeof UpdateAgentsAdminDocument;
1554
+ "\n mutation DeleteAgentsAdmin($id: ID!) {\n deleteAgentsAdmin(id: $id)\n }\n": typeof DeleteAgentsAdminDocument;
1555
+ "\n query GetAgents($role: AgentRole, $status: AgentStatus) {\n agents(role: $role, status: $status) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsDocument;
1556
+ "\n query GetAgent($id: ID, $slug: String) {\n agent(id: $id, slug: $slug) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n tools {\n id\n name\n displayName\n description\n }\n schedules {\n id\n name\n cronExpression\n enabled\n }\n }\n }\n": typeof GetAgentDocument;
1557
+ "\n query GetAgentsTools($categoryId: ID, $sourceId: ID, $enabledOnly: Boolean) {\n agentsTools(categoryId: $categoryId, sourceId: $sourceId, enabledOnly: $enabledOnly) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n }\n category {\n id\n name\n }\n }\n }\n": typeof GetAgentsToolsDocument;
1558
+ "\n query GetAgentsTool($id: ID!) {\n agentsTool(id: $id) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n type\n endpoint\n }\n category {\n id\n name\n description\n }\n }\n }\n": typeof GetAgentsToolDocument;
1559
+ "\n query GetAgentsToolSources {\n agentsToolSources {\n id\n name\n displayName\n type\n endpoint\n enabled\n healthStatus\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsToolSourcesDocument;
1560
+ "\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsToolCategoriesDocument;
1561
+ "\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsSchedulesDocument;
1562
+ "\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsScheduleDocument;
1563
+ "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n": typeof GetAgentsConversationsDocument;
1564
+ "\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsConversationDocument;
1565
+ "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n": typeof GetAgentsRunsDocument;
1566
+ "\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n": typeof GetAgentsRunDocument;
1567
+ "\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n": typeof GetAgentsUsageStatsDocument;
1568
+ "\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsUsageDailyDocument;
1569
+ "\n query GetAgentsAdmins {\n agentsAdmins {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsAdminsDocument;
1570
+ "\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n": typeof GetAgentsCurrentAdminDocument;
1571
+ };
1572
+ declare const documents: Documents;
1573
+ /**
1574
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1575
+ *
1576
+ *
1577
+ * @example
1578
+ * ```ts
1579
+ * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
1580
+ * ```
1581
+ *
1582
+ * The query argument is unknown!
1583
+ * Please regenerate the types.
1584
+ */
1585
+ declare function graphql(source: string): unknown;
1586
+ /**
1587
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1588
+ */
1589
+ declare function graphql(source: "\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n"];
1590
+ /**
1591
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1592
+ */
1593
+ declare function graphql(source: "\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n"];
1594
+ /**
1595
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1596
+ */
1597
+ declare function graphql(source: "\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n"): (typeof documents)["\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n"];
1598
+ /**
1599
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1600
+ */
1601
+ declare function graphql(source: "\n mutation RestoreAgent($id: ID!) {\n restoreAgent(id: $id) {\n id\n archivedAt\n }\n }\n"): (typeof documents)["\n mutation RestoreAgent($id: ID!) {\n restoreAgent(id: $id) {\n id\n archivedAt\n }\n }\n"];
1602
+ /**
1603
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1604
+ */
1605
+ declare function graphql(source: "\n mutation CreateAgentsTool($input: CreateToolInput!) {\n createAgentsTool(input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation CreateAgentsTool($input: CreateToolInput!) {\n createAgentsTool(input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n insertedAt\n updatedAt\n }\n }\n"];
1606
+ /**
1607
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1608
+ */
1609
+ declare function graphql(source: "\n mutation UpdateAgentsTool($id: ID!, $input: UpdateToolInput!) {\n updateAgentsTool(id: $id, input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation UpdateAgentsTool($id: ID!, $input: UpdateToolInput!) {\n updateAgentsTool(id: $id, input: $input) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n updatedAt\n }\n }\n"];
1610
+ /**
1611
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1612
+ */
1613
+ declare function graphql(source: "\n mutation DeleteAgentsTool($id: ID!) {\n deleteAgentsTool(id: $id)\n }\n"): (typeof documents)["\n mutation DeleteAgentsTool($id: ID!) {\n deleteAgentsTool(id: $id)\n }\n"];
1614
+ /**
1615
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1616
+ */
1617
+ declare function graphql(source: "\n mutation AssignToolToAgent($agentId: ID!, $toolId: ID!) {\n assignToolToAgent(agentId: $agentId, toolId: $toolId)\n }\n"): (typeof documents)["\n mutation AssignToolToAgent($agentId: ID!, $toolId: ID!) {\n assignToolToAgent(agentId: $agentId, toolId: $toolId)\n }\n"];
1618
+ /**
1619
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1620
+ */
1621
+ declare function graphql(source: "\n mutation RemoveToolFromAgent($agentId: ID!, $toolId: ID!) {\n removeToolFromAgent(agentId: $agentId, toolId: $toolId)\n }\n"): (typeof documents)["\n mutation RemoveToolFromAgent($agentId: ID!, $toolId: ID!) {\n removeToolFromAgent(agentId: $agentId, toolId: $toolId)\n }\n"];
1622
+ /**
1623
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1624
+ */
1625
+ declare function graphql(source: "\n mutation CreateAgentsSchedule($input: CreateScheduleInput!) {\n createAgentsSchedule(input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n nextRunAt\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n"): (typeof documents)["\n mutation CreateAgentsSchedule($input: CreateScheduleInput!) {\n createAgentsSchedule(input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n nextRunAt\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n"];
1626
+ /**
1627
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1628
+ */
1629
+ declare function graphql(source: "\n mutation UpdateAgentsSchedule($id: ID!, $input: UpdateScheduleInput!) {\n updateAgentsSchedule(id: $id, input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n nextRunAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation UpdateAgentsSchedule($id: ID!, $input: UpdateScheduleInput!) {\n updateAgentsSchedule(id: $id, input: $input) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n initialMessage\n nextRunAt\n updatedAt\n }\n }\n"];
1630
+ /**
1631
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1632
+ */
1633
+ declare function graphql(source: "\n mutation DeleteAgentsSchedule($id: ID!) {\n deleteAgentsSchedule(id: $id)\n }\n"): (typeof documents)["\n mutation DeleteAgentsSchedule($id: ID!) {\n deleteAgentsSchedule(id: $id)\n }\n"];
1634
+ /**
1635
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1636
+ */
1637
+ declare function graphql(source: "\n mutation EnableAgentsSchedule($id: ID!) {\n enableAgentsSchedule(id: $id) {\n id\n enabled\n nextRunAt\n }\n }\n"): (typeof documents)["\n mutation EnableAgentsSchedule($id: ID!) {\n enableAgentsSchedule(id: $id) {\n id\n enabled\n nextRunAt\n }\n }\n"];
1638
+ /**
1639
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1640
+ */
1641
+ declare function graphql(source: "\n mutation DisableAgentsSchedule($id: ID!) {\n disableAgentsSchedule(id: $id) {\n id\n enabled\n }\n }\n"): (typeof documents)["\n mutation DisableAgentsSchedule($id: ID!) {\n disableAgentsSchedule(id: $id) {\n id\n enabled\n }\n }\n"];
1642
+ /**
1643
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1644
+ */
1645
+ declare function graphql(source: "\n mutation CreateAgentsConversation($input: CreateConversationInput!) {\n createAgentsConversation(input: $input) {\n id\n title\n status\n contextType\n contextId\n isPublic\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n"): (typeof documents)["\n mutation CreateAgentsConversation($input: CreateConversationInput!) {\n createAgentsConversation(input: $input) {\n id\n title\n status\n contextType\n contextId\n isPublic\n insertedAt\n updatedAt\n agent {\n id\n name\n }\n }\n }\n"];
1646
+ /**
1647
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1648
+ */
1649
+ declare function graphql(source: "\n mutation ArchiveAgentsConversation($id: ID!) {\n archiveAgentsConversation(id: $id) {\n id\n archivedAt\n }\n }\n"): (typeof documents)["\n mutation ArchiveAgentsConversation($id: ID!) {\n archiveAgentsConversation(id: $id) {\n id\n archivedAt\n }\n }\n"];
1650
+ /**
1651
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1652
+ */
1653
+ declare function graphql(source: "\n mutation SendAgentsMessage($input: SendMessageInput!) {\n sendAgentsMessage(input: $input) {\n id\n role\n content\n contentType\n insertedAt\n }\n }\n"): (typeof documents)["\n mutation SendAgentsMessage($input: SendMessageInput!) {\n sendAgentsMessage(input: $input) {\n id\n role\n content\n contentType\n insertedAt\n }\n }\n"];
1654
+ /**
1655
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1656
+ */
1657
+ declare function graphql(source: "\n mutation CancelAgentsRun($id: ID!) {\n cancelAgentsRun(id: $id) {\n id\n status\n error\n completedAt\n }\n }\n"): (typeof documents)["\n mutation CancelAgentsRun($id: ID!) {\n cancelAgentsRun(id: $id) {\n id\n status\n error\n completedAt\n }\n }\n"];
1658
+ /**
1659
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1660
+ */
1661
+ declare function graphql(source: "\n mutation ConfirmAgentsToolCall($id: ID!) {\n confirmAgentsToolCall(id: $id)\n }\n"): (typeof documents)["\n mutation ConfirmAgentsToolCall($id: ID!) {\n confirmAgentsToolCall(id: $id)\n }\n"];
1662
+ /**
1663
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1664
+ */
1665
+ declare function graphql(source: "\n mutation RejectAgentsToolCall($id: ID!) {\n rejectAgentsToolCall(id: $id)\n }\n"): (typeof documents)["\n mutation RejectAgentsToolCall($id: ID!) {\n rejectAgentsToolCall(id: $id)\n }\n"];
1666
+ /**
1667
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1668
+ */
1669
+ declare function graphql(source: "\n mutation CreateAgentsAdmin($input: CreateAdminInput!) {\n createAgentsAdmin(input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation CreateAgentsAdmin($input: CreateAdminInput!) {\n createAgentsAdmin(input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n insertedAt\n updatedAt\n }\n }\n"];
1670
+ /**
1671
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1672
+ */
1673
+ declare function graphql(source: "\n mutation UpdateAgentsAdmin($id: ID!, $input: UpdateAdminInput!) {\n updateAgentsAdmin(id: $id, input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n updatedAt\n }\n }\n"): (typeof documents)["\n mutation UpdateAgentsAdmin($id: ID!, $input: UpdateAdminInput!) {\n updateAgentsAdmin(id: $id, input: $input) {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n updatedAt\n }\n }\n"];
1674
+ /**
1675
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1676
+ */
1677
+ declare function graphql(source: "\n mutation DeleteAgentsAdmin($id: ID!) {\n deleteAgentsAdmin(id: $id)\n }\n"): (typeof documents)["\n mutation DeleteAgentsAdmin($id: ID!) {\n deleteAgentsAdmin(id: $id)\n }\n"];
1678
+ /**
1679
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1680
+ */
1681
+ declare function graphql(source: "\n query GetAgents($role: AgentRole, $status: AgentStatus) {\n agents(role: $role, status: $status) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgents($role: AgentRole, $status: AgentStatus) {\n agents(role: $role, status: $status) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n }\n }\n"];
1682
+ /**
1683
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1684
+ */
1685
+ declare function graphql(source: "\n query GetAgent($id: ID, $slug: String) {\n agent(id: $id, slug: $slug) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n tools {\n id\n name\n displayName\n description\n }\n schedules {\n id\n name\n cronExpression\n enabled\n }\n }\n }\n"): (typeof documents)["\n query GetAgent($id: ID, $slug: String) {\n agent(id: $id, slug: $slug) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n archivedAt\n insertedAt\n updatedAt\n tools {\n id\n name\n displayName\n description\n }\n schedules {\n id\n name\n cronExpression\n enabled\n }\n }\n }\n"];
1686
+ /**
1687
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1688
+ */
1689
+ declare function graphql(source: "\n query GetAgentsTools($categoryId: ID, $sourceId: ID, $enabledOnly: Boolean) {\n agentsTools(categoryId: $categoryId, sourceId: $sourceId, enabledOnly: $enabledOnly) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n }\n category {\n id\n name\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsTools($categoryId: ID, $sourceId: ID, $enabledOnly: Boolean) {\n agentsTools(categoryId: $categoryId, sourceId: $sourceId, enabledOnly: $enabledOnly) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n }\n category {\n id\n name\n }\n }\n }\n"];
1690
+ /**
1691
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1692
+ */
1693
+ declare function graphql(source: "\n query GetAgentsTool($id: ID!) {\n agentsTool(id: $id) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n type\n endpoint\n }\n category {\n id\n name\n description\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsTool($id: ID!) {\n agentsTool(id: $id) {\n id\n name\n displayName\n description\n inputSchema\n outputSchema\n enabled\n deprecated\n deprecatedMessage\n requiresConfirmation\n confirmationMessage\n maxExecutionSeconds\n usageCount\n successCount\n failureCount\n lastUsedAt\n insertedAt\n updatedAt\n source {\n id\n name\n type\n endpoint\n }\n category {\n id\n name\n description\n }\n }\n }\n"];
1694
+ /**
1695
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1696
+ */
1697
+ declare function graphql(source: "\n query GetAgentsToolSources {\n agentsToolSources {\n id\n name\n displayName\n type\n endpoint\n enabled\n healthStatus\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsToolSources {\n agentsToolSources {\n id\n name\n displayName\n type\n endpoint\n enabled\n healthStatus\n insertedAt\n updatedAt\n }\n }\n"];
1698
+ /**
1699
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1700
+ */
1701
+ declare function graphql(source: "\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsToolCategories {\n agentsToolCategories {\n id\n name\n description\n insertedAt\n updatedAt\n }\n }\n"];
1702
+ /**
1703
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1704
+ */
1705
+ declare function graphql(source: "\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsSchedules($agentId: ID, $enabledOnly: Boolean) {\n agentsSchedules(agentId: $agentId, enabledOnly: $enabledOnly) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n taskType\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
1706
+ /**
1707
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1708
+ */
1709
+ declare function graphql(source: "\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsSchedule($id: ID!) {\n agentsSchedule(id: $id) {\n id\n name\n description\n cronExpression\n timezone\n enabled\n lastRunAt\n lastRunStatus\n lastError\n nextRunAt\n initialMessage\n taskType\n taskConfig\n maxDurationSeconds\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
1710
+ /**
1711
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1712
+ */
1713
+ declare function graphql(source: "\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversations($agentId: ID, $status: ConversationStatus) {\n agentsConversations(agentId: $agentId, status: $status) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n }\n }\n"];
1714
+ /**
1715
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1716
+ */
1717
+ declare function graphql(source: "\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsConversation($id: ID!) {\n agentsConversation(id: $id) {\n id\n title\n summary\n status\n contextType\n contextId\n isPublic\n pinned\n archivedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n messages {\n id\n role\n content\n contentType\n insertedAt\n }\n runs {\n id\n status\n modelUsed\n startedAt\n completedAt\n }\n }\n }\n"];
1718
+ /**
1719
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1720
+ */
1721
+ declare function graphql(source: "\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRuns($agentId: ID, $conversationId: ID, $status: RunStatus) {\n agentsRuns(agentId: $agentId, conversationId: $conversationId, status: $status) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n }\n }\n"];
1722
+ /**
1723
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1724
+ */
1725
+ declare function graphql(source: "\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n"): (typeof documents)["\n query GetAgentsRun($id: ID!) {\n agentsRun(id: $id) {\n id\n status\n triggerType\n modelUsed\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolsDiscovered\n toolsUsed\n error\n errorCode\n startedAt\n completedAt\n insertedAt\n updatedAt\n agent {\n id\n name\n slug\n }\n conversation {\n id\n title\n }\n toolCalls {\n id\n toolName\n toolCallId\n status\n input\n output\n outputTruncated\n error\n errorType\n cacheHit\n durationMs\n requiresConfirmation\n confirmedAt\n startedAt\n completedAt\n }\n }\n }\n"];
1726
+ /**
1727
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1728
+ */
1729
+ declare function graphql(source: "\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n"): (typeof documents)["\n query GetAgentsUsageStats($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageStats(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n totalRuns\n totalMessages\n totalInputTokens\n totalOutputTokens\n totalCostCents\n totalToolCalls\n totalErrors\n }\n }\n"];
1730
+ /**
1731
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1732
+ */
1733
+ declare function graphql(source: "\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsUsageDaily($agentId: ID, $startDate: Date, $endDate: Date) {\n agentsUsageDaily(agentId: $agentId, startDate: $startDate, endDate: $endDate) {\n id\n date\n agentId\n runCount\n messageCount\n inputTokens\n outputTokens\n cacheReadTokens\n cacheWriteTokens\n costCents\n toolCallCount\n errorCount\n insertedAt\n updatedAt\n }\n }\n"];
1734
+ /**
1735
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1736
+ */
1737
+ declare function graphql(source: "\n query GetAgentsAdmins {\n agentsAdmins {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsAdmins {\n agentsAdmins {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"];
1738
+ /**
1739
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1740
+ */
1741
+ declare function graphql(source: "\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"];
1742
+ type DocumentType<TDocumentNode extends TypedDocumentNode<any, any>> = TDocumentNode extends TypedDocumentNode<infer TType, any> ? TType : never;
1743
+
1744
+ export { AdminRole, type Agent, AgentRole, AgentStatus, type AgentsAdmin, ArchiveAgentDocument, type ArchiveAgentMutation, type ArchiveAgentMutationVariables, ArchiveAgentsConversationDocument, type ArchiveAgentsConversationMutation, type ArchiveAgentsConversationMutationVariables, AssignToolToAgentDocument, type AssignToolToAgentMutation, type AssignToolToAgentMutationVariables, CancelAgentsRunDocument, type CancelAgentsRunMutation, type CancelAgentsRunMutationVariables, ConfirmAgentsToolCallDocument, type ConfirmAgentsToolCallMutation, type ConfirmAgentsToolCallMutationVariables, type Conversation, ConversationStatus, type CreateAdminInput, CreateAgentDocument, type CreateAgentInput, type CreateAgentMutation, type CreateAgentMutationVariables, CreateAgentsAdminDocument, type CreateAgentsAdminMutation, type CreateAgentsAdminMutationVariables, CreateAgentsConversationDocument, type CreateAgentsConversationMutation, type CreateAgentsConversationMutationVariables, CreateAgentsScheduleDocument, type CreateAgentsScheduleMutation, type CreateAgentsScheduleMutationVariables, CreateAgentsToolDocument, type CreateAgentsToolMutation, type CreateAgentsToolMutationVariables, type CreateConversationInput, type CreateScheduleInput, type CreateToolInput, DeleteAgentsAdminDocument, type DeleteAgentsAdminMutation, type DeleteAgentsAdminMutationVariables, DeleteAgentsScheduleDocument, type DeleteAgentsScheduleMutation, type DeleteAgentsScheduleMutationVariables, DeleteAgentsToolDocument, type DeleteAgentsToolMutation, type DeleteAgentsToolMutationVariables, DisableAgentsScheduleDocument, type DisableAgentsScheduleMutation, type DisableAgentsScheduleMutationVariables, type DocumentType, EnableAgentsScheduleDocument, type EnableAgentsScheduleMutation, type EnableAgentsScheduleMutationVariables, type Exact, type FragmentType, GetAgentDocument, type GetAgentQuery, type GetAgentQueryVariables, GetAgentsAdminsDocument, type GetAgentsAdminsQuery, type GetAgentsAdminsQueryVariables, GetAgentsConversationDocument, type GetAgentsConversationQuery, type GetAgentsConversationQueryVariables, GetAgentsConversationsDocument, type GetAgentsConversationsQuery, type GetAgentsConversationsQueryVariables, GetAgentsCurrentAdminDocument, type GetAgentsCurrentAdminQuery, type GetAgentsCurrentAdminQueryVariables, GetAgentsDocument, type GetAgentsQuery, type GetAgentsQueryVariables, GetAgentsRunDocument, type GetAgentsRunQuery, type GetAgentsRunQueryVariables, GetAgentsRunsDocument, type GetAgentsRunsQuery, type GetAgentsRunsQueryVariables, GetAgentsScheduleDocument, type GetAgentsScheduleQuery, type GetAgentsScheduleQueryVariables, GetAgentsSchedulesDocument, type GetAgentsSchedulesQuery, type GetAgentsSchedulesQueryVariables, GetAgentsToolCategoriesDocument, type GetAgentsToolCategoriesQuery, type GetAgentsToolCategoriesQueryVariables, GetAgentsToolDocument, type GetAgentsToolQuery, type GetAgentsToolQueryVariables, GetAgentsToolSourcesDocument, type GetAgentsToolSourcesQuery, type GetAgentsToolSourcesQueryVariables, GetAgentsToolsDocument, type GetAgentsToolsQuery, type GetAgentsToolsQueryVariables, GetAgentsUsageDailyDocument, type GetAgentsUsageDailyQuery, type GetAgentsUsageDailyQueryVariables, GetAgentsUsageStatsDocument, type GetAgentsUsageStatsQuery, type GetAgentsUsageStatsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Message, MessageRole, RejectAgentsToolCallDocument, type RejectAgentsToolCallMutation, type RejectAgentsToolCallMutationVariables, RemoveToolFromAgentDocument, type RemoveToolFromAgentMutation, type RemoveToolFromAgentMutationVariables, RestoreAgentDocument, type RestoreAgentMutation, type RestoreAgentMutationVariables, type RootMutationType, type RootMutationTypeArchiveAgentArgs, type RootMutationTypeArchiveAgentsConversationArgs, type RootMutationTypeAssignToolToAgentArgs, type RootMutationTypeCancelAgentsRunArgs, type RootMutationTypeConfirmAgentsToolCallArgs, type RootMutationTypeCreateAgentArgs, type RootMutationTypeCreateAgentsAdminArgs, type RootMutationTypeCreateAgentsConversationArgs, type RootMutationTypeCreateAgentsScheduleArgs, type RootMutationTypeCreateAgentsToolArgs, type RootMutationTypeDeleteAgentsAdminArgs, type RootMutationTypeDeleteAgentsScheduleArgs, type RootMutationTypeDeleteAgentsToolArgs, type RootMutationTypeDisableAgentsScheduleArgs, type RootMutationTypeEnableAgentsScheduleArgs, type RootMutationTypeRejectAgentsToolCallArgs, type RootMutationTypeRemoveToolFromAgentArgs, type RootMutationTypeRestoreAgentArgs, type RootMutationTypeSendAgentsMessageArgs, type RootMutationTypeUpdateAgentArgs, type RootMutationTypeUpdateAgentsAdminArgs, type RootMutationTypeUpdateAgentsScheduleArgs, type RootMutationTypeUpdateAgentsToolArgs, type RootQueryType, type RootQueryTypeAgentArgs, type RootQueryTypeAgentsArgs, type RootQueryTypeAgentsConversationArgs, type RootQueryTypeAgentsConversationsArgs, type RootQueryTypeAgentsRunArgs, type RootQueryTypeAgentsRunsArgs, type RootQueryTypeAgentsScheduleArgs, type RootQueryTypeAgentsSchedulesArgs, type RootQueryTypeAgentsToolArgs, type RootQueryTypeAgentsToolsArgs, type RootQueryTypeAgentsUsageDailyArgs, type RootQueryTypeAgentsUsageStatsArgs, type Run, RunStatus, type Scalars, type Schedule, ScheduleTaskType, SendAgentsMessageDocument, type SendAgentsMessageMutation, type SendAgentsMessageMutationVariables, type SendMessageInput, type ToolCall, ToolCallStatus, type ToolCategory, type ToolRegistry, type ToolSource, type UpdateAdminInput, UpdateAgentDocument, type UpdateAgentInput, type UpdateAgentMutation, type UpdateAgentMutationVariables, UpdateAgentsAdminDocument, type UpdateAgentsAdminMutation, type UpdateAgentsAdminMutationVariables, UpdateAgentsScheduleDocument, type UpdateAgentsScheduleMutation, type UpdateAgentsScheduleMutationVariables, UpdateAgentsToolDocument, type UpdateAgentsToolMutation, type UpdateAgentsToolMutationVariables, type UpdateScheduleInput, type UpdateToolInput, type UsageDaily, type UsageStats, graphql, isFragmentReady, makeFragmentData, useFragment };