@mastra/slack 1.0.1 → 1.1.0-alpha.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.
@@ -1,725 +0,0 @@
1
- import { Integration, IntegrationAuth } from '@mastra/core';
2
- import * as integrationClient from './client/services.gen';
3
- import * as zodSchema from './client/zodSchema';
4
- type SlackConfig = {
5
- CLIENT_ID: string;
6
- CLIENT_SECRET: string;
7
- [key: string]: any;
8
- };
9
- export declare class SlackIntegration extends Integration {
10
- categories: string[];
11
- description: string;
12
- availableScopes: {
13
- key: string;
14
- description: string;
15
- }[];
16
- constructor({ config }: {
17
- config: SlackConfig;
18
- });
19
- getClientZodSchema(): typeof zodSchema;
20
- getCommentsForClientApis(): {
21
- adminAppsApprove: {
22
- comment: string;
23
- doc: string;
24
- };
25
- adminAppsApprovedList: {
26
- comment: string;
27
- doc: string;
28
- };
29
- adminAppsRequestsList: {
30
- comment: string;
31
- doc: string;
32
- };
33
- adminAppsRestrict: {
34
- comment: string;
35
- doc: string;
36
- };
37
- adminAppsRestrictedList: {
38
- comment: string;
39
- doc: string;
40
- };
41
- adminConversationsArchive: {
42
- comment: string;
43
- doc: string;
44
- };
45
- adminConversationsConvertToPrivate: {
46
- comment: string;
47
- doc: string;
48
- };
49
- adminConversationsCreate: {
50
- comment: string;
51
- doc: string;
52
- };
53
- adminConversationsDelete: {
54
- comment: string;
55
- doc: string;
56
- };
57
- adminConversationsDisconnectShared: {
58
- comment: string;
59
- doc: string;
60
- };
61
- adminConversationsEkmListOriginalConnectedChannelInfo: {
62
- comment: string;
63
- doc: string;
64
- };
65
- adminConversationsGetConversationPrefs: {
66
- comment: string;
67
- doc: string;
68
- };
69
- adminConversationsGetTeams: {
70
- comment: string;
71
- doc: string;
72
- };
73
- adminConversationsInvite: {
74
- comment: string;
75
- doc: string;
76
- };
77
- adminConversationsRename: {
78
- comment: string;
79
- doc: string;
80
- };
81
- adminConversationsRestrictAccessAddGroup: {
82
- comment: string;
83
- doc: string;
84
- };
85
- adminConversationsRestrictAccessListGroups: {
86
- comment: string;
87
- doc: string;
88
- };
89
- adminConversationsRestrictAccessRemoveGroup: {
90
- comment: string;
91
- doc: string;
92
- };
93
- adminConversationsSearch: {
94
- comment: string;
95
- doc: string;
96
- };
97
- adminConversationsSetConversationPrefs: {
98
- comment: string;
99
- doc: string;
100
- };
101
- adminConversationsSetTeams: {
102
- comment: string;
103
- doc: string;
104
- };
105
- adminConversationsUnarchive: {
106
- comment: string;
107
- doc: string;
108
- };
109
- adminEmojiAdd: {
110
- comment: string;
111
- doc: string;
112
- };
113
- adminEmojiAddAlias: {
114
- comment: string;
115
- doc: string;
116
- };
117
- adminEmojiList: {
118
- comment: string;
119
- doc: string;
120
- };
121
- adminEmojiRemove: {
122
- comment: string;
123
- doc: string;
124
- };
125
- adminEmojiRename: {
126
- comment: string;
127
- doc: string;
128
- };
129
- adminInviteRequestsApprove: {
130
- comment: string;
131
- doc: string;
132
- };
133
- adminInviteRequestsApprovedList: {
134
- comment: string;
135
- doc: string;
136
- };
137
- adminInviteRequestsDeniedList: {
138
- comment: string;
139
- doc: string;
140
- };
141
- adminInviteRequestsDeny: {
142
- comment: string;
143
- doc: string;
144
- };
145
- adminInviteRequestsList: {
146
- comment: string;
147
- doc: string;
148
- };
149
- adminTeamsAdminsList: {
150
- comment: string;
151
- doc: string;
152
- };
153
- adminTeamsCreate: {
154
- comment: string;
155
- doc: string;
156
- };
157
- adminTeamsList: {
158
- comment: string;
159
- doc: string;
160
- };
161
- adminTeamsOwnersList: {
162
- comment: string;
163
- doc: string;
164
- };
165
- adminTeamsSettingsInfo: {
166
- comment: string;
167
- doc: string;
168
- };
169
- adminTeamsSettingsSetDefaultChannels: {
170
- comment: string;
171
- doc: string;
172
- };
173
- adminTeamsSettingsSetDescription: {
174
- comment: string;
175
- doc: string;
176
- };
177
- adminTeamsSettingsSetDiscoverability: {
178
- comment: string;
179
- doc: string;
180
- };
181
- adminTeamsSettingsSetIcon: {
182
- comment: string;
183
- doc: string;
184
- };
185
- adminTeamsSettingsSetName: {
186
- comment: string;
187
- doc: string;
188
- };
189
- adminUsergroupsAddChannels: {
190
- comment: string;
191
- doc: string;
192
- };
193
- adminUsergroupsAddTeams: {
194
- comment: string;
195
- doc: string;
196
- };
197
- adminUsergroupsListChannels: {
198
- comment: string;
199
- doc: string;
200
- };
201
- adminUsergroupsRemoveChannels: {
202
- comment: string;
203
- doc: string;
204
- };
205
- adminUsersAssign: {
206
- comment: string;
207
- doc: string;
208
- };
209
- adminUsersInvite: {
210
- comment: string;
211
- doc: string;
212
- };
213
- adminUsersList: {
214
- comment: string;
215
- doc: string;
216
- };
217
- adminUsersRemove: {
218
- comment: string;
219
- doc: string;
220
- };
221
- adminUsersSessionInvalidate: {
222
- comment: string;
223
- doc: string;
224
- };
225
- adminUsersSessionReset: {
226
- comment: string;
227
- doc: string;
228
- };
229
- adminUsersSetAdmin: {
230
- comment: string;
231
- doc: string;
232
- };
233
- adminUsersSetExpiration: {
234
- comment: string;
235
- doc: string;
236
- };
237
- adminUsersSetOwner: {
238
- comment: string;
239
- doc: string;
240
- };
241
- adminUsersSetRegular: {
242
- comment: string;
243
- doc: string;
244
- };
245
- apiTest: {
246
- comment: string;
247
- doc: string;
248
- };
249
- appsEventAuthorizationsList: {
250
- comment: string;
251
- doc: string;
252
- };
253
- appsPermissionsInfo: {
254
- comment: string;
255
- doc: string;
256
- };
257
- appsPermissionsRequest: {
258
- comment: string;
259
- doc: string;
260
- };
261
- appsPermissionsResourcesList: {
262
- comment: string;
263
- doc: string;
264
- };
265
- appsPermissionsScopesList: {
266
- comment: string;
267
- doc: string;
268
- };
269
- appsPermissionsUsersList: {
270
- comment: string;
271
- doc: string;
272
- };
273
- appsPermissionsUsersRequest: {
274
- comment: string;
275
- doc: string;
276
- };
277
- appsUninstall: {
278
- comment: string;
279
- doc: string;
280
- };
281
- authRevoke: {
282
- comment: string;
283
- doc: string;
284
- };
285
- authTest: {
286
- comment: string;
287
- doc: string;
288
- };
289
- botsInfo: {
290
- comment: string;
291
- doc: string;
292
- };
293
- callsAdd: {
294
- comment: string;
295
- doc: string;
296
- };
297
- callsEnd: {
298
- comment: string;
299
- doc: string;
300
- };
301
- callsInfo: {
302
- comment: string;
303
- doc: string;
304
- };
305
- callsParticipantsAdd: {
306
- comment: string;
307
- doc: string;
308
- };
309
- callsParticipantsRemove: {
310
- comment: string;
311
- doc: string;
312
- };
313
- callsUpdate: {
314
- comment: string;
315
- doc: string;
316
- };
317
- chatDelete: {
318
- comment: string;
319
- doc: string;
320
- };
321
- chatDeleteScheduledMessage: {
322
- comment: string;
323
- doc: string;
324
- };
325
- chatGetPermalink: {
326
- comment: string;
327
- doc: string;
328
- };
329
- chatMeMessage: {
330
- comment: string;
331
- doc: string;
332
- };
333
- chatPostEphemeral: {
334
- comment: string;
335
- doc: string;
336
- };
337
- chatPostMessage: {
338
- comment: string;
339
- doc: string;
340
- };
341
- chatScheduleMessage: {
342
- comment: string;
343
- doc: string;
344
- };
345
- chatScheduledMessagesList: {
346
- comment: string;
347
- doc: string;
348
- };
349
- chatUnfurl: {
350
- comment: string;
351
- doc: string;
352
- };
353
- chatUpdate: {
354
- comment: string;
355
- doc: string;
356
- };
357
- conversationsArchive: {
358
- comment: string;
359
- doc: string;
360
- };
361
- conversationsClose: {
362
- comment: string;
363
- doc: string;
364
- };
365
- conversationsCreate: {
366
- comment: string;
367
- doc: string;
368
- };
369
- conversationsHistory: {
370
- comment: string;
371
- doc: string;
372
- };
373
- conversationsInfo: {
374
- comment: string;
375
- doc: string;
376
- };
377
- conversationsInvite: {
378
- comment: string;
379
- doc: string;
380
- };
381
- conversationsJoin: {
382
- comment: string;
383
- doc: string;
384
- };
385
- conversationsKick: {
386
- comment: string;
387
- doc: string;
388
- };
389
- conversationsLeave: {
390
- comment: string;
391
- doc: string;
392
- };
393
- conversationsList: {
394
- comment: string;
395
- doc: string;
396
- };
397
- conversationsMark: {
398
- comment: string;
399
- doc: string;
400
- };
401
- conversationsMembers: {
402
- comment: string;
403
- doc: string;
404
- };
405
- conversationsOpen: {
406
- comment: string;
407
- doc: string;
408
- };
409
- conversationsRename: {
410
- comment: string;
411
- doc: string;
412
- };
413
- conversationsReplies: {
414
- comment: string;
415
- doc: string;
416
- };
417
- conversationsSetPurpose: {
418
- comment: string;
419
- doc: string;
420
- };
421
- conversationsSetTopic: {
422
- comment: string;
423
- doc: string;
424
- };
425
- conversationsUnarchive: {
426
- comment: string;
427
- doc: string;
428
- };
429
- dialogOpen: {
430
- comment: string;
431
- doc: string;
432
- };
433
- dndEndDnd: {
434
- comment: string;
435
- doc: string;
436
- };
437
- dndEndSnooze: {
438
- comment: string;
439
- doc: string;
440
- };
441
- dndInfo: {
442
- comment: string;
443
- doc: string;
444
- };
445
- dndSetSnooze: {
446
- comment: string;
447
- doc: string;
448
- };
449
- dndTeamInfo: {
450
- comment: string;
451
- doc: string;
452
- };
453
- emojiList: {
454
- comment: string;
455
- doc: string;
456
- };
457
- filesCommentsDelete: {
458
- comment: string;
459
- doc: string;
460
- };
461
- filesDelete: {
462
- comment: string;
463
- doc: string;
464
- };
465
- filesInfo: {
466
- comment: string;
467
- doc: string;
468
- };
469
- filesList: {
470
- comment: string;
471
- doc: string;
472
- };
473
- filesRemoteAdd: {
474
- comment: string;
475
- doc: string;
476
- };
477
- filesRemoteInfo: {
478
- comment: string;
479
- doc: string;
480
- };
481
- filesRemoteList: {
482
- comment: string;
483
- doc: string;
484
- };
485
- filesRemoteRemove: {
486
- comment: string;
487
- doc: string;
488
- };
489
- filesRemoteShare: {
490
- comment: string;
491
- doc: string;
492
- };
493
- filesRemoteUpdate: {
494
- comment: string;
495
- doc: string;
496
- };
497
- filesRevokePublicUrl: {
498
- comment: string;
499
- doc: string;
500
- };
501
- filesSharedPublicUrl: {
502
- comment: string;
503
- doc: string;
504
- };
505
- filesUpload: {
506
- comment: string;
507
- doc: string;
508
- };
509
- migrationExchange: {
510
- comment: string;
511
- doc: string;
512
- };
513
- oauthAccess: {
514
- comment: string;
515
- doc: string;
516
- };
517
- oauthToken: {
518
- comment: string;
519
- doc: string;
520
- };
521
- oauthV2Access: {
522
- comment: string;
523
- doc: string;
524
- };
525
- pinsAdd: {
526
- comment: string;
527
- doc: string;
528
- };
529
- pinsList: {
530
- comment: string;
531
- doc: string;
532
- };
533
- pinsRemove: {
534
- comment: string;
535
- doc: string;
536
- };
537
- reactionsAdd: {
538
- comment: string;
539
- doc: string;
540
- };
541
- reactionsGet: {
542
- comment: string;
543
- doc: string;
544
- };
545
- reactionsList: {
546
- comment: string;
547
- doc: string;
548
- };
549
- reactionsRemove: {
550
- comment: string;
551
- doc: string;
552
- };
553
- remindersAdd: {
554
- comment: string;
555
- doc: string;
556
- };
557
- remindersComplete: {
558
- comment: string;
559
- doc: string;
560
- };
561
- remindersDelete: {
562
- comment: string;
563
- doc: string;
564
- };
565
- remindersInfo: {
566
- comment: string;
567
- doc: string;
568
- };
569
- remindersList: {
570
- comment: string;
571
- doc: string;
572
- };
573
- rtmConnect: {
574
- comment: string;
575
- doc: string;
576
- };
577
- searchMessages: {
578
- comment: string;
579
- doc: string;
580
- };
581
- starsAdd: {
582
- comment: string;
583
- doc: string;
584
- };
585
- starsList: {
586
- comment: string;
587
- doc: string;
588
- };
589
- starsRemove: {
590
- comment: string;
591
- doc: string;
592
- };
593
- teamAccessLogs: {
594
- comment: string;
595
- doc: string;
596
- };
597
- teamBillableInfo: {
598
- comment: string;
599
- doc: string;
600
- };
601
- teamInfo: {
602
- comment: string;
603
- doc: string;
604
- };
605
- teamIntegrationLogs: {
606
- comment: string;
607
- doc: string;
608
- };
609
- teamProfileGet: {
610
- comment: string;
611
- doc: string;
612
- };
613
- usergroupsCreate: {
614
- comment: string;
615
- doc: string;
616
- };
617
- usergroupsDisable: {
618
- comment: string;
619
- doc: string;
620
- };
621
- usergroupsEnable: {
622
- comment: string;
623
- doc: string;
624
- };
625
- usergroupsList: {
626
- comment: string;
627
- doc: string;
628
- };
629
- usergroupsUpdate: {
630
- comment: string;
631
- doc: string;
632
- };
633
- usergroupsUsersList: {
634
- comment: string;
635
- doc: string;
636
- };
637
- usergroupsUsersUpdate: {
638
- comment: string;
639
- doc: string;
640
- };
641
- usersConversations: {
642
- comment: string;
643
- doc: string;
644
- };
645
- usersDeletePhoto: {
646
- comment: string;
647
- doc: string;
648
- };
649
- usersGetPresence: {
650
- comment: string;
651
- doc: string;
652
- };
653
- usersIdentity: {
654
- comment: string;
655
- doc: string;
656
- };
657
- usersInfo: {
658
- comment: string;
659
- doc: string;
660
- };
661
- usersList: {
662
- comment: string;
663
- doc: string;
664
- };
665
- usersLookupByEmail: {
666
- comment: string;
667
- doc: string;
668
- };
669
- usersProfileGet: {
670
- comment: string;
671
- doc: string;
672
- };
673
- usersProfileSet: {
674
- comment: string;
675
- doc: string;
676
- };
677
- usersSetActive: {
678
- comment: string;
679
- doc: string;
680
- };
681
- usersSetPhoto: {
682
- comment: string;
683
- doc: string;
684
- };
685
- usersSetPresence: {
686
- comment: string;
687
- doc: string;
688
- };
689
- viewsOpen: {
690
- comment: string;
691
- doc: string;
692
- };
693
- viewsPublish: {
694
- comment: string;
695
- doc: string;
696
- };
697
- viewsPush: {
698
- comment: string;
699
- doc: string;
700
- };
701
- viewsUpdate: {
702
- comment: string;
703
- doc: string;
704
- };
705
- workflowsStepCompleted: {
706
- comment: string;
707
- doc: string;
708
- };
709
- workflowsStepFailed: {
710
- comment: string;
711
- doc: string;
712
- };
713
- workflowsUpdateStep: {
714
- comment: string;
715
- doc: string;
716
- };
717
- };
718
- getBaseClient(): typeof integrationClient;
719
- getApiClient: ({ connectionId }: {
720
- connectionId: string;
721
- }) => Promise<typeof integrationClient>;
722
- registerEvents(): Record<string, import("@mastra/core").IntegrationEvent<any>>;
723
- getAuthenticator(): IntegrationAuth;
724
- }
725
- export {};