@salesforce/lds-adapters-service-slack 1.291.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.
Files changed (51) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/service-slack.js +3567 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +33 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationdeleteSlackMessage.d.ts +17 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationdeleteSlackMessageReactions.d.ts +18 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationgetSlackConversationInfo.d.ts +29 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationgetSlackMessage.d.ts +33 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationgetSlackUser.d.ts +30 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationpatchSlackMessage.d.ts +19 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationpostSlackConversation.d.ts +21 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationpostSlackMessageReactions.d.ts +19 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/adapters/postSlackFile.d.ts +23 -0
  15. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -0
  16. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +19 -0
  17. package/dist/es/es2018/types/src/generated/resources/deleteConnectSwarmingConversationMessagesByMessageTimestamp.d.ts +17 -0
  18. package/dist/es/es2018/types/src/generated/resources/deleteConnectSwarmingConversationMessagesReactionsByMessageTimestamp.d.ts +18 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingConversationEmojis.d.ts +16 -0
  20. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingConversationMessages.d.ts +21 -0
  21. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingConversationMessagesByMessageTimestamp.d.ts +23 -0
  22. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingConversationMessagesReactionsByMessageTimestamp.d.ts +15 -0
  23. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingConversationUserByUserId.d.ts +20 -0
  24. package/dist/es/es2018/types/src/generated/resources/getConnectSwarmingSlackConversationInfo.d.ts +17 -0
  25. package/dist/es/es2018/types/src/generated/resources/patchConnectSwarmingConversationMessagesByMessageTimestamp.d.ts +18 -0
  26. package/dist/es/es2018/types/src/generated/resources/postConnectSwarmingConversationFiles.d.ts +20 -0
  27. package/dist/es/es2018/types/src/generated/resources/postConnectSwarmingConversationMessages.d.ts +18 -0
  28. package/dist/es/es2018/types/src/generated/resources/postConnectSwarmingConversationMessagesReactionsByMessageTimestamp.d.ts +18 -0
  29. package/dist/es/es2018/types/src/generated/types/ContentDocumentOutputRepresentation.d.ts +40 -0
  30. package/dist/es/es2018/types/src/generated/types/ContentVersionOutputRepresentation.d.ts +43 -0
  31. package/dist/es/es2018/types/src/generated/types/EmptyRepresentation.d.ts +36 -0
  32. package/dist/es/es2018/types/src/generated/types/FileTypeOutputRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/SlackConversationInfoOutputRepresentation.d.ts +67 -0
  34. package/dist/es/es2018/types/src/generated/types/SlackConversationOutputRepresentation.d.ts +64 -0
  35. package/dist/es/es2018/types/src/generated/types/SlackCustomEmojisOutputRepresentation.d.ts +35 -0
  36. package/dist/es/es2018/types/src/generated/types/SlackFileInputRepresentation.d.ts +52 -0
  37. package/dist/es/es2018/types/src/generated/types/SlackFileOutputRepresentation.d.ts +68 -0
  38. package/dist/es/es2018/types/src/generated/types/SlackMessageOutputRepresentation.d.ts +127 -0
  39. package/dist/es/es2018/types/src/generated/types/SlackPostMessageInputRepresentation.d.ts +46 -0
  40. package/dist/es/es2018/types/src/generated/types/SlackPostMessageOutputRepresentation.d.ts +57 -0
  41. package/dist/es/es2018/types/src/generated/types/SlackPostMessageReactionInputRepresentation.d.ts +37 -0
  42. package/dist/es/es2018/types/src/generated/types/SlackReactionOutputRepresentation.d.ts +62 -0
  43. package/dist/es/es2018/types/src/generated/types/SlackUpdateMessageInputRepresentation.d.ts +37 -0
  44. package/dist/es/es2018/types/src/generated/types/SlackUpdatedMessageOutputRepresentation.d.ts +57 -0
  45. package/dist/es/es2018/types/src/generated/types/SlackUserInfoOutputRepresentation.d.ts +55 -0
  46. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  47. package/package.json +66 -0
  48. package/sfdc/index.d.ts +1 -0
  49. package/sfdc/index.js +3750 -0
  50. package/src/raml/api.raml +731 -0
  51. package/src/raml/luvio.raml +84 -0
@@ -0,0 +1,731 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '62.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v62.0
10
+ securitySchemes:
11
+ OAuth2:
12
+ type: OAuth 2.0
13
+ settings:
14
+ authorizationUri: https://example.com/oauth/authorize
15
+ accessTokenUri: ''
16
+ authorizationGrants:
17
+ - implicit
18
+ annotationTypes:
19
+ oas-readOnly:
20
+ type: boolean
21
+ allowedTargets: TypeDeclaration
22
+ oas-collectionFormat:
23
+ type: string
24
+ oas-body-name:
25
+ type: string
26
+ allowedTargets: TypeDeclaration
27
+ types:
28
+ EmptyRepresentation: # copied from lds-adapters-service-knowledege
29
+ description: Represents empty response
30
+ type: object
31
+ properties:
32
+ fakeKey: string
33
+ ContentDocumentOutputRepresentation:
34
+ description: Contains the details of Content Document
35
+ type: object
36
+ properties:
37
+ filetype:
38
+ description: File type of the Content Document record
39
+ type: FileTypeOutputRepresentation
40
+ id:
41
+ description: Id of the Content Document record
42
+ type: string
43
+ latestPublishedVersion:
44
+ description: Document URL for the Content Document record
45
+ type: ContentVersionOutputRepresentation
46
+ size:
47
+ description: Size of the Content Document record
48
+ type: integer
49
+ title:
50
+ description: Title of the Content Document record
51
+ type: string
52
+ ContentVersionOutputRepresentation:
53
+ description: Contains the details of Content Version
54
+ type: object
55
+ properties:
56
+ attachmentUrl:
57
+ description: Attachment URL for the Content Version record
58
+ type: string
59
+ filetype:
60
+ description: File type of the Content Version record
61
+ type: FileTypeOutputRepresentation
62
+ id:
63
+ description: Id of the Content Version record
64
+ type: string
65
+ size:
66
+ description: Size of the Content Version record
67
+ type: integer
68
+ title:
69
+ description: Title of the Content Version record
70
+ type: string
71
+ versionUrl:
72
+ description: Version URL for the Content Version record
73
+ type: string
74
+ FileTypeOutputRepresentation:
75
+ description: Contains the details of FileType
76
+ type: object
77
+ properties:
78
+ extension:
79
+ description: Extension of the File
80
+ type: string
81
+ iconName:
82
+ description: Icon Name of the File
83
+ type: string
84
+ SlackConversationInfoOutputRepresentation:
85
+ description: Contains the conversation info
86
+ type: object
87
+ properties:
88
+ id:
89
+ description: Id of the Conversation
90
+ type: string
91
+ isArchived:
92
+ description: Is this conversation archived?
93
+ type: boolean
94
+ isChannel:
95
+ description: Is this a channel?
96
+ type: boolean
97
+ isCustomEmojiSupported:
98
+ description: Is Custom Emoji supported?
99
+ type: boolean
100
+ isGroup:
101
+ description: Is this a group?
102
+ type: boolean
103
+ isIm:
104
+ description: Is this IM?
105
+ type: boolean
106
+ isMember:
107
+ description: Is the context User a member of this Conversation?
108
+ type: boolean
109
+ isOpen:
110
+ description: Is this conversation open?
111
+ type: boolean
112
+ isPrivate:
113
+ description: Is this conversation private?
114
+ type: boolean
115
+ isReadOnly:
116
+ description: Is this conversation read-only?
117
+ type: boolean
118
+ isThreadOnly:
119
+ description: Is this conversation thread-only?
120
+ type: boolean
121
+ name:
122
+ description: Name of the Conversation
123
+ type: string
124
+ numOfMembers:
125
+ description: Number of members in the Conversation
126
+ type: integer
127
+ shouldCacheCustomEmoji:
128
+ description: Should the Custom Emojis be cached?
129
+ type: boolean
130
+ SlackConversationOutputRepresentation:
131
+ description: Contains the details of Slack Conversation
132
+ type: object
133
+ properties:
134
+ appId:
135
+ description: Id of the Slack App
136
+ type: string
137
+ channelId:
138
+ description: Id of the Channel where this Conversation exist
139
+ type: string
140
+ contextUserInfo:
141
+ description: Slack User information of the related context Salesforce User
142
+ who is viewing this Conversation
143
+ type: SlackUserInfoOutputRepresentation
144
+ hasMore:
145
+ description: Does this conversation have more messages to retrieve?
146
+ type: boolean
147
+ latestMessageTs:
148
+ description: Timestamp of the most recent message in this list of messages
149
+ type: string
150
+ messages:
151
+ description: List of Slack messages
152
+ type: array
153
+ items:
154
+ type: SlackMessageOutputRepresentation
155
+ oldestMessageTs:
156
+ description: Timestamp of the oldest message in this list of messages
157
+ type: string
158
+ teamId:
159
+ description: Id of the Team (Workspace) where this Conversation exist
160
+ type: string
161
+ threadTs:
162
+ description: Thread Timestamp for this conversation
163
+ type: string
164
+ SlackCustomEmojisOutputRepresentation:
165
+ description: Contains the Slack Custom emojis
166
+ type: object
167
+ properties:
168
+ customEmojis:
169
+ description: Custom emojis for the given Team (Slack Workspace)
170
+ type: object
171
+ properties:
172
+ //:
173
+ type: string
174
+ teamId:
175
+ description: Id of the Team (Workspace)
176
+ type: string
177
+ SlackFileInputRepresentation:
178
+ description: Contains the parameters to upload a file to Slack
179
+ type: object
180
+ properties:
181
+ appId:
182
+ description: Slack App Id
183
+ type: string
184
+ base64EncodedFileData:
185
+ description: File contents via `multipart/form-data`. If omitting this parameter,
186
+ you must submit `content`.
187
+ type: string
188
+ channels:
189
+ description: Comma-separated list of channel names or IDs where the file will
190
+ be shared.
191
+ type: array
192
+ items:
193
+ type: string
194
+ fileName:
195
+ description: Filename of file.
196
+ type: string
197
+ fileType:
198
+ description: A [file type](https://api.slack.com/types/file#file_types) identifier.
199
+ type: string
200
+ initialComment:
201
+ description: Initial comment to add to file.
202
+ type: string
203
+ teamId:
204
+ description: Workspace where the message should be posted
205
+ type: string
206
+ threadTs:
207
+ description: Time stamp of the Parent message (in case of reply)
208
+ type: string
209
+ title:
210
+ description: Title of file.
211
+ type: string
212
+ SlackFileOutputRepresentation:
213
+ description: Contains the details of files attached to the Slack Message
214
+ type: object
215
+ properties:
216
+ contentDocument:
217
+ description: Content Document data
218
+ type: ContentDocumentOutputRepresentation
219
+ filetype:
220
+ description: Type of the File
221
+ type: string
222
+ id:
223
+ description: Slack Id of the File
224
+ type: string
225
+ mimetype:
226
+ description: Mime type of the File
227
+ type: string
228
+ name:
229
+ description: Name of the File
230
+ type: string
231
+ size:
232
+ description: Size of the File
233
+ type: integer
234
+ slackPermalink:
235
+ description: Slack Permalink for the File
236
+ type: string
237
+ title:
238
+ description: Title of the File
239
+ type: string
240
+ token:
241
+ description: Token used for the File
242
+ type: string
243
+ uniqueKey:
244
+ description: Unique Key for the File
245
+ type: string
246
+ url:
247
+ description: Slack web URL for the File
248
+ type: string
249
+ SlackMessageOutputRepresentation:
250
+ description: Contains the details of Slack Message
251
+ type: object
252
+ properties:
253
+ appId:
254
+ description: Id of the Slack App
255
+ type: string
256
+ broadcastThreadTs:
257
+ description: Thread where the reply belong to (if this message is a broadcasted
258
+ reply)
259
+ type: string
260
+ channelId:
261
+ description: Id of the Channel to which this message belong to
262
+ type: string
263
+ files:
264
+ description: List of files attached to this message
265
+ type: array
266
+ items:
267
+ type: SlackFileOutputRepresentation
268
+ includesCustomEmoji:
269
+ description: Does this message includes Custom emoji?
270
+ type: boolean
271
+ isBroadcast:
272
+ description: Is this a reply also sent to the Channel?
273
+ type: boolean
274
+ isEditable:
275
+ description: Can this message be edited?
276
+ type: boolean
277
+ isEdited:
278
+ description: Is this an edited message?
279
+ type: boolean
280
+ isFileReadAllowed:
281
+ description: Does the App contains required scopes to read Slack files?
282
+ type: boolean
283
+ latestReplyTimestamp:
284
+ description: Latest Reply timestamp
285
+ type: string
286
+ message:
287
+ description: Content of the Message
288
+ type: string
289
+ messageEpochMillisecond:
290
+ description: Epoch (Millisecond) Timestamp of the Message
291
+ format: double
292
+ type: number
293
+ outbound:
294
+ description: Is this a message sent by the context User?
295
+ type: boolean
296
+ reactions:
297
+ description: List of reactions added to this message
298
+ type: array
299
+ items:
300
+ type: SlackReactionOutputRepresentation
301
+ replyCount:
302
+ description: Number of replies for this message
303
+ type: integer
304
+ replyUsers:
305
+ description: List of Users who replied to this message
306
+ type: array
307
+ items:
308
+ type: SlackUserInfoOutputRepresentation
309
+ replyUsersCount:
310
+ description: Number of users who replied to this message
311
+ type: integer
312
+ slackMessageTs:
313
+ description: Timestamp of the Message
314
+ type: string
315
+ subtype:
316
+ description: Sub-type of Message
317
+ type: string
318
+ teamId:
319
+ description: Id of the Team to which this message belong to
320
+ type: string
321
+ threadTs:
322
+ description: Timestamp of the thread to which this message belong to
323
+ type: string
324
+ type:
325
+ description: Type of Message
326
+ type: string
327
+ uniqueKey:
328
+ description: Unique Key for this message
329
+ type: string
330
+ url:
331
+ description: Url for this message
332
+ type: string
333
+ userInfo:
334
+ description: Details of the Slack User who posted this message
335
+ type: SlackUserInfoOutputRepresentation
336
+ SlackPostMessageInputRepresentation:
337
+ description: Contains the parameters to post a message to Slack
338
+ type: object
339
+ properties:
340
+ appId:
341
+ description: Slack App Id
342
+ type: string
343
+ channelId:
344
+ description: Channel where the message should be posted
345
+ type: string
346
+ linkNames:
347
+ description: Find and link channel names and usernames using the Slack ID
348
+ type: boolean
349
+ replyBroadcast:
350
+ description: Used in conjunction with `thread_ts` and indicates whether reply
351
+ should be made visible to everyone in the channel or conversation
352
+ type: boolean
353
+ teamId:
354
+ description: Workspace where the message should be posted
355
+ type: string
356
+ text:
357
+ description: Content of the message
358
+ type: string
359
+ threadTs:
360
+ description: Time stamp of the Parent message (in case of reply)
361
+ type: string
362
+ SlackPostMessageOutputRepresentation:
363
+ description: Contains the details of message posted to Slack
364
+ type: object
365
+ properties:
366
+ channelId:
367
+ description: Id of the Channel to which this message belong to
368
+ type: string
369
+ postedMessage:
370
+ description: Message posted to Slack
371
+ type: SlackMessageOutputRepresentation
372
+ timestamp:
373
+ description: Timestamp of the message posted to Slack
374
+ type: string
375
+ SlackPostMessageReactionInputRepresentation:
376
+ description: Contains the parameters to post or delete a reaction on Slack message
377
+ type: object
378
+ properties:
379
+ appId:
380
+ description: Slack App Id
381
+ type: string
382
+ channelId:
383
+ description: Channel where the message reaction should be posted
384
+ type: string
385
+ name:
386
+ description: Name of the reaction
387
+ type: string
388
+ teamId:
389
+ description: Workspace where the message reaction should be posted
390
+ type: string
391
+ SlackReactionOutputRepresentation:
392
+ description: Contains the details of Slack reaction
393
+ type: object
394
+ properties:
395
+ count:
396
+ description: Number of reactions
397
+ type: integer
398
+ hasUserReacted:
399
+ description: Has the context user reacted?
400
+ type: boolean
401
+ isCustomEmoji:
402
+ description: Is this a custom emoji?
403
+ type: boolean
404
+ messageTs:
405
+ description: Timestamp of the Slack message where this reaction was made
406
+ type: string
407
+ name:
408
+ description: Name of the reaction
409
+ type: string
410
+ reactedUsers:
411
+ description: Users who made this reaction
412
+ type: array
413
+ items:
414
+ type: SlackUserInfoOutputRepresentation
415
+ unicode:
416
+ description: Unicode for the reaction
417
+ type: string
418
+ uniqueKey:
419
+ description: Unique Key for this reaction specific to a particular Slack message
420
+ type: string
421
+ url:
422
+ description: Url for the reaction
423
+ type: string
424
+ SlackUpdateMessageInputRepresentation:
425
+ description: Contains the parameters to update a message to Slack
426
+ type: object
427
+ properties:
428
+ appId:
429
+ description: Slack App Id
430
+ type: string
431
+ channelId:
432
+ description: Channel, private group, or IM channel where the message exists
433
+ type: string
434
+ teamId:
435
+ description: Workspace where the message exists
436
+ type: string
437
+ text:
438
+ description: Content of the updated Slack message
439
+ type: string
440
+ SlackUpdatedMessageOutputRepresentation:
441
+ description: Contains the details of updated Slack message
442
+ type: object
443
+ properties:
444
+ channelId:
445
+ description: Id of the Channel to which this message belong to
446
+ type: string
447
+ timestamp:
448
+ description: Timestamp of the message posted to Slack
449
+ type: string
450
+ updatedMessage:
451
+ description: Updated Message from Slack
452
+ type: SlackMessageOutputRepresentation
453
+ SlackUserInfoOutputRepresentation:
454
+ description: Contains the details of Slack User
455
+ type: object
456
+ properties:
457
+ bot:
458
+ description: Is this a Bot User?
459
+ type: boolean
460
+ profileUrl:
461
+ description: User Profile url
462
+ type: string
463
+ salesforceUserId:
464
+ description: Id of the related Salesforce User mapped to the Slack User
465
+ type: string
466
+ slackUserId:
467
+ description: Id of the Slack User
468
+ type: string
469
+ slackUserImageUrl:
470
+ description: Url of the Slack User Image
471
+ type: string
472
+ slackUsername:
473
+ description: Name of the Slack User
474
+ type: string
475
+ teamId:
476
+ description: Slack Workspace Id
477
+ type: string
478
+ /connect/swarming:
479
+ /conversation:
480
+ /emojis:
481
+ get:
482
+ displayName: getSlackCustomEmoji
483
+ description: Get Slack Custom Emojis
484
+ responses:
485
+ '200':
486
+ description: Success
487
+ body:
488
+ application/json:
489
+ type: SlackCustomEmojisOutputRepresentation
490
+ queryParameters:
491
+ appId:
492
+ description: Slack App Id
493
+ type: string
494
+ required: false
495
+ teamId:
496
+ description: Team or Workspace
497
+ type: string
498
+ required: false
499
+ /files:
500
+ post:
501
+ displayName: postSlackFile
502
+ description: Request to upload a file to the given Slack Conversation or Thread
503
+ responses:
504
+ '200':
505
+ description: Success
506
+ body:
507
+ application/json:
508
+ type: SlackFileOutputRepresentation
509
+ body:
510
+ application/json:
511
+ type: SlackFileInputRepresentation
512
+ (oas-body-name): slackFileUploadRequest
513
+ /messages:
514
+ get:
515
+ displayName: getSlackConversation
516
+ description: Get Slack conversation from the given Workspace and Channel
517
+ responses:
518
+ '200':
519
+ description: Success
520
+ body:
521
+ application/json:
522
+ type: SlackConversationOutputRepresentation
523
+ queryParameters:
524
+ appId:
525
+ description: Slack App Id
526
+ type: string
527
+ required: false
528
+ channelId:
529
+ description: Channel where the conversation exist
530
+ type: string
531
+ required: false
532
+ latestMessageTs:
533
+ description: Only messages before this Unix timestamp will be included
534
+ in results. Default is the current time.
535
+ type: string
536
+ required: false
537
+ limit:
538
+ description: The maximum number of items to return. Fewer than the requested
539
+ number of items may be returned, even if the end of the users list hasn't
540
+ been reached.
541
+ type: integer
542
+ required: false
543
+ parentMessageTs:
544
+ description: Parent Message timestamp (if the message(s) belongs to a
545
+ thread)
546
+ type: string
547
+ required: false
548
+ relatedRecordId:
549
+ description: Id of the record to which the Slack Conversations are related.
550
+ type: string
551
+ required: false
552
+ teamId:
553
+ description: Team or Workspace where the conversation exist
554
+ type: string
555
+ required: false
556
+ post:
557
+ displayName: postSlackConversation
558
+ description: Request to create a Slack post
559
+ responses:
560
+ '200':
561
+ description: Success
562
+ body:
563
+ application/json:
564
+ type: SlackPostMessageOutputRepresentation
565
+ body:
566
+ application/json:
567
+ type: SlackPostMessageInputRepresentation
568
+ (oas-body-name): slackMessagePostRequest
569
+ /messages/{messageTimestamp}:
570
+ delete:
571
+ displayName: deleteSlackMessage
572
+ description: Request to delete a Slack post
573
+ responses:
574
+ '200':
575
+ description: Success
576
+ queryParameters:
577
+ appId:
578
+ description: Slack App Id
579
+ type: string
580
+ required: false
581
+ channelId:
582
+ description: Channel where the message exist
583
+ type: string
584
+ required: false
585
+ teamId:
586
+ description: Team or Workspace where the message exist
587
+ type: string
588
+ required: false
589
+ get:
590
+ displayName: getSlackMessage
591
+ description: Get Slack message from the given Channel
592
+ responses:
593
+ '200':
594
+ description: Success
595
+ body:
596
+ application/json:
597
+ type: SlackMessageOutputRepresentation
598
+ queryParameters:
599
+ appId:
600
+ description: Slack App Id
601
+ type: string
602
+ required: false
603
+ channelId:
604
+ description: Channel where the message exist
605
+ type: string
606
+ required: false
607
+ parentMessageTs:
608
+ description: Parent Message timestamp (if the message(s) belongs to a
609
+ thread)
610
+ type: string
611
+ required: false
612
+ relatedRecordId:
613
+ description: Id of the record to which the Slack Conversations are related.
614
+ type: string
615
+ required: false
616
+ teamId:
617
+ description: Team or Workspace where the message exist
618
+ type: string
619
+ required: false
620
+ patch:
621
+ displayName: patchSlackMessage
622
+ description: Request to update a Slack post
623
+ responses:
624
+ '200':
625
+ description: Success
626
+ body:
627
+ application/json:
628
+ type: SlackUpdatedMessageOutputRepresentation
629
+ body:
630
+ application/json:
631
+ type: SlackUpdateMessageInputRepresentation
632
+ (oas-body-name): slackMessageUpdateRequest
633
+ uriParameters:
634
+ messageTimestamp:
635
+ type: string
636
+ required: true
637
+ /messages/{messageTimestamp}/reactions:
638
+ delete:
639
+ displayName: deleteSlackMessageReactions
640
+ description: Request to delete a reaction on Slack message
641
+ responses:
642
+ '200':
643
+ description: Success
644
+ queryParameters:
645
+ appId:
646
+ description: Slack App Id
647
+ type: string
648
+ required: false
649
+ channelId:
650
+ description: Channel where the message exist
651
+ type: string
652
+ required: false
653
+ name:
654
+ description: Name of the reaction
655
+ type: string
656
+ required: false
657
+ teamId:
658
+ description: Team or Workspace where the message exist
659
+ type: string
660
+ required: false
661
+ get:
662
+ # No implementation in connect api
663
+ # GET resource is required to allow DELETE resource with key annotation (messageTimestamp)
664
+ responses:
665
+ '200':
666
+ body:
667
+ application/json:
668
+ type: EmptyRepresentation
669
+ post:
670
+ displayName: postSlackMessageReactions
671
+ description: Request to post a reaction on Slack message
672
+ responses:
673
+ '200':
674
+ description: Success
675
+ body:
676
+ application/json:
677
+ type: EmptyRepresentation
678
+ body:
679
+ application/json:
680
+ type: SlackPostMessageReactionInputRepresentation
681
+ (oas-body-name): slackMessageReactionPostRequest
682
+ uriParameters:
683
+ messageTimestamp:
684
+ type: string
685
+ required: true
686
+ /user/{userId}:
687
+ get:
688
+ displayName: getSlackUser
689
+ description: Get Slack User
690
+ responses:
691
+ '200':
692
+ description: Success
693
+ body:
694
+ application/json:
695
+ type: SlackUserInfoOutputRepresentation
696
+ queryParameters:
697
+ appId:
698
+ description: Slack App Id
699
+ type: string
700
+ required: false
701
+ teamId:
702
+ description: Team or Workspace where the message exist
703
+ type: string
704
+ required: false
705
+ uriParameters:
706
+ userId:
707
+ type: string
708
+ required: true
709
+ /slack/conversation/info:
710
+ get:
711
+ displayName: getSlackConversationInfo
712
+ description: Get Slack Conversation information.
713
+ responses:
714
+ '200':
715
+ description: Success
716
+ body:
717
+ application/json:
718
+ type: SlackConversationInfoOutputRepresentation
719
+ queryParameters:
720
+ appId:
721
+ description: Slack App Id
722
+ type: string
723
+ required: false
724
+ channelId:
725
+ description: Channel Id for the conversation
726
+ type: string
727
+ required: false
728
+ teamId:
729
+ description: Team where the Conversation exist
730
+ type: string
731
+ required: false