@salesforce/lds-adapters-platform-slack-bridge 1.329.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-slack-bridge.js +4444 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -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/getSlackConversation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackMessage.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchEmoji.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackUser.d.ts +29 -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/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/artifacts/main.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +21 -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 +23 -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/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchEmojisByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +18 -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/postConnectSlackbridgeFiles.d.ts +19 -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 +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +67 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +32 -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 +68 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileTypeOutputRepresentation.d.ts +31 -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 +87 -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/SlackBridgeUpdateMessageInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +84 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +41 -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 +4623 -0
- package/src/raml/api.raml +778 -0
- package/src/raml/luvio.raml +88 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 = "3f1a7f34ee73f6a8d9677314d88bad78";
|
|
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;
|
|
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 files attached to the Slack Message
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* uniqueKey (string): uniqueKey
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeFileOutputRepresentationNormalized {
|
|
27
|
+
/** Content Document data */
|
|
28
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
|
|
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
|
+
/** Size of the File */
|
|
38
|
+
size: number;
|
|
39
|
+
/** Slack Permalink for the File */
|
|
40
|
+
slackPermalink: string;
|
|
41
|
+
/** Title of the File */
|
|
42
|
+
title: string;
|
|
43
|
+
/** Token used for the File */
|
|
44
|
+
token: string;
|
|
45
|
+
/** Unique Key for the File */
|
|
46
|
+
uniqueKey: string;
|
|
47
|
+
/** Slack web URL for the File */
|
|
48
|
+
url: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Contains the details of files attached to the Slack Message
|
|
52
|
+
*
|
|
53
|
+
* Keys:
|
|
54
|
+
* uniqueKey (string): uniqueKey
|
|
55
|
+
*/
|
|
56
|
+
export interface SlackBridgeFileOutputRepresentation {
|
|
57
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
|
|
58
|
+
filetype: string;
|
|
59
|
+
id: string;
|
|
60
|
+
mimetype: string;
|
|
61
|
+
name: string;
|
|
62
|
+
size: number;
|
|
63
|
+
slackPermalink: string;
|
|
64
|
+
title: string;
|
|
65
|
+
token: string;
|
|
66
|
+
uniqueKey: string;
|
|
67
|
+
url: string;
|
|
68
|
+
}
|
|
@@ -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
|
+
}
|
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,87 @@
|
|
|
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 = "2685fcb652b41bdb9cb71cc45d73e44b";
|
|
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
|
+
/** List of files attached to this message */
|
|
29
|
+
files: Array<$64$luvio_engine_StoreLink>;
|
|
30
|
+
/** Does this message includes Custom emoji? */
|
|
31
|
+
includesCustomEmoji: boolean | null;
|
|
32
|
+
/** Is this a reply also sent to the Channel? */
|
|
33
|
+
isBroadcast: boolean;
|
|
34
|
+
/** Can this message be edited? */
|
|
35
|
+
isEditable: boolean;
|
|
36
|
+
/** Is this an edited message? */
|
|
37
|
+
isEdited: boolean;
|
|
38
|
+
/** Latest Reply timestamp */
|
|
39
|
+
latestReplyTimestamp: string | null;
|
|
40
|
+
/** Content of the Message */
|
|
41
|
+
message: string;
|
|
42
|
+
/** Timestamp of the Message */
|
|
43
|
+
messageTs: string;
|
|
44
|
+
/** List of reactions added to this message */
|
|
45
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
46
|
+
/** Number of replies for this message */
|
|
47
|
+
replyCount: number | null;
|
|
48
|
+
/** List of Users who replied to this message */
|
|
49
|
+
replyUsers: Array<string>;
|
|
50
|
+
/** Number of users who replied to this message */
|
|
51
|
+
replyUsersCount: number | null;
|
|
52
|
+
/** Details of the Slack User who posted this message */
|
|
53
|
+
slackUserId: string;
|
|
54
|
+
/** Sub-type of Message */
|
|
55
|
+
subtype: string | null;
|
|
56
|
+
/** Timestamp of the thread to which this message belong to */
|
|
57
|
+
threadTs: string | null;
|
|
58
|
+
/** Type of Message */
|
|
59
|
+
type: string;
|
|
60
|
+
/** Url for this message */
|
|
61
|
+
url: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Contains the details of Slack Message
|
|
65
|
+
*
|
|
66
|
+
* Keys:
|
|
67
|
+
* (none)
|
|
68
|
+
*/
|
|
69
|
+
export interface SlackBridgeMessageOutputRepresentation {
|
|
70
|
+
files: Array<SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation>;
|
|
71
|
+
includesCustomEmoji: boolean | null;
|
|
72
|
+
isBroadcast: boolean;
|
|
73
|
+
isEditable: boolean;
|
|
74
|
+
isEdited: boolean;
|
|
75
|
+
latestReplyTimestamp: string | null;
|
|
76
|
+
message: string;
|
|
77
|
+
messageTs: string;
|
|
78
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
79
|
+
replyCount: number | null;
|
|
80
|
+
replyUsers: Array<string>;
|
|
81
|
+
replyUsersCount: number | null;
|
|
82
|
+
slackUserId: string;
|
|
83
|
+
subtype: string | null;
|
|
84
|
+
threadTs: string | null;
|
|
85
|
+
type: string;
|
|
86
|
+
url: string;
|
|
87
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts
ADDED
|
@@ -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 = "8675c3724b54000cf665f9916ae22522";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgePostMessageInputRepresentation, existing: SlackBridgePostMessageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgePostMessageInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgePostMessageInputRepresentationNormalized, incoming: SlackBridgePostMessageInputRepresentationNormalized): 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: SlackBridgePostMessageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to post a message to Slack
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgePostMessageInputRepresentationNormalized {
|
|
17
|
+
/** Channel where the message should be posted */
|
|
18
|
+
channelId: string;
|
|
19
|
+
/** Find and link channel names and usernames using the Slack ID */
|
|
20
|
+
linkNames: boolean;
|
|
21
|
+
/** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation */
|
|
22
|
+
replyBroadcast: boolean;
|
|
23
|
+
/** Workspace where the message should be posted */
|
|
24
|
+
teamId: string;
|
|
25
|
+
/** Content of the message */
|
|
26
|
+
text: string;
|
|
27
|
+
/** Time stamp of the Parent message (in case of reply) */
|
|
28
|
+
threadTs: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Contains the parameters to post a message to Slack
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface SlackBridgePostMessageInputRepresentation {
|
|
37
|
+
channelId: string;
|
|
38
|
+
linkNames: boolean;
|
|
39
|
+
replyBroadcast: boolean;
|
|
40
|
+
teamId: string;
|
|
41
|
+
text: string;
|
|
42
|
+
threadTs: string;
|
|
43
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
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, 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 } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "769b5b0ed94219341e9be74c08e63aed";
|
|
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 SlackBridgePostMessageOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSlackBridgePostMessageOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgePostMessageOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgePostMessageOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgePostMessageOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SlackBridgePostMessageOutputRepresentation, existing: SlackBridgePostMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgePostMessageOutputRepresentationNormalized;
|
|
16
|
+
export interface DynamicIngestParams {
|
|
17
|
+
postedMessage: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
}
|
|
19
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgePostMessageOutputRepresentation, existing: SlackBridgePostMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgePostMessageOutputRepresentationNormalized;
|
|
20
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
21
|
+
export interface DynamicSelectParams {
|
|
22
|
+
postedMessage?: $64$luvio_engine_LinkSelection;
|
|
23
|
+
}
|
|
24
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
25
|
+
export declare function equals(existing: SlackBridgePostMessageOutputRepresentationNormalized, incoming: SlackBridgePostMessageOutputRepresentationNormalized): boolean;
|
|
26
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
27
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgePostMessageOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
28
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
29
|
+
/**
|
|
30
|
+
* Contains the details of message posted to Slack
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* channelId (string): channelId
|
|
34
|
+
*/
|
|
35
|
+
export interface SlackBridgePostMessageOutputRepresentationNormalized {
|
|
36
|
+
/** Id of the Channel to which this message belong to */
|
|
37
|
+
channelId: string;
|
|
38
|
+
/** Message posted to Slack */
|
|
39
|
+
postedMessage: $64$luvio_engine_StoreLink;
|
|
40
|
+
/** Timestamp of the message posted to Slack */
|
|
41
|
+
timestamp: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Contains the details of message posted to Slack
|
|
45
|
+
*
|
|
46
|
+
* Keys:
|
|
47
|
+
* channelId (string): channelId
|
|
48
|
+
*/
|
|
49
|
+
export interface SlackBridgePostMessageOutputRepresentation {
|
|
50
|
+
channelId: string;
|
|
51
|
+
postedMessage: SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation;
|
|
52
|
+
timestamp: string;
|
|
53
|
+
}
|
|
@@ -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 = "6d2952eb3cff6e2f9ca982162a7a6aa5";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgePostMessageReactionInputRepresentation, existing: SlackBridgePostMessageReactionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgePostMessageReactionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgePostMessageReactionInputRepresentationNormalized, incoming: SlackBridgePostMessageReactionInputRepresentationNormalized): 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: SlackBridgePostMessageReactionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to post or delete a reaction on Slack message
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgePostMessageReactionInputRepresentationNormalized {
|
|
17
|
+
/** Name of the reaction */
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contains the parameters to post or delete a reaction on Slack message
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgePostMessageReactionInputRepresentation {
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
@@ -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 = "c7dec6b60c7d567a7835fbdd84d3e67e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeReactionOutputRepresentation, existing: SlackBridgeReactionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeReactionOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeReactionOutputRepresentationNormalized, incoming: SlackBridgeReactionOutputRepresentationNormalized): 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: SlackBridgeReactionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the details of Slack reaction
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeReactionOutputRepresentationNormalized {
|
|
17
|
+
/** Number of reactions */
|
|
18
|
+
count: number;
|
|
19
|
+
/** Name of the reaction */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Slack user ids of users who made this reaction */
|
|
22
|
+
reactedUsers: Array<string>;
|
|
23
|
+
/** Url for the reaction */
|
|
24
|
+
url: string | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Contains the details of Slack reaction
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface SlackBridgeReactionOutputRepresentation {
|
|
33
|
+
count: number;
|
|
34
|
+
name: string;
|
|
35
|
+
reactedUsers: Array<string>;
|
|
36
|
+
url: string | null;
|
|
37
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionsOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
|
|
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 = "804aa6216a7579adeeae856f76b688db";
|
|
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 SlackBridgeReactionsOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSlackBridgeReactionsOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeReactionsOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeReactionsOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeReactionsOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SlackBridgeReactionsOutputRepresentation, existing: SlackBridgeReactionsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeReactionsOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: SlackBridgeReactionsOutputRepresentationNormalized, incoming: SlackBridgeReactionsOutputRepresentationNormalized): 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: SlackBridgeReactionsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the details of Slack reactions for the Slack Message
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* channelId (string): channelId
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeReactionsOutputRepresentationNormalized {
|
|
27
|
+
/** The id of the Slack channel */
|
|
28
|
+
channelId: string;
|
|
29
|
+
/** Timestamp of the Slack message */
|
|
30
|
+
messageTs: string;
|
|
31
|
+
/** List of reactions */
|
|
32
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
33
|
+
/** The id of the Slack team (Workspace or Enterprise Org) where this conversation exists */
|
|
34
|
+
teamId: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Contains the details of Slack reactions for the Slack Message
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* channelId (string): channelId
|
|
41
|
+
*/
|
|
42
|
+
export interface SlackBridgeReactionsOutputRepresentation {
|
|
43
|
+
channelId: string;
|
|
44
|
+
messageTs: string;
|
|
45
|
+
reactions: Array<SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation>;
|
|
46
|
+
teamId: string;
|
|
47
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdateMessageInputRepresentation.d.ts
ADDED
|
@@ -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 = "3ec756cb0f04d634d206f83925797b9c";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeUpdateMessageInputRepresentation, existing: SlackBridgeUpdateMessageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUpdateMessageInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeUpdateMessageInputRepresentationNormalized, incoming: SlackBridgeUpdateMessageInputRepresentationNormalized): 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: SlackBridgeUpdateMessageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to update a message to Slack
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeUpdateMessageInputRepresentationNormalized {
|
|
17
|
+
/** Content of the message */
|
|
18
|
+
text: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contains the parameters to update a message to Slack
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeUpdateMessageInputRepresentation {
|
|
27
|
+
text: string;
|
|
28
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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 { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "ae89754c94207cbb4950674da6481b34";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeUpdatedMessageOutputRepresentation, existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUpdatedMessageOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
updatedMessage: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeUpdatedMessageOutputRepresentation, existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeUpdatedMessageOutputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
updatedMessage?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, incoming: SlackBridgeUpdatedMessageOutputRepresentationNormalized): 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: SlackBridgeUpdatedMessageOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the details of updated Slack message
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeUpdatedMessageOutputRepresentationNormalized {
|
|
27
|
+
/** Id of the Channel to which this message belong to */
|
|
28
|
+
channelId: string;
|
|
29
|
+
/** Timestamp of the message posted to Slack */
|
|
30
|
+
timestamp: string;
|
|
31
|
+
/** Updated Message from Slack */
|
|
32
|
+
updatedMessage: $64$luvio_engine_StoreLink;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Contains the details of updated Slack message
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface SlackBridgeUpdatedMessageOutputRepresentation {
|
|
41
|
+
channelId: string;
|
|
42
|
+
timestamp: string;
|
|
43
|
+
updatedMessage: SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation;
|
|
44
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
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 = 300000;
|
|
4
|
+
export declare const VERSION = "1c89c1c8379c0e55b8f94fecd03d8775";
|
|
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
|
+
teamId: string;
|
|
9
|
+
slackUserId: string;
|
|
10
|
+
}
|
|
11
|
+
export type SlackBridgeUserInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialSlackBridgeUserInfoOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeUserInfoOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeUserInfoOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeUserInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: SlackBridgeUserInfoOutputRepresentation, existing: SlackBridgeUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUserInfoOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
19
|
+
export declare function equals(existing: SlackBridgeUserInfoOutputRepresentationNormalized, incoming: SlackBridgeUserInfoOutputRepresentationNormalized): boolean;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeUserInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* Contains the details of Slack User
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* teamId (string): teamId
|
|
27
|
+
* slackUserId (string): slackUserId
|
|
28
|
+
*/
|
|
29
|
+
export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
30
|
+
/** Is this a Bot User? */
|
|
31
|
+
bot: boolean;
|
|
32
|
+
/** Display Name of the Slack User */
|
|
33
|
+
displayName: string;
|
|
34
|
+
/** 24x24 version of the Slack User image */
|
|
35
|
+
image24: string;
|
|
36
|
+
/** Original version of the Slack User image */
|
|
37
|
+
imageOriginal: string | null;
|
|
38
|
+
/** Is this Slack User currently in a Huddle? */
|
|
39
|
+
inHuddle: boolean | null;
|
|
40
|
+
/** Is this Slack User currently active? */
|
|
41
|
+
isActive: boolean | null;
|
|
42
|
+
/** Is Slack User external? */
|
|
43
|
+
isExternal: boolean | null;
|
|
44
|
+
/** Name of the Slack User */
|
|
45
|
+
name: string;
|
|
46
|
+
/** User Profile url */
|
|
47
|
+
profileUrl: string | null;
|
|
48
|
+
/** Real Name of the Slack User */
|
|
49
|
+
realName: string;
|
|
50
|
+
/** Id of the related Salesforce User mapped to the Slack User */
|
|
51
|
+
salesforceUserId: string | null;
|
|
52
|
+
/** Id of the Slack User */
|
|
53
|
+
slackUserId: string;
|
|
54
|
+
/** Status emoji of the Slack User */
|
|
55
|
+
statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
|
|
56
|
+
/** Status message of the Slack User */
|
|
57
|
+
statusMessage: string;
|
|
58
|
+
/** Slack Workspace Id */
|
|
59
|
+
teamId: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Contains the details of Slack User
|
|
63
|
+
*
|
|
64
|
+
* Keys:
|
|
65
|
+
* teamId (string): teamId
|
|
66
|
+
* slackUserId (string): slackUserId
|
|
67
|
+
*/
|
|
68
|
+
export interface SlackBridgeUserInfoOutputRepresentation {
|
|
69
|
+
bot: boolean;
|
|
70
|
+
displayName: string;
|
|
71
|
+
image24: string;
|
|
72
|
+
imageOriginal: string | null;
|
|
73
|
+
inHuddle: boolean | null;
|
|
74
|
+
isActive: boolean | null;
|
|
75
|
+
isExternal: boolean | null;
|
|
76
|
+
name: string;
|
|
77
|
+
profileUrl: string | null;
|
|
78
|
+
realName: string;
|
|
79
|
+
salesforceUserId: string | null;
|
|
80
|
+
slackUserId: string;
|
|
81
|
+
statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
|
|
82
|
+
statusMessage: string;
|
|
83
|
+
teamId: string;
|
|
84
|
+
}
|