@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev2 → 1.380.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.
@@ -1,7 +1,7 @@
1
1
  import { SlackBridgeConversationPropertiesOutputRepresentation as SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation } from './SlackBridgeConversationPropertiesOutputRepresentation';
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
3
  export declare const TTL = 900000;
4
- export declare const VERSION = "898110c1fd3651e7f407ba56cf0ca85a";
4
+ export declare const VERSION = "a35df81fd20149aae615a01f742cece5";
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 {
@@ -43,6 +43,8 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
43
43
  isIm: boolean | null;
44
44
  /** Is the context User a member of this Conversation? */
45
45
  isMember: boolean | null;
46
+ /** Is this MPDM? */
47
+ isMpim?: boolean | null;
46
48
  /** Is this conversation open? */
47
49
  isOpen: boolean | null;
48
50
  /** Is this conversation org shared? */
@@ -62,7 +64,7 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
62
64
  /** The timestamp of the last message in this conversation */
63
65
  latest?: string | null;
64
66
  /** Name of the Conversation */
65
- name: string;
67
+ name: string | null;
66
68
  /** Number of members in the Conversation */
67
69
  numOfMembers: number | null;
68
70
  /** The properties of the conversation */
@@ -75,6 +77,8 @@ export interface SlackBridgeConversationInfoOutputRepresentationNormalized {
75
77
  unreadCountDisplay?: number | null;
76
78
  /** The URL to the channel */
77
79
  url?: string;
80
+ /** Id of user participating in a DM */
81
+ user?: string | null;
78
82
  }
79
83
  /**
80
84
  * Contains the conversation info
@@ -92,6 +96,7 @@ export interface SlackBridgeConversationInfoOutputRepresentation {
92
96
  isGroup: boolean | null;
93
97
  isIm: boolean | null;
94
98
  isMember: boolean | null;
99
+ isMpim?: boolean | null;
95
100
  isOpen: boolean | null;
96
101
  isOrgShared: boolean | null;
97
102
  isPendingExtShared: boolean | null;
@@ -101,11 +106,12 @@ export interface SlackBridgeConversationInfoOutputRepresentation {
101
106
  isThreadOnly: boolean | null;
102
107
  lastRead: string | null;
103
108
  latest?: string | null;
104
- name: string;
109
+ name: string | null;
105
110
  numOfMembers: number | null;
106
111
  properties?: SlackBridgeConversationPropertiesOutputRepresentation_SlackBridgeConversationPropertiesOutputRepresentation | null;
107
112
  shouldCacheCustomEmoji: boolean | null;
108
113
  unreadCount?: number | null;
109
114
  unreadCountDisplay?: number | null;
110
115
  url?: string;
116
+ user?: string | null;
111
117
  }
@@ -1,7 +1,8 @@
1
1
  import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
2
+ import { SlackBridgeRoomOutputRepresentation as SlackBridgeRoomOutputRepresentation_SlackBridgeRoomOutputRepresentation } from './SlackBridgeRoomOutputRepresentation';
2
3
  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
4
  import { SlackBridgeFileOutputRepresentation as SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation } from './SlackBridgeFileOutputRepresentation';
4
- export declare const VERSION = "57fae23c7ffb8f67218b25919d2c8e3c";
5
+ export declare const VERSION = "cc3b0409eeb9f8a45956130e18c9be91";
5
6
  export declare function validate(obj: any, path?: string): TypeError | null;
6
7
  export declare const RepresentationType: string;
7
8
  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;
@@ -63,6 +64,7 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
63
64
  replyUsers: Array<string>;
64
65
  /** Number of users who replied to this message */
65
66
  replyUsersCount: number | null;
67
+ room?: SlackBridgeRoomOutputRepresentation_SlackBridgeRoomOutputRepresentation | null;
66
68
  /** Details of the Slack User who invited the user described by slackUserId */
67
69
  slackInviterId: string | null;
68
70
  /** Details of the Slack User who posted this message */
@@ -106,6 +108,7 @@ export interface SlackBridgeMessageOutputRepresentation {
106
108
  replyCount: number | null;
107
109
  replyUsers: Array<string>;
108
110
  replyUsersCount: number | null;
111
+ room?: SlackBridgeRoomOutputRepresentation_SlackBridgeRoomOutputRepresentation | null;
109
112
  slackInviterId: string | null;
110
113
  slackUserId: string | null;
111
114
  subtype: string | null;
@@ -0,0 +1,46 @@
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 = "183fbca7ad14ab038244ff7883618c72";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SlackBridgeRoomOutputRepresentation, existing: SlackBridgeRoomOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRoomOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SlackBridgeRoomOutputRepresentationNormalized, incoming: SlackBridgeRoomOutputRepresentationNormalized): 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: SlackBridgeRoomOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Contains the details of Slack room (huddle)
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SlackBridgeRoomOutputRepresentationNormalized {
17
+ /** Ending date of the huddle */
18
+ dateEnd: number | null;
19
+ /** Starting date of the huddle */
20
+ dateStart: number;
21
+ /** Whether the huddle has ended */
22
+ hasEnded: boolean;
23
+ /** Link to join the huddle in Slack */
24
+ huddleLink: string;
25
+ /** Id of the room (huddle) */
26
+ id: string;
27
+ /** List of all participants who have joined */
28
+ participantHistory: Array<string>;
29
+ /** List of current participants */
30
+ participants: Array<string>;
31
+ }
32
+ /**
33
+ * Contains the details of Slack room (huddle)
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface SlackBridgeRoomOutputRepresentation {
39
+ dateEnd: number | null;
40
+ dateStart: number;
41
+ hasEnded: boolean;
42
+ huddleLink: string;
43
+ id: string;
44
+ participantHistory: Array<string>;
45
+ participants: Array<string>;
46
+ }
@@ -2,7 +2,7 @@ import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpr
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
3
  import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
4
4
  export declare const TTL = 900000;
5
- export declare const VERSION = "e028e881472367bb6b51398f0ceca161";
5
+ export declare const VERSION = "340b283b62f8c3f917012a6c8e120727";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -37,18 +37,22 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
37
37
  export interface SlackBridgeUserInfoOutputRepresentationNormalized {
38
38
  /** Is this a Bot User? */
39
39
  bot: boolean;
40
+ /** Is this Slack User deleted? */
41
+ deleted?: boolean | null;
40
42
  /** Display Name of the Slack User */
41
43
  displayName: string | null;
42
44
  /** Email of the Slack User */
43
45
  email: string | null;
44
46
  /** The enterprise user mapping */
45
47
  enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
48
+ /** Huddle state of the Slack User, i.e., in_a_huddle, default_unset */
49
+ huddleState?: string | null;
50
+ /** Huddle state expiration timestamp */
51
+ huddleStateExpirationTs?: number | null;
46
52
  /** 24x24 version of the Slack User image */
47
53
  image24?: string | null;
48
54
  /** Original version of the Slack User image */
49
55
  imageOriginal: string | null;
50
- /** Is this Slack User currently in a Huddle? */
51
- inHuddle: boolean | null;
52
56
  /** Is this Slack User currently active? */
53
57
  isActive: boolean | null;
54
58
  /** Is Slack User an admin? */
@@ -100,12 +104,14 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
100
104
  */
101
105
  export interface SlackBridgeUserInfoOutputRepresentation {
102
106
  bot: boolean;
107
+ deleted?: boolean | null;
103
108
  displayName: string | null;
104
109
  email: string | null;
105
110
  enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
111
+ huddleState?: string | null;
112
+ huddleStateExpirationTs?: number | null;
106
113
  image24?: string | null;
107
114
  imageOriginal: string | null;
108
- inHuddle: boolean | null;
109
115
  isActive: boolean | null;
110
116
  isAdmin: boolean;
111
117
  isAgentforceBot?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-slack-bridge",
3
- "version": "1.380.0-dev2",
3
+ "version": "1.380.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.380.0-dev2"
43
+ "@salesforce/lds-bindings": "^1.380.0-dev20"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev20"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {