@salesforce/lds-adapters-platform-slack-bridge 1.344.0 → 1.346.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 +2037 -805
- package/dist/es/es2018/types/src/generated/adapters/getSlackEmoji.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackEmojis.d.ts +28 -0
- 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 +3 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -3
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +7 -4
- 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 +22 -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 +33 -19
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +14 -8
- 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 +26 -11
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +2175 -880
- package/src/raml/api.raml +147 -68
- package/src/raml/luvio.raml +16 -1
- package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +0 -27
- package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +0 -35
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
|
|
@@ -128,6 +128,10 @@ types:
|
|
|
128
128
|
shouldCacheCustomEmoji:
|
|
129
129
|
description: Should the Custom Emojis be cached?
|
|
130
130
|
type: boolean | nil
|
|
131
|
+
url:
|
|
132
|
+
description: The URL to the channel
|
|
133
|
+
required: false
|
|
134
|
+
type: string
|
|
131
135
|
SlackBridgeConversationInfosOutputRepresentation:
|
|
132
136
|
description: Contains the list of Slack Conversation Information
|
|
133
137
|
type: object
|
|
@@ -139,6 +143,16 @@ types:
|
|
|
139
143
|
type: SlackBridgeConversationInfoOutputRepresentation
|
|
140
144
|
searchString:
|
|
141
145
|
description: String used to search this list of conversations (Optional)
|
|
146
|
+
type: string | nil
|
|
147
|
+
SlackBridgeConversationInputRepresentation:
|
|
148
|
+
description: Representation of a Slack conversation
|
|
149
|
+
type: object
|
|
150
|
+
properties:
|
|
151
|
+
isPrivate:
|
|
152
|
+
description: Flag indicating if the conversation is private
|
|
153
|
+
type: boolean
|
|
154
|
+
name:
|
|
155
|
+
description: Name of the conversation
|
|
142
156
|
type: string
|
|
143
157
|
SlackBridgeConversationMarkOutputRepresentation:
|
|
144
158
|
description: Representation of a successful call to update the read cursor in
|
|
@@ -186,16 +200,6 @@ types:
|
|
|
186
200
|
type: array
|
|
187
201
|
items:
|
|
188
202
|
type: string
|
|
189
|
-
SlackBridgeConversationInputRepresentation:
|
|
190
|
-
description: Representation of a Slack conversation
|
|
191
|
-
type: object
|
|
192
|
-
properties:
|
|
193
|
-
isPrivate:
|
|
194
|
-
description: Flag indicating if the conversation is private
|
|
195
|
-
type: boolean
|
|
196
|
-
name:
|
|
197
|
-
description: Name of the conversation
|
|
198
|
-
type: string
|
|
199
203
|
SlackBridgeConversationOutputRepresentation:
|
|
200
204
|
description: Contains the details of a Slack Conversation
|
|
201
205
|
type: object
|
|
@@ -234,40 +238,45 @@ types:
|
|
|
234
238
|
description: The websocket URL to subscribe to RTM topics associated with
|
|
235
239
|
the conversation
|
|
236
240
|
type: string | nil
|
|
237
|
-
SlackBridgeCustomEmojisOutputRepresentation:
|
|
238
|
-
description: Contains the Slack Custom emojis
|
|
239
|
-
type: object
|
|
240
|
-
properties:
|
|
241
|
-
customEmojis:
|
|
242
|
-
description: Custom emojis for the given Team (Slack Workspace)
|
|
243
|
-
type: object
|
|
244
|
-
properties:
|
|
245
|
-
//:
|
|
246
|
-
type: string
|
|
247
|
-
teamId:
|
|
248
|
-
description: Id of the Team (Workspace)
|
|
249
|
-
type: string
|
|
250
241
|
SlackBridgeEmojiOutputRepresentation:
|
|
251
|
-
description: Contains the details of Slack Emoji
|
|
242
|
+
description: Contains the details of a Slack Emoji
|
|
252
243
|
type: object
|
|
253
244
|
properties:
|
|
254
|
-
|
|
255
|
-
description:
|
|
256
|
-
type: string
|
|
257
|
-
|
|
258
|
-
description:
|
|
245
|
+
alias:
|
|
246
|
+
description: The alias for the emoji
|
|
247
|
+
type: string | nil
|
|
248
|
+
collectionId:
|
|
249
|
+
description: Ties the emoji back to its collection, if it came from one
|
|
250
|
+
type: string | nil
|
|
251
|
+
isAlias:
|
|
252
|
+
description: Is the emoji an alias
|
|
259
253
|
type: boolean | nil
|
|
260
254
|
name:
|
|
261
|
-
description:
|
|
262
|
-
|
|
263
|
-
unicode:
|
|
264
|
-
description: Unicode for the Slack Emoji
|
|
265
|
-
type: string
|
|
266
|
-
url:
|
|
267
|
-
description: Url of the Slack Emoji
|
|
255
|
+
description: Indicates the name of the emoji, and doubles as an ID when looking
|
|
256
|
+
it up, as name is unique across a team/org
|
|
268
257
|
type: string
|
|
258
|
+
updated:
|
|
259
|
+
description: The last date the emoji name was updated
|
|
260
|
+
type: string | nil
|
|
261
|
+
value:
|
|
262
|
+
description: Value of the Slack Emoji. This is either a URL string, an alias
|
|
263
|
+
string, or an object containing both Apple and Google URL strings
|
|
264
|
+
type: SlackBridgeEmojiValueOutputRepresentation | nil
|
|
265
|
+
SlackBridgeEmojiValueOutputRepresentation:
|
|
266
|
+
description: Contains the details of a Slack emoji value
|
|
267
|
+
type: object
|
|
268
|
+
properties:
|
|
269
|
+
appleUrl:
|
|
270
|
+
description: Url of the emoji with Apple styles
|
|
271
|
+
type: string | nil
|
|
272
|
+
defaultValue:
|
|
273
|
+
description: Url of the emoji if specific Apple and Google urls are not provided
|
|
274
|
+
type: string | nil
|
|
275
|
+
googleUrl:
|
|
276
|
+
description: Url of the emoji with Google styles
|
|
277
|
+
type: string | nil
|
|
269
278
|
SlackBridgeEmojisOutputRepresentation:
|
|
270
|
-
description: Contains the list of Slack
|
|
279
|
+
description: Contains the list of Slack Emojis
|
|
271
280
|
type: object
|
|
272
281
|
properties:
|
|
273
282
|
emojis:
|
|
@@ -275,9 +284,6 @@ types:
|
|
|
275
284
|
type: array
|
|
276
285
|
items:
|
|
277
286
|
type: SlackBridgeEmojiOutputRepresentation
|
|
278
|
-
searchString:
|
|
279
|
-
description: String used to search this list of conversations (Optional)
|
|
280
|
-
type: string
|
|
281
287
|
SlackBridgeFileInputRepresentation:
|
|
282
288
|
description: Contains the parameters to upload a file to Slack
|
|
283
289
|
type: object
|
|
@@ -316,7 +322,7 @@ types:
|
|
|
316
322
|
properties:
|
|
317
323
|
contentDocument:
|
|
318
324
|
description: Content Document data
|
|
319
|
-
type: SlackBridgeContentDocumentOutputRepresentation
|
|
325
|
+
type: SlackBridgeContentDocumentOutputRepresentation | nil
|
|
320
326
|
filetype:
|
|
321
327
|
description: Type of the File
|
|
322
328
|
type: string
|
|
@@ -331,7 +337,7 @@ types:
|
|
|
331
337
|
type: string
|
|
332
338
|
size:
|
|
333
339
|
description: Size of the File
|
|
334
|
-
type: integer
|
|
340
|
+
type: integer | nil
|
|
335
341
|
slackPermalink:
|
|
336
342
|
description: Slack Permalink for the File
|
|
337
343
|
type: string
|
|
@@ -340,13 +346,13 @@ types:
|
|
|
340
346
|
type: string
|
|
341
347
|
token:
|
|
342
348
|
description: Token used for the File
|
|
343
|
-
type: string
|
|
349
|
+
type: string | nil
|
|
344
350
|
uniqueKey:
|
|
345
351
|
description: Unique Key for the File
|
|
346
|
-
type: string
|
|
352
|
+
type: string | nil
|
|
347
353
|
url:
|
|
348
354
|
description: Slack web URL for the File
|
|
349
|
-
type: string
|
|
355
|
+
type: string | nil
|
|
350
356
|
SlackBridgeFileTypeOutputRepresentation:
|
|
351
357
|
description: Contains the details of FileType
|
|
352
358
|
type: object
|
|
@@ -401,13 +407,13 @@ types:
|
|
|
401
407
|
type: boolean | nil
|
|
402
408
|
isBroadcast:
|
|
403
409
|
description: Is this a reply also sent to the Channel?
|
|
404
|
-
type: boolean
|
|
410
|
+
type: boolean | nil
|
|
405
411
|
isEditable:
|
|
406
412
|
description: Can this message be edited?
|
|
407
413
|
type: boolean
|
|
408
414
|
isEdited:
|
|
409
415
|
description: Is this an edited message?
|
|
410
|
-
type: boolean
|
|
416
|
+
type: boolean | nil
|
|
411
417
|
latestReplyTimestamp:
|
|
412
418
|
description: Latest Reply timestamp
|
|
413
419
|
type: string | nil
|
|
@@ -444,7 +450,7 @@ types:
|
|
|
444
450
|
type: string | nil
|
|
445
451
|
type:
|
|
446
452
|
description: Type of Message
|
|
447
|
-
type: string
|
|
453
|
+
type: string | nil
|
|
448
454
|
url:
|
|
449
455
|
description: Url for this message
|
|
450
456
|
type: string
|
|
@@ -497,7 +503,7 @@ types:
|
|
|
497
503
|
properties:
|
|
498
504
|
count:
|
|
499
505
|
description: Number of reactions
|
|
500
|
-
type: integer
|
|
506
|
+
type: integer | nil
|
|
501
507
|
name:
|
|
502
508
|
description: Name of the reaction
|
|
503
509
|
type: string
|
|
@@ -571,10 +577,13 @@ types:
|
|
|
571
577
|
type: boolean
|
|
572
578
|
displayName:
|
|
573
579
|
description: Display Name of the Slack User
|
|
574
|
-
type: string
|
|
580
|
+
type: string | nil
|
|
581
|
+
email:
|
|
582
|
+
description: Email of the Slack User
|
|
583
|
+
type: string | nil
|
|
575
584
|
image24:
|
|
576
585
|
description: 24x24 version of the Slack User image
|
|
577
|
-
type: string
|
|
586
|
+
type: string | nil
|
|
578
587
|
imageOriginal:
|
|
579
588
|
description: Original version of the Slack User image
|
|
580
589
|
type: string | nil
|
|
@@ -595,7 +604,7 @@ types:
|
|
|
595
604
|
type: string | nil
|
|
596
605
|
realName:
|
|
597
606
|
description: Real Name of the Slack User
|
|
598
|
-
type: string
|
|
607
|
+
type: string | nil
|
|
599
608
|
salesforceUserId:
|
|
600
609
|
description: Id of the related Salesforce User mapped to the Slack User
|
|
601
610
|
type: string | nil
|
|
@@ -607,17 +616,20 @@ types:
|
|
|
607
616
|
type: SlackBridgeEmojiOutputRepresentation | nil
|
|
608
617
|
statusMessage:
|
|
609
618
|
description: Status message of the Slack User
|
|
610
|
-
type: string
|
|
619
|
+
type: string | nil
|
|
611
620
|
teamId:
|
|
612
621
|
description: Slack Workspace Id
|
|
613
622
|
type: string
|
|
623
|
+
title:
|
|
624
|
+
description: Title of the Slack User
|
|
625
|
+
type: string | nil
|
|
614
626
|
SlackBridgeUserInfosOutputRepresentation:
|
|
615
627
|
description: Contains the list of Slack User Information
|
|
616
628
|
type: object
|
|
617
629
|
properties:
|
|
618
630
|
searchString:
|
|
619
631
|
description: String used to search this list of conversations (Optional)
|
|
620
|
-
type: string
|
|
632
|
+
type: string | nil
|
|
621
633
|
userInfos:
|
|
622
634
|
description: List of Slack User Information
|
|
623
635
|
type: array
|
|
@@ -726,6 +738,11 @@ types:
|
|
|
726
738
|
body:
|
|
727
739
|
application/json:
|
|
728
740
|
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
741
|
+
uriParameters:
|
|
742
|
+
relatedRecordId:
|
|
743
|
+
description: Id of the record to which the Slack Conversation is related.
|
|
744
|
+
type: string
|
|
745
|
+
required: true
|
|
729
746
|
/team/{teamId}:
|
|
730
747
|
/channel/{channelId}:
|
|
731
748
|
/mark:
|
|
@@ -908,20 +925,67 @@ types:
|
|
|
908
925
|
required: true
|
|
909
926
|
/emojis:
|
|
910
927
|
get:
|
|
911
|
-
displayName:
|
|
912
|
-
description: Get Slack
|
|
928
|
+
displayName: getSlackEmojis
|
|
929
|
+
description: Get Slack Emojis
|
|
913
930
|
responses:
|
|
914
931
|
'200':
|
|
915
932
|
description: Success
|
|
916
933
|
body:
|
|
917
934
|
application/json:
|
|
918
|
-
type:
|
|
935
|
+
type: SlackBridgeEmojisOutputRepresentation
|
|
936
|
+
queryParameters:
|
|
937
|
+
slackEmojiIds:
|
|
938
|
+
description: List of Emoji Ids
|
|
939
|
+
type: array
|
|
940
|
+
required: true
|
|
941
|
+
items:
|
|
942
|
+
type: string
|
|
943
|
+
(oas-collectionFormat): csv
|
|
919
944
|
uriParameters:
|
|
920
945
|
teamId:
|
|
921
946
|
description: Team or Workspace
|
|
922
947
|
type: string
|
|
923
948
|
required: true
|
|
949
|
+
/emojis/{slackEmojiId}:
|
|
950
|
+
get:
|
|
951
|
+
displayName: getSlackEmoji
|
|
952
|
+
description: Get info about a Slack Emoji given a Team Id and Emoji Id
|
|
953
|
+
responses:
|
|
954
|
+
'200':
|
|
955
|
+
description: Success
|
|
956
|
+
body:
|
|
957
|
+
application/json:
|
|
958
|
+
type: SlackBridgeEmojiOutputRepresentation
|
|
959
|
+
uriParameters:
|
|
960
|
+
slackEmojiId:
|
|
961
|
+
description: Id of the Slack Emoji
|
|
962
|
+
type: string
|
|
963
|
+
required: true
|
|
964
|
+
teamId:
|
|
965
|
+
description: Team or Workspace
|
|
966
|
+
type: string
|
|
967
|
+
required: true
|
|
924
968
|
/search:
|
|
969
|
+
/conversations:
|
|
970
|
+
get:
|
|
971
|
+
displayName: getSlackSearchConversation
|
|
972
|
+
description: Search Slack Conversations
|
|
973
|
+
responses:
|
|
974
|
+
'200':
|
|
975
|
+
description: Success
|
|
976
|
+
body:
|
|
977
|
+
application/json:
|
|
978
|
+
type: SlackBridgeConversationInfosOutputRepresentation
|
|
979
|
+
queryParameters:
|
|
980
|
+
search:
|
|
981
|
+
description: Search String
|
|
982
|
+
type: string
|
|
983
|
+
required: false
|
|
984
|
+
uriParameters:
|
|
985
|
+
teamId:
|
|
986
|
+
description: Team or Workspace
|
|
987
|
+
type: string
|
|
988
|
+
required: true
|
|
925
989
|
/emojis:
|
|
926
990
|
get:
|
|
927
991
|
displayName: getSlackSearchEmoji
|
|
@@ -953,6 +1017,21 @@ types:
|
|
|
953
1017
|
application/json:
|
|
954
1018
|
type: SlackBridgeUserInfosOutputRepresentation
|
|
955
1019
|
queryParameters:
|
|
1020
|
+
channels:
|
|
1021
|
+
type: array
|
|
1022
|
+
required: false
|
|
1023
|
+
items:
|
|
1024
|
+
type: string
|
|
1025
|
+
(oas-collectionFormat): csv
|
|
1026
|
+
filter:
|
|
1027
|
+
type: string
|
|
1028
|
+
required: false
|
|
1029
|
+
not_in_channels:
|
|
1030
|
+
type: array
|
|
1031
|
+
required: false
|
|
1032
|
+
items:
|
|
1033
|
+
type: string
|
|
1034
|
+
(oas-collectionFormat): csv
|
|
956
1035
|
search:
|
|
957
1036
|
description: Search String
|
|
958
1037
|
type: string
|
package/src/raml/luvio.raml
CHANGED
|
@@ -44,6 +44,11 @@ types:
|
|
|
44
44
|
SlackBridgeConversationMarkOutputRepresentation:
|
|
45
45
|
(luvio.key):
|
|
46
46
|
channelId: channelId
|
|
47
|
+
SlackBridgeEmojiOutputRepresentation:
|
|
48
|
+
# Cache for 30 days - custom emoji URLs should rarely, if ever, change
|
|
49
|
+
(luvio.ttl): 2592000000
|
|
50
|
+
(luvio.key):
|
|
51
|
+
name: name
|
|
47
52
|
|
|
48
53
|
/connect/slackbridge:
|
|
49
54
|
/conversation/messages:
|
|
@@ -124,8 +129,18 @@ types:
|
|
|
124
129
|
/emojis:
|
|
125
130
|
get:
|
|
126
131
|
(luvio.adapter):
|
|
127
|
-
name:
|
|
132
|
+
name: getSlackEmojis
|
|
133
|
+
/emojis/{slackEmojiId}:
|
|
134
|
+
get:
|
|
135
|
+
(luvio.adapter):
|
|
136
|
+
name: getSlackEmoji
|
|
137
|
+
(luvio.key):
|
|
138
|
+
name: urlParams.slackEmojiId
|
|
128
139
|
/search:
|
|
140
|
+
/conversations:
|
|
141
|
+
get:
|
|
142
|
+
(luvio.adapter):
|
|
143
|
+
name: getSlackSearchConversation
|
|
129
144
|
/emojis:
|
|
130
145
|
get:
|
|
131
146
|
(luvio.adapter):
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
-
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as resources_getConnectSlackbridgeTeamEmojisByTeamId_ResourceRequestConfig } from '../resources/getConnectSlackbridgeTeamEmojisByTeamId';
|
|
4
|
-
import { SlackBridgeCustomEmojisOutputRepresentation as types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation } from '../types/SlackBridgeCustomEmojisOutputRepresentation';
|
|
5
|
-
export declare const adapterName = "getSlackCustomEmoji";
|
|
6
|
-
export declare const getSlackCustomEmoji_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
-
export declare const getSlackCustomEmoji_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
-
export interface GetSlackCustomEmojiConfig {
|
|
9
|
-
teamId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const createResourceParams: (config: GetSlackCustomEmojiConfig) => resources_getConnectSlackbridgeTeamEmojisByTeamId_ResourceRequestConfig;
|
|
12
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig): string;
|
|
13
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSlackCustomEmojiConfig>): adapter$45$utils_Untrusted<GetSlackCustomEmojiConfig>;
|
|
15
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSlackCustomEmojiConfig | null;
|
|
16
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig): $64$luvio_engine_Fragment;
|
|
17
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig): $64$luvio_engine_Snapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, any>;
|
|
18
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig, resourceParams: resources_getConnectSlackbridgeTeamEmojisByTeamId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, any>>;
|
|
19
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig, resourceParams: resources_getConnectSlackbridgeTeamEmojisByTeamId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackCustomEmojiConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, any>>;
|
|
21
|
-
export type BuildSnapshotContext = {
|
|
22
|
-
luvio: $64$luvio_engine_Luvio;
|
|
23
|
-
config: GetSlackCustomEmojiConfig;
|
|
24
|
-
};
|
|
25
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, any>>;
|
|
26
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation>): $64$luvio_engine_Snapshot<types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation, any>;
|
|
27
|
-
export declare const getSlackCustomEmojiAdapterFactory: $64$luvio_engine_AdapterFactory<GetSlackCustomEmojiConfig, types_SlackBridgeCustomEmojisOutputRepresentation_SlackBridgeCustomEmojisOutputRepresentation>;
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "8eb41a29d901a4cc9611e387d180f0da";
|
|
3
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
-
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input: SlackBridgeCustomEmojisOutputRepresentation, existing: SlackBridgeCustomEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeCustomEmojisOutputRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing: SlackBridgeCustomEmojisOutputRepresentationNormalized, incoming: SlackBridgeCustomEmojisOutputRepresentationNormalized): boolean;
|
|
8
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeCustomEmojisOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
-
/**
|
|
11
|
-
* Contains the Slack Custom emojis
|
|
12
|
-
*
|
|
13
|
-
* Keys:
|
|
14
|
-
* (none)
|
|
15
|
-
*/
|
|
16
|
-
export interface SlackBridgeCustomEmojisOutputRepresentationNormalized {
|
|
17
|
-
/** Custom emojis for the given Team (Slack Workspace) */
|
|
18
|
-
customEmojis: {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
};
|
|
21
|
-
/** Id of the Team (Workspace) */
|
|
22
|
-
teamId: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Contains the Slack Custom emojis
|
|
26
|
-
*
|
|
27
|
-
* Keys:
|
|
28
|
-
* (none)
|
|
29
|
-
*/
|
|
30
|
-
export interface SlackBridgeCustomEmojisOutputRepresentation {
|
|
31
|
-
customEmojis: {
|
|
32
|
-
[key: string]: string;
|
|
33
|
-
};
|
|
34
|
-
teamId: string;
|
|
35
|
-
}
|