@salesforce/lds-adapters-platform-slack-bridge 0.1.0-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-slack-bridge.js +10952 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
  5. package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessage.d.ts +16 -0
  6. package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessageReactions.d.ts +17 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +37 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfo.d.ts +29 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfos.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMember.d.ts +30 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMembers.d.ts +29 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +26 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getSlackEmoji.d.ts +29 -0
  15. package/dist/es/es2018/types/src/generated/adapters/getSlackEmojis.d.ts +28 -0
  16. package/dist/es/es2018/types/src/generated/adapters/getSlackMessage.d.ts +30 -0
  17. package/dist/es/es2018/types/src/generated/adapters/getSlackRecordChannelInfo.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchEmoji.d.ts +28 -0
  20. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +31 -0
  22. package/dist/es/es2018/types/src/generated/adapters/getSlackUser.d.ts +29 -0
  23. package/dist/es/es2018/types/src/generated/adapters/openSlackConversation.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/adapters/patchSlackMessage.d.ts +18 -0
  25. package/dist/es/es2018/types/src/generated/adapters/postSlackConversation.d.ts +20 -0
  26. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -0
  27. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -0
  28. package/dist/es/es2018/types/src/generated/adapters/postSlackFile.d.ts +22 -0
  29. package/dist/es/es2018/types/src/generated/adapters/postSlackMessageReactions.d.ts +18 -0
  30. package/dist/es/es2018/types/src/generated/adapters/postSlackRecordChannelInfos.d.ts +18 -0
  31. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +27 -0
  32. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +51 -0
  33. package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
  34. package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +14 -0
  35. package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
  36. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +25 -0
  37. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -0
  38. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -0
  39. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +12 -0
  40. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +18 -0
  41. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +17 -0
  42. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +18 -0
  43. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
  44. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId.d.ts +17 -0
  45. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByTeamId.d.ts +18 -0
  46. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
  47. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +18 -0
  48. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
  49. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchEmojisByTeamId.d.ts +18 -0
  50. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
  51. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +21 -0
  52. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamUserBySlackUserIdAndTeamId.d.ts +17 -0
  53. package/dist/es/es2018/types/src/generated/resources/patchConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
  54. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts +17 -0
  55. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationOpen.d.ts +15 -0
  56. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeFiles.d.ts +19 -0
  57. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
  58. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
  59. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
  60. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
  61. package/dist/es/es2018/types/src/generated/types/SlackBridgeContentDocumentOutputRepresentation.d.ts +40 -0
  62. package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +44 -0
  63. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +53 -0
  64. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +111 -0
  65. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +41 -0
  66. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -0
  67. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
  68. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMemberOutputRepresentation.d.ts +40 -0
  69. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersInputRepresentation.d.ts +28 -0
  70. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersOutputRepresentation.d.ts +43 -0
  71. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenInputRepresentation.d.ts +37 -0
  72. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenOutputRepresentation.d.ts +38 -0
  73. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +82 -0
  74. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationPropertiesOutputRepresentation.d.ts +41 -0
  75. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationRestrictionsOutputRepresentation.d.ts +31 -0
  76. package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginRepresentation.d.ts +33 -0
  77. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +54 -0
  78. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
  79. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +38 -0
  80. package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
  81. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileInputRepresentation.d.ts +49 -0
  82. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +143 -0
  83. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileTypeOutputRepresentation.d.ts +31 -0
  84. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultOutputRepresentation.d.ts +35 -0
  85. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultsOutputRepresentation.d.ts +33 -0
  86. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageFragmentOutputRepresentation.d.ts +43 -0
  87. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +116 -0
  88. package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts +43 -0
  89. package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageOutputRepresentation.d.ts +53 -0
  90. package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageReactionInputRepresentation.d.ts +28 -0
  91. package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +37 -0
  92. package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionsOutputRepresentation.d.ts +47 -0
  93. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoInputRepresentation.d.ts +36 -0
  94. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoOutputRepresentation.d.ts +53 -0
  95. package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +48 -0
  96. package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts +38 -0
  97. package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdateMessageInputRepresentation.d.ts +28 -0
  98. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +130 -0
  99. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +44 -0
  100. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  101. package/package.json +66 -0
  102. package/sfdc/index.d.ts +1 -0
  103. package/sfdc/index.js +11461 -0
  104. package/src/raml/api.raml +1520 -0
  105. package/src/raml/luvio.raml +200 -0
@@ -0,0 +1,1520 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '65.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v66.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 | nil
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 | nil
69
+ SlackBridgeConversationHistoryOutputRepresentation:
70
+ description: Contains the details of segment of a Slack conversation's history
71
+ type: object
72
+ properties:
73
+ centerHasMoreLatest:
74
+ description: Does this conversation have more messages later than the provided center timestamp?
75
+ required: false
76
+ type: boolean | nil
77
+ centerHasMoreOldest:
78
+ description: Does this conversation have more messages older than the provided center timestamp?
79
+ required: false
80
+ type: boolean | nil
81
+ hasMore:
82
+ description: Does this conversation have more messages to retrieve?
83
+ type: boolean | nil
84
+ messages:
85
+ description: List of Slack messages
86
+ type: array
87
+ items:
88
+ type: SlackBridgeMessageOutputRepresentation
89
+ nextCursor:
90
+ description: Used to paginate to the next page by passing this value as the
91
+ cursor parameter in a subsequent request
92
+ type: string | nil
93
+ unreadCountDisplay:
94
+ description: Number of messages the current user has not read
95
+ and did not author
96
+ required: false
97
+ type: integer | nil
98
+ SlackBridgeConversationInfoOutputRepresentation:
99
+ description: Contains the conversation info
100
+ type: object
101
+ properties:
102
+ conversationHostId:
103
+ description: The conversation host id
104
+ type: string | nil
105
+ id:
106
+ description: Id of the Conversation
107
+ type: string
108
+ isArchived:
109
+ description: Is this conversation archived?
110
+ type: boolean | nil
111
+ isChannel:
112
+ description: Is this a channel?
113
+ type: boolean | nil
114
+ isCustomEmojiSupported:
115
+ description: Is Custom Emoji supported?
116
+ type: boolean | nil
117
+ isExtShared:
118
+ description: Is this conversation externally shared?
119
+ type: boolean | nil
120
+ isGroup:
121
+ description: Is this a group?
122
+ type: boolean | nil
123
+ isIm:
124
+ description: Is this IM?
125
+ type: boolean | nil
126
+ isMember:
127
+ description: Is the context User a member of this Conversation?
128
+ type: boolean | nil
129
+ isOpen:
130
+ description: Is this conversation open?
131
+ type: boolean | nil
132
+ isOrgShared:
133
+ description: Is this conversation org shared?
134
+ type: boolean | nil
135
+ isPendingExtShared:
136
+ description: Is this conversation pending external sharing?
137
+ type: boolean | nil
138
+ isPrivate:
139
+ description: Is this conversation private?
140
+ type: boolean | nil
141
+ isReadOnly:
142
+ description: Is this conversation read-only?
143
+ type: boolean | nil
144
+ isShared:
145
+ description: Is this conversation shared?
146
+ type: boolean | nil
147
+ isThreadOnly:
148
+ description: Is this conversation thread-only?
149
+ type: boolean | nil
150
+ latest:
151
+ description: The timestamp of the last message in this conversation
152
+ required: false
153
+ type: string | nil
154
+ lastRead:
155
+ description: The timestamp of the last read message of this conversation by
156
+ the current user
157
+ type: string | nil
158
+ name:
159
+ description: Name of the Conversation
160
+ type: string
161
+ numOfMembers:
162
+ description: Number of members in the Conversation
163
+ type: integer | nil
164
+ properties:
165
+ description: The properties of the conversation
166
+ required: false
167
+ type: SlackBridgeConversationPropertiesOutputRepresentation | nil
168
+ shouldCacheCustomEmoji:
169
+ description: Should the Custom Emojis be cached?
170
+ type: boolean | nil
171
+ unreadCount:
172
+ description: Number of messages the current user has not read
173
+ required: false
174
+ type: integer | nil
175
+ unreadCountDisplay:
176
+ description: Number of messages the current user has not read
177
+ and did not author
178
+ required: false
179
+ type: integer | nil
180
+ url:
181
+ description: The URL to the channel
182
+ required: false
183
+ type: string
184
+ SlackBridgeConversationInfosOutputRepresentation:
185
+ description: Contains the list of Slack Conversation Information
186
+ type: object
187
+ properties:
188
+ conversationInfos:
189
+ description: List of Slack Conversation Information
190
+ type: array
191
+ items:
192
+ type: SlackBridgeConversationInfoOutputRepresentation
193
+ searchString:
194
+ description: String used to search this list of conversations (Optional)
195
+ type: string | nil
196
+ SlackBridgeConversationInputRepresentation:
197
+ description: Representation of a Slack conversation
198
+ type: object
199
+ properties:
200
+ isPrivate:
201
+ description: Flag indicating if the conversation is private
202
+ type: boolean
203
+ name:
204
+ description: Name of the conversation
205
+ type: string
206
+ SlackBridgeConversationMarkOutputRepresentation:
207
+ description: Representation of a successful call to update the read cursor in
208
+ a slack channel.
209
+ type: object
210
+ properties:
211
+ channelId:
212
+ description: Id of the Channel to which this message belongs
213
+ type: string
214
+ messageTs:
215
+ description: The timestamp of the message that was marked read
216
+ type: string
217
+ SlackBridgeConversationMemberOutputRepresentation:
218
+ description: Contains the details of a Slack member for the Slack conversation
219
+ type: object
220
+ properties:
221
+ channelId:
222
+ description: Id of the Channel to which this message belong to
223
+ type: string
224
+ slackUserId:
225
+ description: The Slack user Id of the member of the Slack conversation
226
+ type: string
227
+ SlackBridgeConversationMembersInputRepresentation:
228
+ description: Contains the parameters to post Slack conversation members requests
229
+ type: object
230
+ properties:
231
+ slackUserIds:
232
+ description: List of Slack user ids
233
+ type: array
234
+ items:
235
+ type: string
236
+ SlackBridgeConversationMembersOutputRepresentation:
237
+ description: Contains the details of Slack members for the Slack conversation
238
+ type: object
239
+ properties:
240
+ channelId:
241
+ description: Id of the Channel to which this message belong to
242
+ type: string
243
+ nextCursor:
244
+ description: Used to paginate to the next page by passing this value as the
245
+ cursor parameter in a subsequent request
246
+ type: string | nil
247
+ slackUserIds:
248
+ description: The Slack user Ids of the members of the Slack conversation
249
+ type: array
250
+ items:
251
+ type: string
252
+ SlackBridgeConversationOutputRepresentation:
253
+ description: Contains the details of a Slack Conversation
254
+ type: object
255
+ properties:
256
+ channelId:
257
+ description: The id of the Slack channel
258
+ type: string
259
+ channelUrl:
260
+ description: The URL to the Slack channel
261
+ type: string
262
+ contextUserInfo:
263
+ description: The Slack user information of the related context Salesforce
264
+ User who is viewing this Conversation
265
+ type: SlackBridgeUserInfoOutputRepresentation | nil
266
+ conversationInfo:
267
+ description: The full information describing this conversation
268
+ type: SlackBridgeConversationInfoOutputRepresentation | nil
269
+ conversationInfos:
270
+ description: A collection of related conversations
271
+ type: array
272
+ items:
273
+ type: SlackBridgeConversationInfoOutputRepresentation
274
+ emojis:
275
+ description: A collection of emojis used in this conversation
276
+ type: array
277
+ items:
278
+ type: SlackBridgeEmojiOutputRepresentation
279
+ history:
280
+ description: A segment of this conversation's message history, either part
281
+ of the top-level conversation or a single message's thread of replies
282
+ type: SlackBridgeConversationHistoryOutputRepresentation
283
+ teamId:
284
+ description: The id of the Slack team (Workspace or Enterprise Org) where
285
+ this conversation exists
286
+ type: string
287
+ threadTs:
288
+ description: The timestamp of a single message in the conversation whose threaded
289
+ replies should be loaded
290
+ type: string | nil
291
+ userInfos:
292
+ description: A list of Slack users that are associated with this Conversation
293
+ type: array
294
+ items:
295
+ type: SlackBridgeUserInfoOutputRepresentation
296
+ websocketUrl:
297
+ description: The websocket URL to subscribe to RTM topics associated with
298
+ the conversation
299
+ type: string | nil
300
+ SlackBridgeConversationPropertiesOutputRepresentation:
301
+ description: Properties of a conversation
302
+ type: object
303
+ properties:
304
+ atChannelRestricted:
305
+ description: Is @channel restricted
306
+ type: boolean | nil
307
+ atHereRestricted:
308
+ description: Is @here restricted
309
+ type: boolean | nil
310
+ huddlesRestricted:
311
+ description: Are huddles restricted
312
+ type: boolean | nil
313
+ postingRestrictedTo:
314
+ description: Posting restrictions
315
+ type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
316
+ threadsRestrictedTo:
317
+ description: Thread replying restrictions
318
+ type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
319
+ SlackBridgeConversationRestrictionsOutputRepresentation:
320
+ description: Restrictions on a conversation
321
+ type: object
322
+ properties:
323
+ type:
324
+ description: Types
325
+ type: array
326
+ items:
327
+ type: string
328
+ user:
329
+ description: Users
330
+ type: array
331
+ items:
332
+ type: string
333
+ SlackBridgeDisplayLoginRepresentation:
334
+ description: Contains Salesforce Org info and Slack Team info
335
+ type: object
336
+ properties:
337
+ orgId:
338
+ description: Salesforce Org Id
339
+ type: string
340
+ slackTeam:
341
+ description: Slack Team Info
342
+ type: SlackBridgeSlackTeamOutputRepresentation | nil
343
+ SlackBridgeEmojiOutputRepresentation:
344
+ description: Contains the details of a Slack Emoji
345
+ type: object
346
+ properties:
347
+ alias:
348
+ description: The alias for the emoji
349
+ type: string | nil
350
+ collectionId:
351
+ description: Ties the emoji back to its collection, if it came from one
352
+ type: string | nil
353
+ isAlias:
354
+ description: Is the emoji an alias
355
+ type: boolean | nil
356
+ name:
357
+ description: Indicates the name of the emoji, and doubles as an ID when looking
358
+ it up, as name is unique across a team/org
359
+ type: string
360
+ updated:
361
+ description: The last date the emoji name was updated
362
+ type: string | nil
363
+ value:
364
+ description: Value of the Slack Emoji. This is either a URL string, an alias
365
+ string, or an object containing both Apple and Google URL strings
366
+ type: SlackBridgeEmojiValueOutputRepresentation | nil
367
+ SlackBridgeEmojiValueOutputRepresentation:
368
+ description: Contains the details of a Slack emoji value
369
+ type: object
370
+ properties:
371
+ appleUrl:
372
+ description: Url of the emoji with Apple styles
373
+ type: string | nil
374
+ defaultValue:
375
+ description: Url of the emoji if specific Apple and Google urls are not provided
376
+ type: string | nil
377
+ googleUrl:
378
+ description: Url of the emoji with Google styles
379
+ type: string | nil
380
+ SlackBridgeEmojisOutputRepresentation:
381
+ description: Contains the list of Slack Emojis
382
+ type: object
383
+ properties:
384
+ emojis:
385
+ description: List of Slack Emoji
386
+ type: array
387
+ items:
388
+ type: SlackBridgeEmojiOutputRepresentation
389
+ SlackBridgeEnterpriseUserInfoOutputRepresentation:
390
+ description: Contains the details of Slack Enterprise User object
391
+ type: object
392
+ properties:
393
+ enterpriseId:
394
+ description: Enterprise org id
395
+ type: string
396
+ enterpriseName:
397
+ description: Enterprise org name
398
+ type: string
399
+ id:
400
+ description: Slack User id
401
+ type: string
402
+ isAdmin:
403
+ description: Is Slack User an admin?
404
+ type: boolean
405
+ isOwner:
406
+ description: Is Slack User an owner?
407
+ type: boolean
408
+ isPrimaryOwner:
409
+ description: Is Slack User aa primary owner?
410
+ type: boolean
411
+ SlackBridgeFileInputRepresentation:
412
+ description: Contains the parameters to upload a file to Slack
413
+ type: object
414
+ properties:
415
+ base64EncodedFileData:
416
+ description: File contents via `multipart/form-data`. If omitting this parameter,
417
+ you must submit `content`.
418
+ type: string
419
+ channels:
420
+ description: Comma-separated list of channel names or IDs where the file will
421
+ be shared.
422
+ type: array
423
+ items:
424
+ type: string
425
+ fileName:
426
+ description: Filename of file.
427
+ type: string
428
+ fileType:
429
+ description: A [file type](https://api.slack.com/types/file#file_types) identifier.
430
+ type: string
431
+ initialComment:
432
+ description: Initial comment to add to file.
433
+ type: string
434
+ teamId:
435
+ description: Workspace where the message should be posted
436
+ type: string
437
+ threadTs:
438
+ description: Time stamp of the Parent message (in case of reply)
439
+ type: string
440
+ title:
441
+ description: Title of file.
442
+ type: string
443
+ SlackBridgeFileOutputRepresentation:
444
+ description: Contains the details of a Slack file
445
+ type: object
446
+ properties:
447
+ contentDocument:
448
+ description: Content Document data
449
+ type: SlackBridgeContentDocumentOutputRepresentation | nil
450
+ filetype:
451
+ description: Type of the File
452
+ type: string
453
+ id:
454
+ description: Slack Id of the File
455
+ type: string
456
+ mimetype:
457
+ description: Mime type of the File
458
+ type: string
459
+ name:
460
+ description: Name of the File
461
+ type: string
462
+ prettyType:
463
+ description: Pretty type of the File
464
+ type: string | nil
465
+ size:
466
+ description: Size of the File
467
+ type: integer | nil
468
+ slackPermalink:
469
+ description: Slack Permalink for the File
470
+ type: string
471
+ thumb1024:
472
+ description: Thumbnail URL (1024 height)
473
+ type: string | nil
474
+ thumb1024H:
475
+ description: Thumbnail 1024 height
476
+ type: integer | nil
477
+ thumb1024W:
478
+ description: Thumbnail 1024 width
479
+ type: integer | nil
480
+ thumb360:
481
+ description: Thumbnail URL (360 height)
482
+ type: string | nil
483
+ thumb360H:
484
+ description: Thumbnail 360 height
485
+ type: integer | nil
486
+ thumb360W:
487
+ description: Thumbnail 360 width
488
+ type: integer | nil
489
+ thumb480:
490
+ description: Thumbnail URL (480 height)
491
+ type: string | nil
492
+ thumb480H:
493
+ description: Thumbnail 480 height
494
+ type: integer | nil
495
+ thumb480W:
496
+ description: Thumbnail 480 width
497
+ type: integer | nil
498
+ thumb64:
499
+ description: Thumbnail URL (64 height)
500
+ type: string | nil
501
+ thumb720:
502
+ description: Thumbnail URL (720 height)
503
+ type: string | nil
504
+ thumb720H:
505
+ description: Thumbnail 720 height
506
+ type: integer | nil
507
+ thumb720W:
508
+ description: Thumbnail 720 width
509
+ type: integer | nil
510
+ thumb80:
511
+ description: Thumbnail URL (80 height)
512
+ type: string | nil
513
+ thumb800:
514
+ description: Thumbnail URL (800 height)
515
+ type: string | nil
516
+ thumb800H:
517
+ description: Thumbnail 800 height
518
+ type: integer | nil
519
+ thumb800W:
520
+ description: Thumbnail 800 width
521
+ type: integer | nil
522
+ thumb960:
523
+ description: Thumbnail URL (960 height)
524
+ type: string | nil
525
+ thumbPdf:
526
+ description: PDF thumbnail URL
527
+ type: string | nil
528
+ thumbPdfH:
529
+ description: PDF thumbnail height
530
+ type: integer | nil
531
+ thumbPdfW:
532
+ description: PDF thumbnail width
533
+ type: integer | nil
534
+ thumbVideo:
535
+ description: Video thumbnail
536
+ type: string | nil
537
+ thumbVideoHeight:
538
+ description: Video thumbnail height
539
+ type: integer | nil
540
+ thumbVideoWidth:
541
+ description: Video thumbnail width
542
+ type: integer | nil
543
+ title:
544
+ description: Title of the File
545
+ type: string
546
+ token:
547
+ description: Token used for the File
548
+ type: string | nil
549
+ uniqueKey:
550
+ description: Unique Key for the File
551
+ type: string | nil
552
+ url:
553
+ description: Slack web URL for the File
554
+ type: string | nil
555
+ SlackBridgeFileTypeOutputRepresentation:
556
+ description: Contains the details of FileType
557
+ type: object
558
+ properties:
559
+ extension:
560
+ description: Extension of the File
561
+ type: string
562
+ iconName:
563
+ description: Icon Name of the File
564
+ type: string
565
+ SlackBridgeMPIMSearchResultOutputRepresentation:
566
+ description: Contains the search result for a single MPIM
567
+ type: object
568
+ properties:
569
+ id:
570
+ description: Id of the Conversation
571
+ type: string
572
+ members:
573
+ description: List of Slack user ids that are members of this MPIM
574
+ type: array
575
+ items:
576
+ type: string
577
+ name:
578
+ description: Name of the Conversation
579
+ type: string
580
+ SlackBridgeMPIMSearchResultsOutputRepresentation:
581
+ description: Contains the search results for a collection of MPIMs
582
+ type: object
583
+ properties:
584
+ mpims:
585
+ description: List of Slack MPIM search results
586
+ type: array
587
+ items:
588
+ type: SlackBridgeMPIMSearchResultOutputRepresentation
589
+ searchString:
590
+ description: String used to search for this list of MPIMs (Optional)
591
+ type: string | nil
592
+ SlackBridgeMessageFragmentOutputRepresentation:
593
+ description: Dummy used for RAML generation and LDS consumption
594
+ type: object
595
+ properties:
596
+ channelId:
597
+ description: The id of the Slack channel
598
+ type: string
599
+ messageTs:
600
+ description: Timestamp of the Message
601
+ type: string
602
+ teamId:
603
+ description: The id of the Slack team (Workspace or Enterprise Org) where
604
+ this conversation exists
605
+ type: string
606
+ SlackBridgeMessageOutputRepresentation:
607
+ description: Contains the details of Slack Message
608
+ type: object
609
+ properties:
610
+ attachments:
611
+ description: Message attachments
612
+ type: array
613
+ items:
614
+ type: object
615
+ properties:
616
+ //:
617
+ type: any
618
+ blocks:
619
+ description: Message blocks
620
+ type: array
621
+ items:
622
+ type: object
623
+ properties:
624
+ //:
625
+ type: any
626
+ channelId:
627
+ description: Id of the Channel to which this message belong to
628
+ type: string | nil
629
+ files:
630
+ description: List of files attached to this message
631
+ type: array
632
+ items:
633
+ type: SlackBridgeFileOutputRepresentation
634
+ icon:
635
+ description: Sender icon url for demo bot messages
636
+ type: string | nil
637
+ required: false
638
+ includesCustomEmoji:
639
+ description: Does this message includes Custom emoji?
640
+ type: boolean | nil
641
+ isBeyondFreeLimit:
642
+ description: Is this message older than the limit for free teams?
643
+ type: boolean | nil
644
+ required: false
645
+ isBroadcast:
646
+ description: Is this a reply also sent to the Channel?
647
+ type: boolean | nil
648
+ isEditable:
649
+ description: Can this message be edited?
650
+ type: boolean
651
+ isEdited:
652
+ description: Is this an edited message?
653
+ type: boolean | nil
654
+ latestReplyTimestamp:
655
+ description: Latest Reply timestamp
656
+ type: string | nil
657
+ message:
658
+ description: Content of the Message
659
+ type: string
660
+ messageTs:
661
+ description: Timestamp of the Message
662
+ type: string
663
+ reactions:
664
+ description: List of reactions added to this message
665
+ type: array
666
+ items:
667
+ type: SlackBridgeReactionOutputRepresentation
668
+ replyCount:
669
+ description: Number of replies for this message
670
+ type: integer | nil
671
+ replyUsers:
672
+ description: List of Users who replied to this message
673
+ type: array
674
+ items:
675
+ type: string
676
+ replyUsersCount:
677
+ description: Number of users who replied to this message
678
+ type: integer | nil
679
+ slackInviterId:
680
+ description: Details of the Slack User who invited the user described by slackUserId
681
+ type: string | nil
682
+ slackUserId:
683
+ description: Details of the Slack User who posted this message
684
+ type: string | nil
685
+ subtype:
686
+ description: Sub-type of Message
687
+ type: string | nil
688
+ threadTs:
689
+ description: Timestamp of the thread to which this message belong to
690
+ type: string | nil
691
+ type:
692
+ description: Type of Message
693
+ type: string | nil
694
+ url:
695
+ description: Url for this message
696
+ type: string
697
+ username:
698
+ description: Sender username for demo bot messages
699
+ type: string | nil
700
+ required: false
701
+ SlackBridgePostMessageInputRepresentation:
702
+ description: Contains the parameters to post a message to Slack
703
+ type: object
704
+ properties:
705
+ channelId:
706
+ description: Channel where the message should be posted
707
+ type: string
708
+ linkNames?:
709
+ description: Find and link channel names and usernames using the Slack ID
710
+ type: boolean
711
+ replyBroadcast?:
712
+ description: Used in conjunction with `thread_ts` and indicates whether reply
713
+ should be made visible to everyone in the channel or conversation
714
+ type: boolean
715
+ teamId:
716
+ description: Workspace where the message should be posted
717
+ type: string
718
+ text:
719
+ description: Content of the message
720
+ type: string
721
+ threadTs?:
722
+ description: Time stamp of the Parent message (in case of reply)
723
+ type: string
724
+ SlackBridgePostMessageOutputRepresentation:
725
+ description: Contains the details of message posted to Slack
726
+ type: object
727
+ properties:
728
+ channelId:
729
+ description: Id of the Channel to which this message belong to
730
+ type: string
731
+ postedMessage:
732
+ description: Message posted to Slack
733
+ type: SlackBridgeMessageOutputRepresentation
734
+ timestamp:
735
+ description: Timestamp of the message posted to Slack
736
+ type: string
737
+ SlackBridgeConversationOpenInputRepresentation:
738
+ description: Contains the parameters of the conversation to open
739
+ type: object
740
+ properties:
741
+ channel:
742
+ description: Channel id of existing DM or MPDM, optional if users is specified instead
743
+ type: string
744
+ users:
745
+ description: List of user ids for conversation to be opened
746
+ type: array
747
+ items:
748
+ type: string
749
+ preventCreation:
750
+ description: True if we don't want to create new DM/MPDM; used to check if there's an existing DM/MPDM
751
+ type: boolean
752
+ returnIm:
753
+ description: True to return full IM channel definition in response
754
+ type: boolean
755
+ SlackBridgeConversationOpenOutputRepresentation:
756
+ description: Contains the id of channel that was opened
757
+ type: object
758
+ properties:
759
+ channelId:
760
+ description: Id of the channel that was opened (existing channel if found or new channel if created)
761
+ type: string
762
+ SlackBridgePostMessageReactionInputRepresentation:
763
+ description: Contains the parameters to post or delete a reaction on Slack message
764
+ type: object
765
+ properties:
766
+ name:
767
+ description: Name of the reaction
768
+ type: string
769
+ SlackBridgeReactionOutputRepresentation:
770
+ description: Contains the details of Slack reaction
771
+ type: object
772
+ properties:
773
+ count:
774
+ description: Number of reactions
775
+ type: integer | nil
776
+ name:
777
+ description: Name of the reaction
778
+ type: string
779
+ reactedUsers:
780
+ description: Slack user ids of users who made this reaction
781
+ type: array
782
+ items:
783
+ type: string
784
+ url:
785
+ description: Url for the reaction
786
+ type: string | nil
787
+ SlackBridgeReactionsOutputRepresentation:
788
+ description: Contains the details of Slack reactions for the Slack Message
789
+ type: object
790
+ properties:
791
+ channelId:
792
+ description: The id of the Slack channel
793
+ type: string
794
+ messageTs:
795
+ description: Timestamp of the Slack message
796
+ type: string
797
+ reactions:
798
+ description: List of reactions
799
+ type: array
800
+ items:
801
+ type: SlackBridgeReactionOutputRepresentation
802
+ teamId:
803
+ description: The id of the Slack team (Workspace or Enterprise Org) where
804
+ this conversation exists
805
+ type: string
806
+ SlackBridgeRecordChannelInfoInputRepresentation:
807
+ description: Representation of a Slack record channel
808
+ type: object
809
+ properties:
810
+ conversationInfo:
811
+ description: The conversation info associated with the record
812
+ type: object
813
+ properties:
814
+ isPrivate:
815
+ description: Is this conversation private?
816
+ type: boolean
817
+ relatedRecordId:
818
+ description: The ID of the Salesforce record associated with the conversation
819
+ type: string
820
+ SlackBridgeRecordChannelInfoOutputRepresentation:
821
+ description: Representation of a Slack record channel
822
+ type: object
823
+ properties:
824
+ conversationInfo:
825
+ description: The conversation info associated with the record
826
+ type: SlackBridgeConversationInfoOutputRepresentation
827
+ relatedRecordId:
828
+ description: The ID of the Salesforce record associated with the conversation
829
+ type: string
830
+ teamId:
831
+ description: The Slack ID of the Slack team
832
+ type: string
833
+ SlackBridgeRelatedThreadsOutputRepresentation:
834
+ description: Contains the Slack Related Threads
835
+ type: object
836
+ properties:
837
+ conversations:
838
+ description: List of Slack conversation information
839
+ type: array
840
+ items:
841
+ type: SlackBridgeConversationInfoOutputRepresentation
842
+ messages:
843
+ description: List of Slack messages
844
+ type: array
845
+ items:
846
+ type: SlackBridgeMessageOutputRepresentation
847
+ teamId:
848
+ description: The id of the Slack team (Workspace or Enterprise Org) where
849
+ the related threads exist
850
+ type: string
851
+ SlackBridgeSlackTeamOutputRepresentation:
852
+ description: Contains metadata about the connected slack team
853
+ type: object
854
+ properties:
855
+ status:
856
+ description: The team connection status
857
+ type: string
858
+ teamDomain:
859
+ description: The full domain name for the connected slack team or enterprise
860
+ grid
861
+ type: string
862
+ teamId:
863
+ description: The team id
864
+ type: string
865
+ teamName:
866
+ description: The team name
867
+ type: string
868
+ SlackBridgeUpdateMessageInputRepresentation:
869
+ description: Contains the parameters to update a message to Slack
870
+ type: object
871
+ properties:
872
+ text:
873
+ description: Content of the message
874
+ type: string
875
+ SlackBridgeUserInfoOutputRepresentation:
876
+ description: Contains the details of Slack User
877
+ type: object
878
+ properties:
879
+ bot:
880
+ description: Is this a Bot User?
881
+ type: boolean
882
+ displayName:
883
+ description: Display Name of the Slack User
884
+ type: string | nil
885
+ email:
886
+ description: Email of the Slack User
887
+ type: string | nil
888
+ enterpriseUser:
889
+ description: The enterprise user mapping
890
+ required: false
891
+ type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
892
+ image24:
893
+ description: 24x24 version of the Slack User image
894
+ required: false
895
+ type: string | nil
896
+ imageOriginal:
897
+ description: Original version of the Slack User image
898
+ type: string | nil
899
+ profileImage:
900
+ description: Profile image used for this Slack user
901
+ required: false
902
+ type: string | nil
903
+ inHuddle:
904
+ description: Is this Slack User currently in a Huddle?
905
+ type: boolean | nil
906
+ isActive:
907
+ description: Is this Slack User currently active?
908
+ type: boolean | nil
909
+ isAdmin:
910
+ description: Is Slack User an admin?
911
+ type: boolean
912
+ isExternal:
913
+ description: Is Slack User external?
914
+ type: boolean | nil
915
+ isOwner:
916
+ description: Is Slack User an owner?
917
+ type: boolean
918
+ isPrimaryOwner:
919
+ description: Is Slack User aa primary owner?
920
+ type: boolean
921
+ isRestricted:
922
+ description: Is Slack User restricted?
923
+ type: boolean
924
+ isUltraRestricted:
925
+ description: Is Slack User ultra restricted?
926
+ type: boolean
927
+ isWorkflowBot:
928
+ description: Is Slack User a workflow bot?
929
+ type: boolean
930
+ isAgentforceBot:
931
+ description: Is Slack User an Agentforce bot?
932
+ type: boolean
933
+ required: false
934
+ name:
935
+ description: Name of the Slack User
936
+ type: string
937
+ profileUrl:
938
+ description: User Profile url
939
+ type: string | nil
940
+ realName:
941
+ description: Real Name of the Slack User
942
+ type: string | nil
943
+ salesforceUserId:
944
+ description: Id of the related Salesforce User mapped to the Slack User
945
+ type: string | nil
946
+ slackUserId:
947
+ description: Id of the Slack User
948
+ type: string
949
+ statusEmoji:
950
+ description: Status emoji of the Slack User
951
+ type: SlackBridgeEmojiOutputRepresentation | nil
952
+ statusMessage:
953
+ description: Status message of the Slack User
954
+ type: string | nil
955
+ teamId:
956
+ description: Slack Workspace Id
957
+ type: string | nil
958
+ title:
959
+ description: Title of the Slack User
960
+ type: string | nil
961
+ tz:
962
+ description: Time zone of the Slack user, ie. America/New_York
963
+ required: false
964
+ type: string | nil
965
+ tzLabel:
966
+ description: Time zone label of the Slack user, ie. Eastern Daylight Time
967
+ required: false
968
+ type: string | nil
969
+ SlackBridgeUserInfosOutputRepresentation:
970
+ description: Contains the list of Slack User Information
971
+ type: object
972
+ properties:
973
+ nextMarker:
974
+ description: Next marker used for pagination. (Optional)
975
+ type: string | nil
976
+ searchString:
977
+ description: String used to search this list of conversations (Optional)
978
+ type: string | nil
979
+ userInfos:
980
+ description: List of Slack User Information
981
+ type: array
982
+ items:
983
+ type: SlackBridgeUserInfoOutputRepresentation
984
+ /connect/slackbridge:
985
+ /conversation:
986
+ /messages:
987
+ get:
988
+ displayName: getSlackConversation
989
+ description: Get Slack conversation from the given Workspace and Channel
990
+ responses:
991
+ '200':
992
+ description: Success
993
+ body:
994
+ application/json:
995
+ type: SlackBridgeConversationOutputRepresentation
996
+ queryParameters:
997
+ centerMessageTs:
998
+ description: Messages before and after this Unix timestamp will be included in results.
999
+ type: string
1000
+ required: false
1001
+ channelId:
1002
+ description: Channel where the conversation exist
1003
+ type: string
1004
+ required: false
1005
+ includeView:
1006
+ description: Include the full view of the conversation.
1007
+ type: boolean
1008
+ required: false
1009
+ inclusive:
1010
+ description: Include messages with latest or oldest timestamp in results.
1011
+ Ignored unless either timestamp is specified.
1012
+ type: boolean
1013
+ required: false
1014
+ latestMessageTs:
1015
+ description: Only messages before this Unix timestamp will be included in
1016
+ results. Default is the current time.
1017
+ type: string
1018
+ required: false
1019
+ limit:
1020
+ description: The maximum number of messages to return. Fewer than the requested
1021
+ number of messages may be returned.
1022
+ type: integer
1023
+ required: false
1024
+ noEmojis:
1025
+ description: Do not search for references to custom emojis
1026
+ type: boolean
1027
+ required: false
1028
+ oldestMessageTs:
1029
+ description: Only messages after this Unix timestamp will be included in
1030
+ results. Default is the current time.
1031
+ type: string
1032
+ required: false
1033
+ parentMessageTs:
1034
+ description: Parent Message timestamp (if the message(s) belongs to a thread)
1035
+ type: string
1036
+ required: false
1037
+ relatedRecordId:
1038
+ description: Id of the record to which the Slack Conversation is related.
1039
+ type: string
1040
+ required: false
1041
+ teamId:
1042
+ description: Team or Workspace where the conversation exist
1043
+ type: string
1044
+ required: false
1045
+ post:
1046
+ displayName: postSlackConversation
1047
+ description: Request to create a Slack post
1048
+ responses:
1049
+ '200':
1050
+ description: Success
1051
+ body:
1052
+ application/json:
1053
+ type: SlackBridgePostMessageOutputRepresentation
1054
+ body:
1055
+ application/json:
1056
+ type: SlackBridgePostMessageInputRepresentation
1057
+ (oas-body-name): slackMessagePostRequest
1058
+ /open:
1059
+ post:
1060
+ displayName: openSlackConversation
1061
+ description: Request to open a Slack conversation
1062
+ responses:
1063
+ '200':
1064
+ description: Success
1065
+ body:
1066
+ application/json:
1067
+ type: SlackBridgeConversationOpenOutputRepresentation
1068
+ body:
1069
+ application/json:
1070
+ type: SlackBridgeConversationOpenInputRepresentation
1071
+ (oas-body-name): slackConversationOpenRequest
1072
+ /files:
1073
+ post:
1074
+ displayName: postSlackFile
1075
+ description: Request to upload a file to the given Slack Conversation or Thread
1076
+ responses:
1077
+ '200':
1078
+ description: Success
1079
+ body:
1080
+ application/json:
1081
+ type: SlackBridgeFileOutputRepresentation
1082
+ body:
1083
+ application/json:
1084
+ type: SlackBridgeFileInputRepresentation
1085
+ (oas-body-name): slackFileUploadRequest
1086
+ /record_channels:
1087
+ post:
1088
+ displayName: postSlackRecordChannelInfos
1089
+ description: Create a Slack record channel
1090
+ responses:
1091
+ '200':
1092
+ description: Success
1093
+ body:
1094
+ application/json:
1095
+ type: SlackBridgeRecordChannelInfoOutputRepresentation
1096
+ body:
1097
+ application/json:
1098
+ type: SlackBridgeRecordChannelInfoInputRepresentation
1099
+ (oas-body-name): slackRecordChannelInfo
1100
+ /record_channels/{relatedRecordId}:
1101
+ get:
1102
+ displayName: getSlackRecordChannelInfo
1103
+ description: Get Slack conversation from the given Workspace and Channel
1104
+ responses:
1105
+ '200':
1106
+ description: Success
1107
+ body:
1108
+ application/json:
1109
+ type: SlackBridgeRecordChannelInfoOutputRepresentation
1110
+ uriParameters:
1111
+ relatedRecordId:
1112
+ description: Id of the record to which the Slack Conversation is related.
1113
+ type: string
1114
+ required: true
1115
+ /related_threads/entity/{entityId}:
1116
+ get:
1117
+ displayName: getSlackRelatedThreads
1118
+ description: Request to get Related Threads
1119
+ responses:
1120
+ '200':
1121
+ description: Success
1122
+ body:
1123
+ application/json:
1124
+ type: SlackBridgeRelatedThreadsOutputRepresentation
1125
+ uriParameters:
1126
+ entityId:
1127
+ description: Entity ID to get related threads
1128
+ type: string
1129
+ required: true
1130
+ /slack_display_login:
1131
+ get:
1132
+ displayName: getSlackDisplayLogin
1133
+ description: Request to get Slack Login info
1134
+ responses:
1135
+ '200':
1136
+ description: Success
1137
+ body:
1138
+ application/json:
1139
+ type: SlackBridgeDisplayLoginRepresentation
1140
+ /team/{teamId}:
1141
+ /channel/{channelId}:
1142
+ /mark:
1143
+ post:
1144
+ displayName: postSlackConversationMark
1145
+ description: Request to set the read marker on a slack conversation
1146
+ responses:
1147
+ '200':
1148
+ description: Success
1149
+ body:
1150
+ application/json:
1151
+ type: SlackBridgeConversationMarkOutputRepresentation
1152
+ queryParameters:
1153
+ messageTs:
1154
+ description: The timestamp of the message being marked read.
1155
+ type: string
1156
+ #override connect api generated value
1157
+ required: true
1158
+ uriParameters:
1159
+ channelId:
1160
+ description: Id of the Slack channel where the message exists
1161
+ type: string
1162
+ required: true
1163
+ teamId:
1164
+ description: Id of the Slack team where the conversation exists
1165
+ type: string
1166
+ required: true
1167
+ /members:
1168
+ get:
1169
+ displayName: getSlackConversationMembers
1170
+ description: Request to get the members of a Slack conversation
1171
+ responses:
1172
+ '200':
1173
+ description: Success
1174
+ body:
1175
+ application/json:
1176
+ type: SlackBridgeConversationMembersOutputRepresentation
1177
+ post:
1178
+ displayName: postSlackConversationMembers
1179
+ description: Request to join the current Slack user or invite other Slack
1180
+ users to a Slack conversation
1181
+ responses:
1182
+ '200':
1183
+ description: Success
1184
+ body:
1185
+ application/json:
1186
+ type: SlackBridgeConversationMembersOutputRepresentation
1187
+ body:
1188
+ application/json:
1189
+ type: SlackBridgeConversationMembersInputRepresentation
1190
+ (oas-body-name): slackConversationMembersPostRequest
1191
+ uriParameters:
1192
+ channelId:
1193
+ description: Id of the Slack channel where the message exists
1194
+ type: string
1195
+ required: true
1196
+ teamId:
1197
+ description: Id of the Slack team where the conversation exists
1198
+ type: string
1199
+ required: true
1200
+ /members/{slackUserId}:
1201
+ delete:
1202
+ displayName: deleteSlackConversationMember
1203
+ description: Request to leave a Slack conversation or kick a member from
1204
+ a Slack conversation
1205
+ responses:
1206
+ '200':
1207
+ description: Success
1208
+ get:
1209
+ displayName: getSlackConversationMember
1210
+ description: Request to get a member of a Slack conversation
1211
+ responses:
1212
+ '200':
1213
+ description: Success
1214
+ body:
1215
+ application/json:
1216
+ type: SlackBridgeConversationMemberOutputRepresentation
1217
+ uriParameters:
1218
+ channelId:
1219
+ description: Id of the Slack channel where the message exists
1220
+ type: string
1221
+ required: true
1222
+ slackUserId:
1223
+ description: Id of the Slack member to leave or kick from the conversation
1224
+ type: string
1225
+ required: true
1226
+ teamId:
1227
+ description: Id of the Slack team where the conversation exists
1228
+ type: string
1229
+ required: true
1230
+ /messages/{messageTs}:
1231
+ delete:
1232
+ displayName: deleteSlackMessage
1233
+ description: Request to delete a Slack post
1234
+ responses:
1235
+ '200':
1236
+ description: Success
1237
+ get:
1238
+ displayName: getSlackMessage
1239
+ description: Get Slack message from the given Channel
1240
+ responses:
1241
+ '200':
1242
+ description: Success
1243
+ body:
1244
+ application/json:
1245
+ type: SlackBridgeMessageFragmentOutputRepresentation
1246
+ patch:
1247
+ displayName: patchSlackMessage
1248
+ description: Request to update a Slack post
1249
+ responses:
1250
+ '200':
1251
+ description: Success
1252
+ body:
1253
+ application/json:
1254
+ type: SlackBridgeMessageFragmentOutputRepresentation
1255
+ body:
1256
+ application/json:
1257
+ type: SlackBridgeUpdateMessageInputRepresentation
1258
+ (oas-body-name): slackMessageUpdateRequest
1259
+ uriParameters:
1260
+ channelId:
1261
+ description: Id of the Slack channel where the message exists
1262
+ type: string
1263
+ required: true
1264
+ messageTs:
1265
+ description: The timestamp of the Slack message
1266
+ type: string
1267
+ required: true
1268
+ teamId:
1269
+ description: Id of the Slack team where the conversation exists
1270
+ type: string
1271
+ required: true
1272
+ /messages/{messageTs}/reactions:
1273
+ delete:
1274
+ displayName: deleteSlackMessageReactions
1275
+ description: Request to delete a reaction on Slack message
1276
+ responses:
1277
+ '200':
1278
+ description: Success
1279
+ queryParameters:
1280
+ name:
1281
+ description: The name of the reaction to delete
1282
+ type: string
1283
+ required: false
1284
+ get:
1285
+ displayName: getSlackMessageReactions
1286
+ description: Request to get a reaction on a Slack message
1287
+ responses:
1288
+ '200':
1289
+ description: Success
1290
+ body:
1291
+ application/json:
1292
+ type: SlackBridgeReactionsOutputRepresentation
1293
+ post:
1294
+ displayName: postSlackMessageReactions
1295
+ description: Request to post a reaction on Slack message
1296
+ responses:
1297
+ '200':
1298
+ description: Success
1299
+ body:
1300
+ application/json:
1301
+ type: SlackBridgeReactionsOutputRepresentation
1302
+ queryParameters:
1303
+ name:
1304
+ description: The name of the reaction to add
1305
+ type: string
1306
+ required: false
1307
+ uriParameters:
1308
+ channelId:
1309
+ description: Id of the Slack channel where the message exists
1310
+ type: string
1311
+ required: true
1312
+ messageTs:
1313
+ description: The timestamp of the Slack message
1314
+ type: string
1315
+ required: true
1316
+ teamId:
1317
+ description: Id of the Slack team where the conversation exists
1318
+ type: string
1319
+ required: true
1320
+ /channels:
1321
+ get:
1322
+ displayName: getSlackConversationInfos
1323
+ description: Request to get a collection of a Slack conversation infos
1324
+ responses:
1325
+ '200':
1326
+ description: Success
1327
+ body:
1328
+ application/json:
1329
+ type: SlackBridgeConversationInfosOutputRepresentation
1330
+ queryParameters:
1331
+ channelIds:
1332
+ description: List of Channel Ids
1333
+ type: array
1334
+ required: true
1335
+ items:
1336
+ type: string
1337
+ (oas-collectionFormat): csv
1338
+ uriParameters:
1339
+ teamId:
1340
+ description: Id of the Slack team where the conversations exists
1341
+ type: string
1342
+ required: true
1343
+ /channels/{channelId}:
1344
+ get:
1345
+ displayName: getSlackConversationInfo
1346
+ description: Request to get a collection of a Slack conversation infos
1347
+ responses:
1348
+ '200':
1349
+ description: Success
1350
+ body:
1351
+ application/json:
1352
+ type: SlackBridgeConversationInfoOutputRepresentation
1353
+ uriParameters:
1354
+ channelId:
1355
+ description: Id of the Slack channel
1356
+ type: string
1357
+ required: true
1358
+ teamId:
1359
+ description: Id of the Slack team where the conversations exists
1360
+ type: string
1361
+ required: true
1362
+ /emojis:
1363
+ get:
1364
+ displayName: getSlackEmojis
1365
+ description: Get Slack Emojis
1366
+ responses:
1367
+ '200':
1368
+ description: Success
1369
+ body:
1370
+ application/json:
1371
+ type: SlackBridgeEmojisOutputRepresentation
1372
+ queryParameters:
1373
+ slackEmojiIds:
1374
+ description: List of Emoji Ids
1375
+ type: array
1376
+ required: true
1377
+ items:
1378
+ type: string
1379
+ (oas-collectionFormat): csv
1380
+ uriParameters:
1381
+ teamId:
1382
+ description: Team or Workspace
1383
+ type: string
1384
+ required: true
1385
+ /emojis/{slackEmojiId}:
1386
+ get:
1387
+ displayName: getSlackEmoji
1388
+ description: Get info about a Slack Emoji given a Team Id and Emoji Id
1389
+ responses:
1390
+ '200':
1391
+ description: Success
1392
+ body:
1393
+ application/json:
1394
+ type: SlackBridgeEmojiOutputRepresentation
1395
+ uriParameters:
1396
+ slackEmojiId:
1397
+ description: Id of the Slack Emoji
1398
+ type: string
1399
+ required: true
1400
+ teamId:
1401
+ description: Team or Workspace
1402
+ type: string
1403
+ required: true
1404
+ /search:
1405
+ /conversations:
1406
+ get:
1407
+ displayName: getSlackSearchConversation
1408
+ description: Search Slack Conversations
1409
+ responses:
1410
+ '200':
1411
+ description: Success
1412
+ body:
1413
+ application/json:
1414
+ type: SlackBridgeConversationInfosOutputRepresentation
1415
+ queryParameters:
1416
+ search:
1417
+ description: Search String
1418
+ type: string
1419
+ required: false
1420
+ uriParameters:
1421
+ teamId:
1422
+ description: Team or Workspace
1423
+ type: string
1424
+ required: true
1425
+ /emojis:
1426
+ get:
1427
+ displayName: getSlackSearchEmoji
1428
+ description: Search Slack Emoji
1429
+ responses:
1430
+ '200':
1431
+ description: Success
1432
+ body:
1433
+ application/json:
1434
+ type: SlackBridgeEmojisOutputRepresentation
1435
+ queryParameters:
1436
+ search:
1437
+ description: Search String
1438
+ type: string
1439
+ required: false
1440
+ uriParameters:
1441
+ teamId:
1442
+ description: Team or Workspace
1443
+ type: string
1444
+ required: true
1445
+ /mpims:
1446
+ get:
1447
+ displayName: getSlackSearchMPIMs
1448
+ description: Search Slack MPIMs
1449
+ responses:
1450
+ '200':
1451
+ description: Success
1452
+ body:
1453
+ application/json:
1454
+ type: SlackBridgeMPIMSearchResultsOutputRepresentation
1455
+ queryParameters:
1456
+ search:
1457
+ description: Search String
1458
+ type: string
1459
+ required: false
1460
+ useDisplayName:
1461
+ description: Match by user display names
1462
+ type: boolean
1463
+ required: false
1464
+ uriParameters:
1465
+ teamId:
1466
+ description: Team ID
1467
+ type: string
1468
+ required: true
1469
+ /users:
1470
+ get:
1471
+ displayName: getSlackSearchUser
1472
+ description: Search Slack User
1473
+ responses:
1474
+ '200':
1475
+ description: Success
1476
+ body:
1477
+ application/json:
1478
+ type: SlackBridgeUserInfosOutputRepresentation
1479
+ queryParameters:
1480
+ channels:
1481
+ type: array
1482
+ required: false
1483
+ items:
1484
+ type: string
1485
+ (oas-collectionFormat): csv
1486
+ filter:
1487
+ type: string
1488
+ required: false
1489
+ not_in_channels:
1490
+ type: array
1491
+ required: false
1492
+ items:
1493
+ type: string
1494
+ (oas-collectionFormat): csv
1495
+ search:
1496
+ description: Search String
1497
+ type: string
1498
+ required: false
1499
+ uriParameters:
1500
+ teamId:
1501
+ description: Team or Workspace
1502
+ type: string
1503
+ required: true
1504
+ /user/{slackUserId}:
1505
+ get:
1506
+ displayName: getSlackUser
1507
+ description: Get Slack User
1508
+ responses:
1509
+ '200':
1510
+ description: Success
1511
+ body:
1512
+ application/json:
1513
+ type: SlackBridgeUserInfoOutputRepresentation
1514
+ uriParameters:
1515
+ slackUserId:
1516
+ type: string
1517
+ required: true
1518
+ teamId:
1519
+ type: string
1520
+ required: true