@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.
Files changed (53) hide show
  1. package/dist/es/es2018/platform-slack-bridge.js +5128 -2176
  2. package/dist/es/es2018/types/src/generated/adapters/deleteSlackConversationMember.d.ts +16 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMember.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSlackConversationMembers.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getSlackEmoji.d.ts +29 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getSlackEmojis.d.ts +28 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getSlackRecordChannelInfo.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchConversation.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchUser.d.ts +3 -0
  11. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -0
  12. package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMembers.d.ts +17 -0
  13. package/dist/es/es2018/types/src/generated/adapters/postSlackRecordChannelInfos.d.ts +18 -0
  14. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +11 -1
  15. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +23 -3
  16. package/dist/es/es2018/types/src/generated/resources/deleteConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +14 -0
  17. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRecord_channelsByRelatedRecordId.d.ts +16 -0
  18. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndSlackUserIdAndTeamId.d.ts +18 -0
  20. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +17 -0
  21. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisBySlackEmojiIdAndTeamId.d.ts +17 -0
  22. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamEmojisByTeamId.d.ts +7 -4
  23. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchConversationsByTeamId.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchUsersByTeamId.d.ts +3 -0
  25. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeRecord_channels.d.ts +15 -0
  26. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMembersByChannelIdAndTeamId.d.ts +16 -0
  28. package/dist/es/es2018/types/src/generated/types/SlackBridgeContentVersionOutputRepresentation.d.ts +6 -5
  29. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +34 -22
  30. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfosOutputRepresentation.d.ts +14 -5
  31. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInputRepresentation.d.ts +31 -0
  32. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
  33. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMemberOutputRepresentation.d.ts +40 -0
  34. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersInputRepresentation.d.ts +28 -0
  35. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMembersOutputRepresentation.d.ts +43 -0
  36. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +5 -3
  37. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiOutputRepresentation.d.ts +33 -19
  38. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojiValueOutputRepresentation.d.ts +34 -0
  39. package/dist/es/es2018/types/src/generated/types/SlackBridgeEmojisOutputRepresentation.d.ts +14 -8
  40. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +14 -14
  41. package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +24 -7
  42. package/dist/es/es2018/types/src/generated/types/SlackBridgeReactionOutputRepresentation.d.ts +3 -3
  43. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoInputRepresentation.d.ts +36 -0
  44. package/dist/es/es2018/types/src/generated/types/SlackBridgeRecordChannelInfoOutputRepresentation.d.ts +53 -0
  45. package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +45 -0
  46. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +33 -12
  47. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +3 -3
  48. package/package.json +3 -3
  49. package/sfdc/index.js +5564 -2379
  50. package/src/raml/api.raml +469 -137
  51. package/src/raml/luvio.raml +102 -26
  52. package/dist/es/es2018/types/src/generated/adapters/getSlackCustomEmoji.d.ts +0 -27
  53. package/dist/es/es2018/types/src/generated/types/SlackBridgeCustomEmojisOutputRepresentation.d.ts +0 -35
@@ -1,32 +1,38 @@
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 { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
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 = "071d815d304929393ef8cec1c66123dd";
3
+ export declare const VERSION = "da7e3ba240e3ef2a2a6ee0e913ef280c";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SlackBridgeEmojisOutputRepresentation, existing: SlackBridgeEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeEmojisOutputRepresentationNormalized;
7
+ export interface DynamicIngestParams {
8
+ emojis: $64$luvio_engine_ResourceIngest;
9
+ }
10
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeEmojisOutputRepresentation, existing: SlackBridgeEmojisOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeEmojisOutputRepresentationNormalized;
7
11
  export declare const select: () => $64$luvio_engine_FragmentSelection;
12
+ export interface DynamicSelectParams {
13
+ emojis?: $64$luvio_engine_LinkSelection;
14
+ }
15
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
8
16
  export declare function equals(existing: SlackBridgeEmojisOutputRepresentationNormalized, incoming: SlackBridgeEmojisOutputRepresentationNormalized): 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: SlackBridgeEmojisOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
11
20
  /**
12
- * Contains the list of Slack Emoji
21
+ * Contains the list of Slack Emojis
13
22
  *
14
23
  * Keys:
15
24
  * (none)
16
25
  */
17
26
  export interface SlackBridgeEmojisOutputRepresentationNormalized {
18
27
  /** List of Slack Emoji */
19
- emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
20
- /** String used to search this list of conversations (Optional) */
21
- searchString: string;
28
+ emojis: Array<$64$luvio_engine_StoreLink>;
22
29
  }
23
30
  /**
24
- * Contains the list of Slack Emoji
31
+ * Contains the list of Slack Emojis
25
32
  *
26
33
  * Keys:
27
34
  * (none)
28
35
  */
29
36
  export interface SlackBridgeEmojisOutputRepresentation {
30
37
  emojis: Array<SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation>;
31
- searchString: string;
32
38
  }
@@ -1,10 +1,10 @@
1
1
  import { SlackBridgeContentDocumentOutputRepresentation as SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation } from './SlackBridgeContentDocumentOutputRepresentation';
2
2
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "3f1a7f34ee73f6a8d9677314d88bad78";
3
+ export declare const VERSION = "15fa7211c500ebba9537b3c9921b39cf";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
- uniqueKey: string;
7
+ uniqueKey: string | null;
8
8
  }
9
9
  export type SlackBridgeFileOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
10
  export type PartialSlackBridgeFileOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
@@ -21,11 +21,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
21
21
  * Contains the details of files attached to the Slack Message
22
22
  *
23
23
  * Keys:
24
- * uniqueKey (string): uniqueKey
24
+ * uniqueKey (string | null): uniqueKey
25
25
  */
26
26
  export interface SlackBridgeFileOutputRepresentationNormalized {
27
27
  /** Content Document data */
28
- contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
28
+ contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
29
29
  /** Type of the File */
30
30
  filetype: string;
31
31
  /** Slack Id of the File */
@@ -35,34 +35,34 @@ export interface SlackBridgeFileOutputRepresentationNormalized {
35
35
  /** Name of the File */
36
36
  name: string;
37
37
  /** Size of the File */
38
- size: number;
38
+ size: number | null;
39
39
  /** Slack Permalink for the File */
40
40
  slackPermalink: string;
41
41
  /** Title of the File */
42
42
  title: string;
43
43
  /** Token used for the File */
44
- token: string;
44
+ token: string | null;
45
45
  /** Unique Key for the File */
46
- uniqueKey: string;
46
+ uniqueKey: string | null;
47
47
  /** Slack web URL for the File */
48
- url: string;
48
+ url: string | null;
49
49
  }
50
50
  /**
51
51
  * Contains the details of files attached to the Slack Message
52
52
  *
53
53
  * Keys:
54
- * uniqueKey (string): uniqueKey
54
+ * uniqueKey (string | null): uniqueKey
55
55
  */
56
56
  export interface SlackBridgeFileOutputRepresentation {
57
- contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation;
57
+ contentDocument: SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation | null;
58
58
  filetype: string;
59
59
  id: string;
60
60
  mimetype: string;
61
61
  name: string;
62
- size: number;
62
+ size: number | null;
63
63
  slackPermalink: string;
64
64
  title: string;
65
- token: string;
66
- uniqueKey: string;
67
- url: string;
65
+ token: string | null;
66
+ uniqueKey: string | null;
67
+ url: string | null;
68
68
  }
@@ -1,7 +1,7 @@
1
1
  import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
3
  import { SlackBridgeFileOutputRepresentation as SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation } from './SlackBridgeFileOutputRepresentation';
4
- export declare const VERSION = "2685fcb652b41bdb9cb71cc45d73e44b";
4
+ export declare const VERSION = "e44783fc9e817e6accf3f3d286c3f0fe";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: SlackBridgeMessageOutputRepresentation, existing: SlackBridgeMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMessageOutputRepresentationNormalized;
@@ -25,16 +25,26 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
25
25
  * (none)
26
26
  */
27
27
  export interface SlackBridgeMessageOutputRepresentationNormalized {
28
+ /** Message attachments */
29
+ attachments: Array<{
30
+ [key: string]: unknown;
31
+ }>;
32
+ /** Message blocks */
33
+ blocks: Array<{
34
+ [key: string]: unknown;
35
+ }>;
36
+ /** Id of the Channel to which this message belong to */
37
+ channelId: string | null;
28
38
  /** List of files attached to this message */
29
39
  files: Array<$64$luvio_engine_StoreLink>;
30
40
  /** Does this message includes Custom emoji? */
31
41
  includesCustomEmoji: boolean | null;
32
42
  /** Is this a reply also sent to the Channel? */
33
- isBroadcast: boolean;
43
+ isBroadcast: boolean | null;
34
44
  /** Can this message be edited? */
35
45
  isEditable: boolean;
36
46
  /** Is this an edited message? */
37
- isEdited: boolean;
47
+ isEdited: boolean | null;
38
48
  /** Latest Reply timestamp */
39
49
  latestReplyTimestamp: string | null;
40
50
  /** Content of the Message */
@@ -56,7 +66,7 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
56
66
  /** Timestamp of the thread to which this message belong to */
57
67
  threadTs: string | null;
58
68
  /** Type of Message */
59
- type: string;
69
+ type: string | null;
60
70
  /** Url for this message */
61
71
  url: string;
62
72
  }
@@ -67,11 +77,18 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
67
77
  * (none)
68
78
  */
69
79
  export interface SlackBridgeMessageOutputRepresentation {
80
+ attachments: Array<{
81
+ [key: string]: unknown;
82
+ }>;
83
+ blocks: Array<{
84
+ [key: string]: unknown;
85
+ }>;
86
+ channelId: string | null;
70
87
  files: Array<SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation>;
71
88
  includesCustomEmoji: boolean | null;
72
- isBroadcast: boolean;
89
+ isBroadcast: boolean | null;
73
90
  isEditable: boolean;
74
- isEdited: boolean;
91
+ isEdited: boolean | null;
75
92
  latestReplyTimestamp: string | null;
76
93
  message: string;
77
94
  messageTs: string;
@@ -82,6 +99,6 @@ export interface SlackBridgeMessageOutputRepresentation {
82
99
  slackUserId: string;
83
100
  subtype: string | null;
84
101
  threadTs: string | null;
85
- type: string;
102
+ type: string | null;
86
103
  url: string;
87
104
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "c7dec6b60c7d567a7835fbdd84d3e67e";
2
+ export declare const VERSION = "7820a930852347bb0506c08d8b528281";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SlackBridgeReactionOutputRepresentation, existing: SlackBridgeReactionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeReactionOutputRepresentationNormalized;
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface SlackBridgeReactionOutputRepresentationNormalized {
17
17
  /** Number of reactions */
18
- count: number;
18
+ count: number | null;
19
19
  /** Name of the reaction */
20
20
  name: string;
21
21
  /** Slack user ids of users who made this reaction */
@@ -30,7 +30,7 @@ export interface SlackBridgeReactionOutputRepresentationNormalized {
30
30
  * (none)
31
31
  */
32
32
  export interface SlackBridgeReactionOutputRepresentation {
33
- count: number;
33
+ count: number | null;
34
34
  name: string;
35
35
  reactedUsers: Array<string>;
36
36
  url: string | null;
@@ -0,0 +1,36 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "3c1954c22e6a059a8a8b62224d337ff4";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SlackBridgeRecordChannelInfoInputRepresentation, existing: SlackBridgeRecordChannelInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRecordChannelInfoInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SlackBridgeRecordChannelInfoInputRepresentationNormalized, incoming: SlackBridgeRecordChannelInfoInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeRecordChannelInfoInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of a Slack record channel
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SlackBridgeRecordChannelInfoInputRepresentationNormalized {
17
+ /** The conversation info associated with the record */
18
+ conversationInfo: {
19
+ /** Is this conversation private? */
20
+ isPrivate: boolean;
21
+ };
22
+ /** The ID of the Salesforce record associated with the conversation */
23
+ relatedRecordId: string;
24
+ }
25
+ /**
26
+ * Representation of a Slack record channel
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface SlackBridgeRecordChannelInfoInputRepresentation {
32
+ conversationInfo: {
33
+ isPrivate: boolean;
34
+ };
35
+ relatedRecordId: string;
36
+ }
@@ -0,0 +1,53 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
3
+ export declare const VERSION = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ relatedRecordId: string;
8
+ }
9
+ export type SlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialSlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SlackBridgeRecordChannelInfoOutputRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeRecordChannelInfoOutputRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeRecordChannelInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: SlackBridgeRecordChannelInfoOutputRepresentation, existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRecordChannelInfoOutputRepresentationNormalized;
16
+ export interface DynamicIngestParams {
17
+ conversationInfo: $64$luvio_engine_ResourceIngest;
18
+ }
19
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeRecordChannelInfoOutputRepresentation, existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeRecordChannelInfoOutputRepresentationNormalized;
20
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
21
+ export interface DynamicSelectParams {
22
+ conversationInfo?: $64$luvio_engine_LinkSelection;
23
+ }
24
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
25
+ export declare function equals(existing: SlackBridgeRecordChannelInfoOutputRepresentationNormalized, incoming: SlackBridgeRecordChannelInfoOutputRepresentationNormalized): boolean;
26
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
27
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeRecordChannelInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
28
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
29
+ /**
30
+ * Representation of a Slack record channel
31
+ *
32
+ * Keys:
33
+ * relatedRecordId (string): relatedRecordId
34
+ */
35
+ export interface SlackBridgeRecordChannelInfoOutputRepresentationNormalized {
36
+ /** The conversation info associated with the record */
37
+ conversationInfo: $64$luvio_engine_StoreLink;
38
+ /** The ID of the Salesforce record associated with the conversation */
39
+ relatedRecordId: string;
40
+ /** The Slack ID of the Slack team */
41
+ teamId: string;
42
+ }
43
+ /**
44
+ * Representation of a Slack record channel
45
+ *
46
+ * Keys:
47
+ * relatedRecordId (string): relatedRecordId
48
+ */
49
+ export interface SlackBridgeRecordChannelInfoOutputRepresentation {
50
+ conversationInfo: SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation;
51
+ relatedRecordId: string;
52
+ teamId: string;
53
+ }
@@ -0,0 +1,45 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
3
+ import { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
4
+ export declare const TTL = 500;
5
+ export declare const VERSION = "192b0be748476888c3d3587558207214";
6
+ export declare function validate(obj: any, path?: string): TypeError | null;
7
+ export declare const RepresentationType: string;
8
+ export declare function normalize(input: SlackBridgeRelatedThreadsOutputRepresentation, existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRelatedThreadsOutputRepresentationNormalized;
9
+ export interface DynamicIngestParams {
10
+ conversations: $64$luvio_engine_ResourceIngest;
11
+ messages: $64$luvio_engine_ResourceIngest;
12
+ }
13
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeRelatedThreadsOutputRepresentation, existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeRelatedThreadsOutputRepresentationNormalized;
14
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
15
+ export interface DynamicSelectParams {
16
+ conversations?: $64$luvio_engine_LinkSelection;
17
+ messages?: $64$luvio_engine_LinkSelection;
18
+ }
19
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
20
+ export declare function equals(existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, incoming: SlackBridgeRelatedThreadsOutputRepresentationNormalized): boolean;
21
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
22
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeRelatedThreadsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
23
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
24
+ /**
25
+ * Contains the Slack Related Threads
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SlackBridgeRelatedThreadsOutputRepresentationNormalized {
31
+ /** List of Slack conversation information */
32
+ conversations: Array<$64$luvio_engine_StoreLink>;
33
+ /** List of Slack messages */
34
+ messages: Array<$64$luvio_engine_StoreLink>;
35
+ }
36
+ /**
37
+ * Contains the Slack Related Threads
38
+ *
39
+ * Keys:
40
+ * (none)
41
+ */
42
+ export interface SlackBridgeRelatedThreadsOutputRepresentation {
43
+ conversations: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
44
+ messages: Array<SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation>;
45
+ }
@@ -1,7 +1,7 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
1
2
  import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
2
- import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const TTL = 300000;
4
- export declare const VERSION = "1c89c1c8379c0e55b8f94fecd03d8775";
3
+ export declare const TTL = 600000;
4
+ export declare const VERSION = "ffc32ae0451b10824fba0c96aa0d2115";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -15,10 +15,19 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
15
15
  export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SlackBridgeUserInfoOutputRepresentation): string;
16
16
  export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SlackBridgeUserInfoOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
17
17
  export declare function normalize(input: SlackBridgeUserInfoOutputRepresentation, existing: SlackBridgeUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUserInfoOutputRepresentationNormalized;
18
+ export interface DynamicIngestParams {
19
+ statusEmoji: $64$luvio_engine_ResourceIngest;
20
+ }
21
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeUserInfoOutputRepresentation, existing: SlackBridgeUserInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeUserInfoOutputRepresentationNormalized;
18
22
  export declare const select: () => $64$luvio_engine_FragmentSelection;
23
+ export interface DynamicSelectParams {
24
+ statusEmoji?: $64$luvio_engine_LinkSelection;
25
+ }
26
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
19
27
  export declare function equals(existing: SlackBridgeUserInfoOutputRepresentationNormalized, incoming: SlackBridgeUserInfoOutputRepresentationNormalized): boolean;
20
28
  export declare const ingest: $64$luvio_engine_ResourceIngest;
21
29
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeUserInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
30
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
22
31
  /**
23
32
  * Contains the details of Slack User
24
33
  *
@@ -30,9 +39,11 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
30
39
  /** Is this a Bot User? */
31
40
  bot: boolean;
32
41
  /** Display Name of the Slack User */
33
- displayName: string;
42
+ displayName: string | null;
43
+ /** Email of the Slack User */
44
+ email: string | null;
34
45
  /** 24x24 version of the Slack User image */
35
- image24: string;
46
+ image24?: string | null;
36
47
  /** Original version of the Slack User image */
37
48
  imageOriginal: string | null;
38
49
  /** Is this Slack User currently in a Huddle? */
@@ -41,22 +52,28 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
41
52
  isActive: boolean | null;
42
53
  /** Is Slack User external? */
43
54
  isExternal: boolean | null;
55
+ /** Is this a Workflow Bot? */
56
+ isWorkflowBot?: boolean;
44
57
  /** Name of the Slack User */
45
58
  name: string;
59
+ /** Profile image used for this Slack user */
60
+ profileImage?: string | null;
46
61
  /** User Profile url */
47
62
  profileUrl: string | null;
48
63
  /** Real Name of the Slack User */
49
- realName: string;
64
+ realName: string | null;
50
65
  /** Id of the related Salesforce User mapped to the Slack User */
51
66
  salesforceUserId: string | null;
52
67
  /** Id of the Slack User */
53
68
  slackUserId: string;
54
69
  /** Status emoji of the Slack User */
55
- statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
70
+ statusEmoji: $64$luvio_engine_StoreLink | null;
56
71
  /** Status message of the Slack User */
57
- statusMessage: string;
72
+ statusMessage: string | null;
58
73
  /** Slack Workspace Id */
59
74
  teamId: string;
75
+ /** Title of the Slack User */
76
+ title: string | null;
60
77
  }
61
78
  /**
62
79
  * Contains the details of Slack User
@@ -67,18 +84,22 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
67
84
  */
68
85
  export interface SlackBridgeUserInfoOutputRepresentation {
69
86
  bot: boolean;
70
- displayName: string;
71
- image24: string;
87
+ displayName: string | null;
88
+ email: string | null;
89
+ image24?: string | null;
72
90
  imageOriginal: string | null;
73
91
  inHuddle: boolean | null;
74
92
  isActive: boolean | null;
75
93
  isExternal: boolean | null;
94
+ isWorkflowBot?: boolean;
76
95
  name: string;
96
+ profileImage?: string | null;
77
97
  profileUrl: string | null;
78
- realName: string;
98
+ realName: string | null;
79
99
  salesforceUserId: string | null;
80
100
  slackUserId: string;
81
101
  statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
82
- statusMessage: string;
102
+ statusMessage: string | null;
83
103
  teamId: string;
104
+ title: string | null;
84
105
  }
@@ -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 { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
3
- export declare const VERSION = "a34bf4d8d78f6cfc1c3ff193ce06f673";
3
+ export declare const VERSION = "058d708f5533e6123e368a3722311412";
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: SlackBridgeUserInfosOutputRepresentation, existing: SlackBridgeUserInfosOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUserInfosOutputRepresentationNormalized;
@@ -25,7 +25,7 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
25
25
  */
26
26
  export interface SlackBridgeUserInfosOutputRepresentationNormalized {
27
27
  /** String used to search this list of conversations (Optional) */
28
- searchString: string;
28
+ searchString: string | null;
29
29
  /** List of Slack User Information */
30
30
  userInfos: Array<$64$luvio_engine_StoreLink>;
31
31
  }
@@ -36,6 +36,6 @@ export interface SlackBridgeUserInfosOutputRepresentationNormalized {
36
36
  * (none)
37
37
  */
38
38
  export interface SlackBridgeUserInfosOutputRepresentation {
39
- searchString: string;
39
+ searchString: string | null;
40
40
  userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-slack-bridge",
3
- "version": "1.332.0-dev2",
3
+ "version": "1.332.0-dev20",
4
4
  "description": "API for bridging over to Slack from Salesforce Core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-slack-bridge.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.332.0-dev2"
43
+ "@salesforce/lds-bindings": "^1.332.0-dev20"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.332.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.332.0-dev20"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {