@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev10 → 1.332.0-dev11
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 +555 -379
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +1002 -823
- package/src/raml/api.raml +36 -0
- package/src/raml/luvio.raml +7 -0
package/src/raml/api.raml
CHANGED
|
@@ -154,6 +154,17 @@ types:
|
|
|
154
154
|
name:
|
|
155
155
|
description: Name of the conversation
|
|
156
156
|
type: string
|
|
157
|
+
SlackBridgeConversationMarkOutputRepresentation:
|
|
158
|
+
description: Representation of a successful call to update the read cursor in
|
|
159
|
+
a slack channel.
|
|
160
|
+
type: object
|
|
161
|
+
properties:
|
|
162
|
+
channelId:
|
|
163
|
+
description: Id of the Channel to which this message belongs
|
|
164
|
+
type: string
|
|
165
|
+
messageTs:
|
|
166
|
+
description: The timestamp of the message that was marked read
|
|
167
|
+
type: string
|
|
157
168
|
SlackBridgeConversationMemberOutputRepresentation:
|
|
158
169
|
description: Contains the details of a Slack member for the Slack conversation
|
|
159
170
|
type: object
|
|
@@ -732,6 +743,31 @@ types:
|
|
|
732
743
|
required: true
|
|
733
744
|
/team/{teamId}:
|
|
734
745
|
/channel/{channelId}:
|
|
746
|
+
/mark:
|
|
747
|
+
post:
|
|
748
|
+
displayName: postSlackConversationMark
|
|
749
|
+
description: Request to set the read marker on a slack conversation
|
|
750
|
+
responses:
|
|
751
|
+
'200':
|
|
752
|
+
description: Success
|
|
753
|
+
body:
|
|
754
|
+
application/json:
|
|
755
|
+
type: SlackBridgeConversationMarkOutputRepresentation
|
|
756
|
+
queryParameters:
|
|
757
|
+
messageTs:
|
|
758
|
+
description: The timestamp of the message being marked read.
|
|
759
|
+
type: string
|
|
760
|
+
#override connect api generated value
|
|
761
|
+
required: true
|
|
762
|
+
uriParameters:
|
|
763
|
+
channelId:
|
|
764
|
+
description: Id of the Slack channel where the message exists
|
|
765
|
+
type: string
|
|
766
|
+
required: true
|
|
767
|
+
teamId:
|
|
768
|
+
description: Id of the Slack team where the conversation exists
|
|
769
|
+
type: string
|
|
770
|
+
required: true
|
|
735
771
|
/members:
|
|
736
772
|
get:
|
|
737
773
|
displayName: getSlackConversationMembers
|
package/src/raml/luvio.raml
CHANGED
|
@@ -41,6 +41,9 @@ types:
|
|
|
41
41
|
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
42
42
|
(luvio.key):
|
|
43
43
|
relatedRecordId: relatedRecordId
|
|
44
|
+
SlackBridgeConversationMarkOutputRepresentation:
|
|
45
|
+
(luvio.key):
|
|
46
|
+
channelId: channelId
|
|
44
47
|
|
|
45
48
|
/connect/slackbridge:
|
|
46
49
|
/conversation/messages:
|
|
@@ -66,6 +69,10 @@ types:
|
|
|
66
69
|
relatedRecordId: urlParams.relatedRecordId
|
|
67
70
|
/team/{teamId}:
|
|
68
71
|
/channel/{channelId}:
|
|
72
|
+
/mark:
|
|
73
|
+
post:
|
|
74
|
+
(luvio.adapter):
|
|
75
|
+
name: postSlackConversationMark
|
|
69
76
|
/members:
|
|
70
77
|
get:
|
|
71
78
|
(luvio.adapter):
|