@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev16 → 1.380.0-dev18
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.
|
@@ -601,7 +601,7 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
const TTL$6 = 900000;
|
|
604
|
-
const VERSION$s = "
|
|
604
|
+
const VERSION$s = "1e8c98f3906ef9aad86040f5e4623d48";
|
|
605
605
|
function validate$s(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
606
606
|
const v_error = (() => {
|
|
607
607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -695,6 +695,62 @@ function validate$s(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
695
695
|
return new TypeError(message);
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
+
if (obj.huddleState !== undefined) {
|
|
699
|
+
const obj_huddleState = obj.huddleState;
|
|
700
|
+
const path_huddleState = path + '.huddleState';
|
|
701
|
+
let obj_huddleState_union0 = null;
|
|
702
|
+
const obj_huddleState_union0_error = (() => {
|
|
703
|
+
if (typeof obj_huddleState !== 'string') {
|
|
704
|
+
return new TypeError('Expected "string" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
|
|
705
|
+
}
|
|
706
|
+
})();
|
|
707
|
+
if (obj_huddleState_union0_error != null) {
|
|
708
|
+
obj_huddleState_union0 = obj_huddleState_union0_error.message;
|
|
709
|
+
}
|
|
710
|
+
let obj_huddleState_union1 = null;
|
|
711
|
+
const obj_huddleState_union1_error = (() => {
|
|
712
|
+
if (obj_huddleState !== null) {
|
|
713
|
+
return new TypeError('Expected "null" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
|
|
714
|
+
}
|
|
715
|
+
})();
|
|
716
|
+
if (obj_huddleState_union1_error != null) {
|
|
717
|
+
obj_huddleState_union1 = obj_huddleState_union1_error.message;
|
|
718
|
+
}
|
|
719
|
+
if (obj_huddleState_union0 && obj_huddleState_union1) {
|
|
720
|
+
let message = 'Object doesn\'t match union (at "' + path_huddleState + '")';
|
|
721
|
+
message += '\n' + obj_huddleState_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
722
|
+
message += '\n' + obj_huddleState_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
723
|
+
return new TypeError(message);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
if (obj.huddleStateExpirationTs !== undefined) {
|
|
727
|
+
const obj_huddleStateExpirationTs = obj.huddleStateExpirationTs;
|
|
728
|
+
const path_huddleStateExpirationTs = path + '.huddleStateExpirationTs';
|
|
729
|
+
let obj_huddleStateExpirationTs_union0 = null;
|
|
730
|
+
const obj_huddleStateExpirationTs_union0_error = (() => {
|
|
731
|
+
if (typeof obj_huddleStateExpirationTs !== 'number' || (typeof obj_huddleStateExpirationTs === 'number' && Math.floor(obj_huddleStateExpirationTs) !== obj_huddleStateExpirationTs)) {
|
|
732
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
|
|
733
|
+
}
|
|
734
|
+
})();
|
|
735
|
+
if (obj_huddleStateExpirationTs_union0_error != null) {
|
|
736
|
+
obj_huddleStateExpirationTs_union0 = obj_huddleStateExpirationTs_union0_error.message;
|
|
737
|
+
}
|
|
738
|
+
let obj_huddleStateExpirationTs_union1 = null;
|
|
739
|
+
const obj_huddleStateExpirationTs_union1_error = (() => {
|
|
740
|
+
if (obj_huddleStateExpirationTs !== null) {
|
|
741
|
+
return new TypeError('Expected "null" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
|
|
742
|
+
}
|
|
743
|
+
})();
|
|
744
|
+
if (obj_huddleStateExpirationTs_union1_error != null) {
|
|
745
|
+
obj_huddleStateExpirationTs_union1 = obj_huddleStateExpirationTs_union1_error.message;
|
|
746
|
+
}
|
|
747
|
+
if (obj_huddleStateExpirationTs_union0 && obj_huddleStateExpirationTs_union1) {
|
|
748
|
+
let message = 'Object doesn\'t match union (at "' + path_huddleStateExpirationTs + '")';
|
|
749
|
+
message += '\n' + obj_huddleStateExpirationTs_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
750
|
+
message += '\n' + obj_huddleStateExpirationTs_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
751
|
+
return new TypeError(message);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
698
754
|
if (obj.image24 !== undefined) {
|
|
699
755
|
const obj_image24 = obj.image24;
|
|
700
756
|
const path_image24 = path + '.image24';
|
|
@@ -749,32 +805,6 @@ function validate$s(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
749
805
|
message += '\n' + obj_imageOriginal_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
750
806
|
return new TypeError(message);
|
|
751
807
|
}
|
|
752
|
-
const obj_inHuddle = obj.inHuddle;
|
|
753
|
-
const path_inHuddle = path + '.inHuddle';
|
|
754
|
-
let obj_inHuddle_union0 = null;
|
|
755
|
-
const obj_inHuddle_union0_error = (() => {
|
|
756
|
-
if (typeof obj_inHuddle !== 'boolean') {
|
|
757
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
|
|
758
|
-
}
|
|
759
|
-
})();
|
|
760
|
-
if (obj_inHuddle_union0_error != null) {
|
|
761
|
-
obj_inHuddle_union0 = obj_inHuddle_union0_error.message;
|
|
762
|
-
}
|
|
763
|
-
let obj_inHuddle_union1 = null;
|
|
764
|
-
const obj_inHuddle_union1_error = (() => {
|
|
765
|
-
if (obj_inHuddle !== null) {
|
|
766
|
-
return new TypeError('Expected "null" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
|
|
767
|
-
}
|
|
768
|
-
})();
|
|
769
|
-
if (obj_inHuddle_union1_error != null) {
|
|
770
|
-
obj_inHuddle_union1 = obj_inHuddle_union1_error.message;
|
|
771
|
-
}
|
|
772
|
-
if (obj_inHuddle_union0 && obj_inHuddle_union1) {
|
|
773
|
-
let message = 'Object doesn\'t match union (at "' + path_inHuddle + '")';
|
|
774
|
-
message += '\n' + obj_inHuddle_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
775
|
-
message += '\n' + obj_inHuddle_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
776
|
-
return new TypeError(message);
|
|
777
|
-
}
|
|
778
808
|
const obj_isActive = obj.isActive;
|
|
779
809
|
const path_isActive = path + '.isActive';
|
|
780
810
|
let obj_isActive_union0 = null;
|
|
@@ -1197,16 +1227,22 @@ const select$Q = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1197
1227
|
required: false
|
|
1198
1228
|
},
|
|
1199
1229
|
{
|
|
1200
|
-
name: '
|
|
1230
|
+
name: 'huddleState',
|
|
1201
1231
|
kind: 'Scalar',
|
|
1202
1232
|
required: false
|
|
1203
1233
|
},
|
|
1204
1234
|
{
|
|
1205
|
-
name: '
|
|
1206
|
-
kind: 'Scalar'
|
|
1235
|
+
name: 'huddleStateExpirationTs',
|
|
1236
|
+
kind: 'Scalar',
|
|
1237
|
+
required: false
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
name: 'image24',
|
|
1241
|
+
kind: 'Scalar',
|
|
1242
|
+
required: false
|
|
1207
1243
|
},
|
|
1208
1244
|
{
|
|
1209
|
-
name: '
|
|
1245
|
+
name: 'imageOriginal',
|
|
1210
1246
|
kind: 'Scalar'
|
|
1211
1247
|
},
|
|
1212
1248
|
{
|
|
@@ -1387,6 +1423,32 @@ function equals$s(existing, incoming) {
|
|
|
1387
1423
|
return false;
|
|
1388
1424
|
}
|
|
1389
1425
|
}
|
|
1426
|
+
const existing_huddleState = existing.huddleState;
|
|
1427
|
+
const incoming_huddleState = incoming.huddleState;
|
|
1428
|
+
// if at least one of these optionals is defined
|
|
1429
|
+
if (existing_huddleState !== undefined || incoming_huddleState !== undefined) {
|
|
1430
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1431
|
+
// not equal
|
|
1432
|
+
if (existing_huddleState === undefined || incoming_huddleState === undefined) {
|
|
1433
|
+
return false;
|
|
1434
|
+
}
|
|
1435
|
+
if (!(existing_huddleState === incoming_huddleState)) {
|
|
1436
|
+
return false;
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
const existing_huddleStateExpirationTs = existing.huddleStateExpirationTs;
|
|
1440
|
+
const incoming_huddleStateExpirationTs = incoming.huddleStateExpirationTs;
|
|
1441
|
+
// if at least one of these optionals is defined
|
|
1442
|
+
if (existing_huddleStateExpirationTs !== undefined || incoming_huddleStateExpirationTs !== undefined) {
|
|
1443
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1444
|
+
// not equal
|
|
1445
|
+
if (existing_huddleStateExpirationTs === undefined || incoming_huddleStateExpirationTs === undefined) {
|
|
1446
|
+
return false;
|
|
1447
|
+
}
|
|
1448
|
+
if (!(existing_huddleStateExpirationTs === incoming_huddleStateExpirationTs)) {
|
|
1449
|
+
return false;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1390
1452
|
const existing_image24 = existing.image24;
|
|
1391
1453
|
const incoming_image24 = incoming.image24;
|
|
1392
1454
|
// if at least one of these optionals is defined
|
|
@@ -1405,11 +1467,6 @@ function equals$s(existing, incoming) {
|
|
|
1405
1467
|
if (!(existing_imageOriginal === incoming_imageOriginal)) {
|
|
1406
1468
|
return false;
|
|
1407
1469
|
}
|
|
1408
|
-
const existing_inHuddle = existing.inHuddle;
|
|
1409
|
-
const incoming_inHuddle = incoming.inHuddle;
|
|
1410
|
-
if (!(existing_inHuddle === incoming_inHuddle)) {
|
|
1411
|
-
return false;
|
|
1412
|
-
}
|
|
1413
1470
|
const existing_isActive = existing.isActive;
|
|
1414
1471
|
const incoming_isActive = incoming.isActive;
|
|
1415
1472
|
if (!(existing_isActive === incoming_isActive)) {
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpr
|
|
|
2
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';
|
|
3
3
|
import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
|
|
4
4
|
export declare const TTL = 900000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "1e8c98f3906ef9aad86040f5e4623d48";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -43,12 +43,14 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
|
|
|
43
43
|
email: string | null;
|
|
44
44
|
/** The enterprise user mapping */
|
|
45
45
|
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
46
|
+
/** Huddle state of the Slack User, i.e., in_a_huddle, default_unset */
|
|
47
|
+
huddleState?: string | null;
|
|
48
|
+
/** Huddle state expiration timestamp */
|
|
49
|
+
huddleStateExpirationTs?: number | null;
|
|
46
50
|
/** 24x24 version of the Slack User image */
|
|
47
51
|
image24?: string | null;
|
|
48
52
|
/** Original version of the Slack User image */
|
|
49
53
|
imageOriginal: string | null;
|
|
50
|
-
/** Is this Slack User currently in a Huddle? */
|
|
51
|
-
inHuddle: boolean | null;
|
|
52
54
|
/** Is this Slack User currently active? */
|
|
53
55
|
isActive: boolean | null;
|
|
54
56
|
/** Is Slack User an admin? */
|
|
@@ -103,9 +105,10 @@ export interface SlackBridgeUserInfoOutputRepresentation {
|
|
|
103
105
|
displayName: string | null;
|
|
104
106
|
email: string | null;
|
|
105
107
|
enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
|
|
108
|
+
huddleState?: string | null;
|
|
109
|
+
huddleStateExpirationTs?: number | null;
|
|
106
110
|
image24?: string | null;
|
|
107
111
|
imageOriginal: string | null;
|
|
108
|
-
inHuddle: boolean | null;
|
|
109
112
|
isActive: boolean | null;
|
|
110
113
|
isAdmin: boolean;
|
|
111
114
|
isAgentforceBot?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-slack-bridge",
|
|
3
|
-
"version": "1.380.0-
|
|
3
|
+
"version": "1.380.0-dev18",
|
|
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.380.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.380.0-dev18"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.380.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.380.0-dev18"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5527,7 +5527,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5527
5527
|
}
|
|
5528
5528
|
|
|
5529
5529
|
const TTL$4 = 900000;
|
|
5530
|
-
const VERSION$e = "
|
|
5530
|
+
const VERSION$e = "1e8c98f3906ef9aad86040f5e4623d48";
|
|
5531
5531
|
function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
5532
5532
|
const v_error = (() => {
|
|
5533
5533
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5621,6 +5621,62 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
5621
5621
|
return new TypeError(message);
|
|
5622
5622
|
}
|
|
5623
5623
|
}
|
|
5624
|
+
if (obj.huddleState !== undefined) {
|
|
5625
|
+
const obj_huddleState = obj.huddleState;
|
|
5626
|
+
const path_huddleState = path + '.huddleState';
|
|
5627
|
+
let obj_huddleState_union0 = null;
|
|
5628
|
+
const obj_huddleState_union0_error = (() => {
|
|
5629
|
+
if (typeof obj_huddleState !== 'string') {
|
|
5630
|
+
return new TypeError('Expected "string" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
|
|
5631
|
+
}
|
|
5632
|
+
})();
|
|
5633
|
+
if (obj_huddleState_union0_error != null) {
|
|
5634
|
+
obj_huddleState_union0 = obj_huddleState_union0_error.message;
|
|
5635
|
+
}
|
|
5636
|
+
let obj_huddleState_union1 = null;
|
|
5637
|
+
const obj_huddleState_union1_error = (() => {
|
|
5638
|
+
if (obj_huddleState !== null) {
|
|
5639
|
+
return new TypeError('Expected "null" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
|
|
5640
|
+
}
|
|
5641
|
+
})();
|
|
5642
|
+
if (obj_huddleState_union1_error != null) {
|
|
5643
|
+
obj_huddleState_union1 = obj_huddleState_union1_error.message;
|
|
5644
|
+
}
|
|
5645
|
+
if (obj_huddleState_union0 && obj_huddleState_union1) {
|
|
5646
|
+
let message = 'Object doesn\'t match union (at "' + path_huddleState + '")';
|
|
5647
|
+
message += '\n' + obj_huddleState_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5648
|
+
message += '\n' + obj_huddleState_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5649
|
+
return new TypeError(message);
|
|
5650
|
+
}
|
|
5651
|
+
}
|
|
5652
|
+
if (obj.huddleStateExpirationTs !== undefined) {
|
|
5653
|
+
const obj_huddleStateExpirationTs = obj.huddleStateExpirationTs;
|
|
5654
|
+
const path_huddleStateExpirationTs = path + '.huddleStateExpirationTs';
|
|
5655
|
+
let obj_huddleStateExpirationTs_union0 = null;
|
|
5656
|
+
const obj_huddleStateExpirationTs_union0_error = (() => {
|
|
5657
|
+
if (typeof obj_huddleStateExpirationTs !== 'number' || (typeof obj_huddleStateExpirationTs === 'number' && Math.floor(obj_huddleStateExpirationTs) !== obj_huddleStateExpirationTs)) {
|
|
5658
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
|
|
5659
|
+
}
|
|
5660
|
+
})();
|
|
5661
|
+
if (obj_huddleStateExpirationTs_union0_error != null) {
|
|
5662
|
+
obj_huddleStateExpirationTs_union0 = obj_huddleStateExpirationTs_union0_error.message;
|
|
5663
|
+
}
|
|
5664
|
+
let obj_huddleStateExpirationTs_union1 = null;
|
|
5665
|
+
const obj_huddleStateExpirationTs_union1_error = (() => {
|
|
5666
|
+
if (obj_huddleStateExpirationTs !== null) {
|
|
5667
|
+
return new TypeError('Expected "null" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
|
|
5668
|
+
}
|
|
5669
|
+
})();
|
|
5670
|
+
if (obj_huddleStateExpirationTs_union1_error != null) {
|
|
5671
|
+
obj_huddleStateExpirationTs_union1 = obj_huddleStateExpirationTs_union1_error.message;
|
|
5672
|
+
}
|
|
5673
|
+
if (obj_huddleStateExpirationTs_union0 && obj_huddleStateExpirationTs_union1) {
|
|
5674
|
+
let message = 'Object doesn\'t match union (at "' + path_huddleStateExpirationTs + '")';
|
|
5675
|
+
message += '\n' + obj_huddleStateExpirationTs_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5676
|
+
message += '\n' + obj_huddleStateExpirationTs_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5677
|
+
return new TypeError(message);
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5624
5680
|
if (obj.image24 !== undefined) {
|
|
5625
5681
|
const obj_image24 = obj.image24;
|
|
5626
5682
|
const path_image24 = path + '.image24';
|
|
@@ -5675,32 +5731,6 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
5675
5731
|
message += '\n' + obj_imageOriginal_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5676
5732
|
return new TypeError(message);
|
|
5677
5733
|
}
|
|
5678
|
-
const obj_inHuddle = obj.inHuddle;
|
|
5679
|
-
const path_inHuddle = path + '.inHuddle';
|
|
5680
|
-
let obj_inHuddle_union0 = null;
|
|
5681
|
-
const obj_inHuddle_union0_error = (() => {
|
|
5682
|
-
if (typeof obj_inHuddle !== 'boolean') {
|
|
5683
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
|
|
5684
|
-
}
|
|
5685
|
-
})();
|
|
5686
|
-
if (obj_inHuddle_union0_error != null) {
|
|
5687
|
-
obj_inHuddle_union0 = obj_inHuddle_union0_error.message;
|
|
5688
|
-
}
|
|
5689
|
-
let obj_inHuddle_union1 = null;
|
|
5690
|
-
const obj_inHuddle_union1_error = (() => {
|
|
5691
|
-
if (obj_inHuddle !== null) {
|
|
5692
|
-
return new TypeError('Expected "null" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
|
|
5693
|
-
}
|
|
5694
|
-
})();
|
|
5695
|
-
if (obj_inHuddle_union1_error != null) {
|
|
5696
|
-
obj_inHuddle_union1 = obj_inHuddle_union1_error.message;
|
|
5697
|
-
}
|
|
5698
|
-
if (obj_inHuddle_union0 && obj_inHuddle_union1) {
|
|
5699
|
-
let message = 'Object doesn\'t match union (at "' + path_inHuddle + '")';
|
|
5700
|
-
message += '\n' + obj_inHuddle_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5701
|
-
message += '\n' + obj_inHuddle_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5702
|
-
return new TypeError(message);
|
|
5703
|
-
}
|
|
5704
5734
|
const obj_isActive = obj.isActive;
|
|
5705
5735
|
const path_isActive = path + '.isActive';
|
|
5706
5736
|
let obj_isActive_union0 = null;
|
|
@@ -6123,16 +6153,22 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
6123
6153
|
required: false
|
|
6124
6154
|
},
|
|
6125
6155
|
{
|
|
6126
|
-
name: '
|
|
6156
|
+
name: 'huddleState',
|
|
6127
6157
|
kind: 'Scalar',
|
|
6128
6158
|
required: false
|
|
6129
6159
|
},
|
|
6130
6160
|
{
|
|
6131
|
-
name: '
|
|
6132
|
-
kind: 'Scalar'
|
|
6161
|
+
name: 'huddleStateExpirationTs',
|
|
6162
|
+
kind: 'Scalar',
|
|
6163
|
+
required: false
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
name: 'image24',
|
|
6167
|
+
kind: 'Scalar',
|
|
6168
|
+
required: false
|
|
6133
6169
|
},
|
|
6134
6170
|
{
|
|
6135
|
-
name: '
|
|
6171
|
+
name: 'imageOriginal',
|
|
6136
6172
|
kind: 'Scalar'
|
|
6137
6173
|
},
|
|
6138
6174
|
{
|
|
@@ -6313,6 +6349,32 @@ function equals$e(existing, incoming) {
|
|
|
6313
6349
|
return false;
|
|
6314
6350
|
}
|
|
6315
6351
|
}
|
|
6352
|
+
const existing_huddleState = existing.huddleState;
|
|
6353
|
+
const incoming_huddleState = incoming.huddleState;
|
|
6354
|
+
// if at least one of these optionals is defined
|
|
6355
|
+
if (existing_huddleState !== undefined || incoming_huddleState !== undefined) {
|
|
6356
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6357
|
+
// not equal
|
|
6358
|
+
if (existing_huddleState === undefined || incoming_huddleState === undefined) {
|
|
6359
|
+
return false;
|
|
6360
|
+
}
|
|
6361
|
+
if (!(existing_huddleState === incoming_huddleState)) {
|
|
6362
|
+
return false;
|
|
6363
|
+
}
|
|
6364
|
+
}
|
|
6365
|
+
const existing_huddleStateExpirationTs = existing.huddleStateExpirationTs;
|
|
6366
|
+
const incoming_huddleStateExpirationTs = incoming.huddleStateExpirationTs;
|
|
6367
|
+
// if at least one of these optionals is defined
|
|
6368
|
+
if (existing_huddleStateExpirationTs !== undefined || incoming_huddleStateExpirationTs !== undefined) {
|
|
6369
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6370
|
+
// not equal
|
|
6371
|
+
if (existing_huddleStateExpirationTs === undefined || incoming_huddleStateExpirationTs === undefined) {
|
|
6372
|
+
return false;
|
|
6373
|
+
}
|
|
6374
|
+
if (!(existing_huddleStateExpirationTs === incoming_huddleStateExpirationTs)) {
|
|
6375
|
+
return false;
|
|
6376
|
+
}
|
|
6377
|
+
}
|
|
6316
6378
|
const existing_image24 = existing.image24;
|
|
6317
6379
|
const incoming_image24 = incoming.image24;
|
|
6318
6380
|
// if at least one of these optionals is defined
|
|
@@ -6331,11 +6393,6 @@ function equals$e(existing, incoming) {
|
|
|
6331
6393
|
if (!(existing_imageOriginal === incoming_imageOriginal)) {
|
|
6332
6394
|
return false;
|
|
6333
6395
|
}
|
|
6334
|
-
const existing_inHuddle = existing.inHuddle;
|
|
6335
|
-
const incoming_inHuddle = incoming.inHuddle;
|
|
6336
|
-
if (!(existing_inHuddle === incoming_inHuddle)) {
|
|
6337
|
-
return false;
|
|
6338
|
-
}
|
|
6339
6396
|
const existing_isActive = existing.isActive;
|
|
6340
6397
|
const incoming_isActive = incoming.isActive;
|
|
6341
6398
|
if (!(existing_isActive === incoming_isActive)) {
|
|
@@ -11793,4 +11850,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11793
11850
|
});
|
|
11794
11851
|
|
|
11795
11852
|
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, getSlackDisplayLogin, getSlackDisplayLogin_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchMPIMs, getSlackSearchMPIMs_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, openSlackConversation, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
|
|
11796
|
-
// version: 1.380.0-
|
|
11853
|
+
// version: 1.380.0-dev18-ccce6b904c
|
package/src/raml/api.raml
CHANGED
|
@@ -930,6 +930,14 @@ types:
|
|
|
930
930
|
description: The enterprise user mapping
|
|
931
931
|
required: false
|
|
932
932
|
type: SlackBridgeEnterpriseUserInfoOutputRepresentation | nil
|
|
933
|
+
huddleState:
|
|
934
|
+
description: Huddle state of the Slack User, i.e., in_a_huddle, default_unset
|
|
935
|
+
required: false
|
|
936
|
+
type: string | nil
|
|
937
|
+
huddleStateExpirationTs:
|
|
938
|
+
description: Huddle state expiration timestamp
|
|
939
|
+
required: false
|
|
940
|
+
type: integer | nil
|
|
933
941
|
image24:
|
|
934
942
|
description: 24x24 version of the Slack User image
|
|
935
943
|
required: false
|
|
@@ -941,9 +949,6 @@ types:
|
|
|
941
949
|
description: Profile image used for this Slack user
|
|
942
950
|
required: false
|
|
943
951
|
type: string | nil
|
|
944
|
-
inHuddle:
|
|
945
|
-
description: Is this Slack User currently in a Huddle?
|
|
946
|
-
type: boolean | nil
|
|
947
952
|
isActive:
|
|
948
953
|
description: Is this Slack User currently active?
|
|
949
954
|
type: boolean | nil
|