@salesforce/lds-adapters-platform-slack-bridge 1.353.1 → 1.354.0-dev2
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 +789 -476
- package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +26 -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 +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +3 -6
- package/package.json +3 -3
- package/sfdc/index.js +970 -646
- package/src/raml/api.raml +38 -1
- package/src/raml/luvio.raml +8 -2
package/src/raml/api.raml
CHANGED
|
@@ -238,6 +238,16 @@ types:
|
|
|
238
238
|
description: The websocket URL to subscribe to RTM topics associated with
|
|
239
239
|
the conversation
|
|
240
240
|
type: string | nil
|
|
241
|
+
SlackBridgeDisplayLoginOutputRepresentation:
|
|
242
|
+
description: Contains Salesforce Org info and Slack Team info
|
|
243
|
+
type: object
|
|
244
|
+
properties:
|
|
245
|
+
orgId:
|
|
246
|
+
description: Salesforce Org Id
|
|
247
|
+
type: string
|
|
248
|
+
slackTeam:
|
|
249
|
+
description: Slack Team Info
|
|
250
|
+
type: SlackBridgeSlackTeamOutputRepresentation
|
|
241
251
|
SlackBridgeEmojiOutputRepresentation:
|
|
242
252
|
description: Contains the details of a Slack Emoji
|
|
243
253
|
type: object
|
|
@@ -582,6 +592,23 @@ types:
|
|
|
582
592
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
583
593
|
the related threads exist
|
|
584
594
|
type: string
|
|
595
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
596
|
+
description: Contains metadata about the connected slack team
|
|
597
|
+
type: object
|
|
598
|
+
properties:
|
|
599
|
+
status:
|
|
600
|
+
description: The team connection status
|
|
601
|
+
type: string
|
|
602
|
+
teamDomain:
|
|
603
|
+
description: The full domain name for the connected slack team or enterprise
|
|
604
|
+
grid
|
|
605
|
+
type: string
|
|
606
|
+
teamId:
|
|
607
|
+
description: The team id
|
|
608
|
+
type: string
|
|
609
|
+
teamName:
|
|
610
|
+
description: The team name
|
|
611
|
+
type: string
|
|
585
612
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
586
613
|
description: Contains the parameters to update a message to Slack
|
|
587
614
|
type: object
|
|
@@ -649,7 +676,7 @@ types:
|
|
|
649
676
|
type: string | nil
|
|
650
677
|
teamId:
|
|
651
678
|
description: Slack Workspace Id
|
|
652
|
-
type: string
|
|
679
|
+
type: string | nil
|
|
653
680
|
title:
|
|
654
681
|
description: Title of the Slack User
|
|
655
682
|
type: string | nil
|
|
@@ -788,6 +815,16 @@ types:
|
|
|
788
815
|
description: Entity ID to get related threads
|
|
789
816
|
type: string
|
|
790
817
|
required: true
|
|
818
|
+
/slack_display_login:
|
|
819
|
+
get:
|
|
820
|
+
displayName: getSlackDisplayLogin
|
|
821
|
+
description: Request to get Slack Login info
|
|
822
|
+
responses:
|
|
823
|
+
'200':
|
|
824
|
+
description: Success
|
|
825
|
+
body:
|
|
826
|
+
application/json:
|
|
827
|
+
type: SlackBridgeDisplayLoginOutputRepresentation
|
|
791
828
|
/team/{teamId}:
|
|
792
829
|
/channel/{channelId}:
|
|
793
830
|
/mark:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -14,7 +14,6 @@ types:
|
|
|
14
14
|
SlackBridgeUserInfoOutputRepresentation:
|
|
15
15
|
(luvio.ttl): 600000
|
|
16
16
|
(luvio.key):
|
|
17
|
-
teamId: teamId
|
|
18
17
|
slackUserId: slackUserId
|
|
19
18
|
SlackBridgePostMessageOutputRepresentation:
|
|
20
19
|
(luvio.key):
|
|
@@ -51,6 +50,10 @@ types:
|
|
|
51
50
|
(luvio.ttl): 2592000000
|
|
52
51
|
(luvio.key):
|
|
53
52
|
name: name
|
|
53
|
+
SlackBridgeDisplayLoginOutputRepresentation:
|
|
54
|
+
(luvio.ttl): 500
|
|
55
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
56
|
+
(luvio.ttl): 500
|
|
54
57
|
|
|
55
58
|
/connect/slackbridge:
|
|
56
59
|
/conversation/messages:
|
|
@@ -157,8 +160,11 @@ types:
|
|
|
157
160
|
name: getSlackUser
|
|
158
161
|
(luvio.key):
|
|
159
162
|
slackUserId: urlParams.slackUserId
|
|
160
|
-
teamId: urlParams.teamId
|
|
161
163
|
/related_threads/entity/{entityId}:
|
|
162
164
|
get:
|
|
163
165
|
(luvio.adapter):
|
|
164
166
|
name: getRelatedThreads
|
|
167
|
+
/slack_display_login:
|
|
168
|
+
get:
|
|
169
|
+
(luvio.adapter):
|
|
170
|
+
name: getSlackDisplayLogin
|