@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev19 → 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.
|
@@ -4410,7 +4410,7 @@ const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge_
|
|
|
4410
4410
|
};
|
|
4411
4411
|
|
|
4412
4412
|
const TTL = 500;
|
|
4413
|
-
const VERSION$8 = "
|
|
4413
|
+
const VERSION$8 = "192b0be748476888c3d3587558207214";
|
|
4414
4414
|
function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
|
|
4415
4415
|
const v_error = (() => {
|
|
4416
4416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4440,11 +4440,6 @@ function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
4440
4440
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
4443
|
-
const obj_teamId = obj.teamId;
|
|
4444
|
-
const path_teamId = path + '.teamId';
|
|
4445
|
-
if (typeof obj_teamId !== 'string') {
|
|
4446
|
-
return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
|
|
4447
|
-
}
|
|
4448
4443
|
})();
|
|
4449
4444
|
return v_error === undefined ? null : v_error;
|
|
4450
4445
|
}
|
|
@@ -4501,20 +4496,11 @@ const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
|
|
|
4501
4496
|
kind: 'Link',
|
|
4502
4497
|
plural: true,
|
|
4503
4498
|
fragment: select$w()
|
|
4504
|
-
},
|
|
4505
|
-
{
|
|
4506
|
-
name: 'teamId',
|
|
4507
|
-
kind: 'Scalar'
|
|
4508
4499
|
}
|
|
4509
4500
|
]
|
|
4510
4501
|
};
|
|
4511
4502
|
};
|
|
4512
4503
|
function equals$8(existing, incoming) {
|
|
4513
|
-
const existing_teamId = existing.teamId;
|
|
4514
|
-
const incoming_teamId = incoming.teamId;
|
|
4515
|
-
if (!(existing_teamId === incoming_teamId)) {
|
|
4516
|
-
return false;
|
|
4517
|
-
}
|
|
4518
4504
|
const existing_conversations = existing.conversations;
|
|
4519
4505
|
const incoming_conversations = incoming.conversations;
|
|
4520
4506
|
const equals_conversations_items = equalsArray(existing_conversations, incoming_conversations, (existing_conversations_item, incoming_conversations_item) => {
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Lu
|
|
|
2
2
|
import { SlackBridgeConversationInfoOutputRepresentation as SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation } from './SlackBridgeConversationInfoOutputRepresentation';
|
|
3
3
|
import { SlackBridgeMessageOutputRepresentation as SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation } from './SlackBridgeMessageOutputRepresentation';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "192b0be748476888c3d3587558207214";
|
|
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: SlackBridgeRelatedThreadsOutputRepresentation, existing: SlackBridgeRelatedThreadsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeRelatedThreadsOutputRepresentationNormalized;
|
|
@@ -32,8 +32,6 @@ export interface SlackBridgeRelatedThreadsOutputRepresentationNormalized {
|
|
|
32
32
|
conversations: Array<$64$luvio_engine_StoreLink>;
|
|
33
33
|
/** List of Slack messages */
|
|
34
34
|
messages: Array<$64$luvio_engine_StoreLink>;
|
|
35
|
-
/** The id of the Slack team (Workspace or Enterprise Org) where the related threads exist */
|
|
36
|
-
teamId: string;
|
|
37
35
|
}
|
|
38
36
|
/**
|
|
39
37
|
* Contains the Slack Related Threads
|
|
@@ -44,5 +42,4 @@ export interface SlackBridgeRelatedThreadsOutputRepresentationNormalized {
|
|
|
44
42
|
export interface SlackBridgeRelatedThreadsOutputRepresentation {
|
|
45
43
|
conversations: Array<SlackBridgeConversationInfoOutputRepresentation_SlackBridgeConversationInfoOutputRepresentation>;
|
|
46
44
|
messages: Array<SlackBridgeMessageOutputRepresentation_SlackBridgeMessageOutputRepresentation>;
|
|
47
|
-
teamId: string;
|
|
48
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-slack-bridge",
|
|
3
|
-
"version": "1.332.0-
|
|
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-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.332.0-dev20"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev20"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2645,7 +2645,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2645
2645
|
}
|
|
2646
2646
|
|
|
2647
2647
|
const TTL$2 = 500;
|
|
2648
|
-
const VERSION$c = "
|
|
2648
|
+
const VERSION$c = "192b0be748476888c3d3587558207214";
|
|
2649
2649
|
function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
|
|
2650
2650
|
const v_error = (() => {
|
|
2651
2651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2675,11 +2675,6 @@ function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
2675
2675
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
2676
2676
|
}
|
|
2677
2677
|
}
|
|
2678
|
-
const obj_teamId = obj.teamId;
|
|
2679
|
-
const path_teamId = path + '.teamId';
|
|
2680
|
-
if (typeof obj_teamId !== 'string') {
|
|
2681
|
-
return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
|
|
2682
|
-
}
|
|
2683
2678
|
})();
|
|
2684
2679
|
return v_error === undefined ? null : v_error;
|
|
2685
2680
|
}
|
|
@@ -2736,20 +2731,11 @@ const select$v = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
|
|
|
2736
2731
|
kind: 'Link',
|
|
2737
2732
|
plural: true,
|
|
2738
2733
|
fragment: select$w()
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
name: 'teamId',
|
|
2742
|
-
kind: 'Scalar'
|
|
2743
2734
|
}
|
|
2744
2735
|
]
|
|
2745
2736
|
};
|
|
2746
2737
|
};
|
|
2747
2738
|
function equals$c(existing, incoming) {
|
|
2748
|
-
const existing_teamId = existing.teamId;
|
|
2749
|
-
const incoming_teamId = incoming.teamId;
|
|
2750
|
-
if (!(existing_teamId === incoming_teamId)) {
|
|
2751
|
-
return false;
|
|
2752
|
-
}
|
|
2753
2739
|
const existing_conversations = existing.conversations;
|
|
2754
2740
|
const incoming_conversations = incoming.conversations;
|
|
2755
2741
|
const equals_conversations_items = equalsArray(existing_conversations, incoming_conversations, (existing_conversations_item, incoming_conversations_item) => {
|
|
@@ -7854,4 +7840,4 @@ withDefaultLuvio((luvio) => {
|
|
|
7854
7840
|
});
|
|
7855
7841
|
|
|
7856
7842
|
export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
|
|
7857
|
-
// version: 1.332.0-
|
|
7843
|
+
// version: 1.332.0-dev20-8600de247a
|
package/src/raml/api.raml
CHANGED
|
@@ -578,10 +578,6 @@ types:
|
|
|
578
578
|
type: array
|
|
579
579
|
items:
|
|
580
580
|
type: SlackBridgeMessageOutputRepresentation
|
|
581
|
-
teamId:
|
|
582
|
-
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
583
|
-
the related threads exist
|
|
584
|
-
type: string
|
|
585
581
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
586
582
|
description: Contains the parameters to update a message to Slack
|
|
587
583
|
type: object
|