@salesforce/lds-adapters-platform-slack-bridge 1.360.1 → 1.362.0
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 +22 -22
- package/package.json +3 -3
- package/sfdc/index.js +23 -23
|
@@ -817,7 +817,7 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
817
817
|
const path_statusEmoji = path + '.statusEmoji';
|
|
818
818
|
let obj_statusEmoji_union0 = null;
|
|
819
819
|
const obj_statusEmoji_union0_error = (() => {
|
|
820
|
-
if (typeof obj_statusEmoji !== 'object') {
|
|
820
|
+
if (typeof obj_statusEmoji !== 'object' || Array.isArray(obj_statusEmoji)) {
|
|
821
821
|
return new TypeError('Expected "object" but received "' + typeof obj_statusEmoji + '" (at "' + path_statusEmoji + '")');
|
|
822
822
|
}
|
|
823
823
|
})();
|
|
@@ -989,7 +989,7 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
989
989
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
990
990
|
const input_statusEmoji = input.statusEmoji;
|
|
991
991
|
const input_statusEmoji_id = path.fullPath + '__statusEmoji';
|
|
992
|
-
if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
|
|
992
|
+
if (!Array.isArray(input_statusEmoji) && input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
|
|
993
993
|
input.statusEmoji = ingest$h(input_statusEmoji, {
|
|
994
994
|
fullPath: input_statusEmoji_id,
|
|
995
995
|
propertyName: 'statusEmoji',
|
|
@@ -1276,7 +1276,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1276
1276
|
representationName: RepresentationType$g,
|
|
1277
1277
|
mergeable: false
|
|
1278
1278
|
});
|
|
1279
|
-
if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
|
|
1279
|
+
if (!Array.isArray(input.statusEmoji) && input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
|
|
1280
1280
|
getTypeCacheKeys$h(rootKeySet, luvio, input.statusEmoji);
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
@@ -2939,7 +2939,7 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
2939
2939
|
for (let i = 0; i < obj_files.length; i++) {
|
|
2940
2940
|
const obj_files_item = obj_files[i];
|
|
2941
2941
|
const path_files_item = path_files + '[' + i + ']';
|
|
2942
|
-
if (typeof obj_files_item !== 'object') {
|
|
2942
|
+
if (typeof obj_files_item !== 'object' || Array.isArray(obj_files_item)) {
|
|
2943
2943
|
return new TypeError('Expected "object" but received "' + typeof obj_files_item + '" (at "' + path_files_item + '")');
|
|
2944
2944
|
}
|
|
2945
2945
|
}
|
|
@@ -3532,7 +3532,7 @@ function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
|
|
|
3532
3532
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
3533
3533
|
const obj_messages_item = obj_messages[i];
|
|
3534
3534
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
3535
|
-
if (typeof obj_messages_item !== 'object') {
|
|
3535
|
+
if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
|
|
3536
3536
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
3537
3537
|
}
|
|
3538
3538
|
}
|
|
@@ -3677,7 +3677,7 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
3677
3677
|
const path_contextUserInfo = path + '.contextUserInfo';
|
|
3678
3678
|
let obj_contextUserInfo_union0 = null;
|
|
3679
3679
|
const obj_contextUserInfo_union0_error = (() => {
|
|
3680
|
-
if (typeof obj_contextUserInfo !== 'object') {
|
|
3680
|
+
if (typeof obj_contextUserInfo !== 'object' || Array.isArray(obj_contextUserInfo)) {
|
|
3681
3681
|
return new TypeError('Expected "object" but received "' + typeof obj_contextUserInfo + '" (at "' + path_contextUserInfo + '")');
|
|
3682
3682
|
}
|
|
3683
3683
|
})();
|
|
@@ -3703,7 +3703,7 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
3703
3703
|
const path_conversationInfo = path + '.conversationInfo';
|
|
3704
3704
|
let obj_conversationInfo_union0 = null;
|
|
3705
3705
|
const obj_conversationInfo_union0_error = (() => {
|
|
3706
|
-
if (typeof obj_conversationInfo !== 'object') {
|
|
3706
|
+
if (typeof obj_conversationInfo !== 'object' || Array.isArray(obj_conversationInfo)) {
|
|
3707
3707
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfo + '" (at "' + path_conversationInfo + '")');
|
|
3708
3708
|
}
|
|
3709
3709
|
})();
|
|
@@ -3733,7 +3733,7 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
3733
3733
|
for (let i = 0; i < obj_conversationInfos.length; i++) {
|
|
3734
3734
|
const obj_conversationInfos_item = obj_conversationInfos[i];
|
|
3735
3735
|
const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
|
|
3736
|
-
if (typeof obj_conversationInfos_item !== 'object') {
|
|
3736
|
+
if (typeof obj_conversationInfos_item !== 'object' || Array.isArray(obj_conversationInfos_item)) {
|
|
3737
3737
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
@@ -3745,13 +3745,13 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
3745
3745
|
for (let i = 0; i < obj_emojis.length; i++) {
|
|
3746
3746
|
const obj_emojis_item = obj_emojis[i];
|
|
3747
3747
|
const path_emojis_item = path_emojis + '[' + i + ']';
|
|
3748
|
-
if (typeof obj_emojis_item !== 'object') {
|
|
3748
|
+
if (typeof obj_emojis_item !== 'object' || Array.isArray(obj_emojis_item)) {
|
|
3749
3749
|
return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
|
|
3750
3750
|
}
|
|
3751
3751
|
}
|
|
3752
3752
|
const obj_history = obj.history;
|
|
3753
3753
|
const path_history = path + '.history';
|
|
3754
|
-
if (typeof obj_history !== 'object') {
|
|
3754
|
+
if (typeof obj_history !== 'object' || Array.isArray(obj_history)) {
|
|
3755
3755
|
return new TypeError('Expected "object" but received "' + typeof obj_history + '" (at "' + path_history + '")');
|
|
3756
3756
|
}
|
|
3757
3757
|
const obj_teamId = obj.teamId;
|
|
@@ -3793,7 +3793,7 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
3793
3793
|
for (let i = 0; i < obj_userInfos.length; i++) {
|
|
3794
3794
|
const obj_userInfos_item = obj_userInfos[i];
|
|
3795
3795
|
const path_userInfos_item = path_userInfos + '[' + i + ']';
|
|
3796
|
-
if (typeof obj_userInfos_item !== 'object') {
|
|
3796
|
+
if (typeof obj_userInfos_item !== 'object' || Array.isArray(obj_userInfos_item)) {
|
|
3797
3797
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
3798
3798
|
}
|
|
3799
3799
|
}
|
|
@@ -3830,7 +3830,7 @@ const RepresentationType$b = 'SlackBridgeConversationOutputRepresentation';
|
|
|
3830
3830
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
3831
3831
|
const input_contextUserInfo = input.contextUserInfo;
|
|
3832
3832
|
const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
|
|
3833
|
-
if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
|
|
3833
|
+
if (!Array.isArray(input_contextUserInfo) && input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
|
|
3834
3834
|
input.contextUserInfo = ingest$g(input_contextUserInfo, {
|
|
3835
3835
|
fullPath: input_contextUserInfo_id,
|
|
3836
3836
|
propertyName: 'contextUserInfo',
|
|
@@ -3844,7 +3844,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
const input_conversationInfo = input.conversationInfo;
|
|
3846
3846
|
const input_conversationInfo_id = path.fullPath + '__conversationInfo';
|
|
3847
|
-
if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
|
|
3847
|
+
if (!Array.isArray(input_conversationInfo) && input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
|
|
3848
3848
|
input.conversationInfo = ingest$f(input_conversationInfo, {
|
|
3849
3849
|
fullPath: input_conversationInfo_id,
|
|
3850
3850
|
propertyName: 'conversationInfo',
|
|
@@ -4085,10 +4085,10 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4085
4085
|
representationName: RepresentationType$b,
|
|
4086
4086
|
mergeable: false
|
|
4087
4087
|
});
|
|
4088
|
-
if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
|
|
4088
|
+
if (!Array.isArray(input.contextUserInfo) && input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
|
|
4089
4089
|
getTypeCacheKeys$g(rootKeySet, luvio, input.contextUserInfo);
|
|
4090
4090
|
}
|
|
4091
|
-
if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
|
|
4091
|
+
if (!Array.isArray(input.conversationInfo) && input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
|
|
4092
4092
|
getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
|
|
4093
4093
|
}
|
|
4094
4094
|
const input_conversationInfos_length = input.conversationInfos.length;
|
|
@@ -4259,7 +4259,7 @@ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
|
|
|
4259
4259
|
}
|
|
4260
4260
|
const obj_postedMessage = obj.postedMessage;
|
|
4261
4261
|
const path_postedMessage = path + '.postedMessage';
|
|
4262
|
-
if (typeof obj_postedMessage !== 'object') {
|
|
4262
|
+
if (typeof obj_postedMessage !== 'object' || Array.isArray(obj_postedMessage)) {
|
|
4263
4263
|
return new TypeError('Expected "object" but received "' + typeof obj_postedMessage + '" (at "' + path_postedMessage + '")');
|
|
4264
4264
|
}
|
|
4265
4265
|
const obj_timestamp = obj.timestamp;
|
|
@@ -4558,7 +4558,7 @@ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
|
|
|
4558
4558
|
}
|
|
4559
4559
|
const obj_conversationInfo = obj.conversationInfo;
|
|
4560
4560
|
const path_conversationInfo = path + '.conversationInfo';
|
|
4561
|
-
if (typeof obj_conversationInfo !== 'object') {
|
|
4561
|
+
if (typeof obj_conversationInfo !== 'object' || Array.isArray(obj_conversationInfo)) {
|
|
4562
4562
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfo + '" (at "' + path_conversationInfo + '")');
|
|
4563
4563
|
}
|
|
4564
4564
|
const obj_relatedRecordId = obj.relatedRecordId;
|
|
@@ -4913,7 +4913,7 @@ function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
4913
4913
|
for (let i = 0; i < obj_conversations.length; i++) {
|
|
4914
4914
|
const obj_conversations_item = obj_conversations[i];
|
|
4915
4915
|
const path_conversations_item = path_conversations + '[' + i + ']';
|
|
4916
|
-
if (typeof obj_conversations_item !== 'object') {
|
|
4916
|
+
if (typeof obj_conversations_item !== 'object' || Array.isArray(obj_conversations_item)) {
|
|
4917
4917
|
return new TypeError('Expected "object" but received "' + typeof obj_conversations_item + '" (at "' + path_conversations_item + '")');
|
|
4918
4918
|
}
|
|
4919
4919
|
}
|
|
@@ -4925,7 +4925,7 @@ function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
4925
4925
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
4926
4926
|
const obj_messages_item = obj_messages[i];
|
|
4927
4927
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
4928
|
-
if (typeof obj_messages_item !== 'object') {
|
|
4928
|
+
if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
|
|
4929
4929
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
4930
4930
|
}
|
|
4931
4931
|
}
|
|
@@ -6772,7 +6772,7 @@ function validate$2(obj, path = 'SlackBridgeConversationInfosOutputRepresentatio
|
|
|
6772
6772
|
for (let i = 0; i < obj_conversationInfos.length; i++) {
|
|
6773
6773
|
const obj_conversationInfos_item = obj_conversationInfos[i];
|
|
6774
6774
|
const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
|
|
6775
|
-
if (typeof obj_conversationInfos_item !== 'object') {
|
|
6775
|
+
if (typeof obj_conversationInfos_item !== 'object' || Array.isArray(obj_conversationInfos_item)) {
|
|
6776
6776
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
|
|
6777
6777
|
}
|
|
6778
6778
|
}
|
|
@@ -7176,7 +7176,7 @@ function validate$1(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
|
|
|
7176
7176
|
for (let i = 0; i < obj_emojis.length; i++) {
|
|
7177
7177
|
const obj_emojis_item = obj_emojis[i];
|
|
7178
7178
|
const path_emojis_item = path_emojis + '[' + i + ']';
|
|
7179
|
-
if (typeof obj_emojis_item !== 'object') {
|
|
7179
|
+
if (typeof obj_emojis_item !== 'object' || Array.isArray(obj_emojis_item)) {
|
|
7180
7180
|
return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
|
|
7181
7181
|
}
|
|
7182
7182
|
}
|
|
@@ -7863,7 +7863,7 @@ function validate(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
|
|
|
7863
7863
|
for (let i = 0; i < obj_userInfos.length; i++) {
|
|
7864
7864
|
const obj_userInfos_item = obj_userInfos[i];
|
|
7865
7865
|
const path_userInfos_item = path_userInfos + '[' + i + ']';
|
|
7866
|
-
if (typeof obj_userInfos_item !== 'object') {
|
|
7866
|
+
if (typeof obj_userInfos_item !== 'object' || Array.isArray(obj_userInfos_item)) {
|
|
7867
7867
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
7868
7868
|
}
|
|
7869
7869
|
}
|
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.362.0",
|
|
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.362.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.362.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2351,7 +2351,7 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
2351
2351
|
for (let i = 0; i < obj_files.length; i++) {
|
|
2352
2352
|
const obj_files_item = obj_files[i];
|
|
2353
2353
|
const path_files_item = path_files + '[' + i + ']';
|
|
2354
|
-
if (typeof obj_files_item !== 'object') {
|
|
2354
|
+
if (typeof obj_files_item !== 'object' || Array.isArray(obj_files_item)) {
|
|
2355
2355
|
return new TypeError('Expected "object" but received "' + typeof obj_files_item + '" (at "' + path_files_item + '")');
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
@@ -2940,7 +2940,7 @@ function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
2940
2940
|
for (let i = 0; i < obj_conversations.length; i++) {
|
|
2941
2941
|
const obj_conversations_item = obj_conversations[i];
|
|
2942
2942
|
const path_conversations_item = path_conversations + '[' + i + ']';
|
|
2943
|
-
if (typeof obj_conversations_item !== 'object') {
|
|
2943
|
+
if (typeof obj_conversations_item !== 'object' || Array.isArray(obj_conversations_item)) {
|
|
2944
2944
|
return new TypeError('Expected "object" but received "' + typeof obj_conversations_item + '" (at "' + path_conversations_item + '")');
|
|
2945
2945
|
}
|
|
2946
2946
|
}
|
|
@@ -2952,7 +2952,7 @@ function validate$c(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
|
|
|
2952
2952
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
2953
2953
|
const obj_messages_item = obj_messages[i];
|
|
2954
2954
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
2955
|
-
if (typeof obj_messages_item !== 'object') {
|
|
2955
|
+
if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
|
|
2956
2956
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
2957
2957
|
}
|
|
2958
2958
|
}
|
|
@@ -3926,7 +3926,7 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
3926
3926
|
const path_statusEmoji = path + '.statusEmoji';
|
|
3927
3927
|
let obj_statusEmoji_union0 = null;
|
|
3928
3928
|
const obj_statusEmoji_union0_error = (() => {
|
|
3929
|
-
if (typeof obj_statusEmoji !== 'object') {
|
|
3929
|
+
if (typeof obj_statusEmoji !== 'object' || Array.isArray(obj_statusEmoji)) {
|
|
3930
3930
|
return new TypeError('Expected "object" but received "' + typeof obj_statusEmoji + '" (at "' + path_statusEmoji + '")');
|
|
3931
3931
|
}
|
|
3932
3932
|
})();
|
|
@@ -4098,7 +4098,7 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
4098
4098
|
function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
4099
4099
|
const input_statusEmoji = input.statusEmoji;
|
|
4100
4100
|
const input_statusEmoji_id = path.fullPath + '__statusEmoji';
|
|
4101
|
-
if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
|
|
4101
|
+
if (!Array.isArray(input_statusEmoji) && input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
|
|
4102
4102
|
input.statusEmoji = ingest$a(input_statusEmoji, {
|
|
4103
4103
|
fullPath: input_statusEmoji_id,
|
|
4104
4104
|
propertyName: 'statusEmoji',
|
|
@@ -4385,7 +4385,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4385
4385
|
representationName: RepresentationType$9,
|
|
4386
4386
|
mergeable: false
|
|
4387
4387
|
});
|
|
4388
|
-
if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
|
|
4388
|
+
if (!Array.isArray(input.statusEmoji) && input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
|
|
4389
4389
|
getTypeCacheKeys$a(rootKeySet, luvio, input.statusEmoji);
|
|
4390
4390
|
}
|
|
4391
4391
|
}
|
|
@@ -4409,7 +4409,7 @@ function validate$8(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
|
|
|
4409
4409
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
4410
4410
|
const obj_messages_item = obj_messages[i];
|
|
4411
4411
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
4412
|
-
if (typeof obj_messages_item !== 'object') {
|
|
4412
|
+
if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
|
|
4413
4413
|
return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|
|
@@ -4554,7 +4554,7 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
4554
4554
|
const path_contextUserInfo = path + '.contextUserInfo';
|
|
4555
4555
|
let obj_contextUserInfo_union0 = null;
|
|
4556
4556
|
const obj_contextUserInfo_union0_error = (() => {
|
|
4557
|
-
if (typeof obj_contextUserInfo !== 'object') {
|
|
4557
|
+
if (typeof obj_contextUserInfo !== 'object' || Array.isArray(obj_contextUserInfo)) {
|
|
4558
4558
|
return new TypeError('Expected "object" but received "' + typeof obj_contextUserInfo + '" (at "' + path_contextUserInfo + '")');
|
|
4559
4559
|
}
|
|
4560
4560
|
})();
|
|
@@ -4580,7 +4580,7 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
4580
4580
|
const path_conversationInfo = path + '.conversationInfo';
|
|
4581
4581
|
let obj_conversationInfo_union0 = null;
|
|
4582
4582
|
const obj_conversationInfo_union0_error = (() => {
|
|
4583
|
-
if (typeof obj_conversationInfo !== 'object') {
|
|
4583
|
+
if (typeof obj_conversationInfo !== 'object' || Array.isArray(obj_conversationInfo)) {
|
|
4584
4584
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfo + '" (at "' + path_conversationInfo + '")');
|
|
4585
4585
|
}
|
|
4586
4586
|
})();
|
|
@@ -4610,7 +4610,7 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
4610
4610
|
for (let i = 0; i < obj_conversationInfos.length; i++) {
|
|
4611
4611
|
const obj_conversationInfos_item = obj_conversationInfos[i];
|
|
4612
4612
|
const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
|
|
4613
|
-
if (typeof obj_conversationInfos_item !== 'object') {
|
|
4613
|
+
if (typeof obj_conversationInfos_item !== 'object' || Array.isArray(obj_conversationInfos_item)) {
|
|
4614
4614
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
|
|
4615
4615
|
}
|
|
4616
4616
|
}
|
|
@@ -4622,13 +4622,13 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
4622
4622
|
for (let i = 0; i < obj_emojis.length; i++) {
|
|
4623
4623
|
const obj_emojis_item = obj_emojis[i];
|
|
4624
4624
|
const path_emojis_item = path_emojis + '[' + i + ']';
|
|
4625
|
-
if (typeof obj_emojis_item !== 'object') {
|
|
4625
|
+
if (typeof obj_emojis_item !== 'object' || Array.isArray(obj_emojis_item)) {
|
|
4626
4626
|
return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
|
|
4627
4627
|
}
|
|
4628
4628
|
}
|
|
4629
4629
|
const obj_history = obj.history;
|
|
4630
4630
|
const path_history = path + '.history';
|
|
4631
|
-
if (typeof obj_history !== 'object') {
|
|
4631
|
+
if (typeof obj_history !== 'object' || Array.isArray(obj_history)) {
|
|
4632
4632
|
return new TypeError('Expected "object" but received "' + typeof obj_history + '" (at "' + path_history + '")');
|
|
4633
4633
|
}
|
|
4634
4634
|
const obj_teamId = obj.teamId;
|
|
@@ -4670,7 +4670,7 @@ function validate$7(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
4670
4670
|
for (let i = 0; i < obj_userInfos.length; i++) {
|
|
4671
4671
|
const obj_userInfos_item = obj_userInfos[i];
|
|
4672
4672
|
const path_userInfos_item = path_userInfos + '[' + i + ']';
|
|
4673
|
-
if (typeof obj_userInfos_item !== 'object') {
|
|
4673
|
+
if (typeof obj_userInfos_item !== 'object' || Array.isArray(obj_userInfos_item)) {
|
|
4674
4674
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
4675
4675
|
}
|
|
4676
4676
|
}
|
|
@@ -4707,7 +4707,7 @@ const RepresentationType$7 = 'SlackBridgeConversationOutputRepresentation';
|
|
|
4707
4707
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
4708
4708
|
const input_contextUserInfo = input.contextUserInfo;
|
|
4709
4709
|
const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
|
|
4710
|
-
if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
|
|
4710
|
+
if (!Array.isArray(input_contextUserInfo) && input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
|
|
4711
4711
|
input.contextUserInfo = ingest$9(input_contextUserInfo, {
|
|
4712
4712
|
fullPath: input_contextUserInfo_id,
|
|
4713
4713
|
propertyName: 'contextUserInfo',
|
|
@@ -4721,7 +4721,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
|
4721
4721
|
}
|
|
4722
4722
|
const input_conversationInfo = input.conversationInfo;
|
|
4723
4723
|
const input_conversationInfo_id = path.fullPath + '__conversationInfo';
|
|
4724
|
-
if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
|
|
4724
|
+
if (!Array.isArray(input_conversationInfo) && input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
|
|
4725
4725
|
input.conversationInfo = ingest$e(input_conversationInfo, {
|
|
4726
4726
|
fullPath: input_conversationInfo_id,
|
|
4727
4727
|
propertyName: 'conversationInfo',
|
|
@@ -4962,10 +4962,10 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4962
4962
|
representationName: RepresentationType$7,
|
|
4963
4963
|
mergeable: false
|
|
4964
4964
|
});
|
|
4965
|
-
if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
|
|
4965
|
+
if (!Array.isArray(input.contextUserInfo) && input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
|
|
4966
4966
|
getTypeCacheKeys$9(rootKeySet, luvio, input.contextUserInfo);
|
|
4967
4967
|
}
|
|
4968
|
-
if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
|
|
4968
|
+
if (!Array.isArray(input.conversationInfo) && input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
|
|
4969
4969
|
getTypeCacheKeys$e(rootKeySet, luvio, input.conversationInfo);
|
|
4970
4970
|
}
|
|
4971
4971
|
const input_conversationInfos_length = input.conversationInfos.length;
|
|
@@ -5319,7 +5319,7 @@ function validate$6(obj, path = 'SlackBridgeConversationInfosOutputRepresentatio
|
|
|
5319
5319
|
for (let i = 0; i < obj_conversationInfos.length; i++) {
|
|
5320
5320
|
const obj_conversationInfos_item = obj_conversationInfos[i];
|
|
5321
5321
|
const path_conversationInfos_item = path_conversationInfos + '[' + i + ']';
|
|
5322
|
-
if (typeof obj_conversationInfos_item !== 'object') {
|
|
5322
|
+
if (typeof obj_conversationInfos_item !== 'object' || Array.isArray(obj_conversationInfos_item)) {
|
|
5323
5323
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfos_item + '" (at "' + path_conversationInfos_item + '")');
|
|
5324
5324
|
}
|
|
5325
5325
|
}
|
|
@@ -6239,7 +6239,7 @@ function validate$4(obj, path = 'SlackBridgeEmojisOutputRepresentation') {
|
|
|
6239
6239
|
for (let i = 0; i < obj_emojis.length; i++) {
|
|
6240
6240
|
const obj_emojis_item = obj_emojis[i];
|
|
6241
6241
|
const path_emojis_item = path_emojis + '[' + i + ']';
|
|
6242
|
-
if (typeof obj_emojis_item !== 'object') {
|
|
6242
|
+
if (typeof obj_emojis_item !== 'object' || Array.isArray(obj_emojis_item)) {
|
|
6243
6243
|
return new TypeError('Expected "object" but received "' + typeof obj_emojis_item + '" (at "' + path_emojis_item + '")');
|
|
6244
6244
|
}
|
|
6245
6245
|
}
|
|
@@ -6633,7 +6633,7 @@ function validate$3(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
|
|
|
6633
6633
|
}
|
|
6634
6634
|
const obj_conversationInfo = obj.conversationInfo;
|
|
6635
6635
|
const path_conversationInfo = path + '.conversationInfo';
|
|
6636
|
-
if (typeof obj_conversationInfo !== 'object') {
|
|
6636
|
+
if (typeof obj_conversationInfo !== 'object' || Array.isArray(obj_conversationInfo)) {
|
|
6637
6637
|
return new TypeError('Expected "object" but received "' + typeof obj_conversationInfo + '" (at "' + path_conversationInfo + '")');
|
|
6638
6638
|
}
|
|
6639
6639
|
const obj_relatedRecordId = obj.relatedRecordId;
|
|
@@ -7239,7 +7239,7 @@ function validate$2(obj, path = 'SlackBridgeUserInfosOutputRepresentation') {
|
|
|
7239
7239
|
for (let i = 0; i < obj_userInfos.length; i++) {
|
|
7240
7240
|
const obj_userInfos_item = obj_userInfos[i];
|
|
7241
7241
|
const path_userInfos_item = path_userInfos + '[' + i + ']';
|
|
7242
|
-
if (typeof obj_userInfos_item !== 'object') {
|
|
7242
|
+
if (typeof obj_userInfos_item !== 'object' || Array.isArray(obj_userInfos_item)) {
|
|
7243
7243
|
return new TypeError('Expected "object" but received "' + typeof obj_userInfos_item + '" (at "' + path_userInfos_item + '")');
|
|
7244
7244
|
}
|
|
7245
7245
|
}
|
|
@@ -7762,7 +7762,7 @@ function validate$1(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
|
|
|
7762
7762
|
}
|
|
7763
7763
|
const obj_postedMessage = obj.postedMessage;
|
|
7764
7764
|
const path_postedMessage = path + '.postedMessage';
|
|
7765
|
-
if (typeof obj_postedMessage !== 'object') {
|
|
7765
|
+
if (typeof obj_postedMessage !== 'object' || Array.isArray(obj_postedMessage)) {
|
|
7766
7766
|
return new TypeError('Expected "object" but received "' + typeof obj_postedMessage + '" (at "' + path_postedMessage + '")');
|
|
7767
7767
|
}
|
|
7768
7768
|
const obj_timestamp = obj.timestamp;
|
|
@@ -8717,4 +8717,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8717
8717
|
});
|
|
8718
8718
|
|
|
8719
8719
|
export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationInfo, getSlackConversationInfoNotifyChange, getSlackConversationInfo_imperative, getSlackConversationInfos, getSlackConversationInfos_imperative, 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 };
|
|
8720
|
-
// version: 1.
|
|
8720
|
+
// version: 1.362.0-d2e818ae61
|