@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev10 → 1.354.0-dev11
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 +1464 -58
- 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/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/SlackBridgeUserInfoOutputRepresentation.d.ts +23 -4
- package/package.json +3 -3
- package/sfdc/index.js +1541 -135
- package/src/raml/api.raml +151 -3
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,10 @@ 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
|
+
required: false
|
|
439
|
+
type: string | nil
|
|
358
440
|
size:
|
|
359
441
|
description: Size of the File
|
|
360
442
|
type: integer | nil
|
|
@@ -364,18 +446,66 @@ types:
|
|
|
364
446
|
thumb1024:
|
|
365
447
|
description: Thumbnail URL (1024 height)
|
|
366
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
|
|
367
455
|
thumb360:
|
|
368
456
|
description: Thumbnail URL (360 height)
|
|
369
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
|
|
370
464
|
thumb480:
|
|
371
465
|
description: Thumbnail URL (480 height)
|
|
372
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
|
|
373
476
|
thumb720:
|
|
374
477
|
description: Thumbnail URL (720 height)
|
|
375
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
|
|
376
497
|
thumb960:
|
|
377
498
|
description: Thumbnail URL (960 height)
|
|
378
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
|
|
379
509
|
thumbVideo:
|
|
380
510
|
description: Video thumbnail
|
|
381
511
|
type: string | nil
|
|
@@ -663,6 +793,10 @@ types:
|
|
|
663
793
|
email:
|
|
664
794
|
description: Email of the Slack User
|
|
665
795
|
type: string | nil
|
|
796
|
+
enterpriseUser:
|
|
797
|
+
description: The enterprise user mapping
|
|
798
|
+
required: false
|
|
799
|
+
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
666
800
|
image24:
|
|
667
801
|
description: 24x24 version of the Slack User image
|
|
668
802
|
required: false
|
|
@@ -680,12 +814,26 @@ types:
|
|
|
680
814
|
isActive:
|
|
681
815
|
description: Is this Slack User currently active?
|
|
682
816
|
type: boolean | nil
|
|
817
|
+
isAdmin:
|
|
818
|
+
description: Is Slack User an admin?
|
|
819
|
+
type: boolean
|
|
683
820
|
isExternal:
|
|
684
821
|
description: Is Slack User external?
|
|
685
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
|
|
686
835
|
isWorkflowBot:
|
|
687
|
-
description: Is
|
|
688
|
-
required: false
|
|
836
|
+
description: Is Slack User a workflow bot?
|
|
689
837
|
type: boolean
|
|
690
838
|
name:
|
|
691
839
|
description: Name of the Slack User
|