graphlit-client 1.0.20260329001 → 1.0.20260402001

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.
@@ -80,12 +80,200 @@ export const GetAgent = gql `
80
80
  specification {
81
81
  id
82
82
  }
83
+ trigger {
84
+ types
85
+ fileTypes
86
+ feeds {
87
+ id
88
+ }
89
+ }
83
90
  filter {
91
+ dateRange {
92
+ from
93
+ to
94
+ }
95
+ inLast
96
+ inNext
97
+ creationDateRange {
98
+ from
99
+ to
100
+ }
101
+ createdInLast
102
+ types
103
+ fileTypes
104
+ formats
105
+ fileExtensions
106
+ fileSizeRange {
107
+ from
108
+ to
109
+ }
110
+ similarContents {
111
+ id
112
+ }
113
+ contents {
114
+ id
115
+ }
116
+ feeds {
117
+ id
118
+ }
119
+ workflows {
120
+ id
121
+ }
122
+ collections {
123
+ id
124
+ }
125
+ users {
126
+ id
127
+ }
128
+ observations {
129
+ type
130
+ observable {
131
+ id
132
+ }
133
+ states
134
+ }
135
+ or {
136
+ feeds {
137
+ id
138
+ }
139
+ workflows {
140
+ id
141
+ }
142
+ collections {
143
+ id
144
+ }
145
+ users {
146
+ id
147
+ }
148
+ observations {
149
+ type
150
+ observable {
151
+ id
152
+ }
153
+ states
154
+ }
155
+ }
156
+ and {
157
+ feeds {
158
+ id
159
+ }
160
+ workflows {
161
+ id
162
+ }
163
+ collections {
164
+ id
165
+ }
166
+ users {
167
+ id
168
+ }
169
+ observations {
170
+ type
171
+ observable {
172
+ id
173
+ }
174
+ states
175
+ }
176
+ }
177
+ hasObservations
178
+ hasFeeds
179
+ hasCollections
180
+ hasWorkflows
181
+ collectionMode
182
+ observationMode
183
+ }
184
+ augmentedFilter {
185
+ dateRange {
186
+ from
187
+ to
188
+ }
189
+ inLast
190
+ inNext
191
+ creationDateRange {
192
+ from
193
+ to
194
+ }
195
+ createdInLast
84
196
  types
85
197
  fileTypes
198
+ formats
199
+ fileExtensions
200
+ fileSizeRange {
201
+ from
202
+ to
203
+ }
204
+ similarContents {
205
+ id
206
+ }
207
+ contents {
208
+ id
209
+ }
86
210
  feeds {
87
211
  id
88
212
  }
213
+ workflows {
214
+ id
215
+ }
216
+ collections {
217
+ id
218
+ }
219
+ users {
220
+ id
221
+ }
222
+ observations {
223
+ type
224
+ observable {
225
+ id
226
+ }
227
+ states
228
+ }
229
+ or {
230
+ feeds {
231
+ id
232
+ }
233
+ workflows {
234
+ id
235
+ }
236
+ collections {
237
+ id
238
+ }
239
+ users {
240
+ id
241
+ }
242
+ observations {
243
+ type
244
+ observable {
245
+ id
246
+ }
247
+ states
248
+ }
249
+ }
250
+ and {
251
+ feeds {
252
+ id
253
+ }
254
+ workflows {
255
+ id
256
+ }
257
+ collections {
258
+ id
259
+ }
260
+ users {
261
+ id
262
+ }
263
+ observations {
264
+ type
265
+ observable {
266
+ id
267
+ }
268
+ states
269
+ }
270
+ }
271
+ hasObservations
272
+ hasFeeds
273
+ hasCollections
274
+ hasWorkflows
275
+ collectionMode
276
+ observationMode
89
277
  }
90
278
  schedulePolicy {
91
279
  recurrenceType
@@ -128,12 +316,200 @@ export const QueryAgents = gql `
128
316
  specification {
129
317
  id
130
318
  }
319
+ trigger {
320
+ types
321
+ fileTypes
322
+ feeds {
323
+ id
324
+ }
325
+ }
131
326
  filter {
327
+ dateRange {
328
+ from
329
+ to
330
+ }
331
+ inLast
332
+ inNext
333
+ creationDateRange {
334
+ from
335
+ to
336
+ }
337
+ createdInLast
132
338
  types
133
339
  fileTypes
340
+ formats
341
+ fileExtensions
342
+ fileSizeRange {
343
+ from
344
+ to
345
+ }
346
+ similarContents {
347
+ id
348
+ }
349
+ contents {
350
+ id
351
+ }
352
+ feeds {
353
+ id
354
+ }
355
+ workflows {
356
+ id
357
+ }
358
+ collections {
359
+ id
360
+ }
361
+ users {
362
+ id
363
+ }
364
+ observations {
365
+ type
366
+ observable {
367
+ id
368
+ }
369
+ states
370
+ }
371
+ or {
372
+ feeds {
373
+ id
374
+ }
375
+ workflows {
376
+ id
377
+ }
378
+ collections {
379
+ id
380
+ }
381
+ users {
382
+ id
383
+ }
384
+ observations {
385
+ type
386
+ observable {
387
+ id
388
+ }
389
+ states
390
+ }
391
+ }
392
+ and {
393
+ feeds {
394
+ id
395
+ }
396
+ workflows {
397
+ id
398
+ }
399
+ collections {
400
+ id
401
+ }
402
+ users {
403
+ id
404
+ }
405
+ observations {
406
+ type
407
+ observable {
408
+ id
409
+ }
410
+ states
411
+ }
412
+ }
413
+ hasObservations
414
+ hasFeeds
415
+ hasCollections
416
+ hasWorkflows
417
+ collectionMode
418
+ observationMode
419
+ }
420
+ augmentedFilter {
421
+ dateRange {
422
+ from
423
+ to
424
+ }
425
+ inLast
426
+ inNext
427
+ creationDateRange {
428
+ from
429
+ to
430
+ }
431
+ createdInLast
432
+ types
433
+ fileTypes
434
+ formats
435
+ fileExtensions
436
+ fileSizeRange {
437
+ from
438
+ to
439
+ }
440
+ similarContents {
441
+ id
442
+ }
443
+ contents {
444
+ id
445
+ }
134
446
  feeds {
135
447
  id
136
448
  }
449
+ workflows {
450
+ id
451
+ }
452
+ collections {
453
+ id
454
+ }
455
+ users {
456
+ id
457
+ }
458
+ observations {
459
+ type
460
+ observable {
461
+ id
462
+ }
463
+ states
464
+ }
465
+ or {
466
+ feeds {
467
+ id
468
+ }
469
+ workflows {
470
+ id
471
+ }
472
+ collections {
473
+ id
474
+ }
475
+ users {
476
+ id
477
+ }
478
+ observations {
479
+ type
480
+ observable {
481
+ id
482
+ }
483
+ states
484
+ }
485
+ }
486
+ and {
487
+ feeds {
488
+ id
489
+ }
490
+ workflows {
491
+ id
492
+ }
493
+ collections {
494
+ id
495
+ }
496
+ users {
497
+ id
498
+ }
499
+ observations {
500
+ type
501
+ observable {
502
+ id
503
+ }
504
+ states
505
+ }
506
+ }
507
+ hasObservations
508
+ hasFeeds
509
+ hasCollections
510
+ hasWorkflows
511
+ collectionMode
512
+ observationMode
137
513
  }
138
514
  schedulePolicy {
139
515
  recurrenceType
@@ -1194,6 +1570,21 @@ export const GetConnector = gql `
1194
1570
  applicationId
1195
1571
  publicKey
1196
1572
  }
1573
+ telegram {
1574
+ botToken
1575
+ secretToken
1576
+ botUsername
1577
+ }
1578
+ whatsApp {
1579
+ accessToken
1580
+ appSecret
1581
+ phoneNumberId
1582
+ verifyToken
1583
+ }
1584
+ googleChat {
1585
+ credentials
1586
+ projectId
1587
+ }
1197
1588
  }
1198
1589
  }
1199
1590
  }
@@ -1279,6 +1670,21 @@ export const QueryConnectors = gql `
1279
1670
  applicationId
1280
1671
  publicKey
1281
1672
  }
1673
+ telegram {
1674
+ botToken
1675
+ secretToken
1676
+ botUsername
1677
+ }
1678
+ whatsApp {
1679
+ accessToken
1680
+ appSecret
1681
+ phoneNumberId
1682
+ verifyToken
1683
+ }
1684
+ googleChat {
1685
+ credentials
1686
+ projectId
1687
+ }
1282
1688
  }
1283
1689
  }
1284
1690
  }
@@ -18514,6 +18920,21 @@ export const GetUser = gql `
18514
18920
  applicationId
18515
18921
  publicKey
18516
18922
  }
18923
+ telegram {
18924
+ botToken
18925
+ secretToken
18926
+ botUsername
18927
+ }
18928
+ whatsApp {
18929
+ accessToken
18930
+ appSecret
18931
+ phoneNumberId
18932
+ verifyToken
18933
+ }
18934
+ googleChat {
18935
+ credentials
18936
+ projectId
18937
+ }
18517
18938
  }
18518
18939
  }
18519
18940
  personas {
@@ -18627,6 +19048,21 @@ export const GetUserByIdentifier = gql `
18627
19048
  applicationId
18628
19049
  publicKey
18629
19050
  }
19051
+ telegram {
19052
+ botToken
19053
+ secretToken
19054
+ botUsername
19055
+ }
19056
+ whatsApp {
19057
+ accessToken
19058
+ appSecret
19059
+ phoneNumberId
19060
+ verifyToken
19061
+ }
19062
+ googleChat {
19063
+ credentials
19064
+ projectId
19065
+ }
18630
19066
  }
18631
19067
  }
18632
19068
  personas {
@@ -18741,6 +19177,21 @@ export const QueryUsers = gql `
18741
19177
  applicationId
18742
19178
  publicKey
18743
19179
  }
19180
+ telegram {
19181
+ botToken
19182
+ secretToken
19183
+ botUsername
19184
+ }
19185
+ whatsApp {
19186
+ accessToken
19187
+ appSecret
19188
+ phoneNumberId
19189
+ verifyToken
19190
+ }
19191
+ googleChat {
19192
+ credentials
19193
+ projectId
19194
+ }
18744
19195
  }
18745
19196
  }
18746
19197
  personas {
@@ -109,6 +109,8 @@ export type AddressInput = {
109
109
  /** Represents an agent. */
110
110
  export type Agent = {
111
111
  __typename?: 'Agent';
112
+ /** The pinned content scope for this agent. */
113
+ augmentedFilter?: Maybe<ContentCriteria>;
112
114
  /** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
113
115
  callbackUri?: Maybe<Scalars['URL']['output']>;
114
116
  /** The agent channels. */
@@ -125,8 +127,8 @@ export type Agent = {
125
127
  description?: Maybe<Scalars['String']['output']>;
126
128
  /** The desks this agent is assigned to. */
127
129
  desks?: Maybe<Array<Maybe<Desk>>>;
128
- /** The trigger filter for event-driven activation. */
129
- filter?: Maybe<AgentTriggerFilter>;
130
+ /** The content retrieval scope for this agent. */
131
+ filter?: Maybe<ContentCriteria>;
130
132
  /** The ID of the agent. */
131
133
  id: Scalars['ID']['output'];
132
134
  /** The modified date of the agent. */
@@ -149,6 +151,8 @@ export type Agent = {
149
151
  state: EntityState;
150
152
  /** The agent timeout. */
151
153
  timeout?: Maybe<Scalars['TimeSpan']['output']>;
154
+ /** The trigger filter for event-driven activation. */
155
+ trigger?: Maybe<AgentTriggerFilter>;
152
156
  /** The agent type. */
153
157
  type: AgentTypes;
154
158
  /** The user that created the entity. */
@@ -233,6 +237,8 @@ export type AgentFilter = {
233
237
  };
234
238
  /** Represents an agent. */
235
239
  export type AgentInput = {
240
+ /** The pinned content scope for this agent. */
241
+ augmentedFilter?: InputMaybe<ContentCriteriaInput>;
236
242
  /** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
237
243
  callbackUri?: InputMaybe<Scalars['URL']['input']>;
238
244
  /** The agent channels. */
@@ -241,8 +247,8 @@ export type AgentInput = {
241
247
  connectors?: InputMaybe<Array<EntityReferenceInput>>;
242
248
  /** The description of the agent. */
243
249
  description?: InputMaybe<Scalars['String']['input']>;
244
- /** The trigger filter for event-driven activation. */
245
- filter?: InputMaybe<AgentTriggerFilterInput>;
250
+ /** The content retrieval scope for this agent. */
251
+ filter?: InputMaybe<ContentCriteriaInput>;
246
252
  /** The name of the agent. */
247
253
  name: Scalars['String']['input'];
248
254
  /** The execution prompt run on each triggered activation. */
@@ -255,6 +261,8 @@ export type AgentInput = {
255
261
  specification?: InputMaybe<EntityReferenceInput>;
256
262
  /** The agent timeout. */
257
263
  timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
264
+ /** The trigger filter for event-driven activation. */
265
+ trigger?: InputMaybe<AgentTriggerFilterInput>;
258
266
  /** The agent type. */
259
267
  type: AgentTypes;
260
268
  };
@@ -313,6 +321,8 @@ export declare enum AgentTypes {
313
321
  }
314
322
  /** Represents an agent. */
315
323
  export type AgentUpdateInput = {
324
+ /** The pinned content scope for this agent. */
325
+ augmentedFilter?: InputMaybe<ContentCriteriaInput>;
316
326
  /** The agent callback URI, optional. The platform will callback to this webhook upon agent run completion. */
317
327
  callbackUri?: InputMaybe<Scalars['URL']['input']>;
318
328
  /** The agent channels. */
@@ -321,8 +331,8 @@ export type AgentUpdateInput = {
321
331
  connectors?: InputMaybe<Array<EntityReferenceInput>>;
322
332
  /** The description of the agent. */
323
333
  description?: InputMaybe<Scalars['String']['input']>;
324
- /** The trigger filter for event-driven activation. */
325
- filter?: InputMaybe<AgentTriggerFilterInput>;
334
+ /** The content retrieval scope for this agent. */
335
+ filter?: InputMaybe<ContentCriteriaInput>;
326
336
  /** The ID of the agent to update. */
327
337
  id: Scalars['ID']['input'];
328
338
  /** The name of the agent. */
@@ -337,6 +347,8 @@ export type AgentUpdateInput = {
337
347
  specification?: InputMaybe<EntityReferenceInput>;
338
348
  /** The agent timeout. */
339
349
  timeout?: InputMaybe<Scalars['TimeSpan']['input']>;
350
+ /** The trigger filter for event-driven activation. */
351
+ trigger?: InputMaybe<AgentTriggerFilterInput>;
340
352
  };
341
353
  /** Represents an alert. */
342
354
  export type Alert = {
@@ -2519,41 +2531,65 @@ export type ChannelConnector = {
2519
2531
  __typename?: 'ChannelConnector';
2520
2532
  /** Discord channel properties. */
2521
2533
  discord?: Maybe<DiscordChannelProperties>;
2534
+ /** Google Chat channel properties. */
2535
+ googleChat?: Maybe<GoogleChatChannelProperties>;
2522
2536
  /** Slack channel properties. */
2523
2537
  slack?: Maybe<SlackChannelProperties>;
2524
2538
  /** Microsoft Teams channel properties. */
2525
2539
  teams?: Maybe<TeamsChannelProperties>;
2540
+ /** Telegram channel properties. */
2541
+ telegram?: Maybe<TelegramChannelProperties>;
2526
2542
  /** Channel service type. */
2527
2543
  type: ChannelServiceTypes;
2544
+ /** WhatsApp channel properties. */
2545
+ whatsApp?: Maybe<WhatsAppChannelProperties>;
2528
2546
  };
2529
2547
  /** Represents a channel connector. */
2530
2548
  export type ChannelConnectorInput = {
2531
2549
  /** Discord channel properties. */
2532
2550
  discord?: InputMaybe<DiscordChannelPropertiesInput>;
2551
+ /** Google Chat channel properties. */
2552
+ googleChat?: InputMaybe<GoogleChatChannelPropertiesInput>;
2533
2553
  /** Slack channel properties. */
2534
2554
  slack?: InputMaybe<SlackChannelPropertiesInput>;
2535
2555
  /** Microsoft Teams channel properties. */
2536
2556
  teams?: InputMaybe<TeamsChannelPropertiesInput>;
2557
+ /** Telegram channel properties. */
2558
+ telegram?: InputMaybe<TelegramChannelPropertiesInput>;
2537
2559
  /** Channel service type. */
2538
2560
  type: ChannelServiceTypes;
2561
+ /** WhatsApp channel properties. */
2562
+ whatsApp?: InputMaybe<WhatsAppChannelPropertiesInput>;
2539
2563
  };
2540
2564
  /** Represents a channel connector. */
2541
2565
  export type ChannelConnectorUpdateInput = {
2542
2566
  /** Discord channel properties. */
2543
2567
  discord?: InputMaybe<DiscordChannelPropertiesInput>;
2568
+ /** Google Chat channel properties. */
2569
+ googleChat?: InputMaybe<GoogleChatChannelPropertiesInput>;
2544
2570
  /** Slack channel properties. */
2545
2571
  slack?: InputMaybe<SlackChannelPropertiesInput>;
2546
2572
  /** Microsoft Teams channel properties. */
2547
2573
  teams?: InputMaybe<TeamsChannelPropertiesInput>;
2574
+ /** Telegram channel properties. */
2575
+ telegram?: InputMaybe<TelegramChannelPropertiesInput>;
2576
+ /** WhatsApp channel properties. */
2577
+ whatsApp?: InputMaybe<WhatsAppChannelPropertiesInput>;
2548
2578
  };
2549
2579
  /** Channel service type */
2550
2580
  export declare enum ChannelServiceTypes {
2551
2581
  /** Discord */
2552
2582
  Discord = "DISCORD",
2583
+ /** Google Chat */
2584
+ GoogleChat = "GOOGLE_CHAT",
2553
2585
  /** Slack */
2554
2586
  Slack = "SLACK",
2555
2587
  /** Microsoft Teams */
2556
- Teams = "TEAMS"
2588
+ Teams = "TEAMS",
2589
+ /** Telegram */
2590
+ Telegram = "TELEGRAM",
2591
+ /** WhatsApp */
2592
+ WhatsApp = "WHATS_APP"
2557
2593
  }
2558
2594
  /** Represents a classification workflow job. */
2559
2595
  export type ClassificationWorkflowJob = {
@@ -9039,6 +9075,21 @@ export type GoogleCalendarsInput = {
9039
9075
  /** Google OAuth2 refresh token, for User authentication type. */
9040
9076
  refreshToken?: InputMaybe<Scalars['String']['input']>;
9041
9077
  };
9078
+ /** Represents Google Chat channel properties. */
9079
+ export type GoogleChatChannelProperties = {
9080
+ __typename?: 'GoogleChatChannelProperties';
9081
+ /** Google Chat service account credentials JSON. */
9082
+ credentials: Scalars['String']['output'];
9083
+ /** GCP project identifier. */
9084
+ projectId?: Maybe<Scalars['String']['output']>;
9085
+ };
9086
+ /** Represents Google Chat channel properties. */
9087
+ export type GoogleChatChannelPropertiesInput = {
9088
+ /** Google Chat service account credentials JSON. */
9089
+ credentials: Scalars['String']['input'];
9090
+ /** GCP project identifier. */
9091
+ projectId?: InputMaybe<Scalars['String']['input']>;
9092
+ };
9042
9093
  export declare enum GoogleContactsAuthenticationTypes {
9043
9094
  Connector = "CONNECTOR",
9044
9095
  User = "USER"
@@ -23726,6 +23777,25 @@ export type TeamsChannelPropertiesInput = {
23726
23777
  /** Teams tenant identifier. */
23727
23778
  tenantId?: InputMaybe<Scalars['String']['input']>;
23728
23779
  };
23780
+ /** Represents Telegram channel properties. */
23781
+ export type TelegramChannelProperties = {
23782
+ __typename?: 'TelegramChannelProperties';
23783
+ /** Telegram bot token. */
23784
+ botToken: Scalars['String']['output'];
23785
+ /** Telegram bot username. */
23786
+ botUsername?: Maybe<Scalars['String']['output']>;
23787
+ /** Telegram webhook secret token. */
23788
+ secretToken?: Maybe<Scalars['String']['output']>;
23789
+ };
23790
+ /** Represents Telegram channel properties. */
23791
+ export type TelegramChannelPropertiesInput = {
23792
+ /** Telegram bot token. */
23793
+ botToken: Scalars['String']['input'];
23794
+ /** Telegram bot username. */
23795
+ botUsername?: InputMaybe<Scalars['String']['input']>;
23796
+ /** Telegram webhook secret token. */
23797
+ secretToken?: InputMaybe<Scalars['String']['input']>;
23798
+ };
23729
23799
  /** Represents a chunk of text. */
23730
23800
  export type TextChunk = {
23731
23801
  __typename?: 'TextChunk';
@@ -24642,6 +24712,29 @@ export type WebSearchResults = {
24642
24712
  /** The list of web search results. */
24643
24713
  results?: Maybe<Array<WebSearchResult>>;
24644
24714
  };
24715
+ /** Represents WhatsApp channel properties. */
24716
+ export type WhatsAppChannelProperties = {
24717
+ __typename?: 'WhatsAppChannelProperties';
24718
+ /** WhatsApp Business API access token. */
24719
+ accessToken: Scalars['String']['output'];
24720
+ /** Meta app secret for webhook signature verification. */
24721
+ appSecret?: Maybe<Scalars['String']['output']>;
24722
+ /** WhatsApp Business phone number identifier. */
24723
+ phoneNumberId: Scalars['String']['output'];
24724
+ /** Webhook verification token. */
24725
+ verifyToken?: Maybe<Scalars['String']['output']>;
24726
+ };
24727
+ /** Represents WhatsApp channel properties. */
24728
+ export type WhatsAppChannelPropertiesInput = {
24729
+ /** WhatsApp Business API access token. */
24730
+ accessToken: Scalars['String']['input'];
24731
+ /** Meta app secret for webhook signature verification. */
24732
+ appSecret?: InputMaybe<Scalars['String']['input']>;
24733
+ /** WhatsApp Business phone number identifier. */
24734
+ phoneNumberId: Scalars['String']['input'];
24735
+ /** Webhook verification token. */
24736
+ verifyToken?: InputMaybe<Scalars['String']['input']>;
24737
+ };
24645
24738
  /** Represents a workflow. */
24646
24739
  export type Workflow = {
24647
24740
  __typename?: 'Workflow';
@@ -25195,7 +25288,7 @@ export type GetAgentQuery = {
25195
25288
  __typename?: 'EntityReference';
25196
25289
  id: string;
25197
25290
  } | null;
25198
- filter?: {
25291
+ trigger?: {
25199
25292
  __typename?: 'AgentTriggerFilter';
25200
25293
  types?: Array<ContentTypes> | null;
25201
25294
  fileTypes?: Array<FileTypes> | null;
@@ -25204,6 +25297,246 @@ export type GetAgentQuery = {
25204
25297
  id: string;
25205
25298
  }> | null;
25206
25299
  } | null;
25300
+ filter?: {
25301
+ __typename?: 'ContentCriteria';
25302
+ inLast?: any | null;
25303
+ inNext?: any | null;
25304
+ createdInLast?: any | null;
25305
+ types?: Array<ContentTypes> | null;
25306
+ fileTypes?: Array<FileTypes> | null;
25307
+ formats?: Array<string> | null;
25308
+ fileExtensions?: Array<string> | null;
25309
+ hasObservations?: boolean | null;
25310
+ hasFeeds?: boolean | null;
25311
+ hasCollections?: boolean | null;
25312
+ hasWorkflows?: boolean | null;
25313
+ collectionMode?: FilterMode | null;
25314
+ observationMode?: FilterMode | null;
25315
+ dateRange?: {
25316
+ __typename?: 'DateRange';
25317
+ from?: any | null;
25318
+ to?: any | null;
25319
+ } | null;
25320
+ creationDateRange?: {
25321
+ __typename?: 'DateRange';
25322
+ from?: any | null;
25323
+ to?: any | null;
25324
+ } | null;
25325
+ fileSizeRange?: {
25326
+ __typename?: 'Int64Range';
25327
+ from?: any | null;
25328
+ to?: any | null;
25329
+ } | null;
25330
+ similarContents?: Array<{
25331
+ __typename?: 'EntityReference';
25332
+ id: string;
25333
+ }> | null;
25334
+ contents?: Array<{
25335
+ __typename?: 'EntityReference';
25336
+ id: string;
25337
+ }> | null;
25338
+ feeds?: Array<{
25339
+ __typename?: 'EntityReference';
25340
+ id: string;
25341
+ }> | null;
25342
+ workflows?: Array<{
25343
+ __typename?: 'EntityReference';
25344
+ id: string;
25345
+ }> | null;
25346
+ collections?: Array<{
25347
+ __typename?: 'EntityReference';
25348
+ id: string;
25349
+ }> | null;
25350
+ users?: Array<{
25351
+ __typename?: 'EntityReference';
25352
+ id: string;
25353
+ }> | null;
25354
+ observations?: Array<{
25355
+ __typename?: 'ObservationCriteria';
25356
+ type: ObservableTypes;
25357
+ states?: Array<EntityState> | null;
25358
+ observable: {
25359
+ __typename?: 'EntityReference';
25360
+ id: string;
25361
+ };
25362
+ }> | null;
25363
+ or?: Array<{
25364
+ __typename?: 'ContentCriteriaLevel';
25365
+ feeds?: Array<{
25366
+ __typename?: 'EntityReference';
25367
+ id: string;
25368
+ }> | null;
25369
+ workflows?: Array<{
25370
+ __typename?: 'EntityReference';
25371
+ id: string;
25372
+ }> | null;
25373
+ collections?: Array<{
25374
+ __typename?: 'EntityReference';
25375
+ id: string;
25376
+ }> | null;
25377
+ users?: Array<{
25378
+ __typename?: 'EntityReference';
25379
+ id: string;
25380
+ }> | null;
25381
+ observations?: Array<{
25382
+ __typename?: 'ObservationCriteria';
25383
+ type: ObservableTypes;
25384
+ states?: Array<EntityState> | null;
25385
+ observable: {
25386
+ __typename?: 'EntityReference';
25387
+ id: string;
25388
+ };
25389
+ }> | null;
25390
+ }> | null;
25391
+ and?: Array<{
25392
+ __typename?: 'ContentCriteriaLevel';
25393
+ feeds?: Array<{
25394
+ __typename?: 'EntityReference';
25395
+ id: string;
25396
+ }> | null;
25397
+ workflows?: Array<{
25398
+ __typename?: 'EntityReference';
25399
+ id: string;
25400
+ }> | null;
25401
+ collections?: Array<{
25402
+ __typename?: 'EntityReference';
25403
+ id: string;
25404
+ }> | null;
25405
+ users?: Array<{
25406
+ __typename?: 'EntityReference';
25407
+ id: string;
25408
+ }> | null;
25409
+ observations?: Array<{
25410
+ __typename?: 'ObservationCriteria';
25411
+ type: ObservableTypes;
25412
+ states?: Array<EntityState> | null;
25413
+ observable: {
25414
+ __typename?: 'EntityReference';
25415
+ id: string;
25416
+ };
25417
+ }> | null;
25418
+ }> | null;
25419
+ } | null;
25420
+ augmentedFilter?: {
25421
+ __typename?: 'ContentCriteria';
25422
+ inLast?: any | null;
25423
+ inNext?: any | null;
25424
+ createdInLast?: any | null;
25425
+ types?: Array<ContentTypes> | null;
25426
+ fileTypes?: Array<FileTypes> | null;
25427
+ formats?: Array<string> | null;
25428
+ fileExtensions?: Array<string> | null;
25429
+ hasObservations?: boolean | null;
25430
+ hasFeeds?: boolean | null;
25431
+ hasCollections?: boolean | null;
25432
+ hasWorkflows?: boolean | null;
25433
+ collectionMode?: FilterMode | null;
25434
+ observationMode?: FilterMode | null;
25435
+ dateRange?: {
25436
+ __typename?: 'DateRange';
25437
+ from?: any | null;
25438
+ to?: any | null;
25439
+ } | null;
25440
+ creationDateRange?: {
25441
+ __typename?: 'DateRange';
25442
+ from?: any | null;
25443
+ to?: any | null;
25444
+ } | null;
25445
+ fileSizeRange?: {
25446
+ __typename?: 'Int64Range';
25447
+ from?: any | null;
25448
+ to?: any | null;
25449
+ } | null;
25450
+ similarContents?: Array<{
25451
+ __typename?: 'EntityReference';
25452
+ id: string;
25453
+ }> | null;
25454
+ contents?: Array<{
25455
+ __typename?: 'EntityReference';
25456
+ id: string;
25457
+ }> | null;
25458
+ feeds?: Array<{
25459
+ __typename?: 'EntityReference';
25460
+ id: string;
25461
+ }> | null;
25462
+ workflows?: Array<{
25463
+ __typename?: 'EntityReference';
25464
+ id: string;
25465
+ }> | null;
25466
+ collections?: Array<{
25467
+ __typename?: 'EntityReference';
25468
+ id: string;
25469
+ }> | null;
25470
+ users?: Array<{
25471
+ __typename?: 'EntityReference';
25472
+ id: string;
25473
+ }> | null;
25474
+ observations?: Array<{
25475
+ __typename?: 'ObservationCriteria';
25476
+ type: ObservableTypes;
25477
+ states?: Array<EntityState> | null;
25478
+ observable: {
25479
+ __typename?: 'EntityReference';
25480
+ id: string;
25481
+ };
25482
+ }> | null;
25483
+ or?: Array<{
25484
+ __typename?: 'ContentCriteriaLevel';
25485
+ feeds?: Array<{
25486
+ __typename?: 'EntityReference';
25487
+ id: string;
25488
+ }> | null;
25489
+ workflows?: Array<{
25490
+ __typename?: 'EntityReference';
25491
+ id: string;
25492
+ }> | null;
25493
+ collections?: Array<{
25494
+ __typename?: 'EntityReference';
25495
+ id: string;
25496
+ }> | null;
25497
+ users?: Array<{
25498
+ __typename?: 'EntityReference';
25499
+ id: string;
25500
+ }> | null;
25501
+ observations?: Array<{
25502
+ __typename?: 'ObservationCriteria';
25503
+ type: ObservableTypes;
25504
+ states?: Array<EntityState> | null;
25505
+ observable: {
25506
+ __typename?: 'EntityReference';
25507
+ id: string;
25508
+ };
25509
+ }> | null;
25510
+ }> | null;
25511
+ and?: Array<{
25512
+ __typename?: 'ContentCriteriaLevel';
25513
+ feeds?: Array<{
25514
+ __typename?: 'EntityReference';
25515
+ id: string;
25516
+ }> | null;
25517
+ workflows?: Array<{
25518
+ __typename?: 'EntityReference';
25519
+ id: string;
25520
+ }> | null;
25521
+ collections?: Array<{
25522
+ __typename?: 'EntityReference';
25523
+ id: string;
25524
+ }> | null;
25525
+ users?: Array<{
25526
+ __typename?: 'EntityReference';
25527
+ id: string;
25528
+ }> | null;
25529
+ observations?: Array<{
25530
+ __typename?: 'ObservationCriteria';
25531
+ type: ObservableTypes;
25532
+ states?: Array<EntityState> | null;
25533
+ observable: {
25534
+ __typename?: 'EntityReference';
25535
+ id: string;
25536
+ };
25537
+ }> | null;
25538
+ }> | null;
25539
+ } | null;
25207
25540
  schedulePolicy?: {
25208
25541
  __typename?: 'AgentSchedulePolicy';
25209
25542
  recurrenceType?: TimedPolicyRecurrenceTypes | null;
@@ -25255,7 +25588,7 @@ export type QueryAgentsQuery = {
25255
25588
  __typename?: 'EntityReference';
25256
25589
  id: string;
25257
25590
  } | null;
25258
- filter?: {
25591
+ trigger?: {
25259
25592
  __typename?: 'AgentTriggerFilter';
25260
25593
  types?: Array<ContentTypes> | null;
25261
25594
  fileTypes?: Array<FileTypes> | null;
@@ -25264,6 +25597,246 @@ export type QueryAgentsQuery = {
25264
25597
  id: string;
25265
25598
  }> | null;
25266
25599
  } | null;
25600
+ filter?: {
25601
+ __typename?: 'ContentCriteria';
25602
+ inLast?: any | null;
25603
+ inNext?: any | null;
25604
+ createdInLast?: any | null;
25605
+ types?: Array<ContentTypes> | null;
25606
+ fileTypes?: Array<FileTypes> | null;
25607
+ formats?: Array<string> | null;
25608
+ fileExtensions?: Array<string> | null;
25609
+ hasObservations?: boolean | null;
25610
+ hasFeeds?: boolean | null;
25611
+ hasCollections?: boolean | null;
25612
+ hasWorkflows?: boolean | null;
25613
+ collectionMode?: FilterMode | null;
25614
+ observationMode?: FilterMode | null;
25615
+ dateRange?: {
25616
+ __typename?: 'DateRange';
25617
+ from?: any | null;
25618
+ to?: any | null;
25619
+ } | null;
25620
+ creationDateRange?: {
25621
+ __typename?: 'DateRange';
25622
+ from?: any | null;
25623
+ to?: any | null;
25624
+ } | null;
25625
+ fileSizeRange?: {
25626
+ __typename?: 'Int64Range';
25627
+ from?: any | null;
25628
+ to?: any | null;
25629
+ } | null;
25630
+ similarContents?: Array<{
25631
+ __typename?: 'EntityReference';
25632
+ id: string;
25633
+ }> | null;
25634
+ contents?: Array<{
25635
+ __typename?: 'EntityReference';
25636
+ id: string;
25637
+ }> | null;
25638
+ feeds?: Array<{
25639
+ __typename?: 'EntityReference';
25640
+ id: string;
25641
+ }> | null;
25642
+ workflows?: Array<{
25643
+ __typename?: 'EntityReference';
25644
+ id: string;
25645
+ }> | null;
25646
+ collections?: Array<{
25647
+ __typename?: 'EntityReference';
25648
+ id: string;
25649
+ }> | null;
25650
+ users?: Array<{
25651
+ __typename?: 'EntityReference';
25652
+ id: string;
25653
+ }> | null;
25654
+ observations?: Array<{
25655
+ __typename?: 'ObservationCriteria';
25656
+ type: ObservableTypes;
25657
+ states?: Array<EntityState> | null;
25658
+ observable: {
25659
+ __typename?: 'EntityReference';
25660
+ id: string;
25661
+ };
25662
+ }> | null;
25663
+ or?: Array<{
25664
+ __typename?: 'ContentCriteriaLevel';
25665
+ feeds?: Array<{
25666
+ __typename?: 'EntityReference';
25667
+ id: string;
25668
+ }> | null;
25669
+ workflows?: Array<{
25670
+ __typename?: 'EntityReference';
25671
+ id: string;
25672
+ }> | null;
25673
+ collections?: Array<{
25674
+ __typename?: 'EntityReference';
25675
+ id: string;
25676
+ }> | null;
25677
+ users?: Array<{
25678
+ __typename?: 'EntityReference';
25679
+ id: string;
25680
+ }> | null;
25681
+ observations?: Array<{
25682
+ __typename?: 'ObservationCriteria';
25683
+ type: ObservableTypes;
25684
+ states?: Array<EntityState> | null;
25685
+ observable: {
25686
+ __typename?: 'EntityReference';
25687
+ id: string;
25688
+ };
25689
+ }> | null;
25690
+ }> | null;
25691
+ and?: Array<{
25692
+ __typename?: 'ContentCriteriaLevel';
25693
+ feeds?: Array<{
25694
+ __typename?: 'EntityReference';
25695
+ id: string;
25696
+ }> | null;
25697
+ workflows?: Array<{
25698
+ __typename?: 'EntityReference';
25699
+ id: string;
25700
+ }> | null;
25701
+ collections?: Array<{
25702
+ __typename?: 'EntityReference';
25703
+ id: string;
25704
+ }> | null;
25705
+ users?: Array<{
25706
+ __typename?: 'EntityReference';
25707
+ id: string;
25708
+ }> | null;
25709
+ observations?: Array<{
25710
+ __typename?: 'ObservationCriteria';
25711
+ type: ObservableTypes;
25712
+ states?: Array<EntityState> | null;
25713
+ observable: {
25714
+ __typename?: 'EntityReference';
25715
+ id: string;
25716
+ };
25717
+ }> | null;
25718
+ }> | null;
25719
+ } | null;
25720
+ augmentedFilter?: {
25721
+ __typename?: 'ContentCriteria';
25722
+ inLast?: any | null;
25723
+ inNext?: any | null;
25724
+ createdInLast?: any | null;
25725
+ types?: Array<ContentTypes> | null;
25726
+ fileTypes?: Array<FileTypes> | null;
25727
+ formats?: Array<string> | null;
25728
+ fileExtensions?: Array<string> | null;
25729
+ hasObservations?: boolean | null;
25730
+ hasFeeds?: boolean | null;
25731
+ hasCollections?: boolean | null;
25732
+ hasWorkflows?: boolean | null;
25733
+ collectionMode?: FilterMode | null;
25734
+ observationMode?: FilterMode | null;
25735
+ dateRange?: {
25736
+ __typename?: 'DateRange';
25737
+ from?: any | null;
25738
+ to?: any | null;
25739
+ } | null;
25740
+ creationDateRange?: {
25741
+ __typename?: 'DateRange';
25742
+ from?: any | null;
25743
+ to?: any | null;
25744
+ } | null;
25745
+ fileSizeRange?: {
25746
+ __typename?: 'Int64Range';
25747
+ from?: any | null;
25748
+ to?: any | null;
25749
+ } | null;
25750
+ similarContents?: Array<{
25751
+ __typename?: 'EntityReference';
25752
+ id: string;
25753
+ }> | null;
25754
+ contents?: Array<{
25755
+ __typename?: 'EntityReference';
25756
+ id: string;
25757
+ }> | null;
25758
+ feeds?: Array<{
25759
+ __typename?: 'EntityReference';
25760
+ id: string;
25761
+ }> | null;
25762
+ workflows?: Array<{
25763
+ __typename?: 'EntityReference';
25764
+ id: string;
25765
+ }> | null;
25766
+ collections?: Array<{
25767
+ __typename?: 'EntityReference';
25768
+ id: string;
25769
+ }> | null;
25770
+ users?: Array<{
25771
+ __typename?: 'EntityReference';
25772
+ id: string;
25773
+ }> | null;
25774
+ observations?: Array<{
25775
+ __typename?: 'ObservationCriteria';
25776
+ type: ObservableTypes;
25777
+ states?: Array<EntityState> | null;
25778
+ observable: {
25779
+ __typename?: 'EntityReference';
25780
+ id: string;
25781
+ };
25782
+ }> | null;
25783
+ or?: Array<{
25784
+ __typename?: 'ContentCriteriaLevel';
25785
+ feeds?: Array<{
25786
+ __typename?: 'EntityReference';
25787
+ id: string;
25788
+ }> | null;
25789
+ workflows?: Array<{
25790
+ __typename?: 'EntityReference';
25791
+ id: string;
25792
+ }> | null;
25793
+ collections?: Array<{
25794
+ __typename?: 'EntityReference';
25795
+ id: string;
25796
+ }> | null;
25797
+ users?: Array<{
25798
+ __typename?: 'EntityReference';
25799
+ id: string;
25800
+ }> | null;
25801
+ observations?: Array<{
25802
+ __typename?: 'ObservationCriteria';
25803
+ type: ObservableTypes;
25804
+ states?: Array<EntityState> | null;
25805
+ observable: {
25806
+ __typename?: 'EntityReference';
25807
+ id: string;
25808
+ };
25809
+ }> | null;
25810
+ }> | null;
25811
+ and?: Array<{
25812
+ __typename?: 'ContentCriteriaLevel';
25813
+ feeds?: Array<{
25814
+ __typename?: 'EntityReference';
25815
+ id: string;
25816
+ }> | null;
25817
+ workflows?: Array<{
25818
+ __typename?: 'EntityReference';
25819
+ id: string;
25820
+ }> | null;
25821
+ collections?: Array<{
25822
+ __typename?: 'EntityReference';
25823
+ id: string;
25824
+ }> | null;
25825
+ users?: Array<{
25826
+ __typename?: 'EntityReference';
25827
+ id: string;
25828
+ }> | null;
25829
+ observations?: Array<{
25830
+ __typename?: 'ObservationCriteria';
25831
+ type: ObservableTypes;
25832
+ states?: Array<EntityState> | null;
25833
+ observable: {
25834
+ __typename?: 'EntityReference';
25835
+ id: string;
25836
+ };
25837
+ }> | null;
25838
+ }> | null;
25839
+ } | null;
25267
25840
  schedulePolicy?: {
25268
25841
  __typename?: 'AgentSchedulePolicy';
25269
25842
  recurrenceType?: TimedPolicyRecurrenceTypes | null;
@@ -26623,6 +27196,24 @@ export type GetConnectorQuery = {
26623
27196
  applicationId?: string | null;
26624
27197
  publicKey?: string | null;
26625
27198
  } | null;
27199
+ telegram?: {
27200
+ __typename?: 'TelegramChannelProperties';
27201
+ botToken: string;
27202
+ secretToken?: string | null;
27203
+ botUsername?: string | null;
27204
+ } | null;
27205
+ whatsApp?: {
27206
+ __typename?: 'WhatsAppChannelProperties';
27207
+ accessToken: string;
27208
+ appSecret?: string | null;
27209
+ phoneNumberId: string;
27210
+ verifyToken?: string | null;
27211
+ } | null;
27212
+ googleChat?: {
27213
+ __typename?: 'GoogleChatChannelProperties';
27214
+ credentials: string;
27215
+ projectId?: string | null;
27216
+ } | null;
26626
27217
  } | null;
26627
27218
  } | null;
26628
27219
  };
@@ -26728,6 +27319,24 @@ export type QueryConnectorsQuery = {
26728
27319
  applicationId?: string | null;
26729
27320
  publicKey?: string | null;
26730
27321
  } | null;
27322
+ telegram?: {
27323
+ __typename?: 'TelegramChannelProperties';
27324
+ botToken: string;
27325
+ secretToken?: string | null;
27326
+ botUsername?: string | null;
27327
+ } | null;
27328
+ whatsApp?: {
27329
+ __typename?: 'WhatsAppChannelProperties';
27330
+ accessToken: string;
27331
+ appSecret?: string | null;
27332
+ phoneNumberId: string;
27333
+ verifyToken?: string | null;
27334
+ } | null;
27335
+ googleChat?: {
27336
+ __typename?: 'GoogleChatChannelProperties';
27337
+ credentials: string;
27338
+ projectId?: string | null;
27339
+ } | null;
26731
27340
  } | null;
26732
27341
  }> | null;
26733
27342
  } | null;
@@ -47003,6 +47612,24 @@ export type GetUserQuery = {
47003
47612
  applicationId?: string | null;
47004
47613
  publicKey?: string | null;
47005
47614
  } | null;
47615
+ telegram?: {
47616
+ __typename?: 'TelegramChannelProperties';
47617
+ botToken: string;
47618
+ secretToken?: string | null;
47619
+ botUsername?: string | null;
47620
+ } | null;
47621
+ whatsApp?: {
47622
+ __typename?: 'WhatsAppChannelProperties';
47623
+ accessToken: string;
47624
+ appSecret?: string | null;
47625
+ phoneNumberId: string;
47626
+ verifyToken?: string | null;
47627
+ } | null;
47628
+ googleChat?: {
47629
+ __typename?: 'GoogleChatChannelProperties';
47630
+ credentials: string;
47631
+ projectId?: string | null;
47632
+ } | null;
47006
47633
  } | null;
47007
47634
  } | null> | null;
47008
47635
  personas?: Array<{
@@ -47138,6 +47765,24 @@ export type GetUserByIdentifierQuery = {
47138
47765
  applicationId?: string | null;
47139
47766
  publicKey?: string | null;
47140
47767
  } | null;
47768
+ telegram?: {
47769
+ __typename?: 'TelegramChannelProperties';
47770
+ botToken: string;
47771
+ secretToken?: string | null;
47772
+ botUsername?: string | null;
47773
+ } | null;
47774
+ whatsApp?: {
47775
+ __typename?: 'WhatsAppChannelProperties';
47776
+ accessToken: string;
47777
+ appSecret?: string | null;
47778
+ phoneNumberId: string;
47779
+ verifyToken?: string | null;
47780
+ } | null;
47781
+ googleChat?: {
47782
+ __typename?: 'GoogleChatChannelProperties';
47783
+ credentials: string;
47784
+ projectId?: string | null;
47785
+ } | null;
47141
47786
  } | null;
47142
47787
  } | null> | null;
47143
47788
  personas?: Array<{
@@ -47276,6 +47921,24 @@ export type QueryUsersQuery = {
47276
47921
  applicationId?: string | null;
47277
47922
  publicKey?: string | null;
47278
47923
  } | null;
47924
+ telegram?: {
47925
+ __typename?: 'TelegramChannelProperties';
47926
+ botToken: string;
47927
+ secretToken?: string | null;
47928
+ botUsername?: string | null;
47929
+ } | null;
47930
+ whatsApp?: {
47931
+ __typename?: 'WhatsAppChannelProperties';
47932
+ accessToken: string;
47933
+ appSecret?: string | null;
47934
+ phoneNumberId: string;
47935
+ verifyToken?: string | null;
47936
+ } | null;
47937
+ googleChat?: {
47938
+ __typename?: 'GoogleChatChannelProperties';
47939
+ credentials: string;
47940
+ projectId?: string | null;
47941
+ } | null;
47279
47942
  } | null;
47280
47943
  } | null> | null;
47281
47944
  personas?: Array<{
@@ -423,10 +423,16 @@ export var ChannelServiceTypes;
423
423
  (function (ChannelServiceTypes) {
424
424
  /** Discord */
425
425
  ChannelServiceTypes["Discord"] = "DISCORD";
426
+ /** Google Chat */
427
+ ChannelServiceTypes["GoogleChat"] = "GOOGLE_CHAT";
426
428
  /** Slack */
427
429
  ChannelServiceTypes["Slack"] = "SLACK";
428
430
  /** Microsoft Teams */
429
431
  ChannelServiceTypes["Teams"] = "TEAMS";
432
+ /** Telegram */
433
+ ChannelServiceTypes["Telegram"] = "TELEGRAM";
434
+ /** WhatsApp */
435
+ ChannelServiceTypes["WhatsApp"] = "WHATS_APP";
430
436
  })(ChannelServiceTypes || (ChannelServiceTypes = {}));
431
437
  /** Cohere model type */
432
438
  export var CohereModels;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260329001",
3
+ "version": "1.0.20260402001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",