@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev10 → 1.354.0-dev11

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$o = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
- function validate$o(obj, path = 'SlackBridgeConversationMemberOutputRepresentation') {
125
+ const VERSION$r = "5ea9ee9da9dcb5309c4f35bb4bf5def2";
126
+ function validate$r(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$a(luvio, object) {
154
154
  function normalize$i(input, existing, path, luvio, store, timestamp) {
155
155
  return input;
156
156
  }
157
- const select$K = function SlackBridgeConversationMemberOutputRepresentationSelect() {
157
+ const select$N = function SlackBridgeConversationMemberOutputRepresentationSelect() {
158
158
  return {
159
159
  kind: 'Fragment',
160
- version: VERSION$o,
160
+ version: VERSION$r,
161
161
  private: [],
162
162
  selections: [
163
163
  {
@@ -171,7 +171,7 @@ const select$K = function SlackBridgeConversationMemberOutputRepresentationSelec
171
171
  ]
172
172
  };
173
173
  };
174
- function equals$o(existing, incoming) {
174
+ function equals$r(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$o(existing, incoming) {
186
186
  }
187
187
  const ingest$i = function SlackBridgeConversationMemberOutputRepresentationIngest(input, path, luvio, store, timestamp) {
188
188
  if (process.env.NODE_ENV !== 'production') {
189
- const validateError = validate$o(input);
189
+ const validateError = validate$r(input);
190
190
  if (validateError !== null) {
191
191
  throw validateError;
192
192
  }
193
193
  }
194
194
  const key = keyBuilderFromType$a(luvio, input);
195
195
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
196
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$o, RepresentationType$i, equals$o);
196
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$r, RepresentationType$i, equals$r);
197
197
  return createLink(key);
198
198
  };
199
199
  function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
@@ -292,8 +292,8 @@ const deleteSlackConversationMemberAdapterFactory = (luvio) => {
292
292
  };
293
293
  };
294
294
 
295
- const VERSION$n = "605674abcbc0dad7e2707e4e00e8d4cd";
296
- function validate$n(obj, path = 'SlackBridgeMessageFragmentOutputRepresentation') {
295
+ const VERSION$q = "605674abcbc0dad7e2707e4e00e8d4cd";
296
+ function validate$q(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$9(luvio, object) {
329
329
  function normalize$h(input, existing, path, luvio, store, timestamp) {
330
330
  return input;
331
331
  }
332
- const select$J = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
332
+ const select$M = function SlackBridgeMessageFragmentOutputRepresentationSelect() {
333
333
  return {
334
334
  kind: 'Fragment',
335
- version: VERSION$n,
335
+ version: VERSION$q,
336
336
  private: [],
337
337
  selections: [
338
338
  {
@@ -350,7 +350,7 @@ const select$J = function SlackBridgeMessageFragmentOutputRepresentationSelect()
350
350
  ]
351
351
  };
352
352
  };
353
- function equals$n(existing, incoming) {
353
+ function equals$q(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$n(existing, incoming) {
370
370
  }
371
371
  const ingest$h = function SlackBridgeMessageFragmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
372
372
  if (process.env.NODE_ENV !== 'production') {
373
- const validateError = validate$n(input);
373
+ const validateError = validate$q(input);
374
374
  if (validateError !== null) {
375
375
  throw validateError;
376
376
  }
377
377
  }
378
378
  const key = keyBuilderFromType$9(luvio, input);
379
379
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
380
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$n, RepresentationType$h, equals$n);
380
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$q, RepresentationType$h, equals$q);
381
381
  return createLink(key);
382
382
  };
383
383
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -476,8 +476,8 @@ const deleteSlackMessageAdapterFactory = (luvio) => {
476
476
  };
477
477
  };
478
478
 
479
- const VERSION$m = "7820a930852347bb0506c08d8b528281";
480
- function validate$m(obj, path = 'SlackBridgeReactionOutputRepresentation') {
479
+ const VERSION$p = "7820a930852347bb0506c08d8b528281";
480
+ function validate$p(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$m(obj, path = 'SlackBridgeReactionOutputRepresentation') {
554
554
  })();
555
555
  return v_error === undefined ? null : v_error;
556
556
  }
557
- const select$I = function SlackBridgeReactionOutputRepresentationSelect() {
557
+ const select$L = function SlackBridgeReactionOutputRepresentationSelect() {
558
558
  return {
559
559
  kind: 'Fragment',
560
- version: VERSION$m,
560
+ version: VERSION$p,
561
561
  private: [],
562
562
  selections: [
563
563
  {
@@ -580,7 +580,7 @@ const select$I = function SlackBridgeReactionOutputRepresentationSelect() {
580
580
  ]
581
581
  };
582
582
  };
583
- function equals$m(existing, incoming) {
583
+ function equals$p(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$m(existing, incoming) {
609
609
  return true;
610
610
  }
611
611
 
612
- const VERSION$l = "804aa6216a7579adeeae856f76b688db";
613
- function validate$l(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
612
+ const VERSION$o = "804aa6216a7579adeeae856f76b688db";
613
+ function validate$o(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$l(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$m(obj_reactions_item, path_reactions_item);
636
+ const referencepath_reactions_itemValidationError = validate$p(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$8(luvio, object) {
661
661
  function normalize$g(input, existing, path, luvio, store, timestamp) {
662
662
  return input;
663
663
  }
664
- const select$H = function SlackBridgeReactionsOutputRepresentationSelect() {
665
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$I();
664
+ const select$K = function SlackBridgeReactionsOutputRepresentationSelect() {
665
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$L();
666
666
  return {
667
667
  kind: 'Fragment',
668
- version: VERSION$l,
668
+ version: VERSION$o,
669
669
  private: [],
670
670
  selections: [
671
671
  {
@@ -689,7 +689,7 @@ const select$H = function SlackBridgeReactionsOutputRepresentationSelect() {
689
689
  ]
690
690
  };
691
691
  };
692
- function equals$l(existing, incoming) {
692
+ function equals$o(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$l(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$m(existing_reactions_item, incoming_reactions_item))) {
711
+ if (!(equals$p(existing_reactions_item, incoming_reactions_item))) {
712
712
  return false;
713
713
  }
714
714
  });
@@ -719,14 +719,14 @@ function equals$l(existing, incoming) {
719
719
  }
720
720
  const ingest$g = function SlackBridgeReactionsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
721
721
  if (process.env.NODE_ENV !== 'production') {
722
- const validateError = validate$l(input);
722
+ const validateError = validate$o(input);
723
723
  if (validateError !== null) {
724
724
  throw validateError;
725
725
  }
726
726
  }
727
727
  const key = keyBuilderFromType$8(luvio, input);
728
728
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
729
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
729
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$o, RepresentationType$g, equals$o);
730
730
  return createLink(key);
731
731
  };
732
732
  function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
@@ -826,13 +826,329 @@ const deleteSlackMessageReactionsAdapterFactory = (luvio) => {
826
826
  };
827
827
  };
828
828
 
829
+ const VERSION$n = "90163ce3734714c2b87ec91b0ae3ff53";
830
+ function validate$n(obj, path = 'SlackBridgeConversationRestrictionsOutputRepresentation') {
831
+ const v_error = (() => {
832
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
833
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
834
+ }
835
+ const obj_type = obj.type;
836
+ const path_type = path + '.type';
837
+ if (!ArrayIsArray(obj_type)) {
838
+ return new TypeError('Expected "array" but received "' + typeof obj_type + '" (at "' + path_type + '")');
839
+ }
840
+ for (let i = 0; i < obj_type.length; i++) {
841
+ const obj_type_item = obj_type[i];
842
+ const path_type_item = path_type + '[' + i + ']';
843
+ if (typeof obj_type_item !== 'string') {
844
+ return new TypeError('Expected "string" but received "' + typeof obj_type_item + '" (at "' + path_type_item + '")');
845
+ }
846
+ }
847
+ const obj_user = obj.user;
848
+ const path_user = path + '.user';
849
+ if (!ArrayIsArray(obj_user)) {
850
+ return new TypeError('Expected "array" but received "' + typeof obj_user + '" (at "' + path_user + '")');
851
+ }
852
+ for (let i = 0; i < obj_user.length; i++) {
853
+ const obj_user_item = obj_user[i];
854
+ const path_user_item = path_user + '[' + i + ']';
855
+ if (typeof obj_user_item !== 'string') {
856
+ return new TypeError('Expected "string" but received "' + typeof obj_user_item + '" (at "' + path_user_item + '")');
857
+ }
858
+ }
859
+ })();
860
+ return v_error === undefined ? null : v_error;
861
+ }
862
+ const select$J = function SlackBridgeConversationRestrictionsOutputRepresentationSelect() {
863
+ return {
864
+ kind: 'Fragment',
865
+ version: VERSION$n,
866
+ private: [],
867
+ selections: [
868
+ {
869
+ name: 'type',
870
+ kind: 'Scalar',
871
+ plural: true
872
+ },
873
+ {
874
+ name: 'user',
875
+ kind: 'Scalar',
876
+ plural: true
877
+ }
878
+ ]
879
+ };
880
+ };
881
+ function equals$n(existing, incoming) {
882
+ const existing_type = existing.type;
883
+ const incoming_type = incoming.type;
884
+ const equals_type_items = equalsArray(existing_type, incoming_type, (existing_type_item, incoming_type_item) => {
885
+ if (!(existing_type_item === incoming_type_item)) {
886
+ return false;
887
+ }
888
+ });
889
+ if (equals_type_items === false) {
890
+ return false;
891
+ }
892
+ const existing_user = existing.user;
893
+ const incoming_user = incoming.user;
894
+ const equals_user_items = equalsArray(existing_user, incoming_user, (existing_user_item, incoming_user_item) => {
895
+ if (!(existing_user_item === incoming_user_item)) {
896
+ return false;
897
+ }
898
+ });
899
+ if (equals_user_items === false) {
900
+ return false;
901
+ }
902
+ return true;
903
+ }
904
+
905
+ const VERSION$m = "139b4530e5abfb4424ce58620c1e6934";
906
+ function validate$m(obj, path = 'SlackBridgeConversationPropertiesOutputRepresentation') {
907
+ const v_error = (() => {
908
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
909
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
910
+ }
911
+ const obj_atChannelRestricted = obj.atChannelRestricted;
912
+ const path_atChannelRestricted = path + '.atChannelRestricted';
913
+ let obj_atChannelRestricted_union0 = null;
914
+ const obj_atChannelRestricted_union0_error = (() => {
915
+ if (typeof obj_atChannelRestricted !== 'boolean') {
916
+ return new TypeError('Expected "boolean" but received "' + typeof obj_atChannelRestricted + '" (at "' + path_atChannelRestricted + '")');
917
+ }
918
+ })();
919
+ if (obj_atChannelRestricted_union0_error != null) {
920
+ obj_atChannelRestricted_union0 = obj_atChannelRestricted_union0_error.message;
921
+ }
922
+ let obj_atChannelRestricted_union1 = null;
923
+ const obj_atChannelRestricted_union1_error = (() => {
924
+ if (obj_atChannelRestricted !== null) {
925
+ return new TypeError('Expected "null" but received "' + typeof obj_atChannelRestricted + '" (at "' + path_atChannelRestricted + '")');
926
+ }
927
+ })();
928
+ if (obj_atChannelRestricted_union1_error != null) {
929
+ obj_atChannelRestricted_union1 = obj_atChannelRestricted_union1_error.message;
930
+ }
931
+ if (obj_atChannelRestricted_union0 && obj_atChannelRestricted_union1) {
932
+ let message = 'Object doesn\'t match union (at "' + path_atChannelRestricted + '")';
933
+ message += '\n' + obj_atChannelRestricted_union0.split('\n').map((line) => '\t' + line).join('\n');
934
+ message += '\n' + obj_atChannelRestricted_union1.split('\n').map((line) => '\t' + line).join('\n');
935
+ return new TypeError(message);
936
+ }
937
+ const obj_atHereRestricted = obj.atHereRestricted;
938
+ const path_atHereRestricted = path + '.atHereRestricted';
939
+ let obj_atHereRestricted_union0 = null;
940
+ const obj_atHereRestricted_union0_error = (() => {
941
+ if (typeof obj_atHereRestricted !== 'boolean') {
942
+ return new TypeError('Expected "boolean" but received "' + typeof obj_atHereRestricted + '" (at "' + path_atHereRestricted + '")');
943
+ }
944
+ })();
945
+ if (obj_atHereRestricted_union0_error != null) {
946
+ obj_atHereRestricted_union0 = obj_atHereRestricted_union0_error.message;
947
+ }
948
+ let obj_atHereRestricted_union1 = null;
949
+ const obj_atHereRestricted_union1_error = (() => {
950
+ if (obj_atHereRestricted !== null) {
951
+ return new TypeError('Expected "null" but received "' + typeof obj_atHereRestricted + '" (at "' + path_atHereRestricted + '")');
952
+ }
953
+ })();
954
+ if (obj_atHereRestricted_union1_error != null) {
955
+ obj_atHereRestricted_union1 = obj_atHereRestricted_union1_error.message;
956
+ }
957
+ if (obj_atHereRestricted_union0 && obj_atHereRestricted_union1) {
958
+ let message = 'Object doesn\'t match union (at "' + path_atHereRestricted + '")';
959
+ message += '\n' + obj_atHereRestricted_union0.split('\n').map((line) => '\t' + line).join('\n');
960
+ message += '\n' + obj_atHereRestricted_union1.split('\n').map((line) => '\t' + line).join('\n');
961
+ return new TypeError(message);
962
+ }
963
+ const obj_huddlesRestricted = obj.huddlesRestricted;
964
+ const path_huddlesRestricted = path + '.huddlesRestricted';
965
+ let obj_huddlesRestricted_union0 = null;
966
+ const obj_huddlesRestricted_union0_error = (() => {
967
+ if (typeof obj_huddlesRestricted !== 'boolean') {
968
+ return new TypeError('Expected "boolean" but received "' + typeof obj_huddlesRestricted + '" (at "' + path_huddlesRestricted + '")');
969
+ }
970
+ })();
971
+ if (obj_huddlesRestricted_union0_error != null) {
972
+ obj_huddlesRestricted_union0 = obj_huddlesRestricted_union0_error.message;
973
+ }
974
+ let obj_huddlesRestricted_union1 = null;
975
+ const obj_huddlesRestricted_union1_error = (() => {
976
+ if (obj_huddlesRestricted !== null) {
977
+ return new TypeError('Expected "null" but received "' + typeof obj_huddlesRestricted + '" (at "' + path_huddlesRestricted + '")');
978
+ }
979
+ })();
980
+ if (obj_huddlesRestricted_union1_error != null) {
981
+ obj_huddlesRestricted_union1 = obj_huddlesRestricted_union1_error.message;
982
+ }
983
+ if (obj_huddlesRestricted_union0 && obj_huddlesRestricted_union1) {
984
+ let message = 'Object doesn\'t match union (at "' + path_huddlesRestricted + '")';
985
+ message += '\n' + obj_huddlesRestricted_union0.split('\n').map((line) => '\t' + line).join('\n');
986
+ message += '\n' + obj_huddlesRestricted_union1.split('\n').map((line) => '\t' + line).join('\n');
987
+ return new TypeError(message);
988
+ }
989
+ const obj_postingRestrictedTo = obj.postingRestrictedTo;
990
+ const path_postingRestrictedTo = path + '.postingRestrictedTo';
991
+ let obj_postingRestrictedTo_union0 = null;
992
+ const obj_postingRestrictedTo_union0_error = (() => {
993
+ const referencepath_postingRestrictedToValidationError = validate$n(obj_postingRestrictedTo, path_postingRestrictedTo);
994
+ if (referencepath_postingRestrictedToValidationError !== null) {
995
+ let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_postingRestrictedTo + '")\n';
996
+ message += referencepath_postingRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
997
+ return new TypeError(message);
998
+ }
999
+ })();
1000
+ if (obj_postingRestrictedTo_union0_error != null) {
1001
+ obj_postingRestrictedTo_union0 = obj_postingRestrictedTo_union0_error.message;
1002
+ }
1003
+ let obj_postingRestrictedTo_union1 = null;
1004
+ const obj_postingRestrictedTo_union1_error = (() => {
1005
+ if (obj_postingRestrictedTo !== null) {
1006
+ return new TypeError('Expected "null" but received "' + typeof obj_postingRestrictedTo + '" (at "' + path_postingRestrictedTo + '")');
1007
+ }
1008
+ })();
1009
+ if (obj_postingRestrictedTo_union1_error != null) {
1010
+ obj_postingRestrictedTo_union1 = obj_postingRestrictedTo_union1_error.message;
1011
+ }
1012
+ if (obj_postingRestrictedTo_union0 && obj_postingRestrictedTo_union1) {
1013
+ let message = 'Object doesn\'t match union (at "' + path_postingRestrictedTo + '")';
1014
+ message += '\n' + obj_postingRestrictedTo_union0.split('\n').map((line) => '\t' + line).join('\n');
1015
+ message += '\n' + obj_postingRestrictedTo_union1.split('\n').map((line) => '\t' + line).join('\n');
1016
+ return new TypeError(message);
1017
+ }
1018
+ const obj_threadsRestrictedTo = obj.threadsRestrictedTo;
1019
+ const path_threadsRestrictedTo = path + '.threadsRestrictedTo';
1020
+ let obj_threadsRestrictedTo_union0 = null;
1021
+ const obj_threadsRestrictedTo_union0_error = (() => {
1022
+ const referencepath_threadsRestrictedToValidationError = validate$n(obj_threadsRestrictedTo, path_threadsRestrictedTo);
1023
+ if (referencepath_threadsRestrictedToValidationError !== null) {
1024
+ let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_threadsRestrictedTo + '")\n';
1025
+ message += referencepath_threadsRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1026
+ return new TypeError(message);
1027
+ }
1028
+ })();
1029
+ if (obj_threadsRestrictedTo_union0_error != null) {
1030
+ obj_threadsRestrictedTo_union0 = obj_threadsRestrictedTo_union0_error.message;
1031
+ }
1032
+ let obj_threadsRestrictedTo_union1 = null;
1033
+ const obj_threadsRestrictedTo_union1_error = (() => {
1034
+ if (obj_threadsRestrictedTo !== null) {
1035
+ return new TypeError('Expected "null" but received "' + typeof obj_threadsRestrictedTo + '" (at "' + path_threadsRestrictedTo + '")');
1036
+ }
1037
+ })();
1038
+ if (obj_threadsRestrictedTo_union1_error != null) {
1039
+ obj_threadsRestrictedTo_union1 = obj_threadsRestrictedTo_union1_error.message;
1040
+ }
1041
+ if (obj_threadsRestrictedTo_union0 && obj_threadsRestrictedTo_union1) {
1042
+ let message = 'Object doesn\'t match union (at "' + path_threadsRestrictedTo + '")';
1043
+ message += '\n' + obj_threadsRestrictedTo_union0.split('\n').map((line) => '\t' + line).join('\n');
1044
+ message += '\n' + obj_threadsRestrictedTo_union1.split('\n').map((line) => '\t' + line).join('\n');
1045
+ return new TypeError(message);
1046
+ }
1047
+ })();
1048
+ return v_error === undefined ? null : v_error;
1049
+ }
1050
+ const select$I = function SlackBridgeConversationPropertiesOutputRepresentationSelect() {
1051
+ const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$J();
1052
+ return {
1053
+ kind: 'Fragment',
1054
+ version: VERSION$m,
1055
+ private: [],
1056
+ selections: [
1057
+ {
1058
+ name: 'atChannelRestricted',
1059
+ kind: 'Scalar'
1060
+ },
1061
+ {
1062
+ name: 'atHereRestricted',
1063
+ kind: 'Scalar'
1064
+ },
1065
+ {
1066
+ name: 'huddlesRestricted',
1067
+ kind: 'Scalar'
1068
+ },
1069
+ {
1070
+ name: 'postingRestrictedTo',
1071
+ kind: 'Object',
1072
+ nullable: true,
1073
+ selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections
1074
+ },
1075
+ {
1076
+ name: 'threadsRestrictedTo',
1077
+ kind: 'Object',
1078
+ nullable: true,
1079
+ selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections
1080
+ }
1081
+ ]
1082
+ };
1083
+ };
1084
+ function equals$m(existing, incoming) {
1085
+ const existing_atChannelRestricted = existing.atChannelRestricted;
1086
+ const incoming_atChannelRestricted = incoming.atChannelRestricted;
1087
+ if (!(existing_atChannelRestricted === incoming_atChannelRestricted)) {
1088
+ return false;
1089
+ }
1090
+ const existing_atHereRestricted = existing.atHereRestricted;
1091
+ const incoming_atHereRestricted = incoming.atHereRestricted;
1092
+ if (!(existing_atHereRestricted === incoming_atHereRestricted)) {
1093
+ return false;
1094
+ }
1095
+ const existing_huddlesRestricted = existing.huddlesRestricted;
1096
+ const incoming_huddlesRestricted = incoming.huddlesRestricted;
1097
+ if (!(existing_huddlesRestricted === incoming_huddlesRestricted)) {
1098
+ return false;
1099
+ }
1100
+ const existing_postingRestrictedTo = existing.postingRestrictedTo;
1101
+ const incoming_postingRestrictedTo = incoming.postingRestrictedTo;
1102
+ if (!(existing_postingRestrictedTo === incoming_postingRestrictedTo
1103
+ || (existing_postingRestrictedTo != null &&
1104
+ incoming_postingRestrictedTo != null &&
1105
+ equals$n(existing_postingRestrictedTo, incoming_postingRestrictedTo)))) {
1106
+ return false;
1107
+ }
1108
+ const existing_threadsRestrictedTo = existing.threadsRestrictedTo;
1109
+ const incoming_threadsRestrictedTo = incoming.threadsRestrictedTo;
1110
+ if (!(existing_threadsRestrictedTo === incoming_threadsRestrictedTo
1111
+ || (existing_threadsRestrictedTo != null &&
1112
+ incoming_threadsRestrictedTo != null &&
1113
+ equals$n(existing_threadsRestrictedTo, incoming_threadsRestrictedTo)))) {
1114
+ return false;
1115
+ }
1116
+ return true;
1117
+ }
1118
+
829
1119
  const TTL$4 = 900000;
830
- const VERSION$k = "252fe3a6509a770a876e36552ad8dd06";
831
- function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1120
+ const VERSION$l = "881db9651a4514e5db997e8a9fc589fe";
1121
+ function validate$l(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
832
1122
  const v_error = (() => {
833
1123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
834
1124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
835
1125
  }
1126
+ const obj_conversationHostId = obj.conversationHostId;
1127
+ const path_conversationHostId = path + '.conversationHostId';
1128
+ let obj_conversationHostId_union0 = null;
1129
+ const obj_conversationHostId_union0_error = (() => {
1130
+ if (typeof obj_conversationHostId !== 'string') {
1131
+ return new TypeError('Expected "string" but received "' + typeof obj_conversationHostId + '" (at "' + path_conversationHostId + '")');
1132
+ }
1133
+ })();
1134
+ if (obj_conversationHostId_union0_error != null) {
1135
+ obj_conversationHostId_union0 = obj_conversationHostId_union0_error.message;
1136
+ }
1137
+ let obj_conversationHostId_union1 = null;
1138
+ const obj_conversationHostId_union1_error = (() => {
1139
+ if (obj_conversationHostId !== null) {
1140
+ return new TypeError('Expected "null" but received "' + typeof obj_conversationHostId + '" (at "' + path_conversationHostId + '")');
1141
+ }
1142
+ })();
1143
+ if (obj_conversationHostId_union1_error != null) {
1144
+ obj_conversationHostId_union1 = obj_conversationHostId_union1_error.message;
1145
+ }
1146
+ if (obj_conversationHostId_union0 && obj_conversationHostId_union1) {
1147
+ let message = 'Object doesn\'t match union (at "' + path_conversationHostId + '")';
1148
+ message += '\n' + obj_conversationHostId_union0.split('\n').map((line) => '\t' + line).join('\n');
1149
+ message += '\n' + obj_conversationHostId_union1.split('\n').map((line) => '\t' + line).join('\n');
1150
+ return new TypeError(message);
1151
+ }
836
1152
  const obj_id = obj.id;
837
1153
  const path_id = path + '.id';
838
1154
  if (typeof obj_id !== 'string') {
@@ -916,6 +1232,32 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
916
1232
  message += '\n' + obj_isCustomEmojiSupported_union1.split('\n').map((line) => '\t' + line).join('\n');
917
1233
  return new TypeError(message);
918
1234
  }
1235
+ const obj_isExtShared = obj.isExtShared;
1236
+ const path_isExtShared = path + '.isExtShared';
1237
+ let obj_isExtShared_union0 = null;
1238
+ const obj_isExtShared_union0_error = (() => {
1239
+ if (typeof obj_isExtShared !== 'boolean') {
1240
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isExtShared + '" (at "' + path_isExtShared + '")');
1241
+ }
1242
+ })();
1243
+ if (obj_isExtShared_union0_error != null) {
1244
+ obj_isExtShared_union0 = obj_isExtShared_union0_error.message;
1245
+ }
1246
+ let obj_isExtShared_union1 = null;
1247
+ const obj_isExtShared_union1_error = (() => {
1248
+ if (obj_isExtShared !== null) {
1249
+ return new TypeError('Expected "null" but received "' + typeof obj_isExtShared + '" (at "' + path_isExtShared + '")');
1250
+ }
1251
+ })();
1252
+ if (obj_isExtShared_union1_error != null) {
1253
+ obj_isExtShared_union1 = obj_isExtShared_union1_error.message;
1254
+ }
1255
+ if (obj_isExtShared_union0 && obj_isExtShared_union1) {
1256
+ let message = 'Object doesn\'t match union (at "' + path_isExtShared + '")';
1257
+ message += '\n' + obj_isExtShared_union0.split('\n').map((line) => '\t' + line).join('\n');
1258
+ message += '\n' + obj_isExtShared_union1.split('\n').map((line) => '\t' + line).join('\n');
1259
+ return new TypeError(message);
1260
+ }
919
1261
  const obj_isGroup = obj.isGroup;
920
1262
  const path_isGroup = path + '.isGroup';
921
1263
  let obj_isGroup_union0 = null;
@@ -1020,6 +1362,58 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1020
1362
  message += '\n' + obj_isOpen_union1.split('\n').map((line) => '\t' + line).join('\n');
1021
1363
  return new TypeError(message);
1022
1364
  }
1365
+ const obj_isOrgShared = obj.isOrgShared;
1366
+ const path_isOrgShared = path + '.isOrgShared';
1367
+ let obj_isOrgShared_union0 = null;
1368
+ const obj_isOrgShared_union0_error = (() => {
1369
+ if (typeof obj_isOrgShared !== 'boolean') {
1370
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOrgShared + '" (at "' + path_isOrgShared + '")');
1371
+ }
1372
+ })();
1373
+ if (obj_isOrgShared_union0_error != null) {
1374
+ obj_isOrgShared_union0 = obj_isOrgShared_union0_error.message;
1375
+ }
1376
+ let obj_isOrgShared_union1 = null;
1377
+ const obj_isOrgShared_union1_error = (() => {
1378
+ if (obj_isOrgShared !== null) {
1379
+ return new TypeError('Expected "null" but received "' + typeof obj_isOrgShared + '" (at "' + path_isOrgShared + '")');
1380
+ }
1381
+ })();
1382
+ if (obj_isOrgShared_union1_error != null) {
1383
+ obj_isOrgShared_union1 = obj_isOrgShared_union1_error.message;
1384
+ }
1385
+ if (obj_isOrgShared_union0 && obj_isOrgShared_union1) {
1386
+ let message = 'Object doesn\'t match union (at "' + path_isOrgShared + '")';
1387
+ message += '\n' + obj_isOrgShared_union0.split('\n').map((line) => '\t' + line).join('\n');
1388
+ message += '\n' + obj_isOrgShared_union1.split('\n').map((line) => '\t' + line).join('\n');
1389
+ return new TypeError(message);
1390
+ }
1391
+ const obj_isPendingExtShared = obj.isPendingExtShared;
1392
+ const path_isPendingExtShared = path + '.isPendingExtShared';
1393
+ let obj_isPendingExtShared_union0 = null;
1394
+ const obj_isPendingExtShared_union0_error = (() => {
1395
+ if (typeof obj_isPendingExtShared !== 'boolean') {
1396
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPendingExtShared + '" (at "' + path_isPendingExtShared + '")');
1397
+ }
1398
+ })();
1399
+ if (obj_isPendingExtShared_union0_error != null) {
1400
+ obj_isPendingExtShared_union0 = obj_isPendingExtShared_union0_error.message;
1401
+ }
1402
+ let obj_isPendingExtShared_union1 = null;
1403
+ const obj_isPendingExtShared_union1_error = (() => {
1404
+ if (obj_isPendingExtShared !== null) {
1405
+ return new TypeError('Expected "null" but received "' + typeof obj_isPendingExtShared + '" (at "' + path_isPendingExtShared + '")');
1406
+ }
1407
+ })();
1408
+ if (obj_isPendingExtShared_union1_error != null) {
1409
+ obj_isPendingExtShared_union1 = obj_isPendingExtShared_union1_error.message;
1410
+ }
1411
+ if (obj_isPendingExtShared_union0 && obj_isPendingExtShared_union1) {
1412
+ let message = 'Object doesn\'t match union (at "' + path_isPendingExtShared + '")';
1413
+ message += '\n' + obj_isPendingExtShared_union0.split('\n').map((line) => '\t' + line).join('\n');
1414
+ message += '\n' + obj_isPendingExtShared_union1.split('\n').map((line) => '\t' + line).join('\n');
1415
+ return new TypeError(message);
1416
+ }
1023
1417
  const obj_isPrivate = obj.isPrivate;
1024
1418
  const path_isPrivate = path + '.isPrivate';
1025
1419
  let obj_isPrivate_union0 = null;
@@ -1072,6 +1466,32 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1072
1466
  message += '\n' + obj_isReadOnly_union1.split('\n').map((line) => '\t' + line).join('\n');
1073
1467
  return new TypeError(message);
1074
1468
  }
1469
+ const obj_isShared = obj.isShared;
1470
+ const path_isShared = path + '.isShared';
1471
+ let obj_isShared_union0 = null;
1472
+ const obj_isShared_union0_error = (() => {
1473
+ if (typeof obj_isShared !== 'boolean') {
1474
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isShared + '" (at "' + path_isShared + '")');
1475
+ }
1476
+ })();
1477
+ if (obj_isShared_union0_error != null) {
1478
+ obj_isShared_union0 = obj_isShared_union0_error.message;
1479
+ }
1480
+ let obj_isShared_union1 = null;
1481
+ const obj_isShared_union1_error = (() => {
1482
+ if (obj_isShared !== null) {
1483
+ return new TypeError('Expected "null" but received "' + typeof obj_isShared + '" (at "' + path_isShared + '")');
1484
+ }
1485
+ })();
1486
+ if (obj_isShared_union1_error != null) {
1487
+ obj_isShared_union1 = obj_isShared_union1_error.message;
1488
+ }
1489
+ if (obj_isShared_union0 && obj_isShared_union1) {
1490
+ let message = 'Object doesn\'t match union (at "' + path_isShared + '")';
1491
+ message += '\n' + obj_isShared_union0.split('\n').map((line) => '\t' + line).join('\n');
1492
+ message += '\n' + obj_isShared_union1.split('\n').map((line) => '\t' + line).join('\n');
1493
+ return new TypeError(message);
1494
+ }
1075
1495
  const obj_isThreadOnly = obj.isThreadOnly;
1076
1496
  const path_isThreadOnly = path + '.isThreadOnly';
1077
1497
  let obj_isThreadOnly_union0 = null;
@@ -1098,6 +1518,32 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1098
1518
  message += '\n' + obj_isThreadOnly_union1.split('\n').map((line) => '\t' + line).join('\n');
1099
1519
  return new TypeError(message);
1100
1520
  }
1521
+ const obj_lastRead = obj.lastRead;
1522
+ const path_lastRead = path + '.lastRead';
1523
+ let obj_lastRead_union0 = null;
1524
+ const obj_lastRead_union0_error = (() => {
1525
+ if (typeof obj_lastRead !== 'string') {
1526
+ return new TypeError('Expected "string" but received "' + typeof obj_lastRead + '" (at "' + path_lastRead + '")');
1527
+ }
1528
+ })();
1529
+ if (obj_lastRead_union0_error != null) {
1530
+ obj_lastRead_union0 = obj_lastRead_union0_error.message;
1531
+ }
1532
+ let obj_lastRead_union1 = null;
1533
+ const obj_lastRead_union1_error = (() => {
1534
+ if (obj_lastRead !== null) {
1535
+ return new TypeError('Expected "null" but received "' + typeof obj_lastRead + '" (at "' + path_lastRead + '")');
1536
+ }
1537
+ })();
1538
+ if (obj_lastRead_union1_error != null) {
1539
+ obj_lastRead_union1 = obj_lastRead_union1_error.message;
1540
+ }
1541
+ if (obj_lastRead_union0 && obj_lastRead_union1) {
1542
+ let message = 'Object doesn\'t match union (at "' + path_lastRead + '")';
1543
+ message += '\n' + obj_lastRead_union0.split('\n').map((line) => '\t' + line).join('\n');
1544
+ message += '\n' + obj_lastRead_union1.split('\n').map((line) => '\t' + line).join('\n');
1545
+ return new TypeError(message);
1546
+ }
1101
1547
  const obj_name = obj.name;
1102
1548
  const path_name = path + '.name';
1103
1549
  if (typeof obj_name !== 'string') {
@@ -1129,6 +1575,37 @@ function validate$k(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1129
1575
  message += '\n' + obj_numOfMembers_union1.split('\n').map((line) => '\t' + line).join('\n');
1130
1576
  return new TypeError(message);
1131
1577
  }
1578
+ if (obj.properties !== undefined) {
1579
+ const obj_properties = obj.properties;
1580
+ const path_properties = path + '.properties';
1581
+ let obj_properties_union0 = null;
1582
+ const obj_properties_union0_error = (() => {
1583
+ const referencepath_propertiesValidationError = validate$m(obj_properties, path_properties);
1584
+ if (referencepath_propertiesValidationError !== null) {
1585
+ let message = 'Object doesn\'t match SlackBridgeConversationPropertiesOutputRepresentation (at "' + path_properties + '")\n';
1586
+ message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1587
+ return new TypeError(message);
1588
+ }
1589
+ })();
1590
+ if (obj_properties_union0_error != null) {
1591
+ obj_properties_union0 = obj_properties_union0_error.message;
1592
+ }
1593
+ let obj_properties_union1 = null;
1594
+ const obj_properties_union1_error = (() => {
1595
+ if (obj_properties !== null) {
1596
+ return new TypeError('Expected "null" but received "' + typeof obj_properties + '" (at "' + path_properties + '")');
1597
+ }
1598
+ })();
1599
+ if (obj_properties_union1_error != null) {
1600
+ obj_properties_union1 = obj_properties_union1_error.message;
1601
+ }
1602
+ if (obj_properties_union0 && obj_properties_union1) {
1603
+ let message = 'Object doesn\'t match union (at "' + path_properties + '")';
1604
+ message += '\n' + obj_properties_union0.split('\n').map((line) => '\t' + line).join('\n');
1605
+ message += '\n' + obj_properties_union1.split('\n').map((line) => '\t' + line).join('\n');
1606
+ return new TypeError(message);
1607
+ }
1608
+ }
1132
1609
  const obj_shouldCacheCustomEmoji = obj.shouldCacheCustomEmoji;
1133
1610
  const path_shouldCacheCustomEmoji = path + '.shouldCacheCustomEmoji';
1134
1611
  let obj_shouldCacheCustomEmoji_union0 = null;
@@ -1178,12 +1655,17 @@ function keyBuilderFromType$7(luvio, object) {
1178
1655
  function normalize$f(input, existing, path, luvio, store, timestamp) {
1179
1656
  return input;
1180
1657
  }
1181
- const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1658
+ const select$H = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1659
+ const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$I();
1182
1660
  return {
1183
1661
  kind: 'Fragment',
1184
- version: VERSION$k,
1662
+ version: VERSION$l,
1185
1663
  private: [],
1186
1664
  selections: [
1665
+ {
1666
+ name: 'conversationHostId',
1667
+ kind: 'Scalar'
1668
+ },
1187
1669
  {
1188
1670
  name: 'id',
1189
1671
  kind: 'Scalar'
@@ -1200,6 +1682,10 @@ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect(
1200
1682
  name: 'isCustomEmojiSupported',
1201
1683
  kind: 'Scalar'
1202
1684
  },
1685
+ {
1686
+ name: 'isExtShared',
1687
+ kind: 'Scalar'
1688
+ },
1203
1689
  {
1204
1690
  name: 'isGroup',
1205
1691
  kind: 'Scalar'
@@ -1216,6 +1702,14 @@ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect(
1216
1702
  name: 'isOpen',
1217
1703
  kind: 'Scalar'
1218
1704
  },
1705
+ {
1706
+ name: 'isOrgShared',
1707
+ kind: 'Scalar'
1708
+ },
1709
+ {
1710
+ name: 'isPendingExtShared',
1711
+ kind: 'Scalar'
1712
+ },
1219
1713
  {
1220
1714
  name: 'isPrivate',
1221
1715
  kind: 'Scalar'
@@ -1224,10 +1718,18 @@ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect(
1224
1718
  name: 'isReadOnly',
1225
1719
  kind: 'Scalar'
1226
1720
  },
1721
+ {
1722
+ name: 'isShared',
1723
+ kind: 'Scalar'
1724
+ },
1227
1725
  {
1228
1726
  name: 'isThreadOnly',
1229
1727
  kind: 'Scalar'
1230
1728
  },
1729
+ {
1730
+ name: 'lastRead',
1731
+ kind: 'Scalar'
1732
+ },
1231
1733
  {
1232
1734
  name: 'name',
1233
1735
  kind: 'Scalar'
@@ -1236,6 +1738,13 @@ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect(
1236
1738
  name: 'numOfMembers',
1237
1739
  kind: 'Scalar'
1238
1740
  },
1741
+ {
1742
+ name: 'properties',
1743
+ kind: 'Object',
1744
+ nullable: true,
1745
+ selections: SlackBridgeConversationPropertiesOutputRepresentation__selections,
1746
+ required: false
1747
+ },
1239
1748
  {
1240
1749
  name: 'shouldCacheCustomEmoji',
1241
1750
  kind: 'Scalar'
@@ -1248,7 +1757,7 @@ const select$G = function SlackBridgeConversationInfoOutputRepresentationSelect(
1248
1757
  ]
1249
1758
  };
1250
1759
  };
1251
- function equals$k(existing, incoming) {
1760
+ function equals$l(existing, incoming) {
1252
1761
  const existing_id = existing.id;
1253
1762
  const incoming_id = incoming.id;
1254
1763
  if (!(existing_id === incoming_id)) {
@@ -1272,6 +1781,11 @@ function equals$k(existing, incoming) {
1272
1781
  return false;
1273
1782
  }
1274
1783
  }
1784
+ const existing_conversationHostId = existing.conversationHostId;
1785
+ const incoming_conversationHostId = incoming.conversationHostId;
1786
+ if (!(existing_conversationHostId === incoming_conversationHostId)) {
1787
+ return false;
1788
+ }
1275
1789
  const existing_isArchived = existing.isArchived;
1276
1790
  const incoming_isArchived = incoming.isArchived;
1277
1791
  if (!(existing_isArchived === incoming_isArchived)) {
@@ -1287,6 +1801,11 @@ function equals$k(existing, incoming) {
1287
1801
  if (!(existing_isCustomEmojiSupported === incoming_isCustomEmojiSupported)) {
1288
1802
  return false;
1289
1803
  }
1804
+ const existing_isExtShared = existing.isExtShared;
1805
+ const incoming_isExtShared = incoming.isExtShared;
1806
+ if (!(existing_isExtShared === incoming_isExtShared)) {
1807
+ return false;
1808
+ }
1290
1809
  const existing_isGroup = existing.isGroup;
1291
1810
  const incoming_isGroup = incoming.isGroup;
1292
1811
  if (!(existing_isGroup === incoming_isGroup)) {
@@ -1307,6 +1826,16 @@ function equals$k(existing, incoming) {
1307
1826
  if (!(existing_isOpen === incoming_isOpen)) {
1308
1827
  return false;
1309
1828
  }
1829
+ const existing_isOrgShared = existing.isOrgShared;
1830
+ const incoming_isOrgShared = incoming.isOrgShared;
1831
+ if (!(existing_isOrgShared === incoming_isOrgShared)) {
1832
+ return false;
1833
+ }
1834
+ const existing_isPendingExtShared = existing.isPendingExtShared;
1835
+ const incoming_isPendingExtShared = incoming.isPendingExtShared;
1836
+ if (!(existing_isPendingExtShared === incoming_isPendingExtShared)) {
1837
+ return false;
1838
+ }
1310
1839
  const existing_isPrivate = existing.isPrivate;
1311
1840
  const incoming_isPrivate = incoming.isPrivate;
1312
1841
  if (!(existing_isPrivate === incoming_isPrivate)) {
@@ -1317,16 +1846,42 @@ function equals$k(existing, incoming) {
1317
1846
  if (!(existing_isReadOnly === incoming_isReadOnly)) {
1318
1847
  return false;
1319
1848
  }
1849
+ const existing_isShared = existing.isShared;
1850
+ const incoming_isShared = incoming.isShared;
1851
+ if (!(existing_isShared === incoming_isShared)) {
1852
+ return false;
1853
+ }
1320
1854
  const existing_isThreadOnly = existing.isThreadOnly;
1321
1855
  const incoming_isThreadOnly = incoming.isThreadOnly;
1322
1856
  if (!(existing_isThreadOnly === incoming_isThreadOnly)) {
1323
1857
  return false;
1324
1858
  }
1859
+ const existing_lastRead = existing.lastRead;
1860
+ const incoming_lastRead = incoming.lastRead;
1861
+ if (!(existing_lastRead === incoming_lastRead)) {
1862
+ return false;
1863
+ }
1325
1864
  const existing_numOfMembers = existing.numOfMembers;
1326
1865
  const incoming_numOfMembers = incoming.numOfMembers;
1327
1866
  if (!(existing_numOfMembers === incoming_numOfMembers)) {
1328
1867
  return false;
1329
1868
  }
1869
+ const existing_properties = existing.properties;
1870
+ const incoming_properties = incoming.properties;
1871
+ // if at least one of these optionals is defined
1872
+ if (existing_properties !== undefined || incoming_properties !== undefined) {
1873
+ // if one of these is not defined we know the other is defined and therefore
1874
+ // not equal
1875
+ if (existing_properties === undefined || incoming_properties === undefined) {
1876
+ return false;
1877
+ }
1878
+ if (!(existing_properties === incoming_properties
1879
+ || (existing_properties != null &&
1880
+ incoming_properties != null &&
1881
+ equals$m(existing_properties, incoming_properties)))) {
1882
+ return false;
1883
+ }
1884
+ }
1330
1885
  const existing_shouldCacheCustomEmoji = existing.shouldCacheCustomEmoji;
1331
1886
  const incoming_shouldCacheCustomEmoji = incoming.shouldCacheCustomEmoji;
1332
1887
  if (!(existing_shouldCacheCustomEmoji === incoming_shouldCacheCustomEmoji)) {
@@ -1336,14 +1891,14 @@ function equals$k(existing, incoming) {
1336
1891
  }
1337
1892
  const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1338
1893
  if (process.env.NODE_ENV !== 'production') {
1339
- const validateError = validate$k(input);
1894
+ const validateError = validate$l(input);
1340
1895
  if (validateError !== null) {
1341
1896
  throw validateError;
1342
1897
  }
1343
1898
  }
1344
1899
  const key = keyBuilderFromType$7(luvio, input);
1345
1900
  const ttlToUse = TTL$4;
1346
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$k, RepresentationType$f, equals$k);
1901
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$l, RepresentationType$f, equals$l);
1347
1902
  return createLink(key);
1348
1903
  };
1349
1904
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -1356,8 +1911,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1356
1911
  });
1357
1912
  }
1358
1913
 
1359
- const VERSION$j = "4634cd404d8392ac4ca9f0e1be03bfbd";
1360
- function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1914
+ const VERSION$k = "4634cd404d8392ac4ca9f0e1be03bfbd";
1915
+ function validate$k(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1361
1916
  const v_error = (() => {
1362
1917
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1363
1918
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1375,10 +1930,10 @@ function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1375
1930
  })();
1376
1931
  return v_error === undefined ? null : v_error;
1377
1932
  }
1378
- const select$F = function SlackBridgeFileTypeOutputRepresentationSelect() {
1933
+ const select$G = function SlackBridgeFileTypeOutputRepresentationSelect() {
1379
1934
  return {
1380
1935
  kind: 'Fragment',
1381
- version: VERSION$j,
1936
+ version: VERSION$k,
1382
1937
  private: [],
1383
1938
  selections: [
1384
1939
  {
@@ -1392,7 +1947,7 @@ const select$F = function SlackBridgeFileTypeOutputRepresentationSelect() {
1392
1947
  ]
1393
1948
  };
1394
1949
  };
1395
- function equals$j(existing, incoming) {
1950
+ function equals$k(existing, incoming) {
1396
1951
  const existing_extension = existing.extension;
1397
1952
  const incoming_extension = incoming.extension;
1398
1953
  if (!(existing_extension === incoming_extension)) {
@@ -1406,8 +1961,8 @@ function equals$j(existing, incoming) {
1406
1961
  return true;
1407
1962
  }
1408
1963
 
1409
- const VERSION$i = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1410
- function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1964
+ const VERSION$j = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1965
+ function validate$j(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1411
1966
  const v_error = (() => {
1412
1967
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1413
1968
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1421,7 +1976,7 @@ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1421
1976
  const path_filetype = path + '.filetype';
1422
1977
  let obj_filetype_union0 = null;
1423
1978
  const obj_filetype_union0_error = (() => {
1424
- const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
1979
+ const referencepath_filetypeValidationError = validate$k(obj_filetype, path_filetype);
1425
1980
  if (referencepath_filetypeValidationError !== null) {
1426
1981
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1427
1982
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1490,11 +2045,11 @@ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1490
2045
  })();
1491
2046
  return v_error === undefined ? null : v_error;
1492
2047
  }
1493
- const select$E = function SlackBridgeContentVersionOutputRepresentationSelect() {
1494
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
2048
+ const select$F = function SlackBridgeContentVersionOutputRepresentationSelect() {
2049
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$G();
1495
2050
  return {
1496
2051
  kind: 'Fragment',
1497
- version: VERSION$i,
2052
+ version: VERSION$j,
1498
2053
  private: [],
1499
2054
  selections: [
1500
2055
  {
@@ -1526,7 +2081,7 @@ const select$E = function SlackBridgeContentVersionOutputRepresentationSelect()
1526
2081
  ]
1527
2082
  };
1528
2083
  };
1529
- function equals$i(existing, incoming) {
2084
+ function equals$j(existing, incoming) {
1530
2085
  const existing_size = existing.size;
1531
2086
  const incoming_size = incoming.size;
1532
2087
  if (!(existing_size === incoming_size)) {
@@ -1552,7 +2107,7 @@ function equals$i(existing, incoming) {
1552
2107
  if (!(existing_filetype === incoming_filetype
1553
2108
  || (existing_filetype != null &&
1554
2109
  incoming_filetype != null &&
1555
- equals$j(existing_filetype, incoming_filetype)))) {
2110
+ equals$k(existing_filetype, incoming_filetype)))) {
1556
2111
  return false;
1557
2112
  }
1558
2113
  const existing_versionUrl = existing.versionUrl;
@@ -1563,15 +2118,15 @@ function equals$i(existing, incoming) {
1563
2118
  return true;
1564
2119
  }
1565
2120
 
1566
- const VERSION$h = "effdd259bc622bee05493fc2a3ecd276";
1567
- function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2121
+ const VERSION$i = "effdd259bc622bee05493fc2a3ecd276";
2122
+ function validate$i(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
1568
2123
  const v_error = (() => {
1569
2124
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1570
2125
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1571
2126
  }
1572
2127
  const obj_filetype = obj.filetype;
1573
2128
  const path_filetype = path + '.filetype';
1574
- const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
2129
+ const referencepath_filetypeValidationError = validate$k(obj_filetype, path_filetype);
1575
2130
  if (referencepath_filetypeValidationError !== null) {
1576
2131
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1577
2132
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1584,7 +2139,7 @@ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1584
2139
  }
1585
2140
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
1586
2141
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
1587
- const referencepath_latestPublishedVersionValidationError = validate$i(obj_latestPublishedVersion, path_latestPublishedVersion);
2142
+ const referencepath_latestPublishedVersionValidationError = validate$j(obj_latestPublishedVersion, path_latestPublishedVersion);
1588
2143
  if (referencepath_latestPublishedVersionValidationError !== null) {
1589
2144
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
1590
2145
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1603,12 +2158,12 @@ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
1603
2158
  })();
1604
2159
  return v_error === undefined ? null : v_error;
1605
2160
  }
1606
- const select$D = function SlackBridgeContentDocumentOutputRepresentationSelect() {
1607
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$F();
1608
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$E();
2161
+ const select$E = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2162
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$G();
2163
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$F();
1609
2164
  return {
1610
2165
  kind: 'Fragment',
1611
- version: VERSION$h,
2166
+ version: VERSION$i,
1612
2167
  private: [],
1613
2168
  selections: [
1614
2169
  {
@@ -1636,7 +2191,7 @@ const select$D = function SlackBridgeContentDocumentOutputRepresentationSelect()
1636
2191
  ]
1637
2192
  };
1638
2193
  };
1639
- function equals$h(existing, incoming) {
2194
+ function equals$i(existing, incoming) {
1640
2195
  const existing_size = existing.size;
1641
2196
  const incoming_size = incoming.size;
1642
2197
  if (!(existing_size === incoming_size)) {
@@ -1654,19 +2209,19 @@ function equals$h(existing, incoming) {
1654
2209
  }
1655
2210
  const existing_filetype = existing.filetype;
1656
2211
  const incoming_filetype = incoming.filetype;
1657
- if (!(equals$j(existing_filetype, incoming_filetype))) {
2212
+ if (!(equals$k(existing_filetype, incoming_filetype))) {
1658
2213
  return false;
1659
2214
  }
1660
2215
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
1661
2216
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
1662
- if (!(equals$i(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2217
+ if (!(equals$j(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
1663
2218
  return false;
1664
2219
  }
1665
2220
  return true;
1666
2221
  }
1667
2222
 
1668
- const VERSION$g = "0c63f7d5db21327ed0dd5a3be9ff421a";
1669
- function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
2223
+ const VERSION$h = "2b38d19f7f1156877e43a018077ee9f5";
2224
+ function validate$h(obj, path = 'SlackBridgeFileOutputRepresentation') {
1670
2225
  const v_error = (() => {
1671
2226
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1672
2227
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1675,7 +2230,7 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1675
2230
  const path_contentDocument = path + '.contentDocument';
1676
2231
  let obj_contentDocument_union0 = null;
1677
2232
  const obj_contentDocument_union0_error = (() => {
1678
- const referencepath_contentDocumentValidationError = validate$h(obj_contentDocument, path_contentDocument);
2233
+ const referencepath_contentDocumentValidationError = validate$i(obj_contentDocument, path_contentDocument);
1679
2234
  if (referencepath_contentDocumentValidationError !== null) {
1680
2235
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
1681
2236
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1720,6 +2275,34 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1720
2275
  if (typeof obj_name !== 'string') {
1721
2276
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1722
2277
  }
2278
+ if (obj.prettyType !== undefined) {
2279
+ const obj_prettyType = obj.prettyType;
2280
+ const path_prettyType = path + '.prettyType';
2281
+ let obj_prettyType_union0 = null;
2282
+ const obj_prettyType_union0_error = (() => {
2283
+ if (typeof obj_prettyType !== 'string') {
2284
+ return new TypeError('Expected "string" but received "' + typeof obj_prettyType + '" (at "' + path_prettyType + '")');
2285
+ }
2286
+ })();
2287
+ if (obj_prettyType_union0_error != null) {
2288
+ obj_prettyType_union0 = obj_prettyType_union0_error.message;
2289
+ }
2290
+ let obj_prettyType_union1 = null;
2291
+ const obj_prettyType_union1_error = (() => {
2292
+ if (obj_prettyType !== null) {
2293
+ return new TypeError('Expected "null" but received "' + typeof obj_prettyType + '" (at "' + path_prettyType + '")');
2294
+ }
2295
+ })();
2296
+ if (obj_prettyType_union1_error != null) {
2297
+ obj_prettyType_union1 = obj_prettyType_union1_error.message;
2298
+ }
2299
+ if (obj_prettyType_union0 && obj_prettyType_union1) {
2300
+ let message = 'Object doesn\'t match union (at "' + path_prettyType + '")';
2301
+ message += '\n' + obj_prettyType_union0.split('\n').map((line) => '\t' + line).join('\n');
2302
+ message += '\n' + obj_prettyType_union1.split('\n').map((line) => '\t' + line).join('\n');
2303
+ return new TypeError(message);
2304
+ }
2305
+ }
1723
2306
  const obj_size = obj.size;
1724
2307
  const path_size = path + '.size';
1725
2308
  let obj_size_union0 = null;
@@ -1777,6 +2360,58 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1777
2360
  message += '\n' + obj_thumb1024_union1.split('\n').map((line) => '\t' + line).join('\n');
1778
2361
  return new TypeError(message);
1779
2362
  }
2363
+ const obj_thumb1024H = obj.thumb1024H;
2364
+ const path_thumb1024H = path + '.thumb1024H';
2365
+ let obj_thumb1024H_union0 = null;
2366
+ const obj_thumb1024H_union0_error = (() => {
2367
+ if (typeof obj_thumb1024H !== 'number' || (typeof obj_thumb1024H === 'number' && Math.floor(obj_thumb1024H) !== obj_thumb1024H)) {
2368
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb1024H + '" (at "' + path_thumb1024H + '")');
2369
+ }
2370
+ })();
2371
+ if (obj_thumb1024H_union0_error != null) {
2372
+ obj_thumb1024H_union0 = obj_thumb1024H_union0_error.message;
2373
+ }
2374
+ let obj_thumb1024H_union1 = null;
2375
+ const obj_thumb1024H_union1_error = (() => {
2376
+ if (obj_thumb1024H !== null) {
2377
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024H + '" (at "' + path_thumb1024H + '")');
2378
+ }
2379
+ })();
2380
+ if (obj_thumb1024H_union1_error != null) {
2381
+ obj_thumb1024H_union1 = obj_thumb1024H_union1_error.message;
2382
+ }
2383
+ if (obj_thumb1024H_union0 && obj_thumb1024H_union1) {
2384
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024H + '")';
2385
+ message += '\n' + obj_thumb1024H_union0.split('\n').map((line) => '\t' + line).join('\n');
2386
+ message += '\n' + obj_thumb1024H_union1.split('\n').map((line) => '\t' + line).join('\n');
2387
+ return new TypeError(message);
2388
+ }
2389
+ const obj_thumb1024W = obj.thumb1024W;
2390
+ const path_thumb1024W = path + '.thumb1024W';
2391
+ let obj_thumb1024W_union0 = null;
2392
+ const obj_thumb1024W_union0_error = (() => {
2393
+ if (typeof obj_thumb1024W !== 'number' || (typeof obj_thumb1024W === 'number' && Math.floor(obj_thumb1024W) !== obj_thumb1024W)) {
2394
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb1024W + '" (at "' + path_thumb1024W + '")');
2395
+ }
2396
+ })();
2397
+ if (obj_thumb1024W_union0_error != null) {
2398
+ obj_thumb1024W_union0 = obj_thumb1024W_union0_error.message;
2399
+ }
2400
+ let obj_thumb1024W_union1 = null;
2401
+ const obj_thumb1024W_union1_error = (() => {
2402
+ if (obj_thumb1024W !== null) {
2403
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024W + '" (at "' + path_thumb1024W + '")');
2404
+ }
2405
+ })();
2406
+ if (obj_thumb1024W_union1_error != null) {
2407
+ obj_thumb1024W_union1 = obj_thumb1024W_union1_error.message;
2408
+ }
2409
+ if (obj_thumb1024W_union0 && obj_thumb1024W_union1) {
2410
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024W + '")';
2411
+ message += '\n' + obj_thumb1024W_union0.split('\n').map((line) => '\t' + line).join('\n');
2412
+ message += '\n' + obj_thumb1024W_union1.split('\n').map((line) => '\t' + line).join('\n');
2413
+ return new TypeError(message);
2414
+ }
1780
2415
  const obj_thumb360 = obj.thumb360;
1781
2416
  const path_thumb360 = path + '.thumb360';
1782
2417
  let obj_thumb360_union0 = null;
@@ -1803,6 +2438,58 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1803
2438
  message += '\n' + obj_thumb360_union1.split('\n').map((line) => '\t' + line).join('\n');
1804
2439
  return new TypeError(message);
1805
2440
  }
2441
+ const obj_thumb360H = obj.thumb360H;
2442
+ const path_thumb360H = path + '.thumb360H';
2443
+ let obj_thumb360H_union0 = null;
2444
+ const obj_thumb360H_union0_error = (() => {
2445
+ if (typeof obj_thumb360H !== 'number' || (typeof obj_thumb360H === 'number' && Math.floor(obj_thumb360H) !== obj_thumb360H)) {
2446
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb360H + '" (at "' + path_thumb360H + '")');
2447
+ }
2448
+ })();
2449
+ if (obj_thumb360H_union0_error != null) {
2450
+ obj_thumb360H_union0 = obj_thumb360H_union0_error.message;
2451
+ }
2452
+ let obj_thumb360H_union1 = null;
2453
+ const obj_thumb360H_union1_error = (() => {
2454
+ if (obj_thumb360H !== null) {
2455
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360H + '" (at "' + path_thumb360H + '")');
2456
+ }
2457
+ })();
2458
+ if (obj_thumb360H_union1_error != null) {
2459
+ obj_thumb360H_union1 = obj_thumb360H_union1_error.message;
2460
+ }
2461
+ if (obj_thumb360H_union0 && obj_thumb360H_union1) {
2462
+ let message = 'Object doesn\'t match union (at "' + path_thumb360H + '")';
2463
+ message += '\n' + obj_thumb360H_union0.split('\n').map((line) => '\t' + line).join('\n');
2464
+ message += '\n' + obj_thumb360H_union1.split('\n').map((line) => '\t' + line).join('\n');
2465
+ return new TypeError(message);
2466
+ }
2467
+ const obj_thumb360W = obj.thumb360W;
2468
+ const path_thumb360W = path + '.thumb360W';
2469
+ let obj_thumb360W_union0 = null;
2470
+ const obj_thumb360W_union0_error = (() => {
2471
+ if (typeof obj_thumb360W !== 'number' || (typeof obj_thumb360W === 'number' && Math.floor(obj_thumb360W) !== obj_thumb360W)) {
2472
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb360W + '" (at "' + path_thumb360W + '")');
2473
+ }
2474
+ })();
2475
+ if (obj_thumb360W_union0_error != null) {
2476
+ obj_thumb360W_union0 = obj_thumb360W_union0_error.message;
2477
+ }
2478
+ let obj_thumb360W_union1 = null;
2479
+ const obj_thumb360W_union1_error = (() => {
2480
+ if (obj_thumb360W !== null) {
2481
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360W + '" (at "' + path_thumb360W + '")');
2482
+ }
2483
+ })();
2484
+ if (obj_thumb360W_union1_error != null) {
2485
+ obj_thumb360W_union1 = obj_thumb360W_union1_error.message;
2486
+ }
2487
+ if (obj_thumb360W_union0 && obj_thumb360W_union1) {
2488
+ let message = 'Object doesn\'t match union (at "' + path_thumb360W + '")';
2489
+ message += '\n' + obj_thumb360W_union0.split('\n').map((line) => '\t' + line).join('\n');
2490
+ message += '\n' + obj_thumb360W_union1.split('\n').map((line) => '\t' + line).join('\n');
2491
+ return new TypeError(message);
2492
+ }
1806
2493
  const obj_thumb480 = obj.thumb480;
1807
2494
  const path_thumb480 = path + '.thumb480';
1808
2495
  let obj_thumb480_union0 = null;
@@ -1829,6 +2516,84 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1829
2516
  message += '\n' + obj_thumb480_union1.split('\n').map((line) => '\t' + line).join('\n');
1830
2517
  return new TypeError(message);
1831
2518
  }
2519
+ const obj_thumb480H = obj.thumb480H;
2520
+ const path_thumb480H = path + '.thumb480H';
2521
+ let obj_thumb480H_union0 = null;
2522
+ const obj_thumb480H_union0_error = (() => {
2523
+ if (typeof obj_thumb480H !== 'number' || (typeof obj_thumb480H === 'number' && Math.floor(obj_thumb480H) !== obj_thumb480H)) {
2524
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb480H + '" (at "' + path_thumb480H + '")');
2525
+ }
2526
+ })();
2527
+ if (obj_thumb480H_union0_error != null) {
2528
+ obj_thumb480H_union0 = obj_thumb480H_union0_error.message;
2529
+ }
2530
+ let obj_thumb480H_union1 = null;
2531
+ const obj_thumb480H_union1_error = (() => {
2532
+ if (obj_thumb480H !== null) {
2533
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480H + '" (at "' + path_thumb480H + '")');
2534
+ }
2535
+ })();
2536
+ if (obj_thumb480H_union1_error != null) {
2537
+ obj_thumb480H_union1 = obj_thumb480H_union1_error.message;
2538
+ }
2539
+ if (obj_thumb480H_union0 && obj_thumb480H_union1) {
2540
+ let message = 'Object doesn\'t match union (at "' + path_thumb480H + '")';
2541
+ message += '\n' + obj_thumb480H_union0.split('\n').map((line) => '\t' + line).join('\n');
2542
+ message += '\n' + obj_thumb480H_union1.split('\n').map((line) => '\t' + line).join('\n');
2543
+ return new TypeError(message);
2544
+ }
2545
+ const obj_thumb480W = obj.thumb480W;
2546
+ const path_thumb480W = path + '.thumb480W';
2547
+ let obj_thumb480W_union0 = null;
2548
+ const obj_thumb480W_union0_error = (() => {
2549
+ if (typeof obj_thumb480W !== 'number' || (typeof obj_thumb480W === 'number' && Math.floor(obj_thumb480W) !== obj_thumb480W)) {
2550
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb480W + '" (at "' + path_thumb480W + '")');
2551
+ }
2552
+ })();
2553
+ if (obj_thumb480W_union0_error != null) {
2554
+ obj_thumb480W_union0 = obj_thumb480W_union0_error.message;
2555
+ }
2556
+ let obj_thumb480W_union1 = null;
2557
+ const obj_thumb480W_union1_error = (() => {
2558
+ if (obj_thumb480W !== null) {
2559
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480W + '" (at "' + path_thumb480W + '")');
2560
+ }
2561
+ })();
2562
+ if (obj_thumb480W_union1_error != null) {
2563
+ obj_thumb480W_union1 = obj_thumb480W_union1_error.message;
2564
+ }
2565
+ if (obj_thumb480W_union0 && obj_thumb480W_union1) {
2566
+ let message = 'Object doesn\'t match union (at "' + path_thumb480W + '")';
2567
+ message += '\n' + obj_thumb480W_union0.split('\n').map((line) => '\t' + line).join('\n');
2568
+ message += '\n' + obj_thumb480W_union1.split('\n').map((line) => '\t' + line).join('\n');
2569
+ return new TypeError(message);
2570
+ }
2571
+ const obj_thumb64 = obj.thumb64;
2572
+ const path_thumb64 = path + '.thumb64';
2573
+ let obj_thumb64_union0 = null;
2574
+ const obj_thumb64_union0_error = (() => {
2575
+ if (typeof obj_thumb64 !== 'string') {
2576
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb64 + '" (at "' + path_thumb64 + '")');
2577
+ }
2578
+ })();
2579
+ if (obj_thumb64_union0_error != null) {
2580
+ obj_thumb64_union0 = obj_thumb64_union0_error.message;
2581
+ }
2582
+ let obj_thumb64_union1 = null;
2583
+ const obj_thumb64_union1_error = (() => {
2584
+ if (obj_thumb64 !== null) {
2585
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb64 + '" (at "' + path_thumb64 + '")');
2586
+ }
2587
+ })();
2588
+ if (obj_thumb64_union1_error != null) {
2589
+ obj_thumb64_union1 = obj_thumb64_union1_error.message;
2590
+ }
2591
+ if (obj_thumb64_union0 && obj_thumb64_union1) {
2592
+ let message = 'Object doesn\'t match union (at "' + path_thumb64 + '")';
2593
+ message += '\n' + obj_thumb64_union0.split('\n').map((line) => '\t' + line).join('\n');
2594
+ message += '\n' + obj_thumb64_union1.split('\n').map((line) => '\t' + line).join('\n');
2595
+ return new TypeError(message);
2596
+ }
1832
2597
  const obj_thumb720 = obj.thumb720;
1833
2598
  const path_thumb720 = path + '.thumb720';
1834
2599
  let obj_thumb720_union0 = null;
@@ -1855,6 +2620,162 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1855
2620
  message += '\n' + obj_thumb720_union1.split('\n').map((line) => '\t' + line).join('\n');
1856
2621
  return new TypeError(message);
1857
2622
  }
2623
+ const obj_thumb720H = obj.thumb720H;
2624
+ const path_thumb720H = path + '.thumb720H';
2625
+ let obj_thumb720H_union0 = null;
2626
+ const obj_thumb720H_union0_error = (() => {
2627
+ if (typeof obj_thumb720H !== 'number' || (typeof obj_thumb720H === 'number' && Math.floor(obj_thumb720H) !== obj_thumb720H)) {
2628
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb720H + '" (at "' + path_thumb720H + '")');
2629
+ }
2630
+ })();
2631
+ if (obj_thumb720H_union0_error != null) {
2632
+ obj_thumb720H_union0 = obj_thumb720H_union0_error.message;
2633
+ }
2634
+ let obj_thumb720H_union1 = null;
2635
+ const obj_thumb720H_union1_error = (() => {
2636
+ if (obj_thumb720H !== null) {
2637
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720H + '" (at "' + path_thumb720H + '")');
2638
+ }
2639
+ })();
2640
+ if (obj_thumb720H_union1_error != null) {
2641
+ obj_thumb720H_union1 = obj_thumb720H_union1_error.message;
2642
+ }
2643
+ if (obj_thumb720H_union0 && obj_thumb720H_union1) {
2644
+ let message = 'Object doesn\'t match union (at "' + path_thumb720H + '")';
2645
+ message += '\n' + obj_thumb720H_union0.split('\n').map((line) => '\t' + line).join('\n');
2646
+ message += '\n' + obj_thumb720H_union1.split('\n').map((line) => '\t' + line).join('\n');
2647
+ return new TypeError(message);
2648
+ }
2649
+ const obj_thumb720W = obj.thumb720W;
2650
+ const path_thumb720W = path + '.thumb720W';
2651
+ let obj_thumb720W_union0 = null;
2652
+ const obj_thumb720W_union0_error = (() => {
2653
+ if (typeof obj_thumb720W !== 'number' || (typeof obj_thumb720W === 'number' && Math.floor(obj_thumb720W) !== obj_thumb720W)) {
2654
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb720W + '" (at "' + path_thumb720W + '")');
2655
+ }
2656
+ })();
2657
+ if (obj_thumb720W_union0_error != null) {
2658
+ obj_thumb720W_union0 = obj_thumb720W_union0_error.message;
2659
+ }
2660
+ let obj_thumb720W_union1 = null;
2661
+ const obj_thumb720W_union1_error = (() => {
2662
+ if (obj_thumb720W !== null) {
2663
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720W + '" (at "' + path_thumb720W + '")');
2664
+ }
2665
+ })();
2666
+ if (obj_thumb720W_union1_error != null) {
2667
+ obj_thumb720W_union1 = obj_thumb720W_union1_error.message;
2668
+ }
2669
+ if (obj_thumb720W_union0 && obj_thumb720W_union1) {
2670
+ let message = 'Object doesn\'t match union (at "' + path_thumb720W + '")';
2671
+ message += '\n' + obj_thumb720W_union0.split('\n').map((line) => '\t' + line).join('\n');
2672
+ message += '\n' + obj_thumb720W_union1.split('\n').map((line) => '\t' + line).join('\n');
2673
+ return new TypeError(message);
2674
+ }
2675
+ const obj_thumb80 = obj.thumb80;
2676
+ const path_thumb80 = path + '.thumb80';
2677
+ let obj_thumb80_union0 = null;
2678
+ const obj_thumb80_union0_error = (() => {
2679
+ if (typeof obj_thumb80 !== 'string') {
2680
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb80 + '" (at "' + path_thumb80 + '")');
2681
+ }
2682
+ })();
2683
+ if (obj_thumb80_union0_error != null) {
2684
+ obj_thumb80_union0 = obj_thumb80_union0_error.message;
2685
+ }
2686
+ let obj_thumb80_union1 = null;
2687
+ const obj_thumb80_union1_error = (() => {
2688
+ if (obj_thumb80 !== null) {
2689
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb80 + '" (at "' + path_thumb80 + '")');
2690
+ }
2691
+ })();
2692
+ if (obj_thumb80_union1_error != null) {
2693
+ obj_thumb80_union1 = obj_thumb80_union1_error.message;
2694
+ }
2695
+ if (obj_thumb80_union0 && obj_thumb80_union1) {
2696
+ let message = 'Object doesn\'t match union (at "' + path_thumb80 + '")';
2697
+ message += '\n' + obj_thumb80_union0.split('\n').map((line) => '\t' + line).join('\n');
2698
+ message += '\n' + obj_thumb80_union1.split('\n').map((line) => '\t' + line).join('\n');
2699
+ return new TypeError(message);
2700
+ }
2701
+ const obj_thumb800 = obj.thumb800;
2702
+ const path_thumb800 = path + '.thumb800';
2703
+ let obj_thumb800_union0 = null;
2704
+ const obj_thumb800_union0_error = (() => {
2705
+ if (typeof obj_thumb800 !== 'string') {
2706
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb800 + '" (at "' + path_thumb800 + '")');
2707
+ }
2708
+ })();
2709
+ if (obj_thumb800_union0_error != null) {
2710
+ obj_thumb800_union0 = obj_thumb800_union0_error.message;
2711
+ }
2712
+ let obj_thumb800_union1 = null;
2713
+ const obj_thumb800_union1_error = (() => {
2714
+ if (obj_thumb800 !== null) {
2715
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb800 + '" (at "' + path_thumb800 + '")');
2716
+ }
2717
+ })();
2718
+ if (obj_thumb800_union1_error != null) {
2719
+ obj_thumb800_union1 = obj_thumb800_union1_error.message;
2720
+ }
2721
+ if (obj_thumb800_union0 && obj_thumb800_union1) {
2722
+ let message = 'Object doesn\'t match union (at "' + path_thumb800 + '")';
2723
+ message += '\n' + obj_thumb800_union0.split('\n').map((line) => '\t' + line).join('\n');
2724
+ message += '\n' + obj_thumb800_union1.split('\n').map((line) => '\t' + line).join('\n');
2725
+ return new TypeError(message);
2726
+ }
2727
+ const obj_thumb800H = obj.thumb800H;
2728
+ const path_thumb800H = path + '.thumb800H';
2729
+ let obj_thumb800H_union0 = null;
2730
+ const obj_thumb800H_union0_error = (() => {
2731
+ if (typeof obj_thumb800H !== 'number' || (typeof obj_thumb800H === 'number' && Math.floor(obj_thumb800H) !== obj_thumb800H)) {
2732
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb800H + '" (at "' + path_thumb800H + '")');
2733
+ }
2734
+ })();
2735
+ if (obj_thumb800H_union0_error != null) {
2736
+ obj_thumb800H_union0 = obj_thumb800H_union0_error.message;
2737
+ }
2738
+ let obj_thumb800H_union1 = null;
2739
+ const obj_thumb800H_union1_error = (() => {
2740
+ if (obj_thumb800H !== null) {
2741
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb800H + '" (at "' + path_thumb800H + '")');
2742
+ }
2743
+ })();
2744
+ if (obj_thumb800H_union1_error != null) {
2745
+ obj_thumb800H_union1 = obj_thumb800H_union1_error.message;
2746
+ }
2747
+ if (obj_thumb800H_union0 && obj_thumb800H_union1) {
2748
+ let message = 'Object doesn\'t match union (at "' + path_thumb800H + '")';
2749
+ message += '\n' + obj_thumb800H_union0.split('\n').map((line) => '\t' + line).join('\n');
2750
+ message += '\n' + obj_thumb800H_union1.split('\n').map((line) => '\t' + line).join('\n');
2751
+ return new TypeError(message);
2752
+ }
2753
+ const obj_thumb800W = obj.thumb800W;
2754
+ const path_thumb800W = path + '.thumb800W';
2755
+ let obj_thumb800W_union0 = null;
2756
+ const obj_thumb800W_union0_error = (() => {
2757
+ if (typeof obj_thumb800W !== 'number' || (typeof obj_thumb800W === 'number' && Math.floor(obj_thumb800W) !== obj_thumb800W)) {
2758
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumb800W + '" (at "' + path_thumb800W + '")');
2759
+ }
2760
+ })();
2761
+ if (obj_thumb800W_union0_error != null) {
2762
+ obj_thumb800W_union0 = obj_thumb800W_union0_error.message;
2763
+ }
2764
+ let obj_thumb800W_union1 = null;
2765
+ const obj_thumb800W_union1_error = (() => {
2766
+ if (obj_thumb800W !== null) {
2767
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb800W + '" (at "' + path_thumb800W + '")');
2768
+ }
2769
+ })();
2770
+ if (obj_thumb800W_union1_error != null) {
2771
+ obj_thumb800W_union1 = obj_thumb800W_union1_error.message;
2772
+ }
2773
+ if (obj_thumb800W_union0 && obj_thumb800W_union1) {
2774
+ let message = 'Object doesn\'t match union (at "' + path_thumb800W + '")';
2775
+ message += '\n' + obj_thumb800W_union0.split('\n').map((line) => '\t' + line).join('\n');
2776
+ message += '\n' + obj_thumb800W_union1.split('\n').map((line) => '\t' + line).join('\n');
2777
+ return new TypeError(message);
2778
+ }
1858
2779
  const obj_thumb960 = obj.thumb960;
1859
2780
  const path_thumb960 = path + '.thumb960';
1860
2781
  let obj_thumb960_union0 = null;
@@ -1881,6 +2802,84 @@ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
1881
2802
  message += '\n' + obj_thumb960_union1.split('\n').map((line) => '\t' + line).join('\n');
1882
2803
  return new TypeError(message);
1883
2804
  }
2805
+ const obj_thumbPdf = obj.thumbPdf;
2806
+ const path_thumbPdf = path + '.thumbPdf';
2807
+ let obj_thumbPdf_union0 = null;
2808
+ const obj_thumbPdf_union0_error = (() => {
2809
+ if (typeof obj_thumbPdf !== 'string') {
2810
+ return new TypeError('Expected "string" but received "' + typeof obj_thumbPdf + '" (at "' + path_thumbPdf + '")');
2811
+ }
2812
+ })();
2813
+ if (obj_thumbPdf_union0_error != null) {
2814
+ obj_thumbPdf_union0 = obj_thumbPdf_union0_error.message;
2815
+ }
2816
+ let obj_thumbPdf_union1 = null;
2817
+ const obj_thumbPdf_union1_error = (() => {
2818
+ if (obj_thumbPdf !== null) {
2819
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbPdf + '" (at "' + path_thumbPdf + '")');
2820
+ }
2821
+ })();
2822
+ if (obj_thumbPdf_union1_error != null) {
2823
+ obj_thumbPdf_union1 = obj_thumbPdf_union1_error.message;
2824
+ }
2825
+ if (obj_thumbPdf_union0 && obj_thumbPdf_union1) {
2826
+ let message = 'Object doesn\'t match union (at "' + path_thumbPdf + '")';
2827
+ message += '\n' + obj_thumbPdf_union0.split('\n').map((line) => '\t' + line).join('\n');
2828
+ message += '\n' + obj_thumbPdf_union1.split('\n').map((line) => '\t' + line).join('\n');
2829
+ return new TypeError(message);
2830
+ }
2831
+ const obj_thumbPdfH = obj.thumbPdfH;
2832
+ const path_thumbPdfH = path + '.thumbPdfH';
2833
+ let obj_thumbPdfH_union0 = null;
2834
+ const obj_thumbPdfH_union0_error = (() => {
2835
+ if (typeof obj_thumbPdfH !== 'number' || (typeof obj_thumbPdfH === 'number' && Math.floor(obj_thumbPdfH) !== obj_thumbPdfH)) {
2836
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbPdfH + '" (at "' + path_thumbPdfH + '")');
2837
+ }
2838
+ })();
2839
+ if (obj_thumbPdfH_union0_error != null) {
2840
+ obj_thumbPdfH_union0 = obj_thumbPdfH_union0_error.message;
2841
+ }
2842
+ let obj_thumbPdfH_union1 = null;
2843
+ const obj_thumbPdfH_union1_error = (() => {
2844
+ if (obj_thumbPdfH !== null) {
2845
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbPdfH + '" (at "' + path_thumbPdfH + '")');
2846
+ }
2847
+ })();
2848
+ if (obj_thumbPdfH_union1_error != null) {
2849
+ obj_thumbPdfH_union1 = obj_thumbPdfH_union1_error.message;
2850
+ }
2851
+ if (obj_thumbPdfH_union0 && obj_thumbPdfH_union1) {
2852
+ let message = 'Object doesn\'t match union (at "' + path_thumbPdfH + '")';
2853
+ message += '\n' + obj_thumbPdfH_union0.split('\n').map((line) => '\t' + line).join('\n');
2854
+ message += '\n' + obj_thumbPdfH_union1.split('\n').map((line) => '\t' + line).join('\n');
2855
+ return new TypeError(message);
2856
+ }
2857
+ const obj_thumbPdfW = obj.thumbPdfW;
2858
+ const path_thumbPdfW = path + '.thumbPdfW';
2859
+ let obj_thumbPdfW_union0 = null;
2860
+ const obj_thumbPdfW_union0_error = (() => {
2861
+ if (typeof obj_thumbPdfW !== 'number' || (typeof obj_thumbPdfW === 'number' && Math.floor(obj_thumbPdfW) !== obj_thumbPdfW)) {
2862
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbPdfW + '" (at "' + path_thumbPdfW + '")');
2863
+ }
2864
+ })();
2865
+ if (obj_thumbPdfW_union0_error != null) {
2866
+ obj_thumbPdfW_union0 = obj_thumbPdfW_union0_error.message;
2867
+ }
2868
+ let obj_thumbPdfW_union1 = null;
2869
+ const obj_thumbPdfW_union1_error = (() => {
2870
+ if (obj_thumbPdfW !== null) {
2871
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbPdfW + '" (at "' + path_thumbPdfW + '")');
2872
+ }
2873
+ })();
2874
+ if (obj_thumbPdfW_union1_error != null) {
2875
+ obj_thumbPdfW_union1 = obj_thumbPdfW_union1_error.message;
2876
+ }
2877
+ if (obj_thumbPdfW_union0 && obj_thumbPdfW_union1) {
2878
+ let message = 'Object doesn\'t match union (at "' + path_thumbPdfW + '")';
2879
+ message += '\n' + obj_thumbPdfW_union0.split('\n').map((line) => '\t' + line).join('\n');
2880
+ message += '\n' + obj_thumbPdfW_union1.split('\n').map((line) => '\t' + line).join('\n');
2881
+ return new TypeError(message);
2882
+ }
1884
2883
  const obj_thumbVideo = obj.thumbVideo;
1885
2884
  const path_thumbVideo = path + '.thumbVideo';
1886
2885
  let obj_thumbVideo_union0 = null;
@@ -2058,11 +3057,11 @@ function keyBuilderFromType$6(luvio, object) {
2058
3057
  function normalize$e(input, existing, path, luvio, store, timestamp) {
2059
3058
  return input;
2060
3059
  }
2061
- const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2062
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$D();
3060
+ const select$D = function SlackBridgeFileOutputRepresentationSelect() {
3061
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$E();
2063
3062
  return {
2064
3063
  kind: 'Fragment',
2065
- version: VERSION$g,
3064
+ version: VERSION$h,
2066
3065
  private: [],
2067
3066
  selections: [
2068
3067
  {
@@ -2087,6 +3086,11 @@ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2087
3086
  name: 'name',
2088
3087
  kind: 'Scalar'
2089
3088
  },
3089
+ {
3090
+ name: 'prettyType',
3091
+ kind: 'Scalar',
3092
+ required: false
3093
+ },
2090
3094
  {
2091
3095
  name: 'size',
2092
3096
  kind: 'Scalar'
@@ -2099,22 +3103,86 @@ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2099
3103
  name: 'thumb1024',
2100
3104
  kind: 'Scalar'
2101
3105
  },
3106
+ {
3107
+ name: 'thumb1024H',
3108
+ kind: 'Scalar'
3109
+ },
3110
+ {
3111
+ name: 'thumb1024W',
3112
+ kind: 'Scalar'
3113
+ },
2102
3114
  {
2103
3115
  name: 'thumb360',
2104
3116
  kind: 'Scalar'
2105
3117
  },
3118
+ {
3119
+ name: 'thumb360H',
3120
+ kind: 'Scalar'
3121
+ },
3122
+ {
3123
+ name: 'thumb360W',
3124
+ kind: 'Scalar'
3125
+ },
2106
3126
  {
2107
3127
  name: 'thumb480',
2108
3128
  kind: 'Scalar'
2109
3129
  },
3130
+ {
3131
+ name: 'thumb480H',
3132
+ kind: 'Scalar'
3133
+ },
3134
+ {
3135
+ name: 'thumb480W',
3136
+ kind: 'Scalar'
3137
+ },
3138
+ {
3139
+ name: 'thumb64',
3140
+ kind: 'Scalar'
3141
+ },
2110
3142
  {
2111
3143
  name: 'thumb720',
2112
3144
  kind: 'Scalar'
2113
3145
  },
3146
+ {
3147
+ name: 'thumb720H',
3148
+ kind: 'Scalar'
3149
+ },
3150
+ {
3151
+ name: 'thumb720W',
3152
+ kind: 'Scalar'
3153
+ },
3154
+ {
3155
+ name: 'thumb80',
3156
+ kind: 'Scalar'
3157
+ },
3158
+ {
3159
+ name: 'thumb800',
3160
+ kind: 'Scalar'
3161
+ },
3162
+ {
3163
+ name: 'thumb800H',
3164
+ kind: 'Scalar'
3165
+ },
3166
+ {
3167
+ name: 'thumb800W',
3168
+ kind: 'Scalar'
3169
+ },
2114
3170
  {
2115
3171
  name: 'thumb960',
2116
3172
  kind: 'Scalar'
2117
3173
  },
3174
+ {
3175
+ name: 'thumbPdf',
3176
+ kind: 'Scalar'
3177
+ },
3178
+ {
3179
+ name: 'thumbPdfH',
3180
+ kind: 'Scalar'
3181
+ },
3182
+ {
3183
+ name: 'thumbPdfW',
3184
+ kind: 'Scalar'
3185
+ },
2118
3186
  {
2119
3187
  name: 'thumbVideo',
2120
3188
  kind: 'Scalar'
@@ -2146,7 +3214,7 @@ const select$C = function SlackBridgeFileOutputRepresentationSelect() {
2146
3214
  ]
2147
3215
  };
2148
3216
  };
2149
- function equals$g(existing, incoming) {
3217
+ function equals$h(existing, incoming) {
2150
3218
  const existing_filetype = existing.filetype;
2151
3219
  const incoming_filetype = incoming.filetype;
2152
3220
  if (!(existing_filetype === incoming_filetype)) {
@@ -2182,9 +3250,22 @@ function equals$g(existing, incoming) {
2182
3250
  if (!(existing_contentDocument === incoming_contentDocument
2183
3251
  || (existing_contentDocument != null &&
2184
3252
  incoming_contentDocument != null &&
2185
- equals$h(existing_contentDocument, incoming_contentDocument)))) {
3253
+ equals$i(existing_contentDocument, incoming_contentDocument)))) {
2186
3254
  return false;
2187
3255
  }
3256
+ const existing_prettyType = existing.prettyType;
3257
+ const incoming_prettyType = incoming.prettyType;
3258
+ // if at least one of these optionals is defined
3259
+ if (existing_prettyType !== undefined || incoming_prettyType !== undefined) {
3260
+ // if one of these is not defined we know the other is defined and therefore
3261
+ // not equal
3262
+ if (existing_prettyType === undefined || incoming_prettyType === undefined) {
3263
+ return false;
3264
+ }
3265
+ if (!(existing_prettyType === incoming_prettyType)) {
3266
+ return false;
3267
+ }
3268
+ }
2188
3269
  const existing_size = existing.size;
2189
3270
  const incoming_size = incoming.size;
2190
3271
  if (!(existing_size === incoming_size)) {
@@ -2195,26 +3276,106 @@ function equals$g(existing, incoming) {
2195
3276
  if (!(existing_thumb1024 === incoming_thumb1024)) {
2196
3277
  return false;
2197
3278
  }
3279
+ const existing_thumb1024H = existing.thumb1024H;
3280
+ const incoming_thumb1024H = incoming.thumb1024H;
3281
+ if (!(existing_thumb1024H === incoming_thumb1024H)) {
3282
+ return false;
3283
+ }
3284
+ const existing_thumb1024W = existing.thumb1024W;
3285
+ const incoming_thumb1024W = incoming.thumb1024W;
3286
+ if (!(existing_thumb1024W === incoming_thumb1024W)) {
3287
+ return false;
3288
+ }
2198
3289
  const existing_thumb360 = existing.thumb360;
2199
3290
  const incoming_thumb360 = incoming.thumb360;
2200
3291
  if (!(existing_thumb360 === incoming_thumb360)) {
2201
3292
  return false;
2202
3293
  }
3294
+ const existing_thumb360H = existing.thumb360H;
3295
+ const incoming_thumb360H = incoming.thumb360H;
3296
+ if (!(existing_thumb360H === incoming_thumb360H)) {
3297
+ return false;
3298
+ }
3299
+ const existing_thumb360W = existing.thumb360W;
3300
+ const incoming_thumb360W = incoming.thumb360W;
3301
+ if (!(existing_thumb360W === incoming_thumb360W)) {
3302
+ return false;
3303
+ }
2203
3304
  const existing_thumb480 = existing.thumb480;
2204
3305
  const incoming_thumb480 = incoming.thumb480;
2205
3306
  if (!(existing_thumb480 === incoming_thumb480)) {
2206
3307
  return false;
2207
3308
  }
3309
+ const existing_thumb480H = existing.thumb480H;
3310
+ const incoming_thumb480H = incoming.thumb480H;
3311
+ if (!(existing_thumb480H === incoming_thumb480H)) {
3312
+ return false;
3313
+ }
3314
+ const existing_thumb480W = existing.thumb480W;
3315
+ const incoming_thumb480W = incoming.thumb480W;
3316
+ if (!(existing_thumb480W === incoming_thumb480W)) {
3317
+ return false;
3318
+ }
3319
+ const existing_thumb64 = existing.thumb64;
3320
+ const incoming_thumb64 = incoming.thumb64;
3321
+ if (!(existing_thumb64 === incoming_thumb64)) {
3322
+ return false;
3323
+ }
2208
3324
  const existing_thumb720 = existing.thumb720;
2209
3325
  const incoming_thumb720 = incoming.thumb720;
2210
3326
  if (!(existing_thumb720 === incoming_thumb720)) {
2211
3327
  return false;
2212
3328
  }
3329
+ const existing_thumb720H = existing.thumb720H;
3330
+ const incoming_thumb720H = incoming.thumb720H;
3331
+ if (!(existing_thumb720H === incoming_thumb720H)) {
3332
+ return false;
3333
+ }
3334
+ const existing_thumb720W = existing.thumb720W;
3335
+ const incoming_thumb720W = incoming.thumb720W;
3336
+ if (!(existing_thumb720W === incoming_thumb720W)) {
3337
+ return false;
3338
+ }
3339
+ const existing_thumb80 = existing.thumb80;
3340
+ const incoming_thumb80 = incoming.thumb80;
3341
+ if (!(existing_thumb80 === incoming_thumb80)) {
3342
+ return false;
3343
+ }
3344
+ const existing_thumb800 = existing.thumb800;
3345
+ const incoming_thumb800 = incoming.thumb800;
3346
+ if (!(existing_thumb800 === incoming_thumb800)) {
3347
+ return false;
3348
+ }
3349
+ const existing_thumb800H = existing.thumb800H;
3350
+ const incoming_thumb800H = incoming.thumb800H;
3351
+ if (!(existing_thumb800H === incoming_thumb800H)) {
3352
+ return false;
3353
+ }
3354
+ const existing_thumb800W = existing.thumb800W;
3355
+ const incoming_thumb800W = incoming.thumb800W;
3356
+ if (!(existing_thumb800W === incoming_thumb800W)) {
3357
+ return false;
3358
+ }
2213
3359
  const existing_thumb960 = existing.thumb960;
2214
3360
  const incoming_thumb960 = incoming.thumb960;
2215
3361
  if (!(existing_thumb960 === incoming_thumb960)) {
2216
3362
  return false;
2217
3363
  }
3364
+ const existing_thumbPdf = existing.thumbPdf;
3365
+ const incoming_thumbPdf = incoming.thumbPdf;
3366
+ if (!(existing_thumbPdf === incoming_thumbPdf)) {
3367
+ return false;
3368
+ }
3369
+ const existing_thumbPdfH = existing.thumbPdfH;
3370
+ const incoming_thumbPdfH = incoming.thumbPdfH;
3371
+ if (!(existing_thumbPdfH === incoming_thumbPdfH)) {
3372
+ return false;
3373
+ }
3374
+ const existing_thumbPdfW = existing.thumbPdfW;
3375
+ const incoming_thumbPdfW = incoming.thumbPdfW;
3376
+ if (!(existing_thumbPdfW === incoming_thumbPdfW)) {
3377
+ return false;
3378
+ }
2218
3379
  const existing_thumbVideo = existing.thumbVideo;
2219
3380
  const incoming_thumbVideo = incoming.thumbVideo;
2220
3381
  if (!(existing_thumbVideo === incoming_thumbVideo)) {
@@ -2249,14 +3410,14 @@ function equals$g(existing, incoming) {
2249
3410
  }
2250
3411
  const ingest$e = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2251
3412
  if (process.env.NODE_ENV !== 'production') {
2252
- const validateError = validate$g(input);
3413
+ const validateError = validate$h(input);
2253
3414
  if (validateError !== null) {
2254
3415
  throw validateError;
2255
3416
  }
2256
3417
  }
2257
3418
  const key = keyBuilderFromType$6(luvio, input);
2258
3419
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2259
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$g, RepresentationType$e, equals$g);
3420
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$h, RepresentationType$e, equals$h);
2260
3421
  return createLink(key);
2261
3422
  };
2262
3423
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -2269,8 +3430,8 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
2269
3430
  });
2270
3431
  }
2271
3432
 
2272
- const VERSION$f = "e44783fc9e817e6accf3f3d286c3f0fe";
2273
- function validate$f(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3433
+ const VERSION$g = "e44783fc9e817e6accf3f3d286c3f0fe";
3434
+ function validate$g(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2274
3435
  const v_error = (() => {
2275
3436
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2276
3437
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2482,7 +3643,7 @@ function validate$f(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2482
3643
  for (let i = 0; i < obj_reactions.length; i++) {
2483
3644
  const obj_reactions_item = obj_reactions[i];
2484
3645
  const path_reactions_item = path_reactions + '[' + i + ']';
2485
- const referencepath_reactions_itemValidationError = validate$m(obj_reactions_item, path_reactions_item);
3646
+ const referencepath_reactions_itemValidationError = validate$p(obj_reactions_item, path_reactions_item);
2486
3647
  if (referencepath_reactions_itemValidationError !== null) {
2487
3648
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2488
3649
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2664,11 +3825,11 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2664
3825
  }
2665
3826
  return input;
2666
3827
  }
2667
- const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
2668
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$I();
3828
+ const select$C = function SlackBridgeMessageOutputRepresentationSelect() {
3829
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$L();
2669
3830
  return {
2670
3831
  kind: 'Fragment',
2671
- version: VERSION$f,
3832
+ version: VERSION$g,
2672
3833
  private: [],
2673
3834
  selections: [
2674
3835
  {
@@ -2689,7 +3850,7 @@ const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
2689
3850
  name: 'files',
2690
3851
  kind: 'Link',
2691
3852
  plural: true,
2692
- fragment: select$C()
3853
+ fragment: select$D()
2693
3854
  },
2694
3855
  {
2695
3856
  name: 'includesCustomEmoji',
@@ -2761,7 +3922,7 @@ const select$B = function SlackBridgeMessageOutputRepresentationSelect() {
2761
3922
  ]
2762
3923
  };
2763
3924
  };
2764
- function equals$f(existing, incoming) {
3925
+ function equals$g(existing, incoming) {
2765
3926
  const existing_isEditable = existing.isEditable;
2766
3927
  const incoming_isEditable = incoming.isEditable;
2767
3928
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -2855,7 +4016,7 @@ function equals$f(existing, incoming) {
2855
4016
  const existing_reactions = existing.reactions;
2856
4017
  const incoming_reactions = incoming.reactions;
2857
4018
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
2858
- if (!(equals$m(existing_reactions_item, incoming_reactions_item))) {
4019
+ if (!(equals$p(existing_reactions_item, incoming_reactions_item))) {
2859
4020
  return false;
2860
4021
  }
2861
4022
  });
@@ -2901,14 +4062,14 @@ function equals$f(existing, incoming) {
2901
4062
  }
2902
4063
  const ingest$d = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2903
4064
  if (process.env.NODE_ENV !== 'production') {
2904
- const validateError = validate$f(input);
4065
+ const validateError = validate$g(input);
2905
4066
  if (validateError !== null) {
2906
4067
  throw validateError;
2907
4068
  }
2908
4069
  }
2909
4070
  const key = path.fullPath;
2910
4071
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2911
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$f, RepresentationType$d, equals$f);
4072
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$g, RepresentationType$d, equals$g);
2912
4073
  return createLink(key);
2913
4074
  };
2914
4075
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -2926,8 +4087,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2926
4087
  }
2927
4088
 
2928
4089
  const TTL$3 = 500;
2929
- const VERSION$e = "fb0fd743f16f2b13d70727c055fbc834";
2930
- function validate$e(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
4090
+ const VERSION$f = "fb0fd743f16f2b13d70727c055fbc834";
4091
+ function validate$f(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
2931
4092
  const v_error = (() => {
2932
4093
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2933
4094
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3000,23 +4161,23 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3000
4161
  }
3001
4162
  return input;
3002
4163
  }
3003
- const select$A = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4164
+ const select$B = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
3004
4165
  return {
3005
4166
  kind: 'Fragment',
3006
- version: VERSION$e,
4167
+ version: VERSION$f,
3007
4168
  private: [],
3008
4169
  selections: [
3009
4170
  {
3010
4171
  name: 'conversations',
3011
4172
  kind: 'Link',
3012
4173
  plural: true,
3013
- fragment: select$G()
4174
+ fragment: select$H()
3014
4175
  },
3015
4176
  {
3016
4177
  name: 'messages',
3017
4178
  kind: 'Link',
3018
4179
  plural: true,
3019
- fragment: select$B()
4180
+ fragment: select$C()
3020
4181
  },
3021
4182
  {
3022
4183
  name: 'teamId',
@@ -3025,7 +4186,7 @@ const select$A = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
3025
4186
  ]
3026
4187
  };
3027
4188
  };
3028
- function equals$e(existing, incoming) {
4189
+ function equals$f(existing, incoming) {
3029
4190
  const existing_teamId = existing.teamId;
3030
4191
  const incoming_teamId = incoming.teamId;
3031
4192
  if (!(existing_teamId === incoming_teamId)) {
@@ -3055,14 +4216,14 @@ function equals$e(existing, incoming) {
3055
4216
  }
3056
4217
  const ingest$c = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3057
4218
  if (process.env.NODE_ENV !== 'production') {
3058
- const validateError = validate$e(input);
4219
+ const validateError = validate$f(input);
3059
4220
  if (validateError !== null) {
3060
4221
  throw validateError;
3061
4222
  }
3062
4223
  }
3063
4224
  const key = path.fullPath;
3064
4225
  const ttlToUse = TTL$3;
3065
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$e, RepresentationType$c, equals$e);
4226
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$f, RepresentationType$c, equals$f);
3066
4227
  return createLink(key);
3067
4228
  };
3068
4229
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -3083,8 +4244,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3083
4244
  }
3084
4245
  }
3085
4246
 
3086
- function select$z(luvio, params) {
3087
- return select$A();
4247
+ function select$A(luvio, params) {
4248
+ return select$B();
3088
4249
  }
3089
4250
  function keyBuilder$z(luvio, params) {
3090
4251
  return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
@@ -3098,7 +4259,7 @@ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
3098
4259
  luvio.storeIngest(key, ingest$c, body);
3099
4260
  const snapshot = luvio.storeLookup({
3100
4261
  recordId: key,
3101
- node: select$z(),
4262
+ node: select$A(),
3102
4263
  variables: {},
3103
4264
  }, snapshotRefresh);
3104
4265
  if (process.env.NODE_ENV !== 'production') {
@@ -3115,7 +4276,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
3115
4276
  const storeMetadataParams = {
3116
4277
  ttl: TTL$3,
3117
4278
  namespace: keyPrefix,
3118
- version: VERSION$e,
4279
+ version: VERSION$f,
3119
4280
  representationName: RepresentationType$c
3120
4281
  };
3121
4282
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -3165,7 +4326,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3165
4326
  }
3166
4327
  function adapterFragment$e(luvio, config) {
3167
4328
  createResourceParams$l(config);
3168
- return select$z();
4329
+ return select$A();
3169
4330
  }
3170
4331
  function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
3171
4332
  const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
@@ -3221,6 +4382,112 @@ const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRela
3221
4382
  buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
3222
4383
  };
3223
4384
 
4385
+ const VERSION$e = "d8f70047b26b82f280d95ae8abe94157";
4386
+ function validate$e(obj, path = 'SlackBridgeEnterpriseUserInfoOutputRepresentation') {
4387
+ const v_error = (() => {
4388
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4389
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4390
+ }
4391
+ const obj_enterpriseId = obj.enterpriseId;
4392
+ const path_enterpriseId = path + '.enterpriseId';
4393
+ if (typeof obj_enterpriseId !== 'string') {
4394
+ return new TypeError('Expected "string" but received "' + typeof obj_enterpriseId + '" (at "' + path_enterpriseId + '")');
4395
+ }
4396
+ const obj_enterpriseName = obj.enterpriseName;
4397
+ const path_enterpriseName = path + '.enterpriseName';
4398
+ if (typeof obj_enterpriseName !== 'string') {
4399
+ return new TypeError('Expected "string" but received "' + typeof obj_enterpriseName + '" (at "' + path_enterpriseName + '")');
4400
+ }
4401
+ const obj_id = obj.id;
4402
+ const path_id = path + '.id';
4403
+ if (typeof obj_id !== 'string') {
4404
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4405
+ }
4406
+ const obj_isAdmin = obj.isAdmin;
4407
+ const path_isAdmin = path + '.isAdmin';
4408
+ if (typeof obj_isAdmin !== 'boolean') {
4409
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAdmin + '" (at "' + path_isAdmin + '")');
4410
+ }
4411
+ const obj_isOwner = obj.isOwner;
4412
+ const path_isOwner = path + '.isOwner';
4413
+ if (typeof obj_isOwner !== 'boolean') {
4414
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOwner + '" (at "' + path_isOwner + '")');
4415
+ }
4416
+ const obj_isPrimaryOwner = obj.isPrimaryOwner;
4417
+ const path_isPrimaryOwner = path + '.isPrimaryOwner';
4418
+ if (typeof obj_isPrimaryOwner !== 'boolean') {
4419
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryOwner + '" (at "' + path_isPrimaryOwner + '")');
4420
+ }
4421
+ })();
4422
+ return v_error === undefined ? null : v_error;
4423
+ }
4424
+ const select$z = function SlackBridgeEnterpriseUserInfoOutputRepresentationSelect() {
4425
+ return {
4426
+ kind: 'Fragment',
4427
+ version: VERSION$e,
4428
+ private: [],
4429
+ selections: [
4430
+ {
4431
+ name: 'enterpriseId',
4432
+ kind: 'Scalar'
4433
+ },
4434
+ {
4435
+ name: 'enterpriseName',
4436
+ kind: 'Scalar'
4437
+ },
4438
+ {
4439
+ name: 'id',
4440
+ kind: 'Scalar'
4441
+ },
4442
+ {
4443
+ name: 'isAdmin',
4444
+ kind: 'Scalar'
4445
+ },
4446
+ {
4447
+ name: 'isOwner',
4448
+ kind: 'Scalar'
4449
+ },
4450
+ {
4451
+ name: 'isPrimaryOwner',
4452
+ kind: 'Scalar'
4453
+ }
4454
+ ]
4455
+ };
4456
+ };
4457
+ function equals$e(existing, incoming) {
4458
+ const existing_isAdmin = existing.isAdmin;
4459
+ const incoming_isAdmin = incoming.isAdmin;
4460
+ if (!(existing_isAdmin === incoming_isAdmin)) {
4461
+ return false;
4462
+ }
4463
+ const existing_isOwner = existing.isOwner;
4464
+ const incoming_isOwner = incoming.isOwner;
4465
+ if (!(existing_isOwner === incoming_isOwner)) {
4466
+ return false;
4467
+ }
4468
+ const existing_isPrimaryOwner = existing.isPrimaryOwner;
4469
+ const incoming_isPrimaryOwner = incoming.isPrimaryOwner;
4470
+ if (!(existing_isPrimaryOwner === incoming_isPrimaryOwner)) {
4471
+ return false;
4472
+ }
4473
+ const existing_enterpriseId = existing.enterpriseId;
4474
+ const incoming_enterpriseId = incoming.enterpriseId;
4475
+ if (!(existing_enterpriseId === incoming_enterpriseId)) {
4476
+ return false;
4477
+ }
4478
+ const existing_enterpriseName = existing.enterpriseName;
4479
+ const incoming_enterpriseName = incoming.enterpriseName;
4480
+ if (!(existing_enterpriseName === incoming_enterpriseName)) {
4481
+ return false;
4482
+ }
4483
+ const existing_id = existing.id;
4484
+ const incoming_id = incoming.id;
4485
+ if (!(existing_id === incoming_id)) {
4486
+ return false;
4487
+ }
4488
+ return true;
4489
+ }
4490
+
3224
4491
  const VERSION$d = "6a2ede1150bccf991e3f6ea7b55a9964";
3225
4492
  function validate$d(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
3226
4493
  const v_error = (() => {
@@ -3604,7 +4871,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3604
4871
  }
3605
4872
 
3606
4873
  const TTL$1 = 900000;
3607
- const VERSION$b = "659332e7c7b6cebe3e1dc23512e2381e";
4874
+ const VERSION$b = "bcaac31b87fd56b593eac50b497f7c53";
3608
4875
  function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3609
4876
  const v_error = (() => {
3610
4877
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3667,6 +4934,37 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3667
4934
  message += '\n' + obj_email_union1.split('\n').map((line) => '\t' + line).join('\n');
3668
4935
  return new TypeError(message);
3669
4936
  }
4937
+ if (obj.enterpriseUser !== undefined) {
4938
+ const obj_enterpriseUser = obj.enterpriseUser;
4939
+ const path_enterpriseUser = path + '.enterpriseUser';
4940
+ let obj_enterpriseUser_union0 = null;
4941
+ const obj_enterpriseUser_union0_error = (() => {
4942
+ const referencepath_enterpriseUserValidationError = validate$e(obj_enterpriseUser, path_enterpriseUser);
4943
+ if (referencepath_enterpriseUserValidationError !== null) {
4944
+ let message = 'Object doesn\'t match SlackBridgeEnterpriseUserInfoOutputRepresentation (at "' + path_enterpriseUser + '")\n';
4945
+ message += referencepath_enterpriseUserValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4946
+ return new TypeError(message);
4947
+ }
4948
+ })();
4949
+ if (obj_enterpriseUser_union0_error != null) {
4950
+ obj_enterpriseUser_union0 = obj_enterpriseUser_union0_error.message;
4951
+ }
4952
+ let obj_enterpriseUser_union1 = null;
4953
+ const obj_enterpriseUser_union1_error = (() => {
4954
+ if (obj_enterpriseUser !== null) {
4955
+ return new TypeError('Expected "null" but received "' + typeof obj_enterpriseUser + '" (at "' + path_enterpriseUser + '")');
4956
+ }
4957
+ })();
4958
+ if (obj_enterpriseUser_union1_error != null) {
4959
+ obj_enterpriseUser_union1 = obj_enterpriseUser_union1_error.message;
4960
+ }
4961
+ if (obj_enterpriseUser_union0 && obj_enterpriseUser_union1) {
4962
+ let message = 'Object doesn\'t match union (at "' + path_enterpriseUser + '")';
4963
+ message += '\n' + obj_enterpriseUser_union0.split('\n').map((line) => '\t' + line).join('\n');
4964
+ message += '\n' + obj_enterpriseUser_union1.split('\n').map((line) => '\t' + line).join('\n');
4965
+ return new TypeError(message);
4966
+ }
4967
+ }
3670
4968
  if (obj.image24 !== undefined) {
3671
4969
  const obj_image24 = obj.image24;
3672
4970
  const path_image24 = path + '.image24';
@@ -3773,6 +5071,11 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3773
5071
  message += '\n' + obj_isActive_union1.split('\n').map((line) => '\t' + line).join('\n');
3774
5072
  return new TypeError(message);
3775
5073
  }
5074
+ const obj_isAdmin = obj.isAdmin;
5075
+ const path_isAdmin = path + '.isAdmin';
5076
+ if (typeof obj_isAdmin !== 'boolean') {
5077
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAdmin + '" (at "' + path_isAdmin + '")');
5078
+ }
3776
5079
  const obj_isExternal = obj.isExternal;
3777
5080
  const path_isExternal = path + '.isExternal';
3778
5081
  let obj_isExternal_union0 = null;
@@ -3799,12 +5102,30 @@ function validate$b(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3799
5102
  message += '\n' + obj_isExternal_union1.split('\n').map((line) => '\t' + line).join('\n');
3800
5103
  return new TypeError(message);
3801
5104
  }
3802
- if (obj.isWorkflowBot !== undefined) {
3803
- const obj_isWorkflowBot = obj.isWorkflowBot;
3804
- const path_isWorkflowBot = path + '.isWorkflowBot';
3805
- if (typeof obj_isWorkflowBot !== 'boolean') {
3806
- return new TypeError('Expected "boolean" but received "' + typeof obj_isWorkflowBot + '" (at "' + path_isWorkflowBot + '")');
3807
- }
5105
+ const obj_isOwner = obj.isOwner;
5106
+ const path_isOwner = path + '.isOwner';
5107
+ if (typeof obj_isOwner !== 'boolean') {
5108
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOwner + '" (at "' + path_isOwner + '")');
5109
+ }
5110
+ const obj_isPrimaryOwner = obj.isPrimaryOwner;
5111
+ const path_isPrimaryOwner = path + '.isPrimaryOwner';
5112
+ if (typeof obj_isPrimaryOwner !== 'boolean') {
5113
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryOwner + '" (at "' + path_isPrimaryOwner + '")');
5114
+ }
5115
+ const obj_isRestricted = obj.isRestricted;
5116
+ const path_isRestricted = path + '.isRestricted';
5117
+ if (typeof obj_isRestricted !== 'boolean') {
5118
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isRestricted + '" (at "' + path_isRestricted + '")');
5119
+ }
5120
+ const obj_isUltraRestricted = obj.isUltraRestricted;
5121
+ const path_isUltraRestricted = path + '.isUltraRestricted';
5122
+ if (typeof obj_isUltraRestricted !== 'boolean') {
5123
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isUltraRestricted + '" (at "' + path_isUltraRestricted + '")');
5124
+ }
5125
+ const obj_isWorkflowBot = obj.isWorkflowBot;
5126
+ const path_isWorkflowBot = path + '.isWorkflowBot';
5127
+ if (typeof obj_isWorkflowBot !== 'boolean') {
5128
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isWorkflowBot + '" (at "' + path_isWorkflowBot + '")');
3808
5129
  }
3809
5130
  const obj_name = obj.name;
3810
5131
  const path_name = path + '.name';
@@ -4113,6 +5434,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
4113
5434
  return input;
4114
5435
  }
4115
5436
  const select$w = function SlackBridgeUserInfoOutputRepresentationSelect() {
5437
+ const { selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections, opaque: SlackBridgeEnterpriseUserInfoOutputRepresentation__opaque, } = select$z();
4116
5438
  return {
4117
5439
  kind: 'Fragment',
4118
5440
  version: VERSION$b,
@@ -4130,6 +5452,13 @@ const select$w = function SlackBridgeUserInfoOutputRepresentationSelect() {
4130
5452
  name: 'email',
4131
5453
  kind: 'Scalar'
4132
5454
  },
5455
+ {
5456
+ name: 'enterpriseUser',
5457
+ kind: 'Object',
5458
+ nullable: true,
5459
+ selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections,
5460
+ required: false
5461
+ },
4133
5462
  {
4134
5463
  name: 'image24',
4135
5464
  kind: 'Scalar',
@@ -4147,14 +5476,33 @@ const select$w = function SlackBridgeUserInfoOutputRepresentationSelect() {
4147
5476
  name: 'isActive',
4148
5477
  kind: 'Scalar'
4149
5478
  },
5479
+ {
5480
+ name: 'isAdmin',
5481
+ kind: 'Scalar'
5482
+ },
4150
5483
  {
4151
5484
  name: 'isExternal',
4152
5485
  kind: 'Scalar'
4153
5486
  },
5487
+ {
5488
+ name: 'isOwner',
5489
+ kind: 'Scalar'
5490
+ },
5491
+ {
5492
+ name: 'isPrimaryOwner',
5493
+ kind: 'Scalar'
5494
+ },
5495
+ {
5496
+ name: 'isRestricted',
5497
+ kind: 'Scalar'
5498
+ },
5499
+ {
5500
+ name: 'isUltraRestricted',
5501
+ kind: 'Scalar'
5502
+ },
4154
5503
  {
4155
5504
  name: 'isWorkflowBot',
4156
- kind: 'Scalar',
4157
- required: false
5505
+ kind: 'Scalar'
4158
5506
  },
4159
5507
  {
4160
5508
  name: 'name',
@@ -4218,18 +5566,35 @@ function equals$b(existing, incoming) {
4218
5566
  if (!(existing_bot === incoming_bot)) {
4219
5567
  return false;
4220
5568
  }
5569
+ const existing_isAdmin = existing.isAdmin;
5570
+ const incoming_isAdmin = incoming.isAdmin;
5571
+ if (!(existing_isAdmin === incoming_isAdmin)) {
5572
+ return false;
5573
+ }
5574
+ const existing_isOwner = existing.isOwner;
5575
+ const incoming_isOwner = incoming.isOwner;
5576
+ if (!(existing_isOwner === incoming_isOwner)) {
5577
+ return false;
5578
+ }
5579
+ const existing_isPrimaryOwner = existing.isPrimaryOwner;
5580
+ const incoming_isPrimaryOwner = incoming.isPrimaryOwner;
5581
+ if (!(existing_isPrimaryOwner === incoming_isPrimaryOwner)) {
5582
+ return false;
5583
+ }
5584
+ const existing_isRestricted = existing.isRestricted;
5585
+ const incoming_isRestricted = incoming.isRestricted;
5586
+ if (!(existing_isRestricted === incoming_isRestricted)) {
5587
+ return false;
5588
+ }
5589
+ const existing_isUltraRestricted = existing.isUltraRestricted;
5590
+ const incoming_isUltraRestricted = incoming.isUltraRestricted;
5591
+ if (!(existing_isUltraRestricted === incoming_isUltraRestricted)) {
5592
+ return false;
5593
+ }
4221
5594
  const existing_isWorkflowBot = existing.isWorkflowBot;
4222
5595
  const incoming_isWorkflowBot = incoming.isWorkflowBot;
4223
- // if at least one of these optionals is defined
4224
- if (existing_isWorkflowBot !== undefined || incoming_isWorkflowBot !== undefined) {
4225
- // if one of these is not defined we know the other is defined and therefore
4226
- // not equal
4227
- if (existing_isWorkflowBot === undefined || incoming_isWorkflowBot === undefined) {
4228
- return false;
4229
- }
4230
- if (!(existing_isWorkflowBot === incoming_isWorkflowBot)) {
4231
- return false;
4232
- }
5596
+ if (!(existing_isWorkflowBot === incoming_isWorkflowBot)) {
5597
+ return false;
4233
5598
  }
4234
5599
  const existing_name = existing.name;
4235
5600
  const incoming_name = incoming.name;
@@ -4251,6 +5616,22 @@ function equals$b(existing, incoming) {
4251
5616
  if (!(existing_email === incoming_email)) {
4252
5617
  return false;
4253
5618
  }
5619
+ const existing_enterpriseUser = existing.enterpriseUser;
5620
+ const incoming_enterpriseUser = incoming.enterpriseUser;
5621
+ // if at least one of these optionals is defined
5622
+ if (existing_enterpriseUser !== undefined || incoming_enterpriseUser !== undefined) {
5623
+ // if one of these is not defined we know the other is defined and therefore
5624
+ // not equal
5625
+ if (existing_enterpriseUser === undefined || incoming_enterpriseUser === undefined) {
5626
+ return false;
5627
+ }
5628
+ if (!(existing_enterpriseUser === incoming_enterpriseUser
5629
+ || (existing_enterpriseUser != null &&
5630
+ incoming_enterpriseUser != null &&
5631
+ equals$e(existing_enterpriseUser, incoming_enterpriseUser)))) {
5632
+ return false;
5633
+ }
5634
+ }
4254
5635
  const existing_image24 = existing.image24;
4255
5636
  const incoming_image24 = incoming.image24;
4256
5637
  // if at least one of these optionals is defined
@@ -4476,7 +5857,7 @@ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSele
4476
5857
  name: 'messages',
4477
5858
  kind: 'Link',
4478
5859
  plural: true,
4479
- fragment: select$B()
5860
+ fragment: select$C()
4480
5861
  },
4481
5862
  {
4482
5863
  name: 'nextCursor',
@@ -4819,13 +6200,13 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
4819
6200
  name: 'conversationInfo',
4820
6201
  kind: 'Link',
4821
6202
  nullable: true,
4822
- fragment: select$G()
6203
+ fragment: select$H()
4823
6204
  },
4824
6205
  {
4825
6206
  name: 'conversationInfos',
4826
6207
  kind: 'Link',
4827
6208
  plural: true,
4828
- fragment: select$G()
6209
+ fragment: select$H()
4829
6210
  },
4830
6211
  {
4831
6212
  name: 'emojis',
@@ -5124,7 +6505,7 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
5124
6505
  };
5125
6506
 
5126
6507
  function select$s(luvio, params) {
5127
- return select$G();
6508
+ return select$H();
5128
6509
  }
5129
6510
  function keyBuilder$t(luvio, params) {
5130
6511
  return keyBuilder$B(luvio, {
@@ -5157,7 +6538,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
5157
6538
  const storeMetadataParams = {
5158
6539
  ttl: TTL$4,
5159
6540
  namespace: keyPrefix,
5160
- version: VERSION$k,
6541
+ version: VERSION$l,
5161
6542
  representationName: RepresentationType$f
5162
6543
  };
5163
6544
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -5294,7 +6675,7 @@ const notifyChangeFactory$6 = (luvio, options) => {
5294
6675
  luvio.storeIngestError(key, errorSnapshot, {
5295
6676
  ttl: TTL$4,
5296
6677
  namespace: keyPrefix,
5297
- version: VERSION$k,
6678
+ version: VERSION$l,
5298
6679
  representationName: RepresentationType$f
5299
6680
  });
5300
6681
  return luvio.storeBroadcast().then(() => errorSnapshot);
@@ -5382,7 +6763,7 @@ const select$r = function SlackBridgeConversationInfosOutputRepresentationSelect
5382
6763
  name: 'conversationInfos',
5383
6764
  kind: 'Link',
5384
6765
  plural: true,
5385
- fragment: select$G()
6766
+ fragment: select$H()
5386
6767
  },
5387
6768
  {
5388
6769
  name: 'searchString',
@@ -5569,7 +6950,7 @@ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge_
5569
6950
  };
5570
6951
 
5571
6952
  function select$p(luvio, params) {
5572
- return select$K();
6953
+ return select$N();
5573
6954
  }
5574
6955
  function keyBuilder$p(luvio, params) {
5575
6956
  return keyBuilder$H(luvio, {
@@ -6122,7 +7503,7 @@ function equals$6(existing, incoming) {
6122
7503
  }
6123
7504
 
6124
7505
  const TTL = 500;
6125
- const VERSION$5 = "b3c7e0b8bc0a4a3745874264601b9082";
7506
+ const VERSION$5 = "2b81502c1b0fa62a77f46ca204536b24";
6126
7507
  function validate$5(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
6127
7508
  const v_error = (() => {
6128
7509
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6135,10 +7516,31 @@ function validate$5(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
6135
7516
  }
6136
7517
  const obj_slackTeam = obj.slackTeam;
6137
7518
  const path_slackTeam = path + '.slackTeam';
6138
- const referencepath_slackTeamValidationError = validate$6(obj_slackTeam, path_slackTeam);
6139
- if (referencepath_slackTeamValidationError !== null) {
6140
- let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
6141
- message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7519
+ let obj_slackTeam_union0 = null;
7520
+ const obj_slackTeam_union0_error = (() => {
7521
+ const referencepath_slackTeamValidationError = validate$6(obj_slackTeam, path_slackTeam);
7522
+ if (referencepath_slackTeamValidationError !== null) {
7523
+ let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
7524
+ message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7525
+ return new TypeError(message);
7526
+ }
7527
+ })();
7528
+ if (obj_slackTeam_union0_error != null) {
7529
+ obj_slackTeam_union0 = obj_slackTeam_union0_error.message;
7530
+ }
7531
+ let obj_slackTeam_union1 = null;
7532
+ const obj_slackTeam_union1_error = (() => {
7533
+ if (obj_slackTeam !== null) {
7534
+ return new TypeError('Expected "null" but received "' + typeof obj_slackTeam + '" (at "' + path_slackTeam + '")');
7535
+ }
7536
+ })();
7537
+ if (obj_slackTeam_union1_error != null) {
7538
+ obj_slackTeam_union1 = obj_slackTeam_union1_error.message;
7539
+ }
7540
+ if (obj_slackTeam_union0 && obj_slackTeam_union1) {
7541
+ let message = 'Object doesn\'t match union (at "' + path_slackTeam + '")';
7542
+ message += '\n' + obj_slackTeam_union0.split('\n').map((line) => '\t' + line).join('\n');
7543
+ message += '\n' + obj_slackTeam_union1.split('\n').map((line) => '\t' + line).join('\n');
6142
7544
  return new TypeError(message);
6143
7545
  }
6144
7546
  })();
@@ -6162,6 +7564,7 @@ const select$l = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
6162
7564
  {
6163
7565
  name: 'slackTeam',
6164
7566
  kind: 'Object',
7567
+ nullable: true,
6165
7568
  selections: SlackBridgeSlackTeamOutputRepresentation__selections
6166
7569
  }
6167
7570
  ]
@@ -6175,7 +7578,10 @@ function equals$5(existing, incoming) {
6175
7578
  }
6176
7579
  const existing_slackTeam = existing.slackTeam;
6177
7580
  const incoming_slackTeam = incoming.slackTeam;
6178
- if (!(equals$6(existing_slackTeam, incoming_slackTeam))) {
7581
+ if (!(existing_slackTeam === incoming_slackTeam
7582
+ || (existing_slackTeam != null &&
7583
+ incoming_slackTeam != null &&
7584
+ equals$6(existing_slackTeam, incoming_slackTeam)))) {
6179
7585
  return false;
6180
7586
  }
6181
7587
  return true;
@@ -6748,7 +8154,7 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6748
8154
  };
6749
8155
 
6750
8156
  function select$g(luvio, params) {
6751
- return select$J();
8157
+ return select$M();
6752
8158
  }
6753
8159
  function keyBuilder$e(luvio, params) {
6754
8160
  return keyBuilder$F(luvio, {
@@ -6977,7 +8383,7 @@ const select$f = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
6977
8383
  {
6978
8384
  name: 'conversationInfo',
6979
8385
  kind: 'Link',
6980
- fragment: select$G()
8386
+ fragment: select$H()
6981
8387
  },
6982
8388
  {
6983
8389
  name: 'relatedRecordId',
@@ -7951,7 +9357,7 @@ const notifyChangeFactory = (luvio, options) => {
7951
9357
  };
7952
9358
 
7953
9359
  function select$8(luvio, params) {
7954
- return select$J();
9360
+ return select$M();
7955
9361
  }
7956
9362
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
7957
9363
  getTypeCacheKeys$h(storeKeyMap, luvio, response);
@@ -8105,7 +9511,7 @@ const select$7 = function SlackBridgePostMessageOutputRepresentationSelect() {
8105
9511
  {
8106
9512
  name: 'postedMessage',
8107
9513
  kind: 'Link',
8108
- fragment: select$B()
9514
+ fragment: select$C()
8109
9515
  },
8110
9516
  {
8111
9517
  name: 'timestamp',
@@ -8519,7 +9925,7 @@ const postSlackConversationMembersAdapterFactory = (luvio) => {
8519
9925
  };
8520
9926
 
8521
9927
  function select$2(luvio, params) {
8522
- return select$C();
9928
+ return select$D();
8523
9929
  }
8524
9930
  function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
8525
9931
  getTypeCacheKeys$e(storeKeyMap, luvio, response);
@@ -8616,7 +10022,7 @@ const postSlackFileAdapterFactory = (luvio) => {
8616
10022
  };
8617
10023
 
8618
10024
  function select$1(luvio, params) {
8619
- return select$H();
10025
+ return select$K();
8620
10026
  }
8621
10027
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
8622
10028
  getTypeCacheKeys$g(storeKeyMap, luvio, response);
@@ -9023,4 +10429,4 @@ withDefaultLuvio((luvio) => {
9023
10429
  });
9024
10430
 
9025
10431
  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, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
9026
- // version: 1.354.0-dev10-f675337995
10432
+ // version: 1.354.0-dev11-634f7f7752