@elqnt/agents 3.0.5 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,751 @@
1
+ /**
2
+ * IntegrationProvider represents the email/calendar provider type
3
+ */
4
+ type IntegrationProvider = string;
5
+ declare const IntegrationProviderGoogle: IntegrationProvider;
6
+ declare const IntegrationProviderMicrosoft: IntegrationProvider;
7
+ type IntegrationProviderTS = 'google' | 'microsoft';
8
+ /**
9
+ * IntegrationType represents what the integration is for
10
+ */
11
+ type IntegrationType = string;
12
+ declare const IntegrationTypeEmail: IntegrationType;
13
+ declare const IntegrationTypeCalendar: IntegrationType;
14
+ declare const IntegrationTypeDrive: IntegrationType;
15
+ type IntegrationTypeTS = 'email' | 'calendar' | 'drive';
16
+ /**
17
+ * IntegrationStatus represents the current status of an integration
18
+ */
19
+ type IntegrationStatus = string;
20
+ declare const IntegrationStatusActive: IntegrationStatus;
21
+ declare const IntegrationStatusExpired: IntegrationStatus;
22
+ declare const IntegrationStatusRevoked: IntegrationStatus;
23
+ declare const IntegrationStatusError: IntegrationStatus;
24
+ type IntegrationStatusTS = 'active' | 'expired' | 'revoked' | 'error';
25
+ /**
26
+ * IntegrationMode represents enterprise integration mode
27
+ */
28
+ type IntegrationMode = string;
29
+ declare const IntegrationModeServicePrincipal: IntegrationMode;
30
+ declare const IntegrationModeDomainDelegation: IntegrationMode;
31
+ /**
32
+ * UserIntegration represents a user's connected email/calendar account
33
+ */
34
+ interface UserIntegration {
35
+ id: string;
36
+ org_id: string;
37
+ user_id: string;
38
+ provider: IntegrationProvider;
39
+ integration_type: IntegrationType;
40
+ account_email: string;
41
+ account_name?: string;
42
+ status: IntegrationStatus;
43
+ scopes: string[];
44
+ triage_enabled: boolean;
45
+ last_used_at?: string;
46
+ last_error?: string;
47
+ created_at: string;
48
+ updated_at: string;
49
+ expires_at?: string;
50
+ }
51
+ /**
52
+ * TokenData represents encrypted OAuth token data
53
+ */
54
+ interface TokenData {
55
+ access_token: string;
56
+ refresh_token: string;
57
+ token_type: string;
58
+ expires_at: string;
59
+ scopes: string[];
60
+ }
61
+ /**
62
+ * OrgIntegration represents an organization-wide integration configuration
63
+ */
64
+ interface OrgIntegration {
65
+ id: string;
66
+ org_id: string;
67
+ provider: IntegrationProvider;
68
+ integration_type: IntegrationType;
69
+ mode: IntegrationMode;
70
+ domain?: string;
71
+ enabled: boolean;
72
+ config?: {
73
+ [key: string]: any;
74
+ };
75
+ scopes: string[];
76
+ created_by: string;
77
+ created_at: string;
78
+ updated_at: string;
79
+ }
80
+ /**
81
+ * ListUserIntegrationsRequest represents request to list user's integrations
82
+ */
83
+ interface ListUserIntegrationsRequest {
84
+ org_id: string;
85
+ user_id: string;
86
+ }
87
+ /**
88
+ * ListUserIntegrationsResponse represents response with user's integrations
89
+ */
90
+ interface ListUserIntegrationsResponse {
91
+ integrations: UserIntegration[];
92
+ total: number;
93
+ metadata: any;
94
+ }
95
+ /**
96
+ * GetUserIntegrationRequest represents request to get a specific integration
97
+ */
98
+ interface GetUserIntegrationRequest {
99
+ org_id: string;
100
+ user_id: string;
101
+ provider: IntegrationProvider;
102
+ integration_type: IntegrationType;
103
+ }
104
+ /**
105
+ * GetUserIntegrationResponse represents response with a specific integration
106
+ */
107
+ interface GetUserIntegrationResponse {
108
+ integration?: UserIntegration;
109
+ metadata: any;
110
+ }
111
+ /**
112
+ * ConnectIntegrationRequest represents request to initiate OAuth connection
113
+ */
114
+ interface ConnectIntegrationRequest {
115
+ org_id: string;
116
+ user_id: string;
117
+ provider: IntegrationProvider;
118
+ integration_type: IntegrationType;
119
+ redirect_uri: string;
120
+ }
121
+ /**
122
+ * ConnectIntegrationResponse represents response with OAuth URL
123
+ */
124
+ interface ConnectIntegrationResponse {
125
+ auth_url: string;
126
+ state: string;
127
+ metadata: any;
128
+ }
129
+ /**
130
+ * IntegrationCallbackRequest represents OAuth callback data
131
+ */
132
+ interface IntegrationCallbackRequest {
133
+ org_id: string;
134
+ user_id: string;
135
+ state: string;
136
+ code: string;
137
+ error?: string;
138
+ }
139
+ /**
140
+ * IntegrationCallbackResponse represents callback result
141
+ */
142
+ interface IntegrationCallbackResponse {
143
+ integration?: UserIntegration;
144
+ metadata: any;
145
+ }
146
+ /**
147
+ * DisconnectIntegrationRequest represents request to disconnect an integration
148
+ */
149
+ interface DisconnectIntegrationRequest {
150
+ org_id: string;
151
+ user_id: string;
152
+ provider: IntegrationProvider;
153
+ integration_type: IntegrationType;
154
+ }
155
+ /**
156
+ * DisconnectIntegrationResponse represents disconnect result
157
+ */
158
+ interface DisconnectIntegrationResponse {
159
+ metadata: any;
160
+ }
161
+ /**
162
+ * RefreshIntegrationRequest represents request to refresh token
163
+ */
164
+ interface RefreshIntegrationRequest {
165
+ org_id: string;
166
+ user_id: string;
167
+ provider: IntegrationProvider;
168
+ integration_type: IntegrationType;
169
+ }
170
+ /**
171
+ * RefreshIntegrationResponse represents refresh result
172
+ */
173
+ interface RefreshIntegrationResponse {
174
+ integration?: UserIntegration;
175
+ metadata: any;
176
+ }
177
+ /**
178
+ * UpdateTriageEnabledRequest represents request to update triage enabled flag
179
+ */
180
+ interface UpdateTriageEnabledRequest {
181
+ org_id: string;
182
+ user_id: string;
183
+ provider: IntegrationProvider;
184
+ integration_type: IntegrationType;
185
+ triage_enabled: boolean;
186
+ }
187
+ /**
188
+ * UpdateTriageEnabledResponse represents update triage result
189
+ */
190
+ interface UpdateTriageEnabledResponse {
191
+ integration?: UserIntegration;
192
+ metadata: any;
193
+ }
194
+ /**
195
+ * ListOrgIntegrationsRequest represents request to list org integrations
196
+ */
197
+ interface ListOrgIntegrationsRequest {
198
+ org_id: string;
199
+ }
200
+ /**
201
+ * ListOrgIntegrationsResponse represents response with org integrations
202
+ */
203
+ interface ListOrgIntegrationsResponse {
204
+ integrations: OrgIntegration[];
205
+ total: number;
206
+ metadata: any;
207
+ }
208
+ /**
209
+ * ConfigureOrgIntegrationRequest represents request to configure enterprise integration
210
+ */
211
+ interface ConfigureOrgIntegrationRequest {
212
+ org_id: string;
213
+ provider: IntegrationProvider;
214
+ integration_type: IntegrationType;
215
+ mode: IntegrationMode;
216
+ domain?: string;
217
+ enabled: boolean;
218
+ config?: {
219
+ [key: string]: any;
220
+ };
221
+ created_by: string;
222
+ }
223
+ /**
224
+ * ConfigureOrgIntegrationResponse represents response after configuring
225
+ */
226
+ interface ConfigureOrgIntegrationResponse {
227
+ integration?: OrgIntegration;
228
+ metadata: any;
229
+ }
230
+ /**
231
+ * DisableOrgIntegrationRequest represents request to disable org integration
232
+ */
233
+ interface DisableOrgIntegrationRequest {
234
+ org_id: string;
235
+ provider: IntegrationProvider;
236
+ integration_type: IntegrationType;
237
+ }
238
+ /**
239
+ * DisableOrgIntegrationResponse represents response after disabling
240
+ */
241
+ interface DisableOrgIntegrationResponse {
242
+ metadata: any;
243
+ }
244
+ /**
245
+ * SearchEmailsRequest represents request to search emails
246
+ */
247
+ interface SearchEmailsRequest {
248
+ org_id: string;
249
+ user_id: string;
250
+ query: string;
251
+ from?: string;
252
+ to?: string;
253
+ subject?: string;
254
+ date_range?: string;
255
+ limit?: number;
256
+ }
257
+ /**
258
+ * SearchEmailsResponse represents email search results
259
+ */
260
+ interface SearchEmailsResponse {
261
+ emails: EmailSummary[];
262
+ total: number;
263
+ metadata: any;
264
+ }
265
+ /**
266
+ * EmailSummary represents a summarized email for display in chat
267
+ */
268
+ interface EmailSummary {
269
+ id: string;
270
+ thread_id?: string;
271
+ from: string;
272
+ from_name?: string;
273
+ to: string[];
274
+ cc?: string[];
275
+ subject: string;
276
+ snippet: string;
277
+ date: string;
278
+ has_attachments: boolean;
279
+ is_read: boolean;
280
+ labels?: string[];
281
+ web_link?: string;
282
+ provider?: IntegrationProviderTS;
283
+ }
284
+ /**
285
+ * GetEmailRequest represents request to get email details
286
+ */
287
+ interface GetEmailRequest {
288
+ org_id: string;
289
+ user_id: string;
290
+ email_id: string;
291
+ include_attachments?: boolean;
292
+ }
293
+ /**
294
+ * GetEmailResponse represents email details response
295
+ */
296
+ interface GetEmailResponse {
297
+ email?: EmailDetails;
298
+ metadata: any;
299
+ }
300
+ /**
301
+ * EmailDetails represents full email details for viewing
302
+ */
303
+ interface EmailDetails {
304
+ id: string;
305
+ thread_id?: string;
306
+ from: string;
307
+ from_name?: string;
308
+ to: string[];
309
+ cc?: string[];
310
+ bcc?: string[];
311
+ subject: string;
312
+ body: string;
313
+ body_html?: string;
314
+ date: string;
315
+ attachments?: EmailAttachment[];
316
+ labels?: string[];
317
+ is_read: boolean;
318
+ web_link?: string;
319
+ provider?: IntegrationProviderTS;
320
+ }
321
+ /**
322
+ * EmailAttachment represents an email attachment
323
+ */
324
+ interface EmailAttachment {
325
+ id: string;
326
+ filename: string;
327
+ mime_type: string;
328
+ size: number;
329
+ }
330
+ /**
331
+ * SendEmailResult represents the result of sending an email
332
+ */
333
+ interface SendEmailResult {
334
+ message_id: string;
335
+ thread_id?: string;
336
+ success: boolean;
337
+ error?: string;
338
+ }
339
+ /**
340
+ * GetEmailThreadRequest represents request to get email thread
341
+ */
342
+ interface GetEmailThreadRequest {
343
+ org_id: string;
344
+ user_id: string;
345
+ thread_id: string;
346
+ }
347
+ /**
348
+ * GetEmailThreadResponse represents email thread response
349
+ */
350
+ interface GetEmailThreadResponse {
351
+ thread: EmailDetails[];
352
+ metadata: any;
353
+ }
354
+ /**
355
+ * SendEmailRequest represents request to send an email
356
+ */
357
+ interface SendEmailRequest {
358
+ org_id: string;
359
+ user_id: string;
360
+ to: string[];
361
+ cc?: string[];
362
+ bcc?: string[];
363
+ subject: string;
364
+ body: string;
365
+ body_html?: string;
366
+ reply_to?: string;
367
+ thread_id?: string;
368
+ }
369
+ /**
370
+ * SendEmailResponse represents send email response
371
+ */
372
+ interface SendEmailResponse {
373
+ result: SendEmailResult;
374
+ metadata: any;
375
+ }
376
+ /**
377
+ * ArchiveEmailRequest represents request to archive an email
378
+ */
379
+ interface ArchiveEmailRequest {
380
+ org_id: string;
381
+ user_id: string;
382
+ email_id: string;
383
+ }
384
+ /**
385
+ * ArchiveEmailResponse represents archive email response
386
+ */
387
+ interface ArchiveEmailResponse {
388
+ success: boolean;
389
+ metadata: any;
390
+ }
391
+ /**
392
+ * MarkAsReadRequest represents request to mark an email as read/unread
393
+ */
394
+ interface MarkAsReadRequest {
395
+ org_id: string;
396
+ user_id: string;
397
+ email_id: string;
398
+ is_read: boolean;
399
+ }
400
+ /**
401
+ * MarkAsReadResponse represents mark as read response
402
+ */
403
+ interface MarkAsReadResponse {
404
+ success: boolean;
405
+ metadata: any;
406
+ }
407
+ /**
408
+ * ForwardEmailRequest represents request to forward an email
409
+ */
410
+ interface ForwardEmailRequest {
411
+ org_id: string;
412
+ user_id: string;
413
+ email_id: string;
414
+ forward_to: string;
415
+ note?: string;
416
+ }
417
+ /**
418
+ * RunEmailTriageRequest represents request to manually trigger email triage
419
+ */
420
+ interface RunEmailTriageRequest {
421
+ org_id: string;
422
+ user_id: string;
423
+ }
424
+ /**
425
+ * RunEmailTriageResponse represents email triage run response
426
+ */
427
+ interface RunEmailTriageResponse {
428
+ success: boolean;
429
+ emails_found: number;
430
+ instances_created: number;
431
+ message?: string;
432
+ metadata: any;
433
+ }
434
+ /**
435
+ * ListCalendarEventsRequest represents request to list calendar events
436
+ */
437
+ interface ListCalendarEventsRequest {
438
+ org_id: string;
439
+ user_id: string;
440
+ query?: string;
441
+ date_range?: string;
442
+ start_date?: string;
443
+ end_date?: string;
444
+ limit?: number;
445
+ }
446
+ /**
447
+ * ListCalendarEventsResponse represents calendar events list
448
+ */
449
+ interface ListCalendarEventsResponse {
450
+ events: CalendarEvent[];
451
+ total: number;
452
+ metadata: any;
453
+ }
454
+ /**
455
+ * CalendarEvent represents a calendar event
456
+ */
457
+ interface CalendarEvent {
458
+ id: string;
459
+ title: string;
460
+ description?: string;
461
+ location?: string;
462
+ start: string;
463
+ end: string;
464
+ is_all_day: boolean;
465
+ organizer?: string;
466
+ organizer_name?: string;
467
+ attendees?: EventAttendee[];
468
+ status?: string;
469
+ response_status?: string;
470
+ recurrence_rule?: string;
471
+ conference_url?: string;
472
+ calendar_id?: string;
473
+ provider?: IntegrationProviderTS;
474
+ }
475
+ /**
476
+ * EventAttendee represents a calendar event attendee
477
+ */
478
+ interface EventAttendee {
479
+ email: string;
480
+ name?: string;
481
+ response_status?: string;
482
+ is_organizer?: boolean;
483
+ }
484
+ /**
485
+ * GetCalendarEventRequest represents request to get event details
486
+ */
487
+ interface GetCalendarEventRequest {
488
+ org_id: string;
489
+ user_id: string;
490
+ event_id: string;
491
+ }
492
+ /**
493
+ * GetCalendarEventResponse represents event details response
494
+ */
495
+ interface GetCalendarEventResponse {
496
+ event?: CalendarEvent;
497
+ metadata: any;
498
+ }
499
+ /**
500
+ * CreateCalendarEventRequest represents request to create a new calendar event
501
+ */
502
+ interface CreateCalendarEventRequest {
503
+ org_id: string;
504
+ user_id: string;
505
+ title: string;
506
+ description?: string;
507
+ location?: string;
508
+ start: string;
509
+ end: string;
510
+ is_all_day?: boolean;
511
+ attendees?: string[];
512
+ add_video_conference?: boolean;
513
+ reminders?: EventReminder[];
514
+ timezone?: string;
515
+ }
516
+ /**
517
+ * EventReminder represents a reminder for a calendar event
518
+ */
519
+ interface EventReminder {
520
+ method: string;
521
+ minutes: number;
522
+ }
523
+ /**
524
+ * CreateCalendarEventResponse represents response after creating an event
525
+ */
526
+ interface CreateCalendarEventResponse {
527
+ event?: CalendarEvent;
528
+ metadata: any;
529
+ }
530
+ /**
531
+ * UpdateCalendarEventRequest represents request to update an existing calendar event
532
+ */
533
+ interface UpdateCalendarEventRequest {
534
+ org_id: string;
535
+ user_id: string;
536
+ event_id: string;
537
+ title?: string;
538
+ description?: string;
539
+ location?: string;
540
+ start?: string;
541
+ end?: string;
542
+ is_all_day?: boolean;
543
+ attendees?: string[];
544
+ }
545
+ /**
546
+ * UpdateCalendarEventResponse represents response after updating an event
547
+ */
548
+ interface UpdateCalendarEventResponse {
549
+ event?: CalendarEvent;
550
+ metadata: any;
551
+ }
552
+ /**
553
+ * DeleteCalendarEventRequest represents request to delete a calendar event
554
+ */
555
+ interface DeleteCalendarEventRequest {
556
+ org_id: string;
557
+ user_id: string;
558
+ event_id: string;
559
+ send_updates?: boolean;
560
+ cancel_reason?: string;
561
+ }
562
+ /**
563
+ * DeleteCalendarEventResponse represents response after deleting an event
564
+ */
565
+ interface DeleteCalendarEventResponse {
566
+ metadata: any;
567
+ }
568
+ /**
569
+ * RSVPCalendarEventRequest represents request to respond to a calendar event invitation
570
+ */
571
+ interface RSVPCalendarEventRequest {
572
+ org_id: string;
573
+ user_id: string;
574
+ event_id: string;
575
+ response: string;
576
+ comment?: string;
577
+ }
578
+ /**
579
+ * RSVPCalendarEventResponse represents response after RSVP
580
+ */
581
+ interface RSVPCalendarEventResponse {
582
+ event?: CalendarEvent;
583
+ metadata: any;
584
+ }
585
+ /**
586
+ * ListDriveFilesRequest represents request to list/search drive files
587
+ */
588
+ interface ListDriveFilesRequest {
589
+ org_id: string;
590
+ user_id: string;
591
+ query?: string;
592
+ folder_id?: string;
593
+ mime_type?: string;
594
+ limit?: number;
595
+ }
596
+ /**
597
+ * ListDriveFilesResponse represents drive files list
598
+ */
599
+ interface ListDriveFilesResponse {
600
+ files: FileSummary[];
601
+ total: number;
602
+ metadata: any;
603
+ }
604
+ /**
605
+ * FileSummary represents a file summary for display in chat
606
+ */
607
+ interface FileSummary {
608
+ id: string;
609
+ name: string;
610
+ mime_type: string;
611
+ size: number;
612
+ modified_time: string;
613
+ created_time?: string;
614
+ owner?: string;
615
+ owner_email?: string;
616
+ web_link?: string;
617
+ icon_link?: string;
618
+ thumbnail_link?: string;
619
+ is_folder: boolean;
620
+ parent_id?: string;
621
+ provider?: IntegrationProviderTS;
622
+ }
623
+ /**
624
+ * GetDriveFileRequest represents request to get file details
625
+ */
626
+ interface GetDriveFileRequest {
627
+ org_id: string;
628
+ user_id: string;
629
+ file_id: string;
630
+ }
631
+ /**
632
+ * GetDriveFileResponse represents file details response
633
+ */
634
+ interface GetDriveFileResponse {
635
+ file?: FileDetails;
636
+ metadata: any;
637
+ }
638
+ /**
639
+ * FileDetails represents full file details for viewing
640
+ */
641
+ interface FileDetails {
642
+ id: string;
643
+ name: string;
644
+ mime_type: string;
645
+ size: number;
646
+ modified_time: string;
647
+ created_time?: string;
648
+ owner?: string;
649
+ owner_email?: string;
650
+ description?: string;
651
+ web_link?: string;
652
+ download_link?: string;
653
+ icon_link?: string;
654
+ thumbnail_link?: string;
655
+ is_folder: boolean;
656
+ parent_id?: string;
657
+ parent_name?: string;
658
+ shared_with?: FilePermission[];
659
+ provider?: IntegrationProviderTS;
660
+ }
661
+ /**
662
+ * FilePermission represents a file sharing permission
663
+ */
664
+ interface FilePermission {
665
+ email: string;
666
+ name?: string;
667
+ role: string;
668
+ }
669
+ /**
670
+ * FileWithContent represents a file with its text content (for content search)
671
+ */
672
+ interface FileWithContent {
673
+ FileSummary: FileSummary;
674
+ content?: string;
675
+ content_available: boolean;
676
+ }
677
+ /**
678
+ * SetupIntegrationsRequest represents request to setup integration tables for an org
679
+ */
680
+ interface SetupIntegrationsRequest {
681
+ org_id: string;
682
+ }
683
+ /**
684
+ * SetupIntegrationsResponse represents setup result
685
+ */
686
+ interface SetupIntegrationsResponse {
687
+ metadata: any;
688
+ }
689
+ /**
690
+ * OAuthState represents OAuth state stored temporarily during auth flow
691
+ */
692
+ interface OAuthState {
693
+ state: string;
694
+ org_id: string;
695
+ user_id: string;
696
+ provider: IntegrationProvider;
697
+ integration_type: IntegrationType;
698
+ redirect_uri: string;
699
+ created_at: string;
700
+ expires_at: string;
701
+ }
702
+ /**
703
+ * User Integration CRUD (Individual Mode)
704
+ */
705
+ declare const HubIntegrationUserList = "hub.integrations.user.list";
706
+ declare const HubIntegrationUserGet = "hub.integrations.user.get";
707
+ declare const HubIntegrationUserConnect = "hub.integrations.user.connect";
708
+ declare const HubIntegrationUserCallback = "hub.integrations.user.callback";
709
+ declare const HubIntegrationUserDisconnect = "hub.integrations.user.disconnect";
710
+ declare const HubIntegrationUserRefresh = "hub.integrations.user.refresh";
711
+ declare const HubIntegrationUserUpdateTriage = "hub.integrations.user.triage.update";
712
+ /**
713
+ * Org Integration CRUD (Enterprise Mode)
714
+ */
715
+ declare const HubIntegrationOrgList = "hub.integrations.org.list";
716
+ declare const HubIntegrationOrgConfigure = "hub.integrations.org.configure";
717
+ declare const HubIntegrationOrgDisable = "hub.integrations.org.disable";
718
+ /**
719
+ * Email Operations (used by agent tools)
720
+ */
721
+ declare const HubIntegrationEmailSearch = "hub.integrations.email.search";
722
+ declare const HubIntegrationEmailGet = "hub.integrations.email.get";
723
+ declare const HubIntegrationEmailThread = "hub.integrations.email.thread";
724
+ declare const HubIntegrationEmailSend = "hub.integrations.email.send";
725
+ declare const HubIntegrationEmailArchive = "hub.integrations.email.archive";
726
+ declare const HubIntegrationEmailMarkRead = "hub.integrations.email.markread";
727
+ declare const HubIntegrationEmailForward = "hub.integrations.email.forward";
728
+ /**
729
+ * Email Triage Operations
730
+ */
731
+ declare const HubEmailTriageRunNow = "hub.email.triage.run";
732
+ /**
733
+ * Calendar Operations (used by agent tools)
734
+ */
735
+ declare const HubIntegrationCalendarList = "hub.integrations.calendar.list";
736
+ declare const HubIntegrationCalendarGet = "hub.integrations.calendar.get";
737
+ declare const HubIntegrationCalendarCreate = "hub.integrations.calendar.create";
738
+ declare const HubIntegrationCalendarUpdate = "hub.integrations.calendar.update";
739
+ declare const HubIntegrationCalendarDelete = "hub.integrations.calendar.delete";
740
+ declare const HubIntegrationCalendarRSVP = "hub.integrations.calendar.rsvp";
741
+ /**
742
+ * Drive Operations (used by agent tools)
743
+ */
744
+ declare const HubIntegrationDriveSearch = "hub.integrations.drive.search";
745
+ declare const HubIntegrationDriveGet = "hub.integrations.drive.get";
746
+ /**
747
+ * Setup/Provisioning
748
+ */
749
+ declare const HubIntegrationSetupOrg = "hub.integrations.setup.org";
750
+
751
+ export { HubIntegrationOrgList as $, type ArchiveEmailRequest as A, type GetEmailThreadResponse as B, type CalendarEvent as C, type DeleteCalendarEventRequest as D, type EmailAttachment as E, type FileDetails as F, type GetCalendarEventRequest as G, type GetUserIntegrationRequest as H, type GetUserIntegrationResponse as I, HubEmailTriageRunNow as J, HubIntegrationCalendarCreate as K, HubIntegrationCalendarDelete as L, HubIntegrationCalendarGet as M, HubIntegrationCalendarList as N, HubIntegrationCalendarRSVP as O, HubIntegrationCalendarUpdate as P, HubIntegrationDriveGet as Q, HubIntegrationDriveSearch as R, HubIntegrationEmailArchive as S, HubIntegrationEmailForward as T, HubIntegrationEmailGet as U, HubIntegrationEmailMarkRead as V, HubIntegrationEmailSearch as W, HubIntegrationEmailSend as X, HubIntegrationEmailThread as Y, HubIntegrationOrgConfigure as Z, HubIntegrationOrgDisable as _, type ArchiveEmailResponse as a, HubIntegrationSetupOrg as a0, HubIntegrationUserCallback as a1, HubIntegrationUserConnect as a2, HubIntegrationUserDisconnect as a3, HubIntegrationUserGet as a4, HubIntegrationUserList as a5, HubIntegrationUserRefresh as a6, HubIntegrationUserUpdateTriage as a7, type IntegrationCallbackRequest as a8, type IntegrationCallbackResponse as a9, type MarkAsReadRequest as aA, type MarkAsReadResponse as aB, type OAuthState as aC, type OrgIntegration as aD, type RSVPCalendarEventRequest as aE, type RSVPCalendarEventResponse as aF, type RefreshIntegrationRequest as aG, type RefreshIntegrationResponse as aH, type RunEmailTriageRequest as aI, type RunEmailTriageResponse as aJ, type SearchEmailsRequest as aK, type SearchEmailsResponse as aL, type SendEmailRequest as aM, type SendEmailResponse as aN, type SendEmailResult as aO, type SetupIntegrationsRequest as aP, type SetupIntegrationsResponse as aQ, type TokenData as aR, type UpdateCalendarEventRequest as aS, type UpdateCalendarEventResponse as aT, type UpdateTriageEnabledRequest as aU, type UpdateTriageEnabledResponse as aV, type UserIntegration as aW, type IntegrationMode as aa, IntegrationModeDomainDelegation as ab, IntegrationModeServicePrincipal as ac, type IntegrationProvider as ad, IntegrationProviderGoogle as ae, IntegrationProviderMicrosoft as af, type IntegrationProviderTS as ag, type IntegrationStatus as ah, IntegrationStatusActive as ai, IntegrationStatusError as aj, IntegrationStatusExpired as ak, IntegrationStatusRevoked as al, type IntegrationStatusTS as am, type IntegrationType as an, IntegrationTypeCalendar as ao, IntegrationTypeDrive as ap, IntegrationTypeEmail as aq, type IntegrationTypeTS as ar, type ListCalendarEventsRequest as as, type ListCalendarEventsResponse as at, type ListDriveFilesRequest as au, type ListDriveFilesResponse as av, type ListOrgIntegrationsRequest as aw, type ListOrgIntegrationsResponse as ax, type ListUserIntegrationsRequest as ay, type ListUserIntegrationsResponse as az, type ConfigureOrgIntegrationRequest as b, type ConfigureOrgIntegrationResponse as c, type ConnectIntegrationRequest as d, type ConnectIntegrationResponse as e, type CreateCalendarEventRequest as f, type CreateCalendarEventResponse as g, type DeleteCalendarEventResponse as h, type DisableOrgIntegrationRequest as i, type DisableOrgIntegrationResponse as j, type DisconnectIntegrationRequest as k, type DisconnectIntegrationResponse as l, type EmailDetails as m, type EmailSummary as n, type EventAttendee as o, type EventReminder as p, type FilePermission as q, type FileSummary as r, type FileWithContent as s, type ForwardEmailRequest as t, type GetCalendarEventResponse as u, type GetDriveFileRequest as v, type GetDriveFileResponse as w, type GetEmailRequest as x, type GetEmailResponse as y, type GetEmailThreadRequest as z };