@salesforce/lds-adapters-platform-slack-bridge 1.331.0 → 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 +3847 -1689
- 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/postSlackConversation.d.ts +3 -3
- 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/postConnectSlackbridgeConversationMessages.d.ts +3 -3
- 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 +8 -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/SlackBridgePostMessageInputRepresentation.d.ts +7 -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 +4161 -1833
- package/src/raml/api.raml +350 -133
- package/src/raml/luvio.raml +78 -26
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts +0 -44
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
|
|
163
|
+
type: string
|
|
164
|
+
slackUserId:
|
|
165
|
+
description: The Slack user Id of the member of the Slack conversation
|
|
142
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
|
|
@@ -174,6 +223,10 @@ types:
|
|
|
174
223
|
type: array
|
|
175
224
|
items:
|
|
176
225
|
type: SlackBridgeUserInfoOutputRepresentation
|
|
226
|
+
websocketUrl:
|
|
227
|
+
description: The websocket URL to subscribe to RTM topics associated with
|
|
228
|
+
the conversation
|
|
229
|
+
type: string | nil
|
|
177
230
|
SlackBridgeCustomEmojisOutputRepresentation:
|
|
178
231
|
description: Contains the Slack Custom emojis
|
|
179
232
|
type: object
|
|
@@ -193,7 +246,7 @@ types:
|
|
|
193
246
|
properties:
|
|
194
247
|
altText:
|
|
195
248
|
description: Alt text for the Slack Emoji
|
|
196
|
-
type: string
|
|
249
|
+
type: string | nil
|
|
197
250
|
isCustom:
|
|
198
251
|
description: Is this a custom Slack Emoji?
|
|
199
252
|
type: boolean | nil
|
|
@@ -202,10 +255,10 @@ types:
|
|
|
202
255
|
type: string
|
|
203
256
|
unicode:
|
|
204
257
|
description: Unicode for the Slack Emoji
|
|
205
|
-
type: string
|
|
258
|
+
type: string | nil
|
|
206
259
|
url:
|
|
207
260
|
description: Url of the Slack Emoji
|
|
208
|
-
type: string
|
|
261
|
+
type: string | nil
|
|
209
262
|
SlackBridgeEmojisOutputRepresentation:
|
|
210
263
|
description: Contains the list of Slack Emoji
|
|
211
264
|
type: object
|
|
@@ -217,7 +270,7 @@ types:
|
|
|
217
270
|
type: SlackBridgeEmojiOutputRepresentation
|
|
218
271
|
searchString:
|
|
219
272
|
description: String used to search this list of conversations (Optional)
|
|
220
|
-
type: string
|
|
273
|
+
type: string | nil
|
|
221
274
|
SlackBridgeFileInputRepresentation:
|
|
222
275
|
description: Contains the parameters to upload a file to Slack
|
|
223
276
|
type: object
|
|
@@ -256,7 +309,7 @@ types:
|
|
|
256
309
|
properties:
|
|
257
310
|
contentDocument:
|
|
258
311
|
description: Content Document data
|
|
259
|
-
type: SlackBridgeContentDocumentOutputRepresentation
|
|
312
|
+
type: SlackBridgeContentDocumentOutputRepresentation | nil
|
|
260
313
|
filetype:
|
|
261
314
|
description: Type of the File
|
|
262
315
|
type: string
|
|
@@ -271,7 +324,7 @@ types:
|
|
|
271
324
|
type: string
|
|
272
325
|
size:
|
|
273
326
|
description: Size of the File
|
|
274
|
-
type: integer
|
|
327
|
+
type: integer | nil
|
|
275
328
|
slackPermalink:
|
|
276
329
|
description: Slack Permalink for the File
|
|
277
330
|
type: string
|
|
@@ -280,13 +333,13 @@ types:
|
|
|
280
333
|
type: string
|
|
281
334
|
token:
|
|
282
335
|
description: Token used for the File
|
|
283
|
-
type: string
|
|
336
|
+
type: string | nil
|
|
284
337
|
uniqueKey:
|
|
285
338
|
description: Unique Key for the File
|
|
286
|
-
type: string
|
|
339
|
+
type: string | nil
|
|
287
340
|
url:
|
|
288
341
|
description: Slack web URL for the File
|
|
289
|
-
type: string
|
|
342
|
+
type: string | nil
|
|
290
343
|
SlackBridgeFileTypeOutputRepresentation:
|
|
291
344
|
description: Contains the details of FileType
|
|
292
345
|
type: object
|
|
@@ -315,6 +368,22 @@ types:
|
|
|
315
368
|
description: Contains the details of Slack Message
|
|
316
369
|
type: object
|
|
317
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
|
|
318
387
|
files:
|
|
319
388
|
description: List of files attached to this message
|
|
320
389
|
type: array
|
|
@@ -325,13 +394,13 @@ types:
|
|
|
325
394
|
type: boolean | nil
|
|
326
395
|
isBroadcast:
|
|
327
396
|
description: Is this a reply also sent to the Channel?
|
|
328
|
-
type: boolean
|
|
397
|
+
type: boolean | nil
|
|
329
398
|
isEditable:
|
|
330
399
|
description: Can this message be edited?
|
|
331
400
|
type: boolean
|
|
332
401
|
isEdited:
|
|
333
402
|
description: Is this an edited message?
|
|
334
|
-
type: boolean
|
|
403
|
+
type: boolean | nil
|
|
335
404
|
latestReplyTimestamp:
|
|
336
405
|
description: Latest Reply timestamp
|
|
337
406
|
type: string | nil
|
|
@@ -368,7 +437,7 @@ types:
|
|
|
368
437
|
type: string | nil
|
|
369
438
|
type:
|
|
370
439
|
description: Type of Message
|
|
371
|
-
type: string
|
|
440
|
+
type: string | nil
|
|
372
441
|
url:
|
|
373
442
|
description: Url for this message
|
|
374
443
|
type: string
|
|
@@ -379,10 +448,10 @@ types:
|
|
|
379
448
|
channelId:
|
|
380
449
|
description: Channel where the message should be posted
|
|
381
450
|
type: string
|
|
382
|
-
linkNames
|
|
451
|
+
linkNames?:
|
|
383
452
|
description: Find and link channel names and usernames using the Slack ID
|
|
384
453
|
type: boolean
|
|
385
|
-
replyBroadcast
|
|
454
|
+
replyBroadcast?:
|
|
386
455
|
description: Used in conjunction with `thread_ts` and indicates whether reply
|
|
387
456
|
should be made visible to everyone in the channel or conversation
|
|
388
457
|
type: boolean
|
|
@@ -392,7 +461,7 @@ types:
|
|
|
392
461
|
text:
|
|
393
462
|
description: Content of the message
|
|
394
463
|
type: string
|
|
395
|
-
threadTs
|
|
464
|
+
threadTs?:
|
|
396
465
|
description: Time stamp of the Parent message (in case of reply)
|
|
397
466
|
type: string
|
|
398
467
|
SlackBridgePostMessageOutputRepresentation:
|
|
@@ -421,7 +490,7 @@ types:
|
|
|
421
490
|
properties:
|
|
422
491
|
count:
|
|
423
492
|
description: Number of reactions
|
|
424
|
-
type: integer
|
|
493
|
+
type: integer | nil
|
|
425
494
|
name:
|
|
426
495
|
description: Name of the reaction
|
|
427
496
|
type: string
|
|
@@ -452,6 +521,33 @@ types:
|
|
|
452
521
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
453
522
|
this conversation exists
|
|
454
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
|
|
455
551
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
456
552
|
description: Contains the parameters to update a message to Slack
|
|
457
553
|
type: object
|
|
@@ -459,19 +555,6 @@ types:
|
|
|
459
555
|
text:
|
|
460
556
|
description: Content of the message
|
|
461
557
|
type: string
|
|
462
|
-
SlackBridgeUpdatedMessageOutputRepresentation:
|
|
463
|
-
description: Contains the details of updated Slack message
|
|
464
|
-
type: object
|
|
465
|
-
properties:
|
|
466
|
-
channelId:
|
|
467
|
-
description: Id of the Channel to which this message belong to
|
|
468
|
-
type: string
|
|
469
|
-
timestamp:
|
|
470
|
-
description: Timestamp of the message posted to Slack
|
|
471
|
-
type: string
|
|
472
|
-
updatedMessage:
|
|
473
|
-
description: Updated Message from Slack
|
|
474
|
-
type: SlackBridgeMessageOutputRepresentation
|
|
475
558
|
SlackBridgeUserInfoOutputRepresentation:
|
|
476
559
|
description: Contains the details of Slack User
|
|
477
560
|
type: object
|
|
@@ -481,10 +564,13 @@ types:
|
|
|
481
564
|
type: boolean
|
|
482
565
|
displayName:
|
|
483
566
|
description: Display Name of the Slack User
|
|
484
|
-
type: string
|
|
567
|
+
type: string | nil
|
|
568
|
+
email:
|
|
569
|
+
description: Email of the Slack User
|
|
570
|
+
type: string | nil
|
|
485
571
|
image24:
|
|
486
572
|
description: 24x24 version of the Slack User image
|
|
487
|
-
type: string
|
|
573
|
+
type: string | nil
|
|
488
574
|
imageOriginal:
|
|
489
575
|
description: Original version of the Slack User image
|
|
490
576
|
type: string | nil
|
|
@@ -505,7 +591,7 @@ types:
|
|
|
505
591
|
type: string | nil
|
|
506
592
|
realName:
|
|
507
593
|
description: Real Name of the Slack User
|
|
508
|
-
type: string
|
|
594
|
+
type: string | nil
|
|
509
595
|
salesforceUserId:
|
|
510
596
|
description: Id of the related Salesforce User mapped to the Slack User
|
|
511
597
|
type: string | nil
|
|
@@ -517,17 +603,20 @@ types:
|
|
|
517
603
|
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
518
604
|
statusMessage:
|
|
519
605
|
description: Status message of the Slack User
|
|
520
|
-
type: string
|
|
606
|
+
type: string | nil
|
|
521
607
|
teamId:
|
|
522
608
|
description: Slack Workspace Id
|
|
523
609
|
type: string
|
|
610
|
+
title:
|
|
611
|
+
description: Title of the Slack User
|
|
612
|
+
type: string | nil
|
|
524
613
|
SlackBridgeUserInfosOutputRepresentation:
|
|
525
614
|
description: Contains the list of Slack User Information
|
|
526
615
|
type: object
|
|
527
616
|
properties:
|
|
528
617
|
searchString:
|
|
529
618
|
description: String used to search this list of conversations (Optional)
|
|
530
|
-
type: string
|
|
619
|
+
type: string | nil
|
|
531
620
|
userInfos:
|
|
532
621
|
description: List of Slack User Information
|
|
533
622
|
type: array
|
|
@@ -612,97 +701,190 @@ types:
|
|
|
612
701
|
application/json:
|
|
613
702
|
type: SlackBridgeFileInputRepresentation
|
|
614
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
|
|
615
733
|
/team/{teamId}:
|
|
616
|
-
/channel/{channelId}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
(oas-body-name): slackMessageUpdateRequest
|
|
645
|
-
uriParameters:
|
|
646
|
-
channelId:
|
|
647
|
-
description: Id of the Slack channel where the message exists
|
|
648
|
-
type: string
|
|
649
|
-
required: true
|
|
650
|
-
messageTs:
|
|
651
|
-
description: The timestamp of the Slack message
|
|
652
|
-
type: string
|
|
653
|
-
required: true
|
|
654
|
-
teamId:
|
|
655
|
-
description: Id of the Slack team where the conversation exists
|
|
656
|
-
type: string
|
|
657
|
-
required: true
|
|
658
|
-
/channel/{channelId}/messages/{messageTs}/reactions:
|
|
659
|
-
delete:
|
|
660
|
-
displayName: deleteSlackMessageReactions
|
|
661
|
-
description: Request to delete a reaction on Slack message
|
|
662
|
-
responses:
|
|
663
|
-
'200':
|
|
664
|
-
description: Success
|
|
665
|
-
queryParameters:
|
|
666
|
-
name:
|
|
667
|
-
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
|
|
668
762
|
type: string
|
|
669
|
-
required:
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
description: Request to get a reaction on a Slack message
|
|
673
|
-
responses:
|
|
674
|
-
'200':
|
|
675
|
-
description: Success
|
|
676
|
-
body:
|
|
677
|
-
application/json:
|
|
678
|
-
type: SlackBridgeReactionsOutputRepresentation
|
|
679
|
-
post:
|
|
680
|
-
displayName: postSlackMessageReactions
|
|
681
|
-
description: Request to post a reaction on Slack message
|
|
682
|
-
responses:
|
|
683
|
-
'200':
|
|
684
|
-
description: Success
|
|
685
|
-
body:
|
|
686
|
-
application/json:
|
|
687
|
-
type: SlackBridgeReactionsOutputRepresentation
|
|
688
|
-
queryParameters:
|
|
689
|
-
name:
|
|
690
|
-
description: The name of the reaction to delete
|
|
763
|
+
required: true
|
|
764
|
+
teamId:
|
|
765
|
+
description: Id of the Slack team where the conversation exists
|
|
691
766
|
type: string
|
|
692
|
-
required:
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
description:
|
|
704
|
-
|
|
705
|
-
|
|
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
|
|
706
888
|
/emojis:
|
|
707
889
|
get:
|
|
708
890
|
displayName: getSlackCustomEmoji
|
|
@@ -719,6 +901,26 @@ types:
|
|
|
719
901
|
type: string
|
|
720
902
|
required: true
|
|
721
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
|
|
722
924
|
/emojis:
|
|
723
925
|
get:
|
|
724
926
|
displayName: getSlackSearchEmoji
|
|
@@ -750,6 +952,21 @@ types:
|
|
|
750
952
|
application/json:
|
|
751
953
|
type: SlackBridgeUserInfosOutputRepresentation
|
|
752
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
|
|
753
970
|
search:
|
|
754
971
|
description: Search String
|
|
755
972
|
type: string
|