@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev5 → 1.332.0-dev7

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.
Files changed (19) hide show
  1. package/dist/es/es2018/platform-slack-bridge.js +1782 -902
  2. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
  3. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  5. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
  6. package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
  7. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +19 -19
  8. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +3 -3
  9. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +7 -7
  10. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +3 -3
  11. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
  12. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +7 -7
  13. package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
  14. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +9 -9
  15. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
  16. package/package.json +3 -3
  17. package/sfdc/index.js +1703 -812
  18. package/src/raml/api.raml +50 -30
  19. 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,10 @@ 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
568
  image24:
569
569
  description: 24x24 version of the Slack User image
570
- type: string
570
+ type: string | nil
571
571
  imageOriginal:
572
572
  description: Original version of the Slack User image
573
573
  type: string | nil
@@ -588,7 +588,7 @@ types:
588
588
  type: string | nil
589
589
  realName:
590
590
  description: Real Name of the Slack User
591
- type: string
591
+ type: string | nil
592
592
  salesforceUserId:
593
593
  description: Id of the related Salesforce User mapped to the Slack User
594
594
  type: string | nil
@@ -600,7 +600,7 @@ types:
600
600
  type: SlackBridgeEmojiOutputRepresentation | nil
601
601
  statusMessage:
602
602
  description: Status message of the Slack User
603
- type: string
603
+ type: string | nil
604
604
  teamId:
605
605
  description: Slack Workspace Id
606
606
  type: string
@@ -610,7 +610,7 @@ types:
610
610
  properties:
611
611
  searchString:
612
612
  description: String used to search this list of conversations (Optional)
613
- type: string
613
+ type: string | nil
614
614
  userInfos:
615
615
  description: List of Slack User Information
616
616
  type: array
@@ -895,6 +895,26 @@ types:
895
895
  type: string
896
896
  required: true
897
897
  /search:
898
+ /conversations:
899
+ get:
900
+ displayName: getSlackSearchConversation
901
+ description: Search Slack Conversations
902
+ responses:
903
+ '200':
904
+ description: Success
905
+ body:
906
+ application/json:
907
+ type: SlackBridgeConversationInfosOutputRepresentation
908
+ queryParameters:
909
+ search:
910
+ description: Search String
911
+ type: string
912
+ required: false
913
+ uriParameters:
914
+ teamId:
915
+ description: Team or Workspace
916
+ type: string
917
+ required: true
898
918
  /emojis:
899
919
  get:
900
920
  displayName: getSlackSearchEmoji
@@ -119,6 +119,10 @@ types:
119
119
  (luvio.adapter):
120
120
  name: getSlackCustomEmoji
121
121
  /search:
122
+ /conversations:
123
+ get:
124
+ (luvio.adapter):
125
+ name: getSlackSearchConversation
122
126
  /emojis:
123
127
  get:
124
128
  (luvio.adapter):