@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev2 → 1.354.0-dev21

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.
Files changed (28) hide show
  1. package/dist/es/es2018/platform-slack-bridge.js +4999 -1969
  2. package/dist/es/es2018/types/src/generated/adapters/getSlackConversation.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfo.d.ts +29 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfos.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
  8. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeConversationMessages.d.ts +2 -0
  9. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId.d.ts +17 -0
  10. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByTeamId.d.ts +18 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
  12. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationHistoryOutputRepresentation.d.ts +12 -3
  13. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +33 -1
  14. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +13 -1
  15. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationPropertiesOutputRepresentation.d.ts +41 -0
  16. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationRestrictionsOutputRepresentation.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginOutputRepresentation.d.ts +4 -3
  18. package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
  19. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +78 -3
  20. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultOutputRepresentation.d.ts +35 -0
  21. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultsOutputRepresentation.d.ts +33 -0
  22. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +15 -3
  23. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -5
  24. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +4 -1
  25. package/package.json +3 -3
  26. package/sfdc/index.js +5995 -2882
  27. package/src/raml/api.raml +345 -7
  28. package/src/raml/luvio.raml +22 -1
@@ -6,11 +6,13 @@ export declare const adapterName = "getSlackConversation";
6
6
  export declare const getSlackConversation_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getSlackConversation_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetSlackConversationConfig {
9
+ centerMessageTs?: string;
9
10
  channelId?: string;
10
11
  includeView?: boolean;
11
12
  inclusive?: boolean;
12
13
  latestMessageTs?: string;
13
14
  limit?: number;
15
+ noEmojis?: boolean;
14
16
  oldestMessageTs?: string;
15
17
  parentMessageTs?: string;
16
18
  relatedRecordId?: string;
@@ -0,0 +1,29 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId_ResourceRequestConfig } from '../resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId';
4
+ import { SlackBridgeConversationInfoOutputRepresentation as types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, KeyParams as types_SlackBridgeConversationInfoOutputRepresentation_KeyParams } from '../types/SlackBridgeConversationInfoOutputRepresentation';
5
+ export declare const adapterName = "getSlackConversationInfo";
6
+ export declare const getSlackConversationInfo_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getSlackConversationInfo_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetSlackConversationInfoConfig {
9
+ channelId: string;
10
+ teamId: string;
11
+ }
12
+ export declare const createResourceParams: (config: GetSlackConversationInfoConfig) => resources_getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSlackConversationInfoConfig>): adapter$45$utils_Untrusted<GetSlackConversationInfoConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSlackConversationInfoConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig): $64$luvio_engine_Snapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig, resourceParams: resources_getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig, resourceParams: resources_getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfoConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetSlackConversationInfoConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>): $64$luvio_engine_Snapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>;
28
+ export declare const getSlackConversationInfoAdapterFactory: $64$luvio_engine_AdapterFactory<GetSlackConversationInfoConfig, types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
29
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_SlackBridgeConversationInfoOutputRepresentation_KeyParams, any>[]) => void;
@@ -0,0 +1,28 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectSlackbridgeTeamChannelsByTeamId_ResourceRequestConfig } from '../resources/getConnectSlackbridgeTeamChannelsByTeamId';
4
+ import { SlackBridgeConversationInfosOutputRepresentation as types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation } from '../types/SlackBridgeConversationInfosOutputRepresentation';
5
+ export declare const adapterName = "getSlackConversationInfos";
6
+ export declare const getSlackConversationInfos_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getSlackConversationInfos_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetSlackConversationInfosConfig {
9
+ teamId: string;
10
+ channelIds: Array<string>;
11
+ }
12
+ export declare const createResourceParams: (config: GetSlackConversationInfosConfig) => resources_getConnectSlackbridgeTeamChannelsByTeamId_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSlackConversationInfosConfig>): adapter$45$utils_Untrusted<GetSlackConversationInfosConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSlackConversationInfosConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig): $64$luvio_engine_Snapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig, resourceParams: resources_getConnectSlackbridgeTeamChannelsByTeamId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig, resourceParams: resources_getConnectSlackbridgeTeamChannelsByTeamId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackConversationInfosConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetSlackConversationInfosConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>): $64$luvio_engine_Snapshot<types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation, any>;
28
+ export declare const getSlackConversationInfosAdapterFactory: $64$luvio_engine_AdapterFactory<GetSlackConversationInfosConfig, types_SlackBridgeConversationInfosOutputRepresentation_SlackBridgeConversationInfosOutputRepresentation>;
@@ -0,0 +1,29 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectSlackbridgeTeamSearchMpimsByTeamId_ResourceRequestConfig } from '../resources/getConnectSlackbridgeTeamSearchMpimsByTeamId';
4
+ import { SlackBridgeMPIMSearchResultsOutputRepresentation as types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation } from '../types/SlackBridgeMPIMSearchResultsOutputRepresentation';
5
+ export declare const adapterName = "getSlackSearchMPIMs";
6
+ export declare const getSlackSearchMPIMs_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getSlackSearchMPIMs_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetSlackSearchMPIMsConfig {
9
+ teamId: string;
10
+ search?: string;
11
+ useDisplayName?: boolean;
12
+ }
13
+ export declare const createResourceParams: (config: GetSlackSearchMPIMsConfig) => resources_getConnectSlackbridgeTeamSearchMpimsByTeamId_ResourceRequestConfig;
14
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig): string;
15
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSlackSearchMPIMsConfig>): adapter$45$utils_Untrusted<GetSlackSearchMPIMsConfig>;
17
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSlackSearchMPIMsConfig | null;
18
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig): $64$luvio_engine_Fragment;
19
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig): $64$luvio_engine_Snapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>;
20
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig, resourceParams: resources_getConnectSlackbridgeTeamSearchMpimsByTeamId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>>;
21
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig, resourceParams: resources_getConnectSlackbridgeTeamSearchMpimsByTeamId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
22
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackSearchMPIMsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>>;
23
+ export type BuildSnapshotContext = {
24
+ luvio: $64$luvio_engine_Luvio;
25
+ config: GetSlackSearchMPIMsConfig;
26
+ };
27
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>>;
28
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>): $64$luvio_engine_Snapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>;
29
+ export declare const getSlackSearchMPIMsAdapterFactory: $64$luvio_engine_AdapterFactory<GetSlackSearchMPIMsConfig, types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>;
@@ -15,9 +15,12 @@ export { getSlackMessageAdapterFactory } from '../adapters/getSlackMessage';
15
15
  export { patchSlackMessageAdapterFactory } from '../adapters/patchSlackMessage';
16
16
  export { deleteSlackMessageReactionsAdapterFactory } from '../adapters/deleteSlackMessageReactions';
17
17
  export { postSlackMessageReactionsAdapterFactory } from '../adapters/postSlackMessageReactions';
18
+ export { getSlackConversationInfosAdapterFactory } from '../adapters/getSlackConversationInfos';
19
+ export { getSlackConversationInfoAdapterFactory } from '../adapters/getSlackConversationInfo';
18
20
  export { getSlackEmojisAdapterFactory } from '../adapters/getSlackEmojis';
19
21
  export { getSlackEmojiAdapterFactory } from '../adapters/getSlackEmoji';
20
22
  export { getSlackSearchConversationAdapterFactory } from '../adapters/getSlackSearchConversation';
21
23
  export { getSlackSearchEmojiAdapterFactory } from '../adapters/getSlackSearchEmoji';
24
+ export { getSlackSearchMPIMsAdapterFactory } from '../adapters/getSlackSearchMPIMs';
22
25
  export { getSlackSearchUserAdapterFactory } from '../adapters/getSlackSearchUser';
23
26
  export { getSlackUserAdapterFactory } from '../adapters/getSlackUser';
@@ -3,6 +3,9 @@ declare let deleteSlackMessage: any;
3
3
  declare let deleteSlackMessageReactions: any;
4
4
  declare let getRelatedThreads: any;
5
5
  declare let getSlackConversation: any;
6
+ declare let getSlackConversationInfo: any;
7
+ declare let getSlackConversationInfoNotifyChange: any;
8
+ declare let getSlackConversationInfos: any;
6
9
  declare let getSlackConversationMember: any;
7
10
  declare let getSlackConversationMemberNotifyChange: any;
8
11
  declare let getSlackConversationMembers: any;
@@ -17,6 +20,7 @@ declare let getSlackRecordChannelInfo: any;
17
20
  declare let getSlackRecordChannelInfoNotifyChange: any;
18
21
  declare let getSlackSearchConversation: any;
19
22
  declare let getSlackSearchEmoji: any;
23
+ declare let getSlackSearchMPIMs: any;
20
24
  declare let getSlackSearchUser: any;
21
25
  declare let getSlackUser: any;
22
26
  declare let getSlackUserNotifyChange: any;
@@ -29,6 +33,8 @@ declare let postSlackMessageReactions: any;
29
33
  declare let postSlackRecordChannelInfos: any;
30
34
  declare let getRelatedThreads_imperative: any;
31
35
  declare let getSlackConversation_imperative: any;
36
+ declare let getSlackConversationInfo_imperative: any;
37
+ declare let getSlackConversationInfos_imperative: any;
32
38
  declare let getSlackConversationMember_imperative: any;
33
39
  declare let getSlackConversationMembers_imperative: any;
34
40
  declare let getSlackDisplayLogin_imperative: any;
@@ -38,6 +44,7 @@ declare let getSlackMessage_imperative: any;
38
44
  declare let getSlackRecordChannelInfo_imperative: any;
39
45
  declare let getSlackSearchConversation_imperative: any;
40
46
  declare let getSlackSearchEmoji_imperative: any;
47
+ declare let getSlackSearchMPIMs_imperative: any;
41
48
  declare let getSlackSearchUser_imperative: any;
42
49
  declare let getSlackUser_imperative: any;
43
- export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackDisplayLogin, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmojis, getSlackMessage, getSlackMessageNotifyChange, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackSearchConversation, getSlackSearchEmoji, getSlackSearchUser, getSlackUser, getSlackUserNotifyChange, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos, getRelatedThreads_imperative, getSlackConversation_imperative, getSlackConversationMember_imperative, getSlackConversationMembers_imperative, getSlackDisplayLogin_imperative, getSlackEmoji_imperative, getSlackEmojis_imperative, getSlackMessage_imperative, getSlackRecordChannelInfo_imperative, getSlackSearchConversation_imperative, getSlackSearchEmoji_imperative, getSlackSearchUser_imperative, getSlackUser_imperative, };
50
+ export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getSlackConversation, getSlackConversationInfo, getSlackConversationInfoNotifyChange, getSlackConversationInfos, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackDisplayLogin, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmojis, getSlackMessage, getSlackMessageNotifyChange, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackSearchConversation, getSlackSearchEmoji, getSlackSearchMPIMs, getSlackSearchUser, getSlackUser, getSlackUserNotifyChange, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos, getRelatedThreads_imperative, getSlackConversation_imperative, getSlackConversationInfo_imperative, getSlackConversationInfos_imperative, getSlackConversationMember_imperative, getSlackConversationMembers_imperative, getSlackDisplayLogin_imperative, getSlackEmoji_imperative, getSlackEmojis_imperative, getSlackMessage_imperative, getSlackRecordChannelInfo_imperative, getSlackSearchConversation_imperative, getSlackSearchEmoji_imperative, getSlackSearchMPIMs_imperative, getSlackSearchUser_imperative, getSlackUser_imperative, };
@@ -2,11 +2,13 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { SlackBridgeConversationOutputRepresentation as types_SlackBridgeConversationOutputRepresentation_SlackBridgeConversationOutputRepresentation } from '../types/SlackBridgeConversationOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
5
+ centerMessageTs?: string;
5
6
  channelId?: string;
6
7
  includeView?: boolean;
7
8
  inclusive?: boolean;
8
9
  latestMessageTs?: string;
9
10
  limit?: number;
11
+ noEmojis?: boolean;
10
12
  oldestMessageTs?: string;
11
13
  parentMessageTs?: string;
12
14
  relatedRecordId?: string;
@@ -0,0 +1,17 @@
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 { SlackBridgeConversationInfoOutputRepresentation as types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from '../types/SlackBridgeConversationInfoOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ channelId: string;
6
+ teamId: string;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation): void;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation, any>;
14
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
+ export default createResourceRequest;
17
+ export declare function createResourceRequestFromRepresentation(representation: types_SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation): $64$luvio_engine_ResourceRequest;
@@ -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
+ channelIds: Array<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;
@@ -0,0 +1,19 @@
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 { SlackBridgeMPIMSearchResultsOutputRepresentation as types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation } from '../types/SlackBridgeMPIMSearchResultsOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ teamId: string;
6
+ };
7
+ queryParams: {
8
+ search?: string;
9
+ useDisplayName?: boolean;
10
+ };
11
+ }
12
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation): void;
16
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation, any>;
17
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeMPIMSearchResultsOutputRepresentation_SlackBridgeMPIMSearchResultsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
18
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
19
+ export default createResourceRequest;
@@ -1,6 +1,6 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  import { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
3
- export declare const VERSION = "5145ac2c241c561e4baa29b3884748dc";
3
+ export declare const VERSION = "d2e4c202fa58b2b21daa0de3b09fc640";
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: SlackBridgeConversationHistoryOutputRepresentation, existing: SlackBridgeConversationHistoryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationHistoryOutputRepresentationNormalized;
@@ -24,12 +24,18 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
24
24
  * (none)
25
25
  */
26
26
  export interface SlackBridgeConversationHistoryOutputRepresentationNormalized {
27
+ /** Does this conversation have more messages later than the provided center timestamp? */
28
+ centerHasMoreLatest?: boolean | null;
29
+ /** Does this conversation have more messages older than the provided center timestamp? */
30
+ centerHasMoreOldest?: boolean | null;
27
31
  /** Does this conversation have more messages to retrieve? */
28
- hasMore: boolean;
32
+ hasMore: boolean | null;
29
33
  /** List of Slack messages */
30
34
  messages: Array<$64$luvio_engine_StoreLink>;
31
35
  /** Used to paginate to the next page by passing this value as the cursor parameter in a subsequent request */
32
36
  nextCursor: string | null;
37
+ /** Number of messages the current user has not read and did not author */
38
+ unreadCountDisplay?: number | null;
33
39
  }
34
40
  /**
35
41
  * Contains the details of segment of a Slack conversation's history
@@ -38,7 +44,10 @@ export interface SlackBridgeConversationHistoryOutputRepresentationNormalized {
38
44
  * (none)
39
45
  */
40
46
  export interface SlackBridgeConversationHistoryOutputRepresentation {
41
- hasMore: boolean;
47
+ centerHasMoreLatest?: boolean | null;
48
+ centerHasMoreOldest?: boolean | null;
49
+ hasMore: boolean | null;
42
50
  messages: Array<SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation>;
43
51
  nextCursor: string | null;
52
+ unreadCountDisplay?: number | null;
44
53
  }
@@ -1,5 +1,7 @@
1
+ import { SlackBridgeConversationPropertiesOutputRepresentation as SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation } from './SlackBridgeConversationPropertiesOutputRepresentation';
1
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';
2
- export declare const VERSION = "252fe3a6509a770a876e36552ad8dd06";
3
+ export declare const TTL = 900000;
4
+ export declare const VERSION = "898110c1fd3651e7f407ba56cf0ca85a";
3
5
  export declare function validate(obj: any, path?: string): TypeError | null;
4
6
  export declare const RepresentationType: string;
5
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -23,6 +25,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
23
25
  * id (string): id
24
26
  */
25
27
  export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
28
+ /** The conversation host id */
29
+ conversationHostId: string | null;
26
30
  /** Id of the Conversation */
27
31
  id: string;
28
32
  /** Is this conversation archived? */
@@ -31,6 +35,8 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
31
35
  isChannel: boolean | null;
32
36
  /** Is Custom Emoji supported? */
33
37
  isCustomEmojiSupported: boolean | null;
38
+ /** Is this conversation externally shared? */
39
+ isExtShared: boolean | null;
34
40
  /** Is this a group? */
35
41
  isGroup: boolean | null;
36
42
  /** Is this IM? */
@@ -39,18 +45,34 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
39
45
  isMember: boolean | null;
40
46
  /** Is this conversation open? */
41
47
  isOpen: boolean | null;
48
+ /** Is this conversation org shared? */
49
+ isOrgShared: boolean | null;
50
+ /** Is this conversation pending external sharing? */
51
+ isPendingExtShared: boolean | null;
42
52
  /** Is this conversation private? */
43
53
  isPrivate: boolean | null;
44
54
  /** Is this conversation read-only? */
45
55
  isReadOnly: boolean | null;
56
+ /** Is this conversation shared? */
57
+ isShared: boolean | null;
46
58
  /** Is this conversation thread-only? */
47
59
  isThreadOnly: boolean | null;
60
+ /** The timestamp of the last read message of this conversation by the current user */
61
+ lastRead: string | null;
62
+ /** The timestamp of the last message in this conversation */
63
+ latest?: string | null;
48
64
  /** Name of the Conversation */
49
65
  name: string;
50
66
  /** Number of members in the Conversation */
51
67
  numOfMembers: number | null;
68
+ /** The properties of the conversation */
69
+ properties?: SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation | null;
52
70
  /** Should the Custom Emojis be cached? */
53
71
  shouldCacheCustomEmoji: boolean | null;
72
+ /** Number of messages the current user has not read */
73
+ unreadCount?: number | null;
74
+ /** Number of messages the current user has not read and did not author */
75
+ unreadCountDisplay?: number | null;
54
76
  /** The URL to the channel */
55
77
  url?: string;
56
78
  }
@@ -61,19 +83,29 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
61
83
  * id (string): id
62
84
  */
63
85
  export interface SlackBridgeConversationInfoOutputRepresentation {
86
+ conversationHostId: string | null;
64
87
  id: string;
65
88
  isArchived: boolean | null;
66
89
  isChannel: boolean | null;
67
90
  isCustomEmojiSupported: boolean | null;
91
+ isExtShared: boolean | null;
68
92
  isGroup: boolean | null;
69
93
  isIm: boolean | null;
70
94
  isMember: boolean | null;
71
95
  isOpen: boolean | null;
96
+ isOrgShared: boolean | null;
97
+ isPendingExtShared: boolean | null;
72
98
  isPrivate: boolean | null;
73
99
  isReadOnly: boolean | null;
100
+ isShared: boolean | null;
74
101
  isThreadOnly: boolean | null;
102
+ lastRead: string | null;
103
+ latest?: string | null;
75
104
  name: string;
76
105
  numOfMembers: number | null;
106
+ properties?: SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation | null;
77
107
  shouldCacheCustomEmoji: boolean | null;
108
+ unreadCount?: number | null;
109
+ unreadCountDisplay?: number | null;
78
110
  url?: string;
79
111
  }
@@ -1,14 +1,18 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  import { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
3
3
  import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
4
+ import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
4
5
  import { SlackBridgeConversationHistoryOutputRepresentation as SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation } from './SlackBridgeConversationHistoryOutputRepresentation';
5
- export declare const VERSION = "7ec6cbca3e2948ff5ef00e4034f365d5";
6
+ export declare const TTL = 500;
7
+ export declare const VERSION = "1119f2c416d047eefd8303c5a2d590ae";
6
8
  export declare function validate(obj: any, path?: string): TypeError | null;
7
9
  export declare const RepresentationType: string;
8
10
  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
11
  export interface DynamicIngestParams {
10
12
  contextUserInfo: $64$luvio_engine_ResourceIngest;
11
13
  conversationInfo: $64$luvio_engine_ResourceIngest;
14
+ conversationInfos: $64$luvio_engine_ResourceIngest;
15
+ emojis: $64$luvio_engine_ResourceIngest;
12
16
  history: $64$luvio_engine_ResourceIngest;
13
17
  userInfos: $64$luvio_engine_ResourceIngest;
14
18
  }
@@ -17,6 +21,8 @@ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
21
  export interface DynamicSelectParams {
18
22
  contextUserInfo?: $64$luvio_engine_LinkSelection;
19
23
  conversationInfo?: $64$luvio_engine_LinkSelection;
24
+ conversationInfos?: $64$luvio_engine_LinkSelection;
25
+ emojis?: $64$luvio_engine_LinkSelection;
20
26
  history?: $64$luvio_engine_LinkSelection;
21
27
  userInfos?: $64$luvio_engine_LinkSelection;
22
28
  }
@@ -40,6 +46,10 @@ export interface SlackBridgeConversationOutputRepresentationNormalized {
40
46
  contextUserInfo: $64$luvio_engine_StoreLink | null;
41
47
  /** The full information describing this conversation */
42
48
  conversationInfo: $64$luvio_engine_StoreLink | null;
49
+ /** A collection of related conversations */
50
+ conversationInfos: Array<$64$luvio_engine_StoreLink>;
51
+ /** A collection of emojis used in this conversation */
52
+ emojis: Array<$64$luvio_engine_StoreLink>;
43
53
  /** A segment of this conversation's message history, either part of the top-level conversation or a single message's thread of replies */
44
54
  history: $64$luvio_engine_StoreLink;
45
55
  /** The id of the Slack team (Workspace or Enterprise Org) where this conversation exists */
@@ -62,6 +72,8 @@ export interface SlackBridgeConversationOutputRepresentation {
62
72
  channelUrl: string;
63
73
  contextUserInfo: SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation | null;
64
74
  conversationInfo: SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation | null;
75
+ conversationInfos: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
76
+ emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
65
77
  history: SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation;
66
78
  teamId: string;
67
79
  threadTs: string | null;
@@ -0,0 +1,41 @@
1
+ import { SlackBridgeConversationRestrictionsOutputRepresentation as SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation } from './SlackBridgeConversationRestrictionsOutputRepresentation';
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 = "139b4530e5abfb4424ce58620c1e6934";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: SlackBridgeConversationPropertiesOutputRepresentation, existing: SlackBridgeConversationPropertiesOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationPropertiesOutputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: SlackBridgeConversationPropertiesOutputRepresentationNormalized, incoming: SlackBridgeConversationPropertiesOutputRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeConversationPropertiesOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Properties of a conversation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface SlackBridgeConversationPropertiesOutputRepresentationNormalized {
18
+ /** Is @channel restricted */
19
+ atChannelRestricted: boolean | null;
20
+ /** Is @here restricted */
21
+ atHereRestricted: boolean | null;
22
+ /** Are huddles restricted */
23
+ huddlesRestricted: boolean | null;
24
+ /** Posting restrictions */
25
+ postingRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
26
+ /** Thread replying restrictions */
27
+ threadsRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
28
+ }
29
+ /**
30
+ * Properties of a conversation
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface SlackBridgeConversationPropertiesOutputRepresentation {
36
+ atChannelRestricted: boolean | null;
37
+ atHereRestricted: boolean | null;
38
+ huddlesRestricted: boolean | null;
39
+ postingRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
40
+ threadsRestrictedTo: SlackBridgeConversationRestrictionsOutputRepresentation_SlackBridgeConversationRestrictionsOutputRepresentation | null;
41
+ }
@@ -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 = "90163ce3734714c2b87ec91b0ae3ff53";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SlackBridgeConversationRestrictionsOutputRepresentation, existing: SlackBridgeConversationRestrictionsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeConversationRestrictionsOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SlackBridgeConversationRestrictionsOutputRepresentationNormalized, incoming: SlackBridgeConversationRestrictionsOutputRepresentationNormalized): 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: SlackBridgeConversationRestrictionsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Restrictions on a conversation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SlackBridgeConversationRestrictionsOutputRepresentationNormalized {
17
+ /** Types */
18
+ type: Array<string>;
19
+ /** Users */
20
+ user: Array<string>;
21
+ }
22
+ /**
23
+ * Restrictions on a conversation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface SlackBridgeConversationRestrictionsOutputRepresentation {
29
+ type: Array<string>;
30
+ user: Array<string>;
31
+ }
@@ -1,7 +1,7 @@
1
1
  import { SlackBridgeSlackTeamOutputRepresentation as SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation } from './SlackBridgeSlackTeamOutputRepresentation';
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
3
  export declare const TTL = 500;
4
- export declare const VERSION = "b3c7e0b8bc0a4a3745874264601b9082";
4
+ export declare const VERSION = "2b81502c1b0fa62a77f46ca204536b24";
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: SlackBridgeDisplayLoginOutputRepresentation, existing: SlackBridgeDisplayLoginOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeDisplayLoginOutputRepresentationNormalized;
@@ -18,7 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  export interface SlackBridgeDisplayLoginOutputRepresentationNormalized {
19
19
  /** Salesforce Org Id */
20
20
  orgId: string;
21
- slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation;
21
+ /** Slack Team Info */
22
+ slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation | null;
22
23
  }
23
24
  /**
24
25
  * Contains Salesforce Org info and Slack Team info
@@ -28,5 +29,5 @@ export interface SlackBridgeDisplayLoginOutputRepresentationNormalized {
28
29
  */
29
30
  export interface SlackBridgeDisplayLoginOutputRepresentation {
30
31
  orgId: string;
31
- slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation;
32
+ slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation | null;
32
33
  }
@@ -0,0 +1,43 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "d8f70047b26b82f280d95ae8abe94157";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SlackBridgeEnterpriseUserInfoOutputRepresentation, existing: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized, incoming: SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeEnterpriseUserInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Contains the details of Slack Enterprise User object
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SlackBridgeEnterpriseUserInfoOutputRepresentationNormalized {
17
+ /** Enterprise org id */
18
+ enterpriseId: string;
19
+ /** Enterprise org name */
20
+ enterpriseName: string;
21
+ /** Slack User id */
22
+ id: string;
23
+ /** Is Slack User an admin? */
24
+ isAdmin: boolean;
25
+ /** Is Slack User an owner? */
26
+ isOwner: boolean;
27
+ /** Is Slack User aa primary owner? */
28
+ isPrimaryOwner: boolean;
29
+ }
30
+ /**
31
+ * Contains the details of Slack Enterprise User object
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface SlackBridgeEnterpriseUserInfoOutputRepresentation {
37
+ enterpriseId: string;
38
+ enterpriseName: string;
39
+ id: string;
40
+ isAdmin: boolean;
41
+ isOwner: boolean;
42
+ isPrimaryOwner: boolean;
43
+ }