@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev13 → 1.380.0-dev15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/platform-slack-bridge.js +257 -84
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRoomOutputRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +244 -71
- package/src/raml/api.raml +27 -0
package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
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,40 @@
|
|
|
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 = "488003a3c8d2f6eea2dab88ab8abf74a";
|
|
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
|
+
/** Whether the huddle has ended */
|
|
18
|
+
hasEnded: boolean;
|
|
19
|
+
/** Link to join the huddle in Slack */
|
|
20
|
+
huddleLink: string;
|
|
21
|
+
/** Id of the room (huddle) */
|
|
22
|
+
id: string;
|
|
23
|
+
/** List of all participants who have joined */
|
|
24
|
+
participantHistory: Array<string>;
|
|
25
|
+
/** List of current participants */
|
|
26
|
+
participants: Array<string>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Contains the details of Slack room (huddle)
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface SlackBridgeRoomOutputRepresentation {
|
|
35
|
+
hasEnded: boolean;
|
|
36
|
+
huddleLink: string;
|
|
37
|
+
id: string;
|
|
38
|
+
participantHistory: Array<string>;
|
|
39
|
+
participants: Array<string>;
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-slack-bridge",
|
|
3
|
-
"version": "1.380.0-
|
|
3
|
+
"version": "1.380.0-dev15",
|
|
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-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.380.0-dev15"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.380.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.380.0-dev15"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|