@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,54 @@
|
|
|
1
|
+
import { SlackBridgeEmojiValueOutputRepresentation as SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation } from './SlackBridgeEmojiValueOutputRepresentation';
|
|
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 = 2592000000;
|
|
4
|
+
export declare const VERSION = "a0e1530372a57d61a1264218124bbb5c";
|
|
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
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
export type SlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialSlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeEmojiOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeEmojiOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: SlackBridgeEmojiOutputRepresentation, existing: SlackBridgeEmojiOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojiOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: SlackBridgeEmojiOutputRepresentationNormalized, incoming: SlackBridgeEmojiOutputRepresentationNormalized): 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: SlackBridgeEmojiOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Contains the details of a Slack Emoji
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* name (string): name
|
|
26
|
+
*/
|
|
27
|
+
export interface SlackBridgeEmojiOutputRepresentationNormalized {
|
|
28
|
+
/** The alias for the emoji */
|
|
29
|
+
alias: string | null;
|
|
30
|
+
/** Ties the emoji back to its collection, if it came from one */
|
|
31
|
+
collectionId: string | null;
|
|
32
|
+
/** Is the emoji an alias */
|
|
33
|
+
isAlias: boolean | null;
|
|
34
|
+
/** Indicates the name of the emoji, and doubles as an ID when looking it up, as name is unique across a team/org */
|
|
35
|
+
name: string;
|
|
36
|
+
/** The last date the emoji name was updated */
|
|
37
|
+
updated: string | null;
|
|
38
|
+
/** Value of the Slack Emoji. This is either a URL string, an alias string, or an object containing both Apple and Google URL strings */
|
|
39
|
+
value: SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation | null;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Contains the details of a Slack Emoji
|
|
43
|
+
*
|
|
44
|
+
* Keys:
|
|
45
|
+
* name (string): name
|
|
46
|
+
*/
|
|
47
|
+
export interface SlackBridgeEmojiOutputRepresentation {
|
|
48
|
+
alias: string | null;
|
|
49
|
+
collectionId: string | null;
|
|
50
|
+
isAlias: boolean | null;
|
|
51
|
+
name: string;
|
|
52
|
+
updated: string | null;
|
|
53
|
+
value: SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation | null;
|
|
54
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 = "6a2ede1150bccf991e3f6ea7b55a9964";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeEmojiValueOutputRepresentation, existing: SlackBridgeEmojiValueOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojiValueOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeEmojiValueOutputRepresentationNormalized, incoming: SlackBridgeEmojiValueOutputRepresentationNormalized): 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: SlackBridgeEmojiValueOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the details of a Slack emoji value
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeEmojiValueOutputRepresentationNormalized {
|
|
17
|
+
/** Url of the emoji with Apple styles */
|
|
18
|
+
appleUrl: string | null;
|
|
19
|
+
/** Url of the emoji if specific Apple and Google urls are not provided */
|
|
20
|
+
defaultValue: string | null;
|
|
21
|
+
/** Url of the emoji with Google styles */
|
|
22
|
+
googleUrl: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Contains the details of a Slack emoji value
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SlackBridgeEmojiValueOutputRepresentation {
|
|
31
|
+
appleUrl: string | null;
|
|
32
|
+
defaultValue: string | null;
|
|
33
|
+
googleUrl: string | null;
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "da7e3ba240e3ef2a2a6ee0e913ef280c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeEmojisOutputRepresentation, existing: SlackBridgeEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojisOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
emojis: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeEmojisOutputRepresentation, existing: SlackBridgeEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeEmojisOutputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
emojis?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeEmojisOutputRepresentationNormalized, incoming: SlackBridgeEmojisOutputRepresentationNormalized): 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: SlackBridgeEmojisOutputRepresentation, 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 Emojis
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeEmojisOutputRepresentationNormalized {
|
|
27
|
+
/** List of Slack Emoji */
|
|
28
|
+
emojis: Array<$64$luvio_engine_StoreLink>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Contains the list of Slack Emojis
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface SlackBridgeEmojisOutputRepresentation {
|
|
37
|
+
emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 = "d8f70047b26b82f280d95ae8abe94157";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeEnterpriseUserInfoOutputRepresentation, existing: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized, incoming: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized): 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: SlackBridgeEnterpriseUserInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the details of Slack Enterprise User object
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized {
|
|
17
|
+
/** Enterprise org id */
|
|
18
|
+
enterpriseId: string;
|
|
19
|
+
/** Enterprise org name */
|
|
20
|
+
enterpriseName: string;
|
|
21
|
+
/** Slack User id */
|
|
22
|
+
id: string;
|
|
23
|
+
/** Is Slack User an admin? */
|
|
24
|
+
isAdmin: boolean;
|
|
25
|
+
/** Is Slack User an owner? */
|
|
26
|
+
isOwner: boolean;
|
|
27
|
+
/** Is Slack User aa primary owner? */
|
|
28
|
+
isPrimaryOwner: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Contains the details of Slack Enterprise User object
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface SlackBridgeEnterpriseUserInfoOutputRepresentation {
|
|
37
|
+
enterpriseId: string;
|
|
38
|
+
enterpriseName: string;
|
|
39
|
+
id: string;
|
|
40
|
+
isAdmin: boolean;
|
|
41
|
+
isOwner: boolean;
|
|
42
|
+
isPrimaryOwner: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 = "e2db07b2f1c581ad0e22baa7eb9111cb";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeFileInputRepresentation, existing: SlackBridgeFileInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeFileInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeFileInputRepresentationNormalized, incoming: SlackBridgeFileInputRepresentationNormalized): 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: SlackBridgeFileInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to upload a file to Slack
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeFileInputRepresentationNormalized {
|
|
17
|
+
/** File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. */
|
|
18
|
+
base64EncodedFileData: string;
|
|
19
|
+
/** Comma-separated list of channel names or IDs where the file will be shared. */
|
|
20
|
+
channels: Array<string>;
|
|
21
|
+
/** Filename of file. */
|
|
22
|
+
fileName: string;
|
|
23
|
+
/** A [file type](https://api.slack.com/types/file#file_types) identifier. */
|
|
24
|
+
fileType: string;
|
|
25
|
+
/** Initial comment to add to file. */
|
|
26
|
+
initialComment: string;
|
|
27
|
+
/** Workspace where the message should be posted */
|
|
28
|
+
teamId: string;
|
|
29
|
+
/** Time stamp of the Parent message (in case of reply) */
|
|
30
|
+
threadTs: string;
|
|
31
|
+
/** Title of file. */
|
|
32
|
+
title: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Contains the parameters to upload a file to Slack
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface SlackBridgeFileInputRepresentation {
|
|
41
|
+
base64EncodedFileData: string;
|
|
42
|
+
channels: Array<string>;
|
|
43
|
+
fileName: string;
|
|
44
|
+
fileType: string;
|
|
45
|
+
initialComment: string;
|
|
46
|
+
teamId: string;
|
|
47
|
+
threadTs: string;
|
|
48
|
+
title: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { SlackBridgeContentDocumentOutputRepresentation as SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation } from './SlackBridgeContentDocumentOutputRepresentation';
|
|
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 VERSION = "99be0f9126140de113f28042c5c94412";
|
|
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
|
+
uniqueKey: string | null;
|
|
8
|
+
}
|
|
9
|
+
export type SlackBridgeFileOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSlackBridgeFileOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeFileOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeFileOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeFileOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SlackBridgeFileOutputRepresentation, existing: SlackBridgeFileOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeFileOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: SlackBridgeFileOutputRepresentationNormalized, incoming: SlackBridgeFileOutputRepresentationNormalized): 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: SlackBridgeFileOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the details of a Slack file
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* uniqueKey (string | null): uniqueKey
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeFileOutputRepresentationNormalized {
|
|
27
|
+
/** Content Document data */
|
|
28
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
|
|
29
|
+
/** Type of the File */
|
|
30
|
+
filetype: string;
|
|
31
|
+
/** Slack Id of the File */
|
|
32
|
+
id: string;
|
|
33
|
+
/** Mime type of the File */
|
|
34
|
+
mimetype: string;
|
|
35
|
+
/** Name of the File */
|
|
36
|
+
name: string;
|
|
37
|
+
/** Pretty type of the File */
|
|
38
|
+
prettyType: string | null;
|
|
39
|
+
/** Size of the File */
|
|
40
|
+
size: number | null;
|
|
41
|
+
/** Slack Permalink for the File */
|
|
42
|
+
slackPermalink: string;
|
|
43
|
+
/** Thumbnail URL (1024 height) */
|
|
44
|
+
thumb1024: string | null;
|
|
45
|
+
/** Thumbnail 1024 height */
|
|
46
|
+
thumb1024H: number | null;
|
|
47
|
+
/** Thumbnail 1024 width */
|
|
48
|
+
thumb1024W: number | null;
|
|
49
|
+
/** Thumbnail URL (360 height) */
|
|
50
|
+
thumb360: string | null;
|
|
51
|
+
/** Thumbnail 360 height */
|
|
52
|
+
thumb360H: number | null;
|
|
53
|
+
/** Thumbnail 360 width */
|
|
54
|
+
thumb360W: number | null;
|
|
55
|
+
/** Thumbnail URL (480 height) */
|
|
56
|
+
thumb480: string | null;
|
|
57
|
+
/** Thumbnail 480 height */
|
|
58
|
+
thumb480H: number | null;
|
|
59
|
+
/** Thumbnail 480 width */
|
|
60
|
+
thumb480W: number | null;
|
|
61
|
+
/** Thumbnail URL (64 height) */
|
|
62
|
+
thumb64: string | null;
|
|
63
|
+
/** Thumbnail URL (720 height) */
|
|
64
|
+
thumb720: string | null;
|
|
65
|
+
/** Thumbnail 720 height */
|
|
66
|
+
thumb720H: number | null;
|
|
67
|
+
/** Thumbnail 720 width */
|
|
68
|
+
thumb720W: number | null;
|
|
69
|
+
/** Thumbnail URL (80 height) */
|
|
70
|
+
thumb80: string | null;
|
|
71
|
+
/** Thumbnail URL (800 height) */
|
|
72
|
+
thumb800: string | null;
|
|
73
|
+
/** Thumbnail 800 height */
|
|
74
|
+
thumb800H: number | null;
|
|
75
|
+
/** Thumbnail 800 width */
|
|
76
|
+
thumb800W: number | null;
|
|
77
|
+
/** Thumbnail URL (960 height) */
|
|
78
|
+
thumb960: string | null;
|
|
79
|
+
/** PDF thumbnail URL */
|
|
80
|
+
thumbPdf: string | null;
|
|
81
|
+
/** PDF thumbnail height */
|
|
82
|
+
thumbPdfH: number | null;
|
|
83
|
+
/** PDF thumbnail width */
|
|
84
|
+
thumbPdfW: number | null;
|
|
85
|
+
/** Video thumbnail */
|
|
86
|
+
thumbVideo: string | null;
|
|
87
|
+
/** Video thumbnail height */
|
|
88
|
+
thumbVideoHeight: number | null;
|
|
89
|
+
/** Video thumbnail width */
|
|
90
|
+
thumbVideoWidth: number | null;
|
|
91
|
+
/** Title of the File */
|
|
92
|
+
title: string;
|
|
93
|
+
/** Token used for the File */
|
|
94
|
+
token: string | null;
|
|
95
|
+
/** Unique Key for the File */
|
|
96
|
+
uniqueKey: string | null;
|
|
97
|
+
/** Slack web URL for the File */
|
|
98
|
+
url: string | null;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Contains the details of a Slack file
|
|
102
|
+
*
|
|
103
|
+
* Keys:
|
|
104
|
+
* uniqueKey (string | null): uniqueKey
|
|
105
|
+
*/
|
|
106
|
+
export interface SlackBridgeFileOutputRepresentation {
|
|
107
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
|
|
108
|
+
filetype: string;
|
|
109
|
+
id: string;
|
|
110
|
+
mimetype: string;
|
|
111
|
+
name: string;
|
|
112
|
+
prettyType: string | null;
|
|
113
|
+
size: number | null;
|
|
114
|
+
slackPermalink: string;
|
|
115
|
+
thumb1024: string | null;
|
|
116
|
+
thumb1024H: number | null;
|
|
117
|
+
thumb1024W: number | null;
|
|
118
|
+
thumb360: string | null;
|
|
119
|
+
thumb360H: number | null;
|
|
120
|
+
thumb360W: number | null;
|
|
121
|
+
thumb480: string | null;
|
|
122
|
+
thumb480H: number | null;
|
|
123
|
+
thumb480W: number | null;
|
|
124
|
+
thumb64: string | null;
|
|
125
|
+
thumb720: string | null;
|
|
126
|
+
thumb720H: number | null;
|
|
127
|
+
thumb720W: number | null;
|
|
128
|
+
thumb80: string | null;
|
|
129
|
+
thumb800: string | null;
|
|
130
|
+
thumb800H: number | null;
|
|
131
|
+
thumb800W: number | null;
|
|
132
|
+
thumb960: string | null;
|
|
133
|
+
thumbPdf: string | null;
|
|
134
|
+
thumbPdfH: number | null;
|
|
135
|
+
thumbPdfW: number | null;
|
|
136
|
+
thumbVideo: string | null;
|
|
137
|
+
thumbVideoHeight: number | null;
|
|
138
|
+
thumbVideoWidth: number | null;
|
|
139
|
+
title: string;
|
|
140
|
+
token: string | null;
|
|
141
|
+
uniqueKey: string | null;
|
|
142
|
+
url: string | null;
|
|
143
|
+
}
|
|
@@ -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 = "4634cd404d8392ac4ca9f0e1be03bfbd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeFileTypeOutputRepresentation, existing: SlackBridgeFileTypeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeFileTypeOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeFileTypeOutputRepresentationNormalized, incoming: SlackBridgeFileTypeOutputRepresentationNormalized): 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: SlackBridgeFileTypeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the details of FileType
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeFileTypeOutputRepresentationNormalized {
|
|
17
|
+
/** Extension of the File */
|
|
18
|
+
extension: string;
|
|
19
|
+
/** Icon Name of the File */
|
|
20
|
+
iconName: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Contains the details of FileType
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SlackBridgeFileTypeOutputRepresentation {
|
|
29
|
+
extension: string;
|
|
30
|
+
iconName: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 TTL = 500;
|
|
3
|
+
export declare const VERSION = "f5163219d8f420b0f2fe9664574a18be";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeMPIMSearchResultOutputRepresentation, existing: SlackBridgeMPIMSearchResultOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMPIMSearchResultOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SlackBridgeMPIMSearchResultOutputRepresentationNormalized, incoming: SlackBridgeMPIMSearchResultOutputRepresentationNormalized): 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: SlackBridgeMPIMSearchResultOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Contains the search result for a single MPIM
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SlackBridgeMPIMSearchResultOutputRepresentationNormalized {
|
|
18
|
+
/** Id of the Conversation */
|
|
19
|
+
id: string;
|
|
20
|
+
/** List of Slack user ids that are members of this MPIM */
|
|
21
|
+
members: Array<string>;
|
|
22
|
+
/** Name of the Conversation */
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Contains the search result for a single MPIM
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface SlackBridgeMPIMSearchResultOutputRepresentation {
|
|
32
|
+
id: string;
|
|
33
|
+
members: Array<string>;
|
|
34
|
+
name: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SlackBridgeMPIMSearchResultOutputRepresentation as SlackBridgeMPIMSearchResultOutputRepresentation_SlackBridgeMPIMSearchResultOutputRepresentation } from './SlackBridgeMPIMSearchResultOutputRepresentation';
|
|
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 = "b338926dfda8feabf1a28d4f96aedee3";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SlackBridgeMPIMSearchResultsOutputRepresentation, existing: SlackBridgeMPIMSearchResultsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMPIMSearchResultsOutputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: SlackBridgeMPIMSearchResultsOutputRepresentationNormalized, incoming: SlackBridgeMPIMSearchResultsOutputRepresentationNormalized): 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: SlackBridgeMPIMSearchResultsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Contains the search results for a collection of MPIMs
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SlackBridgeMPIMSearchResultsOutputRepresentationNormalized {
|
|
19
|
+
/** List of Slack MPIM search results */
|
|
20
|
+
mpims: Array<SlackBridgeMPIMSearchResultOutputRepresentation_SlackBridgeMPIMSearchResultOutputRepresentation>;
|
|
21
|
+
/** String used to search for this list of MPIMs (Optional) */
|
|
22
|
+
searchString: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Contains the search results for a collection of MPIMs
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SlackBridgeMPIMSearchResultsOutputRepresentation {
|
|
31
|
+
mpims: Array<SlackBridgeMPIMSearchResultOutputRepresentation_SlackBridgeMPIMSearchResultOutputRepresentation>;
|
|
32
|
+
searchString: string | null;
|
|
33
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageFragmentOutputRepresentation.d.ts
ADDED
|
@@ -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 = "605674abcbc0dad7e2707e4e00e8d4cd";
|
|
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 SlackBridgeMessageFragmentOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeMessageFragmentOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeMessageFragmentOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeMessageFragmentOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeMessageFragmentOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeMessageFragmentOutputRepresentation, existing: SlackBridgeMessageFragmentOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMessageFragmentOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeMessageFragmentOutputRepresentationNormalized, incoming: SlackBridgeMessageFragmentOutputRepresentationNormalized): 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: SlackBridgeMessageFragmentOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Dummy used for RAML generation and LDS consumption
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeMessageFragmentOutputRepresentationNormalized {
|
|
26
|
+
/** The id of the Slack channel */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** Timestamp of the Message */
|
|
29
|
+
messageTs: string;
|
|
30
|
+
/** The id of the Slack team (Workspace or Enterprise Org) where this conversation exists */
|
|
31
|
+
teamId: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Dummy used for RAML generation and LDS consumption
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* channelId (string): channelId
|
|
38
|
+
*/
|
|
39
|
+
export interface SlackBridgeMessageFragmentOutputRepresentation {
|
|
40
|
+
channelId: string;
|
|
41
|
+
messageTs: string;
|
|
42
|
+
teamId: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
import { SlackBridgeFileOutputRepresentation as SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation } from './SlackBridgeFileOutputRepresentation';
|
|
4
|
+
export declare const VERSION = "57fae23c7ffb8f67218b25919d2c8e3c";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SlackBridgeMessageOutputRepresentation, existing: SlackBridgeMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMessageOutputRepresentationNormalized;
|
|
8
|
+
export interface DynamicIngestParams {
|
|
9
|
+
files: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
}
|
|
11
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeMessageOutputRepresentation, existing: SlackBridgeMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeMessageOutputRepresentationNormalized;
|
|
12
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
13
|
+
export interface DynamicSelectParams {
|
|
14
|
+
files?: $64$luvio_engine_LinkSelection;
|
|
15
|
+
}
|
|
16
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: SlackBridgeMessageOutputRepresentationNormalized, incoming: SlackBridgeMessageOutputRepresentationNormalized): 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: SlackBridgeMessageOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
21
|
+
/**
|
|
22
|
+
* Contains the details of Slack Message
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface SlackBridgeMessageOutputRepresentationNormalized {
|
|
28
|
+
/** Message attachments */
|
|
29
|
+
attachments: Array<{
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}>;
|
|
32
|
+
/** Message blocks */
|
|
33
|
+
blocks: Array<{
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}>;
|
|
36
|
+
/** Id of the Channel to which this message belong to */
|
|
37
|
+
channelId: string | null;
|
|
38
|
+
/** List of files attached to this message */
|
|
39
|
+
files: Array<$64$luvio_engine_StoreLink>;
|
|
40
|
+
/** Sender icon url for demo bot messages */
|
|
41
|
+
icon?: string | null;
|
|
42
|
+
/** Does this message includes Custom emoji? */
|
|
43
|
+
includesCustomEmoji: boolean | null;
|
|
44
|
+
/** Is this message older than the limit for free teams? */
|
|
45
|
+
isBeyondFreeLimit?: boolean | null;
|
|
46
|
+
/** Is this a reply also sent to the Channel? */
|
|
47
|
+
isBroadcast: boolean | null;
|
|
48
|
+
/** Can this message be edited? */
|
|
49
|
+
isEditable: boolean;
|
|
50
|
+
/** Is this an edited message? */
|
|
51
|
+
isEdited: boolean | null;
|
|
52
|
+
/** Latest Reply timestamp */
|
|
53
|
+
latestReplyTimestamp: string | null;
|
|
54
|
+
/** Content of the Message */
|
|
55
|
+
message: string;
|
|
56
|
+
/** Timestamp of the Message */
|
|
57
|
+
messageTs: string;
|
|
58
|
+
/** List of reactions added to this message */
|
|
59
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
60
|
+
/** Number of replies for this message */
|
|
61
|
+
replyCount: number | null;
|
|
62
|
+
/** List of Users who replied to this message */
|
|
63
|
+
replyUsers: Array<string>;
|
|
64
|
+
/** Number of users who replied to this message */
|
|
65
|
+
replyUsersCount: number | null;
|
|
66
|
+
/** Details of the Slack User who invited the user described by slackUserId */
|
|
67
|
+
slackInviterId: string | null;
|
|
68
|
+
/** Details of the Slack User who posted this message */
|
|
69
|
+
slackUserId: string | null;
|
|
70
|
+
/** Sub-type of Message */
|
|
71
|
+
subtype: string | null;
|
|
72
|
+
/** Timestamp of the thread to which this message belong to */
|
|
73
|
+
threadTs: string | null;
|
|
74
|
+
/** Type of Message */
|
|
75
|
+
type: string | null;
|
|
76
|
+
/** Url for this message */
|
|
77
|
+
url: string;
|
|
78
|
+
/** Sender username for demo bot messages */
|
|
79
|
+
username?: string | null;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Contains the details of Slack Message
|
|
83
|
+
*
|
|
84
|
+
* Keys:
|
|
85
|
+
* (none)
|
|
86
|
+
*/
|
|
87
|
+
export interface SlackBridgeMessageOutputRepresentation {
|
|
88
|
+
attachments: Array<{
|
|
89
|
+
[key: string]: unknown;
|
|
90
|
+
}>;
|
|
91
|
+
blocks: Array<{
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
}>;
|
|
94
|
+
channelId: string | null;
|
|
95
|
+
files: Array<SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation>;
|
|
96
|
+
icon?: string | null;
|
|
97
|
+
includesCustomEmoji: boolean | null;
|
|
98
|
+
isBeyondFreeLimit?: boolean | null;
|
|
99
|
+
isBroadcast: boolean | null;
|
|
100
|
+
isEditable: boolean;
|
|
101
|
+
isEdited: boolean | null;
|
|
102
|
+
latestReplyTimestamp: string | null;
|
|
103
|
+
message: string;
|
|
104
|
+
messageTs: string;
|
|
105
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
106
|
+
replyCount: number | null;
|
|
107
|
+
replyUsers: Array<string>;
|
|
108
|
+
replyUsersCount: number | null;
|
|
109
|
+
slackInviterId: string | null;
|
|
110
|
+
slackUserId: string | null;
|
|
111
|
+
subtype: string | null;
|
|
112
|
+
threadTs: string | null;
|
|
113
|
+
type: string | null;
|
|
114
|
+
url: string;
|
|
115
|
+
username?: string | null;
|
|
116
|
+
}
|