@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev1 → 1.354.0-dev3
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 +1211 -786
- 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 +4 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +1003 -512
- package/src/raml/api.raml +56 -1
- package/src/raml/luvio.raml +12 -3
package/src/raml/api.raml
CHANGED
|
@@ -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
|
|
@@ -676,7 +686,7 @@ types:
|
|
|
676
686
|
type: string | nil
|
|
677
687
|
teamId:
|
|
678
688
|
description: Slack Workspace Id
|
|
679
|
-
type: string
|
|
689
|
+
type: string | nil
|
|
680
690
|
title:
|
|
681
691
|
description: Title of the Slack User
|
|
682
692
|
type: string | nil
|
|
@@ -684,6 +694,9 @@ types:
|
|
|
684
694
|
description: Contains the list of Slack User Information
|
|
685
695
|
type: object
|
|
686
696
|
properties:
|
|
697
|
+
nextMarker:
|
|
698
|
+
description: Next marker used for pagination. (Optional)
|
|
699
|
+
type: string | nil
|
|
687
700
|
searchString:
|
|
688
701
|
description: String used to search this list of conversations (Optional)
|
|
689
702
|
type: string | nil
|
|
@@ -1005,6 +1018,48 @@ types:
|
|
|
1005
1018
|
description: Id of the Slack team where the conversation exists
|
|
1006
1019
|
type: string
|
|
1007
1020
|
required: true
|
|
1021
|
+
/channels:
|
|
1022
|
+
get:
|
|
1023
|
+
displayName: getSlackConversationInfos
|
|
1024
|
+
description: Request to get a collection of a Slack conversation infos
|
|
1025
|
+
responses:
|
|
1026
|
+
'200':
|
|
1027
|
+
description: Success
|
|
1028
|
+
body:
|
|
1029
|
+
application/json:
|
|
1030
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
1031
|
+
queryParameters:
|
|
1032
|
+
channelIds:
|
|
1033
|
+
description: List of Channel Ids
|
|
1034
|
+
type: array
|
|
1035
|
+
required: true
|
|
1036
|
+
items:
|
|
1037
|
+
type: string
|
|
1038
|
+
(oas-collectionFormat): csv
|
|
1039
|
+
uriParameters:
|
|
1040
|
+
teamId:
|
|
1041
|
+
description: Id of the Slack team where the conversations exists
|
|
1042
|
+
type: string
|
|
1043
|
+
required: true
|
|
1044
|
+
/channels/{channelId}:
|
|
1045
|
+
get:
|
|
1046
|
+
displayName: getSlackConversationInfo
|
|
1047
|
+
description: Request to get a collection of a Slack conversation infos
|
|
1048
|
+
responses:
|
|
1049
|
+
'200':
|
|
1050
|
+
description: Success
|
|
1051
|
+
body:
|
|
1052
|
+
application/json:
|
|
1053
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
1054
|
+
uriParameters:
|
|
1055
|
+
channelId:
|
|
1056
|
+
description: Id of the Slack channel
|
|
1057
|
+
type: string
|
|
1058
|
+
required: true
|
|
1059
|
+
teamId:
|
|
1060
|
+
description: Id of the Slack team where the conversations exists
|
|
1061
|
+
type: string
|
|
1062
|
+
required: true
|
|
1008
1063
|
/emojis:
|
|
1009
1064
|
get:
|
|
1010
1065
|
displayName: getSlackEmojis
|
package/src/raml/luvio.raml
CHANGED
|
@@ -12,9 +12,8 @@ types:
|
|
|
12
12
|
(luvio.key):
|
|
13
13
|
uniqueKey: uniqueKey
|
|
14
14
|
SlackBridgeUserInfoOutputRepresentation:
|
|
15
|
-
(luvio.ttl):
|
|
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):
|