@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev2 → 1.354.0-dev21
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 +4999 -1969
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfos.d.ts +28 -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 +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +33 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +13 -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 +78 -3
- 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/SlackBridgeMessageOutputRepresentation.d.ts +15 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +5995 -2882
- package/src/raml/api.raml +345 -7
- package/src/raml/luvio.raml +22 -1
package/src/raml/api.raml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
securedBy:
|
|
3
3
|
- OAuth2
|
|
4
4
|
title: Salesforce Connect API
|
|
5
|
-
version: '
|
|
5
|
+
version: '64.0'
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
@@ -70,9 +70,17 @@ types:
|
|
|
70
70
|
description: Contains the details of segment of a Slack conversation's history
|
|
71
71
|
type: object
|
|
72
72
|
properties:
|
|
73
|
+
centerHasMoreLatest:
|
|
74
|
+
description: Does this conversation have more messages later than the provided center timestamp?
|
|
75
|
+
required: false
|
|
76
|
+
type: boolean | nil
|
|
77
|
+
centerHasMoreOldest:
|
|
78
|
+
description: Does this conversation have more messages older than the provided center timestamp?
|
|
79
|
+
required: false
|
|
80
|
+
type: boolean | nil
|
|
73
81
|
hasMore:
|
|
74
82
|
description: Does this conversation have more messages to retrieve?
|
|
75
|
-
type: boolean
|
|
83
|
+
type: boolean | nil
|
|
76
84
|
messages:
|
|
77
85
|
description: List of Slack messages
|
|
78
86
|
type: array
|
|
@@ -82,10 +90,18 @@ types:
|
|
|
82
90
|
description: Used to paginate to the next page by passing this value as the
|
|
83
91
|
cursor parameter in a subsequent request
|
|
84
92
|
type: string | nil
|
|
93
|
+
unreadCountDisplay:
|
|
94
|
+
description: Number of messages the current user has not read
|
|
95
|
+
and did not author
|
|
96
|
+
required: false
|
|
97
|
+
type: integer | nil
|
|
85
98
|
SlackBridgeConversationInfoOutputRepresentation:
|
|
86
99
|
description: Contains the conversation info
|
|
87
100
|
type: object
|
|
88
101
|
properties:
|
|
102
|
+
conversationHostId:
|
|
103
|
+
description: The conversation host id
|
|
104
|
+
type: string | nil
|
|
89
105
|
id:
|
|
90
106
|
description: Id of the Conversation
|
|
91
107
|
type: string
|
|
@@ -98,6 +114,9 @@ types:
|
|
|
98
114
|
isCustomEmojiSupported:
|
|
99
115
|
description: Is Custom Emoji supported?
|
|
100
116
|
type: boolean | nil
|
|
117
|
+
isExtShared:
|
|
118
|
+
description: Is this conversation externally shared?
|
|
119
|
+
type: boolean | nil
|
|
101
120
|
isGroup:
|
|
102
121
|
description: Is this a group?
|
|
103
122
|
type: boolean | nil
|
|
@@ -110,24 +129,54 @@ types:
|
|
|
110
129
|
isOpen:
|
|
111
130
|
description: Is this conversation open?
|
|
112
131
|
type: boolean | nil
|
|
132
|
+
isOrgShared:
|
|
133
|
+
description: Is this conversation org shared?
|
|
134
|
+
type: boolean | nil
|
|
135
|
+
isPendingExtShared:
|
|
136
|
+
description: Is this conversation pending external sharing?
|
|
137
|
+
type: boolean | nil
|
|
113
138
|
isPrivate:
|
|
114
139
|
description: Is this conversation private?
|
|
115
140
|
type: boolean | nil
|
|
116
141
|
isReadOnly:
|
|
117
142
|
description: Is this conversation read-only?
|
|
118
143
|
type: boolean | nil
|
|
144
|
+
isShared:
|
|
145
|
+
description: Is this conversation shared?
|
|
146
|
+
type: boolean | nil
|
|
119
147
|
isThreadOnly:
|
|
120
148
|
description: Is this conversation thread-only?
|
|
121
149
|
type: boolean | nil
|
|
150
|
+
latest:
|
|
151
|
+
description: The timestamp of the last message in this conversation
|
|
152
|
+
required: false
|
|
153
|
+
type: string | nil
|
|
154
|
+
lastRead:
|
|
155
|
+
description: The timestamp of the last read message of this conversation by
|
|
156
|
+
the current user
|
|
157
|
+
type: string | nil
|
|
122
158
|
name:
|
|
123
159
|
description: Name of the Conversation
|
|
124
160
|
type: string
|
|
125
161
|
numOfMembers:
|
|
126
162
|
description: Number of members in the Conversation
|
|
127
163
|
type: integer | nil
|
|
164
|
+
properties:
|
|
165
|
+
description: The properties of the conversation
|
|
166
|
+
required: false
|
|
167
|
+
type: SlackBridgeConversationPropertiesOutputRepresentation | nil
|
|
128
168
|
shouldCacheCustomEmoji:
|
|
129
169
|
description: Should the Custom Emojis be cached?
|
|
130
170
|
type: boolean | nil
|
|
171
|
+
unreadCount:
|
|
172
|
+
description: Number of messages the current user has not read
|
|
173
|
+
required: false
|
|
174
|
+
type: integer | nil
|
|
175
|
+
unreadCountDisplay:
|
|
176
|
+
description: Number of messages the current user has not read
|
|
177
|
+
and did not author
|
|
178
|
+
required: false
|
|
179
|
+
type: integer | nil
|
|
131
180
|
url:
|
|
132
181
|
description: The URL to the channel
|
|
133
182
|
required: false
|
|
@@ -217,6 +266,16 @@ types:
|
|
|
217
266
|
conversationInfo:
|
|
218
267
|
description: The full information describing this conversation
|
|
219
268
|
type: SlackBridgeConversationInfoOutputRepresentation | nil
|
|
269
|
+
conversationInfos:
|
|
270
|
+
description: A collection of related conversations
|
|
271
|
+
type: array
|
|
272
|
+
items:
|
|
273
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
274
|
+
emojis:
|
|
275
|
+
description: A collection of emojis used in this conversation
|
|
276
|
+
type: array
|
|
277
|
+
items:
|
|
278
|
+
type: SlackBridgeEmojiOutputRepresentation
|
|
220
279
|
history:
|
|
221
280
|
description: A segment of this conversation's message history, either part
|
|
222
281
|
of the top-level conversation or a single message's thread of replies
|
|
@@ -238,6 +297,39 @@ types:
|
|
|
238
297
|
description: The websocket URL to subscribe to RTM topics associated with
|
|
239
298
|
the conversation
|
|
240
299
|
type: string | nil
|
|
300
|
+
SlackBridgeConversationPropertiesOutputRepresentation:
|
|
301
|
+
description: Properties of a conversation
|
|
302
|
+
type: object
|
|
303
|
+
properties:
|
|
304
|
+
atChannelRestricted:
|
|
305
|
+
description: Is @channel restricted
|
|
306
|
+
type: boolean | nil
|
|
307
|
+
atHereRestricted:
|
|
308
|
+
description: Is @here restricted
|
|
309
|
+
type: boolean | nil
|
|
310
|
+
huddlesRestricted:
|
|
311
|
+
description: Are huddles restricted
|
|
312
|
+
type: boolean | nil
|
|
313
|
+
postingRestrictedTo:
|
|
314
|
+
description: Posting restrictions
|
|
315
|
+
type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
|
|
316
|
+
threadsRestrictedTo:
|
|
317
|
+
description: Thread replying restrictions
|
|
318
|
+
type: SlackBridgeConversationRestrictionsOutputRepresentation | nil
|
|
319
|
+
SlackBridgeConversationRestrictionsOutputRepresentation:
|
|
320
|
+
description: Restrictions on a conversation
|
|
321
|
+
type: object
|
|
322
|
+
properties:
|
|
323
|
+
type:
|
|
324
|
+
description: Types
|
|
325
|
+
type: array
|
|
326
|
+
items:
|
|
327
|
+
type: string
|
|
328
|
+
user:
|
|
329
|
+
description: Users
|
|
330
|
+
type: array
|
|
331
|
+
items:
|
|
332
|
+
type: string
|
|
241
333
|
SlackBridgeDisplayLoginOutputRepresentation:
|
|
242
334
|
description: Contains Salesforce Org info and Slack Team info
|
|
243
335
|
type: object
|
|
@@ -247,7 +339,7 @@ types:
|
|
|
247
339
|
type: string
|
|
248
340
|
slackTeam:
|
|
249
341
|
description: Slack Team Info
|
|
250
|
-
type: SlackBridgeSlackTeamOutputRepresentation
|
|
342
|
+
type: SlackBridgeSlackTeamOutputRepresentation | nil
|
|
251
343
|
SlackBridgeEmojiOutputRepresentation:
|
|
252
344
|
description: Contains the details of a Slack Emoji
|
|
253
345
|
type: object
|
|
@@ -294,6 +386,28 @@ types:
|
|
|
294
386
|
type: array
|
|
295
387
|
items:
|
|
296
388
|
type: SlackBridgeEmojiOutputRepresentation
|
|
389
|
+
SlackBridgeEnterpriseUserInfoOutputRepresentation:
|
|
390
|
+
description: Contains the details of Slack Enterprise User object
|
|
391
|
+
type: object
|
|
392
|
+
properties:
|
|
393
|
+
enterpriseId:
|
|
394
|
+
description: Enterprise org id
|
|
395
|
+
type: string
|
|
396
|
+
enterpriseName:
|
|
397
|
+
description: Enterprise org name
|
|
398
|
+
type: string
|
|
399
|
+
id:
|
|
400
|
+
description: Slack User id
|
|
401
|
+
type: string
|
|
402
|
+
isAdmin:
|
|
403
|
+
description: Is Slack User an admin?
|
|
404
|
+
type: boolean
|
|
405
|
+
isOwner:
|
|
406
|
+
description: Is Slack User an owner?
|
|
407
|
+
type: boolean
|
|
408
|
+
isPrimaryOwner:
|
|
409
|
+
description: Is Slack User aa primary owner?
|
|
410
|
+
type: boolean
|
|
297
411
|
SlackBridgeFileInputRepresentation:
|
|
298
412
|
description: Contains the parameters to upload a file to Slack
|
|
299
413
|
type: object
|
|
@@ -327,7 +441,7 @@ types:
|
|
|
327
441
|
description: Title of file.
|
|
328
442
|
type: string
|
|
329
443
|
SlackBridgeFileOutputRepresentation:
|
|
330
|
-
description: Contains the details of
|
|
444
|
+
description: Contains the details of a Slack file
|
|
331
445
|
type: object
|
|
332
446
|
properties:
|
|
333
447
|
contentDocument:
|
|
@@ -345,12 +459,87 @@ types:
|
|
|
345
459
|
name:
|
|
346
460
|
description: Name of the File
|
|
347
461
|
type: string
|
|
462
|
+
prettyType:
|
|
463
|
+
description: Pretty type of the File
|
|
464
|
+
type: string | nil
|
|
348
465
|
size:
|
|
349
466
|
description: Size of the File
|
|
350
467
|
type: integer | nil
|
|
351
468
|
slackPermalink:
|
|
352
469
|
description: Slack Permalink for the File
|
|
353
470
|
type: string
|
|
471
|
+
thumb1024:
|
|
472
|
+
description: Thumbnail URL (1024 height)
|
|
473
|
+
type: string | nil
|
|
474
|
+
thumb1024H:
|
|
475
|
+
description: Thumbnail 1024 height
|
|
476
|
+
type: integer | nil
|
|
477
|
+
thumb1024W:
|
|
478
|
+
description: Thumbnail 1024 width
|
|
479
|
+
type: integer | nil
|
|
480
|
+
thumb360:
|
|
481
|
+
description: Thumbnail URL (360 height)
|
|
482
|
+
type: string | nil
|
|
483
|
+
thumb360H:
|
|
484
|
+
description: Thumbnail 360 height
|
|
485
|
+
type: integer | nil
|
|
486
|
+
thumb360W:
|
|
487
|
+
description: Thumbnail 360 width
|
|
488
|
+
type: integer | nil
|
|
489
|
+
thumb480:
|
|
490
|
+
description: Thumbnail URL (480 height)
|
|
491
|
+
type: string | nil
|
|
492
|
+
thumb480H:
|
|
493
|
+
description: Thumbnail 480 height
|
|
494
|
+
type: integer | nil
|
|
495
|
+
thumb480W:
|
|
496
|
+
description: Thumbnail 480 width
|
|
497
|
+
type: integer | nil
|
|
498
|
+
thumb64:
|
|
499
|
+
description: Thumbnail URL (64 height)
|
|
500
|
+
type: string | nil
|
|
501
|
+
thumb720:
|
|
502
|
+
description: Thumbnail URL (720 height)
|
|
503
|
+
type: string | nil
|
|
504
|
+
thumb720H:
|
|
505
|
+
description: Thumbnail 720 height
|
|
506
|
+
type: integer | nil
|
|
507
|
+
thumb720W:
|
|
508
|
+
description: Thumbnail 720 width
|
|
509
|
+
type: integer | nil
|
|
510
|
+
thumb80:
|
|
511
|
+
description: Thumbnail URL (80 height)
|
|
512
|
+
type: string | nil
|
|
513
|
+
thumb800:
|
|
514
|
+
description: Thumbnail URL (800 height)
|
|
515
|
+
type: string | nil
|
|
516
|
+
thumb800H:
|
|
517
|
+
description: Thumbnail 800 height
|
|
518
|
+
type: integer | nil
|
|
519
|
+
thumb800W:
|
|
520
|
+
description: Thumbnail 800 width
|
|
521
|
+
type: integer | nil
|
|
522
|
+
thumb960:
|
|
523
|
+
description: Thumbnail URL (960 height)
|
|
524
|
+
type: string | nil
|
|
525
|
+
thumbPdf:
|
|
526
|
+
description: PDF thumbnail URL
|
|
527
|
+
type: string | nil
|
|
528
|
+
thumbPdfH:
|
|
529
|
+
description: PDF thumbnail height
|
|
530
|
+
type: integer | nil
|
|
531
|
+
thumbPdfW:
|
|
532
|
+
description: PDF thumbnail width
|
|
533
|
+
type: integer | nil
|
|
534
|
+
thumbVideo:
|
|
535
|
+
description: Video thumbnail
|
|
536
|
+
type: string | nil
|
|
537
|
+
thumbVideoHeight:
|
|
538
|
+
description: Video thumbnail height
|
|
539
|
+
type: integer | nil
|
|
540
|
+
thumbVideoWidth:
|
|
541
|
+
description: Video thumbnail width
|
|
542
|
+
type: integer | nil
|
|
354
543
|
title:
|
|
355
544
|
description: Title of the File
|
|
356
545
|
type: string
|
|
@@ -373,6 +562,33 @@ types:
|
|
|
373
562
|
iconName:
|
|
374
563
|
description: Icon Name of the File
|
|
375
564
|
type: string
|
|
565
|
+
SlackBridgeMPIMSearchResultOutputRepresentation:
|
|
566
|
+
description: Contains the search result for a single MPIM
|
|
567
|
+
type: object
|
|
568
|
+
properties:
|
|
569
|
+
id:
|
|
570
|
+
description: Id of the Conversation
|
|
571
|
+
type: string
|
|
572
|
+
members:
|
|
573
|
+
description: List of Slack user ids that are members of this MPIM
|
|
574
|
+
type: array
|
|
575
|
+
items:
|
|
576
|
+
type: string
|
|
577
|
+
name:
|
|
578
|
+
description: Name of the Conversation
|
|
579
|
+
type: string
|
|
580
|
+
SlackBridgeMPIMSearchResultsOutputRepresentation:
|
|
581
|
+
description: Contains the search results for a collection of MPIMs
|
|
582
|
+
type: object
|
|
583
|
+
properties:
|
|
584
|
+
mpims:
|
|
585
|
+
description: List of Slack MPIM search results
|
|
586
|
+
type: array
|
|
587
|
+
items:
|
|
588
|
+
type: SlackBridgeMPIMSearchResultOutputRepresentation
|
|
589
|
+
searchString:
|
|
590
|
+
description: String used to search for this list of MPIMs (Optional)
|
|
591
|
+
type: string | nil
|
|
376
592
|
SlackBridgeMessageFragmentOutputRepresentation:
|
|
377
593
|
description: Dummy used for RAML generation and LDS consumption
|
|
378
594
|
type: object
|
|
@@ -415,9 +631,17 @@ types:
|
|
|
415
631
|
type: array
|
|
416
632
|
items:
|
|
417
633
|
type: SlackBridgeFileOutputRepresentation
|
|
634
|
+
icon:
|
|
635
|
+
description: Sender icon url for demo bot messages
|
|
636
|
+
type: string | nil
|
|
637
|
+
required: false
|
|
418
638
|
includesCustomEmoji:
|
|
419
639
|
description: Does this message includes Custom emoji?
|
|
420
640
|
type: boolean | nil
|
|
641
|
+
isBeyondFreeLimit:
|
|
642
|
+
description: Is this message older than the limit for free teams?
|
|
643
|
+
type: boolean | nil
|
|
644
|
+
required: false
|
|
421
645
|
isBroadcast:
|
|
422
646
|
description: Is this a reply also sent to the Channel?
|
|
423
647
|
type: boolean | nil
|
|
@@ -452,9 +676,12 @@ types:
|
|
|
452
676
|
replyUsersCount:
|
|
453
677
|
description: Number of users who replied to this message
|
|
454
678
|
type: integer | nil
|
|
679
|
+
slackInviterId:
|
|
680
|
+
description: Details of the Slack User who invited the user described by slackUserId
|
|
681
|
+
type: string | nil
|
|
455
682
|
slackUserId:
|
|
456
683
|
description: Details of the Slack User who posted this message
|
|
457
|
-
type: string
|
|
684
|
+
type: string | nil
|
|
458
685
|
subtype:
|
|
459
686
|
description: Sub-type of Message
|
|
460
687
|
type: string | nil
|
|
@@ -467,6 +694,10 @@ types:
|
|
|
467
694
|
url:
|
|
468
695
|
description: Url for this message
|
|
469
696
|
type: string
|
|
697
|
+
username:
|
|
698
|
+
description: Sender username for demo bot messages
|
|
699
|
+
type: string | nil
|
|
700
|
+
required: false
|
|
470
701
|
SlackBridgePostMessageInputRepresentation:
|
|
471
702
|
description: Contains the parameters to post a message to Slack
|
|
472
703
|
type: object
|
|
@@ -629,6 +860,10 @@ types:
|
|
|
629
860
|
email:
|
|
630
861
|
description: Email of the Slack User
|
|
631
862
|
type: string | nil
|
|
863
|
+
enterpriseUser:
|
|
864
|
+
description: The enterprise user mapping
|
|
865
|
+
required: false
|
|
866
|
+
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
632
867
|
image24:
|
|
633
868
|
description: 24x24 version of the Slack User image
|
|
634
869
|
required: false
|
|
@@ -646,13 +881,31 @@ types:
|
|
|
646
881
|
isActive:
|
|
647
882
|
description: Is this Slack User currently active?
|
|
648
883
|
type: boolean | nil
|
|
884
|
+
isAdmin:
|
|
885
|
+
description: Is Slack User an admin?
|
|
886
|
+
type: boolean
|
|
649
887
|
isExternal:
|
|
650
888
|
description: Is Slack User external?
|
|
651
889
|
type: boolean | nil
|
|
890
|
+
isOwner:
|
|
891
|
+
description: Is Slack User an owner?
|
|
892
|
+
type: boolean
|
|
893
|
+
isPrimaryOwner:
|
|
894
|
+
description: Is Slack User aa primary owner?
|
|
895
|
+
type: boolean
|
|
896
|
+
isRestricted:
|
|
897
|
+
description: Is Slack User restricted?
|
|
898
|
+
type: boolean
|
|
899
|
+
isUltraRestricted:
|
|
900
|
+
description: Is Slack User ultra restricted?
|
|
901
|
+
type: boolean
|
|
652
902
|
isWorkflowBot:
|
|
653
|
-
description: Is
|
|
654
|
-
required: false
|
|
903
|
+
description: Is Slack User a workflow bot?
|
|
655
904
|
type: boolean
|
|
905
|
+
isAgentforceBot:
|
|
906
|
+
description: Is Slack User an Agentforce bot?
|
|
907
|
+
type: boolean
|
|
908
|
+
required: false
|
|
656
909
|
name:
|
|
657
910
|
description: Name of the Slack User
|
|
658
911
|
type: string
|
|
@@ -680,10 +933,21 @@ types:
|
|
|
680
933
|
title:
|
|
681
934
|
description: Title of the Slack User
|
|
682
935
|
type: string | nil
|
|
936
|
+
tz:
|
|
937
|
+
description: Time zone of the Slack user, ie. America/New_York
|
|
938
|
+
required: false
|
|
939
|
+
type: string | nil
|
|
940
|
+
tzLabel:
|
|
941
|
+
description: Time zone label of the Slack user, ie. Eastern Daylight Time
|
|
942
|
+
required: false
|
|
943
|
+
type: string | nil
|
|
683
944
|
SlackBridgeUserInfosOutputRepresentation:
|
|
684
945
|
description: Contains the list of Slack User Information
|
|
685
946
|
type: object
|
|
686
947
|
properties:
|
|
948
|
+
nextMarker:
|
|
949
|
+
description: Next marker used for pagination. (Optional)
|
|
950
|
+
type: string | nil
|
|
687
951
|
searchString:
|
|
688
952
|
description: String used to search this list of conversations (Optional)
|
|
689
953
|
type: string | nil
|
|
@@ -704,6 +968,10 @@ types:
|
|
|
704
968
|
application/json:
|
|
705
969
|
type: SlackBridgeConversationOutputRepresentation
|
|
706
970
|
queryParameters:
|
|
971
|
+
centerMessageTs:
|
|
972
|
+
description: Messages before and after this Unix timestamp will be included in results.
|
|
973
|
+
type: string
|
|
974
|
+
required: false
|
|
707
975
|
channelId:
|
|
708
976
|
description: Channel where the conversation exist
|
|
709
977
|
type: string
|
|
@@ -727,6 +995,10 @@ types:
|
|
|
727
995
|
number of messages may be returned.
|
|
728
996
|
type: integer
|
|
729
997
|
required: false
|
|
998
|
+
noEmojis:
|
|
999
|
+
description: Do not search for references to custom emojis
|
|
1000
|
+
type: boolean
|
|
1001
|
+
required: false
|
|
730
1002
|
oldestMessageTs:
|
|
731
1003
|
description: Only messages after this Unix timestamp will be included in
|
|
732
1004
|
results. Default is the current time.
|
|
@@ -1005,6 +1277,48 @@ types:
|
|
|
1005
1277
|
description: Id of the Slack team where the conversation exists
|
|
1006
1278
|
type: string
|
|
1007
1279
|
required: true
|
|
1280
|
+
/channels:
|
|
1281
|
+
get:
|
|
1282
|
+
displayName: getSlackConversationInfos
|
|
1283
|
+
description: Request to get a collection of a Slack conversation infos
|
|
1284
|
+
responses:
|
|
1285
|
+
'200':
|
|
1286
|
+
description: Success
|
|
1287
|
+
body:
|
|
1288
|
+
application/json:
|
|
1289
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
1290
|
+
queryParameters:
|
|
1291
|
+
channelIds:
|
|
1292
|
+
description: List of Channel Ids
|
|
1293
|
+
type: array
|
|
1294
|
+
required: true
|
|
1295
|
+
items:
|
|
1296
|
+
type: string
|
|
1297
|
+
(oas-collectionFormat): csv
|
|
1298
|
+
uriParameters:
|
|
1299
|
+
teamId:
|
|
1300
|
+
description: Id of the Slack team where the conversations exists
|
|
1301
|
+
type: string
|
|
1302
|
+
required: true
|
|
1303
|
+
/channels/{channelId}:
|
|
1304
|
+
get:
|
|
1305
|
+
displayName: getSlackConversationInfo
|
|
1306
|
+
description: Request to get a collection of a Slack conversation infos
|
|
1307
|
+
responses:
|
|
1308
|
+
'200':
|
|
1309
|
+
description: Success
|
|
1310
|
+
body:
|
|
1311
|
+
application/json:
|
|
1312
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
1313
|
+
uriParameters:
|
|
1314
|
+
channelId:
|
|
1315
|
+
description: Id of the Slack channel
|
|
1316
|
+
type: string
|
|
1317
|
+
required: true
|
|
1318
|
+
teamId:
|
|
1319
|
+
description: Id of the Slack team where the conversations exists
|
|
1320
|
+
type: string
|
|
1321
|
+
required: true
|
|
1008
1322
|
/emojis:
|
|
1009
1323
|
get:
|
|
1010
1324
|
displayName: getSlackEmojis
|
|
@@ -1088,6 +1402,30 @@ types:
|
|
|
1088
1402
|
description: Team or Workspace
|
|
1089
1403
|
type: string
|
|
1090
1404
|
required: true
|
|
1405
|
+
/mpims:
|
|
1406
|
+
get:
|
|
1407
|
+
displayName: getSlackSearchMPIMs
|
|
1408
|
+
description: Search Slack MPIMs
|
|
1409
|
+
responses:
|
|
1410
|
+
'200':
|
|
1411
|
+
description: Success
|
|
1412
|
+
body:
|
|
1413
|
+
application/json:
|
|
1414
|
+
type: SlackBridgeMPIMSearchResultsOutputRepresentation
|
|
1415
|
+
queryParameters:
|
|
1416
|
+
search:
|
|
1417
|
+
description: Search String
|
|
1418
|
+
type: string
|
|
1419
|
+
required: false
|
|
1420
|
+
useDisplayName:
|
|
1421
|
+
description: Match by user display names
|
|
1422
|
+
type: boolean
|
|
1423
|
+
required: false
|
|
1424
|
+
uriParameters:
|
|
1425
|
+
teamId:
|
|
1426
|
+
description: Team ID
|
|
1427
|
+
type: string
|
|
1428
|
+
required: true
|
|
1091
1429
|
/users:
|
|
1092
1430
|
get:
|
|
1093
1431
|
displayName: getSlackSearchUser
|
package/src/raml/luvio.raml
CHANGED
|
@@ -8,11 +8,13 @@ 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
|
|
14
16
|
SlackBridgeUserInfoOutputRepresentation:
|
|
15
|
-
(luvio.ttl):
|
|
17
|
+
(luvio.ttl): 900000
|
|
16
18
|
(luvio.key):
|
|
17
19
|
slackUserId: slackUserId
|
|
18
20
|
SlackBridgePostMessageOutputRepresentation:
|
|
@@ -35,6 +37,7 @@ types:
|
|
|
35
37
|
(luvio.key):
|
|
36
38
|
channelId: channelId
|
|
37
39
|
SlackBridgeConversationInfoOutputRepresentation:
|
|
40
|
+
(luvio.ttl): 900000
|
|
38
41
|
(luvio.key):
|
|
39
42
|
id: id
|
|
40
43
|
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
@@ -54,6 +57,10 @@ types:
|
|
|
54
57
|
(luvio.ttl): 500
|
|
55
58
|
SlackBridgeSlackTeamOutputRepresentation:
|
|
56
59
|
(luvio.ttl): 500
|
|
60
|
+
SlackBridgeMPIMSearchResultsOutputRepresentation:
|
|
61
|
+
(luvio.ttl): 500
|
|
62
|
+
SlackBridgeMPIMSearchResultOutputRepresentation:
|
|
63
|
+
(luvio.ttl): 500
|
|
57
64
|
|
|
58
65
|
/connect/slackbridge:
|
|
59
66
|
/conversation/messages:
|
|
@@ -131,6 +138,16 @@ types:
|
|
|
131
138
|
post:
|
|
132
139
|
(luvio.adapter):
|
|
133
140
|
name: postSlackMessageReactions
|
|
141
|
+
/channels:
|
|
142
|
+
get:
|
|
143
|
+
(luvio.adapter):
|
|
144
|
+
name: getSlackConversationInfos
|
|
145
|
+
/channels/{channelId}:
|
|
146
|
+
get:
|
|
147
|
+
(luvio.adapter):
|
|
148
|
+
name: getSlackConversationInfo
|
|
149
|
+
(luvio.key):
|
|
150
|
+
id: urlParams.channelId
|
|
134
151
|
/emojis:
|
|
135
152
|
get:
|
|
136
153
|
(luvio.adapter):
|
|
@@ -150,6 +167,10 @@ types:
|
|
|
150
167
|
get:
|
|
151
168
|
(luvio.adapter):
|
|
152
169
|
name: getSlackSearchEmoji
|
|
170
|
+
/mpims:
|
|
171
|
+
get:
|
|
172
|
+
(luvio.adapter):
|
|
173
|
+
name: getSlackSearchMPIMs
|
|
153
174
|
/users:
|
|
154
175
|
get:
|
|
155
176
|
(luvio.adapter):
|