@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev1 → 1.354.0-dev10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '63.0'
5
+ version: '64.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -217,6 +217,16 @@ types:
217
217
  conversationInfo:
218
218
  description: The full information describing this conversation
219
219
  type: SlackBridgeConversationInfoOutputRepresentation | nil
220
+ conversationInfos:
221
+ description: A collection of related conversations
222
+ type: array
223
+ items:
224
+ type: SlackBridgeConversationInfoOutputRepresentation
225
+ emojis:
226
+ description: A collection of emojis used in this conversation
227
+ type: array
228
+ items:
229
+ type: SlackBridgeEmojiOutputRepresentation
220
230
  history:
221
231
  description: A segment of this conversation's message history, either part
222
232
  of the top-level conversation or a single message's thread of replies
@@ -327,7 +337,7 @@ types:
327
337
  description: Title of file.
328
338
  type: string
329
339
  SlackBridgeFileOutputRepresentation:
330
- description: Contains the details of files attached to the Slack Message
340
+ description: Contains the details of a Slack file
331
341
  type: object
332
342
  properties:
333
343
  contentDocument:
@@ -351,6 +361,30 @@ types:
351
361
  slackPermalink:
352
362
  description: Slack Permalink for the File
353
363
  type: string
364
+ thumb1024:
365
+ description: Thumbnail URL (1024 height)
366
+ type: string | nil
367
+ thumb360:
368
+ description: Thumbnail URL (360 height)
369
+ type: string | nil
370
+ thumb480:
371
+ description: Thumbnail URL (480 height)
372
+ type: string | nil
373
+ thumb720:
374
+ description: Thumbnail URL (720 height)
375
+ type: string | nil
376
+ thumb960:
377
+ description: Thumbnail URL (960 height)
378
+ type: string | nil
379
+ thumbVideo:
380
+ description: Video thumbnail
381
+ type: string | nil
382
+ thumbVideoHeight:
383
+ description: Video thumbnail height
384
+ type: integer | nil
385
+ thumbVideoWidth:
386
+ description: Video thumbnail width
387
+ type: integer | nil
354
388
  title:
355
389
  description: Title of the File
356
390
  type: string
@@ -676,14 +710,25 @@ types:
676
710
  type: string | nil
677
711
  teamId:
678
712
  description: Slack Workspace Id
679
- type: string
713
+ type: string | nil
680
714
  title:
681
715
  description: Title of the Slack User
682
716
  type: string | nil
717
+ tz:
718
+ description: Time zone of the Slack user, ie. America/New_York
719
+ required: false
720
+ type: string | nil
721
+ tzLabel:
722
+ description: Time zone label of the Slack user, ie. Eastern Daylight Time
723
+ required: false
724
+ type: string | nil
683
725
  SlackBridgeUserInfosOutputRepresentation:
684
726
  description: Contains the list of Slack User Information
685
727
  type: object
686
728
  properties:
729
+ nextMarker:
730
+ description: Next marker used for pagination. (Optional)
731
+ type: string | nil
687
732
  searchString:
688
733
  description: String used to search this list of conversations (Optional)
689
734
  type: string | nil
@@ -1005,6 +1050,48 @@ types:
1005
1050
  description: Id of the Slack team where the conversation exists
1006
1051
  type: string
1007
1052
  required: true
1053
+ /channels:
1054
+ get:
1055
+ displayName: getSlackConversationInfos
1056
+ description: Request to get a collection of a Slack conversation infos
1057
+ responses:
1058
+ '200':
1059
+ description: Success
1060
+ body:
1061
+ application/json:
1062
+ type: SlackBridgeConversationInfosOutputRepresentation
1063
+ queryParameters:
1064
+ channelIds:
1065
+ description: List of Channel Ids
1066
+ type: array
1067
+ required: true
1068
+ items:
1069
+ type: string
1070
+ (oas-collectionFormat): csv
1071
+ uriParameters:
1072
+ teamId:
1073
+ description: Id of the Slack team where the conversations exists
1074
+ type: string
1075
+ required: true
1076
+ /channels/{channelId}:
1077
+ get:
1078
+ displayName: getSlackConversationInfo
1079
+ description: Request to get a collection of a Slack conversation infos
1080
+ responses:
1081
+ '200':
1082
+ description: Success
1083
+ body:
1084
+ application/json:
1085
+ type: SlackBridgeConversationInfoOutputRepresentation
1086
+ uriParameters:
1087
+ channelId:
1088
+ description: Id of the Slack channel
1089
+ type: string
1090
+ required: true
1091
+ teamId:
1092
+ description: Id of the Slack team where the conversations exists
1093
+ type: string
1094
+ required: true
1008
1095
  /emojis:
1009
1096
  get:
1010
1097
  displayName: getSlackEmojis
@@ -12,9 +12,8 @@ types:
12
12
  (luvio.key):
13
13
  uniqueKey: uniqueKey
14
14
  SlackBridgeUserInfoOutputRepresentation:
15
- (luvio.ttl): 600000
15
+ (luvio.ttl): 900000
16
16
  (luvio.key):
17
- teamId: teamId
18
17
  slackUserId: slackUserId
19
18
  SlackBridgePostMessageOutputRepresentation:
20
19
  (luvio.key):
@@ -36,6 +35,7 @@ types:
36
35
  (luvio.key):
37
36
  channelId: channelId
38
37
  SlackBridgeConversationInfoOutputRepresentation:
38
+ (luvio.ttl): 900000
39
39
  (luvio.key):
40
40
  id: id
41
41
  SlackBridgeRecordChannelInfoOutputRepresentation:
@@ -132,6 +132,16 @@ types:
132
132
  post:
133
133
  (luvio.adapter):
134
134
  name: postSlackMessageReactions
135
+ /channels:
136
+ get:
137
+ (luvio.adapter):
138
+ name: getSlackConversationInfos
139
+ /channels/{channelId}:
140
+ get:
141
+ (luvio.adapter):
142
+ name: getSlackConversationInfo
143
+ (luvio.key):
144
+ id: urlParams.channelId
135
145
  /emojis:
136
146
  get:
137
147
  (luvio.adapter):
@@ -161,7 +171,6 @@ types:
161
171
  name: getSlackUser
162
172
  (luvio.key):
163
173
  slackUserId: urlParams.slackUserId
164
- teamId: urlParams.teamId
165
174
  /related_threads/entity/{entityId}:
166
175
  get:
167
176
  (luvio.adapter):