@salesforce/lds-adapters-platform-slack-bridge 1.364.0 → 1.366.0
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 +3192 -1164
- package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -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 +5 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +23 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationPropertiesOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationRestrictionsOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +52 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultsOutputRepresentation.d.ts +33 -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 +23 -4
- package/package.json +3 -3
- package/sfdc/index.js +3067 -1011
- package/src/raml/api.raml +237 -2
- package/src/raml/luvio.raml +18 -0
package/src/raml/api.raml
CHANGED
|
@@ -86,6 +86,9 @@ types:
|
|
|
86
86
|
description: Contains the conversation info
|
|
87
87
|
type: object
|
|
88
88
|
properties:
|
|
89
|
+
conversationHostId:
|
|
90
|
+
description: The conversation host id
|
|
91
|
+
type: string | nil
|
|
89
92
|
id:
|
|
90
93
|
description: Id of the Conversation
|
|
91
94
|
type: string
|
|
@@ -98,6 +101,9 @@ types:
|
|
|
98
101
|
isCustomEmojiSupported:
|
|
99
102
|
description: Is Custom Emoji supported?
|
|
100
103
|
type: boolean | nil
|
|
104
|
+
isExtShared:
|
|
105
|
+
description: Is this conversation externally shared?
|
|
106
|
+
type: boolean | nil
|
|
101
107
|
isGroup:
|
|
102
108
|
description: Is this a group?
|
|
103
109
|
type: boolean | nil
|
|
@@ -110,21 +116,38 @@ types:
|
|
|
110
116
|
isOpen:
|
|
111
117
|
description: Is this conversation open?
|
|
112
118
|
type: boolean | nil
|
|
119
|
+
isOrgShared:
|
|
120
|
+
description: Is this conversation org shared?
|
|
121
|
+
type: boolean | nil
|
|
122
|
+
isPendingExtShared:
|
|
123
|
+
description: Is this conversation pending external sharing?
|
|
124
|
+
type: boolean | nil
|
|
113
125
|
isPrivate:
|
|
114
126
|
description: Is this conversation private?
|
|
115
127
|
type: boolean | nil
|
|
116
128
|
isReadOnly:
|
|
117
129
|
description: Is this conversation read-only?
|
|
118
130
|
type: boolean | nil
|
|
131
|
+
isShared:
|
|
132
|
+
description: Is this conversation shared?
|
|
133
|
+
type: boolean | nil
|
|
119
134
|
isThreadOnly:
|
|
120
135
|
description: Is this conversation thread-only?
|
|
121
136
|
type: boolean | nil
|
|
137
|
+
lastRead:
|
|
138
|
+
description: The timestamp of the last read message of this conversation by
|
|
139
|
+
the current user
|
|
140
|
+
type: string | nil
|
|
122
141
|
name:
|
|
123
142
|
description: Name of the Conversation
|
|
124
143
|
type: string
|
|
125
144
|
numOfMembers:
|
|
126
145
|
description: Number of members in the Conversation
|
|
127
146
|
type: integer | nil
|
|
147
|
+
properties:
|
|
148
|
+
description: The properties of the conversation
|
|
149
|
+
required: false
|
|
150
|
+
type: SlackBridgeConversationPropertiesOutputRepresentation | nil
|
|
128
151
|
shouldCacheCustomEmoji:
|
|
129
152
|
description: Should the Custom Emojis be cached?
|
|
130
153
|
type: boolean | nil
|
|
@@ -248,6 +271,49 @@ types:
|
|
|
248
271
|
description: The websocket URL to subscribe to RTM topics associated with
|
|
249
272
|
the conversation
|
|
250
273
|
type: string | nil
|
|
274
|
+
SlackBridgeConversationPropertiesOutputRepresentation:
|
|
275
|
+
description: Properties of a conversation
|
|
276
|
+
type: object
|
|
277
|
+
properties:
|
|
278
|
+
atChannelRestricted:
|
|
279
|
+
description: Is @channel restricted
|
|
280
|
+
type: boolean | nil
|
|
281
|
+
atHereRestricted:
|
|
282
|
+
description: Is @here restricted
|
|
283
|
+
type: boolean | nil
|
|
284
|
+
huddlesRestricted:
|
|
285
|
+
description: Are huddles restricted
|
|
286
|
+
type: boolean | nil
|
|
287
|
+
postingRestrictedTo:
|
|
288
|
+
description: Posting restrictions
|
|
289
|
+
type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
|
|
290
|
+
threadsRestrictedTo:
|
|
291
|
+
description: Thread replying restrictions
|
|
292
|
+
type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
|
|
293
|
+
SlackBridgeConversationRestrictionsOutputRepresentation:
|
|
294
|
+
description: Restrictions on a conversation
|
|
295
|
+
type: object
|
|
296
|
+
properties:
|
|
297
|
+
type:
|
|
298
|
+
description: Types
|
|
299
|
+
type: array
|
|
300
|
+
items:
|
|
301
|
+
type: string
|
|
302
|
+
user:
|
|
303
|
+
description: Users
|
|
304
|
+
type: array
|
|
305
|
+
items:
|
|
306
|
+
type: string
|
|
307
|
+
SlackBridgeDisplayLoginRepresentation:
|
|
308
|
+
description: Contains Salesforce Org info and Slack Team info
|
|
309
|
+
type: object
|
|
310
|
+
properties:
|
|
311
|
+
orgId:
|
|
312
|
+
description: Salesforce Org Id
|
|
313
|
+
type: string
|
|
314
|
+
slackTeam:
|
|
315
|
+
description: Slack Team Info
|
|
316
|
+
type: SlackBridgeSlackTeamOutputRepresentation | nil
|
|
251
317
|
SlackBridgeEmojiOutputRepresentation:
|
|
252
318
|
description: Contains the details of a Slack Emoji
|
|
253
319
|
type: object
|
|
@@ -294,6 +360,28 @@ types:
|
|
|
294
360
|
type: array
|
|
295
361
|
items:
|
|
296
362
|
type: SlackBridgeEmojiOutputRepresentation
|
|
363
|
+
SlackBridgeEnterpriseUserInfoOutputRepresentation:
|
|
364
|
+
description: Contains the details of Slack Enterprise User object
|
|
365
|
+
type: object
|
|
366
|
+
properties:
|
|
367
|
+
enterpriseId:
|
|
368
|
+
description: Enterprise org id
|
|
369
|
+
type: string
|
|
370
|
+
enterpriseName:
|
|
371
|
+
description: Enterprise org name
|
|
372
|
+
type: string
|
|
373
|
+
id:
|
|
374
|
+
description: Slack User id
|
|
375
|
+
type: string
|
|
376
|
+
isAdmin:
|
|
377
|
+
description: Is Slack User an admin?
|
|
378
|
+
type: boolean
|
|
379
|
+
isOwner:
|
|
380
|
+
description: Is Slack User an owner?
|
|
381
|
+
type: boolean
|
|
382
|
+
isPrimaryOwner:
|
|
383
|
+
description: Is Slack User aa primary owner?
|
|
384
|
+
type: boolean
|
|
297
385
|
SlackBridgeFileInputRepresentation:
|
|
298
386
|
description: Contains the parameters to upload a file to Slack
|
|
299
387
|
type: object
|
|
@@ -345,6 +433,9 @@ types:
|
|
|
345
433
|
name:
|
|
346
434
|
description: Name of the File
|
|
347
435
|
type: string
|
|
436
|
+
prettyType:
|
|
437
|
+
description: Pretty type of the File
|
|
438
|
+
type: string | nil
|
|
348
439
|
size:
|
|
349
440
|
description: Size of the File
|
|
350
441
|
type: integer | nil
|
|
@@ -354,18 +445,66 @@ types:
|
|
|
354
445
|
thumb1024:
|
|
355
446
|
description: Thumbnail URL (1024 height)
|
|
356
447
|
type: string | nil
|
|
448
|
+
thumb1024H:
|
|
449
|
+
description: Thumbnail 1024 height
|
|
450
|
+
type: integer | nil
|
|
451
|
+
thumb1024W:
|
|
452
|
+
description: Thumbnail 1024 width
|
|
453
|
+
type: integer | nil
|
|
357
454
|
thumb360:
|
|
358
455
|
description: Thumbnail URL (360 height)
|
|
359
456
|
type: string | nil
|
|
457
|
+
thumb360H:
|
|
458
|
+
description: Thumbnail 360 height
|
|
459
|
+
type: integer | nil
|
|
460
|
+
thumb360W:
|
|
461
|
+
description: Thumbnail 360 width
|
|
462
|
+
type: integer | nil
|
|
360
463
|
thumb480:
|
|
361
464
|
description: Thumbnail URL (480 height)
|
|
362
465
|
type: string | nil
|
|
466
|
+
thumb480H:
|
|
467
|
+
description: Thumbnail 480 height
|
|
468
|
+
type: integer | nil
|
|
469
|
+
thumb480W:
|
|
470
|
+
description: Thumbnail 480 width
|
|
471
|
+
type: integer | nil
|
|
472
|
+
thumb64:
|
|
473
|
+
description: Thumbnail URL (64 height)
|
|
474
|
+
type: string | nil
|
|
363
475
|
thumb720:
|
|
364
476
|
description: Thumbnail URL (720 height)
|
|
365
477
|
type: string | nil
|
|
478
|
+
thumb720H:
|
|
479
|
+
description: Thumbnail 720 height
|
|
480
|
+
type: integer | nil
|
|
481
|
+
thumb720W:
|
|
482
|
+
description: Thumbnail 720 width
|
|
483
|
+
type: integer | nil
|
|
484
|
+
thumb80:
|
|
485
|
+
description: Thumbnail URL (80 height)
|
|
486
|
+
type: string | nil
|
|
487
|
+
thumb800:
|
|
488
|
+
description: Thumbnail URL (800 height)
|
|
489
|
+
type: string | nil
|
|
490
|
+
thumb800H:
|
|
491
|
+
description: Thumbnail 800 height
|
|
492
|
+
type: integer | nil
|
|
493
|
+
thumb800W:
|
|
494
|
+
description: Thumbnail 800 width
|
|
495
|
+
type: integer | nil
|
|
366
496
|
thumb960:
|
|
367
497
|
description: Thumbnail URL (960 height)
|
|
368
498
|
type: string | nil
|
|
499
|
+
thumbPdf:
|
|
500
|
+
description: PDF thumbnail URL
|
|
501
|
+
type: string | nil
|
|
502
|
+
thumbPdfH:
|
|
503
|
+
description: PDF thumbnail height
|
|
504
|
+
type: integer | nil
|
|
505
|
+
thumbPdfW:
|
|
506
|
+
description: PDF thumbnail width
|
|
507
|
+
type: integer | nil
|
|
369
508
|
thumbVideo:
|
|
370
509
|
description: Video thumbnail
|
|
371
510
|
type: string | nil
|
|
@@ -397,6 +536,33 @@ types:
|
|
|
397
536
|
iconName:
|
|
398
537
|
description: Icon Name of the File
|
|
399
538
|
type: string
|
|
539
|
+
SlackBridgeMPIMSearchResultOutputRepresentation:
|
|
540
|
+
description: Contains the search result for a single MPIM
|
|
541
|
+
type: object
|
|
542
|
+
properties:
|
|
543
|
+
id:
|
|
544
|
+
description: Id of the Conversation
|
|
545
|
+
type: string
|
|
546
|
+
members:
|
|
547
|
+
description: List of Slack user ids that are members of this MPIM
|
|
548
|
+
type: array
|
|
549
|
+
items:
|
|
550
|
+
type: string
|
|
551
|
+
name:
|
|
552
|
+
description: Name of the Conversation
|
|
553
|
+
type: string
|
|
554
|
+
SlackBridgeMPIMSearchResultsOutputRepresentation:
|
|
555
|
+
description: Contains the search results for a collection of MPIMs
|
|
556
|
+
type: object
|
|
557
|
+
properties:
|
|
558
|
+
mpims:
|
|
559
|
+
description: List of Slack MPIM search results
|
|
560
|
+
type: array
|
|
561
|
+
items:
|
|
562
|
+
type: SlackBridgeMPIMSearchResultOutputRepresentation
|
|
563
|
+
searchString:
|
|
564
|
+
description: String used to search for this list of MPIMs (Optional)
|
|
565
|
+
type: string | nil
|
|
400
566
|
SlackBridgeMessageFragmentOutputRepresentation:
|
|
401
567
|
description: Dummy used for RAML generation and LDS consumption
|
|
402
568
|
type: object
|
|
@@ -616,6 +782,23 @@ types:
|
|
|
616
782
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
617
783
|
the related threads exist
|
|
618
784
|
type: string
|
|
785
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
786
|
+
description: Contains metadata about the connected slack team
|
|
787
|
+
type: object
|
|
788
|
+
properties:
|
|
789
|
+
status:
|
|
790
|
+
description: The team connection status
|
|
791
|
+
type: string
|
|
792
|
+
teamDomain:
|
|
793
|
+
description: The full domain name for the connected slack team or enterprise
|
|
794
|
+
grid
|
|
795
|
+
type: string
|
|
796
|
+
teamId:
|
|
797
|
+
description: The team id
|
|
798
|
+
type: string
|
|
799
|
+
teamName:
|
|
800
|
+
description: The team name
|
|
801
|
+
type: string
|
|
619
802
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
620
803
|
description: Contains the parameters to update a message to Slack
|
|
621
804
|
type: object
|
|
@@ -636,6 +819,10 @@ types:
|
|
|
636
819
|
email:
|
|
637
820
|
description: Email of the Slack User
|
|
638
821
|
type: string | nil
|
|
822
|
+
enterpriseUser:
|
|
823
|
+
description: The enterprise user mapping
|
|
824
|
+
required: false
|
|
825
|
+
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
639
826
|
image24:
|
|
640
827
|
description: 24x24 version of the Slack User image
|
|
641
828
|
required: false
|
|
@@ -653,12 +840,26 @@ types:
|
|
|
653
840
|
isActive:
|
|
654
841
|
description: Is this Slack User currently active?
|
|
655
842
|
type: boolean | nil
|
|
843
|
+
isAdmin:
|
|
844
|
+
description: Is Slack User an admin?
|
|
845
|
+
type: boolean
|
|
656
846
|
isExternal:
|
|
657
847
|
description: Is Slack User external?
|
|
658
848
|
type: boolean | nil
|
|
849
|
+
isOwner:
|
|
850
|
+
description: Is Slack User an owner?
|
|
851
|
+
type: boolean
|
|
852
|
+
isPrimaryOwner:
|
|
853
|
+
description: Is Slack User aa primary owner?
|
|
854
|
+
type: boolean
|
|
855
|
+
isRestricted:
|
|
856
|
+
description: Is Slack User restricted?
|
|
857
|
+
type: boolean
|
|
858
|
+
isUltraRestricted:
|
|
859
|
+
description: Is Slack User ultra restricted?
|
|
860
|
+
type: boolean
|
|
659
861
|
isWorkflowBot:
|
|
660
|
-
description: Is
|
|
661
|
-
required: false
|
|
862
|
+
description: Is Slack User a workflow bot?
|
|
662
863
|
type: boolean
|
|
663
864
|
name:
|
|
664
865
|
description: Name of the Slack User
|
|
@@ -833,6 +1034,16 @@ types:
|
|
|
833
1034
|
description: Entity ID to get related threads
|
|
834
1035
|
type: string
|
|
835
1036
|
required: true
|
|
1037
|
+
/slack_display_login:
|
|
1038
|
+
get:
|
|
1039
|
+
displayName: getSlackDisplayLogin
|
|
1040
|
+
description: Request to get Slack Login info
|
|
1041
|
+
responses:
|
|
1042
|
+
'200':
|
|
1043
|
+
description: Success
|
|
1044
|
+
body:
|
|
1045
|
+
application/json:
|
|
1046
|
+
type: SlackBridgeDisplayLoginRepresentation
|
|
836
1047
|
/team/{teamId}:
|
|
837
1048
|
/channel/{channelId}:
|
|
838
1049
|
/mark:
|
|
@@ -1138,6 +1349,30 @@ types:
|
|
|
1138
1349
|
description: Team or Workspace
|
|
1139
1350
|
type: string
|
|
1140
1351
|
required: true
|
|
1352
|
+
/mpims:
|
|
1353
|
+
get:
|
|
1354
|
+
displayName: getSlackSearchMPIMs
|
|
1355
|
+
description: Search Slack MPIMs
|
|
1356
|
+
responses:
|
|
1357
|
+
'200':
|
|
1358
|
+
description: Success
|
|
1359
|
+
body:
|
|
1360
|
+
application/json:
|
|
1361
|
+
type: SlackBridgeMPIMSearchResultsOutputRepresentation
|
|
1362
|
+
queryParameters:
|
|
1363
|
+
search:
|
|
1364
|
+
description: Search String
|
|
1365
|
+
type: string
|
|
1366
|
+
required: false
|
|
1367
|
+
useDisplayName:
|
|
1368
|
+
description: Match by user display names
|
|
1369
|
+
type: boolean
|
|
1370
|
+
required: false
|
|
1371
|
+
uriParameters:
|
|
1372
|
+
teamId:
|
|
1373
|
+
description: Team ID
|
|
1374
|
+
type: string
|
|
1375
|
+
required: true
|
|
1141
1376
|
/users:
|
|
1142
1377
|
get:
|
|
1143
1378
|
displayName: getSlackSearchUser
|
package/src/raml/luvio.raml
CHANGED
|
@@ -8,6 +8,8 @@ uses:
|
|
|
8
8
|
(luvio.ttl): 60000
|
|
9
9
|
|
|
10
10
|
types:
|
|
11
|
+
SlackBridgeConversationOutputRepresentation:
|
|
12
|
+
(luvio.ttl): 500
|
|
11
13
|
SlackBridgeFileOutputRepresentation:
|
|
12
14
|
(luvio.key):
|
|
13
15
|
uniqueKey: uniqueKey
|
|
@@ -51,6 +53,14 @@ types:
|
|
|
51
53
|
(luvio.ttl): 2592000000
|
|
52
54
|
(luvio.key):
|
|
53
55
|
name: name
|
|
56
|
+
SlackBridgeDisplayLoginRepresentation:
|
|
57
|
+
(luvio.ttl): 500
|
|
58
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
59
|
+
(luvio.ttl): 500
|
|
60
|
+
SlackBridgeMPIMSearchResultsOutputRepresentation:
|
|
61
|
+
(luvio.ttl): 500
|
|
62
|
+
SlackBridgeMPIMSearchResultOutputRepresentation:
|
|
63
|
+
(luvio.ttl): 500
|
|
54
64
|
|
|
55
65
|
/connect/slackbridge:
|
|
56
66
|
/conversation/messages:
|
|
@@ -157,6 +167,10 @@ types:
|
|
|
157
167
|
get:
|
|
158
168
|
(luvio.adapter):
|
|
159
169
|
name: getSlackSearchEmoji
|
|
170
|
+
/mpims:
|
|
171
|
+
get:
|
|
172
|
+
(luvio.adapter):
|
|
173
|
+
name: getSlackSearchMPIMs
|
|
160
174
|
/users:
|
|
161
175
|
get:
|
|
162
176
|
(luvio.adapter):
|
|
@@ -171,3 +185,7 @@ types:
|
|
|
171
185
|
get:
|
|
172
186
|
(luvio.adapter):
|
|
173
187
|
name: getRelatedThreads
|
|
188
|
+
/slack_display_login:
|
|
189
|
+
get:
|
|
190
|
+
(luvio.adapter):
|
|
191
|
+
name: getSlackDisplayLogin
|