@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev2 → 1.380.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.
package/sfdc/index.js CHANGED
@@ -122,8 +122,8 @@ function createLink(ref) {
122
122
  };
123
123
  }
124
124
 
125
- const VERSION$u = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
- function validate$u(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
125
+ const VERSION$v = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
+ function validate$v(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
127
127
  const v_error = (() => {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -154,10 +154,10 @@ function keyBuilderFromType$b(luvio, object) {
154
154
  function normalize$k(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$S = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$T = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$u,
160
+ version: VERSION$v,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -171,7 +171,7 @@ const select$S = function SlackBridgeConversationMemberOutputRepresentationSelec
171
171
  ]
172
172
  };
173
173
  };
174
- function equals$u(existing, incoming) {
174
+ function equals$v(existing, incoming) {
175
175
  const existing_channelId = existing.channelId;
176
176
  const incoming_channelId = incoming.channelId;
177
177
  if (!(existing_channelId === incoming_channelId)) {
@@ -186,14 +186,14 @@ function equals$u(existing, incoming) {
186
186
  }
187
187
  const ingest$k = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
188
188
  if (process.env.NODE_ENV !== 'production') {
189
- const validateError = validate$u(input);
189
+ const validateError = validate$v(input);
190
190
  if (validateError !== null) {
191
191
  throw validateError;
192
192
  }
193
193
  }
194
194
  const key = keyBuilderFromType$b(luvio, input);
195
195
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
196
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "SlackBridge", VERSION$u, RepresentationType$k, equals$u);
196
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "SlackBridge", VERSION$v, RepresentationType$k, equals$v);
197
197
  return createLink(key);
198
198
  };
199
199
  function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
@@ -292,8 +292,8 @@ const deleteSlackConversationMemberAdapterFactory = (luvio) => {
292
292
  };
293
293
  };
294
294
 
295
- const VERSION$t = "605674abcbc0dad7e2707e4e00e8d4cd";
296
- function validate$t(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
295
+ const VERSION$u = "605674abcbc0dad7e2707e4e00e8d4cd";
296
+ function validate$u(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
297
297
  const v_error = (() => {
298
298
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
299
299
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -329,10 +329,10 @@ function keyBuilderFromType$a(luvio, object) {
329
329
  function normalize$j(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$R = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$S = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
- version: VERSION$t,
335
+ version: VERSION$u,
336
336
  private: [],
337
337
  selections: [
338
338
  {
@@ -350,7 +350,7 @@ const select$R = function SlackBridgeMessageFragmentOutputRepresentationSelect()
350
350
  ]
351
351
  };
352
352
  };
353
- function equals$t(existing, incoming) {
353
+ function equals$u(existing, incoming) {
354
354
  const existing_channelId = existing.channelId;
355
355
  const incoming_channelId = incoming.channelId;
356
356
  if (!(existing_channelId === incoming_channelId)) {
@@ -370,14 +370,14 @@ function equals$t(existing, incoming) {
370
370
  }
371
371
  const ingest$j = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
372
372
  if (process.env.NODE_ENV !== 'production') {
373
- const validateError = validate$t(input);
373
+ const validateError = validate$u(input);
374
374
  if (validateError !== null) {
375
375
  throw validateError;
376
376
  }
377
377
  }
378
378
  const key = keyBuilderFromType$a(luvio, input);
379
379
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
380
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SlackBridge", VERSION$t, RepresentationType$j, equals$t);
380
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SlackBridge", VERSION$u, RepresentationType$j, equals$u);
381
381
  return createLink(key);
382
382
  };
383
383
  function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
@@ -476,8 +476,8 @@ const deleteSlackMessageAdapterFactory = (luvio) => {
476
476
  };
477
477
  };
478
478
 
479
- const VERSION$s = "7820a930852347bb0506c08d8b528281";
480
- function validate$s(obj, path = 'SlackBridgeReactionOutputRepresentation') {
479
+ const VERSION$t = "7820a930852347bb0506c08d8b528281";
480
+ function validate$t(obj, path = 'SlackBridgeReactionOutputRepresentation') {
481
481
  const v_error = (() => {
482
482
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
483
483
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -554,10 +554,10 @@ function validate$s(obj, path = 'SlackBridgeReactionOutputRepresentation') {
554
554
  })();
555
555
  return v_error === undefined ? null : v_error;
556
556
  }
557
- const select$Q = function SlackBridgeReactionOutputRepresentationSelect() {
557
+ const select$R = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
- version: VERSION$s,
560
+ version: VERSION$t,
561
561
  private: [],
562
562
  selections: [
563
563
  {
@@ -580,7 +580,7 @@ const select$Q = function SlackBridgeReactionOutputRepresentationSelect() {
580
580
  ]
581
581
  };
582
582
  };
583
- function equals$s(existing, incoming) {
583
+ function equals$t(existing, incoming) {
584
584
  const existing_name = existing.name;
585
585
  const incoming_name = incoming.name;
586
586
  if (!(existing_name === incoming_name)) {
@@ -609,8 +609,8 @@ function equals$s(existing, incoming) {
609
609
  return true;
610
610
  }
611
611
 
612
- const VERSION$r = "804aa6216a7579adeeae856f76b688db";
613
- function validate$r(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
612
+ const VERSION$s = "804aa6216a7579adeeae856f76b688db";
613
+ function validate$s(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
614
614
  const v_error = (() => {
615
615
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
616
616
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -633,7 +633,7 @@ function validate$r(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
633
633
  for (let i = 0; i < obj_reactions.length; i++) {
634
634
  const obj_reactions_item = obj_reactions[i];
635
635
  const path_reactions_item = path_reactions + '[' + i + ']';
636
- const referencepath_reactions_itemValidationError = validate$s(obj_reactions_item, path_reactions_item);
636
+ const referencepath_reactions_itemValidationError = validate$t(obj_reactions_item, path_reactions_item);
637
637
  if (referencepath_reactions_itemValidationError !== null) {
638
638
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
639
639
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -661,11 +661,11 @@ function keyBuilderFromType$9(luvio, object) {
661
661
  function normalize$i(input, existing, path, luvio, store, timestamp) {
662
662
  return input;
663
663
  }
664
- const select$P = function SlackBridgeReactionsOutputRepresentationSelect() {
665
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$Q();
664
+ const select$Q = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$R();
666
666
  return {
667
667
  kind: 'Fragment',
668
- version: VERSION$r,
668
+ version: VERSION$s,
669
669
  private: [],
670
670
  selections: [
671
671
  {
@@ -689,7 +689,7 @@ const select$P = function SlackBridgeReactionsOutputRepresentationSelect() {
689
689
  ]
690
690
  };
691
691
  };
692
- function equals$r(existing, incoming) {
692
+ function equals$s(existing, incoming) {
693
693
  const existing_channelId = existing.channelId;
694
694
  const incoming_channelId = incoming.channelId;
695
695
  if (!(existing_channelId === incoming_channelId)) {
@@ -708,7 +708,7 @@ function equals$r(existing, incoming) {
708
708
  const existing_reactions = existing.reactions;
709
709
  const incoming_reactions = incoming.reactions;
710
710
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
711
- if (!(equals$s(existing_reactions_item, incoming_reactions_item))) {
711
+ if (!(equals$t(existing_reactions_item, incoming_reactions_item))) {
712
712
  return false;
713
713
  }
714
714
  });
@@ -719,14 +719,14 @@ function equals$r(existing, incoming) {
719
719
  }
720
720
  const ingest$i = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
721
721
  if (process.env.NODE_ENV !== 'production') {
722
- const validateError = validate$r(input);
722
+ const validateError = validate$s(input);
723
723
  if (validateError !== null) {
724
724
  throw validateError;
725
725
  }
726
726
  }
727
727
  const key = keyBuilderFromType$9(luvio, input);
728
728
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
729
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$r, RepresentationType$i, equals$r);
729
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$s, RepresentationType$i, equals$s);
730
730
  return createLink(key);
731
731
  };
732
732
  function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
@@ -826,8 +826,8 @@ const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
826
826
  };
827
827
  };
828
828
 
829
- const VERSION$q = "90163ce3734714c2b87ec91b0ae3ff53";
830
- function validate$q(obj, path = 'SlackBridgeConversationRestrictionsOutputRepresentation') {
829
+ const VERSION$r = "90163ce3734714c2b87ec91b0ae3ff53";
830
+ function validate$r(obj, path = 'SlackBridgeConversationRestrictionsOutputRepresentation') {
831
831
  const v_error = (() => {
832
832
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
833
833
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -859,10 +859,10 @@ function validate$q(obj, path = 'SlackBridgeConversationRestrictionsOutputRepres
859
859
  })();
860
860
  return v_error === undefined ? null : v_error;
861
861
  }
862
- const select$O = function SlackBridgeConversationRestrictionsOutputRepresentationSelect() {
862
+ const select$P = function SlackBridgeConversationRestrictionsOutputRepresentationSelect() {
863
863
  return {
864
864
  kind: 'Fragment',
865
- version: VERSION$q,
865
+ version: VERSION$r,
866
866
  private: [],
867
867
  selections: [
868
868
  {
@@ -878,7 +878,7 @@ const select$O = function SlackBridgeConversationRestrictionsOutputRepresentatio
878
878
  ]
879
879
  };
880
880
  };
881
- function equals$q(existing, incoming) {
881
+ function equals$r(existing, incoming) {
882
882
  const existing_type = existing.type;
883
883
  const incoming_type = incoming.type;
884
884
  const equals_type_items = equalsArray(existing_type, incoming_type, (existing_type_item, incoming_type_item) => {
@@ -902,8 +902,8 @@ function equals$q(existing, incoming) {
902
902
  return true;
903
903
  }
904
904
 
905
- const VERSION$p = "139b4530e5abfb4424ce58620c1e6934";
906
- function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresentation') {
905
+ const VERSION$q = "139b4530e5abfb4424ce58620c1e6934";
906
+ function validate$q(obj, path = 'SlackBridgeConversationPropertiesOutputRepresentation') {
907
907
  const v_error = (() => {
908
908
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
909
909
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -990,7 +990,7 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
990
990
  const path_postingRestrictedTo = path + '.postingRestrictedTo';
991
991
  let obj_postingRestrictedTo_union0 = null;
992
992
  const obj_postingRestrictedTo_union0_error = (() => {
993
- const referencepath_postingRestrictedToValidationError = validate$q(obj_postingRestrictedTo, path_postingRestrictedTo);
993
+ const referencepath_postingRestrictedToValidationError = validate$r(obj_postingRestrictedTo, path_postingRestrictedTo);
994
994
  if (referencepath_postingRestrictedToValidationError !== null) {
995
995
  let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_postingRestrictedTo + '")\n';
996
996
  message += referencepath_postingRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1019,7 +1019,7 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
1019
1019
  const path_threadsRestrictedTo = path + '.threadsRestrictedTo';
1020
1020
  let obj_threadsRestrictedTo_union0 = null;
1021
1021
  const obj_threadsRestrictedTo_union0_error = (() => {
1022
- const referencepath_threadsRestrictedToValidationError = validate$q(obj_threadsRestrictedTo, path_threadsRestrictedTo);
1022
+ const referencepath_threadsRestrictedToValidationError = validate$r(obj_threadsRestrictedTo, path_threadsRestrictedTo);
1023
1023
  if (referencepath_threadsRestrictedToValidationError !== null) {
1024
1024
  let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_threadsRestrictedTo + '")\n';
1025
1025
  message += referencepath_threadsRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1047,11 +1047,11 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
1047
1047
  })();
1048
1048
  return v_error === undefined ? null : v_error;
1049
1049
  }
1050
- const select$N = function SlackBridgeConversationPropertiesOutputRepresentationSelect() {
1051
- const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$O();
1050
+ const select$O = function SlackBridgeConversationPropertiesOutputRepresentationSelect() {
1051
+ const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$P();
1052
1052
  return {
1053
1053
  kind: 'Fragment',
1054
- version: VERSION$p,
1054
+ version: VERSION$q,
1055
1055
  private: [],
1056
1056
  selections: [
1057
1057
  {
@@ -1081,7 +1081,7 @@ const select$N = function SlackBridgeConversationPropertiesOutputRepresentationS
1081
1081
  ]
1082
1082
  };
1083
1083
  };
1084
- function equals$p(existing, incoming) {
1084
+ function equals$q(existing, incoming) {
1085
1085
  const existing_atChannelRestricted = existing.atChannelRestricted;
1086
1086
  const incoming_atChannelRestricted = incoming.atChannelRestricted;
1087
1087
  if (!(existing_atChannelRestricted === incoming_atChannelRestricted)) {
@@ -1102,7 +1102,7 @@ function equals$p(existing, incoming) {
1102
1102
  if (!(existing_postingRestrictedTo === incoming_postingRestrictedTo
1103
1103
  || (existing_postingRestrictedTo != null &&
1104
1104
  incoming_postingRestrictedTo != null &&
1105
- equals$q(existing_postingRestrictedTo, incoming_postingRestrictedTo)))) {
1105
+ equals$r(existing_postingRestrictedTo, incoming_postingRestrictedTo)))) {
1106
1106
  return false;
1107
1107
  }
1108
1108
  const existing_threadsRestrictedTo = existing.threadsRestrictedTo;
@@ -1110,15 +1110,15 @@ function equals$p(existing, incoming) {
1110
1110
  if (!(existing_threadsRestrictedTo === incoming_threadsRestrictedTo
1111
1111
  || (existing_threadsRestrictedTo != null &&
1112
1112
  incoming_threadsRestrictedTo != null &&
1113
- equals$q(existing_threadsRestrictedTo, incoming_threadsRestrictedTo)))) {
1113
+ equals$r(existing_threadsRestrictedTo, incoming_threadsRestrictedTo)))) {
1114
1114
  return false;
1115
1115
  }
1116
1116
  return true;
1117
1117
  }
1118
1118
 
1119
1119
  const TTL$7 = 900000;
1120
- const VERSION$o = "898110c1fd3651e7f407ba56cf0ca85a";
1121
- function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1120
+ const VERSION$p = "a35df81fd20149aae615a01f742cece5";
1121
+ function validate$p(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1122
1122
  const v_error = (() => {
1123
1123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1124
1124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1336,6 +1336,34 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1336
1336
  message += '\n' + obj_isMember_union1.split('\n').map((line) => '\t' + line).join('\n');
1337
1337
  return new TypeError(message);
1338
1338
  }
1339
+ if (obj.isMpim !== undefined) {
1340
+ const obj_isMpim = obj.isMpim;
1341
+ const path_isMpim = path + '.isMpim';
1342
+ let obj_isMpim_union0 = null;
1343
+ const obj_isMpim_union0_error = (() => {
1344
+ if (typeof obj_isMpim !== 'boolean') {
1345
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isMpim + '" (at "' + path_isMpim + '")');
1346
+ }
1347
+ })();
1348
+ if (obj_isMpim_union0_error != null) {
1349
+ obj_isMpim_union0 = obj_isMpim_union0_error.message;
1350
+ }
1351
+ let obj_isMpim_union1 = null;
1352
+ const obj_isMpim_union1_error = (() => {
1353
+ if (obj_isMpim !== null) {
1354
+ return new TypeError('Expected "null" but received "' + typeof obj_isMpim + '" (at "' + path_isMpim + '")');
1355
+ }
1356
+ })();
1357
+ if (obj_isMpim_union1_error != null) {
1358
+ obj_isMpim_union1 = obj_isMpim_union1_error.message;
1359
+ }
1360
+ if (obj_isMpim_union0 && obj_isMpim_union1) {
1361
+ let message = 'Object doesn\'t match union (at "' + path_isMpim + '")';
1362
+ message += '\n' + obj_isMpim_union0.split('\n').map((line) => '\t' + line).join('\n');
1363
+ message += '\n' + obj_isMpim_union1.split('\n').map((line) => '\t' + line).join('\n');
1364
+ return new TypeError(message);
1365
+ }
1366
+ }
1339
1367
  const obj_isOpen = obj.isOpen;
1340
1368
  const path_isOpen = path + '.isOpen';
1341
1369
  let obj_isOpen_union0 = null;
@@ -1574,8 +1602,29 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1574
1602
  }
1575
1603
  const obj_name = obj.name;
1576
1604
  const path_name = path + '.name';
1577
- if (typeof obj_name !== 'string') {
1578
- return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1605
+ let obj_name_union0 = null;
1606
+ const obj_name_union0_error = (() => {
1607
+ if (typeof obj_name !== 'string') {
1608
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1609
+ }
1610
+ })();
1611
+ if (obj_name_union0_error != null) {
1612
+ obj_name_union0 = obj_name_union0_error.message;
1613
+ }
1614
+ let obj_name_union1 = null;
1615
+ const obj_name_union1_error = (() => {
1616
+ if (obj_name !== null) {
1617
+ return new TypeError('Expected "null" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1618
+ }
1619
+ })();
1620
+ if (obj_name_union1_error != null) {
1621
+ obj_name_union1 = obj_name_union1_error.message;
1622
+ }
1623
+ if (obj_name_union0 && obj_name_union1) {
1624
+ let message = 'Object doesn\'t match union (at "' + path_name + '")';
1625
+ message += '\n' + obj_name_union0.split('\n').map((line) => '\t' + line).join('\n');
1626
+ message += '\n' + obj_name_union1.split('\n').map((line) => '\t' + line).join('\n');
1627
+ return new TypeError(message);
1579
1628
  }
1580
1629
  const obj_numOfMembers = obj.numOfMembers;
1581
1630
  const path_numOfMembers = path + '.numOfMembers';
@@ -1608,7 +1657,7 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1608
1657
  const path_properties = path + '.properties';
1609
1658
  let obj_properties_union0 = null;
1610
1659
  const obj_properties_union0_error = (() => {
1611
- const referencepath_propertiesValidationError = validate$p(obj_properties, path_properties);
1660
+ const referencepath_propertiesValidationError = validate$q(obj_properties, path_properties);
1612
1661
  if (referencepath_propertiesValidationError !== null) {
1613
1662
  let message = 'Object doesn\'t match SlackBridgeConversationPropertiesOutputRepresentation (at "' + path_properties + '")\n';
1614
1663
  message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1723,6 +1772,34 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1723
1772
  return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
1724
1773
  }
1725
1774
  }
1775
+ if (obj.user !== undefined) {
1776
+ const obj_user = obj.user;
1777
+ const path_user = path + '.user';
1778
+ let obj_user_union0 = null;
1779
+ const obj_user_union0_error = (() => {
1780
+ if (typeof obj_user !== 'string') {
1781
+ return new TypeError('Expected "string" but received "' + typeof obj_user + '" (at "' + path_user + '")');
1782
+ }
1783
+ })();
1784
+ if (obj_user_union0_error != null) {
1785
+ obj_user_union0 = obj_user_union0_error.message;
1786
+ }
1787
+ let obj_user_union1 = null;
1788
+ const obj_user_union1_error = (() => {
1789
+ if (obj_user !== null) {
1790
+ return new TypeError('Expected "null" but received "' + typeof obj_user + '" (at "' + path_user + '")');
1791
+ }
1792
+ })();
1793
+ if (obj_user_union1_error != null) {
1794
+ obj_user_union1 = obj_user_union1_error.message;
1795
+ }
1796
+ if (obj_user_union0 && obj_user_union1) {
1797
+ let message = 'Object doesn\'t match union (at "' + path_user + '")';
1798
+ message += '\n' + obj_user_union0.split('\n').map((line) => '\t' + line).join('\n');
1799
+ message += '\n' + obj_user_union1.split('\n').map((line) => '\t' + line).join('\n');
1800
+ return new TypeError(message);
1801
+ }
1802
+ }
1726
1803
  })();
1727
1804
  return v_error === undefined ? null : v_error;
1728
1805
  }
@@ -1739,11 +1816,11 @@ function keyBuilderFromType$8(luvio, object) {
1739
1816
  function normalize$h(input, existing, path, luvio, store, timestamp) {
1740
1817
  return input;
1741
1818
  }
1742
- const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1743
- const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$N();
1819
+ const select$N = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1820
+ const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$O();
1744
1821
  return {
1745
1822
  kind: 'Fragment',
1746
- version: VERSION$o,
1823
+ version: VERSION$p,
1747
1824
  private: [],
1748
1825
  selections: [
1749
1826
  {
@@ -1782,6 +1859,11 @@ const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect(
1782
1859
  name: 'isMember',
1783
1860
  kind: 'Scalar'
1784
1861
  },
1862
+ {
1863
+ name: 'isMpim',
1864
+ kind: 'Scalar',
1865
+ required: false
1866
+ },
1785
1867
  {
1786
1868
  name: 'isOpen',
1787
1869
  kind: 'Scalar'
@@ -1852,21 +1934,21 @@ const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect(
1852
1934
  name: 'url',
1853
1935
  kind: 'Scalar',
1854
1936
  required: false
1937
+ },
1938
+ {
1939
+ name: 'user',
1940
+ kind: 'Scalar',
1941
+ required: false
1855
1942
  }
1856
1943
  ]
1857
1944
  };
1858
1945
  };
1859
- function equals$o(existing, incoming) {
1946
+ function equals$p(existing, incoming) {
1860
1947
  const existing_id = existing.id;
1861
1948
  const incoming_id = incoming.id;
1862
1949
  if (!(existing_id === incoming_id)) {
1863
1950
  return false;
1864
1951
  }
1865
- const existing_name = existing.name;
1866
- const incoming_name = incoming.name;
1867
- if (!(existing_name === incoming_name)) {
1868
- return false;
1869
- }
1870
1952
  const existing_url = existing.url;
1871
1953
  const incoming_url = incoming.url;
1872
1954
  // if at least one of these optionals is defined
@@ -1920,6 +2002,19 @@ function equals$o(existing, incoming) {
1920
2002
  if (!(existing_isMember === incoming_isMember)) {
1921
2003
  return false;
1922
2004
  }
2005
+ const existing_isMpim = existing.isMpim;
2006
+ const incoming_isMpim = incoming.isMpim;
2007
+ // if at least one of these optionals is defined
2008
+ if (existing_isMpim !== undefined || incoming_isMpim !== undefined) {
2009
+ // if one of these is not defined we know the other is defined and therefore
2010
+ // not equal
2011
+ if (existing_isMpim === undefined || incoming_isMpim === undefined) {
2012
+ return false;
2013
+ }
2014
+ if (!(existing_isMpim === incoming_isMpim)) {
2015
+ return false;
2016
+ }
2017
+ }
1923
2018
  const existing_isOpen = existing.isOpen;
1924
2019
  const incoming_isOpen = incoming.isOpen;
1925
2020
  if (!(existing_isOpen === incoming_isOpen)) {
@@ -1973,6 +2068,11 @@ function equals$o(existing, incoming) {
1973
2068
  return false;
1974
2069
  }
1975
2070
  }
2071
+ const existing_name = existing.name;
2072
+ const incoming_name = incoming.name;
2073
+ if (!(existing_name === incoming_name)) {
2074
+ return false;
2075
+ }
1976
2076
  const existing_numOfMembers = existing.numOfMembers;
1977
2077
  const incoming_numOfMembers = incoming.numOfMembers;
1978
2078
  if (!(existing_numOfMembers === incoming_numOfMembers)) {
@@ -1990,7 +2090,7 @@ function equals$o(existing, incoming) {
1990
2090
  if (!(existing_properties === incoming_properties
1991
2091
  || (existing_properties != null &&
1992
2092
  incoming_properties != null &&
1993
- equals$p(existing_properties, incoming_properties)))) {
2093
+ equals$q(existing_properties, incoming_properties)))) {
1994
2094
  return false;
1995
2095
  }
1996
2096
  }
@@ -2025,18 +2125,31 @@ function equals$o(existing, incoming) {
2025
2125
  return false;
2026
2126
  }
2027
2127
  }
2128
+ const existing_user = existing.user;
2129
+ const incoming_user = incoming.user;
2130
+ // if at least one of these optionals is defined
2131
+ if (existing_user !== undefined || incoming_user !== undefined) {
2132
+ // if one of these is not defined we know the other is defined and therefore
2133
+ // not equal
2134
+ if (existing_user === undefined || incoming_user === undefined) {
2135
+ return false;
2136
+ }
2137
+ if (!(existing_user === incoming_user)) {
2138
+ return false;
2139
+ }
2140
+ }
2028
2141
  return true;
2029
2142
  }
2030
2143
  const ingest$h = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2031
2144
  if (process.env.NODE_ENV !== 'production') {
2032
- const validateError = validate$o(input);
2145
+ const validateError = validate$p(input);
2033
2146
  if (validateError !== null) {
2034
2147
  throw validateError;
2035
2148
  }
2036
2149
  }
2037
2150
  const key = keyBuilderFromType$8(luvio, input);
2038
2151
  const ttlToUse = TTL$7;
2039
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$o, RepresentationType$h, equals$o);
2152
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$p, RepresentationType$h, equals$p);
2040
2153
  return createLink(key);
2041
2154
  };
2042
2155
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -2049,6 +2162,173 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2049
2162
  });
2050
2163
  }
2051
2164
 
2165
+ const VERSION$o = "183fbca7ad14ab038244ff7883618c72";
2166
+ function validate$o(obj, path = 'SlackBridgeRoomOutputRepresentation') {
2167
+ const v_error = (() => {
2168
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2169
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2170
+ }
2171
+ const obj_dateEnd = obj.dateEnd;
2172
+ const path_dateEnd = path + '.dateEnd';
2173
+ let obj_dateEnd_union0 = null;
2174
+ const obj_dateEnd_union0_error = (() => {
2175
+ if (typeof obj_dateEnd !== 'number' || (typeof obj_dateEnd === 'number' && Math.floor(obj_dateEnd) !== obj_dateEnd)) {
2176
+ return new TypeError('Expected "integer" but received "' + typeof obj_dateEnd + '" (at "' + path_dateEnd + '")');
2177
+ }
2178
+ })();
2179
+ if (obj_dateEnd_union0_error != null) {
2180
+ obj_dateEnd_union0 = obj_dateEnd_union0_error.message;
2181
+ }
2182
+ let obj_dateEnd_union1 = null;
2183
+ const obj_dateEnd_union1_error = (() => {
2184
+ if (obj_dateEnd !== null) {
2185
+ return new TypeError('Expected "null" but received "' + typeof obj_dateEnd + '" (at "' + path_dateEnd + '")');
2186
+ }
2187
+ })();
2188
+ if (obj_dateEnd_union1_error != null) {
2189
+ obj_dateEnd_union1 = obj_dateEnd_union1_error.message;
2190
+ }
2191
+ if (obj_dateEnd_union0 && obj_dateEnd_union1) {
2192
+ let message = 'Object doesn\'t match union (at "' + path_dateEnd + '")';
2193
+ message += '\n' + obj_dateEnd_union0.split('\n').map((line) => '\t' + line).join('\n');
2194
+ message += '\n' + obj_dateEnd_union1.split('\n').map((line) => '\t' + line).join('\n');
2195
+ return new TypeError(message);
2196
+ }
2197
+ const obj_dateStart = obj.dateStart;
2198
+ const path_dateStart = path + '.dateStart';
2199
+ if (typeof obj_dateStart !== 'number' || (typeof obj_dateStart === 'number' && Math.floor(obj_dateStart) !== obj_dateStart)) {
2200
+ return new TypeError('Expected "integer" but received "' + typeof obj_dateStart + '" (at "' + path_dateStart + '")');
2201
+ }
2202
+ const obj_hasEnded = obj.hasEnded;
2203
+ const path_hasEnded = path + '.hasEnded';
2204
+ if (typeof obj_hasEnded !== 'boolean') {
2205
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasEnded + '" (at "' + path_hasEnded + '")');
2206
+ }
2207
+ const obj_huddleLink = obj.huddleLink;
2208
+ const path_huddleLink = path + '.huddleLink';
2209
+ if (typeof obj_huddleLink !== 'string') {
2210
+ return new TypeError('Expected "string" but received "' + typeof obj_huddleLink + '" (at "' + path_huddleLink + '")');
2211
+ }
2212
+ const obj_id = obj.id;
2213
+ const path_id = path + '.id';
2214
+ if (typeof obj_id !== 'string') {
2215
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2216
+ }
2217
+ const obj_participantHistory = obj.participantHistory;
2218
+ const path_participantHistory = path + '.participantHistory';
2219
+ if (!ArrayIsArray(obj_participantHistory)) {
2220
+ return new TypeError('Expected "array" but received "' + typeof obj_participantHistory + '" (at "' + path_participantHistory + '")');
2221
+ }
2222
+ for (let i = 0; i < obj_participantHistory.length; i++) {
2223
+ const obj_participantHistory_item = obj_participantHistory[i];
2224
+ const path_participantHistory_item = path_participantHistory + '[' + i + ']';
2225
+ if (typeof obj_participantHistory_item !== 'string') {
2226
+ return new TypeError('Expected "string" but received "' + typeof obj_participantHistory_item + '" (at "' + path_participantHistory_item + '")');
2227
+ }
2228
+ }
2229
+ const obj_participants = obj.participants;
2230
+ const path_participants = path + '.participants';
2231
+ if (!ArrayIsArray(obj_participants)) {
2232
+ return new TypeError('Expected "array" but received "' + typeof obj_participants + '" (at "' + path_participants + '")');
2233
+ }
2234
+ for (let i = 0; i < obj_participants.length; i++) {
2235
+ const obj_participants_item = obj_participants[i];
2236
+ const path_participants_item = path_participants + '[' + i + ']';
2237
+ if (typeof obj_participants_item !== 'string') {
2238
+ return new TypeError('Expected "string" but received "' + typeof obj_participants_item + '" (at "' + path_participants_item + '")');
2239
+ }
2240
+ }
2241
+ })();
2242
+ return v_error === undefined ? null : v_error;
2243
+ }
2244
+ const select$M = function SlackBridgeRoomOutputRepresentationSelect() {
2245
+ return {
2246
+ kind: 'Fragment',
2247
+ version: VERSION$o,
2248
+ private: [],
2249
+ selections: [
2250
+ {
2251
+ name: 'dateEnd',
2252
+ kind: 'Scalar'
2253
+ },
2254
+ {
2255
+ name: 'dateStart',
2256
+ kind: 'Scalar'
2257
+ },
2258
+ {
2259
+ name: 'hasEnded',
2260
+ kind: 'Scalar'
2261
+ },
2262
+ {
2263
+ name: 'huddleLink',
2264
+ kind: 'Scalar'
2265
+ },
2266
+ {
2267
+ name: 'id',
2268
+ kind: 'Scalar'
2269
+ },
2270
+ {
2271
+ name: 'participantHistory',
2272
+ kind: 'Scalar',
2273
+ plural: true
2274
+ },
2275
+ {
2276
+ name: 'participants',
2277
+ kind: 'Scalar',
2278
+ plural: true
2279
+ }
2280
+ ]
2281
+ };
2282
+ };
2283
+ function equals$o(existing, incoming) {
2284
+ const existing_hasEnded = existing.hasEnded;
2285
+ const incoming_hasEnded = incoming.hasEnded;
2286
+ if (!(existing_hasEnded === incoming_hasEnded)) {
2287
+ return false;
2288
+ }
2289
+ const existing_dateStart = existing.dateStart;
2290
+ const incoming_dateStart = incoming.dateStart;
2291
+ if (!(existing_dateStart === incoming_dateStart)) {
2292
+ return false;
2293
+ }
2294
+ const existing_huddleLink = existing.huddleLink;
2295
+ const incoming_huddleLink = incoming.huddleLink;
2296
+ if (!(existing_huddleLink === incoming_huddleLink)) {
2297
+ return false;
2298
+ }
2299
+ const existing_id = existing.id;
2300
+ const incoming_id = incoming.id;
2301
+ if (!(existing_id === incoming_id)) {
2302
+ return false;
2303
+ }
2304
+ const existing_dateEnd = existing.dateEnd;
2305
+ const incoming_dateEnd = incoming.dateEnd;
2306
+ if (!(existing_dateEnd === incoming_dateEnd)) {
2307
+ return false;
2308
+ }
2309
+ const existing_participantHistory = existing.participantHistory;
2310
+ const incoming_participantHistory = incoming.participantHistory;
2311
+ const equals_participantHistory_items = equalsArray(existing_participantHistory, incoming_participantHistory, (existing_participantHistory_item, incoming_participantHistory_item) => {
2312
+ if (!(existing_participantHistory_item === incoming_participantHistory_item)) {
2313
+ return false;
2314
+ }
2315
+ });
2316
+ if (equals_participantHistory_items === false) {
2317
+ return false;
2318
+ }
2319
+ const existing_participants = existing.participants;
2320
+ const incoming_participants = incoming.participants;
2321
+ const equals_participants_items = equalsArray(existing_participants, incoming_participants, (existing_participants_item, incoming_participants_item) => {
2322
+ if (!(existing_participants_item === incoming_participants_item)) {
2323
+ return false;
2324
+ }
2325
+ });
2326
+ if (equals_participants_items === false) {
2327
+ return false;
2328
+ }
2329
+ return true;
2330
+ }
2331
+
2052
2332
  const VERSION$n = "4634cd404d8392ac4ca9f0e1be03bfbd";
2053
2333
  function validate$n(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
2054
2334
  const v_error = (() => {
@@ -3557,7 +3837,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
3557
3837
  });
3558
3838
  }
3559
3839
 
3560
- const VERSION$j = "57fae23c7ffb8f67218b25919d2c8e3c";
3840
+ const VERSION$j = "cc3b0409eeb9f8a45956130e18c9be91";
3561
3841
  function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3562
3842
  const v_error = (() => {
3563
3843
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3826,7 +4106,7 @@ function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3826
4106
  for (let i = 0; i < obj_reactions.length; i++) {
3827
4107
  const obj_reactions_item = obj_reactions[i];
3828
4108
  const path_reactions_item = path_reactions + '[' + i + ']';
3829
- const referencepath_reactions_itemValidationError = validate$s(obj_reactions_item, path_reactions_item);
4109
+ const referencepath_reactions_itemValidationError = validate$t(obj_reactions_item, path_reactions_item);
3830
4110
  if (referencepath_reactions_itemValidationError !== null) {
3831
4111
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
3832
4112
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3897,6 +4177,37 @@ function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3897
4177
  message += '\n' + obj_replyUsersCount_union1.split('\n').map((line) => '\t' + line).join('\n');
3898
4178
  return new TypeError(message);
3899
4179
  }
4180
+ if (obj.room !== undefined) {
4181
+ const obj_room = obj.room;
4182
+ const path_room = path + '.room';
4183
+ let obj_room_union0 = null;
4184
+ const obj_room_union0_error = (() => {
4185
+ const referencepath_roomValidationError = validate$o(obj_room, path_room);
4186
+ if (referencepath_roomValidationError !== null) {
4187
+ let message = 'Object doesn\'t match SlackBridgeRoomOutputRepresentation (at "' + path_room + '")\n';
4188
+ message += referencepath_roomValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4189
+ return new TypeError(message);
4190
+ }
4191
+ })();
4192
+ if (obj_room_union0_error != null) {
4193
+ obj_room_union0 = obj_room_union0_error.message;
4194
+ }
4195
+ let obj_room_union1 = null;
4196
+ const obj_room_union1_error = (() => {
4197
+ if (obj_room !== null) {
4198
+ return new TypeError('Expected "null" but received "' + typeof obj_room + '" (at "' + path_room + '")');
4199
+ }
4200
+ })();
4201
+ if (obj_room_union1_error != null) {
4202
+ obj_room_union1 = obj_room_union1_error.message;
4203
+ }
4204
+ if (obj_room_union0 && obj_room_union1) {
4205
+ let message = 'Object doesn\'t match union (at "' + path_room + '")';
4206
+ message += '\n' + obj_room_union0.split('\n').map((line) => '\t' + line).join('\n');
4207
+ message += '\n' + obj_room_union1.split('\n').map((line) => '\t' + line).join('\n');
4208
+ return new TypeError(message);
4209
+ }
4210
+ }
3900
4211
  const obj_slackInviterId = obj.slackInviterId;
3901
4212
  const path_slackInviterId = path + '.slackInviterId';
3902
4213
  let obj_slackInviterId_union0 = null;
@@ -4084,7 +4395,8 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
4084
4395
  return input;
4085
4396
  }
4086
4397
  const select$H = function SlackBridgeMessageOutputRepresentationSelect() {
4087
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$Q();
4398
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$R();
4399
+ const { selections: SlackBridgeRoomOutputRepresentation__selections, opaque: SlackBridgeRoomOutputRepresentation__opaque, } = select$M();
4088
4400
  return {
4089
4401
  kind: 'Fragment',
4090
4402
  version: VERSION$j,
@@ -4167,6 +4479,13 @@ const select$H = function SlackBridgeMessageOutputRepresentationSelect() {
4167
4479
  name: 'replyUsersCount',
4168
4480
  kind: 'Scalar'
4169
4481
  },
4482
+ {
4483
+ name: 'room',
4484
+ kind: 'Object',
4485
+ nullable: true,
4486
+ selections: SlackBridgeRoomOutputRepresentation__selections,
4487
+ required: false
4488
+ },
4170
4489
  {
4171
4490
  name: 'slackInviterId',
4172
4491
  kind: 'Scalar'
@@ -4314,7 +4633,7 @@ function equals$j(existing, incoming) {
4314
4633
  const existing_reactions = existing.reactions;
4315
4634
  const incoming_reactions = incoming.reactions;
4316
4635
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
4317
- if (!(equals$s(existing_reactions_item, incoming_reactions_item))) {
4636
+ if (!(equals$t(existing_reactions_item, incoming_reactions_item))) {
4318
4637
  return false;
4319
4638
  }
4320
4639
  });
@@ -4341,6 +4660,22 @@ function equals$j(existing, incoming) {
4341
4660
  if (!(existing_replyUsersCount === incoming_replyUsersCount)) {
4342
4661
  return false;
4343
4662
  }
4663
+ const existing_room = existing.room;
4664
+ const incoming_room = incoming.room;
4665
+ // if at least one of these optionals is defined
4666
+ if (existing_room !== undefined || incoming_room !== undefined) {
4667
+ // if one of these is not defined we know the other is defined and therefore
4668
+ // not equal
4669
+ if (existing_room === undefined || incoming_room === undefined) {
4670
+ return false;
4671
+ }
4672
+ if (!(existing_room === incoming_room
4673
+ || (existing_room != null &&
4674
+ incoming_room != null &&
4675
+ equals$o(existing_room, incoming_room)))) {
4676
+ return false;
4677
+ }
4678
+ }
4344
4679
  const existing_slackInviterId = existing.slackInviterId;
4345
4680
  const incoming_slackInviterId = incoming.slackInviterId;
4346
4681
  if (!(existing_slackInviterId === incoming_slackInviterId)) {
@@ -4492,7 +4827,7 @@ const select$G = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4492
4827
  name: 'conversations',
4493
4828
  kind: 'Link',
4494
4829
  plural: true,
4495
- fragment: select$M()
4830
+ fragment: select$N()
4496
4831
  },
4497
4832
  {
4498
4833
  name: 'messages',
@@ -5192,7 +5527,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
5192
5527
  }
5193
5528
 
5194
5529
  const TTL$4 = 900000;
5195
- const VERSION$e = "e028e881472367bb6b51398f0ceca161";
5530
+ const VERSION$e = "340b283b62f8c3f917012a6c8e120727";
5196
5531
  function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
5197
5532
  const v_error = (() => {
5198
5533
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5203,6 +5538,34 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
5203
5538
  if (typeof obj_bot !== 'boolean') {
5204
5539
  return new TypeError('Expected "boolean" but received "' + typeof obj_bot + '" (at "' + path_bot + '")');
5205
5540
  }
5541
+ if (obj.deleted !== undefined) {
5542
+ const obj_deleted = obj.deleted;
5543
+ const path_deleted = path + '.deleted';
5544
+ let obj_deleted_union0 = null;
5545
+ const obj_deleted_union0_error = (() => {
5546
+ if (typeof obj_deleted !== 'boolean') {
5547
+ return new TypeError('Expected "boolean" but received "' + typeof obj_deleted + '" (at "' + path_deleted + '")');
5548
+ }
5549
+ })();
5550
+ if (obj_deleted_union0_error != null) {
5551
+ obj_deleted_union0 = obj_deleted_union0_error.message;
5552
+ }
5553
+ let obj_deleted_union1 = null;
5554
+ const obj_deleted_union1_error = (() => {
5555
+ if (obj_deleted !== null) {
5556
+ return new TypeError('Expected "null" but received "' + typeof obj_deleted + '" (at "' + path_deleted + '")');
5557
+ }
5558
+ })();
5559
+ if (obj_deleted_union1_error != null) {
5560
+ obj_deleted_union1 = obj_deleted_union1_error.message;
5561
+ }
5562
+ if (obj_deleted_union0 && obj_deleted_union1) {
5563
+ let message = 'Object doesn\'t match union (at "' + path_deleted + '")';
5564
+ message += '\n' + obj_deleted_union0.split('\n').map((line) => '\t' + line).join('\n');
5565
+ message += '\n' + obj_deleted_union1.split('\n').map((line) => '\t' + line).join('\n');
5566
+ return new TypeError(message);
5567
+ }
5568
+ }
5206
5569
  const obj_displayName = obj.displayName;
5207
5570
  const path_displayName = path + '.displayName';
5208
5571
  let obj_displayName_union0 = null;
@@ -5286,6 +5649,62 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
5286
5649
  return new TypeError(message);
5287
5650
  }
5288
5651
  }
5652
+ if (obj.huddleState !== undefined) {
5653
+ const obj_huddleState = obj.huddleState;
5654
+ const path_huddleState = path + '.huddleState';
5655
+ let obj_huddleState_union0 = null;
5656
+ const obj_huddleState_union0_error = (() => {
5657
+ if (typeof obj_huddleState !== 'string') {
5658
+ return new TypeError('Expected "string" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
5659
+ }
5660
+ })();
5661
+ if (obj_huddleState_union0_error != null) {
5662
+ obj_huddleState_union0 = obj_huddleState_union0_error.message;
5663
+ }
5664
+ let obj_huddleState_union1 = null;
5665
+ const obj_huddleState_union1_error = (() => {
5666
+ if (obj_huddleState !== null) {
5667
+ return new TypeError('Expected "null" but received "' + typeof obj_huddleState + '" (at "' + path_huddleState + '")');
5668
+ }
5669
+ })();
5670
+ if (obj_huddleState_union1_error != null) {
5671
+ obj_huddleState_union1 = obj_huddleState_union1_error.message;
5672
+ }
5673
+ if (obj_huddleState_union0 && obj_huddleState_union1) {
5674
+ let message = 'Object doesn\'t match union (at "' + path_huddleState + '")';
5675
+ message += '\n' + obj_huddleState_union0.split('\n').map((line) => '\t' + line).join('\n');
5676
+ message += '\n' + obj_huddleState_union1.split('\n').map((line) => '\t' + line).join('\n');
5677
+ return new TypeError(message);
5678
+ }
5679
+ }
5680
+ if (obj.huddleStateExpirationTs !== undefined) {
5681
+ const obj_huddleStateExpirationTs = obj.huddleStateExpirationTs;
5682
+ const path_huddleStateExpirationTs = path + '.huddleStateExpirationTs';
5683
+ let obj_huddleStateExpirationTs_union0 = null;
5684
+ const obj_huddleStateExpirationTs_union0_error = (() => {
5685
+ if (typeof obj_huddleStateExpirationTs !== 'number' || (typeof obj_huddleStateExpirationTs === 'number' && Math.floor(obj_huddleStateExpirationTs) !== obj_huddleStateExpirationTs)) {
5686
+ return new TypeError('Expected "integer" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
5687
+ }
5688
+ })();
5689
+ if (obj_huddleStateExpirationTs_union0_error != null) {
5690
+ obj_huddleStateExpirationTs_union0 = obj_huddleStateExpirationTs_union0_error.message;
5691
+ }
5692
+ let obj_huddleStateExpirationTs_union1 = null;
5693
+ const obj_huddleStateExpirationTs_union1_error = (() => {
5694
+ if (obj_huddleStateExpirationTs !== null) {
5695
+ return new TypeError('Expected "null" but received "' + typeof obj_huddleStateExpirationTs + '" (at "' + path_huddleStateExpirationTs + '")');
5696
+ }
5697
+ })();
5698
+ if (obj_huddleStateExpirationTs_union1_error != null) {
5699
+ obj_huddleStateExpirationTs_union1 = obj_huddleStateExpirationTs_union1_error.message;
5700
+ }
5701
+ if (obj_huddleStateExpirationTs_union0 && obj_huddleStateExpirationTs_union1) {
5702
+ let message = 'Object doesn\'t match union (at "' + path_huddleStateExpirationTs + '")';
5703
+ message += '\n' + obj_huddleStateExpirationTs_union0.split('\n').map((line) => '\t' + line).join('\n');
5704
+ message += '\n' + obj_huddleStateExpirationTs_union1.split('\n').map((line) => '\t' + line).join('\n');
5705
+ return new TypeError(message);
5706
+ }
5707
+ }
5289
5708
  if (obj.image24 !== undefined) {
5290
5709
  const obj_image24 = obj.image24;
5291
5710
  const path_image24 = path + '.image24';
@@ -5340,32 +5759,6 @@ function validate$e(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
5340
5759
  message += '\n' + obj_imageOriginal_union1.split('\n').map((line) => '\t' + line).join('\n');
5341
5760
  return new TypeError(message);
5342
5761
  }
5343
- const obj_inHuddle = obj.inHuddle;
5344
- const path_inHuddle = path + '.inHuddle';
5345
- let obj_inHuddle_union0 = null;
5346
- const obj_inHuddle_union0_error = (() => {
5347
- if (typeof obj_inHuddle !== 'boolean') {
5348
- return new TypeError('Expected "boolean" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
5349
- }
5350
- })();
5351
- if (obj_inHuddle_union0_error != null) {
5352
- obj_inHuddle_union0 = obj_inHuddle_union0_error.message;
5353
- }
5354
- let obj_inHuddle_union1 = null;
5355
- const obj_inHuddle_union1_error = (() => {
5356
- if (obj_inHuddle !== null) {
5357
- return new TypeError('Expected "null" but received "' + typeof obj_inHuddle + '" (at "' + path_inHuddle + '")');
5358
- }
5359
- })();
5360
- if (obj_inHuddle_union1_error != null) {
5361
- obj_inHuddle_union1 = obj_inHuddle_union1_error.message;
5362
- }
5363
- if (obj_inHuddle_union0 && obj_inHuddle_union1) {
5364
- let message = 'Object doesn\'t match union (at "' + path_inHuddle + '")';
5365
- message += '\n' + obj_inHuddle_union0.split('\n').map((line) => '\t' + line).join('\n');
5366
- message += '\n' + obj_inHuddle_union1.split('\n').map((line) => '\t' + line).join('\n');
5367
- return new TypeError(message);
5368
- }
5369
5762
  const obj_isActive = obj.isActive;
5370
5763
  const path_isActive = path + '.isActive';
5371
5764
  let obj_isActive_union0 = null;
@@ -5772,6 +6165,11 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
5772
6165
  name: 'bot',
5773
6166
  kind: 'Scalar'
5774
6167
  },
6168
+ {
6169
+ name: 'deleted',
6170
+ kind: 'Scalar',
6171
+ required: false
6172
+ },
5775
6173
  {
5776
6174
  name: 'displayName',
5777
6175
  kind: 'Scalar'
@@ -5788,16 +6186,22 @@ const select$B = function SlackBridgeUserInfoOutputRepresentationSelect() {
5788
6186
  required: false
5789
6187
  },
5790
6188
  {
5791
- name: 'image24',
6189
+ name: 'huddleState',
5792
6190
  kind: 'Scalar',
5793
6191
  required: false
5794
6192
  },
5795
6193
  {
5796
- name: 'imageOriginal',
5797
- kind: 'Scalar'
6194
+ name: 'huddleStateExpirationTs',
6195
+ kind: 'Scalar',
6196
+ required: false
5798
6197
  },
5799
6198
  {
5800
- name: 'inHuddle',
6199
+ name: 'image24',
6200
+ kind: 'Scalar',
6201
+ required: false
6202
+ },
6203
+ {
6204
+ name: 'imageOriginal',
5801
6205
  kind: 'Scalar'
5802
6206
  },
5803
6207
  {
@@ -5952,6 +6356,19 @@ function equals$e(existing, incoming) {
5952
6356
  if (!(existing_slackUserId === incoming_slackUserId)) {
5953
6357
  return false;
5954
6358
  }
6359
+ const existing_deleted = existing.deleted;
6360
+ const incoming_deleted = incoming.deleted;
6361
+ // if at least one of these optionals is defined
6362
+ if (existing_deleted !== undefined || incoming_deleted !== undefined) {
6363
+ // if one of these is not defined we know the other is defined and therefore
6364
+ // not equal
6365
+ if (existing_deleted === undefined || incoming_deleted === undefined) {
6366
+ return false;
6367
+ }
6368
+ if (!(existing_deleted === incoming_deleted)) {
6369
+ return false;
6370
+ }
6371
+ }
5955
6372
  const existing_displayName = existing.displayName;
5956
6373
  const incoming_displayName = incoming.displayName;
5957
6374
  if (!(existing_displayName === incoming_displayName)) {
@@ -5978,6 +6395,32 @@ function equals$e(existing, incoming) {
5978
6395
  return false;
5979
6396
  }
5980
6397
  }
6398
+ const existing_huddleState = existing.huddleState;
6399
+ const incoming_huddleState = incoming.huddleState;
6400
+ // if at least one of these optionals is defined
6401
+ if (existing_huddleState !== undefined || incoming_huddleState !== undefined) {
6402
+ // if one of these is not defined we know the other is defined and therefore
6403
+ // not equal
6404
+ if (existing_huddleState === undefined || incoming_huddleState === undefined) {
6405
+ return false;
6406
+ }
6407
+ if (!(existing_huddleState === incoming_huddleState)) {
6408
+ return false;
6409
+ }
6410
+ }
6411
+ const existing_huddleStateExpirationTs = existing.huddleStateExpirationTs;
6412
+ const incoming_huddleStateExpirationTs = incoming.huddleStateExpirationTs;
6413
+ // if at least one of these optionals is defined
6414
+ if (existing_huddleStateExpirationTs !== undefined || incoming_huddleStateExpirationTs !== undefined) {
6415
+ // if one of these is not defined we know the other is defined and therefore
6416
+ // not equal
6417
+ if (existing_huddleStateExpirationTs === undefined || incoming_huddleStateExpirationTs === undefined) {
6418
+ return false;
6419
+ }
6420
+ if (!(existing_huddleStateExpirationTs === incoming_huddleStateExpirationTs)) {
6421
+ return false;
6422
+ }
6423
+ }
5981
6424
  const existing_image24 = existing.image24;
5982
6425
  const incoming_image24 = incoming.image24;
5983
6426
  // if at least one of these optionals is defined
@@ -5996,11 +6439,6 @@ function equals$e(existing, incoming) {
5996
6439
  if (!(existing_imageOriginal === incoming_imageOriginal)) {
5997
6440
  return false;
5998
6441
  }
5999
- const existing_inHuddle = existing.inHuddle;
6000
- const incoming_inHuddle = incoming.inHuddle;
6001
- if (!(existing_inHuddle === incoming_inHuddle)) {
6002
- return false;
6003
- }
6004
6442
  const existing_isActive = existing.isActive;
6005
6443
  const incoming_isActive = incoming.isActive;
6006
6444
  if (!(existing_isActive === incoming_isActive)) {
@@ -6706,13 +7144,13 @@ const select$z = function SlackBridgeConversationOutputRepresentationSelect() {
6706
7144
  name: 'conversationInfo',
6707
7145
  kind: 'Link',
6708
7146
  nullable: true,
6709
- fragment: select$M()
7147
+ fragment: select$N()
6710
7148
  },
6711
7149
  {
6712
7150
  name: 'conversationInfos',
6713
7151
  kind: 'Link',
6714
7152
  plural: true,
6715
- fragment: select$M()
7153
+ fragment: select$N()
6716
7154
  },
6717
7155
  {
6718
7156
  name: 'emojis',
@@ -7019,7 +7457,7 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
7019
7457
  };
7020
7458
 
7021
7459
  function select$x(luvio, params) {
7022
- return select$M();
7460
+ return select$N();
7023
7461
  }
7024
7462
  function keyBuilder$w(luvio, params) {
7025
7463
  return keyBuilder$E(luvio, {
@@ -7052,7 +7490,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
7052
7490
  const storeMetadataParams = {
7053
7491
  ttl: TTL$7,
7054
7492
  namespace: keyPrefix,
7055
- version: VERSION$o,
7493
+ version: VERSION$p,
7056
7494
  representationName: RepresentationType$h
7057
7495
  };
7058
7496
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -7189,7 +7627,7 @@ const notifyChangeFactory$6 = (luvio, options) => {
7189
7627
  luvio.storeIngestError(key, errorSnapshot, {
7190
7628
  ttl: TTL$7,
7191
7629
  namespace: keyPrefix,
7192
- version: VERSION$o,
7630
+ version: VERSION$p,
7193
7631
  representationName: RepresentationType$h
7194
7632
  });
7195
7633
  return luvio.storeBroadcast().then(() => errorSnapshot);
@@ -7277,7 +7715,7 @@ const select$w = function SlackBridgeConversationInfosOutputRepresentationSelect
7277
7715
  name: 'conversationInfos',
7278
7716
  kind: 'Link',
7279
7717
  plural: true,
7280
- fragment: select$M()
7718
+ fragment: select$N()
7281
7719
  },
7282
7720
  {
7283
7721
  name: 'searchString',
@@ -7464,7 +7902,7 @@ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge_
7464
7902
  };
7465
7903
 
7466
7904
  function select$u(luvio, params) {
7467
- return select$S();
7905
+ return select$T();
7468
7906
  }
7469
7907
  function keyBuilder$s(luvio, params) {
7470
7908
  return keyBuilder$K(luvio, {
@@ -8668,7 +9106,7 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
8668
9106
  };
8669
9107
 
8670
9108
  function select$l(luvio, params) {
8671
- return select$R();
9109
+ return select$S();
8672
9110
  }
8673
9111
  function keyBuilder$h(luvio, params) {
8674
9112
  return keyBuilder$I(luvio, {
@@ -8897,7 +9335,7 @@ const select$k = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
8897
9335
  {
8898
9336
  name: 'conversationInfo',
8899
9337
  kind: 'Link',
8900
- fragment: select$M()
9338
+ fragment: select$N()
8901
9339
  },
8902
9340
  {
8903
9341
  name: 'relatedRecordId',
@@ -10367,7 +10805,7 @@ const openSlackConversationAdapterFactory = (luvio) => {
10367
10805
  };
10368
10806
 
10369
10807
  function select$8(luvio, params) {
10370
- return select$R();
10808
+ return select$S();
10371
10809
  }
10372
10810
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10373
10811
  getTypeCacheKeys$j(storeKeyMap, luvio, response);
@@ -11032,7 +11470,7 @@ const postSlackFileAdapterFactory = (luvio) => {
11032
11470
  };
11033
11471
 
11034
11472
  function select$1(luvio, params) {
11035
- return select$P();
11473
+ return select$Q();
11036
11474
  }
11037
11475
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
11038
11476
  getTypeCacheKeys$i(storeKeyMap, luvio, response);
@@ -11458,4 +11896,4 @@ withDefaultLuvio((luvio) => {
11458
11896
  });
11459
11897
 
11460
11898
  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 };
11461
- // version: 1.380.0-dev2-fd70e1c449
11899
+ // version: 1.380.0-dev20-504301d774