@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev1 → 1.354.0-dev11
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 +3099 -896
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSlackConversationInfos.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByChannelIdAndTeamId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamChannelsByTeamId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +24 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +12 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationPropertiesOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationRestrictionsOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginOutputRepresentation.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +78 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +32 -10
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +4879 -2610
- package/src/raml/api.raml +241 -6
- package/src/raml/luvio.raml +12 -3
package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation } from './SlackBridgeEnterpriseUserInfoOutputRepresentation';
|
|
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, 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
3
|
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
3
|
-
export declare const TTL =
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const TTL = 900000;
|
|
5
|
+
export declare const VERSION = "bcaac31b87fd56b593eac50b497f7c53";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
7
|
export declare const RepresentationType: string;
|
|
7
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
-
teamId: string;
|
|
9
9
|
slackUserId: string;
|
|
10
10
|
}
|
|
11
11
|
export type SlackBridgeUserInfoOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -32,7 +32,6 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
32
32
|
* Contains the details of Slack User
|
|
33
33
|
*
|
|
34
34
|
* Keys:
|
|
35
|
-
* teamId (string): teamId
|
|
36
35
|
* slackUserId (string): slackUserId
|
|
37
36
|
*/
|
|
38
37
|
export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
@@ -42,6 +41,8 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
42
41
|
displayName: string | null;
|
|
43
42
|
/** Email of the Slack User */
|
|
44
43
|
email: string | null;
|
|
44
|
+
/** The enterprise user mapping */
|
|
45
|
+
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
45
46
|
/** 24x24 version of the Slack User image */
|
|
46
47
|
image24?: string | null;
|
|
47
48
|
/** Original version of the Slack User image */
|
|
@@ -50,10 +51,20 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
50
51
|
inHuddle: boolean | null;
|
|
51
52
|
/** Is this Slack User currently active? */
|
|
52
53
|
isActive: boolean | null;
|
|
54
|
+
/** Is Slack User an admin? */
|
|
55
|
+
isAdmin: boolean;
|
|
53
56
|
/** Is Slack User external? */
|
|
54
57
|
isExternal: boolean | null;
|
|
55
|
-
/** Is
|
|
56
|
-
|
|
58
|
+
/** Is Slack User an owner? */
|
|
59
|
+
isOwner: boolean;
|
|
60
|
+
/** Is Slack User aa primary owner? */
|
|
61
|
+
isPrimaryOwner: boolean;
|
|
62
|
+
/** Is Slack User restricted? */
|
|
63
|
+
isRestricted: boolean;
|
|
64
|
+
/** Is Slack User ultra restricted? */
|
|
65
|
+
isUltraRestricted: boolean;
|
|
66
|
+
/** Is Slack User a workflow bot? */
|
|
67
|
+
isWorkflowBot: boolean;
|
|
57
68
|
/** Name of the Slack User */
|
|
58
69
|
name: string;
|
|
59
70
|
/** Profile image used for this Slack user */
|
|
@@ -71,27 +82,36 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
71
82
|
/** Status message of the Slack User */
|
|
72
83
|
statusMessage: string | null;
|
|
73
84
|
/** Slack Workspace Id */
|
|
74
|
-
teamId: string;
|
|
85
|
+
teamId: string | null;
|
|
75
86
|
/** Title of the Slack User */
|
|
76
87
|
title: string | null;
|
|
88
|
+
/** Time zone of the Slack user, ie. America/New_York */
|
|
89
|
+
tz?: string | null;
|
|
90
|
+
/** Time zone label of the Slack user, ie. Eastern Daylight Time */
|
|
91
|
+
tzLabel?: string | null;
|
|
77
92
|
}
|
|
78
93
|
/**
|
|
79
94
|
* Contains the details of Slack User
|
|
80
95
|
*
|
|
81
96
|
* Keys:
|
|
82
|
-
* teamId (string): teamId
|
|
83
97
|
* slackUserId (string): slackUserId
|
|
84
98
|
*/
|
|
85
99
|
export interface SlackBridgeUserInfoOutputRepresentation {
|
|
86
100
|
bot: boolean;
|
|
87
101
|
displayName: string | null;
|
|
88
102
|
email: string | null;
|
|
103
|
+
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
89
104
|
image24?: string | null;
|
|
90
105
|
imageOriginal: string | null;
|
|
91
106
|
inHuddle: boolean | null;
|
|
92
107
|
isActive: boolean | null;
|
|
108
|
+
isAdmin: boolean;
|
|
93
109
|
isExternal: boolean | null;
|
|
94
|
-
|
|
110
|
+
isOwner: boolean;
|
|
111
|
+
isPrimaryOwner: boolean;
|
|
112
|
+
isRestricted: boolean;
|
|
113
|
+
isUltraRestricted: boolean;
|
|
114
|
+
isWorkflowBot: boolean;
|
|
95
115
|
name: string;
|
|
96
116
|
profileImage?: string | null;
|
|
97
117
|
profileUrl: string | null;
|
|
@@ -100,6 +120,8 @@ export interface SlackBridgeUserInfoOutputRepresentation {
|
|
|
100
120
|
slackUserId: string;
|
|
101
121
|
statusEmoji: SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation | null;
|
|
102
122
|
statusMessage: string | null;
|
|
103
|
-
teamId: string;
|
|
123
|
+
teamId: string | null;
|
|
104
124
|
title: string | null;
|
|
125
|
+
tz?: string | null;
|
|
126
|
+
tzLabel?: string | null;
|
|
105
127
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfosOutputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
3
|
+
export declare const VERSION = "16b915c502b8a0609446d7ed3907a794";
|
|
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;
|
|
@@ -24,6 +24,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
24
24
|
* (none)
|
|
25
25
|
*/
|
|
26
26
|
export interface SlackBridgeUserInfosOutputRepresentationNormalized {
|
|
27
|
+
/** Next marker used for pagination. (Optional) */
|
|
28
|
+
nextMarker: string | null;
|
|
27
29
|
/** String used to search this list of conversations (Optional) */
|
|
28
30
|
searchString: string | null;
|
|
29
31
|
/** List of Slack User Information */
|
|
@@ -36,6 +38,7 @@ export interface SlackBridgeUserInfosOutputRepresentationNormalized {
|
|
|
36
38
|
* (none)
|
|
37
39
|
*/
|
|
38
40
|
export interface SlackBridgeUserInfosOutputRepresentation {
|
|
41
|
+
nextMarker: string | null;
|
|
39
42
|
searchString: string | null;
|
|
40
43
|
userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
|
|
41
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-slack-bridge",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev11",
|
|
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.354.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.354.0-dev11"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev11"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|