@salesforce/lds-adapters-platform-slack-bridge 1.363.0 → 1.365.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 +2349 -649
- 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/SlackBridgeConversationInfoOutputRepresentation.d.ts +23 -1
- 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/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 +2541 -829
- package/src/raml/api.raml +187 -2
- package/src/raml/luvio.raml +8 -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,10 @@ 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
|
+
required: false
|
|
439
|
+
type: string | nil
|
|
348
440
|
size:
|
|
349
441
|
description: Size of the File
|
|
350
442
|
type: integer | nil
|
|
@@ -354,18 +446,66 @@ types:
|
|
|
354
446
|
thumb1024:
|
|
355
447
|
description: Thumbnail URL (1024 height)
|
|
356
448
|
type: string | nil
|
|
449
|
+
thumb1024H:
|
|
450
|
+
description: Thumbnail 1024 height
|
|
451
|
+
type: integer | nil
|
|
452
|
+
thumb1024W:
|
|
453
|
+
description: Thumbnail 1024 width
|
|
454
|
+
type: integer | nil
|
|
357
455
|
thumb360:
|
|
358
456
|
description: Thumbnail URL (360 height)
|
|
359
457
|
type: string | nil
|
|
458
|
+
thumb360H:
|
|
459
|
+
description: Thumbnail 360 height
|
|
460
|
+
type: integer | nil
|
|
461
|
+
thumb360W:
|
|
462
|
+
description: Thumbnail 360 width
|
|
463
|
+
type: integer | nil
|
|
360
464
|
thumb480:
|
|
361
465
|
description: Thumbnail URL (480 height)
|
|
362
466
|
type: string | nil
|
|
467
|
+
thumb480H:
|
|
468
|
+
description: Thumbnail 480 height
|
|
469
|
+
type: integer | nil
|
|
470
|
+
thumb480W:
|
|
471
|
+
description: Thumbnail 480 width
|
|
472
|
+
type: integer | nil
|
|
473
|
+
thumb64:
|
|
474
|
+
description: Thumbnail URL (64 height)
|
|
475
|
+
type: string | nil
|
|
363
476
|
thumb720:
|
|
364
477
|
description: Thumbnail URL (720 height)
|
|
365
478
|
type: string | nil
|
|
479
|
+
thumb720H:
|
|
480
|
+
description: Thumbnail 720 height
|
|
481
|
+
type: integer | nil
|
|
482
|
+
thumb720W:
|
|
483
|
+
description: Thumbnail 720 width
|
|
484
|
+
type: integer | nil
|
|
485
|
+
thumb80:
|
|
486
|
+
description: Thumbnail URL (80 height)
|
|
487
|
+
type: string | nil
|
|
488
|
+
thumb800:
|
|
489
|
+
description: Thumbnail URL (800 height)
|
|
490
|
+
type: string | nil
|
|
491
|
+
thumb800H:
|
|
492
|
+
description: Thumbnail 800 height
|
|
493
|
+
type: integer | nil
|
|
494
|
+
thumb800W:
|
|
495
|
+
description: Thumbnail 800 width
|
|
496
|
+
type: integer | nil
|
|
366
497
|
thumb960:
|
|
367
498
|
description: Thumbnail URL (960 height)
|
|
368
499
|
type: string | nil
|
|
500
|
+
thumbPdf:
|
|
501
|
+
description: PDF thumbnail URL
|
|
502
|
+
type: string | nil
|
|
503
|
+
thumbPdfH:
|
|
504
|
+
description: PDF thumbnail height
|
|
505
|
+
type: integer | nil
|
|
506
|
+
thumbPdfW:
|
|
507
|
+
description: PDF thumbnail width
|
|
508
|
+
type: integer | nil
|
|
369
509
|
thumbVideo:
|
|
370
510
|
description: Video thumbnail
|
|
371
511
|
type: string | nil
|
|
@@ -616,6 +756,23 @@ types:
|
|
|
616
756
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
617
757
|
the related threads exist
|
|
618
758
|
type: string
|
|
759
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
760
|
+
description: Contains metadata about the connected slack team
|
|
761
|
+
type: object
|
|
762
|
+
properties:
|
|
763
|
+
status:
|
|
764
|
+
description: The team connection status
|
|
765
|
+
type: string
|
|
766
|
+
teamDomain:
|
|
767
|
+
description: The full domain name for the connected slack team or enterprise
|
|
768
|
+
grid
|
|
769
|
+
type: string
|
|
770
|
+
teamId:
|
|
771
|
+
description: The team id
|
|
772
|
+
type: string
|
|
773
|
+
teamName:
|
|
774
|
+
description: The team name
|
|
775
|
+
type: string
|
|
619
776
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
620
777
|
description: Contains the parameters to update a message to Slack
|
|
621
778
|
type: object
|
|
@@ -636,6 +793,10 @@ types:
|
|
|
636
793
|
email:
|
|
637
794
|
description: Email of the Slack User
|
|
638
795
|
type: string | nil
|
|
796
|
+
enterpriseUser:
|
|
797
|
+
description: The enterprise user mapping
|
|
798
|
+
required: false
|
|
799
|
+
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
639
800
|
image24:
|
|
640
801
|
description: 24x24 version of the Slack User image
|
|
641
802
|
required: false
|
|
@@ -653,12 +814,26 @@ types:
|
|
|
653
814
|
isActive:
|
|
654
815
|
description: Is this Slack User currently active?
|
|
655
816
|
type: boolean | nil
|
|
817
|
+
isAdmin:
|
|
818
|
+
description: Is Slack User an admin?
|
|
819
|
+
type: boolean
|
|
656
820
|
isExternal:
|
|
657
821
|
description: Is Slack User external?
|
|
658
822
|
type: boolean | nil
|
|
823
|
+
isOwner:
|
|
824
|
+
description: Is Slack User an owner?
|
|
825
|
+
type: boolean
|
|
826
|
+
isPrimaryOwner:
|
|
827
|
+
description: Is Slack User aa primary owner?
|
|
828
|
+
type: boolean
|
|
829
|
+
isRestricted:
|
|
830
|
+
description: Is Slack User restricted?
|
|
831
|
+
type: boolean
|
|
832
|
+
isUltraRestricted:
|
|
833
|
+
description: Is Slack User ultra restricted?
|
|
834
|
+
type: boolean
|
|
659
835
|
isWorkflowBot:
|
|
660
|
-
description: Is
|
|
661
|
-
required: false
|
|
836
|
+
description: Is Slack User a workflow bot?
|
|
662
837
|
type: boolean
|
|
663
838
|
name:
|
|
664
839
|
description: Name of the Slack User
|
|
@@ -833,6 +1008,16 @@ types:
|
|
|
833
1008
|
description: Entity ID to get related threads
|
|
834
1009
|
type: string
|
|
835
1010
|
required: true
|
|
1011
|
+
/slack_display_login:
|
|
1012
|
+
get:
|
|
1013
|
+
displayName: getSlackDisplayLogin
|
|
1014
|
+
description: Request to get Slack Login info
|
|
1015
|
+
responses:
|
|
1016
|
+
'200':
|
|
1017
|
+
description: Success
|
|
1018
|
+
body:
|
|
1019
|
+
application/json:
|
|
1020
|
+
type: SlackBridgeDisplayLoginRepresentation
|
|
836
1021
|
/team/{teamId}:
|
|
837
1022
|
/channel/{channelId}:
|
|
838
1023
|
/mark:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -51,6 +51,10 @@ types:
|
|
|
51
51
|
(luvio.ttl): 2592000000
|
|
52
52
|
(luvio.key):
|
|
53
53
|
name: name
|
|
54
|
+
SlackBridgeDisplayLoginRepresentation:
|
|
55
|
+
(luvio.ttl): 500
|
|
56
|
+
SlackBridgeSlackTeamOutputRepresentation:
|
|
57
|
+
(luvio.ttl): 500
|
|
54
58
|
|
|
55
59
|
/connect/slackbridge:
|
|
56
60
|
/conversation/messages:
|
|
@@ -171,3 +175,7 @@ types:
|
|
|
171
175
|
get:
|
|
172
176
|
(luvio.adapter):
|
|
173
177
|
name: getRelatedThreads
|
|
178
|
+
/slack_display_login:
|
|
179
|
+
get:
|
|
180
|
+
(luvio.adapter):
|
|
181
|
+
name: getSlackDisplayLogin
|