@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev2 → 1.332.0-dev21
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 +5142 -2176
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -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/getSlackEmoji.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackEmojis.d.ts +28 -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/postSlackConversationMark.d.ts +17 -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 +11 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +23 -3
- 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/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -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/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +7 -4
- 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/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -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/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -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 +33 -19
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +14 -8
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +24 -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/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -12
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +5576 -2377
- package/src/raml/api.raml +473 -137
- package/src/raml/luvio.raml +102 -26
- package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +0 -27
- 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
|
|
142
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
|
|
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
|
-
|
|
199
|
-
description:
|
|
200
|
-
type: string
|
|
201
|
-
|
|
202
|
-
description:
|
|
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:
|
|
206
|
-
|
|
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
|
|
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,51 @@ 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
|
|
581
|
+
teamId:
|
|
582
|
+
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
583
|
+
the related threads exist
|
|
584
|
+
type: string
|
|
459
585
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
460
586
|
description: Contains the parameters to update a message to Slack
|
|
461
587
|
type: object
|
|
@@ -472,13 +598,21 @@ types:
|
|
|
472
598
|
type: boolean
|
|
473
599
|
displayName:
|
|
474
600
|
description: Display Name of the Slack User
|
|
475
|
-
type: string
|
|
601
|
+
type: string | nil
|
|
602
|
+
email:
|
|
603
|
+
description: Email of the Slack User
|
|
604
|
+
type: string | nil
|
|
476
605
|
image24:
|
|
477
606
|
description: 24x24 version of the Slack User image
|
|
478
|
-
|
|
607
|
+
required: false
|
|
608
|
+
type: string | nil
|
|
479
609
|
imageOriginal:
|
|
480
610
|
description: Original version of the Slack User image
|
|
481
611
|
type: string | nil
|
|
612
|
+
profileImage:
|
|
613
|
+
description: Profile image used for this Slack user
|
|
614
|
+
required: false
|
|
615
|
+
type: string | nil
|
|
482
616
|
inHuddle:
|
|
483
617
|
description: Is this Slack User currently in a Huddle?
|
|
484
618
|
type: boolean | nil
|
|
@@ -488,6 +622,10 @@ types:
|
|
|
488
622
|
isExternal:
|
|
489
623
|
description: Is Slack User external?
|
|
490
624
|
type: boolean | nil
|
|
625
|
+
isWorkflowBot:
|
|
626
|
+
description: Is this a Workflow Bot?
|
|
627
|
+
required: false
|
|
628
|
+
type: boolean
|
|
491
629
|
name:
|
|
492
630
|
description: Name of the Slack User
|
|
493
631
|
type: string
|
|
@@ -496,7 +634,7 @@ types:
|
|
|
496
634
|
type: string | nil
|
|
497
635
|
realName:
|
|
498
636
|
description: Real Name of the Slack User
|
|
499
|
-
type: string
|
|
637
|
+
type: string | nil
|
|
500
638
|
salesforceUserId:
|
|
501
639
|
description: Id of the related Salesforce User mapped to the Slack User
|
|
502
640
|
type: string | nil
|
|
@@ -508,17 +646,20 @@ types:
|
|
|
508
646
|
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
509
647
|
statusMessage:
|
|
510
648
|
description: Status message of the Slack User
|
|
511
|
-
type: string
|
|
649
|
+
type: string | nil
|
|
512
650
|
teamId:
|
|
513
651
|
description: Slack Workspace Id
|
|
514
652
|
type: string
|
|
653
|
+
title:
|
|
654
|
+
description: Title of the Slack User
|
|
655
|
+
type: string | nil
|
|
515
656
|
SlackBridgeUserInfosOutputRepresentation:
|
|
516
657
|
description: Contains the list of Slack User Information
|
|
517
658
|
type: object
|
|
518
659
|
properties:
|
|
519
660
|
searchString:
|
|
520
661
|
description: String used to search this list of conversations (Optional)
|
|
521
|
-
type: string
|
|
662
|
+
type: string | nil
|
|
522
663
|
userInfos:
|
|
523
664
|
description: List of Slack User Information
|
|
524
665
|
type: array
|
|
@@ -603,113 +744,293 @@ types:
|
|
|
603
744
|
application/json:
|
|
604
745
|
type: SlackBridgeFileInputRepresentation
|
|
605
746
|
(oas-body-name): slackFileUploadRequest
|
|
747
|
+
/record_channels:
|
|
748
|
+
post:
|
|
749
|
+
displayName: postSlackRecordChannelInfos
|
|
750
|
+
description: Create a Slack record channel
|
|
751
|
+
responses:
|
|
752
|
+
'200':
|
|
753
|
+
description: Success
|
|
754
|
+
body:
|
|
755
|
+
application/json:
|
|
756
|
+
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
757
|
+
body:
|
|
758
|
+
application/json:
|
|
759
|
+
type: SlackBridgeRecordChannelInfoInputRepresentation
|
|
760
|
+
(oas-body-name): slackRecordChannelInfo
|
|
761
|
+
/record_channels/{relatedRecordId}:
|
|
762
|
+
get:
|
|
763
|
+
displayName: getSlackRecordChannelInfo
|
|
764
|
+
description: Get Slack conversation from the given Workspace and Channel
|
|
765
|
+
responses:
|
|
766
|
+
'200':
|
|
767
|
+
description: Success
|
|
768
|
+
body:
|
|
769
|
+
application/json:
|
|
770
|
+
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
771
|
+
uriParameters:
|
|
772
|
+
relatedRecordId:
|
|
773
|
+
description: Id of the record to which the Slack Conversation is related.
|
|
774
|
+
type: string
|
|
775
|
+
required: true
|
|
776
|
+
/related_threads/entity/{entityId}:
|
|
777
|
+
get:
|
|
778
|
+
displayName: getSlackRelatedThreads
|
|
779
|
+
description: Request to get Related Threads
|
|
780
|
+
responses:
|
|
781
|
+
'200':
|
|
782
|
+
description: Success
|
|
783
|
+
body:
|
|
784
|
+
application/json:
|
|
785
|
+
type: SlackBridgeRelatedThreadsOutputRepresentation
|
|
786
|
+
uriParameters:
|
|
787
|
+
entityId:
|
|
788
|
+
description: Entity ID to get related threads
|
|
789
|
+
type: string
|
|
790
|
+
required: true
|
|
606
791
|
/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
|
-
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
|
|
792
|
+
/channel/{channelId}:
|
|
793
|
+
/mark:
|
|
794
|
+
post:
|
|
795
|
+
displayName: postSlackConversationMark
|
|
796
|
+
description: Request to set the read marker on a slack conversation
|
|
797
|
+
responses:
|
|
798
|
+
'200':
|
|
799
|
+
description: Success
|
|
800
|
+
body:
|
|
801
|
+
application/json:
|
|
802
|
+
type: SlackBridgeConversationMarkOutputRepresentation
|
|
803
|
+
queryParameters:
|
|
804
|
+
messageTs:
|
|
805
|
+
description: The timestamp of the message being marked read.
|
|
806
|
+
type: string
|
|
807
|
+
#override connect api generated value
|
|
808
|
+
required: true
|
|
809
|
+
uriParameters:
|
|
810
|
+
channelId:
|
|
811
|
+
description: Id of the Slack channel where the message exists
|
|
812
|
+
type: string
|
|
813
|
+
required: true
|
|
814
|
+
teamId:
|
|
815
|
+
description: Id of the Slack team where the conversation exists
|
|
659
816
|
type: string
|
|
660
|
-
required:
|
|
817
|
+
required: true
|
|
818
|
+
/members:
|
|
819
|
+
get:
|
|
820
|
+
displayName: getSlackConversationMembers
|
|
821
|
+
description: Request to get the members of a Slack conversation
|
|
822
|
+
responses:
|
|
823
|
+
'200':
|
|
824
|
+
description: Success
|
|
825
|
+
body:
|
|
826
|
+
application/json:
|
|
827
|
+
type: SlackBridgeConversationMembersOutputRepresentation
|
|
828
|
+
post:
|
|
829
|
+
displayName: postSlackConversationMembers
|
|
830
|
+
description: Request to join the current Slack user or invite other Slack
|
|
831
|
+
users to a Slack conversation
|
|
832
|
+
responses:
|
|
833
|
+
'200':
|
|
834
|
+
description: Success
|
|
835
|
+
body:
|
|
836
|
+
application/json:
|
|
837
|
+
type: SlackBridgeConversationMembersOutputRepresentation
|
|
838
|
+
body:
|
|
839
|
+
application/json:
|
|
840
|
+
type: SlackBridgeConversationMembersInputRepresentation
|
|
841
|
+
(oas-body-name): slackConversationMembersPostRequest
|
|
842
|
+
uriParameters:
|
|
843
|
+
channelId:
|
|
844
|
+
description: Id of the Slack channel where the message exists
|
|
845
|
+
type: string
|
|
846
|
+
required: true
|
|
847
|
+
teamId:
|
|
848
|
+
description: Id of the Slack team where the conversation exists
|
|
849
|
+
type: string
|
|
850
|
+
required: true
|
|
851
|
+
/members/{slackUserId}:
|
|
852
|
+
delete:
|
|
853
|
+
displayName: deleteSlackConversationMember
|
|
854
|
+
description: Request to leave a Slack conversation or kick a member from
|
|
855
|
+
a Slack conversation
|
|
856
|
+
responses:
|
|
857
|
+
'200':
|
|
858
|
+
description: Success
|
|
859
|
+
get:
|
|
860
|
+
displayName: getSlackConversationMember
|
|
861
|
+
description: Request to get a member of a Slack conversation
|
|
862
|
+
responses:
|
|
863
|
+
'200':
|
|
864
|
+
description: Success
|
|
865
|
+
body:
|
|
866
|
+
application/json:
|
|
867
|
+
type: SlackBridgeConversationMemberOutputRepresentation
|
|
868
|
+
uriParameters:
|
|
869
|
+
channelId:
|
|
870
|
+
description: Id of the Slack channel where the message exists
|
|
871
|
+
type: string
|
|
872
|
+
required: true
|
|
873
|
+
slackUserId:
|
|
874
|
+
description: Id of the Slack member to leave or kick from the conversation
|
|
875
|
+
type: string
|
|
876
|
+
required: true
|
|
877
|
+
teamId:
|
|
878
|
+
description: Id of the Slack team where the conversation exists
|
|
879
|
+
type: string
|
|
880
|
+
required: true
|
|
881
|
+
/messages/{messageTs}:
|
|
882
|
+
delete:
|
|
883
|
+
displayName: deleteSlackMessage
|
|
884
|
+
description: Request to delete a Slack post
|
|
885
|
+
responses:
|
|
886
|
+
'200':
|
|
887
|
+
description: Success
|
|
888
|
+
get:
|
|
889
|
+
displayName: getSlackMessage
|
|
890
|
+
description: Get Slack message from the given Channel
|
|
891
|
+
responses:
|
|
892
|
+
'200':
|
|
893
|
+
description: Success
|
|
894
|
+
body:
|
|
895
|
+
application/json:
|
|
896
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
897
|
+
patch:
|
|
898
|
+
displayName: patchSlackMessage
|
|
899
|
+
description: Request to update a Slack post
|
|
900
|
+
responses:
|
|
901
|
+
'200':
|
|
902
|
+
description: Success
|
|
903
|
+
body:
|
|
904
|
+
application/json:
|
|
905
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
906
|
+
body:
|
|
907
|
+
application/json:
|
|
908
|
+
type: SlackBridgeUpdateMessageInputRepresentation
|
|
909
|
+
(oas-body-name): slackMessageUpdateRequest
|
|
910
|
+
uriParameters:
|
|
911
|
+
channelId:
|
|
912
|
+
description: Id of the Slack channel where the message exists
|
|
913
|
+
type: string
|
|
914
|
+
required: true
|
|
915
|
+
messageTs:
|
|
916
|
+
description: The timestamp of the Slack message
|
|
917
|
+
type: string
|
|
918
|
+
required: true
|
|
919
|
+
teamId:
|
|
920
|
+
description: Id of the Slack team where the conversation exists
|
|
921
|
+
type: string
|
|
922
|
+
required: true
|
|
923
|
+
/messages/{messageTs}/reactions:
|
|
924
|
+
delete:
|
|
925
|
+
displayName: deleteSlackMessageReactions
|
|
926
|
+
description: Request to delete a reaction on Slack message
|
|
927
|
+
responses:
|
|
928
|
+
'200':
|
|
929
|
+
description: Success
|
|
930
|
+
queryParameters:
|
|
931
|
+
name:
|
|
932
|
+
description: The name of the reaction to delete
|
|
933
|
+
type: string
|
|
934
|
+
required: false
|
|
935
|
+
get:
|
|
936
|
+
displayName: getSlackMessageReactions
|
|
937
|
+
description: Request to get a reaction on a Slack message
|
|
938
|
+
responses:
|
|
939
|
+
'200':
|
|
940
|
+
description: Success
|
|
941
|
+
body:
|
|
942
|
+
application/json:
|
|
943
|
+
type: SlackBridgeReactionsOutputRepresentation
|
|
944
|
+
post:
|
|
945
|
+
displayName: postSlackMessageReactions
|
|
946
|
+
description: Request to post a reaction on Slack message
|
|
947
|
+
responses:
|
|
948
|
+
'200':
|
|
949
|
+
description: Success
|
|
950
|
+
body:
|
|
951
|
+
application/json:
|
|
952
|
+
type: SlackBridgeReactionsOutputRepresentation
|
|
953
|
+
queryParameters:
|
|
954
|
+
name:
|
|
955
|
+
description: The name of the reaction to add
|
|
956
|
+
type: string
|
|
957
|
+
required: false
|
|
958
|
+
uriParameters:
|
|
959
|
+
channelId:
|
|
960
|
+
description: Id of the Slack channel where the message exists
|
|
961
|
+
type: string
|
|
962
|
+
required: true
|
|
963
|
+
messageTs:
|
|
964
|
+
description: The timestamp of the Slack message
|
|
965
|
+
type: string
|
|
966
|
+
required: true
|
|
967
|
+
teamId:
|
|
968
|
+
description: Id of the Slack team where the conversation exists
|
|
969
|
+
type: string
|
|
970
|
+
required: true
|
|
971
|
+
/emojis:
|
|
661
972
|
get:
|
|
662
|
-
displayName:
|
|
663
|
-
description:
|
|
973
|
+
displayName: getSlackEmojis
|
|
974
|
+
description: Get Slack Emojis
|
|
664
975
|
responses:
|
|
665
976
|
'200':
|
|
666
977
|
description: Success
|
|
667
978
|
body:
|
|
668
979
|
application/json:
|
|
669
|
-
type:
|
|
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
|
|
980
|
+
type: SlackBridgeEmojisOutputRepresentation
|
|
679
981
|
queryParameters:
|
|
680
|
-
|
|
681
|
-
description:
|
|
682
|
-
type:
|
|
683
|
-
required:
|
|
982
|
+
slackEmojiIds:
|
|
983
|
+
description: List of Emoji Ids
|
|
984
|
+
type: array
|
|
985
|
+
required: true
|
|
986
|
+
items:
|
|
987
|
+
type: string
|
|
988
|
+
(oas-collectionFormat): csv
|
|
684
989
|
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
990
|
teamId:
|
|
694
|
-
description:
|
|
991
|
+
description: Team or Workspace
|
|
695
992
|
type: string
|
|
696
993
|
required: true
|
|
697
|
-
/emojis:
|
|
994
|
+
/emojis/{slackEmojiId}:
|
|
698
995
|
get:
|
|
699
|
-
displayName:
|
|
700
|
-
description: Get Slack
|
|
996
|
+
displayName: getSlackEmoji
|
|
997
|
+
description: Get info about a Slack Emoji given a Team Id and Emoji Id
|
|
701
998
|
responses:
|
|
702
999
|
'200':
|
|
703
1000
|
description: Success
|
|
704
1001
|
body:
|
|
705
1002
|
application/json:
|
|
706
|
-
type:
|
|
1003
|
+
type: SlackBridgeEmojiOutputRepresentation
|
|
707
1004
|
uriParameters:
|
|
1005
|
+
slackEmojiId:
|
|
1006
|
+
description: Id of the Slack Emoji
|
|
1007
|
+
type: string
|
|
1008
|
+
required: true
|
|
708
1009
|
teamId:
|
|
709
1010
|
description: Team or Workspace
|
|
710
1011
|
type: string
|
|
711
1012
|
required: true
|
|
712
1013
|
/search:
|
|
1014
|
+
/conversations:
|
|
1015
|
+
get:
|
|
1016
|
+
displayName: getSlackSearchConversation
|
|
1017
|
+
description: Search Slack Conversations
|
|
1018
|
+
responses:
|
|
1019
|
+
'200':
|
|
1020
|
+
description: Success
|
|
1021
|
+
body:
|
|
1022
|
+
application/json:
|
|
1023
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
1024
|
+
queryParameters:
|
|
1025
|
+
search:
|
|
1026
|
+
description: Search String
|
|
1027
|
+
type: string
|
|
1028
|
+
required: false
|
|
1029
|
+
uriParameters:
|
|
1030
|
+
teamId:
|
|
1031
|
+
description: Team or Workspace
|
|
1032
|
+
type: string
|
|
1033
|
+
required: true
|
|
713
1034
|
/emojis:
|
|
714
1035
|
get:
|
|
715
1036
|
displayName: getSlackSearchEmoji
|
|
@@ -741,6 +1062,21 @@ types:
|
|
|
741
1062
|
application/json:
|
|
742
1063
|
type: SlackBridgeUserInfosOutputRepresentation
|
|
743
1064
|
queryParameters:
|
|
1065
|
+
channels:
|
|
1066
|
+
type: array
|
|
1067
|
+
required: false
|
|
1068
|
+
items:
|
|
1069
|
+
type: string
|
|
1070
|
+
(oas-collectionFormat): csv
|
|
1071
|
+
filter:
|
|
1072
|
+
type: string
|
|
1073
|
+
required: false
|
|
1074
|
+
not_in_channels:
|
|
1075
|
+
type: array
|
|
1076
|
+
required: false
|
|
1077
|
+
items:
|
|
1078
|
+
type: string
|
|
1079
|
+
(oas-collectionFormat): csv
|
|
744
1080
|
search:
|
|
745
1081
|
description: Search String
|
|
746
1082
|
type: string
|