@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev2 → 1.332.0-dev20

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 (53) hide show
  1. package/dist/es/es2018/platform-slack-bridge.js +5128 -2176
  2. package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMember.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMembers.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getSlackEmoji.d.ts +29 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getSlackEmojis.d.ts +28 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getSlackRecordChannelInfo.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +3 -0
  11. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -0
  12. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -0
  13. package/dist/es/es2018/types/src/generated/adapters/postSlackRecordChannelInfos.d.ts +18 -0
  14. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -1
  15. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +23 -3
  16. package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
  17. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -0
  18. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +18 -0
  20. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +17 -0
  21. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
  22. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +7 -4
  23. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +3 -0
  25. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
  26. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
  28. package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
  29. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +34 -22
  30. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +14 -5
  31. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -0
  32. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
  33. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMemberOutputRepresentation.d.ts +40 -0
  34. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersInputRepresentation.d.ts +28 -0
  35. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersOutputRepresentation.d.ts +43 -0
  36. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +5 -3
  37. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +33 -19
  38. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
  39. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +14 -8
  40. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
  41. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +24 -7
  42. package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
  43. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoInputRepresentation.d.ts +36 -0
  44. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoOutputRepresentation.d.ts +53 -0
  45. package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +45 -0
  46. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -12
  47. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
  48. package/package.json +3 -3
  49. package/sfdc/index.js +5564 -2379
  50. package/src/raml/api.raml +469 -137
  51. package/src/raml/luvio.raml +102 -26
  52. package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +0 -27
  53. package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +0 -35
package/src/raml/api.raml CHANGED
@@ -53,7 +53,7 @@ types:
53
53
  type: string
54
54
  filetype:
55
55
  description: File type of the Content Version record
56
- type: SlackBridgeFileTypeOutputRepresentation
56
+ type: SlackBridgeFileTypeOutputRepresentation | nil
57
57
  id:
58
58
  description: Id of the Content Version record
59
59
  type: string
@@ -65,7 +65,7 @@ types:
65
65
  type: string
66
66
  versionUrl:
67
67
  description: Version URL for the Content Version record
68
- type: string
68
+ type: string | nil
69
69
  SlackBridgeConversationHistoryOutputRepresentation:
70
70
  description: Contains the details of segment of a Slack conversation's history
71
71
  type: object
@@ -91,34 +91,34 @@ types:
91
91
  type: string
92
92
  isArchived:
93
93
  description: Is this conversation archived?
94
- type: boolean
94
+ type: boolean | nil
95
95
  isChannel:
96
96
  description: Is this a channel?
97
- type: boolean
97
+ type: boolean | nil
98
98
  isCustomEmojiSupported:
99
99
  description: Is Custom Emoji supported?
100
100
  type: boolean | nil
101
101
  isGroup:
102
102
  description: Is this a group?
103
- type: boolean
103
+ type: boolean | nil
104
104
  isIm:
105
105
  description: Is this IM?
106
- type: boolean
106
+ type: boolean | nil
107
107
  isMember:
108
108
  description: Is the context User a member of this Conversation?
109
- type: boolean
109
+ type: boolean | nil
110
110
  isOpen:
111
111
  description: Is this conversation open?
112
- type: boolean
112
+ type: boolean | nil
113
113
  isPrivate:
114
114
  description: Is this conversation private?
115
- type: boolean
115
+ type: boolean | nil
116
116
  isReadOnly:
117
117
  description: Is this conversation read-only?
118
- type: boolean
118
+ type: boolean | nil
119
119
  isThreadOnly:
120
120
  description: Is this conversation thread-only?
121
- type: boolean
121
+ type: boolean | nil
122
122
  name:
123
123
  description: Name of the Conversation
124
124
  type: string
@@ -128,6 +128,10 @@ types:
128
128
  shouldCacheCustomEmoji:
129
129
  description: Should the Custom Emojis be cached?
130
130
  type: boolean | nil
131
+ url:
132
+ description: The URL to the channel
133
+ required: false
134
+ type: string
131
135
  SlackBridgeConversationInfosOutputRepresentation:
132
136
  description: Contains the list of Slack Conversation Information
133
137
  type: object
@@ -139,7 +143,63 @@ types:
139
143
  type: SlackBridgeConversationInfoOutputRepresentation
140
144
  searchString:
141
145
  description: String used to search this list of conversations (Optional)
146
+ type: string | nil
147
+ SlackBridgeConversationInputRepresentation:
148
+ description: Representation of a Slack conversation
149
+ type: object
150
+ properties:
151
+ isPrivate:
152
+ description: Flag indicating if the conversation is private
153
+ type: boolean
154
+ name:
155
+ description: Name of the conversation
156
+ type: string
157
+ SlackBridgeConversationMarkOutputRepresentation:
158
+ description: Representation of a successful call to update the read cursor in
159
+ a slack channel.
160
+ type: object
161
+ properties:
162
+ channelId:
163
+ description: Id of the Channel to which this message belongs
164
+ type: string
165
+ messageTs:
166
+ description: The timestamp of the message that was marked read
167
+ type: string
168
+ SlackBridgeConversationMemberOutputRepresentation:
169
+ description: Contains the details of a Slack member for the Slack conversation
170
+ type: object
171
+ properties:
172
+ channelId:
173
+ description: Id of the Channel to which this message belong to
174
+ type: string
175
+ slackUserId:
176
+ description: The Slack user Id of the member of the Slack conversation
177
+ type: string
178
+ SlackBridgeConversationMembersInputRepresentation:
179
+ description: Contains the parameters to post Slack conversation members requests
180
+ type: object
181
+ properties:
182
+ slackUserIds:
183
+ description: List of Slack user ids
184
+ type: array
185
+ items:
186
+ type: string
187
+ SlackBridgeConversationMembersOutputRepresentation:
188
+ description: Contains the details of Slack members for the Slack conversation
189
+ type: object
190
+ properties:
191
+ channelId:
192
+ description: Id of the Channel to which this message belong to
142
193
  type: string
194
+ nextCursor:
195
+ description: Used to paginate to the next page by passing this value as the
196
+ cursor parameter in a subsequent request
197
+ type: string | nil
198
+ slackUserIds:
199
+ description: The Slack user Ids of the members of the Slack conversation
200
+ type: array
201
+ items:
202
+ type: string
143
203
  SlackBridgeConversationOutputRepresentation:
144
204
  description: Contains the details of a Slack Conversation
145
205
  type: object
@@ -178,40 +238,45 @@ types:
178
238
  description: The websocket URL to subscribe to RTM topics associated with
179
239
  the conversation
180
240
  type: string | nil
181
- SlackBridgeCustomEmojisOutputRepresentation:
182
- description: Contains the Slack Custom emojis
183
- type: object
184
- properties:
185
- customEmojis:
186
- description: Custom emojis for the given Team (Slack Workspace)
187
- type: object
188
- properties:
189
- //:
190
- type: string
191
- teamId:
192
- description: Id of the Team (Workspace)
193
- type: string
194
241
  SlackBridgeEmojiOutputRepresentation:
195
- description: Contains the details of Slack Emoji
242
+ description: Contains the details of a Slack Emoji
196
243
  type: object
197
244
  properties:
198
- altText:
199
- description: Alt text for the Slack Emoji
200
- type: string
201
- isCustom:
202
- description: Is this a custom Slack Emoji?
245
+ alias:
246
+ description: The alias for the emoji
247
+ type: string | nil
248
+ collectionId:
249
+ description: Ties the emoji back to its collection, if it came from one
250
+ type: string | nil
251
+ isAlias:
252
+ description: Is the emoji an alias
203
253
  type: boolean | nil
204
254
  name:
205
- description: Name of the Slack Emoji
206
- type: string
207
- unicode:
208
- description: Unicode for the Slack Emoji
209
- type: string
210
- url:
211
- description: Url of the Slack Emoji
255
+ description: Indicates the name of the emoji, and doubles as an ID when looking
256
+ it up, as name is unique across a team/org
212
257
  type: string
258
+ updated:
259
+ description: The last date the emoji name was updated
260
+ type: string | nil
261
+ value:
262
+ description: Value of the Slack Emoji. This is either a URL string, an alias
263
+ string, or an object containing both Apple and Google URL strings
264
+ type: SlackBridgeEmojiValueOutputRepresentation | nil
265
+ SlackBridgeEmojiValueOutputRepresentation:
266
+ description: Contains the details of a Slack emoji value
267
+ type: object
268
+ properties:
269
+ appleUrl:
270
+ description: Url of the emoji with Apple styles
271
+ type: string | nil
272
+ defaultValue:
273
+ description: Url of the emoji if specific Apple and Google urls are not provided
274
+ type: string | nil
275
+ googleUrl:
276
+ description: Url of the emoji with Google styles
277
+ type: string | nil
213
278
  SlackBridgeEmojisOutputRepresentation:
214
- description: Contains the list of Slack Emoji
279
+ description: Contains the list of Slack Emojis
215
280
  type: object
216
281
  properties:
217
282
  emojis:
@@ -219,9 +284,6 @@ types:
219
284
  type: array
220
285
  items:
221
286
  type: SlackBridgeEmojiOutputRepresentation
222
- searchString:
223
- description: String used to search this list of conversations (Optional)
224
- type: string
225
287
  SlackBridgeFileInputRepresentation:
226
288
  description: Contains the parameters to upload a file to Slack
227
289
  type: object
@@ -260,7 +322,7 @@ types:
260
322
  properties:
261
323
  contentDocument:
262
324
  description: Content Document data
263
- type: SlackBridgeContentDocumentOutputRepresentation
325
+ type: SlackBridgeContentDocumentOutputRepresentation | nil
264
326
  filetype:
265
327
  description: Type of the File
266
328
  type: string
@@ -275,7 +337,7 @@ types:
275
337
  type: string
276
338
  size:
277
339
  description: Size of the File
278
- type: integer
340
+ type: integer | nil
279
341
  slackPermalink:
280
342
  description: Slack Permalink for the File
281
343
  type: string
@@ -284,13 +346,13 @@ types:
284
346
  type: string
285
347
  token:
286
348
  description: Token used for the File
287
- type: string
349
+ type: string | nil
288
350
  uniqueKey:
289
351
  description: Unique Key for the File
290
- type: string
352
+ type: string | nil
291
353
  url:
292
354
  description: Slack web URL for the File
293
- type: string
355
+ type: string | nil
294
356
  SlackBridgeFileTypeOutputRepresentation:
295
357
  description: Contains the details of FileType
296
358
  type: object
@@ -319,6 +381,25 @@ types:
319
381
  description: Contains the details of Slack Message
320
382
  type: object
321
383
  properties:
384
+ attachments:
385
+ description: Message attachments
386
+ type: array
387
+ items:
388
+ type: object
389
+ properties:
390
+ //:
391
+ type: any
392
+ blocks:
393
+ description: Message blocks
394
+ type: array
395
+ items:
396
+ type: object
397
+ properties:
398
+ //:
399
+ type: any
400
+ channelId:
401
+ description: Id of the Channel to which this message belong to
402
+ type: string | nil
322
403
  files:
323
404
  description: List of files attached to this message
324
405
  type: array
@@ -329,13 +410,13 @@ types:
329
410
  type: boolean | nil
330
411
  isBroadcast:
331
412
  description: Is this a reply also sent to the Channel?
332
- type: boolean
413
+ type: boolean | nil
333
414
  isEditable:
334
415
  description: Can this message be edited?
335
416
  type: boolean
336
417
  isEdited:
337
418
  description: Is this an edited message?
338
- type: boolean
419
+ type: boolean | nil
339
420
  latestReplyTimestamp:
340
421
  description: Latest Reply timestamp
341
422
  type: string | nil
@@ -372,7 +453,7 @@ types:
372
453
  type: string | nil
373
454
  type:
374
455
  description: Type of Message
375
- type: string
456
+ type: string | nil
376
457
  url:
377
458
  description: Url for this message
378
459
  type: string
@@ -425,7 +506,7 @@ types:
425
506
  properties:
426
507
  count:
427
508
  description: Number of reactions
428
- type: integer
509
+ type: integer | nil
429
510
  name:
430
511
  description: Name of the reaction
431
512
  type: string
@@ -456,6 +537,47 @@ types:
456
537
  description: The id of the Slack team (Workspace or Enterprise Org) where
457
538
  this conversation exists
458
539
  type: string
540
+ SlackBridgeRecordChannelInfoInputRepresentation:
541
+ description: Representation of a Slack record channel
542
+ type: object
543
+ properties:
544
+ conversationInfo:
545
+ description: The conversation info associated with the record
546
+ type: object
547
+ properties:
548
+ isPrivate:
549
+ description: Is this conversation private?
550
+ type: boolean
551
+ relatedRecordId:
552
+ description: The ID of the Salesforce record associated with the conversation
553
+ type: string
554
+ SlackBridgeRecordChannelInfoOutputRepresentation:
555
+ description: Representation of a Slack record channel
556
+ type: object
557
+ properties:
558
+ conversationInfo:
559
+ description: The conversation info associated with the record
560
+ type: SlackBridgeConversationInfoOutputRepresentation
561
+ relatedRecordId:
562
+ description: The ID of the Salesforce record associated with the conversation
563
+ type: string
564
+ teamId:
565
+ description: The Slack ID of the Slack team
566
+ type: string
567
+ SlackBridgeRelatedThreadsOutputRepresentation:
568
+ description: Contains the Slack Related Threads
569
+ type: object
570
+ properties:
571
+ conversations:
572
+ description: List of Slack conversation information
573
+ type: array
574
+ items:
575
+ type: SlackBridgeConversationInfoOutputRepresentation
576
+ messages:
577
+ description: List of Slack messages
578
+ type: array
579
+ items:
580
+ type: SlackBridgeMessageOutputRepresentation
459
581
  SlackBridgeUpdateMessageInputRepresentation:
460
582
  description: Contains the parameters to update a message to Slack
461
583
  type: object
@@ -472,13 +594,21 @@ types:
472
594
  type: boolean
473
595
  displayName:
474
596
  description: Display Name of the Slack User
475
- type: string
597
+ type: string | nil
598
+ email:
599
+ description: Email of the Slack User
600
+ type: string | nil
476
601
  image24:
477
602
  description: 24x24 version of the Slack User image
478
- type: string
603
+ required: false
604
+ type: string | nil
479
605
  imageOriginal:
480
606
  description: Original version of the Slack User image
481
607
  type: string | nil
608
+ profileImage:
609
+ description: Profile image used for this Slack user
610
+ required: false
611
+ type: string | nil
482
612
  inHuddle:
483
613
  description: Is this Slack User currently in a Huddle?
484
614
  type: boolean | nil
@@ -488,6 +618,10 @@ types:
488
618
  isExternal:
489
619
  description: Is Slack User external?
490
620
  type: boolean | nil
621
+ isWorkflowBot:
622
+ description: Is this a Workflow Bot?
623
+ required: false
624
+ type: boolean
491
625
  name:
492
626
  description: Name of the Slack User
493
627
  type: string
@@ -496,7 +630,7 @@ types:
496
630
  type: string | nil
497
631
  realName:
498
632
  description: Real Name of the Slack User
499
- type: string
633
+ type: string | nil
500
634
  salesforceUserId:
501
635
  description: Id of the related Salesforce User mapped to the Slack User
502
636
  type: string | nil
@@ -508,17 +642,20 @@ types:
508
642
  type: SlackBridgeEmojiOutputRepresentation | nil
509
643
  statusMessage:
510
644
  description: Status message of the Slack User
511
- type: string
645
+ type: string | nil
512
646
  teamId:
513
647
  description: Slack Workspace Id
514
648
  type: string
649
+ title:
650
+ description: Title of the Slack User
651
+ type: string | nil
515
652
  SlackBridgeUserInfosOutputRepresentation:
516
653
  description: Contains the list of Slack User Information
517
654
  type: object
518
655
  properties:
519
656
  searchString:
520
657
  description: String used to search this list of conversations (Optional)
521
- type: string
658
+ type: string | nil
522
659
  userInfos:
523
660
  description: List of Slack User Information
524
661
  type: array
@@ -603,113 +740,293 @@ types:
603
740
  application/json:
604
741
  type: SlackBridgeFileInputRepresentation
605
742
  (oas-body-name): slackFileUploadRequest
743
+ /record_channels:
744
+ post:
745
+ displayName: postSlackRecordChannelInfos
746
+ description: Create a Slack record channel
747
+ responses:
748
+ '200':
749
+ description: Success
750
+ body:
751
+ application/json:
752
+ type: SlackBridgeRecordChannelInfoOutputRepresentation
753
+ body:
754
+ application/json:
755
+ type: SlackBridgeRecordChannelInfoInputRepresentation
756
+ (oas-body-name): slackRecordChannelInfo
757
+ /record_channels/{relatedRecordId}:
758
+ get:
759
+ displayName: getSlackRecordChannelInfo
760
+ description: Get Slack conversation from the given Workspace and Channel
761
+ responses:
762
+ '200':
763
+ description: Success
764
+ body:
765
+ application/json:
766
+ type: SlackBridgeRecordChannelInfoOutputRepresentation
767
+ uriParameters:
768
+ relatedRecordId:
769
+ description: Id of the record to which the Slack Conversation is related.
770
+ type: string
771
+ required: true
772
+ /related_threads/entity/{entityId}:
773
+ get:
774
+ displayName: getSlackRelatedThreads
775
+ description: Request to get Related Threads
776
+ responses:
777
+ '200':
778
+ description: Success
779
+ body:
780
+ application/json:
781
+ type: SlackBridgeRelatedThreadsOutputRepresentation
782
+ uriParameters:
783
+ entityId:
784
+ description: Entity ID to get related threads
785
+ type: string
786
+ required: true
606
787
  /team/{teamId}:
607
- /channel/{channelId}/messages/{messageTs}:
608
- delete:
609
- displayName: deleteSlackMessage
610
- description: Request to delete a Slack post
611
- responses:
612
- '200':
613
- description: Success
614
- get:
615
- displayName: getSlackMessage
616
- description: Get Slack message from the given Channel
617
- responses:
618
- '200':
619
- description: Success
620
- body:
621
- application/json:
622
- type: SlackBridgeMessageFragmentOutputRepresentation
623
- patch:
624
- displayName: patchSlackMessage
625
- description: Request to update a Slack post
626
- responses:
627
- '200':
628
- description: Success
629
- body:
630
- application/json:
631
- type: SlackBridgeMessageFragmentOutputRepresentation
632
- body:
633
- application/json:
634
- type: SlackBridgeUpdateMessageInputRepresentation
635
- (oas-body-name): slackMessageUpdateRequest
636
- uriParameters:
637
- channelId:
638
- description: Id of the Slack channel where the message exists
639
- type: string
640
- required: true
641
- messageTs:
642
- description: The timestamp of the Slack message
643
- type: string
644
- required: true
645
- teamId:
646
- description: Id of the Slack team where the conversation exists
647
- type: string
648
- required: true
649
- /channel/{channelId}/messages/{messageTs}/reactions:
650
- delete:
651
- displayName: deleteSlackMessageReactions
652
- description: Request to delete a reaction on Slack message
653
- responses:
654
- '200':
655
- description: Success
656
- queryParameters:
657
- name:
658
- description: The name of the reaction to delete
788
+ /channel/{channelId}:
789
+ /mark:
790
+ post:
791
+ displayName: postSlackConversationMark
792
+ description: Request to set the read marker on a slack conversation
793
+ responses:
794
+ '200':
795
+ description: Success
796
+ body:
797
+ application/json:
798
+ type: SlackBridgeConversationMarkOutputRepresentation
799
+ queryParameters:
800
+ messageTs:
801
+ description: The timestamp of the message being marked read.
802
+ type: string
803
+ #override connect api generated value
804
+ required: true
805
+ uriParameters:
806
+ channelId:
807
+ description: Id of the Slack channel where the message exists
808
+ type: string
809
+ required: true
810
+ teamId:
811
+ description: Id of the Slack team where the conversation exists
812
+ type: string
813
+ required: true
814
+ /members:
815
+ get:
816
+ displayName: getSlackConversationMembers
817
+ description: Request to get the members of a Slack conversation
818
+ responses:
819
+ '200':
820
+ description: Success
821
+ body:
822
+ application/json:
823
+ type: SlackBridgeConversationMembersOutputRepresentation
824
+ post:
825
+ displayName: postSlackConversationMembers
826
+ description: Request to join the current Slack user or invite other Slack
827
+ users to a Slack conversation
828
+ responses:
829
+ '200':
830
+ description: Success
831
+ body:
832
+ application/json:
833
+ type: SlackBridgeConversationMembersOutputRepresentation
834
+ body:
835
+ application/json:
836
+ type: SlackBridgeConversationMembersInputRepresentation
837
+ (oas-body-name): slackConversationMembersPostRequest
838
+ uriParameters:
839
+ channelId:
840
+ description: Id of the Slack channel where the message exists
841
+ type: string
842
+ required: true
843
+ teamId:
844
+ description: Id of the Slack team where the conversation exists
845
+ type: string
846
+ required: true
847
+ /members/{slackUserId}:
848
+ delete:
849
+ displayName: deleteSlackConversationMember
850
+ description: Request to leave a Slack conversation or kick a member from
851
+ a Slack conversation
852
+ responses:
853
+ '200':
854
+ description: Success
855
+ get:
856
+ displayName: getSlackConversationMember
857
+ description: Request to get a member of a Slack conversation
858
+ responses:
859
+ '200':
860
+ description: Success
861
+ body:
862
+ application/json:
863
+ type: SlackBridgeConversationMemberOutputRepresentation
864
+ uriParameters:
865
+ channelId:
866
+ description: Id of the Slack channel where the message exists
867
+ type: string
868
+ required: true
869
+ slackUserId:
870
+ description: Id of the Slack member to leave or kick from the conversation
871
+ type: string
872
+ required: true
873
+ teamId:
874
+ description: Id of the Slack team where the conversation exists
875
+ type: string
876
+ required: true
877
+ /messages/{messageTs}:
878
+ delete:
879
+ displayName: deleteSlackMessage
880
+ description: Request to delete a Slack post
881
+ responses:
882
+ '200':
883
+ description: Success
884
+ get:
885
+ displayName: getSlackMessage
886
+ description: Get Slack message from the given Channel
887
+ responses:
888
+ '200':
889
+ description: Success
890
+ body:
891
+ application/json:
892
+ type: SlackBridgeMessageFragmentOutputRepresentation
893
+ patch:
894
+ displayName: patchSlackMessage
895
+ description: Request to update a Slack post
896
+ responses:
897
+ '200':
898
+ description: Success
899
+ body:
900
+ application/json:
901
+ type: SlackBridgeMessageFragmentOutputRepresentation
902
+ body:
903
+ application/json:
904
+ type: SlackBridgeUpdateMessageInputRepresentation
905
+ (oas-body-name): slackMessageUpdateRequest
906
+ uriParameters:
907
+ channelId:
908
+ description: Id of the Slack channel where the message exists
909
+ type: string
910
+ required: true
911
+ messageTs:
912
+ description: The timestamp of the Slack message
913
+ type: string
914
+ required: true
915
+ teamId:
916
+ description: Id of the Slack team where the conversation exists
917
+ type: string
918
+ required: true
919
+ /messages/{messageTs}/reactions:
920
+ delete:
921
+ displayName: deleteSlackMessageReactions
922
+ description: Request to delete a reaction on Slack message
923
+ responses:
924
+ '200':
925
+ description: Success
926
+ queryParameters:
927
+ name:
928
+ description: The name of the reaction to delete
929
+ type: string
930
+ required: false
931
+ get:
932
+ displayName: getSlackMessageReactions
933
+ description: Request to get a reaction on a Slack message
934
+ responses:
935
+ '200':
936
+ description: Success
937
+ body:
938
+ application/json:
939
+ type: SlackBridgeReactionsOutputRepresentation
940
+ post:
941
+ displayName: postSlackMessageReactions
942
+ description: Request to post a reaction on Slack message
943
+ responses:
944
+ '200':
945
+ description: Success
946
+ body:
947
+ application/json:
948
+ type: SlackBridgeReactionsOutputRepresentation
949
+ queryParameters:
950
+ name:
951
+ description: The name of the reaction to add
952
+ type: string
953
+ required: false
954
+ uriParameters:
955
+ channelId:
956
+ description: Id of the Slack channel where the message exists
957
+ type: string
958
+ required: true
959
+ messageTs:
960
+ description: The timestamp of the Slack message
961
+ type: string
962
+ required: true
963
+ teamId:
964
+ description: Id of the Slack team where the conversation exists
659
965
  type: string
660
- required: false
966
+ required: true
967
+ /emojis:
661
968
  get:
662
- displayName: getSlackMessageReactions
663
- description: Request to get a reaction on a Slack message
969
+ displayName: getSlackEmojis
970
+ description: Get Slack Emojis
664
971
  responses:
665
972
  '200':
666
973
  description: Success
667
974
  body:
668
975
  application/json:
669
- type: SlackBridgeReactionsOutputRepresentation
670
- post:
671
- displayName: postSlackMessageReactions
672
- description: Request to post a reaction on Slack message
673
- responses:
674
- '200':
675
- description: Success
676
- body:
677
- application/json:
678
- type: SlackBridgeReactionsOutputRepresentation
976
+ type: SlackBridgeEmojisOutputRepresentation
679
977
  queryParameters:
680
- name:
681
- description: The name of the reaction to add
682
- type: string
683
- required: false
978
+ slackEmojiIds:
979
+ description: List of Emoji Ids
980
+ type: array
981
+ required: true
982
+ items:
983
+ type: string
984
+ (oas-collectionFormat): csv
684
985
  uriParameters:
685
- channelId:
686
- description: Id of the Slack channel where the message exists
687
- type: string
688
- required: true
689
- messageTs:
690
- description: The timestamp of the Slack message
691
- type: string
692
- required: true
693
986
  teamId:
694
- description: Id of the Slack team where the conversation exists
987
+ description: Team or Workspace
695
988
  type: string
696
989
  required: true
697
- /emojis:
990
+ /emojis/{slackEmojiId}:
698
991
  get:
699
- displayName: getSlackCustomEmoji
700
- description: Get Slack Custom Emojis
992
+ displayName: getSlackEmoji
993
+ description: Get info about a Slack Emoji given a Team Id and Emoji Id
701
994
  responses:
702
995
  '200':
703
996
  description: Success
704
997
  body:
705
998
  application/json:
706
- type: SlackBridgeCustomEmojisOutputRepresentation
999
+ type: SlackBridgeEmojiOutputRepresentation
707
1000
  uriParameters:
1001
+ slackEmojiId:
1002
+ description: Id of the Slack Emoji
1003
+ type: string
1004
+ required: true
708
1005
  teamId:
709
1006
  description: Team or Workspace
710
1007
  type: string
711
1008
  required: true
712
1009
  /search:
1010
+ /conversations:
1011
+ get:
1012
+ displayName: getSlackSearchConversation
1013
+ description: Search Slack Conversations
1014
+ responses:
1015
+ '200':
1016
+ description: Success
1017
+ body:
1018
+ application/json:
1019
+ type: SlackBridgeConversationInfosOutputRepresentation
1020
+ queryParameters:
1021
+ search:
1022
+ description: Search String
1023
+ type: string
1024
+ required: false
1025
+ uriParameters:
1026
+ teamId:
1027
+ description: Team or Workspace
1028
+ type: string
1029
+ required: true
713
1030
  /emojis:
714
1031
  get:
715
1032
  displayName: getSlackSearchEmoji
@@ -741,6 +1058,21 @@ types:
741
1058
  application/json:
742
1059
  type: SlackBridgeUserInfosOutputRepresentation
743
1060
  queryParameters:
1061
+ channels:
1062
+ type: array
1063
+ required: false
1064
+ items:
1065
+ type: string
1066
+ (oas-collectionFormat): csv
1067
+ filter:
1068
+ type: string
1069
+ required: false
1070
+ not_in_channels:
1071
+ type: array
1072
+ required: false
1073
+ items:
1074
+ type: string
1075
+ (oas-collectionFormat): csv
744
1076
  search:
745
1077
  description: Search String
746
1078
  type: string