@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev14 → 1.354.0-dev16
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 +470 -13
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +12 -3
- package/package.json +3 -3
- package/sfdc/index.js +471 -14
- package/src/raml/api.raml +44 -2
package/src/raml/api.raml
CHANGED
|
@@ -70,9 +70,17 @@ types:
|
|
|
70
70
|
description: Contains the details of segment of a Slack conversation's history
|
|
71
71
|
type: object
|
|
72
72
|
properties:
|
|
73
|
+
centerHasMoreLatest:
|
|
74
|
+
description: Does this conversation have more messages later than the provided center timestamp?
|
|
75
|
+
required: false
|
|
76
|
+
type: boolean | nil
|
|
77
|
+
centerHasMoreOldest:
|
|
78
|
+
description: Does this conversation have more messages older than the provided center timestamp?
|
|
79
|
+
required: false
|
|
80
|
+
type: boolean | nil
|
|
73
81
|
hasMore:
|
|
74
82
|
description: Does this conversation have more messages to retrieve?
|
|
75
|
-
type: boolean
|
|
83
|
+
type: boolean | nil
|
|
76
84
|
messages:
|
|
77
85
|
description: List of Slack messages
|
|
78
86
|
type: array
|
|
@@ -82,6 +90,11 @@ types:
|
|
|
82
90
|
description: Used to paginate to the next page by passing this value as the
|
|
83
91
|
cursor parameter in a subsequent request
|
|
84
92
|
type: string | nil
|
|
93
|
+
unreadCountDisplay:
|
|
94
|
+
description: Number of messages the current user has not read
|
|
95
|
+
and did not author
|
|
96
|
+
required: false
|
|
97
|
+
type: integer | nil
|
|
85
98
|
SlackBridgeConversationInfoOutputRepresentation:
|
|
86
99
|
description: Contains the conversation info
|
|
87
100
|
type: object
|
|
@@ -134,6 +147,10 @@ types:
|
|
|
134
147
|
isThreadOnly:
|
|
135
148
|
description: Is this conversation thread-only?
|
|
136
149
|
type: boolean | nil
|
|
150
|
+
latest:
|
|
151
|
+
description: The timestamp of the last message in this conversation
|
|
152
|
+
required: false
|
|
153
|
+
type: string | nil
|
|
137
154
|
lastRead:
|
|
138
155
|
description: The timestamp of the last read message of this conversation by
|
|
139
156
|
the current user
|
|
@@ -151,6 +168,15 @@ types:
|
|
|
151
168
|
shouldCacheCustomEmoji:
|
|
152
169
|
description: Should the Custom Emojis be cached?
|
|
153
170
|
type: boolean | nil
|
|
171
|
+
unreadCount:
|
|
172
|
+
description: Number of messages the current user has not read
|
|
173
|
+
required: false
|
|
174
|
+
type: integer | nil
|
|
175
|
+
unreadCountDisplay:
|
|
176
|
+
description: Number of messages the current user has not read
|
|
177
|
+
and did not author
|
|
178
|
+
required: false
|
|
179
|
+
type: integer | nil
|
|
154
180
|
url:
|
|
155
181
|
description: The URL to the channel
|
|
156
182
|
required: false
|
|
@@ -605,9 +631,17 @@ types:
|
|
|
605
631
|
type: array
|
|
606
632
|
items:
|
|
607
633
|
type: SlackBridgeFileOutputRepresentation
|
|
634
|
+
icon:
|
|
635
|
+
description: Sender icon url for demo bot messages
|
|
636
|
+
type: string | nil
|
|
637
|
+
required: false
|
|
608
638
|
includesCustomEmoji:
|
|
609
639
|
description: Does this message includes Custom emoji?
|
|
610
640
|
type: boolean | nil
|
|
641
|
+
isBeyondFreeLimit:
|
|
642
|
+
description: Is this message older than the limit for free teams?
|
|
643
|
+
type: boolean | nil
|
|
644
|
+
required: false
|
|
611
645
|
isBroadcast:
|
|
612
646
|
description: Is this a reply also sent to the Channel?
|
|
613
647
|
type: boolean | nil
|
|
@@ -647,7 +681,7 @@ types:
|
|
|
647
681
|
type: string | nil
|
|
648
682
|
slackUserId:
|
|
649
683
|
description: Details of the Slack User who posted this message
|
|
650
|
-
type: string
|
|
684
|
+
type: string | nil
|
|
651
685
|
subtype:
|
|
652
686
|
description: Sub-type of Message
|
|
653
687
|
type: string | nil
|
|
@@ -660,6 +694,10 @@ types:
|
|
|
660
694
|
url:
|
|
661
695
|
description: Url for this message
|
|
662
696
|
type: string
|
|
697
|
+
username:
|
|
698
|
+
description: Sender username for demo bot messages
|
|
699
|
+
type: string | nil
|
|
700
|
+
required: false
|
|
663
701
|
SlackBridgePostMessageInputRepresentation:
|
|
664
702
|
description: Contains the parameters to post a message to Slack
|
|
665
703
|
type: object
|
|
@@ -930,6 +968,10 @@ types:
|
|
|
930
968
|
application/json:
|
|
931
969
|
type: SlackBridgeConversationOutputRepresentation
|
|
932
970
|
queryParameters:
|
|
971
|
+
centerMessageTs:
|
|
972
|
+
description: Messages before and after this Unix timestamp will be included in results.
|
|
973
|
+
type: string
|
|
974
|
+
required: false
|
|
933
975
|
channelId:
|
|
934
976
|
description: Channel where the conversation exist
|
|
935
977
|
type: string
|