@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev2 → 1.332.0-dev20
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 +5128 -2176
- package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -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/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/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/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/postSlackRecordChannelInfos.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +23 -3
- 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/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -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/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +7 -4
- 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/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/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/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/SlackBridgeConversationOutputRepresentation.d.ts +5 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +33 -19
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +14 -8
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +24 -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/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -12
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +5564 -2379
- package/src/raml/api.raml +469 -137
- package/src/raml/luvio.raml +102 -26
- package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +0 -27
- package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +0 -35
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeConversationInfosOutputRepresentation as types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation } from '../types/SlackBridgeConversationInfosOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
teamId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
search?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>;
|
|
16
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeRecordChannelInfoOutputRepresentation as types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation } from '../types/SlackBridgeRecordChannelInfoOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
conversationInfo: {
|
|
6
|
+
isPrivate: boolean;
|
|
7
|
+
};
|
|
8
|
+
relatedRecordId: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeRecordChannelInfoOutputRepresentation_SlackBridgeRecordChannelInfoOutputRepresentation, any>;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeConversationMarkOutputRepresentation as types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation } from '../types/SlackBridgeConversationMarkOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
channelId: string;
|
|
6
|
+
teamId: string;
|
|
7
|
+
};
|
|
8
|
+
queryParams: {
|
|
9
|
+
messageTs: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation): void;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeConversationMarkOutputRepresentation_SlackBridgeConversationMarkOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SlackBridgeConversationMembersOutputRepresentation as types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation } from '../types/SlackBridgeConversationMembersOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
channelId: string;
|
|
6
|
+
teamId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
slackUserIds: Array<string>;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation): void;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeConversationMembersOutputRepresentation_SlackBridgeConversationMembersOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlackBridgeFileTypeOutputRepresentation as SlackBridgeFileTypeOutputRepresentation_SlackBridgeFileTypeOutputRepresentation } from './SlackBridgeFileTypeOutputRepresentation';
|
|
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 = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
|
|
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: SlackBridgeContentVersionOutputRepresentation, existing: SlackBridgeContentVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeContentVersionOutputRepresentationNormalized;
|
|
@@ -17,7 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface SlackBridgeContentVersionOutputRepresentationNormalized {
|
|
18
18
|
/** Attachment URL for the Content Version record */
|
|
19
19
|
attachmentUrl: string;
|
|
20
|
-
|
|
20
|
+
/** File type of the Content Version record */
|
|
21
|
+
filetype: SlackBridgeFileTypeOutputRepresentation_SlackBridgeFileTypeOutputRepresentation | null;
|
|
21
22
|
/** Id of the Content Version record */
|
|
22
23
|
id: string;
|
|
23
24
|
/** Size of the Content Version record */
|
|
@@ -25,7 +26,7 @@ export interface SlackBridgeContentVersionOutputRepresentationNormalized {
|
|
|
25
26
|
/** Title of the Content Version record */
|
|
26
27
|
title: string;
|
|
27
28
|
/** Version URL for the Content Version record */
|
|
28
|
-
versionUrl: string;
|
|
29
|
+
versionUrl: string | null;
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Contains the details of Content Version
|
|
@@ -35,9 +36,9 @@ export interface SlackBridgeContentVersionOutputRepresentationNormalized {
|
|
|
35
36
|
*/
|
|
36
37
|
export interface SlackBridgeContentVersionOutputRepresentation {
|
|
37
38
|
attachmentUrl: string;
|
|
38
|
-
filetype: SlackBridgeFileTypeOutputRepresentation_SlackBridgeFileTypeOutputRepresentation;
|
|
39
|
+
filetype: SlackBridgeFileTypeOutputRepresentation_SlackBridgeFileTypeOutputRepresentation | null;
|
|
39
40
|
id: string;
|
|
40
41
|
size: number;
|
|
41
42
|
title: string;
|
|
42
|
-
versionUrl: string;
|
|
43
|
+
versionUrl: string | null;
|
|
43
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 = "32716a7de3c8810288467155d92e5124";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMarkOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMarkOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMarkOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMarkOutputRepresentation, existing: SlackBridgeConversationMarkOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMarkOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMarkOutputRepresentationNormalized, incoming: SlackBridgeConversationMarkOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMarkOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Representation of a successful call to update the read cursor in a slack channel.
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMarkOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belongs */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** The timestamp of the message that was marked read */
|
|
29
|
+
messageTs: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Representation of a successful call to update the read cursor in a slack channel.
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* channelId (string): channelId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeConversationMarkOutputRepresentation {
|
|
38
|
+
channelId: string;
|
|
39
|
+
messageTs: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMemberOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMemberOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMemberOutputRepresentation, existing: SlackBridgeConversationMemberOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMemberOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMemberOutputRepresentationNormalized, incoming: SlackBridgeConversationMemberOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMemberOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMemberOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** The Slack user Id of the member of the Slack conversation */
|
|
29
|
+
slackUserId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the details of a Slack member for the Slack conversation
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* channelId (string): channelId
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackBridgeConversationMemberOutputRepresentation {
|
|
38
|
+
channelId: string;
|
|
39
|
+
slackUserId: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ffc5ef7a9bbfafbc9931c52201cc0506";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeConversationMembersInputRepresentation, existing: SlackBridgeConversationMembersInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeConversationMembersInputRepresentationNormalized, incoming: SlackBridgeConversationMembersInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMembersInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the parameters to post Slack conversation members requests
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeConversationMembersInputRepresentationNormalized {
|
|
17
|
+
/** List of Slack user ids */
|
|
18
|
+
slackUserIds: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contains the parameters to post Slack conversation members requests
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SlackBridgeConversationMembersInputRepresentation {
|
|
27
|
+
slackUserIds: Array<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "30b0f3c5bd175b72d9b304944fd9d682";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
channelId: string;
|
|
7
|
+
}
|
|
8
|
+
export type SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialSlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeConversationMembersOutputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeConversationMembersOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: SlackBridgeConversationMembersOutputRepresentation, existing: SlackBridgeConversationMembersOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationMembersOutputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: SlackBridgeConversationMembersOutputRepresentationNormalized, incoming: SlackBridgeConversationMembersOutputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationMembersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Contains the details of Slack members for the Slack conversation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* channelId (string): channelId
|
|
24
|
+
*/
|
|
25
|
+
export interface SlackBridgeConversationMembersOutputRepresentationNormalized {
|
|
26
|
+
/** Id of the Channel to which this message belong to */
|
|
27
|
+
channelId: string;
|
|
28
|
+
/** Used to paginate to the next page by passing this value as the cursor parameter in a subsequent request */
|
|
29
|
+
nextCursor: string | null;
|
|
30
|
+
/** The Slack user Ids of the members of the Slack conversation */
|
|
31
|
+
slackUserIds: Array<string>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Contains the details of Slack members for the Slack conversation
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* channelId (string): channelId
|
|
38
|
+
*/
|
|
39
|
+
export interface SlackBridgeConversationMembersOutputRepresentation {
|
|
40
|
+
channelId: string;
|
|
41
|
+
nextCursor: string | null;
|
|
42
|
+
slackUserIds: Array<string>;
|
|
43
|
+
}
|
package/dist/es/es2018/types/src/generated/types/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 */
|
|
@@ -1,40 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { SlackBridgeEmojiValueOutputRepresentation as SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation } from './SlackBridgeEmojiValueOutputRepresentation';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 2592000000;
|
|
4
|
+
export declare const VERSION = "a0e1530372a57d61a1264218124bbb5c";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
export type SlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialSlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeEmojiOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeEmojiOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeEmojiOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
5
16
|
export declare function normalize(input: SlackBridgeEmojiOutputRepresentation, existing: SlackBridgeEmojiOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojiOutputRepresentationNormalized;
|
|
6
17
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
18
|
export declare function equals(existing: SlackBridgeEmojiOutputRepresentationNormalized, incoming: SlackBridgeEmojiOutputRepresentationNormalized): boolean;
|
|
8
19
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
20
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeEmojiOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
21
|
/**
|
|
11
|
-
* Contains the details of Slack Emoji
|
|
22
|
+
* Contains the details of a Slack Emoji
|
|
12
23
|
*
|
|
13
24
|
* Keys:
|
|
14
|
-
* (
|
|
25
|
+
* name (string): name
|
|
15
26
|
*/
|
|
16
27
|
export interface SlackBridgeEmojiOutputRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/**
|
|
28
|
+
/** The alias for the emoji */
|
|
29
|
+
alias: string | null;
|
|
30
|
+
/** Ties the emoji back to its collection, if it came from one */
|
|
31
|
+
collectionId: string | null;
|
|
32
|
+
/** Is the emoji an alias */
|
|
33
|
+
isAlias: boolean | null;
|
|
34
|
+
/** Indicates the name of the emoji, and doubles as an ID when looking it up, as name is unique across a team/org */
|
|
22
35
|
name: string;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
36
|
+
/** The last date the emoji name was updated */
|
|
37
|
+
updated: string | null;
|
|
38
|
+
/** Value of the Slack Emoji. This is either a URL string, an alias string, or an object containing both Apple and Google URL strings */
|
|
39
|
+
value: SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation | null;
|
|
27
40
|
}
|
|
28
41
|
/**
|
|
29
|
-
* Contains the details of Slack Emoji
|
|
42
|
+
* Contains the details of a Slack Emoji
|
|
30
43
|
*
|
|
31
44
|
* Keys:
|
|
32
|
-
* (
|
|
45
|
+
* name (string): name
|
|
33
46
|
*/
|
|
34
47
|
export interface SlackBridgeEmojiOutputRepresentation {
|
|
35
|
-
|
|
36
|
-
|
|
48
|
+
alias: string | null;
|
|
49
|
+
collectionId: string | null;
|
|
50
|
+
isAlias: boolean | null;
|
|
37
51
|
name: string;
|
|
38
|
-
|
|
39
|
-
|
|
52
|
+
updated: string | null;
|
|
53
|
+
value: SlackBridgeEmojiValueOutputRepresentation_SlackBridgeEmojiValueOutputRepresentation | null;
|
|
40
54
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "6a2ede1150bccf991e3f6ea7b55a9964";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SlackBridgeEmojiValueOutputRepresentation, existing: SlackBridgeEmojiValueOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojiValueOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SlackBridgeEmojiValueOutputRepresentationNormalized, incoming: SlackBridgeEmojiValueOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeEmojiValueOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the details of a Slack emoji value
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SlackBridgeEmojiValueOutputRepresentationNormalized {
|
|
17
|
+
/** Url of the emoji with Apple styles */
|
|
18
|
+
appleUrl: string | null;
|
|
19
|
+
/** Url of the emoji if specific Apple and Google urls are not provided */
|
|
20
|
+
defaultValue: string | null;
|
|
21
|
+
/** Url of the emoji with Google styles */
|
|
22
|
+
googleUrl: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Contains the details of a Slack emoji value
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SlackBridgeEmojiValueOutputRepresentation {
|
|
31
|
+
appleUrl: string | null;
|
|
32
|
+
defaultValue: string | null;
|
|
33
|
+
googleUrl: string | null;
|
|
34
|
+
}
|