@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev10 → 1.354.0-dev12
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 +2919 -1185
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -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/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/SlackBridgeDisplayLoginOutputRepresentation.d.ts +4 -3
- 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/SlackBridgeUserInfoOutputRepresentation.d.ts +23 -4
- package/package.json +3 -3
- package/sfdc/index.js +2865 -1115
- package/src/raml/api.raml +201 -3
- package/src/raml/luvio.raml +10 -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,39 @@ 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
|
|
251
307
|
SlackBridgeDisplayLoginOutputRepresentation:
|
|
252
308
|
description: Contains Salesforce Org info and Slack Team info
|
|
253
309
|
type: object
|
|
@@ -257,7 +313,7 @@ types:
|
|
|
257
313
|
type: string
|
|
258
314
|
slackTeam:
|
|
259
315
|
description: Slack Team Info
|
|
260
|
-
type: SlackBridgeSlackTeamOutputRepresentation
|
|
316
|
+
type: SlackBridgeSlackTeamOutputRepresentation | nil
|
|
261
317
|
SlackBridgeEmojiOutputRepresentation:
|
|
262
318
|
description: Contains the details of a Slack Emoji
|
|
263
319
|
type: object
|
|
@@ -304,6 +360,28 @@ types:
|
|
|
304
360
|
type: array
|
|
305
361
|
items:
|
|
306
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
|
|
307
385
|
SlackBridgeFileInputRepresentation:
|
|
308
386
|
description: Contains the parameters to upload a file to Slack
|
|
309
387
|
type: object
|
|
@@ -355,6 +433,9 @@ types:
|
|
|
355
433
|
name:
|
|
356
434
|
description: Name of the File
|
|
357
435
|
type: string
|
|
436
|
+
prettyType:
|
|
437
|
+
description: Pretty type of the File
|
|
438
|
+
type: string | nil
|
|
358
439
|
size:
|
|
359
440
|
description: Size of the File
|
|
360
441
|
type: integer | nil
|
|
@@ -364,18 +445,66 @@ types:
|
|
|
364
445
|
thumb1024:
|
|
365
446
|
description: Thumbnail URL (1024 height)
|
|
366
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
|
|
367
454
|
thumb360:
|
|
368
455
|
description: Thumbnail URL (360 height)
|
|
369
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
|
|
370
463
|
thumb480:
|
|
371
464
|
description: Thumbnail URL (480 height)
|
|
372
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
|
|
373
475
|
thumb720:
|
|
374
476
|
description: Thumbnail URL (720 height)
|
|
375
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
|
|
376
496
|
thumb960:
|
|
377
497
|
description: Thumbnail URL (960 height)
|
|
378
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
|
|
379
508
|
thumbVideo:
|
|
380
509
|
description: Video thumbnail
|
|
381
510
|
type: string | nil
|
|
@@ -407,6 +536,33 @@ types:
|
|
|
407
536
|
iconName:
|
|
408
537
|
description: Icon Name of the File
|
|
409
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
|
|
410
566
|
SlackBridgeMessageFragmentOutputRepresentation:
|
|
411
567
|
description: Dummy used for RAML generation and LDS consumption
|
|
412
568
|
type: object
|
|
@@ -663,6 +819,10 @@ types:
|
|
|
663
819
|
email:
|
|
664
820
|
description: Email of the Slack User
|
|
665
821
|
type: string | nil
|
|
822
|
+
enterpriseUser:
|
|
823
|
+
description: The enterprise user mapping
|
|
824
|
+
required: false
|
|
825
|
+
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
666
826
|
image24:
|
|
667
827
|
description: 24x24 version of the Slack User image
|
|
668
828
|
required: false
|
|
@@ -680,12 +840,26 @@ types:
|
|
|
680
840
|
isActive:
|
|
681
841
|
description: Is this Slack User currently active?
|
|
682
842
|
type: boolean | nil
|
|
843
|
+
isAdmin:
|
|
844
|
+
description: Is Slack User an admin?
|
|
845
|
+
type: boolean
|
|
683
846
|
isExternal:
|
|
684
847
|
description: Is Slack User external?
|
|
685
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
|
|
686
861
|
isWorkflowBot:
|
|
687
|
-
description: Is
|
|
688
|
-
required: false
|
|
862
|
+
description: Is Slack User a workflow bot?
|
|
689
863
|
type: boolean
|
|
690
864
|
name:
|
|
691
865
|
description: Name of the Slack User
|
|
@@ -1175,6 +1349,30 @@ types:
|
|
|
1175
1349
|
description: Team or Workspace
|
|
1176
1350
|
type: string
|
|
1177
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
|
|
1178
1376
|
/users:
|
|
1179
1377
|
get:
|
|
1180
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
|
|
@@ -55,6 +57,10 @@ types:
|
|
|
55
57
|
(luvio.ttl): 500
|
|
56
58
|
SlackBridgeSlackTeamOutputRepresentation:
|
|
57
59
|
(luvio.ttl): 500
|
|
60
|
+
SlackBridgeMPIMSearchResultsOutputRepresentation:
|
|
61
|
+
(luvio.ttl): 500
|
|
62
|
+
SlackBridgeMPIMSearchResultOutputRepresentation:
|
|
63
|
+
(luvio.ttl): 500
|
|
58
64
|
|
|
59
65
|
/connect/slackbridge:
|
|
60
66
|
/conversation/messages:
|
|
@@ -161,6 +167,10 @@ types:
|
|
|
161
167
|
get:
|
|
162
168
|
(luvio.adapter):
|
|
163
169
|
name: getSlackSearchEmoji
|
|
170
|
+
/mpims:
|
|
171
|
+
get:
|
|
172
|
+
(luvio.adapter):
|
|
173
|
+
name: getSlackSearchMPIMs
|
|
164
174
|
/users:
|
|
165
175
|
get:
|
|
166
176
|
(luvio.adapter):
|