@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev6 → 1.332.0-dev8
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 +1862 -909
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +3 -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/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +19 -19
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +15 -9
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +1778 -814
- package/src/raml/api.raml +71 -30
- package/src/raml/luvio.raml +4 -0
package/src/raml/api.raml
CHANGED
|
@@ -53,7 +53,7 @@ types:
|
|
|
53
53
|
type: string
|
|
54
54
|
filetype:
|
|
55
55
|
description: File type of the Content Version record
|
|
56
|
-
type: SlackBridgeFileTypeOutputRepresentation
|
|
56
|
+
type: SlackBridgeFileTypeOutputRepresentation | nil
|
|
57
57
|
id:
|
|
58
58
|
description: Id of the Content Version record
|
|
59
59
|
type: string
|
|
@@ -65,7 +65,7 @@ types:
|
|
|
65
65
|
type: string
|
|
66
66
|
versionUrl:
|
|
67
67
|
description: Version URL for the Content Version record
|
|
68
|
-
type: string
|
|
68
|
+
type: string | nil
|
|
69
69
|
SlackBridgeConversationHistoryOutputRepresentation:
|
|
70
70
|
description: Contains the details of segment of a Slack conversation's history
|
|
71
71
|
type: object
|
|
@@ -91,34 +91,34 @@ types:
|
|
|
91
91
|
type: string
|
|
92
92
|
isArchived:
|
|
93
93
|
description: Is this conversation archived?
|
|
94
|
-
type: boolean
|
|
94
|
+
type: boolean | nil
|
|
95
95
|
isChannel:
|
|
96
96
|
description: Is this a channel?
|
|
97
|
-
type: boolean
|
|
97
|
+
type: boolean | nil
|
|
98
98
|
isCustomEmojiSupported:
|
|
99
99
|
description: Is Custom Emoji supported?
|
|
100
100
|
type: boolean | nil
|
|
101
101
|
isGroup:
|
|
102
102
|
description: Is this a group?
|
|
103
|
-
type: boolean
|
|
103
|
+
type: boolean | nil
|
|
104
104
|
isIm:
|
|
105
105
|
description: Is this IM?
|
|
106
|
-
type: boolean
|
|
106
|
+
type: boolean | nil
|
|
107
107
|
isMember:
|
|
108
108
|
description: Is the context User a member of this Conversation?
|
|
109
|
-
type: boolean
|
|
109
|
+
type: boolean | nil
|
|
110
110
|
isOpen:
|
|
111
111
|
description: Is this conversation open?
|
|
112
|
-
type: boolean
|
|
112
|
+
type: boolean | nil
|
|
113
113
|
isPrivate:
|
|
114
114
|
description: Is this conversation private?
|
|
115
|
-
type: boolean
|
|
115
|
+
type: boolean | nil
|
|
116
116
|
isReadOnly:
|
|
117
117
|
description: Is this conversation read-only?
|
|
118
|
-
type: boolean
|
|
118
|
+
type: boolean | nil
|
|
119
119
|
isThreadOnly:
|
|
120
120
|
description: Is this conversation thread-only?
|
|
121
|
-
type: boolean
|
|
121
|
+
type: boolean | nil
|
|
122
122
|
name:
|
|
123
123
|
description: Name of the Conversation
|
|
124
124
|
type: string
|
|
@@ -143,7 +143,7 @@ types:
|
|
|
143
143
|
type: SlackBridgeConversationInfoOutputRepresentation
|
|
144
144
|
searchString:
|
|
145
145
|
description: String used to search this list of conversations (Optional)
|
|
146
|
-
type: string
|
|
146
|
+
type: string | nil
|
|
147
147
|
SlackBridgeConversationInputRepresentation:
|
|
148
148
|
description: Representation of a Slack conversation
|
|
149
149
|
type: object
|
|
@@ -246,7 +246,7 @@ types:
|
|
|
246
246
|
properties:
|
|
247
247
|
altText:
|
|
248
248
|
description: Alt text for the Slack Emoji
|
|
249
|
-
type: string
|
|
249
|
+
type: string | nil
|
|
250
250
|
isCustom:
|
|
251
251
|
description: Is this a custom Slack Emoji?
|
|
252
252
|
type: boolean | nil
|
|
@@ -255,10 +255,10 @@ types:
|
|
|
255
255
|
type: string
|
|
256
256
|
unicode:
|
|
257
257
|
description: Unicode for the Slack Emoji
|
|
258
|
-
type: string
|
|
258
|
+
type: string | nil
|
|
259
259
|
url:
|
|
260
260
|
description: Url of the Slack Emoji
|
|
261
|
-
type: string
|
|
261
|
+
type: string | nil
|
|
262
262
|
SlackBridgeEmojisOutputRepresentation:
|
|
263
263
|
description: Contains the list of Slack Emoji
|
|
264
264
|
type: object
|
|
@@ -270,7 +270,7 @@ types:
|
|
|
270
270
|
type: SlackBridgeEmojiOutputRepresentation
|
|
271
271
|
searchString:
|
|
272
272
|
description: String used to search this list of conversations (Optional)
|
|
273
|
-
type: string
|
|
273
|
+
type: string | nil
|
|
274
274
|
SlackBridgeFileInputRepresentation:
|
|
275
275
|
description: Contains the parameters to upload a file to Slack
|
|
276
276
|
type: object
|
|
@@ -309,7 +309,7 @@ types:
|
|
|
309
309
|
properties:
|
|
310
310
|
contentDocument:
|
|
311
311
|
description: Content Document data
|
|
312
|
-
type: SlackBridgeContentDocumentOutputRepresentation
|
|
312
|
+
type: SlackBridgeContentDocumentOutputRepresentation | nil
|
|
313
313
|
filetype:
|
|
314
314
|
description: Type of the File
|
|
315
315
|
type: string
|
|
@@ -324,7 +324,7 @@ types:
|
|
|
324
324
|
type: string
|
|
325
325
|
size:
|
|
326
326
|
description: Size of the File
|
|
327
|
-
type: integer
|
|
327
|
+
type: integer | nil
|
|
328
328
|
slackPermalink:
|
|
329
329
|
description: Slack Permalink for the File
|
|
330
330
|
type: string
|
|
@@ -333,13 +333,13 @@ types:
|
|
|
333
333
|
type: string
|
|
334
334
|
token:
|
|
335
335
|
description: Token used for the File
|
|
336
|
-
type: string
|
|
336
|
+
type: string | nil
|
|
337
337
|
uniqueKey:
|
|
338
338
|
description: Unique Key for the File
|
|
339
|
-
type: string
|
|
339
|
+
type: string | nil
|
|
340
340
|
url:
|
|
341
341
|
description: Slack web URL for the File
|
|
342
|
-
type: string
|
|
342
|
+
type: string | nil
|
|
343
343
|
SlackBridgeFileTypeOutputRepresentation:
|
|
344
344
|
description: Contains the details of FileType
|
|
345
345
|
type: object
|
|
@@ -394,13 +394,13 @@ types:
|
|
|
394
394
|
type: boolean | nil
|
|
395
395
|
isBroadcast:
|
|
396
396
|
description: Is this a reply also sent to the Channel?
|
|
397
|
-
type: boolean
|
|
397
|
+
type: boolean | nil
|
|
398
398
|
isEditable:
|
|
399
399
|
description: Can this message be edited?
|
|
400
400
|
type: boolean
|
|
401
401
|
isEdited:
|
|
402
402
|
description: Is this an edited message?
|
|
403
|
-
type: boolean
|
|
403
|
+
type: boolean | nil
|
|
404
404
|
latestReplyTimestamp:
|
|
405
405
|
description: Latest Reply timestamp
|
|
406
406
|
type: string | nil
|
|
@@ -437,7 +437,7 @@ types:
|
|
|
437
437
|
type: string | nil
|
|
438
438
|
type:
|
|
439
439
|
description: Type of Message
|
|
440
|
-
type: string
|
|
440
|
+
type: string | nil
|
|
441
441
|
url:
|
|
442
442
|
description: Url for this message
|
|
443
443
|
type: string
|
|
@@ -490,7 +490,7 @@ types:
|
|
|
490
490
|
properties:
|
|
491
491
|
count:
|
|
492
492
|
description: Number of reactions
|
|
493
|
-
type: integer
|
|
493
|
+
type: integer | nil
|
|
494
494
|
name:
|
|
495
495
|
description: Name of the reaction
|
|
496
496
|
type: string
|
|
@@ -564,10 +564,13 @@ types:
|
|
|
564
564
|
type: boolean
|
|
565
565
|
displayName:
|
|
566
566
|
description: Display Name of the Slack User
|
|
567
|
-
type: string
|
|
567
|
+
type: string | nil
|
|
568
|
+
email:
|
|
569
|
+
description: Email of the Slack User
|
|
570
|
+
type: string | nil
|
|
568
571
|
image24:
|
|
569
572
|
description: 24x24 version of the Slack User image
|
|
570
|
-
type: string
|
|
573
|
+
type: string | nil
|
|
571
574
|
imageOriginal:
|
|
572
575
|
description: Original version of the Slack User image
|
|
573
576
|
type: string | nil
|
|
@@ -588,7 +591,7 @@ types:
|
|
|
588
591
|
type: string | nil
|
|
589
592
|
realName:
|
|
590
593
|
description: Real Name of the Slack User
|
|
591
|
-
type: string
|
|
594
|
+
type: string | nil
|
|
592
595
|
salesforceUserId:
|
|
593
596
|
description: Id of the related Salesforce User mapped to the Slack User
|
|
594
597
|
type: string | nil
|
|
@@ -600,17 +603,20 @@ types:
|
|
|
600
603
|
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
601
604
|
statusMessage:
|
|
602
605
|
description: Status message of the Slack User
|
|
603
|
-
type: string
|
|
606
|
+
type: string | nil
|
|
604
607
|
teamId:
|
|
605
608
|
description: Slack Workspace Id
|
|
606
609
|
type: string
|
|
610
|
+
title:
|
|
611
|
+
description: Title of the Slack User
|
|
612
|
+
type: string | nil
|
|
607
613
|
SlackBridgeUserInfosOutputRepresentation:
|
|
608
614
|
description: Contains the list of Slack User Information
|
|
609
615
|
type: object
|
|
610
616
|
properties:
|
|
611
617
|
searchString:
|
|
612
618
|
description: String used to search this list of conversations (Optional)
|
|
613
|
-
type: string
|
|
619
|
+
type: string | nil
|
|
614
620
|
userInfos:
|
|
615
621
|
description: List of Slack User Information
|
|
616
622
|
type: array
|
|
@@ -895,6 +901,26 @@ types:
|
|
|
895
901
|
type: string
|
|
896
902
|
required: true
|
|
897
903
|
/search:
|
|
904
|
+
/conversations:
|
|
905
|
+
get:
|
|
906
|
+
displayName: getSlackSearchConversation
|
|
907
|
+
description: Search Slack Conversations
|
|
908
|
+
responses:
|
|
909
|
+
'200':
|
|
910
|
+
description: Success
|
|
911
|
+
body:
|
|
912
|
+
application/json:
|
|
913
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
914
|
+
queryParameters:
|
|
915
|
+
search:
|
|
916
|
+
description: Search String
|
|
917
|
+
type: string
|
|
918
|
+
required: false
|
|
919
|
+
uriParameters:
|
|
920
|
+
teamId:
|
|
921
|
+
description: Team or Workspace
|
|
922
|
+
type: string
|
|
923
|
+
required: true
|
|
898
924
|
/emojis:
|
|
899
925
|
get:
|
|
900
926
|
displayName: getSlackSearchEmoji
|
|
@@ -926,6 +952,21 @@ types:
|
|
|
926
952
|
application/json:
|
|
927
953
|
type: SlackBridgeUserInfosOutputRepresentation
|
|
928
954
|
queryParameters:
|
|
955
|
+
channels:
|
|
956
|
+
type: array
|
|
957
|
+
required: false
|
|
958
|
+
items:
|
|
959
|
+
type: string
|
|
960
|
+
(oas-collectionFormat): csv
|
|
961
|
+
filter:
|
|
962
|
+
type: string
|
|
963
|
+
required: false
|
|
964
|
+
not_in_channels:
|
|
965
|
+
type: array
|
|
966
|
+
required: false
|
|
967
|
+
items:
|
|
968
|
+
type: string
|
|
969
|
+
(oas-collectionFormat): csv
|
|
929
970
|
search:
|
|
930
971
|
description: Search String
|
|
931
972
|
type: string
|