@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev2 → 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 +1180 -774
- 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 +984 -511
- package/src/raml/api.raml +55 -0
- package/src/raml/luvio.raml +12 -1
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
|
|
@@ -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,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:
|
|
@@ -131,6 +132,16 @@ types:
|
|
|
131
132
|
post:
|
|
132
133
|
(luvio.adapter):
|
|
133
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
|
|
134
145
|
/emojis:
|
|
135
146
|
get:
|
|
136
147
|
(luvio.adapter):
|