@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev15 → 1.332.0-dev17
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.
|
@@ -495,7 +495,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
const TTL = 600000;
|
|
498
|
-
const VERSION$j = "
|
|
498
|
+
const VERSION$j = "ffc32ae0451b10824fba0c96aa0d2115";
|
|
499
499
|
function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
500
500
|
const v_error = (() => {
|
|
501
501
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -558,31 +558,33 @@ function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
558
558
|
message += '\n' + obj_email_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
559
559
|
return new TypeError(message);
|
|
560
560
|
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
561
|
+
if (obj.image24 !== undefined) {
|
|
562
|
+
const obj_image24 = obj.image24;
|
|
563
|
+
const path_image24 = path + '.image24';
|
|
564
|
+
let obj_image24_union0 = null;
|
|
565
|
+
const obj_image24_union0_error = (() => {
|
|
566
|
+
if (typeof obj_image24 !== 'string') {
|
|
567
|
+
return new TypeError('Expected "string" but received "' + typeof obj_image24 + '" (at "' + path_image24 + '")');
|
|
568
|
+
}
|
|
569
|
+
})();
|
|
570
|
+
if (obj_image24_union0_error != null) {
|
|
571
|
+
obj_image24_union0 = obj_image24_union0_error.message;
|
|
572
|
+
}
|
|
573
|
+
let obj_image24_union1 = null;
|
|
574
|
+
const obj_image24_union1_error = (() => {
|
|
575
|
+
if (obj_image24 !== null) {
|
|
576
|
+
return new TypeError('Expected "null" but received "' + typeof obj_image24 + '" (at "' + path_image24 + '")');
|
|
577
|
+
}
|
|
578
|
+
})();
|
|
579
|
+
if (obj_image24_union1_error != null) {
|
|
580
|
+
obj_image24_union1 = obj_image24_union1_error.message;
|
|
581
|
+
}
|
|
582
|
+
if (obj_image24_union0 && obj_image24_union1) {
|
|
583
|
+
let message = 'Object doesn\'t match union (at "' + path_image24 + '")';
|
|
584
|
+
message += '\n' + obj_image24_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
585
|
+
message += '\n' + obj_image24_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
586
|
+
return new TypeError(message);
|
|
576
587
|
}
|
|
577
|
-
})();
|
|
578
|
-
if (obj_image24_union1_error != null) {
|
|
579
|
-
obj_image24_union1 = obj_image24_union1_error.message;
|
|
580
|
-
}
|
|
581
|
-
if (obj_image24_union0 && obj_image24_union1) {
|
|
582
|
-
let message = 'Object doesn\'t match union (at "' + path_image24 + '")';
|
|
583
|
-
message += '\n' + obj_image24_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
584
|
-
message += '\n' + obj_image24_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
585
|
-
return new TypeError(message);
|
|
586
588
|
}
|
|
587
589
|
const obj_imageOriginal = obj.imageOriginal;
|
|
588
590
|
const path_imageOriginal = path + '.imageOriginal';
|
|
@@ -688,11 +690,46 @@ function validate$j(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
688
690
|
message += '\n' + obj_isExternal_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
689
691
|
return new TypeError(message);
|
|
690
692
|
}
|
|
693
|
+
if (obj.isWorkflowBot !== undefined) {
|
|
694
|
+
const obj_isWorkflowBot = obj.isWorkflowBot;
|
|
695
|
+
const path_isWorkflowBot = path + '.isWorkflowBot';
|
|
696
|
+
if (typeof obj_isWorkflowBot !== 'boolean') {
|
|
697
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isWorkflowBot + '" (at "' + path_isWorkflowBot + '")');
|
|
698
|
+
}
|
|
699
|
+
}
|
|
691
700
|
const obj_name = obj.name;
|
|
692
701
|
const path_name = path + '.name';
|
|
693
702
|
if (typeof obj_name !== 'string') {
|
|
694
703
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
695
704
|
}
|
|
705
|
+
if (obj.profileImage !== undefined) {
|
|
706
|
+
const obj_profileImage = obj.profileImage;
|
|
707
|
+
const path_profileImage = path + '.profileImage';
|
|
708
|
+
let obj_profileImage_union0 = null;
|
|
709
|
+
const obj_profileImage_union0_error = (() => {
|
|
710
|
+
if (typeof obj_profileImage !== 'string') {
|
|
711
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profileImage + '" (at "' + path_profileImage + '")');
|
|
712
|
+
}
|
|
713
|
+
})();
|
|
714
|
+
if (obj_profileImage_union0_error != null) {
|
|
715
|
+
obj_profileImage_union0 = obj_profileImage_union0_error.message;
|
|
716
|
+
}
|
|
717
|
+
let obj_profileImage_union1 = null;
|
|
718
|
+
const obj_profileImage_union1_error = (() => {
|
|
719
|
+
if (obj_profileImage !== null) {
|
|
720
|
+
return new TypeError('Expected "null" but received "' + typeof obj_profileImage + '" (at "' + path_profileImage + '")');
|
|
721
|
+
}
|
|
722
|
+
})();
|
|
723
|
+
if (obj_profileImage_union1_error != null) {
|
|
724
|
+
obj_profileImage_union1 = obj_profileImage_union1_error.message;
|
|
725
|
+
}
|
|
726
|
+
if (obj_profileImage_union0 && obj_profileImage_union1) {
|
|
727
|
+
let message = 'Object doesn\'t match union (at "' + path_profileImage + '")';
|
|
728
|
+
message += '\n' + obj_profileImage_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
729
|
+
message += '\n' + obj_profileImage_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
730
|
+
return new TypeError(message);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
696
733
|
const obj_profileUrl = obj.profileUrl;
|
|
697
734
|
const path_profileUrl = path + '.profileUrl';
|
|
698
735
|
let obj_profileUrl_union0 = null;
|
|
@@ -910,7 +947,8 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
910
947
|
},
|
|
911
948
|
{
|
|
912
949
|
name: 'image24',
|
|
913
|
-
kind: 'Scalar'
|
|
950
|
+
kind: 'Scalar',
|
|
951
|
+
required: false
|
|
914
952
|
},
|
|
915
953
|
{
|
|
916
954
|
name: 'imageOriginal',
|
|
@@ -928,10 +966,20 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
928
966
|
name: 'isExternal',
|
|
929
967
|
kind: 'Scalar'
|
|
930
968
|
},
|
|
969
|
+
{
|
|
970
|
+
name: 'isWorkflowBot',
|
|
971
|
+
kind: 'Scalar',
|
|
972
|
+
required: false
|
|
973
|
+
},
|
|
931
974
|
{
|
|
932
975
|
name: 'name',
|
|
933
976
|
kind: 'Scalar'
|
|
934
977
|
},
|
|
978
|
+
{
|
|
979
|
+
name: 'profileImage',
|
|
980
|
+
kind: 'Scalar',
|
|
981
|
+
required: false
|
|
982
|
+
},
|
|
935
983
|
{
|
|
936
984
|
name: 'profileUrl',
|
|
937
985
|
kind: 'Scalar'
|
|
@@ -975,6 +1023,19 @@ function equals$j(existing, incoming) {
|
|
|
975
1023
|
if (!(existing_bot === incoming_bot)) {
|
|
976
1024
|
return false;
|
|
977
1025
|
}
|
|
1026
|
+
const existing_isWorkflowBot = existing.isWorkflowBot;
|
|
1027
|
+
const incoming_isWorkflowBot = incoming.isWorkflowBot;
|
|
1028
|
+
// if at least one of these optionals is defined
|
|
1029
|
+
if (existing_isWorkflowBot !== undefined || incoming_isWorkflowBot !== undefined) {
|
|
1030
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1031
|
+
// not equal
|
|
1032
|
+
if (existing_isWorkflowBot === undefined || incoming_isWorkflowBot === undefined) {
|
|
1033
|
+
return false;
|
|
1034
|
+
}
|
|
1035
|
+
if (!(existing_isWorkflowBot === incoming_isWorkflowBot)) {
|
|
1036
|
+
return false;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
978
1039
|
const existing_name = existing.name;
|
|
979
1040
|
const incoming_name = incoming.name;
|
|
980
1041
|
if (!(existing_name === incoming_name)) {
|
|
@@ -1002,8 +1063,16 @@ function equals$j(existing, incoming) {
|
|
|
1002
1063
|
}
|
|
1003
1064
|
const existing_image24 = existing.image24;
|
|
1004
1065
|
const incoming_image24 = incoming.image24;
|
|
1005
|
-
if
|
|
1006
|
-
|
|
1066
|
+
// if at least one of these optionals is defined
|
|
1067
|
+
if (existing_image24 !== undefined || incoming_image24 !== undefined) {
|
|
1068
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1069
|
+
// not equal
|
|
1070
|
+
if (existing_image24 === undefined || incoming_image24 === undefined) {
|
|
1071
|
+
return false;
|
|
1072
|
+
}
|
|
1073
|
+
if (!(existing_image24 === incoming_image24)) {
|
|
1074
|
+
return false;
|
|
1075
|
+
}
|
|
1007
1076
|
}
|
|
1008
1077
|
const existing_imageOriginal = existing.imageOriginal;
|
|
1009
1078
|
const incoming_imageOriginal = incoming.imageOriginal;
|
|
@@ -1025,6 +1094,19 @@ function equals$j(existing, incoming) {
|
|
|
1025
1094
|
if (!(existing_isExternal === incoming_isExternal)) {
|
|
1026
1095
|
return false;
|
|
1027
1096
|
}
|
|
1097
|
+
const existing_profileImage = existing.profileImage;
|
|
1098
|
+
const incoming_profileImage = incoming.profileImage;
|
|
1099
|
+
// if at least one of these optionals is defined
|
|
1100
|
+
if (existing_profileImage !== undefined || incoming_profileImage !== undefined) {
|
|
1101
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1102
|
+
// not equal
|
|
1103
|
+
if (existing_profileImage === undefined || incoming_profileImage === undefined) {
|
|
1104
|
+
return false;
|
|
1105
|
+
}
|
|
1106
|
+
if (!(existing_profileImage === incoming_profileImage)) {
|
|
1107
|
+
return false;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1028
1110
|
const existing_profileUrl = existing.profileUrl;
|
|
1029
1111
|
const incoming_profileUrl = incoming.profileUrl;
|
|
1030
1112
|
if (!(existing_profileUrl === incoming_profileUrl)) {
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
2
|
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
3
3
|
export declare const TTL = 600000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "ffc32ae0451b10824fba0c96aa0d2115";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -43,7 +43,7 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
43
43
|
/** Email of the Slack User */
|
|
44
44
|
email: string | null;
|
|
45
45
|
/** 24x24 version of the Slack User image */
|
|
46
|
-
image24
|
|
46
|
+
image24?: string | null;
|
|
47
47
|
/** Original version of the Slack User image */
|
|
48
48
|
imageOriginal: string | null;
|
|
49
49
|
/** Is this Slack User currently in a Huddle? */
|
|
@@ -52,8 +52,12 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
52
52
|
isActive: boolean | null;
|
|
53
53
|
/** Is Slack User external? */
|
|
54
54
|
isExternal: boolean | null;
|
|
55
|
+
/** Is this a Workflow Bot? */
|
|
56
|
+
isWorkflowBot?: boolean;
|
|
55
57
|
/** Name of the Slack User */
|
|
56
58
|
name: string;
|
|
59
|
+
/** Profile image used for this Slack user */
|
|
60
|
+
profileImage?: string | null;
|
|
57
61
|
/** User Profile url */
|
|
58
62
|
profileUrl: string | null;
|
|
59
63
|
/** Real Name of the Slack User */
|
|
@@ -82,12 +86,14 @@ export interface SlackBridgeUserInfoOutputRepresentation {
|
|
|
82
86
|
bot: boolean;
|
|
83
87
|
displayName: string | null;
|
|
84
88
|
email: string | null;
|
|
85
|
-
image24
|
|
89
|
+
image24?: string | null;
|
|
86
90
|
imageOriginal: string | null;
|
|
87
91
|
inHuddle: boolean | null;
|
|
88
92
|
isActive: boolean | null;
|
|
89
93
|
isExternal: boolean | null;
|
|
94
|
+
isWorkflowBot?: boolean;
|
|
90
95
|
name: string;
|
|
96
|
+
profileImage?: string | null;
|
|
91
97
|
profileUrl: string | null;
|
|
92
98
|
realName: string | null;
|
|
93
99
|
salesforceUserId: string | null;
|
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-dev17",
|
|
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-dev17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev17"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1209,7 +1209,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
1211
|
const TTL = 600000;
|
|
1212
|
-
const VERSION$f = "
|
|
1212
|
+
const VERSION$f = "ffc32ae0451b10824fba0c96aa0d2115";
|
|
1213
1213
|
function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
1214
1214
|
const v_error = (() => {
|
|
1215
1215
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1272,31 +1272,33 @@ function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
1272
1272
|
message += '\n' + obj_email_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1273
1273
|
return new TypeError(message);
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1275
|
+
if (obj.image24 !== undefined) {
|
|
1276
|
+
const obj_image24 = obj.image24;
|
|
1277
|
+
const path_image24 = path + '.image24';
|
|
1278
|
+
let obj_image24_union0 = null;
|
|
1279
|
+
const obj_image24_union0_error = (() => {
|
|
1280
|
+
if (typeof obj_image24 !== 'string') {
|
|
1281
|
+
return new TypeError('Expected "string" but received "' + typeof obj_image24 + '" (at "' + path_image24 + '")');
|
|
1282
|
+
}
|
|
1283
|
+
})();
|
|
1284
|
+
if (obj_image24_union0_error != null) {
|
|
1285
|
+
obj_image24_union0 = obj_image24_union0_error.message;
|
|
1286
|
+
}
|
|
1287
|
+
let obj_image24_union1 = null;
|
|
1288
|
+
const obj_image24_union1_error = (() => {
|
|
1289
|
+
if (obj_image24 !== null) {
|
|
1290
|
+
return new TypeError('Expected "null" but received "' + typeof obj_image24 + '" (at "' + path_image24 + '")');
|
|
1291
|
+
}
|
|
1292
|
+
})();
|
|
1293
|
+
if (obj_image24_union1_error != null) {
|
|
1294
|
+
obj_image24_union1 = obj_image24_union1_error.message;
|
|
1295
|
+
}
|
|
1296
|
+
if (obj_image24_union0 && obj_image24_union1) {
|
|
1297
|
+
let message = 'Object doesn\'t match union (at "' + path_image24 + '")';
|
|
1298
|
+
message += '\n' + obj_image24_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1299
|
+
message += '\n' + obj_image24_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1300
|
+
return new TypeError(message);
|
|
1290
1301
|
}
|
|
1291
|
-
})();
|
|
1292
|
-
if (obj_image24_union1_error != null) {
|
|
1293
|
-
obj_image24_union1 = obj_image24_union1_error.message;
|
|
1294
|
-
}
|
|
1295
|
-
if (obj_image24_union0 && obj_image24_union1) {
|
|
1296
|
-
let message = 'Object doesn\'t match union (at "' + path_image24 + '")';
|
|
1297
|
-
message += '\n' + obj_image24_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1298
|
-
message += '\n' + obj_image24_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1299
|
-
return new TypeError(message);
|
|
1300
1302
|
}
|
|
1301
1303
|
const obj_imageOriginal = obj.imageOriginal;
|
|
1302
1304
|
const path_imageOriginal = path + '.imageOriginal';
|
|
@@ -1402,11 +1404,46 @@ function validate$f(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
1402
1404
|
message += '\n' + obj_isExternal_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1403
1405
|
return new TypeError(message);
|
|
1404
1406
|
}
|
|
1407
|
+
if (obj.isWorkflowBot !== undefined) {
|
|
1408
|
+
const obj_isWorkflowBot = obj.isWorkflowBot;
|
|
1409
|
+
const path_isWorkflowBot = path + '.isWorkflowBot';
|
|
1410
|
+
if (typeof obj_isWorkflowBot !== 'boolean') {
|
|
1411
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isWorkflowBot + '" (at "' + path_isWorkflowBot + '")');
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1405
1414
|
const obj_name = obj.name;
|
|
1406
1415
|
const path_name = path + '.name';
|
|
1407
1416
|
if (typeof obj_name !== 'string') {
|
|
1408
1417
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1409
1418
|
}
|
|
1419
|
+
if (obj.profileImage !== undefined) {
|
|
1420
|
+
const obj_profileImage = obj.profileImage;
|
|
1421
|
+
const path_profileImage = path + '.profileImage';
|
|
1422
|
+
let obj_profileImage_union0 = null;
|
|
1423
|
+
const obj_profileImage_union0_error = (() => {
|
|
1424
|
+
if (typeof obj_profileImage !== 'string') {
|
|
1425
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profileImage + '" (at "' + path_profileImage + '")');
|
|
1426
|
+
}
|
|
1427
|
+
})();
|
|
1428
|
+
if (obj_profileImage_union0_error != null) {
|
|
1429
|
+
obj_profileImage_union0 = obj_profileImage_union0_error.message;
|
|
1430
|
+
}
|
|
1431
|
+
let obj_profileImage_union1 = null;
|
|
1432
|
+
const obj_profileImage_union1_error = (() => {
|
|
1433
|
+
if (obj_profileImage !== null) {
|
|
1434
|
+
return new TypeError('Expected "null" but received "' + typeof obj_profileImage + '" (at "' + path_profileImage + '")');
|
|
1435
|
+
}
|
|
1436
|
+
})();
|
|
1437
|
+
if (obj_profileImage_union1_error != null) {
|
|
1438
|
+
obj_profileImage_union1 = obj_profileImage_union1_error.message;
|
|
1439
|
+
}
|
|
1440
|
+
if (obj_profileImage_union0 && obj_profileImage_union1) {
|
|
1441
|
+
let message = 'Object doesn\'t match union (at "' + path_profileImage + '")';
|
|
1442
|
+
message += '\n' + obj_profileImage_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1443
|
+
message += '\n' + obj_profileImage_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1444
|
+
return new TypeError(message);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1410
1447
|
const obj_profileUrl = obj.profileUrl;
|
|
1411
1448
|
const path_profileUrl = path + '.profileUrl';
|
|
1412
1449
|
let obj_profileUrl_union0 = null;
|
|
@@ -1624,7 +1661,8 @@ const select$x = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1624
1661
|
},
|
|
1625
1662
|
{
|
|
1626
1663
|
name: 'image24',
|
|
1627
|
-
kind: 'Scalar'
|
|
1664
|
+
kind: 'Scalar',
|
|
1665
|
+
required: false
|
|
1628
1666
|
},
|
|
1629
1667
|
{
|
|
1630
1668
|
name: 'imageOriginal',
|
|
@@ -1642,10 +1680,20 @@ const select$x = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1642
1680
|
name: 'isExternal',
|
|
1643
1681
|
kind: 'Scalar'
|
|
1644
1682
|
},
|
|
1683
|
+
{
|
|
1684
|
+
name: 'isWorkflowBot',
|
|
1685
|
+
kind: 'Scalar',
|
|
1686
|
+
required: false
|
|
1687
|
+
},
|
|
1645
1688
|
{
|
|
1646
1689
|
name: 'name',
|
|
1647
1690
|
kind: 'Scalar'
|
|
1648
1691
|
},
|
|
1692
|
+
{
|
|
1693
|
+
name: 'profileImage',
|
|
1694
|
+
kind: 'Scalar',
|
|
1695
|
+
required: false
|
|
1696
|
+
},
|
|
1649
1697
|
{
|
|
1650
1698
|
name: 'profileUrl',
|
|
1651
1699
|
kind: 'Scalar'
|
|
@@ -1689,6 +1737,19 @@ function equals$f(existing, incoming) {
|
|
|
1689
1737
|
if (!(existing_bot === incoming_bot)) {
|
|
1690
1738
|
return false;
|
|
1691
1739
|
}
|
|
1740
|
+
const existing_isWorkflowBot = existing.isWorkflowBot;
|
|
1741
|
+
const incoming_isWorkflowBot = incoming.isWorkflowBot;
|
|
1742
|
+
// if at least one of these optionals is defined
|
|
1743
|
+
if (existing_isWorkflowBot !== undefined || incoming_isWorkflowBot !== undefined) {
|
|
1744
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1745
|
+
// not equal
|
|
1746
|
+
if (existing_isWorkflowBot === undefined || incoming_isWorkflowBot === undefined) {
|
|
1747
|
+
return false;
|
|
1748
|
+
}
|
|
1749
|
+
if (!(existing_isWorkflowBot === incoming_isWorkflowBot)) {
|
|
1750
|
+
return false;
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1692
1753
|
const existing_name = existing.name;
|
|
1693
1754
|
const incoming_name = incoming.name;
|
|
1694
1755
|
if (!(existing_name === incoming_name)) {
|
|
@@ -1716,8 +1777,16 @@ function equals$f(existing, incoming) {
|
|
|
1716
1777
|
}
|
|
1717
1778
|
const existing_image24 = existing.image24;
|
|
1718
1779
|
const incoming_image24 = incoming.image24;
|
|
1719
|
-
if
|
|
1720
|
-
|
|
1780
|
+
// if at least one of these optionals is defined
|
|
1781
|
+
if (existing_image24 !== undefined || incoming_image24 !== undefined) {
|
|
1782
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1783
|
+
// not equal
|
|
1784
|
+
if (existing_image24 === undefined || incoming_image24 === undefined) {
|
|
1785
|
+
return false;
|
|
1786
|
+
}
|
|
1787
|
+
if (!(existing_image24 === incoming_image24)) {
|
|
1788
|
+
return false;
|
|
1789
|
+
}
|
|
1721
1790
|
}
|
|
1722
1791
|
const existing_imageOriginal = existing.imageOriginal;
|
|
1723
1792
|
const incoming_imageOriginal = incoming.imageOriginal;
|
|
@@ -1739,6 +1808,19 @@ function equals$f(existing, incoming) {
|
|
|
1739
1808
|
if (!(existing_isExternal === incoming_isExternal)) {
|
|
1740
1809
|
return false;
|
|
1741
1810
|
}
|
|
1811
|
+
const existing_profileImage = existing.profileImage;
|
|
1812
|
+
const incoming_profileImage = incoming.profileImage;
|
|
1813
|
+
// if at least one of these optionals is defined
|
|
1814
|
+
if (existing_profileImage !== undefined || incoming_profileImage !== undefined) {
|
|
1815
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1816
|
+
// not equal
|
|
1817
|
+
if (existing_profileImage === undefined || incoming_profileImage === undefined) {
|
|
1818
|
+
return false;
|
|
1819
|
+
}
|
|
1820
|
+
if (!(existing_profileImage === incoming_profileImage)) {
|
|
1821
|
+
return false;
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1742
1824
|
const existing_profileUrl = existing.profileUrl;
|
|
1743
1825
|
const incoming_profileUrl = incoming.profileUrl;
|
|
1744
1826
|
if (!(existing_profileUrl === incoming_profileUrl)) {
|
|
@@ -7433,4 +7515,4 @@ withDefaultLuvio((luvio) => {
|
|
|
7433
7515
|
});
|
|
7434
7516
|
|
|
7435
7517
|
export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, 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 };
|
|
7436
|
-
// version: 1.332.0-
|
|
7518
|
+
// version: 1.332.0-dev17-75a56cc45d
|
package/src/raml/api.raml
CHANGED
|
@@ -583,10 +583,15 @@ types:
|
|
|
583
583
|
type: string | nil
|
|
584
584
|
image24:
|
|
585
585
|
description: 24x24 version of the Slack User image
|
|
586
|
+
required: false
|
|
586
587
|
type: string | nil
|
|
587
588
|
imageOriginal:
|
|
588
589
|
description: Original version of the Slack User image
|
|
589
590
|
type: string | nil
|
|
591
|
+
profileImage:
|
|
592
|
+
description: Profile image used for this Slack user
|
|
593
|
+
required: false
|
|
594
|
+
type: string | nil
|
|
590
595
|
inHuddle:
|
|
591
596
|
description: Is this Slack User currently in a Huddle?
|
|
592
597
|
type: boolean | nil
|
|
@@ -596,6 +601,10 @@ types:
|
|
|
596
601
|
isExternal:
|
|
597
602
|
description: Is Slack User external?
|
|
598
603
|
type: boolean | nil
|
|
604
|
+
isWorkflowBot:
|
|
605
|
+
description: Is this a Workflow Bot?
|
|
606
|
+
required: false
|
|
607
|
+
type: boolean
|
|
599
608
|
name:
|
|
600
609
|
description: Name of the Slack User
|
|
601
610
|
type: string
|