@salesforce/lds-adapters-platform-slack-bridge 1.329.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-slack-bridge.js +4444 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessage.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessageReactions.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackMessage.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchEmoji.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackUser.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSlackMessage.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversation.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackFile.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackMessageReactions.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchEmojisByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamUserBySlackUserIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeFiles.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentDocumentOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +67 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +68 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileTypeOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageFragmentOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +87 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageReactionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionsOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdateMessageInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +84 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4623 -0
- package/src/raml/api.raml +778 -0
- package/src/raml/luvio.raml +88 -0
|
@@ -0,0 +1,778 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '63.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v63.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
SlackBridgeContentDocumentOutputRepresentation:
|
|
29
|
+
description: Contains the details of Content Document
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
filetype:
|
|
33
|
+
description: File type of the Content Document record
|
|
34
|
+
type: SlackBridgeFileTypeOutputRepresentation
|
|
35
|
+
id:
|
|
36
|
+
description: Id of the Content Document record
|
|
37
|
+
type: string
|
|
38
|
+
latestPublishedVersion:
|
|
39
|
+
description: Document URL for the Content Document record
|
|
40
|
+
type: SlackBridgeContentVersionOutputRepresentation
|
|
41
|
+
size:
|
|
42
|
+
description: Size of the Content Document record
|
|
43
|
+
type: integer
|
|
44
|
+
title:
|
|
45
|
+
description: Title of the Content Document record
|
|
46
|
+
type: string
|
|
47
|
+
SlackBridgeContentVersionOutputRepresentation:
|
|
48
|
+
description: Contains the details of Content Version
|
|
49
|
+
type: object
|
|
50
|
+
properties:
|
|
51
|
+
attachmentUrl:
|
|
52
|
+
description: Attachment URL for the Content Version record
|
|
53
|
+
type: string
|
|
54
|
+
filetype:
|
|
55
|
+
description: File type of the Content Version record
|
|
56
|
+
type: SlackBridgeFileTypeOutputRepresentation
|
|
57
|
+
id:
|
|
58
|
+
description: Id of the Content Version record
|
|
59
|
+
type: string
|
|
60
|
+
size:
|
|
61
|
+
description: Size of the Content Version record
|
|
62
|
+
type: integer
|
|
63
|
+
title:
|
|
64
|
+
description: Title of the Content Version record
|
|
65
|
+
type: string
|
|
66
|
+
versionUrl:
|
|
67
|
+
description: Version URL for the Content Version record
|
|
68
|
+
type: string
|
|
69
|
+
SlackBridgeConversationHistoryOutputRepresentation:
|
|
70
|
+
description: Contains the details of segment of a Slack conversation's history
|
|
71
|
+
type: object
|
|
72
|
+
properties:
|
|
73
|
+
hasMore:
|
|
74
|
+
description: Does this conversation have more messages to retrieve?
|
|
75
|
+
type: boolean
|
|
76
|
+
messages:
|
|
77
|
+
description: List of Slack messages
|
|
78
|
+
type: array
|
|
79
|
+
items:
|
|
80
|
+
type: SlackBridgeMessageOutputRepresentation
|
|
81
|
+
nextCursor:
|
|
82
|
+
description: Used to paginate to the next page by passing this value as the
|
|
83
|
+
cursor parameter in a subsequent request
|
|
84
|
+
type: string | nil
|
|
85
|
+
SlackBridgeConversationInfoOutputRepresentation:
|
|
86
|
+
description: Contains the conversation info
|
|
87
|
+
type: object
|
|
88
|
+
properties:
|
|
89
|
+
id:
|
|
90
|
+
description: Id of the Conversation
|
|
91
|
+
type: string
|
|
92
|
+
isArchived:
|
|
93
|
+
description: Is this conversation archived?
|
|
94
|
+
type: boolean
|
|
95
|
+
isChannel:
|
|
96
|
+
description: Is this a channel?
|
|
97
|
+
type: boolean
|
|
98
|
+
isCustomEmojiSupported:
|
|
99
|
+
description: Is Custom Emoji supported?
|
|
100
|
+
type: boolean | nil
|
|
101
|
+
isGroup:
|
|
102
|
+
description: Is this a group?
|
|
103
|
+
type: boolean
|
|
104
|
+
isIm:
|
|
105
|
+
description: Is this IM?
|
|
106
|
+
type: boolean
|
|
107
|
+
isMember:
|
|
108
|
+
description: Is the context User a member of this Conversation?
|
|
109
|
+
type: boolean
|
|
110
|
+
isOpen:
|
|
111
|
+
description: Is this conversation open?
|
|
112
|
+
type: boolean
|
|
113
|
+
isPrivate:
|
|
114
|
+
description: Is this conversation private?
|
|
115
|
+
type: boolean
|
|
116
|
+
isReadOnly:
|
|
117
|
+
description: Is this conversation read-only?
|
|
118
|
+
type: boolean
|
|
119
|
+
isThreadOnly:
|
|
120
|
+
description: Is this conversation thread-only?
|
|
121
|
+
type: boolean
|
|
122
|
+
name:
|
|
123
|
+
description: Name of the Conversation
|
|
124
|
+
type: string
|
|
125
|
+
numOfMembers:
|
|
126
|
+
description: Number of members in the Conversation
|
|
127
|
+
type: integer | nil
|
|
128
|
+
shouldCacheCustomEmoji:
|
|
129
|
+
description: Should the Custom Emojis be cached?
|
|
130
|
+
type: boolean | nil
|
|
131
|
+
SlackBridgeConversationInfosOutputRepresentation:
|
|
132
|
+
description: Contains the list of Slack Conversation Information
|
|
133
|
+
type: object
|
|
134
|
+
properties:
|
|
135
|
+
conversationInfos:
|
|
136
|
+
description: List of Slack Conversation Information
|
|
137
|
+
type: array
|
|
138
|
+
items:
|
|
139
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
140
|
+
searchString:
|
|
141
|
+
description: String used to search this list of conversations (Optional)
|
|
142
|
+
type: string
|
|
143
|
+
SlackBridgeConversationOutputRepresentation:
|
|
144
|
+
description: Contains the details of a Slack Conversation
|
|
145
|
+
type: object
|
|
146
|
+
properties:
|
|
147
|
+
channelId:
|
|
148
|
+
description: The id of the Slack channel
|
|
149
|
+
type: string
|
|
150
|
+
channelUrl:
|
|
151
|
+
description: The URL to the Slack channel
|
|
152
|
+
type: string
|
|
153
|
+
contextUserInfo:
|
|
154
|
+
description: The Slack user information of the related context Salesforce
|
|
155
|
+
User who is viewing this Conversation
|
|
156
|
+
type: SlackBridgeUserInfoOutputRepresentation | nil
|
|
157
|
+
conversationInfo:
|
|
158
|
+
description: The full information describing this conversation
|
|
159
|
+
type: SlackBridgeConversationInfoOutputRepresentation | nil
|
|
160
|
+
history:
|
|
161
|
+
description: A segment of this conversation's message history, either part
|
|
162
|
+
of the top-level conversation or a single message's thread of replies
|
|
163
|
+
type: SlackBridgeConversationHistoryOutputRepresentation
|
|
164
|
+
teamId:
|
|
165
|
+
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
166
|
+
this conversation exists
|
|
167
|
+
type: string
|
|
168
|
+
threadTs:
|
|
169
|
+
description: The timestamp of a single message in the conversation whose threaded
|
|
170
|
+
replies should be loaded
|
|
171
|
+
type: string | nil
|
|
172
|
+
userInfos:
|
|
173
|
+
description: A list of Slack users that are associated with this Conversation
|
|
174
|
+
type: array
|
|
175
|
+
items:
|
|
176
|
+
type: SlackBridgeUserInfoOutputRepresentation
|
|
177
|
+
SlackBridgeCustomEmojisOutputRepresentation:
|
|
178
|
+
description: Contains the Slack Custom emojis
|
|
179
|
+
type: object
|
|
180
|
+
properties:
|
|
181
|
+
customEmojis:
|
|
182
|
+
description: Custom emojis for the given Team (Slack Workspace)
|
|
183
|
+
type: object
|
|
184
|
+
properties:
|
|
185
|
+
//:
|
|
186
|
+
type: string
|
|
187
|
+
teamId:
|
|
188
|
+
description: Id of the Team (Workspace)
|
|
189
|
+
type: string
|
|
190
|
+
SlackBridgeEmojiOutputRepresentation:
|
|
191
|
+
description: Contains the details of Slack Emoji
|
|
192
|
+
type: object
|
|
193
|
+
properties:
|
|
194
|
+
altText:
|
|
195
|
+
description: Alt text for the Slack Emoji
|
|
196
|
+
type: string
|
|
197
|
+
isCustom:
|
|
198
|
+
description: Is this a custom Slack Emoji?
|
|
199
|
+
type: boolean | nil
|
|
200
|
+
name:
|
|
201
|
+
description: Name of the Slack Emoji
|
|
202
|
+
type: string
|
|
203
|
+
unicode:
|
|
204
|
+
description: Unicode for the Slack Emoji
|
|
205
|
+
type: string
|
|
206
|
+
url:
|
|
207
|
+
description: Url of the Slack Emoji
|
|
208
|
+
type: string
|
|
209
|
+
SlackBridgeEmojisOutputRepresentation:
|
|
210
|
+
description: Contains the list of Slack Emoji
|
|
211
|
+
type: object
|
|
212
|
+
properties:
|
|
213
|
+
emojis:
|
|
214
|
+
description: List of Slack Emoji
|
|
215
|
+
type: array
|
|
216
|
+
items:
|
|
217
|
+
type: SlackBridgeEmojiOutputRepresentation
|
|
218
|
+
searchString:
|
|
219
|
+
description: String used to search this list of conversations (Optional)
|
|
220
|
+
type: string
|
|
221
|
+
SlackBridgeFileInputRepresentation:
|
|
222
|
+
description: Contains the parameters to upload a file to Slack
|
|
223
|
+
type: object
|
|
224
|
+
properties:
|
|
225
|
+
base64EncodedFileData:
|
|
226
|
+
description: File contents via `multipart/form-data`. If omitting this parameter,
|
|
227
|
+
you must submit `content`.
|
|
228
|
+
type: string
|
|
229
|
+
channels:
|
|
230
|
+
description: Comma-separated list of channel names or IDs where the file will
|
|
231
|
+
be shared.
|
|
232
|
+
type: array
|
|
233
|
+
items:
|
|
234
|
+
type: string
|
|
235
|
+
fileName:
|
|
236
|
+
description: Filename of file.
|
|
237
|
+
type: string
|
|
238
|
+
fileType:
|
|
239
|
+
description: A [file type](https://api.slack.com/types/file#file_types) identifier.
|
|
240
|
+
type: string
|
|
241
|
+
initialComment:
|
|
242
|
+
description: Initial comment to add to file.
|
|
243
|
+
type: string
|
|
244
|
+
teamId:
|
|
245
|
+
description: Workspace where the message should be posted
|
|
246
|
+
type: string
|
|
247
|
+
threadTs:
|
|
248
|
+
description: Time stamp of the Parent message (in case of reply)
|
|
249
|
+
type: string
|
|
250
|
+
title:
|
|
251
|
+
description: Title of file.
|
|
252
|
+
type: string
|
|
253
|
+
SlackBridgeFileOutputRepresentation:
|
|
254
|
+
description: Contains the details of files attached to the Slack Message
|
|
255
|
+
type: object
|
|
256
|
+
properties:
|
|
257
|
+
contentDocument:
|
|
258
|
+
description: Content Document data
|
|
259
|
+
type: SlackBridgeContentDocumentOutputRepresentation
|
|
260
|
+
filetype:
|
|
261
|
+
description: Type of the File
|
|
262
|
+
type: string
|
|
263
|
+
id:
|
|
264
|
+
description: Slack Id of the File
|
|
265
|
+
type: string
|
|
266
|
+
mimetype:
|
|
267
|
+
description: Mime type of the File
|
|
268
|
+
type: string
|
|
269
|
+
name:
|
|
270
|
+
description: Name of the File
|
|
271
|
+
type: string
|
|
272
|
+
size:
|
|
273
|
+
description: Size of the File
|
|
274
|
+
type: integer
|
|
275
|
+
slackPermalink:
|
|
276
|
+
description: Slack Permalink for the File
|
|
277
|
+
type: string
|
|
278
|
+
title:
|
|
279
|
+
description: Title of the File
|
|
280
|
+
type: string
|
|
281
|
+
token:
|
|
282
|
+
description: Token used for the File
|
|
283
|
+
type: string
|
|
284
|
+
uniqueKey:
|
|
285
|
+
description: Unique Key for the File
|
|
286
|
+
type: string
|
|
287
|
+
url:
|
|
288
|
+
description: Slack web URL for the File
|
|
289
|
+
type: string
|
|
290
|
+
SlackBridgeFileTypeOutputRepresentation:
|
|
291
|
+
description: Contains the details of FileType
|
|
292
|
+
type: object
|
|
293
|
+
properties:
|
|
294
|
+
extension:
|
|
295
|
+
description: Extension of the File
|
|
296
|
+
type: string
|
|
297
|
+
iconName:
|
|
298
|
+
description: Icon Name of the File
|
|
299
|
+
type: string
|
|
300
|
+
SlackBridgeMessageFragmentOutputRepresentation:
|
|
301
|
+
description: Dummy used for RAML generation and LDS consumption
|
|
302
|
+
type: object
|
|
303
|
+
properties:
|
|
304
|
+
channelId:
|
|
305
|
+
description: The id of the Slack channel
|
|
306
|
+
type: string
|
|
307
|
+
messageTs:
|
|
308
|
+
description: Timestamp of the Message
|
|
309
|
+
type: string
|
|
310
|
+
teamId:
|
|
311
|
+
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
312
|
+
this conversation exists
|
|
313
|
+
type: string
|
|
314
|
+
SlackBridgeMessageOutputRepresentation:
|
|
315
|
+
description: Contains the details of Slack Message
|
|
316
|
+
type: object
|
|
317
|
+
properties:
|
|
318
|
+
files:
|
|
319
|
+
description: List of files attached to this message
|
|
320
|
+
type: array
|
|
321
|
+
items:
|
|
322
|
+
type: SlackBridgeFileOutputRepresentation
|
|
323
|
+
includesCustomEmoji:
|
|
324
|
+
description: Does this message includes Custom emoji?
|
|
325
|
+
type: boolean | nil
|
|
326
|
+
isBroadcast:
|
|
327
|
+
description: Is this a reply also sent to the Channel?
|
|
328
|
+
type: boolean
|
|
329
|
+
isEditable:
|
|
330
|
+
description: Can this message be edited?
|
|
331
|
+
type: boolean
|
|
332
|
+
isEdited:
|
|
333
|
+
description: Is this an edited message?
|
|
334
|
+
type: boolean
|
|
335
|
+
latestReplyTimestamp:
|
|
336
|
+
description: Latest Reply timestamp
|
|
337
|
+
type: string | nil
|
|
338
|
+
message:
|
|
339
|
+
description: Content of the Message
|
|
340
|
+
type: string
|
|
341
|
+
messageTs:
|
|
342
|
+
description: Timestamp of the Message
|
|
343
|
+
type: string
|
|
344
|
+
reactions:
|
|
345
|
+
description: List of reactions added to this message
|
|
346
|
+
type: array
|
|
347
|
+
items:
|
|
348
|
+
type: SlackBridgeReactionOutputRepresentation
|
|
349
|
+
replyCount:
|
|
350
|
+
description: Number of replies for this message
|
|
351
|
+
type: integer | nil
|
|
352
|
+
replyUsers:
|
|
353
|
+
description: List of Users who replied to this message
|
|
354
|
+
type: array
|
|
355
|
+
items:
|
|
356
|
+
type: string
|
|
357
|
+
replyUsersCount:
|
|
358
|
+
description: Number of users who replied to this message
|
|
359
|
+
type: integer | nil
|
|
360
|
+
slackUserId:
|
|
361
|
+
description: Details of the Slack User who posted this message
|
|
362
|
+
type: string
|
|
363
|
+
subtype:
|
|
364
|
+
description: Sub-type of Message
|
|
365
|
+
type: string | nil
|
|
366
|
+
threadTs:
|
|
367
|
+
description: Timestamp of the thread to which this message belong to
|
|
368
|
+
type: string | nil
|
|
369
|
+
type:
|
|
370
|
+
description: Type of Message
|
|
371
|
+
type: string
|
|
372
|
+
url:
|
|
373
|
+
description: Url for this message
|
|
374
|
+
type: string
|
|
375
|
+
SlackBridgePostMessageInputRepresentation:
|
|
376
|
+
description: Contains the parameters to post a message to Slack
|
|
377
|
+
type: object
|
|
378
|
+
properties:
|
|
379
|
+
channelId:
|
|
380
|
+
description: Channel where the message should be posted
|
|
381
|
+
type: string
|
|
382
|
+
linkNames:
|
|
383
|
+
description: Find and link channel names and usernames using the Slack ID
|
|
384
|
+
type: boolean
|
|
385
|
+
replyBroadcast:
|
|
386
|
+
description: Used in conjunction with `thread_ts` and indicates whether reply
|
|
387
|
+
should be made visible to everyone in the channel or conversation
|
|
388
|
+
type: boolean
|
|
389
|
+
teamId:
|
|
390
|
+
description: Workspace where the message should be posted
|
|
391
|
+
type: string
|
|
392
|
+
text:
|
|
393
|
+
description: Content of the message
|
|
394
|
+
type: string
|
|
395
|
+
threadTs:
|
|
396
|
+
description: Time stamp of the Parent message (in case of reply)
|
|
397
|
+
type: string
|
|
398
|
+
SlackBridgePostMessageOutputRepresentation:
|
|
399
|
+
description: Contains the details of message posted to Slack
|
|
400
|
+
type: object
|
|
401
|
+
properties:
|
|
402
|
+
channelId:
|
|
403
|
+
description: Id of the Channel to which this message belong to
|
|
404
|
+
type: string
|
|
405
|
+
postedMessage:
|
|
406
|
+
description: Message posted to Slack
|
|
407
|
+
type: SlackBridgeMessageOutputRepresentation
|
|
408
|
+
timestamp:
|
|
409
|
+
description: Timestamp of the message posted to Slack
|
|
410
|
+
type: string
|
|
411
|
+
SlackBridgePostMessageReactionInputRepresentation:
|
|
412
|
+
description: Contains the parameters to post or delete a reaction on Slack message
|
|
413
|
+
type: object
|
|
414
|
+
properties:
|
|
415
|
+
name:
|
|
416
|
+
description: Name of the reaction
|
|
417
|
+
type: string
|
|
418
|
+
SlackBridgeReactionOutputRepresentation:
|
|
419
|
+
description: Contains the details of Slack reaction
|
|
420
|
+
type: object
|
|
421
|
+
properties:
|
|
422
|
+
count:
|
|
423
|
+
description: Number of reactions
|
|
424
|
+
type: integer
|
|
425
|
+
name:
|
|
426
|
+
description: Name of the reaction
|
|
427
|
+
type: string
|
|
428
|
+
reactedUsers:
|
|
429
|
+
description: Slack user ids of users who made this reaction
|
|
430
|
+
type: array
|
|
431
|
+
items:
|
|
432
|
+
type: string
|
|
433
|
+
url:
|
|
434
|
+
description: Url for the reaction
|
|
435
|
+
type: string | nil
|
|
436
|
+
SlackBridgeReactionsOutputRepresentation:
|
|
437
|
+
description: Contains the details of Slack reactions for the Slack Message
|
|
438
|
+
type: object
|
|
439
|
+
properties:
|
|
440
|
+
channelId:
|
|
441
|
+
description: The id of the Slack channel
|
|
442
|
+
type: string
|
|
443
|
+
messageTs:
|
|
444
|
+
description: Timestamp of the Slack message
|
|
445
|
+
type: string
|
|
446
|
+
reactions:
|
|
447
|
+
description: List of reactions
|
|
448
|
+
type: array
|
|
449
|
+
items:
|
|
450
|
+
type: SlackBridgeReactionOutputRepresentation
|
|
451
|
+
teamId:
|
|
452
|
+
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
453
|
+
this conversation exists
|
|
454
|
+
type: string
|
|
455
|
+
SlackBridgeUpdateMessageInputRepresentation:
|
|
456
|
+
description: Contains the parameters to update a message to Slack
|
|
457
|
+
type: object
|
|
458
|
+
properties:
|
|
459
|
+
text:
|
|
460
|
+
description: Content of the message
|
|
461
|
+
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
|
+
SlackBridgeUserInfoOutputRepresentation:
|
|
476
|
+
description: Contains the details of Slack User
|
|
477
|
+
type: object
|
|
478
|
+
properties:
|
|
479
|
+
bot:
|
|
480
|
+
description: Is this a Bot User?
|
|
481
|
+
type: boolean
|
|
482
|
+
displayName:
|
|
483
|
+
description: Display Name of the Slack User
|
|
484
|
+
type: string
|
|
485
|
+
image24:
|
|
486
|
+
description: 24x24 version of the Slack User image
|
|
487
|
+
type: string
|
|
488
|
+
imageOriginal:
|
|
489
|
+
description: Original version of the Slack User image
|
|
490
|
+
type: string | nil
|
|
491
|
+
inHuddle:
|
|
492
|
+
description: Is this Slack User currently in a Huddle?
|
|
493
|
+
type: boolean | nil
|
|
494
|
+
isActive:
|
|
495
|
+
description: Is this Slack User currently active?
|
|
496
|
+
type: boolean | nil
|
|
497
|
+
isExternal:
|
|
498
|
+
description: Is Slack User external?
|
|
499
|
+
type: boolean | nil
|
|
500
|
+
name:
|
|
501
|
+
description: Name of the Slack User
|
|
502
|
+
type: string
|
|
503
|
+
profileUrl:
|
|
504
|
+
description: User Profile url
|
|
505
|
+
type: string | nil
|
|
506
|
+
realName:
|
|
507
|
+
description: Real Name of the Slack User
|
|
508
|
+
type: string
|
|
509
|
+
salesforceUserId:
|
|
510
|
+
description: Id of the related Salesforce User mapped to the Slack User
|
|
511
|
+
type: string | nil
|
|
512
|
+
slackUserId:
|
|
513
|
+
description: Id of the Slack User
|
|
514
|
+
type: string
|
|
515
|
+
statusEmoji:
|
|
516
|
+
description: Status emoji of the Slack User
|
|
517
|
+
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
518
|
+
statusMessage:
|
|
519
|
+
description: Status message of the Slack User
|
|
520
|
+
type: string
|
|
521
|
+
teamId:
|
|
522
|
+
description: Slack Workspace Id
|
|
523
|
+
type: string
|
|
524
|
+
SlackBridgeUserInfosOutputRepresentation:
|
|
525
|
+
description: Contains the list of Slack User Information
|
|
526
|
+
type: object
|
|
527
|
+
properties:
|
|
528
|
+
searchString:
|
|
529
|
+
description: String used to search this list of conversations (Optional)
|
|
530
|
+
type: string
|
|
531
|
+
userInfos:
|
|
532
|
+
description: List of Slack User Information
|
|
533
|
+
type: array
|
|
534
|
+
items:
|
|
535
|
+
type: SlackBridgeUserInfoOutputRepresentation
|
|
536
|
+
/connect/slackbridge:
|
|
537
|
+
/conversation/messages:
|
|
538
|
+
get:
|
|
539
|
+
displayName: getSlackConversation
|
|
540
|
+
description: Get Slack conversation from the given Workspace and Channel
|
|
541
|
+
responses:
|
|
542
|
+
'200':
|
|
543
|
+
description: Success
|
|
544
|
+
body:
|
|
545
|
+
application/json:
|
|
546
|
+
type: SlackBridgeConversationOutputRepresentation
|
|
547
|
+
queryParameters:
|
|
548
|
+
channelId:
|
|
549
|
+
description: Channel where the conversation exist
|
|
550
|
+
type: string
|
|
551
|
+
required: false
|
|
552
|
+
includeView:
|
|
553
|
+
description: Include the full view of the conversation.
|
|
554
|
+
type: boolean
|
|
555
|
+
required: false
|
|
556
|
+
inclusive:
|
|
557
|
+
description: Include messages with latest or oldest timestamp in results.
|
|
558
|
+
Ignored unless either timestamp is specified.
|
|
559
|
+
type: boolean
|
|
560
|
+
required: false
|
|
561
|
+
latestMessageTs:
|
|
562
|
+
description: Only messages before this Unix timestamp will be included in
|
|
563
|
+
results. Default is the current time.
|
|
564
|
+
type: string
|
|
565
|
+
required: false
|
|
566
|
+
limit:
|
|
567
|
+
description: The maximum number of messages to return. Fewer than the requested
|
|
568
|
+
number of messages may be returned.
|
|
569
|
+
type: integer
|
|
570
|
+
required: false
|
|
571
|
+
oldestMessageTs:
|
|
572
|
+
description: Only messages after this Unix timestamp will be included in
|
|
573
|
+
results. Default is the current time.
|
|
574
|
+
type: string
|
|
575
|
+
required: false
|
|
576
|
+
parentMessageTs:
|
|
577
|
+
description: Parent Message timestamp (if the message(s) belongs to a thread)
|
|
578
|
+
type: string
|
|
579
|
+
required: false
|
|
580
|
+
relatedRecordId:
|
|
581
|
+
description: Id of the record to which the Slack Conversation is related.
|
|
582
|
+
type: string
|
|
583
|
+
required: false
|
|
584
|
+
teamId:
|
|
585
|
+
description: Team or Workspace where the conversation exist
|
|
586
|
+
type: string
|
|
587
|
+
required: false
|
|
588
|
+
post:
|
|
589
|
+
displayName: postSlackConversation
|
|
590
|
+
description: Request to create a Slack post
|
|
591
|
+
responses:
|
|
592
|
+
'200':
|
|
593
|
+
description: Success
|
|
594
|
+
body:
|
|
595
|
+
application/json:
|
|
596
|
+
type: SlackBridgePostMessageOutputRepresentation
|
|
597
|
+
body:
|
|
598
|
+
application/json:
|
|
599
|
+
type: SlackBridgePostMessageInputRepresentation
|
|
600
|
+
(oas-body-name): slackMessagePostRequest
|
|
601
|
+
/files:
|
|
602
|
+
post:
|
|
603
|
+
displayName: postSlackFile
|
|
604
|
+
description: Request to upload a file to the given Slack Conversation or Thread
|
|
605
|
+
responses:
|
|
606
|
+
'200':
|
|
607
|
+
description: Success
|
|
608
|
+
body:
|
|
609
|
+
application/json:
|
|
610
|
+
type: SlackBridgeFileOutputRepresentation
|
|
611
|
+
body:
|
|
612
|
+
application/json:
|
|
613
|
+
type: SlackBridgeFileInputRepresentation
|
|
614
|
+
(oas-body-name): slackFileUploadRequest
|
|
615
|
+
/team/{teamId}:
|
|
616
|
+
/channel/{channelId}/messages/{messageTs}:
|
|
617
|
+
delete:
|
|
618
|
+
displayName: deleteSlackMessage
|
|
619
|
+
description: Request to delete a Slack post
|
|
620
|
+
responses:
|
|
621
|
+
'200':
|
|
622
|
+
description: Success
|
|
623
|
+
get:
|
|
624
|
+
displayName: getSlackMessage
|
|
625
|
+
description: Get Slack message from the given Channel
|
|
626
|
+
responses:
|
|
627
|
+
'200':
|
|
628
|
+
description: Success
|
|
629
|
+
body:
|
|
630
|
+
application/json:
|
|
631
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
632
|
+
patch:
|
|
633
|
+
displayName: patchSlackMessage
|
|
634
|
+
description: Request to update a Slack post
|
|
635
|
+
responses:
|
|
636
|
+
'200':
|
|
637
|
+
description: Success
|
|
638
|
+
body:
|
|
639
|
+
application/json:
|
|
640
|
+
type: SlackBridgeMessageFragmentOutputRepresentation
|
|
641
|
+
body:
|
|
642
|
+
application/json:
|
|
643
|
+
type: SlackBridgeUpdateMessageInputRepresentation
|
|
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
|
|
668
|
+
type: string
|
|
669
|
+
required: false
|
|
670
|
+
get:
|
|
671
|
+
displayName: getSlackMessageReactions
|
|
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
|
|
691
|
+
type: string
|
|
692
|
+
required: false
|
|
693
|
+
uriParameters:
|
|
694
|
+
channelId:
|
|
695
|
+
description: Id of the Slack channel where the message exists
|
|
696
|
+
type: string
|
|
697
|
+
required: true
|
|
698
|
+
messageTs:
|
|
699
|
+
description: The timestamp of the Slack message
|
|
700
|
+
type: string
|
|
701
|
+
required: true
|
|
702
|
+
teamId:
|
|
703
|
+
description: Id of the Slack team where the conversation exists
|
|
704
|
+
type: string
|
|
705
|
+
required: true
|
|
706
|
+
/emojis:
|
|
707
|
+
get:
|
|
708
|
+
displayName: getSlackCustomEmoji
|
|
709
|
+
description: Get Slack Custom Emojis
|
|
710
|
+
responses:
|
|
711
|
+
'200':
|
|
712
|
+
description: Success
|
|
713
|
+
body:
|
|
714
|
+
application/json:
|
|
715
|
+
type: SlackBridgeCustomEmojisOutputRepresentation
|
|
716
|
+
uriParameters:
|
|
717
|
+
teamId:
|
|
718
|
+
description: Team or Workspace
|
|
719
|
+
type: string
|
|
720
|
+
required: true
|
|
721
|
+
/search:
|
|
722
|
+
/emojis:
|
|
723
|
+
get:
|
|
724
|
+
displayName: getSlackSearchEmoji
|
|
725
|
+
description: Search Slack Emoji
|
|
726
|
+
responses:
|
|
727
|
+
'200':
|
|
728
|
+
description: Success
|
|
729
|
+
body:
|
|
730
|
+
application/json:
|
|
731
|
+
type: SlackBridgeEmojisOutputRepresentation
|
|
732
|
+
queryParameters:
|
|
733
|
+
search:
|
|
734
|
+
description: Search String
|
|
735
|
+
type: string
|
|
736
|
+
required: false
|
|
737
|
+
uriParameters:
|
|
738
|
+
teamId:
|
|
739
|
+
description: Team or Workspace
|
|
740
|
+
type: string
|
|
741
|
+
required: true
|
|
742
|
+
/users:
|
|
743
|
+
get:
|
|
744
|
+
displayName: getSlackSearchUser
|
|
745
|
+
description: Search Slack User
|
|
746
|
+
responses:
|
|
747
|
+
'200':
|
|
748
|
+
description: Success
|
|
749
|
+
body:
|
|
750
|
+
application/json:
|
|
751
|
+
type: SlackBridgeUserInfosOutputRepresentation
|
|
752
|
+
queryParameters:
|
|
753
|
+
search:
|
|
754
|
+
description: Search String
|
|
755
|
+
type: string
|
|
756
|
+
required: false
|
|
757
|
+
uriParameters:
|
|
758
|
+
teamId:
|
|
759
|
+
description: Team or Workspace
|
|
760
|
+
type: string
|
|
761
|
+
required: true
|
|
762
|
+
/user/{slackUserId}:
|
|
763
|
+
get:
|
|
764
|
+
displayName: getSlackUser
|
|
765
|
+
description: Get Slack User
|
|
766
|
+
responses:
|
|
767
|
+
'200':
|
|
768
|
+
description: Success
|
|
769
|
+
body:
|
|
770
|
+
application/json:
|
|
771
|
+
type: SlackBridgeUserInfoOutputRepresentation
|
|
772
|
+
uriParameters:
|
|
773
|
+
slackUserId:
|
|
774
|
+
type: string
|
|
775
|
+
required: true
|
|
776
|
+
teamId:
|
|
777
|
+
type: string
|
|
778
|
+
required: true
|