@salesforce/lds-adapters-platform-slack-bridge 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-slack-bridge.js +10952 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessage.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackMessageReactions.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +37 -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/getSlackConversationMember.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMembers.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +26 -0
- 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/getSlackMessage.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackRecordChannelInfo.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/getSlackSearchEmoji.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackUser.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/openSlackConversation.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/patchSlackMessage.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversation.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackFile.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackMessageReactions.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackRecordChannelInfos.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -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/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchEmojisByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamUserBySlackUserIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectSlackbridgeTeamChannelMessagesByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationOpen.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeFiles.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMessagesReactionsByChannelIdAndMessageTsAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentDocumentOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +111 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMemberOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +82 -0
- 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/SlackBridgeDisplayLoginRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +143 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileTypeOutputRepresentation.d.ts +31 -0
- 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/SlackBridgeMessageFragmentOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +116 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageReactionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionsOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoInputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdateMessageInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +130 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +11461 -0
- package/src/raml/api.raml +1520 -0
- package/src/raml/luvio.raml +200 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { SlackBridgeConversationPropertiesOutputRepresentation as SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation } from './SlackBridgeConversationPropertiesOutputRepresentation';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 900000;
|
|
4
|
+
export declare const VERSION = "898110c1fd3651e7f407ba56cf0ca85a";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type SlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialSlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationInfoOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: SlackBridgeConversationInfoOutputRepresentation, existing: SlackBridgeConversationInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInfoOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: SlackBridgeConversationInfoOutputRepresentationNormalized, incoming: SlackBridgeConversationInfoOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Contains the conversation info
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* id (string): id
|
|
26
|
+
*/
|
|
27
|
+
export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
|
|
28
|
+
/** The conversation host id */
|
|
29
|
+
conversationHostId: string | null;
|
|
30
|
+
/** Id of the Conversation */
|
|
31
|
+
id: string;
|
|
32
|
+
/** Is this conversation archived? */
|
|
33
|
+
isArchived: boolean | null;
|
|
34
|
+
/** Is this a channel? */
|
|
35
|
+
isChannel: boolean | null;
|
|
36
|
+
/** Is Custom Emoji supported? */
|
|
37
|
+
isCustomEmojiSupported: boolean | null;
|
|
38
|
+
/** Is this conversation externally shared? */
|
|
39
|
+
isExtShared: boolean | null;
|
|
40
|
+
/** Is this a group? */
|
|
41
|
+
isGroup: boolean | null;
|
|
42
|
+
/** Is this IM? */
|
|
43
|
+
isIm: boolean | null;
|
|
44
|
+
/** Is the context User a member of this Conversation? */
|
|
45
|
+
isMember: boolean | null;
|
|
46
|
+
/** Is this conversation open? */
|
|
47
|
+
isOpen: boolean | null;
|
|
48
|
+
/** Is this conversation org shared? */
|
|
49
|
+
isOrgShared: boolean | null;
|
|
50
|
+
/** Is this conversation pending external sharing? */
|
|
51
|
+
isPendingExtShared: boolean | null;
|
|
52
|
+
/** Is this conversation private? */
|
|
53
|
+
isPrivate: boolean | null;
|
|
54
|
+
/** Is this conversation read-only? */
|
|
55
|
+
isReadOnly: boolean | null;
|
|
56
|
+
/** Is this conversation shared? */
|
|
57
|
+
isShared: boolean | null;
|
|
58
|
+
/** Is this conversation thread-only? */
|
|
59
|
+
isThreadOnly: boolean | null;
|
|
60
|
+
/** The timestamp of the last read message of this conversation by the current user */
|
|
61
|
+
lastRead: string | null;
|
|
62
|
+
/** The timestamp of the last message in this conversation */
|
|
63
|
+
latest?: string | null;
|
|
64
|
+
/** Name of the Conversation */
|
|
65
|
+
name: string;
|
|
66
|
+
/** Number of members in the Conversation */
|
|
67
|
+
numOfMembers: number | null;
|
|
68
|
+
/** The properties of the conversation */
|
|
69
|
+
properties?: SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation | null;
|
|
70
|
+
/** Should the Custom Emojis be cached? */
|
|
71
|
+
shouldCacheCustomEmoji: boolean | null;
|
|
72
|
+
/** Number of messages the current user has not read */
|
|
73
|
+
unreadCount?: number | null;
|
|
74
|
+
/** Number of messages the current user has not read and did not author */
|
|
75
|
+
unreadCountDisplay?: number | null;
|
|
76
|
+
/** The URL to the channel */
|
|
77
|
+
url?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Contains the conversation info
|
|
81
|
+
*
|
|
82
|
+
* Keys:
|
|
83
|
+
* id (string): id
|
|
84
|
+
*/
|
|
85
|
+
export interface SlackBridgeConversationInfoOutputRepresentation {
|
|
86
|
+
conversationHostId: string | null;
|
|
87
|
+
id: string;
|
|
88
|
+
isArchived: boolean | null;
|
|
89
|
+
isChannel: boolean | null;
|
|
90
|
+
isCustomEmojiSupported: boolean | null;
|
|
91
|
+
isExtShared: boolean | null;
|
|
92
|
+
isGroup: boolean | null;
|
|
93
|
+
isIm: boolean | null;
|
|
94
|
+
isMember: boolean | null;
|
|
95
|
+
isOpen: boolean | null;
|
|
96
|
+
isOrgShared: boolean | null;
|
|
97
|
+
isPendingExtShared: boolean | null;
|
|
98
|
+
isPrivate: boolean | null;
|
|
99
|
+
isReadOnly: boolean | null;
|
|
100
|
+
isShared: boolean | null;
|
|
101
|
+
isThreadOnly: boolean | null;
|
|
102
|
+
lastRead: string | null;
|
|
103
|
+
latest?: string | null;
|
|
104
|
+
name: string;
|
|
105
|
+
numOfMembers: number | null;
|
|
106
|
+
properties?: SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation | null;
|
|
107
|
+
shouldCacheCustomEmoji: boolean | null;
|
|
108
|
+
unreadCount?: number | null;
|
|
109
|
+
unreadCountDisplay?: number | null;
|
|
110
|
+
url?: string;
|
|
111
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "0de597a47ca8ecad2cfb7fd9c8f73920";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeConversationInfosOutputRepresentation, existing: SlackBridgeConversationInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInfosOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
conversationInfos: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeConversationInfosOutputRepresentation, existing: SlackBridgeConversationInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeConversationInfosOutputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
conversationInfos?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationInfosOutputRepresentationNormalized, incoming: SlackBridgeConversationInfosOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationInfosOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the list of Slack Conversation Information
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeConversationInfosOutputRepresentationNormalized {
|
|
27
|
+
/** List of Slack Conversation Information */
|
|
28
|
+
conversationInfos: Array<$64$luvio_engine_StoreLink>;
|
|
29
|
+
/** String used to search this list of conversations (Optional) */
|
|
30
|
+
searchString: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Contains the list of Slack Conversation Information
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface SlackBridgeConversationInfosOutputRepresentation {
|
|
39
|
+
conversationInfos: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
|
|
40
|
+
searchString: string | null;
|
|
41
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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 = "c7c0355b179a081675399f38f0b8735d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationInputRepresentation, existing: SlackBridgeConversationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationInputRepresentationNormalized, incoming: SlackBridgeConversationInputRepresentationNormalized): 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: SlackBridgeConversationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of a Slack conversation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationInputRepresentationNormalized {
|
|
17
|
+
/** Flag indicating if the conversation is private */
|
|
18
|
+
isPrivate: boolean;
|
|
19
|
+
/** Name of the conversation */
|
|
20
|
+
name: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation of a Slack conversation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SlackBridgeConversationInputRepresentation {
|
|
29
|
+
isPrivate: boolean;
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "32716a7de3c8810288467155d92e5124";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMarkOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMarkOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMarkOutputRepresentation, existing: SlackBridgeConversationMarkOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMarkOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMarkOutputRepresentationNormalized, incoming: SlackBridgeConversationMarkOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMarkOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Representation of a successful call to update the read cursor in a slack channel.
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMarkOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belongs */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** The timestamp of the message that was marked read */
|
|
29
|
+
messageTs: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Representation of a successful call to update the read cursor in a slack channel.
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* channelId (string): channelId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeConversationMarkOutputRepresentation {
|
|
38
|
+
channelId: string;
|
|
39
|
+
messageTs: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMemberOutputRepresentation, existing: SlackBridgeConversationMemberOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMemberOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMemberOutputRepresentationNormalized, incoming: SlackBridgeConversationMemberOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMemberOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMemberOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** The Slack user Id of the member of the Slack conversation */
|
|
29
|
+
slackUserId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* channelId (string): channelId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeConversationMemberOutputRepresentation {
|
|
38
|
+
channelId: string;
|
|
39
|
+
slackUserId: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "ffc5ef7a9bbfafbc9931c52201cc0506";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationMembersInputRepresentation, existing: SlackBridgeConversationMembersInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationMembersInputRepresentationNormalized, incoming: SlackBridgeConversationMembersInputRepresentationNormalized): 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: SlackBridgeConversationMembersInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to post Slack conversation members requests
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationMembersInputRepresentationNormalized {
|
|
17
|
+
/** List of Slack user ids */
|
|
18
|
+
slackUserIds: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contains the parameters to post Slack conversation members requests
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeConversationMembersInputRepresentation {
|
|
27
|
+
slackUserIds: Array<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "30b0f3c5bd175b72d9b304944fd9d682";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMembersOutputRepresentation, existing: SlackBridgeConversationMembersOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMembersOutputRepresentationNormalized, incoming: SlackBridgeConversationMembersOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMembersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of Slack members for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMembersOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** Used to paginate to the next page by passing this value as the cursor parameter in a subsequent request */
|
|
29
|
+
nextCursor: string | null;
|
|
30
|
+
/** The Slack user Ids of the members of the Slack conversation */
|
|
31
|
+
slackUserIds: Array<string>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Contains the details of Slack members for the Slack conversation
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* channelId (string): channelId
|
|
38
|
+
*/
|
|
39
|
+
export interface SlackBridgeConversationMembersOutputRepresentation {
|
|
40
|
+
channelId: string;
|
|
41
|
+
nextCursor: string | null;
|
|
42
|
+
slackUserIds: Array<string>;
|
|
43
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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 = "7c6bc19b9e521e2a5c3f86d8924dd745";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationOpenInputRepresentation, existing: SlackBridgeConversationOpenInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationOpenInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationOpenInputRepresentationNormalized, incoming: SlackBridgeConversationOpenInputRepresentationNormalized): 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: SlackBridgeConversationOpenInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters of the conversation to open
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationOpenInputRepresentationNormalized {
|
|
17
|
+
/** Channel id of existing DM or MPDM, optional if users is specified instead */
|
|
18
|
+
channel: string;
|
|
19
|
+
/** True if we don't want to create new DM/MPDM; used to check if there's an existing DM/MPDM */
|
|
20
|
+
preventCreation: boolean;
|
|
21
|
+
/** True to return full IM channel definition in response */
|
|
22
|
+
returnIm: boolean;
|
|
23
|
+
/** List of user ids for conversation to be opened */
|
|
24
|
+
users: Array<string>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Contains the parameters of the conversation to open
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface SlackBridgeConversationOpenInputRepresentation {
|
|
33
|
+
channel: string;
|
|
34
|
+
preventCreation: boolean;
|
|
35
|
+
returnIm: boolean;
|
|
36
|
+
users: Array<string>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 500;
|
|
3
|
+
export declare const VERSION = "ab23daeef684a6ee9d5922f63d4a673c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
channelId: string;
|
|
8
|
+
}
|
|
9
|
+
export type SlackBridgeConversationOpenOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSlackBridgeConversationOpenOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationOpenOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationOpenOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationOpenOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SlackBridgeConversationOpenOutputRepresentation, existing: SlackBridgeConversationOpenOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationOpenOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: SlackBridgeConversationOpenOutputRepresentationNormalized, incoming: SlackBridgeConversationOpenOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationOpenOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the id of channel that was opened
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* channelId (string): channelId
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeConversationOpenOutputRepresentationNormalized {
|
|
27
|
+
/** Id of the channel that was opened (existing channel if found or new channel if created) */
|
|
28
|
+
channelId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Contains the id of channel that was opened
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* channelId (string): channelId
|
|
35
|
+
*/
|
|
36
|
+
export interface SlackBridgeConversationOpenOutputRepresentation {
|
|
37
|
+
channelId: string;
|
|
38
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
|
|
3
|
+
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
4
|
+
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
5
|
+
import { SlackBridgeConversationHistoryOutputRepresentation as SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation } from './SlackBridgeConversationHistoryOutputRepresentation';
|
|
6
|
+
export declare const TTL = 500;
|
|
7
|
+
export declare const VERSION = "1119f2c416d047eefd8303c5a2d590ae";
|
|
8
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
|
+
export declare const RepresentationType: string;
|
|
10
|
+
export declare function normalize(input: SlackBridgeConversationOutputRepresentation, existing: SlackBridgeConversationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationOutputRepresentationNormalized;
|
|
11
|
+
export interface DynamicIngestParams {
|
|
12
|
+
contextUserInfo: $64$luvio_engine_ResourceIngest;
|
|
13
|
+
conversationInfo: $64$luvio_engine_ResourceIngest;
|
|
14
|
+
conversationInfos: $64$luvio_engine_ResourceIngest;
|
|
15
|
+
emojis: $64$luvio_engine_ResourceIngest;
|
|
16
|
+
history: $64$luvio_engine_ResourceIngest;
|
|
17
|
+
userInfos: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
}
|
|
19
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeConversationOutputRepresentation, existing: SlackBridgeConversationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeConversationOutputRepresentationNormalized;
|
|
20
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
21
|
+
export interface DynamicSelectParams {
|
|
22
|
+
contextUserInfo?: $64$luvio_engine_LinkSelection;
|
|
23
|
+
conversationInfo?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
conversationInfos?: $64$luvio_engine_LinkSelection;
|
|
25
|
+
emojis?: $64$luvio_engine_LinkSelection;
|
|
26
|
+
history?: $64$luvio_engine_LinkSelection;
|
|
27
|
+
userInfos?: $64$luvio_engine_LinkSelection;
|
|
28
|
+
}
|
|
29
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
30
|
+
export declare function equals(existing: SlackBridgeConversationOutputRepresentationNormalized, incoming: SlackBridgeConversationOutputRepresentationNormalized): boolean;
|
|
31
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
32
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
33
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
34
|
+
/**
|
|
35
|
+
* Contains the details of a Slack Conversation
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface SlackBridgeConversationOutputRepresentationNormalized {
|
|
41
|
+
/** The id of the Slack channel */
|
|
42
|
+
channelId: string;
|
|
43
|
+
/** The URL to the Slack channel */
|
|
44
|
+
channelUrl: string;
|
|
45
|
+
/** The Slack user information of the related context Salesforce User who is viewing this Conversation */
|
|
46
|
+
contextUserInfo: $64$luvio_engine_StoreLink | null;
|
|
47
|
+
/** The full information describing this conversation */
|
|
48
|
+
conversationInfo: $64$luvio_engine_StoreLink | null;
|
|
49
|
+
/** A collection of related conversations */
|
|
50
|
+
conversationInfos: Array<$64$luvio_engine_StoreLink>;
|
|
51
|
+
/** A collection of emojis used in this conversation */
|
|
52
|
+
emojis: Array<$64$luvio_engine_StoreLink>;
|
|
53
|
+
/** A segment of this conversation's message history, either part of the top-level conversation or a single message's thread of replies */
|
|
54
|
+
history: $64$luvio_engine_StoreLink;
|
|
55
|
+
/** The id of the Slack team (Workspace or Enterprise Org) where this conversation exists */
|
|
56
|
+
teamId: string;
|
|
57
|
+
/** The timestamp of a single message in the conversation whose threaded replies should be loaded */
|
|
58
|
+
threadTs: string | null;
|
|
59
|
+
/** A list of Slack users that are associated with this Conversation */
|
|
60
|
+
userInfos: Array<$64$luvio_engine_StoreLink>;
|
|
61
|
+
/** The websocket URL to subscribe to RTM topics associated with the conversation */
|
|
62
|
+
websocketUrl: string | null;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Contains the details of a Slack Conversation
|
|
66
|
+
*
|
|
67
|
+
* Keys:
|
|
68
|
+
* (none)
|
|
69
|
+
*/
|
|
70
|
+
export interface SlackBridgeConversationOutputRepresentation {
|
|
71
|
+
channelId: string;
|
|
72
|
+
channelUrl: string;
|
|
73
|
+
contextUserInfo: SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation | null;
|
|
74
|
+
conversationInfo: SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation | null;
|
|
75
|
+
conversationInfos: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
|
|
76
|
+
emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
|
|
77
|
+
history: SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation;
|
|
78
|
+
teamId: string;
|
|
79
|
+
threadTs: string | null;
|
|
80
|
+
userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
|
|
81
|
+
websocketUrl: string | null;
|
|
82
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SlackBridgeConversationRestrictionsOutputRepresentation as SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation } from './SlackBridgeConversationRestrictionsOutputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
export declare const VERSION = "139b4530e5abfb4424ce58620c1e6934";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeConversationPropertiesOutputRepresentation, existing: SlackBridgeConversationPropertiesOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationPropertiesOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SlackBridgeConversationPropertiesOutputRepresentationNormalized, incoming: SlackBridgeConversationPropertiesOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationPropertiesOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Properties of a conversation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SlackBridgeConversationPropertiesOutputRepresentationNormalized {
|
|
18
|
+
/** Is @channel restricted */
|
|
19
|
+
atChannelRestricted: boolean | null;
|
|
20
|
+
/** Is @here restricted */
|
|
21
|
+
atHereRestricted: boolean | null;
|
|
22
|
+
/** Are huddles restricted */
|
|
23
|
+
huddlesRestricted: boolean | null;
|
|
24
|
+
/** Posting restrictions */
|
|
25
|
+
postingRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
|
|
26
|
+
/** Thread replying restrictions */
|
|
27
|
+
threadsRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Properties of a conversation
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface SlackBridgeConversationPropertiesOutputRepresentation {
|
|
36
|
+
atChannelRestricted: boolean | null;
|
|
37
|
+
atHereRestricted: boolean | null;
|
|
38
|
+
huddlesRestricted: boolean | null;
|
|
39
|
+
postingRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
|
|
40
|
+
threadsRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "90163ce3734714c2b87ec91b0ae3ff53";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationRestrictionsOutputRepresentation, existing: SlackBridgeConversationRestrictionsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationRestrictionsOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationRestrictionsOutputRepresentationNormalized, incoming: SlackBridgeConversationRestrictionsOutputRepresentationNormalized): 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: SlackBridgeConversationRestrictionsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Restrictions on a conversation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationRestrictionsOutputRepresentationNormalized {
|
|
17
|
+
/** Types */
|
|
18
|
+
type: Array<string>;
|
|
19
|
+
/** Users */
|
|
20
|
+
user: Array<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Restrictions on a conversation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SlackBridgeConversationRestrictionsOutputRepresentation {
|
|
29
|
+
type: Array<string>;
|
|
30
|
+
user: Array<string>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SlackBridgeSlackTeamOutputRepresentation as SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation } from './SlackBridgeSlackTeamOutputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
export declare const TTL = 500;
|
|
4
|
+
export declare const VERSION = "9d256bdf84f3f3d3c78aa60a3d16ebcc";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SlackBridgeDisplayLoginRepresentation, existing: SlackBridgeDisplayLoginRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeDisplayLoginRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: SlackBridgeDisplayLoginRepresentationNormalized, incoming: SlackBridgeDisplayLoginRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeDisplayLoginRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Contains Salesforce Org info and Slack Team info
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SlackBridgeDisplayLoginRepresentationNormalized {
|
|
19
|
+
/** Salesforce Org Id */
|
|
20
|
+
orgId: string;
|
|
21
|
+
/** Slack Team Info */
|
|
22
|
+
slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Contains Salesforce Org info and Slack Team info
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SlackBridgeDisplayLoginRepresentation {
|
|
31
|
+
orgId: string;
|
|
32
|
+
slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation | null;
|
|
33
|
+
}
|