@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
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 = "d53c41f4dafd8a908a38f7b74fd4a656";
|
|
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 = "7820a930852347bb0506c08d8b528281";
|
|
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 | null;
|
|
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 | null;
|
|
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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 = "3c1954c22e6a059a8a8b62224d337ff4";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeRecordChannelInfoInputRepresentation, existing: SlackBridgeRecordChannelInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRecordChannelInfoInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeRecordChannelInfoInputRepresentationNormalized, incoming: SlackBridgeRecordChannelInfoInputRepresentationNormalized): 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: SlackBridgeRecordChannelInfoInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of a Slack record channel
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeRecordChannelInfoInputRepresentationNormalized {
|
|
17
|
+
/** The conversation info associated with the record */
|
|
18
|
+
conversationInfo: {
|
|
19
|
+
/** Is this conversation private? */
|
|
20
|
+
isPrivate: boolean;
|
|
21
|
+
};
|
|
22
|
+
/** The ID of the Salesforce record associated with the conversation */
|
|
23
|
+
relatedRecordId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Representation of a Slack record channel
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface SlackBridgeRecordChannelInfoInputRepresentation {
|
|
32
|
+
conversationInfo: {
|
|
33
|
+
isPrivate: boolean;
|
|
34
|
+
};
|
|
35
|
+
relatedRecordId: string;
|
|
36
|
+
}
|
|
@@ -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 { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "ed15e6ba6e9dd618e72c6eea210ee7a8";
|
|
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
|
+
relatedRecordId: string;
|
|
8
|
+
}
|
|
9
|
+
export type SlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialSlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeRecordChannelInfoOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeRecordChannelInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: SlackBridgeRecordChannelInfoOutputRepresentation, existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRecordChannelInfoOutputRepresentationNormalized;
|
|
16
|
+
export interface DynamicIngestParams {
|
|
17
|
+
conversationInfo: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
}
|
|
19
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeRecordChannelInfoOutputRepresentation, existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeRecordChannelInfoOutputRepresentationNormalized;
|
|
20
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
21
|
+
export interface DynamicSelectParams {
|
|
22
|
+
conversationInfo?: $64$luvio_engine_LinkSelection;
|
|
23
|
+
}
|
|
24
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
25
|
+
export declare function equals(existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, incoming: SlackBridgeRecordChannelInfoOutputRepresentationNormalized): 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: SlackBridgeRecordChannelInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
28
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
29
|
+
/**
|
|
30
|
+
* Representation of a Slack record channel
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* relatedRecordId (string): relatedRecordId
|
|
34
|
+
*/
|
|
35
|
+
export interface SlackBridgeRecordChannelInfoOutputRepresentationNormalized {
|
|
36
|
+
/** The conversation info associated with the record */
|
|
37
|
+
conversationInfo: $64$luvio_engine_StoreLink;
|
|
38
|
+
/** The ID of the Salesforce record associated with the conversation */
|
|
39
|
+
relatedRecordId: string;
|
|
40
|
+
/** The Slack ID of the Slack team */
|
|
41
|
+
teamId: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Representation of a Slack record channel
|
|
45
|
+
*
|
|
46
|
+
* Keys:
|
|
47
|
+
* relatedRecordId (string): relatedRecordId
|
|
48
|
+
*/
|
|
49
|
+
export interface SlackBridgeRecordChannelInfoOutputRepresentation {
|
|
50
|
+
conversationInfo: SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation;
|
|
51
|
+
relatedRecordId: string;
|
|
52
|
+
teamId: string;
|
|
53
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
3
|
+
import { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
|
|
4
|
+
export declare const TTL = 500;
|
|
5
|
+
export declare const VERSION = "fb0fd743f16f2b13d70727c055fbc834";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: SlackBridgeRelatedThreadsOutputRepresentation, existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRelatedThreadsOutputRepresentationNormalized;
|
|
9
|
+
export interface DynamicIngestParams {
|
|
10
|
+
conversations: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
messages: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
}
|
|
13
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeRelatedThreadsOutputRepresentation, existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeRelatedThreadsOutputRepresentationNormalized;
|
|
14
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
15
|
+
export interface DynamicSelectParams {
|
|
16
|
+
conversations?: $64$luvio_engine_LinkSelection;
|
|
17
|
+
messages?: $64$luvio_engine_LinkSelection;
|
|
18
|
+
}
|
|
19
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
20
|
+
export declare function equals(existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, incoming: SlackBridgeRelatedThreadsOutputRepresentationNormalized): boolean;
|
|
21
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeRelatedThreadsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
23
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
24
|
+
/**
|
|
25
|
+
* Contains the Slack Related Threads
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SlackBridgeRelatedThreadsOutputRepresentationNormalized {
|
|
31
|
+
/** List of Slack conversation information */
|
|
32
|
+
conversations: Array<$64$luvio_engine_StoreLink>;
|
|
33
|
+
/** List of Slack messages */
|
|
34
|
+
messages: Array<$64$luvio_engine_StoreLink>;
|
|
35
|
+
/** The id of the Slack team (Workspace or Enterprise Org) where the related threads exist */
|
|
36
|
+
teamId: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Contains the Slack Related Threads
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface SlackBridgeRelatedThreadsOutputRepresentation {
|
|
45
|
+
conversations: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
|
|
46
|
+
messages: Array<SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation>;
|
|
47
|
+
teamId: string;
|
|
48
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 = "d6833ffbee3e599bfdef928466ea65af";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeSlackTeamOutputRepresentation, existing: SlackBridgeSlackTeamOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeSlackTeamOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SlackBridgeSlackTeamOutputRepresentationNormalized, incoming: SlackBridgeSlackTeamOutputRepresentationNormalized): 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: SlackBridgeSlackTeamOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Contains metadata about the connected slack team
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SlackBridgeSlackTeamOutputRepresentationNormalized {
|
|
18
|
+
/** The team connection status */
|
|
19
|
+
status: string;
|
|
20
|
+
/** The full domain name for the connected slack team or enterprise grid */
|
|
21
|
+
teamDomain: string;
|
|
22
|
+
/** The team id */
|
|
23
|
+
teamId: string;
|
|
24
|
+
/** The team name */
|
|
25
|
+
teamName: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Contains metadata about the connected slack team
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface SlackBridgeSlackTeamOutputRepresentation {
|
|
34
|
+
status: string;
|
|
35
|
+
teamDomain: string;
|
|
36
|
+
teamId: string;
|
|
37
|
+
teamName: string;
|
|
38
|
+
}
|
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
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation } from './SlackBridgeEnterpriseUserInfoOutputRepresentation';
|
|
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, 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';
|
|
3
|
+
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
4
|
+
export declare const TTL = 900000;
|
|
5
|
+
export declare const VERSION = "e028e881472367bb6b51398f0ceca161";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
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 interface DynamicIngestParams {
|
|
19
|
+
statusEmoji: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
}
|
|
21
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeUserInfoOutputRepresentation, existing: SlackBridgeUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeUserInfoOutputRepresentationNormalized;
|
|
22
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
23
|
+
export interface DynamicSelectParams {
|
|
24
|
+
statusEmoji?: $64$luvio_engine_LinkSelection;
|
|
25
|
+
}
|
|
26
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
27
|
+
export declare function equals(existing: SlackBridgeUserInfoOutputRepresentationNormalized, incoming: SlackBridgeUserInfoOutputRepresentationNormalized): boolean;
|
|
28
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
29
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeUserInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
30
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
31
|
+
/**
|
|
32
|
+
* Contains the details of Slack User
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* slackUserId (string): slackUserId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
38
|
+
/** Is this a Bot User? */
|
|
39
|
+
bot: boolean;
|
|
40
|
+
/** Display Name of the Slack User */
|
|
41
|
+
displayName: string | null;
|
|
42
|
+
/** Email of the Slack User */
|
|
43
|
+
email: string | null;
|
|
44
|
+
/** The enterprise user mapping */
|
|
45
|
+
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
46
|
+
/** 24x24 version of the Slack User image */
|
|
47
|
+
image24?: string | null;
|
|
48
|
+
/** Original version of the Slack User image */
|
|
49
|
+
imageOriginal: string | null;
|
|
50
|
+
/** Is this Slack User currently in a Huddle? */
|
|
51
|
+
inHuddle: boolean | null;
|
|
52
|
+
/** Is this Slack User currently active? */
|
|
53
|
+
isActive: boolean | null;
|
|
54
|
+
/** Is Slack User an admin? */
|
|
55
|
+
isAdmin: boolean;
|
|
56
|
+
/** Is Slack User an Agentforce bot? */
|
|
57
|
+
isAgentforceBot?: boolean;
|
|
58
|
+
/** Is Slack User external? */
|
|
59
|
+
isExternal: boolean | null;
|
|
60
|
+
/** Is Slack User an owner? */
|
|
61
|
+
isOwner: boolean;
|
|
62
|
+
/** Is Slack User aa primary owner? */
|
|
63
|
+
isPrimaryOwner: boolean;
|
|
64
|
+
/** Is Slack User restricted? */
|
|
65
|
+
isRestricted: boolean;
|
|
66
|
+
/** Is Slack User ultra restricted? */
|
|
67
|
+
isUltraRestricted: boolean;
|
|
68
|
+
/** Is Slack User a workflow bot? */
|
|
69
|
+
isWorkflowBot: boolean;
|
|
70
|
+
/** Name of the Slack User */
|
|
71
|
+
name: string;
|
|
72
|
+
/** Profile image used for this Slack user */
|
|
73
|
+
profileImage?: string | null;
|
|
74
|
+
/** User Profile url */
|
|
75
|
+
profileUrl: string | null;
|
|
76
|
+
/** Real Name of the Slack User */
|
|
77
|
+
realName: string | null;
|
|
78
|
+
/** Id of the related Salesforce User mapped to the Slack User */
|
|
79
|
+
salesforceUserId: string | null;
|
|
80
|
+
/** Id of the Slack User */
|
|
81
|
+
slackUserId: string;
|
|
82
|
+
/** Status emoji of the Slack User */
|
|
83
|
+
statusEmoji: $64$luvio_engine_StoreLink | null;
|
|
84
|
+
/** Status message of the Slack User */
|
|
85
|
+
statusMessage: string | null;
|
|
86
|
+
/** Slack Workspace Id */
|
|
87
|
+
teamId: string | null;
|
|
88
|
+
/** Title of the Slack User */
|
|
89
|
+
title: string | null;
|
|
90
|
+
/** Time zone of the Slack user, ie. America/New_York */
|
|
91
|
+
tz?: string | null;
|
|
92
|
+
/** Time zone label of the Slack user, ie. Eastern Daylight Time */
|
|
93
|
+
tzLabel?: string | null;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Contains the details of Slack User
|
|
97
|
+
*
|
|
98
|
+
* Keys:
|
|
99
|
+
* slackUserId (string): slackUserId
|
|
100
|
+
*/
|
|
101
|
+
export interface SlackBridgeUserInfoOutputRepresentation {
|
|
102
|
+
bot: boolean;
|
|
103
|
+
displayName: string | null;
|
|
104
|
+
email: string | null;
|
|
105
|
+
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
106
|
+
image24?: string | null;
|
|
107
|
+
imageOriginal: string | null;
|
|
108
|
+
inHuddle: boolean | null;
|
|
109
|
+
isActive: boolean | null;
|
|
110
|
+
isAdmin: boolean;
|
|
111
|
+
isAgentforceBot?: boolean;
|
|
112
|
+
isExternal: boolean | null;
|
|
113
|
+
isOwner: boolean;
|
|
114
|
+
isPrimaryOwner: boolean;
|
|
115
|
+
isRestricted: boolean;
|
|
116
|
+
isUltraRestricted: boolean;
|
|
117
|
+
isWorkflowBot: boolean;
|
|
118
|
+
name: string;
|
|
119
|
+
profileImage?: string | null;
|
|
120
|
+
profileUrl: string | null;
|
|
121
|
+
realName: string | null;
|
|
122
|
+
salesforceUserId: string | null;
|
|
123
|
+
slackUserId: string;
|
|
124
|
+
statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
|
|
125
|
+
statusMessage: string | null;
|
|
126
|
+
teamId: string | null;
|
|
127
|
+
title: string | null;
|
|
128
|
+
tz?: string | null;
|
|
129
|
+
tzLabel?: string | null;
|
|
130
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.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 { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
|
|
3
|
+
export declare const VERSION = "16b915c502b8a0609446d7ed3907a794";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SlackBridgeUserInfosOutputRepresentation, existing: SlackBridgeUserInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUserInfosOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
userInfos: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeUserInfosOutputRepresentation, existing: SlackBridgeUserInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeUserInfosOutputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
userInfos?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeUserInfosOutputRepresentationNormalized, incoming: SlackBridgeUserInfosOutputRepresentationNormalized): 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: SlackBridgeUserInfosOutputRepresentation, 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 User Information
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeUserInfosOutputRepresentationNormalized {
|
|
27
|
+
/** Next marker used for pagination. (Optional) */
|
|
28
|
+
nextMarker: string | null;
|
|
29
|
+
/** String used to search this list of conversations (Optional) */
|
|
30
|
+
searchString: string | null;
|
|
31
|
+
/** List of Slack User Information */
|
|
32
|
+
userInfos: Array<$64$luvio_engine_StoreLink>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Contains the list of Slack User Information
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface SlackBridgeUserInfosOutputRepresentation {
|
|
41
|
+
nextMarker: string | null;
|
|
42
|
+
searchString: string | null;
|
|
43
|
+
userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|