@salesforce/lds-adapters-platform-slack-bridge 1.331.0 → 1.332.0-dev1
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 +39 -4
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts +7 -7
- package/package.json +3 -3
- package/sfdc/index.js +40 -5
- package/src/raml/api.raml +8 -17
- package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts +0 -44
|
@@ -2139,7 +2139,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
|
|
2142
|
-
const VERSION$6 = "
|
|
2142
|
+
const VERSION$6 = "4e131d41ceb4ec6065429b5d681c5d97";
|
|
2143
2143
|
function validate$6(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
2144
2144
|
const v_error = (() => {
|
|
2145
2145
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2258,6 +2258,32 @@ function validate$6(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
2258
2258
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
2259
2259
|
}
|
|
2260
2260
|
}
|
|
2261
|
+
const obj_websocketUrl = obj.websocketUrl;
|
|
2262
|
+
const path_websocketUrl = path + '.websocketUrl';
|
|
2263
|
+
let obj_websocketUrl_union0 = null;
|
|
2264
|
+
const obj_websocketUrl_union0_error = (() => {
|
|
2265
|
+
if (typeof obj_websocketUrl !== 'string') {
|
|
2266
|
+
return new TypeError('Expected "string" but received "' + typeof obj_websocketUrl + '" (at "' + path_websocketUrl + '")');
|
|
2267
|
+
}
|
|
2268
|
+
})();
|
|
2269
|
+
if (obj_websocketUrl_union0_error != null) {
|
|
2270
|
+
obj_websocketUrl_union0 = obj_websocketUrl_union0_error.message;
|
|
2271
|
+
}
|
|
2272
|
+
let obj_websocketUrl_union1 = null;
|
|
2273
|
+
const obj_websocketUrl_union1_error = (() => {
|
|
2274
|
+
if (obj_websocketUrl !== null) {
|
|
2275
|
+
return new TypeError('Expected "null" but received "' + typeof obj_websocketUrl + '" (at "' + path_websocketUrl + '")');
|
|
2276
|
+
}
|
|
2277
|
+
})();
|
|
2278
|
+
if (obj_websocketUrl_union1_error != null) {
|
|
2279
|
+
obj_websocketUrl_union1 = obj_websocketUrl_union1_error.message;
|
|
2280
|
+
}
|
|
2281
|
+
if (obj_websocketUrl_union0 && obj_websocketUrl_union1) {
|
|
2282
|
+
let message = 'Object doesn\'t match union (at "' + path_websocketUrl + '")';
|
|
2283
|
+
message += '\n' + obj_websocketUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2284
|
+
message += '\n' + obj_websocketUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2285
|
+
return new TypeError(message);
|
|
2286
|
+
}
|
|
2261
2287
|
})();
|
|
2262
2288
|
return v_error === undefined ? null : v_error;
|
|
2263
2289
|
}
|
|
@@ -2352,6 +2378,10 @@ const select$g = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
2352
2378
|
kind: 'Link',
|
|
2353
2379
|
plural: true,
|
|
2354
2380
|
fragment: select$o()
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
name: 'websocketUrl',
|
|
2384
|
+
kind: 'Scalar'
|
|
2355
2385
|
}
|
|
2356
2386
|
]
|
|
2357
2387
|
};
|
|
@@ -2410,6 +2440,11 @@ function equals$6(existing, incoming) {
|
|
|
2410
2440
|
if (equals_userInfos_items === false) {
|
|
2411
2441
|
return false;
|
|
2412
2442
|
}
|
|
2443
|
+
const existing_websocketUrl = existing.websocketUrl;
|
|
2444
|
+
const incoming_websocketUrl = incoming.websocketUrl;
|
|
2445
|
+
if (!(existing_websocketUrl === incoming_websocketUrl)) {
|
|
2446
|
+
return false;
|
|
2447
|
+
}
|
|
2413
2448
|
return true;
|
|
2414
2449
|
}
|
|
2415
2450
|
const ingest$6 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -2734,11 +2769,11 @@ function createResourceRequest$a(config) {
|
|
|
2734
2769
|
const adapterName$a = 'postSlackConversation';
|
|
2735
2770
|
const postSlackConversation_ConfigPropertyMetadata = [
|
|
2736
2771
|
generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
|
|
2737
|
-
generateParamConfigMetadata('linkNames',
|
|
2738
|
-
generateParamConfigMetadata('replyBroadcast',
|
|
2772
|
+
generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
|
|
2773
|
+
generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
|
|
2739
2774
|
generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
|
|
2740
2775
|
generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
|
|
2741
|
-
generateParamConfigMetadata('threadTs',
|
|
2776
|
+
generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
|
|
2742
2777
|
];
|
|
2743
2778
|
const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, postSlackConversation_ConfigPropertyMetadata);
|
|
2744
2779
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(postSlackConversation_ConfigPropertyMetadata);
|
|
@@ -7,11 +7,11 @@ export declare const postSlackConversation_ConfigPropertyMetadata: $64$luvio_eng
|
|
|
7
7
|
export declare const postSlackConversation_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface PostSlackConversationConfig {
|
|
9
9
|
channelId: string;
|
|
10
|
-
linkNames
|
|
11
|
-
replyBroadcast
|
|
10
|
+
linkNames?: boolean;
|
|
11
|
+
replyBroadcast?: boolean;
|
|
12
12
|
teamId: string;
|
|
13
13
|
text: string;
|
|
14
|
-
threadTs
|
|
14
|
+
threadTs?: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const createResourceParams: (config: PostSlackConversationConfig) => resources_postConnectSlackbridgeConversationMessages_ResourceRequestConfig;
|
|
17
17
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostSlackConversationConfig>): adapter$45$utils_Untrusted<PostSlackConversationConfig>;
|
package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationMessages.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { SlackBridgePostMessageOutputRepresentation as types_SlackBridgePostMess
|
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
body: {
|
|
5
5
|
channelId: string;
|
|
6
|
-
linkNames
|
|
7
|
-
replyBroadcast
|
|
6
|
+
linkNames?: boolean;
|
|
7
|
+
replyBroadcast?: boolean;
|
|
8
8
|
teamId: string;
|
|
9
9
|
text: string;
|
|
10
|
-
threadTs
|
|
10
|
+
threadTs?: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversat
|
|
|
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 { SlackBridgeUserInfoOutputRepresentation as SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation } from './SlackBridgeUserInfoOutputRepresentation';
|
|
4
4
|
import { SlackBridgeConversationHistoryOutputRepresentation as SlackBridgeConversationHistoryOutputRepresentation_SlackBridgeConversationHistoryOutputRepresentation } from './SlackBridgeConversationHistoryOutputRepresentation';
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "4e131d41ceb4ec6065429b5d681c5d97";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
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;
|
|
@@ -46,6 +46,8 @@ export interface SlackBridgeConversationOutputRepresentationNormalized {
|
|
|
46
46
|
threadTs: string | null;
|
|
47
47
|
/** A list of Slack users that are associated with this Conversation */
|
|
48
48
|
userInfos: Array<$64$luvio_engine_StoreLink>;
|
|
49
|
+
/** The websocket URL to subscribe to RTM topics associated with the conversation */
|
|
50
|
+
websocketUrl: string | null;
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
51
53
|
* Contains the details of a Slack Conversation
|
|
@@ -62,4 +64,5 @@ export interface SlackBridgeConversationOutputRepresentation {
|
|
|
62
64
|
teamId: string;
|
|
63
65
|
threadTs: string | null;
|
|
64
66
|
userInfos: Array<SlackBridgeUserInfoOutputRepresentation_SlackBridgeUserInfoOutputRepresentation>;
|
|
67
|
+
websocketUrl: string | null;
|
|
65
68
|
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgePostMessageInputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "d53c41f4dafd8a908a38f7b74fd4a656";
|
|
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: SlackBridgePostMessageInputRepresentation, existing: SlackBridgePostMessageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgePostMessageInputRepresentationNormalized;
|
|
@@ -17,15 +17,15 @@ export interface SlackBridgePostMessageInputRepresentationNormalized {
|
|
|
17
17
|
/** Channel where the message should be posted */
|
|
18
18
|
channelId: string;
|
|
19
19
|
/** Find and link channel names and usernames using the Slack ID */
|
|
20
|
-
linkNames
|
|
20
|
+
linkNames?: boolean;
|
|
21
21
|
/** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation */
|
|
22
|
-
replyBroadcast
|
|
22
|
+
replyBroadcast?: boolean;
|
|
23
23
|
/** Workspace where the message should be posted */
|
|
24
24
|
teamId: string;
|
|
25
25
|
/** Content of the message */
|
|
26
26
|
text: string;
|
|
27
27
|
/** Time stamp of the Parent message (in case of reply) */
|
|
28
|
-
threadTs
|
|
28
|
+
threadTs?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Contains the parameters to post a message to Slack
|
|
@@ -35,9 +35,9 @@ export interface SlackBridgePostMessageInputRepresentationNormalized {
|
|
|
35
35
|
*/
|
|
36
36
|
export interface SlackBridgePostMessageInputRepresentation {
|
|
37
37
|
channelId: string;
|
|
38
|
-
linkNames
|
|
39
|
-
replyBroadcast
|
|
38
|
+
linkNames?: boolean;
|
|
39
|
+
replyBroadcast?: boolean;
|
|
40
40
|
teamId: string;
|
|
41
41
|
text: string;
|
|
42
|
-
threadTs
|
|
42
|
+
threadTs?: string;
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-slack-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.332.0-dev1",
|
|
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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.332.0-dev1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev1"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2550,7 +2550,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2550
2550
|
}
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
|
-
const VERSION$4 = "
|
|
2553
|
+
const VERSION$4 = "4e131d41ceb4ec6065429b5d681c5d97";
|
|
2554
2554
|
function validate$4(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
2555
2555
|
const v_error = (() => {
|
|
2556
2556
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2669,6 +2669,32 @@ function validate$4(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
2669
2669
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
2670
2670
|
}
|
|
2671
2671
|
}
|
|
2672
|
+
const obj_websocketUrl = obj.websocketUrl;
|
|
2673
|
+
const path_websocketUrl = path + '.websocketUrl';
|
|
2674
|
+
let obj_websocketUrl_union0 = null;
|
|
2675
|
+
const obj_websocketUrl_union0_error = (() => {
|
|
2676
|
+
if (typeof obj_websocketUrl !== 'string') {
|
|
2677
|
+
return new TypeError('Expected "string" but received "' + typeof obj_websocketUrl + '" (at "' + path_websocketUrl + '")');
|
|
2678
|
+
}
|
|
2679
|
+
})();
|
|
2680
|
+
if (obj_websocketUrl_union0_error != null) {
|
|
2681
|
+
obj_websocketUrl_union0 = obj_websocketUrl_union0_error.message;
|
|
2682
|
+
}
|
|
2683
|
+
let obj_websocketUrl_union1 = null;
|
|
2684
|
+
const obj_websocketUrl_union1_error = (() => {
|
|
2685
|
+
if (obj_websocketUrl !== null) {
|
|
2686
|
+
return new TypeError('Expected "null" but received "' + typeof obj_websocketUrl + '" (at "' + path_websocketUrl + '")');
|
|
2687
|
+
}
|
|
2688
|
+
})();
|
|
2689
|
+
if (obj_websocketUrl_union1_error != null) {
|
|
2690
|
+
obj_websocketUrl_union1 = obj_websocketUrl_union1_error.message;
|
|
2691
|
+
}
|
|
2692
|
+
if (obj_websocketUrl_union0 && obj_websocketUrl_union1) {
|
|
2693
|
+
let message = 'Object doesn\'t match union (at "' + path_websocketUrl + '")';
|
|
2694
|
+
message += '\n' + obj_websocketUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2695
|
+
message += '\n' + obj_websocketUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2696
|
+
return new TypeError(message);
|
|
2697
|
+
}
|
|
2672
2698
|
})();
|
|
2673
2699
|
return v_error === undefined ? null : v_error;
|
|
2674
2700
|
}
|
|
@@ -2763,6 +2789,10 @@ const select$e = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
2763
2789
|
kind: 'Link',
|
|
2764
2790
|
plural: true,
|
|
2765
2791
|
fragment: select$l()
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
name: 'websocketUrl',
|
|
2795
|
+
kind: 'Scalar'
|
|
2766
2796
|
}
|
|
2767
2797
|
]
|
|
2768
2798
|
};
|
|
@@ -2821,6 +2851,11 @@ function equals$4(existing, incoming) {
|
|
|
2821
2851
|
if (equals_userInfos_items === false) {
|
|
2822
2852
|
return false;
|
|
2823
2853
|
}
|
|
2854
|
+
const existing_websocketUrl = existing.websocketUrl;
|
|
2855
|
+
const incoming_websocketUrl = incoming.websocketUrl;
|
|
2856
|
+
if (!(existing_websocketUrl === incoming_websocketUrl)) {
|
|
2857
|
+
return false;
|
|
2858
|
+
}
|
|
2824
2859
|
return true;
|
|
2825
2860
|
}
|
|
2826
2861
|
const ingest$4 = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -4284,11 +4319,11 @@ function createResourceRequest$2(config) {
|
|
|
4284
4319
|
const adapterName$2 = 'postSlackConversation';
|
|
4285
4320
|
const postSlackConversation_ConfigPropertyMetadata = [
|
|
4286
4321
|
generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
|
|
4287
|
-
generateParamConfigMetadata('linkNames',
|
|
4288
|
-
generateParamConfigMetadata('replyBroadcast',
|
|
4322
|
+
generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
|
|
4323
|
+
generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
|
|
4289
4324
|
generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
|
|
4290
4325
|
generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
|
|
4291
|
-
generateParamConfigMetadata('threadTs',
|
|
4326
|
+
generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
|
|
4292
4327
|
];
|
|
4293
4328
|
const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postSlackConversation_ConfigPropertyMetadata);
|
|
4294
4329
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(postSlackConversation_ConfigPropertyMetadata);
|
|
@@ -4620,4 +4655,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4620
4655
|
});
|
|
4621
4656
|
|
|
4622
4657
|
export { deleteSlackMessage, deleteSlackMessageReactions, getSlackConversation, getSlackConversation_imperative, getSlackCustomEmoji, getSlackCustomEmoji_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackFile, postSlackMessageReactions };
|
|
4623
|
-
// version: 1.
|
|
4658
|
+
// version: 1.332.0-dev1-2186468293
|
package/src/raml/api.raml
CHANGED
|
@@ -174,6 +174,10 @@ types:
|
|
|
174
174
|
type: array
|
|
175
175
|
items:
|
|
176
176
|
type: SlackBridgeUserInfoOutputRepresentation
|
|
177
|
+
websocketUrl:
|
|
178
|
+
description: The websocket URL to subscribe to RTM topics associated with
|
|
179
|
+
the conversation
|
|
180
|
+
type: string | nil
|
|
177
181
|
SlackBridgeCustomEmojisOutputRepresentation:
|
|
178
182
|
description: Contains the Slack Custom emojis
|
|
179
183
|
type: object
|
|
@@ -379,10 +383,10 @@ types:
|
|
|
379
383
|
channelId:
|
|
380
384
|
description: Channel where the message should be posted
|
|
381
385
|
type: string
|
|
382
|
-
linkNames
|
|
386
|
+
linkNames?:
|
|
383
387
|
description: Find and link channel names and usernames using the Slack ID
|
|
384
388
|
type: boolean
|
|
385
|
-
replyBroadcast
|
|
389
|
+
replyBroadcast?:
|
|
386
390
|
description: Used in conjunction with `thread_ts` and indicates whether reply
|
|
387
391
|
should be made visible to everyone in the channel or conversation
|
|
388
392
|
type: boolean
|
|
@@ -392,7 +396,7 @@ types:
|
|
|
392
396
|
text:
|
|
393
397
|
description: Content of the message
|
|
394
398
|
type: string
|
|
395
|
-
threadTs
|
|
399
|
+
threadTs?:
|
|
396
400
|
description: Time stamp of the Parent message (in case of reply)
|
|
397
401
|
type: string
|
|
398
402
|
SlackBridgePostMessageOutputRepresentation:
|
|
@@ -459,19 +463,6 @@ types:
|
|
|
459
463
|
text:
|
|
460
464
|
description: Content of the message
|
|
461
465
|
type: string
|
|
462
|
-
SlackBridgeUpdatedMessageOutputRepresentation:
|
|
463
|
-
description: Contains the details of updated Slack message
|
|
464
|
-
type: object
|
|
465
|
-
properties:
|
|
466
|
-
channelId:
|
|
467
|
-
description: Id of the Channel to which this message belong to
|
|
468
|
-
type: string
|
|
469
|
-
timestamp:
|
|
470
|
-
description: Timestamp of the message posted to Slack
|
|
471
|
-
type: string
|
|
472
|
-
updatedMessage:
|
|
473
|
-
description: Updated Message from Slack
|
|
474
|
-
type: SlackBridgeMessageOutputRepresentation
|
|
475
466
|
SlackBridgeUserInfoOutputRepresentation:
|
|
476
467
|
description: Contains the details of Slack User
|
|
477
468
|
type: object
|
|
@@ -687,7 +678,7 @@ types:
|
|
|
687
678
|
type: SlackBridgeReactionsOutputRepresentation
|
|
688
679
|
queryParameters:
|
|
689
680
|
name:
|
|
690
|
-
description: The name of the reaction to
|
|
681
|
+
description: The name of the reaction to add
|
|
691
682
|
type: string
|
|
692
683
|
required: false
|
|
693
684
|
uriParameters:
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUpdatedMessageOutputRepresentation.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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 { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
|
|
3
|
-
export declare const VERSION = "ae89754c94207cbb4950674da6481b34";
|
|
4
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
-
export declare const RepresentationType: string;
|
|
6
|
-
export declare function normalize(input: SlackBridgeUpdatedMessageOutputRepresentation, existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeUpdatedMessageOutputRepresentationNormalized;
|
|
7
|
-
export interface DynamicIngestParams {
|
|
8
|
-
updatedMessage: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
}
|
|
10
|
-
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SlackBridgeUpdatedMessageOutputRepresentation, existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SlackBridgeUpdatedMessageOutputRepresentationNormalized;
|
|
11
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
-
export interface DynamicSelectParams {
|
|
13
|
-
updatedMessage?: $64$luvio_engine_LinkSelection;
|
|
14
|
-
}
|
|
15
|
-
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
16
|
-
export declare function equals(existing: SlackBridgeUpdatedMessageOutputRepresentationNormalized, incoming: SlackBridgeUpdatedMessageOutputRepresentationNormalized): boolean;
|
|
17
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeUpdatedMessageOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
-
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
20
|
-
/**
|
|
21
|
-
* Contains the details of updated Slack message
|
|
22
|
-
*
|
|
23
|
-
* Keys:
|
|
24
|
-
* (none)
|
|
25
|
-
*/
|
|
26
|
-
export interface SlackBridgeUpdatedMessageOutputRepresentationNormalized {
|
|
27
|
-
/** Id of the Channel to which this message belong to */
|
|
28
|
-
channelId: string;
|
|
29
|
-
/** Timestamp of the message posted to Slack */
|
|
30
|
-
timestamp: string;
|
|
31
|
-
/** Updated Message from Slack */
|
|
32
|
-
updatedMessage: $64$luvio_engine_StoreLink;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Contains the details of updated Slack message
|
|
36
|
-
*
|
|
37
|
-
* Keys:
|
|
38
|
-
* (none)
|
|
39
|
-
*/
|
|
40
|
-
export interface SlackBridgeUpdatedMessageOutputRepresentation {
|
|
41
|
-
channelId: string;
|
|
42
|
-
timestamp: string;
|
|
43
|
-
updatedMessage: SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation;
|
|
44
|
-
}
|