@salesforce/lds-adapters-platform-slack-bridge 1.331.0 → 1.332.0-dev10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/platform-slack-bridge.js +3847 -1689
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -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/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/getSlackSearchUser.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -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 +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +15 -1
- package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -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/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +34 -22
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +14 -5
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -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/SlackBridgeConversationOutputRepresentation.d.ts +8 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +21 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/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/SlackBridgeUserInfoOutputRepresentation.d.ts +16 -10
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +4161 -1833
- package/src/raml/api.raml +350 -133
- package/src/raml/luvio.raml +78 -26
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts +0 -44
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const VERSION = "
|
|
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 = "252fe3a6509a770a876e36552ad8dd06";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata = 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): SlackBridgeConversationInfoOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationInfoOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
5
14
|
export declare function normalize(input: SlackBridgeConversationInfoOutputRepresentation, existing: SlackBridgeConversationInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInfoOutputRepresentationNormalized;
|
|
6
15
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
16
|
export declare function equals(existing: SlackBridgeConversationInfoOutputRepresentationNormalized, incoming: SlackBridgeConversationInfoOutputRepresentationNormalized): boolean;
|
|
@@ -11,57 +20,60 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
11
20
|
* Contains the conversation info
|
|
12
21
|
*
|
|
13
22
|
* Keys:
|
|
14
|
-
* (
|
|
23
|
+
* id (string): id
|
|
15
24
|
*/
|
|
16
25
|
export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
|
|
17
26
|
/** Id of the Conversation */
|
|
18
27
|
id: string;
|
|
19
28
|
/** Is this conversation archived? */
|
|
20
|
-
isArchived: boolean;
|
|
29
|
+
isArchived: boolean | null;
|
|
21
30
|
/** Is this a channel? */
|
|
22
|
-
isChannel: boolean;
|
|
31
|
+
isChannel: boolean | null;
|
|
23
32
|
/** Is Custom Emoji supported? */
|
|
24
33
|
isCustomEmojiSupported: boolean | null;
|
|
25
34
|
/** Is this a group? */
|
|
26
|
-
isGroup: boolean;
|
|
35
|
+
isGroup: boolean | null;
|
|
27
36
|
/** Is this IM? */
|
|
28
|
-
isIm: boolean;
|
|
37
|
+
isIm: boolean | null;
|
|
29
38
|
/** Is the context User a member of this Conversation? */
|
|
30
|
-
isMember: boolean;
|
|
39
|
+
isMember: boolean | null;
|
|
31
40
|
/** Is this conversation open? */
|
|
32
|
-
isOpen: boolean;
|
|
41
|
+
isOpen: boolean | null;
|
|
33
42
|
/** Is this conversation private? */
|
|
34
|
-
isPrivate: boolean;
|
|
43
|
+
isPrivate: boolean | null;
|
|
35
44
|
/** Is this conversation read-only? */
|
|
36
|
-
isReadOnly: boolean;
|
|
45
|
+
isReadOnly: boolean | null;
|
|
37
46
|
/** Is this conversation thread-only? */
|
|
38
|
-
isThreadOnly: boolean;
|
|
47
|
+
isThreadOnly: boolean | null;
|
|
39
48
|
/** Name of the Conversation */
|
|
40
49
|
name: string;
|
|
41
50
|
/** Number of members in the Conversation */
|
|
42
51
|
numOfMembers: number | null;
|
|
43
52
|
/** Should the Custom Emojis be cached? */
|
|
44
53
|
shouldCacheCustomEmoji: boolean | null;
|
|
54
|
+
/** The URL to the channel */
|
|
55
|
+
url?: string;
|
|
45
56
|
}
|
|
46
57
|
/**
|
|
47
58
|
* Contains the conversation info
|
|
48
59
|
*
|
|
49
60
|
* Keys:
|
|
50
|
-
* (
|
|
61
|
+
* id (string): id
|
|
51
62
|
*/
|
|
52
63
|
export interface SlackBridgeConversationInfoOutputRepresentation {
|
|
53
64
|
id: string;
|
|
54
|
-
isArchived: boolean;
|
|
55
|
-
isChannel: boolean;
|
|
65
|
+
isArchived: boolean | null;
|
|
66
|
+
isChannel: boolean | null;
|
|
56
67
|
isCustomEmojiSupported: boolean | null;
|
|
57
|
-
isGroup: boolean;
|
|
58
|
-
isIm: boolean;
|
|
59
|
-
isMember: boolean;
|
|
60
|
-
isOpen: boolean;
|
|
61
|
-
isPrivate: boolean;
|
|
62
|
-
isReadOnly: boolean;
|
|
63
|
-
isThreadOnly: boolean;
|
|
68
|
+
isGroup: boolean | null;
|
|
69
|
+
isIm: boolean | null;
|
|
70
|
+
isMember: boolean | null;
|
|
71
|
+
isOpen: boolean | null;
|
|
72
|
+
isPrivate: boolean | null;
|
|
73
|
+
isReadOnly: boolean | null;
|
|
74
|
+
isThreadOnly: boolean | null;
|
|
64
75
|
name: string;
|
|
65
76
|
numOfMembers: number | null;
|
|
66
77
|
shouldCacheCustomEmoji: boolean | null;
|
|
78
|
+
url?: string;
|
|
67
79
|
}
|
|
@@ -1,13 +1,22 @@
|
|
|
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';
|
|
1
2
|
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
2
|
-
|
|
3
|
-
export declare const VERSION = "538dbd4008e8984dd05ba4119e20745f";
|
|
3
|
+
export declare const VERSION = "0de597a47ca8ecad2cfb7fd9c8f73920";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: SlackBridgeConversationInfosOutputRepresentation, existing: SlackBridgeConversationInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInfosOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
conversationInfos: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeConversationInfosOutputRepresentation, existing: SlackBridgeConversationInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeConversationInfosOutputRepresentationNormalized;
|
|
7
11
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
conversationInfos?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
8
16
|
export declare function equals(existing: SlackBridgeConversationInfosOutputRepresentationNormalized, incoming: SlackBridgeConversationInfosOutputRepresentationNormalized): boolean;
|
|
9
17
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
18
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationInfosOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
11
20
|
/**
|
|
12
21
|
* Contains the list of Slack Conversation Information
|
|
13
22
|
*
|
|
@@ -16,9 +25,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
25
|
*/
|
|
17
26
|
export interface SlackBridgeConversationInfosOutputRepresentationNormalized {
|
|
18
27
|
/** List of Slack Conversation Information */
|
|
19
|
-
conversationInfos: Array
|
|
28
|
+
conversationInfos: Array<$64$luvio_engine_StoreLink>;
|
|
20
29
|
/** String used to search this list of conversations (Optional) */
|
|
21
|
-
searchString: string;
|
|
30
|
+
searchString: string | null;
|
|
22
31
|
}
|
|
23
32
|
/**
|
|
24
33
|
* Contains the list of Slack Conversation Information
|
|
@@ -28,5 +37,5 @@ export interface SlackBridgeConversationInfosOutputRepresentationNormalized {
|
|
|
28
37
|
*/
|
|
29
38
|
export interface SlackBridgeConversationInfosOutputRepresentation {
|
|
30
39
|
conversationInfos: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
|
|
31
|
-
searchString: string;
|
|
40
|
+
searchString: string | null;
|
|
32
41
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "c7c0355b179a081675399f38f0b8735d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationInputRepresentation, existing: SlackBridgeConversationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationInputRepresentationNormalized, incoming: SlackBridgeConversationInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of a Slack conversation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationInputRepresentationNormalized {
|
|
17
|
+
/** Flag indicating if the conversation is private */
|
|
18
|
+
isPrivate: boolean;
|
|
19
|
+
/** Name of the conversation */
|
|
20
|
+
name: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation of a Slack conversation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SlackBridgeConversationInputRepresentation {
|
|
29
|
+
isPrivate: boolean;
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMemberOutputRepresentation, existing: SlackBridgeConversationMemberOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMemberOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMemberOutputRepresentationNormalized, incoming: SlackBridgeConversationMemberOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMemberOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMemberOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** The Slack user Id of the member of the Slack conversation */
|
|
29
|
+
slackUserId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* channelId (string): channelId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeConversationMemberOutputRepresentation {
|
|
38
|
+
channelId: string;
|
|
39
|
+
slackUserId: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ffc5ef7a9bbfafbc9931c52201cc0506";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationMembersInputRepresentation, existing: SlackBridgeConversationMembersInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationMembersInputRepresentationNormalized, incoming: SlackBridgeConversationMembersInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMembersInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to post Slack conversation members requests
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationMembersInputRepresentationNormalized {
|
|
17
|
+
/** List of Slack user ids */
|
|
18
|
+
slackUserIds: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contains the parameters to post Slack conversation members requests
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeConversationMembersInputRepresentation {
|
|
27
|
+
slackUserIds: Array<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "30b0f3c5bd175b72d9b304944fd9d682";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMembersOutputRepresentation, existing: SlackBridgeConversationMembersOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMembersOutputRepresentationNormalized, incoming: SlackBridgeConversationMembersOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMembersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of Slack members for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMembersOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** Used to paginate to the next page by passing this value as the cursor parameter in a subsequent request */
|
|
29
|
+
nextCursor: string | null;
|
|
30
|
+
/** The Slack user Ids of the members of the Slack conversation */
|
|
31
|
+
slackUserIds: Array<string>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Contains the details of Slack members for the Slack conversation
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* channelId (string): channelId
|
|
38
|
+
*/
|
|
39
|
+
export interface SlackBridgeConversationMembersOutputRepresentation {
|
|
40
|
+
channelId: string;
|
|
41
|
+
nextCursor: string | null;
|
|
42
|
+
slackUserIds: Array<string>;
|
|
43
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
2
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';
|
|
3
2
|
import { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
|
|
3
|
+
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
4
4
|
import { SlackBridgeConversationHistoryOutputRepresentation as SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation } from './SlackBridgeConversationHistoryOutputRepresentation';
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "7ec6cbca3e2948ff5ef00e4034f365d5";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: SlackBridgeConversationOutputRepresentation, existing: SlackBridgeConversationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationOutputRepresentationNormalized;
|
|
9
9
|
export interface DynamicIngestParams {
|
|
10
10
|
contextUserInfo: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
conversationInfo: $64$luvio_engine_ResourceIngest;
|
|
11
12
|
history: $64$luvio_engine_ResourceIngest;
|
|
12
13
|
userInfos: $64$luvio_engine_ResourceIngest;
|
|
13
14
|
}
|
|
@@ -15,6 +16,7 @@ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (in
|
|
|
15
16
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
17
|
export interface DynamicSelectParams {
|
|
17
18
|
contextUserInfo?: $64$luvio_engine_LinkSelection;
|
|
19
|
+
conversationInfo?: $64$luvio_engine_LinkSelection;
|
|
18
20
|
history?: $64$luvio_engine_LinkSelection;
|
|
19
21
|
userInfos?: $64$luvio_engine_LinkSelection;
|
|
20
22
|
}
|
|
@@ -37,7 +39,7 @@ export interface SlackBridgeConversationOutputRepresentationNormalized {
|
|
|
37
39
|
/** The Slack user information of the related context Salesforce User who is viewing this Conversation */
|
|
38
40
|
contextUserInfo: $64$luvio_engine_StoreLink | null;
|
|
39
41
|
/** The full information describing this conversation */
|
|
40
|
-
conversationInfo:
|
|
42
|
+
conversationInfo: $64$luvio_engine_StoreLink | null;
|
|
41
43
|
/** A segment of this conversation's message history, either part of the top-level conversation or a single message's thread of replies */
|
|
42
44
|
history: $64$luvio_engine_StoreLink;
|
|
43
45
|
/** The id of the Slack team (Workspace or Enterprise Org) where this conversation exists */
|
|
@@ -46,6 +48,8 @@ export interface SlackBridgeConversationOutputRepresentationNormalized {
|
|
|
46
48
|
threadTs: string | null;
|
|
47
49
|
/** A list of Slack users that are associated with this Conversation */
|
|
48
50
|
userInfos: Array<$64$luvio_engine_StoreLink>;
|
|
51
|
+
/** The websocket URL to subscribe to RTM topics associated with the conversation */
|
|
52
|
+
websocketUrl: string | null;
|
|
49
53
|
}
|
|
50
54
|
/**
|
|
51
55
|
* Contains the details of a Slack Conversation
|
|
@@ -62,4 +66,5 @@ export interface SlackBridgeConversationOutputRepresentation {
|
|
|
62
66
|
teamId: string;
|
|
63
67
|
threadTs: string | null;
|
|
64
68
|
userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
|
|
69
|
+
websocketUrl: string | null;
|
|
65
70
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "20bf7311db81b4fc5559874e8f8c7502";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: SlackBridgeEmojiOutputRepresentation, existing: SlackBridgeEmojiOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojiOutputRepresentationNormalized;
|
|
@@ -15,15 +15,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface SlackBridgeEmojiOutputRepresentationNormalized {
|
|
17
17
|
/** Alt text for the Slack Emoji */
|
|
18
|
-
altText: string;
|
|
18
|
+
altText: string | null;
|
|
19
19
|
/** Is this a custom Slack Emoji? */
|
|
20
20
|
isCustom: boolean | null;
|
|
21
21
|
/** Name of the Slack Emoji */
|
|
22
22
|
name: string;
|
|
23
23
|
/** Unicode for the Slack Emoji */
|
|
24
|
-
unicode: string;
|
|
24
|
+
unicode: string | null;
|
|
25
25
|
/** Url of the Slack Emoji */
|
|
26
|
-
url: string;
|
|
26
|
+
url: string | null;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Contains the details of Slack Emoji
|
|
@@ -32,9 +32,9 @@ export interface SlackBridgeEmojiOutputRepresentationNormalized {
|
|
|
32
32
|
* (none)
|
|
33
33
|
*/
|
|
34
34
|
export interface SlackBridgeEmojiOutputRepresentation {
|
|
35
|
-
altText: string;
|
|
35
|
+
altText: string | null;
|
|
36
36
|
isCustom: boolean | null;
|
|
37
37
|
name: string;
|
|
38
|
-
unicode: string;
|
|
39
|
-
url: string;
|
|
38
|
+
unicode: string | null;
|
|
39
|
+
url: string | null;
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "40ec82af9ce301ce8598d88a6b19174a";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: SlackBridgeEmojisOutputRepresentation, existing: SlackBridgeEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojisOutputRepresentationNormalized;
|
|
@@ -18,7 +18,7 @@ export interface SlackBridgeEmojisOutputRepresentationNormalized {
|
|
|
18
18
|
/** List of Slack Emoji */
|
|
19
19
|
emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
|
|
20
20
|
/** String used to search this list of conversations (Optional) */
|
|
21
|
-
searchString: string;
|
|
21
|
+
searchString: string | null;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Contains the list of Slack Emoji
|
|
@@ -28,5 +28,5 @@ export interface SlackBridgeEmojisOutputRepresentationNormalized {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface SlackBridgeEmojisOutputRepresentation {
|
|
30
30
|
emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
|
|
31
|
-
searchString: string;
|
|
31
|
+
searchString: string | null;
|
|
32
32
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SlackBridgeContentDocumentOutputRepresentation as SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation } from './SlackBridgeContentDocumentOutputRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "15fa7211c500ebba9537b3c9921b39cf";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
-
uniqueKey: string;
|
|
7
|
+
uniqueKey: string | null;
|
|
8
8
|
}
|
|
9
9
|
export type SlackBridgeFileOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
10
|
export type PartialSlackBridgeFileOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -21,11 +21,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
21
21
|
* Contains the details of files attached to the Slack Message
|
|
22
22
|
*
|
|
23
23
|
* Keys:
|
|
24
|
-
* uniqueKey (string): uniqueKey
|
|
24
|
+
* uniqueKey (string | null): uniqueKey
|
|
25
25
|
*/
|
|
26
26
|
export interface SlackBridgeFileOutputRepresentationNormalized {
|
|
27
27
|
/** Content Document data */
|
|
28
|
-
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
|
|
28
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
|
|
29
29
|
/** Type of the File */
|
|
30
30
|
filetype: string;
|
|
31
31
|
/** Slack Id of the File */
|
|
@@ -35,34 +35,34 @@ export interface SlackBridgeFileOutputRepresentationNormalized {
|
|
|
35
35
|
/** Name of the File */
|
|
36
36
|
name: string;
|
|
37
37
|
/** Size of the File */
|
|
38
|
-
size: number;
|
|
38
|
+
size: number | null;
|
|
39
39
|
/** Slack Permalink for the File */
|
|
40
40
|
slackPermalink: string;
|
|
41
41
|
/** Title of the File */
|
|
42
42
|
title: string;
|
|
43
43
|
/** Token used for the File */
|
|
44
|
-
token: string;
|
|
44
|
+
token: string | null;
|
|
45
45
|
/** Unique Key for the File */
|
|
46
|
-
uniqueKey: string;
|
|
46
|
+
uniqueKey: string | null;
|
|
47
47
|
/** Slack web URL for the File */
|
|
48
|
-
url: string;
|
|
48
|
+
url: string | null;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Contains the details of files attached to the Slack Message
|
|
52
52
|
*
|
|
53
53
|
* Keys:
|
|
54
|
-
* uniqueKey (string): uniqueKey
|
|
54
|
+
* uniqueKey (string | null): uniqueKey
|
|
55
55
|
*/
|
|
56
56
|
export interface SlackBridgeFileOutputRepresentation {
|
|
57
|
-
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
|
|
57
|
+
contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
|
|
58
58
|
filetype: string;
|
|
59
59
|
id: string;
|
|
60
60
|
mimetype: string;
|
|
61
61
|
name: string;
|
|
62
|
-
size: number;
|
|
62
|
+
size: number | null;
|
|
63
63
|
slackPermalink: string;
|
|
64
64
|
title: string;
|
|
65
|
-
token: string;
|
|
66
|
-
uniqueKey: string;
|
|
67
|
-
url: string;
|
|
65
|
+
token: string | null;
|
|
66
|
+
uniqueKey: string | null;
|
|
67
|
+
url: string | null;
|
|
68
68
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
|
|
2
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
3
|
import { SlackBridgeFileOutputRepresentation as SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation } from './SlackBridgeFileOutputRepresentation';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "a8502e4e4bb65313c6fbaa1f89f1e539";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
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;
|
|
@@ -25,16 +25,24 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
25
25
|
* (none)
|
|
26
26
|
*/
|
|
27
27
|
export interface SlackBridgeMessageOutputRepresentationNormalized {
|
|
28
|
+
/** Message attachments */
|
|
29
|
+
attachments: Array<{
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}>;
|
|
32
|
+
/** Message blocks */
|
|
33
|
+
blocks: Array<{
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}>;
|
|
28
36
|
/** List of files attached to this message */
|
|
29
37
|
files: Array<$64$luvio_engine_StoreLink>;
|
|
30
38
|
/** Does this message includes Custom emoji? */
|
|
31
39
|
includesCustomEmoji: boolean | null;
|
|
32
40
|
/** Is this a reply also sent to the Channel? */
|
|
33
|
-
isBroadcast: boolean;
|
|
41
|
+
isBroadcast: boolean | null;
|
|
34
42
|
/** Can this message be edited? */
|
|
35
43
|
isEditable: boolean;
|
|
36
44
|
/** Is this an edited message? */
|
|
37
|
-
isEdited: boolean;
|
|
45
|
+
isEdited: boolean | null;
|
|
38
46
|
/** Latest Reply timestamp */
|
|
39
47
|
latestReplyTimestamp: string | null;
|
|
40
48
|
/** Content of the Message */
|
|
@@ -56,7 +64,7 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
|
|
|
56
64
|
/** Timestamp of the thread to which this message belong to */
|
|
57
65
|
threadTs: string | null;
|
|
58
66
|
/** Type of Message */
|
|
59
|
-
type: string;
|
|
67
|
+
type: string | null;
|
|
60
68
|
/** Url for this message */
|
|
61
69
|
url: string;
|
|
62
70
|
}
|
|
@@ -67,11 +75,17 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
|
|
|
67
75
|
* (none)
|
|
68
76
|
*/
|
|
69
77
|
export interface SlackBridgeMessageOutputRepresentation {
|
|
78
|
+
attachments: Array<{
|
|
79
|
+
[key: string]: unknown;
|
|
80
|
+
}>;
|
|
81
|
+
blocks: Array<{
|
|
82
|
+
[key: string]: unknown;
|
|
83
|
+
}>;
|
|
70
84
|
files: Array<SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation>;
|
|
71
85
|
includesCustomEmoji: boolean | null;
|
|
72
|
-
isBroadcast: boolean;
|
|
86
|
+
isBroadcast: boolean | null;
|
|
73
87
|
isEditable: boolean;
|
|
74
|
-
isEdited: boolean;
|
|
88
|
+
isEdited: boolean | null;
|
|
75
89
|
latestReplyTimestamp: string | null;
|
|
76
90
|
message: string;
|
|
77
91
|
messageTs: string;
|
|
@@ -82,6 +96,6 @@ export interface SlackBridgeMessageOutputRepresentation {
|
|
|
82
96
|
slackUserId: string;
|
|
83
97
|
subtype: string | null;
|
|
84
98
|
threadTs: string | null;
|
|
85
|
-
type: string;
|
|
99
|
+
type: string | null;
|
|
86
100
|
url: string;
|
|
87
101
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "d53c41f4dafd8a908a38f7b74fd4a656";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
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;
|
|
@@ -17,15 +17,15 @@ export interface SlackBridgePostMessageInputRepresentationNormalized {
|
|
|
17
17
|
/** Channel where the message should be posted */
|
|
18
18
|
channelId: string;
|
|
19
19
|
/** Find and link channel names and usernames using the Slack ID */
|
|
20
|
-
linkNames
|
|
20
|
+
linkNames?: boolean;
|
|
21
21
|
/** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation */
|
|
22
|
-
replyBroadcast
|
|
22
|
+
replyBroadcast?: boolean;
|
|
23
23
|
/** Workspace where the message should be posted */
|
|
24
24
|
teamId: string;
|
|
25
25
|
/** Content of the message */
|
|
26
26
|
text: string;
|
|
27
27
|
/** Time stamp of the Parent message (in case of reply) */
|
|
28
|
-
threadTs
|
|
28
|
+
threadTs?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Contains the parameters to post a message to Slack
|
|
@@ -35,9 +35,9 @@ export interface SlackBridgePostMessageInputRepresentationNormalized {
|
|
|
35
35
|
*/
|
|
36
36
|
export interface SlackBridgePostMessageInputRepresentation {
|
|
37
37
|
channelId: string;
|
|
38
|
-
linkNames
|
|
39
|
-
replyBroadcast
|
|
38
|
+
linkNames?: boolean;
|
|
39
|
+
replyBroadcast?: boolean;
|
|
40
40
|
teamId: string;
|
|
41
41
|
text: string;
|
|
42
|
-
threadTs
|
|
42
|
+
threadTs?: string;
|
|
43
43
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "7820a930852347bb0506c08d8b528281";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
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;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface SlackBridgeReactionOutputRepresentationNormalized {
|
|
17
17
|
/** Number of reactions */
|
|
18
|
-
count: number;
|
|
18
|
+
count: number | null;
|
|
19
19
|
/** Name of the reaction */
|
|
20
20
|
name: string;
|
|
21
21
|
/** Slack user ids of users who made this reaction */
|
|
@@ -30,7 +30,7 @@ export interface SlackBridgeReactionOutputRepresentationNormalized {
|
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
32
|
export interface SlackBridgeReactionOutputRepresentation {
|
|
33
|
-
count: number;
|
|
33
|
+
count: number | null;
|
|
34
34
|
name: string;
|
|
35
35
|
reactedUsers: Array<string>;
|
|
36
36
|
url: string | null;
|