@salesforce/lds-adapters-platform-slack-bridge 1.356.0 → 1.357.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/dist/es/es2018/platform-slack-bridge.js +1156 -750
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfos.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +12 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +976 -503
- package/src/raml/api.raml +56 -1
- package/src/raml/luvio.raml +12 -1
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '63.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v65.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -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
|
|
@@ -657,6 +667,9 @@ types:
|
|
|
657
667
|
description: Contains the list of Slack User Information
|
|
658
668
|
type: object
|
|
659
669
|
properties:
|
|
670
|
+
nextMarker:
|
|
671
|
+
description: Next marker used for pagination. (Optional)
|
|
672
|
+
type: string | nil
|
|
660
673
|
searchString:
|
|
661
674
|
description: String used to search this list of conversations (Optional)
|
|
662
675
|
type: string | nil
|
|
@@ -968,6 +981,48 @@ types:
|
|
|
968
981
|
description: Id of the Slack team where the conversation exists
|
|
969
982
|
type: string
|
|
970
983
|
required: true
|
|
984
|
+
/channels:
|
|
985
|
+
get:
|
|
986
|
+
displayName: getSlackConversationInfos
|
|
987
|
+
description: Request to get a collection of a Slack conversation infos
|
|
988
|
+
responses:
|
|
989
|
+
'200':
|
|
990
|
+
description: Success
|
|
991
|
+
body:
|
|
992
|
+
application/json:
|
|
993
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
994
|
+
queryParameters:
|
|
995
|
+
channelIds:
|
|
996
|
+
description: List of Channel Ids
|
|
997
|
+
type: array
|
|
998
|
+
required: true
|
|
999
|
+
items:
|
|
1000
|
+
type: string
|
|
1001
|
+
(oas-collectionFormat): csv
|
|
1002
|
+
uriParameters:
|
|
1003
|
+
teamId:
|
|
1004
|
+
description: Id of the Slack team where the conversations exists
|
|
1005
|
+
type: string
|
|
1006
|
+
required: true
|
|
1007
|
+
/channels/{channelId}:
|
|
1008
|
+
get:
|
|
1009
|
+
displayName: getSlackConversationInfo
|
|
1010
|
+
description: Request to get a collection of a Slack conversation infos
|
|
1011
|
+
responses:
|
|
1012
|
+
'200':
|
|
1013
|
+
description: Success
|
|
1014
|
+
body:
|
|
1015
|
+
application/json:
|
|
1016
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
1017
|
+
uriParameters:
|
|
1018
|
+
channelId:
|
|
1019
|
+
description: Id of the Slack channel
|
|
1020
|
+
type: string
|
|
1021
|
+
required: true
|
|
1022
|
+
teamId:
|
|
1023
|
+
description: Id of the Slack team where the conversations exists
|
|
1024
|
+
type: string
|
|
1025
|
+
required: true
|
|
971
1026
|
/emojis:
|
|
972
1027
|
get:
|
|
973
1028
|
displayName: getSlackEmojis
|
package/src/raml/luvio.raml
CHANGED
|
@@ -12,7 +12,7 @@ types:
|
|
|
12
12
|
(luvio.key):
|
|
13
13
|
uniqueKey: uniqueKey
|
|
14
14
|
SlackBridgeUserInfoOutputRepresentation:
|
|
15
|
-
(luvio.ttl):
|
|
15
|
+
(luvio.ttl): 900000
|
|
16
16
|
(luvio.key):
|
|
17
17
|
slackUserId: slackUserId
|
|
18
18
|
SlackBridgePostMessageOutputRepresentation:
|
|
@@ -35,6 +35,7 @@ types:
|
|
|
35
35
|
(luvio.key):
|
|
36
36
|
channelId: channelId
|
|
37
37
|
SlackBridgeConversationInfoOutputRepresentation:
|
|
38
|
+
(luvio.ttl): 900000
|
|
38
39
|
(luvio.key):
|
|
39
40
|
id: id
|
|
40
41
|
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
@@ -127,6 +128,16 @@ types:
|
|
|
127
128
|
post:
|
|
128
129
|
(luvio.adapter):
|
|
129
130
|
name: postSlackMessageReactions
|
|
131
|
+
/channels:
|
|
132
|
+
get:
|
|
133
|
+
(luvio.adapter):
|
|
134
|
+
name: getSlackConversationInfos
|
|
135
|
+
/channels/{channelId}:
|
|
136
|
+
get:
|
|
137
|
+
(luvio.adapter):
|
|
138
|
+
name: getSlackConversationInfo
|
|
139
|
+
(luvio.key):
|
|
140
|
+
id: urlParams.channelId
|
|
130
141
|
/emojis:
|
|
131
142
|
get:
|
|
132
143
|
(luvio.adapter):
|