@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev13 → 1.380.0-dev15

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 = "898110c1fd3651e7f407ba56cf0ca85a";
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 + '")');
@@ -1608,7 +1608,7 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1608
1608
  const path_properties = path + '.properties';
1609
1609
  let obj_properties_union0 = null;
1610
1610
  const obj_properties_union0_error = (() => {
1611
- const referencepath_propertiesValidationError = validate$p(obj_properties, path_properties);
1611
+ const referencepath_propertiesValidationError = validate$q(obj_properties, path_properties);
1612
1612
  if (referencepath_propertiesValidationError !== null) {
1613
1613
  let message = 'Object doesn\'t match SlackBridgeConversationPropertiesOutputRepresentation (at "' + path_properties + '")\n';
1614
1614
  message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1739,11 +1739,11 @@ function keyBuilderFromType$8(luvio, object) {
1739
1739
  function normalize$h(input, existing, path, luvio, store, timestamp) {
1740
1740
  return input;
1741
1741
  }
1742
- const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1743
- const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$N();
1742
+ const select$N = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1743
+ const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$O();
1744
1744
  return {
1745
1745
  kind: 'Fragment',
1746
- version: VERSION$o,
1746
+ version: VERSION$p,
1747
1747
  private: [],
1748
1748
  selections: [
1749
1749
  {
@@ -1856,7 +1856,7 @@ const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect(
1856
1856
  ]
1857
1857
  };
1858
1858
  };
1859
- function equals$o(existing, incoming) {
1859
+ function equals$p(existing, incoming) {
1860
1860
  const existing_id = existing.id;
1861
1861
  const incoming_id = incoming.id;
1862
1862
  if (!(existing_id === incoming_id)) {
@@ -1990,7 +1990,7 @@ function equals$o(existing, incoming) {
1990
1990
  if (!(existing_properties === incoming_properties
1991
1991
  || (existing_properties != null &&
1992
1992
  incoming_properties != null &&
1993
- equals$p(existing_properties, incoming_properties)))) {
1993
+ equals$q(existing_properties, incoming_properties)))) {
1994
1994
  return false;
1995
1995
  }
1996
1996
  }
@@ -2029,14 +2029,14 @@ function equals$o(existing, incoming) {
2029
2029
  }
2030
2030
  const ingest$h = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2031
2031
  if (process.env.NODE_ENV !== 'production') {
2032
- const validateError = validate$o(input);
2032
+ const validateError = validate$p(input);
2033
2033
  if (validateError !== null) {
2034
2034
  throw validateError;
2035
2035
  }
2036
2036
  }
2037
2037
  const key = keyBuilderFromType$8(luvio, input);
2038
2038
  const ttlToUse = TTL$7;
2039
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$o, RepresentationType$h, equals$o);
2039
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$p, RepresentationType$h, equals$p);
2040
2040
  return createLink(key);
2041
2041
  };
2042
2042
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -2049,6 +2049,124 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2049
2049
  });
2050
2050
  }
2051
2051
 
2052
+ const VERSION$o = "488003a3c8d2f6eea2dab88ab8abf74a";
2053
+ function validate$o(obj, path = 'SlackBridgeRoomOutputRepresentation') {
2054
+ const v_error = (() => {
2055
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2056
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2057
+ }
2058
+ const obj_hasEnded = obj.hasEnded;
2059
+ const path_hasEnded = path + '.hasEnded';
2060
+ if (typeof obj_hasEnded !== 'boolean') {
2061
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasEnded + '" (at "' + path_hasEnded + '")');
2062
+ }
2063
+ const obj_huddleLink = obj.huddleLink;
2064
+ const path_huddleLink = path + '.huddleLink';
2065
+ if (typeof obj_huddleLink !== 'string') {
2066
+ return new TypeError('Expected "string" but received "' + typeof obj_huddleLink + '" (at "' + path_huddleLink + '")');
2067
+ }
2068
+ const obj_id = obj.id;
2069
+ const path_id = path + '.id';
2070
+ if (typeof obj_id !== 'string') {
2071
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2072
+ }
2073
+ const obj_participantHistory = obj.participantHistory;
2074
+ const path_participantHistory = path + '.participantHistory';
2075
+ if (!ArrayIsArray(obj_participantHistory)) {
2076
+ return new TypeError('Expected "array" but received "' + typeof obj_participantHistory + '" (at "' + path_participantHistory + '")');
2077
+ }
2078
+ for (let i = 0; i < obj_participantHistory.length; i++) {
2079
+ const obj_participantHistory_item = obj_participantHistory[i];
2080
+ const path_participantHistory_item = path_participantHistory + '[' + i + ']';
2081
+ if (typeof obj_participantHistory_item !== 'string') {
2082
+ return new TypeError('Expected "string" but received "' + typeof obj_participantHistory_item + '" (at "' + path_participantHistory_item + '")');
2083
+ }
2084
+ }
2085
+ const obj_participants = obj.participants;
2086
+ const path_participants = path + '.participants';
2087
+ if (!ArrayIsArray(obj_participants)) {
2088
+ return new TypeError('Expected "array" but received "' + typeof obj_participants + '" (at "' + path_participants + '")');
2089
+ }
2090
+ for (let i = 0; i < obj_participants.length; i++) {
2091
+ const obj_participants_item = obj_participants[i];
2092
+ const path_participants_item = path_participants + '[' + i + ']';
2093
+ if (typeof obj_participants_item !== 'string') {
2094
+ return new TypeError('Expected "string" but received "' + typeof obj_participants_item + '" (at "' + path_participants_item + '")');
2095
+ }
2096
+ }
2097
+ })();
2098
+ return v_error === undefined ? null : v_error;
2099
+ }
2100
+ const select$M = function SlackBridgeRoomOutputRepresentationSelect() {
2101
+ return {
2102
+ kind: 'Fragment',
2103
+ version: VERSION$o,
2104
+ private: [],
2105
+ selections: [
2106
+ {
2107
+ name: 'hasEnded',
2108
+ kind: 'Scalar'
2109
+ },
2110
+ {
2111
+ name: 'huddleLink',
2112
+ kind: 'Scalar'
2113
+ },
2114
+ {
2115
+ name: 'id',
2116
+ kind: 'Scalar'
2117
+ },
2118
+ {
2119
+ name: 'participantHistory',
2120
+ kind: 'Scalar',
2121
+ plural: true
2122
+ },
2123
+ {
2124
+ name: 'participants',
2125
+ kind: 'Scalar',
2126
+ plural: true
2127
+ }
2128
+ ]
2129
+ };
2130
+ };
2131
+ function equals$o(existing, incoming) {
2132
+ const existing_hasEnded = existing.hasEnded;
2133
+ const incoming_hasEnded = incoming.hasEnded;
2134
+ if (!(existing_hasEnded === incoming_hasEnded)) {
2135
+ return false;
2136
+ }
2137
+ const existing_huddleLink = existing.huddleLink;
2138
+ const incoming_huddleLink = incoming.huddleLink;
2139
+ if (!(existing_huddleLink === incoming_huddleLink)) {
2140
+ return false;
2141
+ }
2142
+ const existing_id = existing.id;
2143
+ const incoming_id = incoming.id;
2144
+ if (!(existing_id === incoming_id)) {
2145
+ return false;
2146
+ }
2147
+ const existing_participantHistory = existing.participantHistory;
2148
+ const incoming_participantHistory = incoming.participantHistory;
2149
+ const equals_participantHistory_items = equalsArray(existing_participantHistory, incoming_participantHistory, (existing_participantHistory_item, incoming_participantHistory_item) => {
2150
+ if (!(existing_participantHistory_item === incoming_participantHistory_item)) {
2151
+ return false;
2152
+ }
2153
+ });
2154
+ if (equals_participantHistory_items === false) {
2155
+ return false;
2156
+ }
2157
+ const existing_participants = existing.participants;
2158
+ const incoming_participants = incoming.participants;
2159
+ const equals_participants_items = equalsArray(existing_participants, incoming_participants, (existing_participants_item, incoming_participants_item) => {
2160
+ if (!(existing_participants_item === incoming_participants_item)) {
2161
+ return false;
2162
+ }
2163
+ });
2164
+ if (equals_participants_items === false) {
2165
+ return false;
2166
+ }
2167
+ return true;
2168
+ }
2169
+
2052
2170
  const VERSION$n = "4634cd404d8392ac4ca9f0e1be03bfbd";
2053
2171
  function validate$n(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
2054
2172
  const v_error = (() => {
@@ -3557,7 +3675,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
3557
3675
  });
3558
3676
  }
3559
3677
 
3560
- const VERSION$j = "57fae23c7ffb8f67218b25919d2c8e3c";
3678
+ const VERSION$j = "cc3b0409eeb9f8a45956130e18c9be91";
3561
3679
  function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3562
3680
  const v_error = (() => {
3563
3681
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3826,7 +3944,7 @@ function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3826
3944
  for (let i = 0; i < obj_reactions.length; i++) {
3827
3945
  const obj_reactions_item = obj_reactions[i];
3828
3946
  const path_reactions_item = path_reactions + '[' + i + ']';
3829
- const referencepath_reactions_itemValidationError = validate$s(obj_reactions_item, path_reactions_item);
3947
+ const referencepath_reactions_itemValidationError = validate$t(obj_reactions_item, path_reactions_item);
3830
3948
  if (referencepath_reactions_itemValidationError !== null) {
3831
3949
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
3832
3950
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3897,6 +4015,37 @@ function validate$j(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3897
4015
  message += '\n' + obj_replyUsersCount_union1.split('\n').map((line) => '\t' + line).join('\n');
3898
4016
  return new TypeError(message);
3899
4017
  }
4018
+ if (obj.room !== undefined) {
4019
+ const obj_room = obj.room;
4020
+ const path_room = path + '.room';
4021
+ let obj_room_union0 = null;
4022
+ const obj_room_union0_error = (() => {
4023
+ const referencepath_roomValidationError = validate$o(obj_room, path_room);
4024
+ if (referencepath_roomValidationError !== null) {
4025
+ let message = 'Object doesn\'t match SlackBridgeRoomOutputRepresentation (at "' + path_room + '")\n';
4026
+ message += referencepath_roomValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4027
+ return new TypeError(message);
4028
+ }
4029
+ })();
4030
+ if (obj_room_union0_error != null) {
4031
+ obj_room_union0 = obj_room_union0_error.message;
4032
+ }
4033
+ let obj_room_union1 = null;
4034
+ const obj_room_union1_error = (() => {
4035
+ if (obj_room !== null) {
4036
+ return new TypeError('Expected "null" but received "' + typeof obj_room + '" (at "' + path_room + '")');
4037
+ }
4038
+ })();
4039
+ if (obj_room_union1_error != null) {
4040
+ obj_room_union1 = obj_room_union1_error.message;
4041
+ }
4042
+ if (obj_room_union0 && obj_room_union1) {
4043
+ let message = 'Object doesn\'t match union (at "' + path_room + '")';
4044
+ message += '\n' + obj_room_union0.split('\n').map((line) => '\t' + line).join('\n');
4045
+ message += '\n' + obj_room_union1.split('\n').map((line) => '\t' + line).join('\n');
4046
+ return new TypeError(message);
4047
+ }
4048
+ }
3900
4049
  const obj_slackInviterId = obj.slackInviterId;
3901
4050
  const path_slackInviterId = path + '.slackInviterId';
3902
4051
  let obj_slackInviterId_union0 = null;
@@ -4084,7 +4233,8 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
4084
4233
  return input;
4085
4234
  }
4086
4235
  const select$H = function SlackBridgeMessageOutputRepresentationSelect() {
4087
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$Q();
4236
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$R();
4237
+ const { selections: SlackBridgeRoomOutputRepresentation__selections, opaque: SlackBridgeRoomOutputRepresentation__opaque, } = select$M();
4088
4238
  return {
4089
4239
  kind: 'Fragment',
4090
4240
  version: VERSION$j,
@@ -4167,6 +4317,13 @@ const select$H = function SlackBridgeMessageOutputRepresentationSelect() {
4167
4317
  name: 'replyUsersCount',
4168
4318
  kind: 'Scalar'
4169
4319
  },
4320
+ {
4321
+ name: 'room',
4322
+ kind: 'Object',
4323
+ nullable: true,
4324
+ selections: SlackBridgeRoomOutputRepresentation__selections,
4325
+ required: false
4326
+ },
4170
4327
  {
4171
4328
  name: 'slackInviterId',
4172
4329
  kind: 'Scalar'
@@ -4314,7 +4471,7 @@ function equals$j(existing, incoming) {
4314
4471
  const existing_reactions = existing.reactions;
4315
4472
  const incoming_reactions = incoming.reactions;
4316
4473
  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))) {
4474
+ if (!(equals$t(existing_reactions_item, incoming_reactions_item))) {
4318
4475
  return false;
4319
4476
  }
4320
4477
  });
@@ -4341,6 +4498,22 @@ function equals$j(existing, incoming) {
4341
4498
  if (!(existing_replyUsersCount === incoming_replyUsersCount)) {
4342
4499
  return false;
4343
4500
  }
4501
+ const existing_room = existing.room;
4502
+ const incoming_room = incoming.room;
4503
+ // if at least one of these optionals is defined
4504
+ if (existing_room !== undefined || incoming_room !== undefined) {
4505
+ // if one of these is not defined we know the other is defined and therefore
4506
+ // not equal
4507
+ if (existing_room === undefined || incoming_room === undefined) {
4508
+ return false;
4509
+ }
4510
+ if (!(existing_room === incoming_room
4511
+ || (existing_room != null &&
4512
+ incoming_room != null &&
4513
+ equals$o(existing_room, incoming_room)))) {
4514
+ return false;
4515
+ }
4516
+ }
4344
4517
  const existing_slackInviterId = existing.slackInviterId;
4345
4518
  const incoming_slackInviterId = incoming.slackInviterId;
4346
4519
  if (!(existing_slackInviterId === incoming_slackInviterId)) {
@@ -4492,7 +4665,7 @@ const select$G = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4492
4665
  name: 'conversations',
4493
4666
  kind: 'Link',
4494
4667
  plural: true,
4495
- fragment: select$M()
4668
+ fragment: select$N()
4496
4669
  },
4497
4670
  {
4498
4671
  name: 'messages',
@@ -6706,13 +6879,13 @@ const select$z = function SlackBridgeConversationOutputRepresentationSelect() {
6706
6879
  name: 'conversationInfo',
6707
6880
  kind: 'Link',
6708
6881
  nullable: true,
6709
- fragment: select$M()
6882
+ fragment: select$N()
6710
6883
  },
6711
6884
  {
6712
6885
  name: 'conversationInfos',
6713
6886
  kind: 'Link',
6714
6887
  plural: true,
6715
- fragment: select$M()
6888
+ fragment: select$N()
6716
6889
  },
6717
6890
  {
6718
6891
  name: 'emojis',
@@ -7019,7 +7192,7 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
7019
7192
  };
7020
7193
 
7021
7194
  function select$x(luvio, params) {
7022
- return select$M();
7195
+ return select$N();
7023
7196
  }
7024
7197
  function keyBuilder$w(luvio, params) {
7025
7198
  return keyBuilder$E(luvio, {
@@ -7052,7 +7225,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
7052
7225
  const storeMetadataParams = {
7053
7226
  ttl: TTL$7,
7054
7227
  namespace: keyPrefix,
7055
- version: VERSION$o,
7228
+ version: VERSION$p,
7056
7229
  representationName: RepresentationType$h
7057
7230
  };
7058
7231
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -7189,7 +7362,7 @@ const notifyChangeFactory$6 = (luvio, options) => {
7189
7362
  luvio.storeIngestError(key, errorSnapshot, {
7190
7363
  ttl: TTL$7,
7191
7364
  namespace: keyPrefix,
7192
- version: VERSION$o,
7365
+ version: VERSION$p,
7193
7366
  representationName: RepresentationType$h
7194
7367
  });
7195
7368
  return luvio.storeBroadcast().then(() => errorSnapshot);
@@ -7277,7 +7450,7 @@ const select$w = function SlackBridgeConversationInfosOutputRepresentationSelect
7277
7450
  name: 'conversationInfos',
7278
7451
  kind: 'Link',
7279
7452
  plural: true,
7280
- fragment: select$M()
7453
+ fragment: select$N()
7281
7454
  },
7282
7455
  {
7283
7456
  name: 'searchString',
@@ -7464,7 +7637,7 @@ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge_
7464
7637
  };
7465
7638
 
7466
7639
  function select$u(luvio, params) {
7467
- return select$S();
7640
+ return select$T();
7468
7641
  }
7469
7642
  function keyBuilder$s(luvio, params) {
7470
7643
  return keyBuilder$K(luvio, {
@@ -8668,7 +8841,7 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
8668
8841
  };
8669
8842
 
8670
8843
  function select$l(luvio, params) {
8671
- return select$R();
8844
+ return select$S();
8672
8845
  }
8673
8846
  function keyBuilder$h(luvio, params) {
8674
8847
  return keyBuilder$I(luvio, {
@@ -8897,7 +9070,7 @@ const select$k = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
8897
9070
  {
8898
9071
  name: 'conversationInfo',
8899
9072
  kind: 'Link',
8900
- fragment: select$M()
9073
+ fragment: select$N()
8901
9074
  },
8902
9075
  {
8903
9076
  name: 'relatedRecordId',
@@ -10367,7 +10540,7 @@ const openSlackConversationAdapterFactory = (luvio) => {
10367
10540
  };
10368
10541
 
10369
10542
  function select$8(luvio, params) {
10370
- return select$R();
10543
+ return select$S();
10371
10544
  }
10372
10545
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10373
10546
  getTypeCacheKeys$j(storeKeyMap, luvio, response);
@@ -11032,7 +11205,7 @@ const postSlackFileAdapterFactory = (luvio) => {
11032
11205
  };
11033
11206
 
11034
11207
  function select$1(luvio, params) {
11035
- return select$P();
11208
+ return select$Q();
11036
11209
  }
11037
11210
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
11038
11211
  getTypeCacheKeys$i(storeKeyMap, luvio, response);
@@ -11458,4 +11631,4 @@ withDefaultLuvio((luvio) => {
11458
11631
  });
11459
11632
 
11460
11633
  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-dev13-6622e6f116
11634
+ // version: 1.380.0-dev15-0abe79ad34