@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev1 → 1.332.0-dev10
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.
- package/dist/es/es2018/platform-slack-bridge.js +3836 -1713
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMember.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMembers.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackRecordChannelInfo.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackRecordChannelInfos.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +15 -1
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +34 -22
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +14 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMemberOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +5 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +21 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoInputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +16 -10
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +4280 -1987
- package/src/raml/api.raml +343 -117
- package/src/raml/luvio.raml +78 -26
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,52 @@ 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
|
+
SlackBridgeConversationMemberOutputRepresentation:
|
|
158
|
+
description: Contains the details of a Slack member for the Slack conversation
|
|
159
|
+
type: object
|
|
160
|
+
properties:
|
|
161
|
+
channelId:
|
|
162
|
+
description: Id of the Channel to which this message belong to
|
|
142
163
|
type: string
|
|
164
|
+
slackUserId:
|
|
165
|
+
description: The Slack user Id of the member of the Slack conversation
|
|
166
|
+
type: string
|
|
167
|
+
SlackBridgeConversationMembersInputRepresentation:
|
|
168
|
+
description: Contains the parameters to post Slack conversation members requests
|
|
169
|
+
type: object
|
|
170
|
+
properties:
|
|
171
|
+
slackUserIds:
|
|
172
|
+
description: List of Slack user ids
|
|
173
|
+
type: array
|
|
174
|
+
items:
|
|
175
|
+
type: string
|
|
176
|
+
SlackBridgeConversationMembersOutputRepresentation:
|
|
177
|
+
description: Contains the details of Slack members for the Slack conversation
|
|
178
|
+
type: object
|
|
179
|
+
properties:
|
|
180
|
+
channelId:
|
|
181
|
+
description: Id of the Channel to which this message belong to
|
|
182
|
+
type: string
|
|
183
|
+
nextCursor:
|
|
184
|
+
description: Used to paginate to the next page by passing this value as the
|
|
185
|
+
cursor parameter in a subsequent request
|
|
186
|
+
type: string | nil
|
|
187
|
+
slackUserIds:
|
|
188
|
+
description: The Slack user Ids of the members of the Slack conversation
|
|
189
|
+
type: array
|
|
190
|
+
items:
|
|
191
|
+
type: string
|
|
143
192
|
SlackBridgeConversationOutputRepresentation:
|
|
144
193
|
description: Contains the details of a Slack Conversation
|
|
145
194
|
type: object
|
|
@@ -197,7 +246,7 @@ types:
|
|
|
197
246
|
properties:
|
|
198
247
|
altText:
|
|
199
248
|
description: Alt text for the Slack Emoji
|
|
200
|
-
type: string
|
|
249
|
+
type: string | nil
|
|
201
250
|
isCustom:
|
|
202
251
|
description: Is this a custom Slack Emoji?
|
|
203
252
|
type: boolean | nil
|
|
@@ -206,10 +255,10 @@ types:
|
|
|
206
255
|
type: string
|
|
207
256
|
unicode:
|
|
208
257
|
description: Unicode for the Slack Emoji
|
|
209
|
-
type: string
|
|
258
|
+
type: string | nil
|
|
210
259
|
url:
|
|
211
260
|
description: Url of the Slack Emoji
|
|
212
|
-
type: string
|
|
261
|
+
type: string | nil
|
|
213
262
|
SlackBridgeEmojisOutputRepresentation:
|
|
214
263
|
description: Contains the list of Slack Emoji
|
|
215
264
|
type: object
|
|
@@ -221,7 +270,7 @@ types:
|
|
|
221
270
|
type: SlackBridgeEmojiOutputRepresentation
|
|
222
271
|
searchString:
|
|
223
272
|
description: String used to search this list of conversations (Optional)
|
|
224
|
-
type: string
|
|
273
|
+
type: string | nil
|
|
225
274
|
SlackBridgeFileInputRepresentation:
|
|
226
275
|
description: Contains the parameters to upload a file to Slack
|
|
227
276
|
type: object
|
|
@@ -260,7 +309,7 @@ types:
|
|
|
260
309
|
properties:
|
|
261
310
|
contentDocument:
|
|
262
311
|
description: Content Document data
|
|
263
|
-
type: SlackBridgeContentDocumentOutputRepresentation
|
|
312
|
+
type: SlackBridgeContentDocumentOutputRepresentation | nil
|
|
264
313
|
filetype:
|
|
265
314
|
description: Type of the File
|
|
266
315
|
type: string
|
|
@@ -275,7 +324,7 @@ types:
|
|
|
275
324
|
type: string
|
|
276
325
|
size:
|
|
277
326
|
description: Size of the File
|
|
278
|
-
type: integer
|
|
327
|
+
type: integer | nil
|
|
279
328
|
slackPermalink:
|
|
280
329
|
description: Slack Permalink for the File
|
|
281
330
|
type: string
|
|
@@ -284,13 +333,13 @@ types:
|
|
|
284
333
|
type: string
|
|
285
334
|
token:
|
|
286
335
|
description: Token used for the File
|
|
287
|
-
type: string
|
|
336
|
+
type: string | nil
|
|
288
337
|
uniqueKey:
|
|
289
338
|
description: Unique Key for the File
|
|
290
|
-
type: string
|
|
339
|
+
type: string | nil
|
|
291
340
|
url:
|
|
292
341
|
description: Slack web URL for the File
|
|
293
|
-
type: string
|
|
342
|
+
type: string | nil
|
|
294
343
|
SlackBridgeFileTypeOutputRepresentation:
|
|
295
344
|
description: Contains the details of FileType
|
|
296
345
|
type: object
|
|
@@ -319,6 +368,22 @@ types:
|
|
|
319
368
|
description: Contains the details of Slack Message
|
|
320
369
|
type: object
|
|
321
370
|
properties:
|
|
371
|
+
attachments:
|
|
372
|
+
description: Message attachments
|
|
373
|
+
type: array
|
|
374
|
+
items:
|
|
375
|
+
type: object
|
|
376
|
+
properties:
|
|
377
|
+
//:
|
|
378
|
+
type: any
|
|
379
|
+
blocks:
|
|
380
|
+
description: Message blocks
|
|
381
|
+
type: array
|
|
382
|
+
items:
|
|
383
|
+
type: object
|
|
384
|
+
properties:
|
|
385
|
+
//:
|
|
386
|
+
type: any
|
|
322
387
|
files:
|
|
323
388
|
description: List of files attached to this message
|
|
324
389
|
type: array
|
|
@@ -329,13 +394,13 @@ types:
|
|
|
329
394
|
type: boolean | nil
|
|
330
395
|
isBroadcast:
|
|
331
396
|
description: Is this a reply also sent to the Channel?
|
|
332
|
-
type: boolean
|
|
397
|
+
type: boolean | nil
|
|
333
398
|
isEditable:
|
|
334
399
|
description: Can this message be edited?
|
|
335
400
|
type: boolean
|
|
336
401
|
isEdited:
|
|
337
402
|
description: Is this an edited message?
|
|
338
|
-
type: boolean
|
|
403
|
+
type: boolean | nil
|
|
339
404
|
latestReplyTimestamp:
|
|
340
405
|
description: Latest Reply timestamp
|
|
341
406
|
type: string | nil
|
|
@@ -372,7 +437,7 @@ types:
|
|
|
372
437
|
type: string | nil
|
|
373
438
|
type:
|
|
374
439
|
description: Type of Message
|
|
375
|
-
type: string
|
|
440
|
+
type: string | nil
|
|
376
441
|
url:
|
|
377
442
|
description: Url for this message
|
|
378
443
|
type: string
|
|
@@ -425,7 +490,7 @@ types:
|
|
|
425
490
|
properties:
|
|
426
491
|
count:
|
|
427
492
|
description: Number of reactions
|
|
428
|
-
type: integer
|
|
493
|
+
type: integer | nil
|
|
429
494
|
name:
|
|
430
495
|
description: Name of the reaction
|
|
431
496
|
type: string
|
|
@@ -456,6 +521,33 @@ types:
|
|
|
456
521
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
457
522
|
this conversation exists
|
|
458
523
|
type: string
|
|
524
|
+
SlackBridgeRecordChannelInfoInputRepresentation:
|
|
525
|
+
description: Representation of a Slack record channel
|
|
526
|
+
type: object
|
|
527
|
+
properties:
|
|
528
|
+
conversationInfo:
|
|
529
|
+
description: The conversation info associated with the record
|
|
530
|
+
type: object
|
|
531
|
+
properties:
|
|
532
|
+
isPrivate:
|
|
533
|
+
description: Is this conversation private?
|
|
534
|
+
type: boolean
|
|
535
|
+
relatedRecordId:
|
|
536
|
+
description: The ID of the Salesforce record associated with the conversation
|
|
537
|
+
type: string
|
|
538
|
+
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
539
|
+
description: Representation of a Slack record channel
|
|
540
|
+
type: object
|
|
541
|
+
properties:
|
|
542
|
+
conversationInfo:
|
|
543
|
+
description: The conversation info associated with the record
|
|
544
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
545
|
+
relatedRecordId:
|
|
546
|
+
description: The ID of the Salesforce record associated with the conversation
|
|
547
|
+
type: string
|
|
548
|
+
teamId:
|
|
549
|
+
description: The Slack ID of the Slack team
|
|
550
|
+
type: string
|
|
459
551
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
460
552
|
description: Contains the parameters to update a message to Slack
|
|
461
553
|
type: object
|
|
@@ -472,10 +564,13 @@ types:
|
|
|
472
564
|
type: boolean
|
|
473
565
|
displayName:
|
|
474
566
|
description: Display Name of the Slack User
|
|
475
|
-
type: string
|
|
567
|
+
type: string | nil
|
|
568
|
+
email:
|
|
569
|
+
description: Email of the Slack User
|
|
570
|
+
type: string | nil
|
|
476
571
|
image24:
|
|
477
572
|
description: 24x24 version of the Slack User image
|
|
478
|
-
type: string
|
|
573
|
+
type: string | nil
|
|
479
574
|
imageOriginal:
|
|
480
575
|
description: Original version of the Slack User image
|
|
481
576
|
type: string | nil
|
|
@@ -496,7 +591,7 @@ types:
|
|
|
496
591
|
type: string | nil
|
|
497
592
|
realName:
|
|
498
593
|
description: Real Name of the Slack User
|
|
499
|
-
type: string
|
|
594
|
+
type: string | nil
|
|
500
595
|
salesforceUserId:
|
|
501
596
|
description: Id of the related Salesforce User mapped to the Slack User
|
|
502
597
|
type: string | nil
|
|
@@ -508,17 +603,20 @@ types:
|
|
|
508
603
|
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
509
604
|
statusMessage:
|
|
510
605
|
description: Status message of the Slack User
|
|
511
|
-
type: string
|
|
606
|
+
type: string | nil
|
|
512
607
|
teamId:
|
|
513
608
|
description: Slack Workspace Id
|
|
514
609
|
type: string
|
|
610
|
+
title:
|
|
611
|
+
description: Title of the Slack User
|
|
612
|
+
type: string | nil
|
|
515
613
|
SlackBridgeUserInfosOutputRepresentation:
|
|
516
614
|
description: Contains the list of Slack User Information
|
|
517
615
|
type: object
|
|
518
616
|
properties:
|
|
519
617
|
searchString:
|
|
520
618
|
description: String used to search this list of conversations (Optional)
|
|
521
|
-
type: string
|
|
619
|
+
type: string | nil
|
|
522
620
|
userInfos:
|
|
523
621
|
description: List of Slack User Information
|
|
524
622
|
type: array
|
|
@@ -603,97 +701,190 @@ types:
|
|
|
603
701
|
application/json:
|
|
604
702
|
type: SlackBridgeFileInputRepresentation
|
|
605
703
|
(oas-body-name): slackFileUploadRequest
|
|
704
|
+
/record_channels:
|
|
705
|
+
post:
|
|
706
|
+
displayName: postSlackRecordChannelInfos
|
|
707
|
+
description: Create a Slack record channel
|
|
708
|
+
responses:
|
|
709
|
+
'200':
|
|
710
|
+
description: Success
|
|
711
|
+
body:
|
|
712
|
+
application/json:
|
|
713
|
+
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
714
|
+
body:
|
|
715
|
+
application/json:
|
|
716
|
+
type: SlackBridgeRecordChannelInfoInputRepresentation
|
|
717
|
+
(oas-body-name): slackRecordChannelInfo
|
|
718
|
+
/record_channels/{relatedRecordId}:
|
|
719
|
+
get:
|
|
720
|
+
displayName: getSlackRecordChannelInfo
|
|
721
|
+
description: Get Slack conversation from the given Workspace and Channel
|
|
722
|
+
responses:
|
|
723
|
+
'200':
|
|
724
|
+
description: Success
|
|
725
|
+
body:
|
|
726
|
+
application/json:
|
|
727
|
+
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
728
|
+
uriParameters:
|
|
729
|
+
relatedRecordId:
|
|
730
|
+
description: Id of the record to which the Slack Conversation is related.
|
|
731
|
+
type: string
|
|
732
|
+
required: true
|
|
606
733
|
/team/{teamId}:
|
|
607
|
-
/channel/{channelId}
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
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
|
|
734
|
+
/channel/{channelId}:
|
|
735
|
+
/members:
|
|
736
|
+
get:
|
|
737
|
+
displayName: getSlackConversationMembers
|
|
738
|
+
description: Request to get the members of a Slack conversation
|
|
739
|
+
responses:
|
|
740
|
+
'200':
|
|
741
|
+
description: Success
|
|
742
|
+
body:
|
|
743
|
+
application/json:
|
|
744
|
+
type: SlackBridgeConversationMembersOutputRepresentation
|
|
745
|
+
post:
|
|
746
|
+
displayName: postSlackConversationMembers
|
|
747
|
+
description: Request to join the current Slack user or invite other Slack
|
|
748
|
+
users to a Slack conversation
|
|
749
|
+
responses:
|
|
750
|
+
'200':
|
|
751
|
+
description: Success
|
|
752
|
+
body:
|
|
753
|
+
application/json:
|
|
754
|
+
type: SlackBridgeConversationMembersOutputRepresentation
|
|
755
|
+
body:
|
|
756
|
+
application/json:
|
|
757
|
+
type: SlackBridgeConversationMembersInputRepresentation
|
|
758
|
+
(oas-body-name): slackConversationMembersPostRequest
|
|
759
|
+
uriParameters:
|
|
760
|
+
channelId:
|
|
761
|
+
description: Id of the Slack channel where the message exists
|
|
659
762
|
type: string
|
|
660
|
-
required:
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
description: Request to get a reaction on a Slack message
|
|
664
|
-
responses:
|
|
665
|
-
'200':
|
|
666
|
-
description: Success
|
|
667
|
-
body:
|
|
668
|
-
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
|
|
679
|
-
queryParameters:
|
|
680
|
-
name:
|
|
681
|
-
description: The name of the reaction to add
|
|
763
|
+
required: true
|
|
764
|
+
teamId:
|
|
765
|
+
description: Id of the Slack team where the conversation exists
|
|
682
766
|
type: string
|
|
683
|
-
required:
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
description:
|
|
695
|
-
|
|
696
|
-
|
|
767
|
+
required: true
|
|
768
|
+
/members/{slackUserId}:
|
|
769
|
+
delete:
|
|
770
|
+
displayName: deleteSlackConversationMember
|
|
771
|
+
description: Request to leave a Slack conversation or kick a member from
|
|
772
|
+
a Slack conversation
|
|
773
|
+
responses:
|
|
774
|
+
'200':
|
|
775
|
+
description: Success
|
|
776
|
+
get:
|
|
777
|
+
displayName: getSlackConversationMember
|
|
778
|
+
description: Request to get a member of a Slack conversation
|
|
779
|
+
responses:
|
|
780
|
+
'200':
|
|
781
|
+
description: Success
|
|
782
|
+
body:
|
|
783
|
+
application/json:
|
|
784
|
+
type: SlackBridgeConversationMemberOutputRepresentation
|
|
785
|
+
uriParameters:
|
|
786
|
+
channelId:
|
|
787
|
+
description: Id of the Slack channel where the message exists
|
|
788
|
+
type: string
|
|
789
|
+
required: true
|
|
790
|
+
slackUserId:
|
|
791
|
+
description: Id of the Slack member to leave or kick from the conversation
|
|
792
|
+
type: string
|
|
793
|
+
required: true
|
|
794
|
+
teamId:
|
|
795
|
+
description: Id of the Slack team where the conversation exists
|
|
796
|
+
type: string
|
|
797
|
+
required: true
|
|
798
|
+
/messages/{messageTs}:
|
|
799
|
+
delete:
|
|
800
|
+
displayName: deleteSlackMessage
|
|
801
|
+
description: Request to delete a Slack post
|
|
802
|
+
responses:
|
|
803
|
+
'200':
|
|
804
|
+
description: Success
|
|
805
|
+
get:
|
|
806
|
+
displayName: getSlackMessage
|
|
807
|
+
description: Get Slack message from the given Channel
|
|
808
|
+
responses:
|
|
809
|
+
'200':
|
|
810
|
+
description: Success
|
|
811
|
+
body:
|
|
812
|
+
application/json:
|
|
813
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
814
|
+
patch:
|
|
815
|
+
displayName: patchSlackMessage
|
|
816
|
+
description: Request to update a Slack post
|
|
817
|
+
responses:
|
|
818
|
+
'200':
|
|
819
|
+
description: Success
|
|
820
|
+
body:
|
|
821
|
+
application/json:
|
|
822
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
823
|
+
body:
|
|
824
|
+
application/json:
|
|
825
|
+
type: SlackBridgeUpdateMessageInputRepresentation
|
|
826
|
+
(oas-body-name): slackMessageUpdateRequest
|
|
827
|
+
uriParameters:
|
|
828
|
+
channelId:
|
|
829
|
+
description: Id of the Slack channel where the message exists
|
|
830
|
+
type: string
|
|
831
|
+
required: true
|
|
832
|
+
messageTs:
|
|
833
|
+
description: The timestamp of the Slack message
|
|
834
|
+
type: string
|
|
835
|
+
required: true
|
|
836
|
+
teamId:
|
|
837
|
+
description: Id of the Slack team where the conversation exists
|
|
838
|
+
type: string
|
|
839
|
+
required: true
|
|
840
|
+
/messages/{messageTs}/reactions:
|
|
841
|
+
delete:
|
|
842
|
+
displayName: deleteSlackMessageReactions
|
|
843
|
+
description: Request to delete a reaction on Slack message
|
|
844
|
+
responses:
|
|
845
|
+
'200':
|
|
846
|
+
description: Success
|
|
847
|
+
queryParameters:
|
|
848
|
+
name:
|
|
849
|
+
description: The name of the reaction to delete
|
|
850
|
+
type: string
|
|
851
|
+
required: false
|
|
852
|
+
get:
|
|
853
|
+
displayName: getSlackMessageReactions
|
|
854
|
+
description: Request to get a reaction on a Slack message
|
|
855
|
+
responses:
|
|
856
|
+
'200':
|
|
857
|
+
description: Success
|
|
858
|
+
body:
|
|
859
|
+
application/json:
|
|
860
|
+
type: SlackBridgeReactionsOutputRepresentation
|
|
861
|
+
post:
|
|
862
|
+
displayName: postSlackMessageReactions
|
|
863
|
+
description: Request to post a reaction on Slack message
|
|
864
|
+
responses:
|
|
865
|
+
'200':
|
|
866
|
+
description: Success
|
|
867
|
+
body:
|
|
868
|
+
application/json:
|
|
869
|
+
type: SlackBridgeReactionsOutputRepresentation
|
|
870
|
+
queryParameters:
|
|
871
|
+
name:
|
|
872
|
+
description: The name of the reaction to add
|
|
873
|
+
type: string
|
|
874
|
+
required: false
|
|
875
|
+
uriParameters:
|
|
876
|
+
channelId:
|
|
877
|
+
description: Id of the Slack channel where the message exists
|
|
878
|
+
type: string
|
|
879
|
+
required: true
|
|
880
|
+
messageTs:
|
|
881
|
+
description: The timestamp of the Slack message
|
|
882
|
+
type: string
|
|
883
|
+
required: true
|
|
884
|
+
teamId:
|
|
885
|
+
description: Id of the Slack team where the conversation exists
|
|
886
|
+
type: string
|
|
887
|
+
required: true
|
|
697
888
|
/emojis:
|
|
698
889
|
get:
|
|
699
890
|
displayName: getSlackCustomEmoji
|
|
@@ -710,6 +901,26 @@ types:
|
|
|
710
901
|
type: string
|
|
711
902
|
required: true
|
|
712
903
|
/search:
|
|
904
|
+
/conversations:
|
|
905
|
+
get:
|
|
906
|
+
displayName: getSlackSearchConversation
|
|
907
|
+
description: Search Slack Conversations
|
|
908
|
+
responses:
|
|
909
|
+
'200':
|
|
910
|
+
description: Success
|
|
911
|
+
body:
|
|
912
|
+
application/json:
|
|
913
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
914
|
+
queryParameters:
|
|
915
|
+
search:
|
|
916
|
+
description: Search String
|
|
917
|
+
type: string
|
|
918
|
+
required: false
|
|
919
|
+
uriParameters:
|
|
920
|
+
teamId:
|
|
921
|
+
description: Team or Workspace
|
|
922
|
+
type: string
|
|
923
|
+
required: true
|
|
713
924
|
/emojis:
|
|
714
925
|
get:
|
|
715
926
|
displayName: getSlackSearchEmoji
|
|
@@ -741,6 +952,21 @@ types:
|
|
|
741
952
|
application/json:
|
|
742
953
|
type: SlackBridgeUserInfosOutputRepresentation
|
|
743
954
|
queryParameters:
|
|
955
|
+
channels:
|
|
956
|
+
type: array
|
|
957
|
+
required: false
|
|
958
|
+
items:
|
|
959
|
+
type: string
|
|
960
|
+
(oas-collectionFormat): csv
|
|
961
|
+
filter:
|
|
962
|
+
type: string
|
|
963
|
+
required: false
|
|
964
|
+
not_in_channels:
|
|
965
|
+
type: array
|
|
966
|
+
required: false
|
|
967
|
+
items:
|
|
968
|
+
type: string
|
|
969
|
+
(oas-collectionFormat): csv
|
|
744
970
|
search:
|
|
745
971
|
description: Search String
|
|
746
972
|
type: string
|