@salesforce/lds-adapters-platform-slack-bridge 1.353.1 → 1.354.0-dev2

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.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$c, typeCheckConfig as typeCheckConfig$m, StoreKeyMap, createResourceParams as createResourceParams$m } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$d, typeCheckConfig as typeCheckConfig$n, StoreKeyMap, createResourceParams as createResourceParams$n } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -112,8 +112,8 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- const VERSION$m = "6a2ede1150bccf991e3f6ea7b55a9964";
116
- function validate$m(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
115
+ const VERSION$o = "6a2ede1150bccf991e3f6ea7b55a9964";
116
+ function validate$o(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
117
117
  const v_error = (() => {
118
118
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
119
119
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -199,10 +199,10 @@ function validate$m(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
199
199
  })();
200
200
  return v_error === undefined ? null : v_error;
201
201
  }
202
- const select$F = function SlackBridgeEmojiValueOutputRepresentationSelect() {
202
+ const select$I = function SlackBridgeEmojiValueOutputRepresentationSelect() {
203
203
  return {
204
204
  kind: 'Fragment',
205
- version: VERSION$m,
205
+ version: VERSION$o,
206
206
  private: [],
207
207
  selections: [
208
208
  {
@@ -220,7 +220,7 @@ const select$F = function SlackBridgeEmojiValueOutputRepresentationSelect() {
220
220
  ]
221
221
  };
222
222
  };
223
- function equals$m(existing, incoming) {
223
+ function equals$o(existing, incoming) {
224
224
  const existing_appleUrl = existing.appleUrl;
225
225
  const incoming_appleUrl = incoming.appleUrl;
226
226
  if (!(existing_appleUrl === incoming_appleUrl)) {
@@ -239,9 +239,9 @@ function equals$m(existing, incoming) {
239
239
  return true;
240
240
  }
241
241
 
242
- const TTL$2 = 2592000000;
243
- const VERSION$l = "a0e1530372a57d61a1264218124bbb5c";
244
- function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
242
+ const TTL$3 = 2592000000;
243
+ const VERSION$n = "a0e1530372a57d61a1264218124bbb5c";
244
+ function validate$n(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
245
245
  const v_error = (() => {
246
246
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
247
247
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -359,7 +359,7 @@ function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
359
359
  const path_value = path + '.value';
360
360
  let obj_value_union0 = null;
361
361
  const obj_value_union0_error = (() => {
362
- const referencepath_valueValidationError = validate$m(obj_value, path_value);
362
+ const referencepath_valueValidationError = validate$o(obj_value, path_value);
363
363
  if (referencepath_valueValidationError !== null) {
364
364
  let message = 'Object doesn\'t match SlackBridgeEmojiValueOutputRepresentation (at "' + path_value + '")\n';
365
365
  message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -387,24 +387,24 @@ function validate$l(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
387
387
  })();
388
388
  return v_error === undefined ? null : v_error;
389
389
  }
390
- const RepresentationType$h = 'SlackBridgeEmojiOutputRepresentation';
391
- function keyBuilder$B(luvio, config) {
392
- return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
390
+ const RepresentationType$i = 'SlackBridgeEmojiOutputRepresentation';
391
+ function keyBuilder$D(luvio, config) {
392
+ return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
393
393
  }
394
394
  function keyBuilderFromType$a(luvio, object) {
395
395
  const keyParams = {
396
396
  name: object.name
397
397
  };
398
- return keyBuilder$B(luvio, keyParams);
398
+ return keyBuilder$D(luvio, keyParams);
399
399
  }
400
- function normalize$h(input, existing, path, luvio, store, timestamp) {
400
+ function normalize$i(input, existing, path, luvio, store, timestamp) {
401
401
  return input;
402
402
  }
403
- const select$E = function SlackBridgeEmojiOutputRepresentationSelect() {
404
- const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$F();
403
+ const select$H = function SlackBridgeEmojiOutputRepresentationSelect() {
404
+ const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$I();
405
405
  return {
406
406
  kind: 'Fragment',
407
- version: VERSION$l,
407
+ version: VERSION$n,
408
408
  private: [],
409
409
  selections: [
410
410
  {
@@ -436,7 +436,7 @@ const select$E = function SlackBridgeEmojiOutputRepresentationSelect() {
436
436
  ]
437
437
  };
438
438
  };
439
- function equals$l(existing, incoming) {
439
+ function equals$n(existing, incoming) {
440
440
  const existing_name = existing.name;
441
441
  const incoming_name = incoming.name;
442
442
  if (!(existing_name === incoming_name)) {
@@ -467,36 +467,36 @@ function equals$l(existing, incoming) {
467
467
  if (!(existing_value === incoming_value
468
468
  || (existing_value != null &&
469
469
  incoming_value != null &&
470
- equals$m(existing_value, incoming_value)))) {
470
+ equals$o(existing_value, incoming_value)))) {
471
471
  return false;
472
472
  }
473
473
  return true;
474
474
  }
475
- const ingest$h = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
475
+ const ingest$i = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
476
476
  if (process.env.NODE_ENV !== 'production') {
477
- const validateError = validate$l(input);
477
+ const validateError = validate$n(input);
478
478
  if (validateError !== null) {
479
479
  throw validateError;
480
480
  }
481
481
  }
482
482
  const key = keyBuilderFromType$a(luvio, input);
483
- const ttlToUse = TTL$2;
484
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$l, RepresentationType$h, equals$l);
483
+ const ttlToUse = TTL$3;
484
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$n, RepresentationType$i, equals$n);
485
485
  return createLink(key);
486
486
  };
487
- function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
487
+ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
488
488
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
489
489
  const rootKey = keyBuilderFromType$a(luvio, input);
490
490
  rootKeySet.set(rootKey, {
491
491
  namespace: keyPrefix,
492
- representationName: RepresentationType$h,
492
+ representationName: RepresentationType$i,
493
493
  mergeable: false
494
494
  });
495
495
  }
496
496
 
497
- const TTL$1 = 600000;
498
- const VERSION$k = "ffc32ae0451b10824fba0c96aa0d2115";
499
- function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
497
+ const TTL$2 = 600000;
498
+ const VERSION$m = "2871ae193ac5e60b5cc0d6c4111e8615";
499
+ function validate$m(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
500
500
  const v_error = (() => {
501
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
502
502
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -867,8 +867,29 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
867
867
  }
868
868
  const obj_teamId = obj.teamId;
869
869
  const path_teamId = path + '.teamId';
870
- if (typeof obj_teamId !== 'string') {
871
- return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
870
+ let obj_teamId_union0 = null;
871
+ const obj_teamId_union0_error = (() => {
872
+ if (typeof obj_teamId !== 'string') {
873
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
874
+ }
875
+ })();
876
+ if (obj_teamId_union0_error != null) {
877
+ obj_teamId_union0 = obj_teamId_union0_error.message;
878
+ }
879
+ let obj_teamId_union1 = null;
880
+ const obj_teamId_union1_error = (() => {
881
+ if (obj_teamId !== null) {
882
+ return new TypeError('Expected "null" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
883
+ }
884
+ })();
885
+ if (obj_teamId_union1_error != null) {
886
+ obj_teamId_union1 = obj_teamId_union1_error.message;
887
+ }
888
+ if (obj_teamId_union0 && obj_teamId_union1) {
889
+ let message = 'Object doesn\'t match union (at "' + path_teamId + '")';
890
+ message += '\n' + obj_teamId_union0.split('\n').map((line) => '\t' + line).join('\n');
891
+ message += '\n' + obj_teamId_union1.split('\n').map((line) => '\t' + line).join('\n');
892
+ return new TypeError(message);
872
893
  }
873
894
  const obj_title = obj.title;
874
895
  const path_title = path + '.title';
@@ -899,22 +920,21 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
899
920
  })();
900
921
  return v_error === undefined ? null : v_error;
901
922
  }
902
- const RepresentationType$g = 'SlackBridgeUserInfoOutputRepresentation';
903
- function keyBuilder$A(luvio, config) {
904
- return keyPrefix + '::' + RepresentationType$g + ':' + config.teamId + ':' + config.slackUserId;
923
+ const RepresentationType$h = 'SlackBridgeUserInfoOutputRepresentation';
924
+ function keyBuilder$C(luvio, config) {
925
+ return keyPrefix + '::' + RepresentationType$h + ':' + config.slackUserId;
905
926
  }
906
927
  function keyBuilderFromType$9(luvio, object) {
907
928
  const keyParams = {
908
- teamId: object.teamId,
909
929
  slackUserId: object.slackUserId
910
930
  };
911
- return keyBuilder$A(luvio, keyParams);
931
+ return keyBuilder$C(luvio, keyParams);
912
932
  }
913
- function normalize$g(input, existing, path, luvio, store, timestamp) {
933
+ function normalize$h(input, existing, path, luvio, store, timestamp) {
914
934
  const input_statusEmoji = input.statusEmoji;
915
935
  const input_statusEmoji_id = path.fullPath + '__statusEmoji';
916
936
  if (input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
917
- input.statusEmoji = ingest$h(input_statusEmoji, {
937
+ input.statusEmoji = ingest$i(input_statusEmoji, {
918
938
  fullPath: input_statusEmoji_id,
919
939
  propertyName: 'statusEmoji',
920
940
  parent: {
@@ -927,10 +947,10 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
927
947
  }
928
948
  return input;
929
949
  }
930
- const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
950
+ const select$G = function SlackBridgeUserInfoOutputRepresentationSelect() {
931
951
  return {
932
952
  kind: 'Fragment',
933
- version: VERSION$k,
953
+ version: VERSION$m,
934
954
  private: [],
935
955
  selections: [
936
956
  {
@@ -1000,7 +1020,7 @@ const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
1000
1020
  name: 'statusEmoji',
1001
1021
  kind: 'Link',
1002
1022
  nullable: true,
1003
- fragment: select$E()
1023
+ fragment: select$H()
1004
1024
  },
1005
1025
  {
1006
1026
  name: 'statusMessage',
@@ -1017,7 +1037,7 @@ const select$D = function SlackBridgeUserInfoOutputRepresentationSelect() {
1017
1037
  ]
1018
1038
  };
1019
1039
  };
1020
- function equals$k(existing, incoming) {
1040
+ function equals$m(existing, incoming) {
1021
1041
  const existing_bot = existing.bot;
1022
1042
  const incoming_bot = incoming.bot;
1023
1043
  if (!(existing_bot === incoming_bot)) {
@@ -1046,11 +1066,6 @@ function equals$k(existing, incoming) {
1046
1066
  if (!(existing_slackUserId === incoming_slackUserId)) {
1047
1067
  return false;
1048
1068
  }
1049
- const existing_teamId = existing.teamId;
1050
- const incoming_teamId = incoming.teamId;
1051
- if (!(existing_teamId === incoming_teamId)) {
1052
- return false;
1053
- }
1054
1069
  const existing_displayName = existing.displayName;
1055
1070
  const incoming_displayName = incoming.displayName;
1056
1071
  if (!(existing_displayName === incoming_displayName)) {
@@ -1137,6 +1152,11 @@ function equals$k(existing, incoming) {
1137
1152
  if (!(existing_statusMessage === incoming_statusMessage)) {
1138
1153
  return false;
1139
1154
  }
1155
+ const existing_teamId = existing.teamId;
1156
+ const incoming_teamId = incoming.teamId;
1157
+ if (!(existing_teamId === incoming_teamId)) {
1158
+ return false;
1159
+ }
1140
1160
  const existing_title = existing.title;
1141
1161
  const incoming_title = incoming.title;
1142
1162
  if (!(existing_title === incoming_title)) {
@@ -1144,33 +1164,33 @@ function equals$k(existing, incoming) {
1144
1164
  }
1145
1165
  return true;
1146
1166
  }
1147
- const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1167
+ const ingest$h = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1148
1168
  if (process.env.NODE_ENV !== 'production') {
1149
- const validateError = validate$k(input);
1169
+ const validateError = validate$m(input);
1150
1170
  if (validateError !== null) {
1151
1171
  throw validateError;
1152
1172
  }
1153
1173
  }
1154
1174
  const key = keyBuilderFromType$9(luvio, input);
1155
- const ttlToUse = TTL$1;
1156
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$k, RepresentationType$g, equals$k);
1175
+ const ttlToUse = TTL$2;
1176
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$m, RepresentationType$h, equals$m);
1157
1177
  return createLink(key);
1158
1178
  };
1159
- function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1179
+ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
1160
1180
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1161
1181
  const rootKey = keyBuilderFromType$9(luvio, input);
1162
1182
  rootKeySet.set(rootKey, {
1163
1183
  namespace: keyPrefix,
1164
- representationName: RepresentationType$g,
1184
+ representationName: RepresentationType$h,
1165
1185
  mergeable: false
1166
1186
  });
1167
1187
  if (input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
1168
- getTypeCacheKeys$h(rootKeySet, luvio, input.statusEmoji);
1188
+ getTypeCacheKeys$i(rootKeySet, luvio, input.statusEmoji);
1169
1189
  }
1170
1190
  }
1171
1191
 
1172
- const VERSION$j = "252fe3a6509a770a876e36552ad8dd06";
1173
- function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1192
+ const VERSION$l = "252fe3a6509a770a876e36552ad8dd06";
1193
+ function validate$l(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
1174
1194
  const v_error = (() => {
1175
1195
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1176
1196
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1507,23 +1527,23 @@ function validate$j(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
1507
1527
  })();
1508
1528
  return v_error === undefined ? null : v_error;
1509
1529
  }
1510
- const RepresentationType$f = 'SlackBridgeConversationInfoOutputRepresentation';
1511
- function keyBuilder$z(luvio, config) {
1512
- return keyPrefix + '::' + RepresentationType$f + ':' + config.id;
1530
+ const RepresentationType$g = 'SlackBridgeConversationInfoOutputRepresentation';
1531
+ function keyBuilder$B(luvio, config) {
1532
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.id;
1513
1533
  }
1514
1534
  function keyBuilderFromType$8(luvio, object) {
1515
1535
  const keyParams = {
1516
1536
  id: object.id
1517
1537
  };
1518
- return keyBuilder$z(luvio, keyParams);
1538
+ return keyBuilder$B(luvio, keyParams);
1519
1539
  }
1520
- function normalize$f(input, existing, path, luvio, store, timestamp) {
1540
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
1521
1541
  return input;
1522
1542
  }
1523
- const select$C = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1543
+ const select$F = function SlackBridgeConversationInfoOutputRepresentationSelect() {
1524
1544
  return {
1525
1545
  kind: 'Fragment',
1526
- version: VERSION$j,
1546
+ version: VERSION$l,
1527
1547
  private: [],
1528
1548
  selections: [
1529
1549
  {
@@ -1590,7 +1610,7 @@ const select$C = function SlackBridgeConversationInfoOutputRepresentationSelect(
1590
1610
  ]
1591
1611
  };
1592
1612
  };
1593
- function equals$j(existing, incoming) {
1613
+ function equals$l(existing, incoming) {
1594
1614
  const existing_id = existing.id;
1595
1615
  const incoming_id = incoming.id;
1596
1616
  if (!(existing_id === incoming_id)) {
@@ -1676,30 +1696,30 @@ function equals$j(existing, incoming) {
1676
1696
  }
1677
1697
  return true;
1678
1698
  }
1679
- const ingest$f = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1699
+ const ingest$g = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1680
1700
  if (process.env.NODE_ENV !== 'production') {
1681
- const validateError = validate$j(input);
1701
+ const validateError = validate$l(input);
1682
1702
  if (validateError !== null) {
1683
1703
  throw validateError;
1684
1704
  }
1685
1705
  }
1686
1706
  const key = keyBuilderFromType$8(luvio, input);
1687
1707
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
1688
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$j, RepresentationType$f, equals$j);
1708
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$l, RepresentationType$g, equals$l);
1689
1709
  return createLink(key);
1690
1710
  };
1691
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1711
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1692
1712
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1693
1713
  const rootKey = keyBuilderFromType$8(luvio, input);
1694
1714
  rootKeySet.set(rootKey, {
1695
1715
  namespace: keyPrefix,
1696
- representationName: RepresentationType$f,
1716
+ representationName: RepresentationType$g,
1697
1717
  mergeable: false
1698
1718
  });
1699
1719
  }
1700
1720
 
1701
- const VERSION$i = "7820a930852347bb0506c08d8b528281";
1702
- function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1721
+ const VERSION$k = "7820a930852347bb0506c08d8b528281";
1722
+ function validate$k(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1703
1723
  const v_error = (() => {
1704
1724
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1705
1725
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1776,10 +1796,10 @@ function validate$i(obj, path = 'SlackBridgeReactionOutputRepresentation') {
1776
1796
  })();
1777
1797
  return v_error === undefined ? null : v_error;
1778
1798
  }
1779
- const select$B = function SlackBridgeReactionOutputRepresentationSelect() {
1799
+ const select$E = function SlackBridgeReactionOutputRepresentationSelect() {
1780
1800
  return {
1781
1801
  kind: 'Fragment',
1782
- version: VERSION$i,
1802
+ version: VERSION$k,
1783
1803
  private: [],
1784
1804
  selections: [
1785
1805
  {
@@ -1802,7 +1822,7 @@ const select$B = function SlackBridgeReactionOutputRepresentationSelect() {
1802
1822
  ]
1803
1823
  };
1804
1824
  };
1805
- function equals$i(existing, incoming) {
1825
+ function equals$k(existing, incoming) {
1806
1826
  const existing_name = existing.name;
1807
1827
  const incoming_name = incoming.name;
1808
1828
  if (!(existing_name === incoming_name)) {
@@ -1831,8 +1851,8 @@ function equals$i(existing, incoming) {
1831
1851
  return true;
1832
1852
  }
1833
1853
 
1834
- const VERSION$h = "4634cd404d8392ac4ca9f0e1be03bfbd";
1835
- function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1854
+ const VERSION$j = "4634cd404d8392ac4ca9f0e1be03bfbd";
1855
+ function validate$j(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1836
1856
  const v_error = (() => {
1837
1857
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1838
1858
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1850,10 +1870,10 @@ function validate$h(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
1850
1870
  })();
1851
1871
  return v_error === undefined ? null : v_error;
1852
1872
  }
1853
- const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1873
+ const select$D = function SlackBridgeFileTypeOutputRepresentationSelect() {
1854
1874
  return {
1855
1875
  kind: 'Fragment',
1856
- version: VERSION$h,
1876
+ version: VERSION$j,
1857
1877
  private: [],
1858
1878
  selections: [
1859
1879
  {
@@ -1867,7 +1887,7 @@ const select$A = function SlackBridgeFileTypeOutputRepresentationSelect() {
1867
1887
  ]
1868
1888
  };
1869
1889
  };
1870
- function equals$h(existing, incoming) {
1890
+ function equals$j(existing, incoming) {
1871
1891
  const existing_extension = existing.extension;
1872
1892
  const incoming_extension = incoming.extension;
1873
1893
  if (!(existing_extension === incoming_extension)) {
@@ -1881,8 +1901,8 @@ function equals$h(existing, incoming) {
1881
1901
  return true;
1882
1902
  }
1883
1903
 
1884
- const VERSION$g = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1885
- function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1904
+ const VERSION$i = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
1905
+ function validate$i(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
1886
1906
  const v_error = (() => {
1887
1907
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1888
1908
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1896,7 +1916,7 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1896
1916
  const path_filetype = path + '.filetype';
1897
1917
  let obj_filetype_union0 = null;
1898
1918
  const obj_filetype_union0_error = (() => {
1899
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
1919
+ const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
1900
1920
  if (referencepath_filetypeValidationError !== null) {
1901
1921
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
1902
1922
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1965,11 +1985,11 @@ function validate$g(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
1965
1985
  })();
1966
1986
  return v_error === undefined ? null : v_error;
1967
1987
  }
1968
- const select$z = function SlackBridgeContentVersionOutputRepresentationSelect() {
1969
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
1988
+ const select$C = function SlackBridgeContentVersionOutputRepresentationSelect() {
1989
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
1970
1990
  return {
1971
1991
  kind: 'Fragment',
1972
- version: VERSION$g,
1992
+ version: VERSION$i,
1973
1993
  private: [],
1974
1994
  selections: [
1975
1995
  {
@@ -2001,7 +2021,7 @@ const select$z = function SlackBridgeContentVersionOutputRepresentationSelect()
2001
2021
  ]
2002
2022
  };
2003
2023
  };
2004
- function equals$g(existing, incoming) {
2024
+ function equals$i(existing, incoming) {
2005
2025
  const existing_size = existing.size;
2006
2026
  const incoming_size = incoming.size;
2007
2027
  if (!(existing_size === incoming_size)) {
@@ -2027,7 +2047,7 @@ function equals$g(existing, incoming) {
2027
2047
  if (!(existing_filetype === incoming_filetype
2028
2048
  || (existing_filetype != null &&
2029
2049
  incoming_filetype != null &&
2030
- equals$h(existing_filetype, incoming_filetype)))) {
2050
+ equals$j(existing_filetype, incoming_filetype)))) {
2031
2051
  return false;
2032
2052
  }
2033
2053
  const existing_versionUrl = existing.versionUrl;
@@ -2038,15 +2058,15 @@ function equals$g(existing, incoming) {
2038
2058
  return true;
2039
2059
  }
2040
2060
 
2041
- const VERSION$f = "effdd259bc622bee05493fc2a3ecd276";
2042
- function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2061
+ const VERSION$h = "effdd259bc622bee05493fc2a3ecd276";
2062
+ function validate$h(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
2043
2063
  const v_error = (() => {
2044
2064
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2045
2065
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2046
2066
  }
2047
2067
  const obj_filetype = obj.filetype;
2048
2068
  const path_filetype = path + '.filetype';
2049
- const referencepath_filetypeValidationError = validate$h(obj_filetype, path_filetype);
2069
+ const referencepath_filetypeValidationError = validate$j(obj_filetype, path_filetype);
2050
2070
  if (referencepath_filetypeValidationError !== null) {
2051
2071
  let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
2052
2072
  message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2059,7 +2079,7 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2059
2079
  }
2060
2080
  const obj_latestPublishedVersion = obj.latestPublishedVersion;
2061
2081
  const path_latestPublishedVersion = path + '.latestPublishedVersion';
2062
- const referencepath_latestPublishedVersionValidationError = validate$g(obj_latestPublishedVersion, path_latestPublishedVersion);
2082
+ const referencepath_latestPublishedVersionValidationError = validate$i(obj_latestPublishedVersion, path_latestPublishedVersion);
2063
2083
  if (referencepath_latestPublishedVersionValidationError !== null) {
2064
2084
  let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
2065
2085
  message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2078,12 +2098,12 @@ function validate$f(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
2078
2098
  })();
2079
2099
  return v_error === undefined ? null : v_error;
2080
2100
  }
2081
- const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2082
- const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$A();
2083
- const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$z();
2101
+ const select$B = function SlackBridgeContentDocumentOutputRepresentationSelect() {
2102
+ const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$D();
2103
+ const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$C();
2084
2104
  return {
2085
2105
  kind: 'Fragment',
2086
- version: VERSION$f,
2106
+ version: VERSION$h,
2087
2107
  private: [],
2088
2108
  selections: [
2089
2109
  {
@@ -2111,7 +2131,7 @@ const select$y = function SlackBridgeContentDocumentOutputRepresentationSelect()
2111
2131
  ]
2112
2132
  };
2113
2133
  };
2114
- function equals$f(existing, incoming) {
2134
+ function equals$h(existing, incoming) {
2115
2135
  const existing_size = existing.size;
2116
2136
  const incoming_size = incoming.size;
2117
2137
  if (!(existing_size === incoming_size)) {
@@ -2129,19 +2149,19 @@ function equals$f(existing, incoming) {
2129
2149
  }
2130
2150
  const existing_filetype = existing.filetype;
2131
2151
  const incoming_filetype = incoming.filetype;
2132
- if (!(equals$h(existing_filetype, incoming_filetype))) {
2152
+ if (!(equals$j(existing_filetype, incoming_filetype))) {
2133
2153
  return false;
2134
2154
  }
2135
2155
  const existing_latestPublishedVersion = existing.latestPublishedVersion;
2136
2156
  const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
2137
- if (!(equals$g(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2157
+ if (!(equals$i(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
2138
2158
  return false;
2139
2159
  }
2140
2160
  return true;
2141
2161
  }
2142
2162
 
2143
- const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
2144
- function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2163
+ const VERSION$g = "15fa7211c500ebba9537b3c9921b39cf";
2164
+ function validate$g(obj, path = 'SlackBridgeFileOutputRepresentation') {
2145
2165
  const v_error = (() => {
2146
2166
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2147
2167
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2150,7 +2170,7 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2150
2170
  const path_contentDocument = path + '.contentDocument';
2151
2171
  let obj_contentDocument_union0 = null;
2152
2172
  const obj_contentDocument_union0_error = (() => {
2153
- const referencepath_contentDocumentValidationError = validate$f(obj_contentDocument, path_contentDocument);
2173
+ const referencepath_contentDocumentValidationError = validate$h(obj_contentDocument, path_contentDocument);
2154
2174
  if (referencepath_contentDocumentValidationError !== null) {
2155
2175
  let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
2156
2176
  message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2312,24 +2332,24 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2312
2332
  })();
2313
2333
  return v_error === undefined ? null : v_error;
2314
2334
  }
2315
- const RepresentationType$e = 'SlackBridgeFileOutputRepresentation';
2316
- function keyBuilder$y(luvio, config) {
2317
- return keyPrefix + '::' + RepresentationType$e + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2335
+ const RepresentationType$f = 'SlackBridgeFileOutputRepresentation';
2336
+ function keyBuilder$A(luvio, config) {
2337
+ return keyPrefix + '::' + RepresentationType$f + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
2318
2338
  }
2319
2339
  function keyBuilderFromType$7(luvio, object) {
2320
2340
  const keyParams = {
2321
2341
  uniqueKey: object.uniqueKey
2322
2342
  };
2323
- return keyBuilder$y(luvio, keyParams);
2343
+ return keyBuilder$A(luvio, keyParams);
2324
2344
  }
2325
- function normalize$e(input, existing, path, luvio, store, timestamp) {
2345
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
2326
2346
  return input;
2327
2347
  }
2328
- const select$x = function SlackBridgeFileOutputRepresentationSelect() {
2329
- const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$y();
2348
+ const select$A = function SlackBridgeFileOutputRepresentationSelect() {
2349
+ const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$B();
2330
2350
  return {
2331
2351
  kind: 'Fragment',
2332
- version: VERSION$e,
2352
+ version: VERSION$g,
2333
2353
  private: [],
2334
2354
  selections: [
2335
2355
  {
@@ -2381,7 +2401,7 @@ const select$x = function SlackBridgeFileOutputRepresentationSelect() {
2381
2401
  ]
2382
2402
  };
2383
2403
  };
2384
- function equals$e(existing, incoming) {
2404
+ function equals$g(existing, incoming) {
2385
2405
  const existing_filetype = existing.filetype;
2386
2406
  const incoming_filetype = incoming.filetype;
2387
2407
  if (!(existing_filetype === incoming_filetype)) {
@@ -2417,7 +2437,7 @@ function equals$e(existing, incoming) {
2417
2437
  if (!(existing_contentDocument === incoming_contentDocument
2418
2438
  || (existing_contentDocument != null &&
2419
2439
  incoming_contentDocument != null &&
2420
- equals$f(existing_contentDocument, incoming_contentDocument)))) {
2440
+ equals$h(existing_contentDocument, incoming_contentDocument)))) {
2421
2441
  return false;
2422
2442
  }
2423
2443
  const existing_size = existing.size;
@@ -2442,30 +2462,30 @@ function equals$e(existing, incoming) {
2442
2462
  }
2443
2463
  return true;
2444
2464
  }
2445
- const ingest$e = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2465
+ const ingest$f = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2446
2466
  if (process.env.NODE_ENV !== 'production') {
2447
- const validateError = validate$e(input);
2467
+ const validateError = validate$g(input);
2448
2468
  if (validateError !== null) {
2449
2469
  throw validateError;
2450
2470
  }
2451
2471
  }
2452
2472
  const key = keyBuilderFromType$7(luvio, input);
2453
2473
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
2454
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$e, RepresentationType$e, equals$e);
2474
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$g, RepresentationType$f, equals$g);
2455
2475
  return createLink(key);
2456
2476
  };
2457
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
2477
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
2458
2478
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2459
2479
  const rootKey = keyBuilderFromType$7(luvio, input);
2460
2480
  rootKeySet.set(rootKey, {
2461
2481
  namespace: keyPrefix,
2462
- representationName: RepresentationType$e,
2482
+ representationName: RepresentationType$f,
2463
2483
  mergeable: false
2464
2484
  });
2465
2485
  }
2466
2486
 
2467
- const VERSION$d = "e44783fc9e817e6accf3f3d286c3f0fe";
2468
- function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2487
+ const VERSION$f = "e44783fc9e817e6accf3f3d286c3f0fe";
2488
+ function validate$f(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2469
2489
  const v_error = (() => {
2470
2490
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2471
2491
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2677,7 +2697,7 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2677
2697
  for (let i = 0; i < obj_reactions.length; i++) {
2678
2698
  const obj_reactions_item = obj_reactions[i];
2679
2699
  const path_reactions_item = path_reactions + '[' + i + ']';
2680
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
2700
+ const referencepath_reactions_itemValidationError = validate$k(obj_reactions_item, path_reactions_item);
2681
2701
  if (referencepath_reactions_itemValidationError !== null) {
2682
2702
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
2683
2703
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2839,14 +2859,14 @@ function validate$d(obj, path = 'SlackBridgeMessageOutputRepresentation') {
2839
2859
  })();
2840
2860
  return v_error === undefined ? null : v_error;
2841
2861
  }
2842
- const RepresentationType$d = 'SlackBridgeMessageOutputRepresentation';
2843
- function normalize$d(input, existing, path, luvio, store, timestamp) {
2862
+ const RepresentationType$e = 'SlackBridgeMessageOutputRepresentation';
2863
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
2844
2864
  const input_files = input.files;
2845
2865
  const input_files_id = path.fullPath + '__files';
2846
2866
  for (let i = 0; i < input_files.length; i++) {
2847
2867
  const input_files_item = input_files[i];
2848
2868
  let input_files_item_id = input_files_id + '__' + i;
2849
- input_files[i] = ingest$e(input_files_item, {
2869
+ input_files[i] = ingest$f(input_files_item, {
2850
2870
  fullPath: input_files_item_id,
2851
2871
  propertyName: i,
2852
2872
  parent: {
@@ -2859,11 +2879,11 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
2859
2879
  }
2860
2880
  return input;
2861
2881
  }
2862
- const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2863
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
2882
+ const select$z = function SlackBridgeMessageOutputRepresentationSelect() {
2883
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$E();
2864
2884
  return {
2865
2885
  kind: 'Fragment',
2866
- version: VERSION$d,
2886
+ version: VERSION$f,
2867
2887
  private: [],
2868
2888
  selections: [
2869
2889
  {
@@ -2884,7 +2904,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2884
2904
  name: 'files',
2885
2905
  kind: 'Link',
2886
2906
  plural: true,
2887
- fragment: select$x()
2907
+ fragment: select$A()
2888
2908
  },
2889
2909
  {
2890
2910
  name: 'includesCustomEmoji',
@@ -2956,7 +2976,7 @@ const select$w = function SlackBridgeMessageOutputRepresentationSelect() {
2956
2976
  ]
2957
2977
  };
2958
2978
  };
2959
- function equals$d(existing, incoming) {
2979
+ function equals$f(existing, incoming) {
2960
2980
  const existing_isEditable = existing.isEditable;
2961
2981
  const incoming_isEditable = incoming.isEditable;
2962
2982
  if (!(existing_isEditable === incoming_isEditable)) {
@@ -3050,7 +3070,7 @@ function equals$d(existing, incoming) {
3050
3070
  const existing_reactions = existing.reactions;
3051
3071
  const incoming_reactions = incoming.reactions;
3052
3072
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
3053
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
3073
+ if (!(equals$k(existing_reactions_item, incoming_reactions_item))) {
3054
3074
  return false;
3055
3075
  }
3056
3076
  });
@@ -3094,34 +3114,34 @@ function equals$d(existing, incoming) {
3094
3114
  }
3095
3115
  return true;
3096
3116
  }
3097
- const ingest$d = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3117
+ const ingest$e = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3098
3118
  if (process.env.NODE_ENV !== 'production') {
3099
- const validateError = validate$d(input);
3119
+ const validateError = validate$f(input);
3100
3120
  if (validateError !== null) {
3101
3121
  throw validateError;
3102
3122
  }
3103
3123
  }
3104
3124
  const key = path.fullPath;
3105
3125
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3106
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$d, RepresentationType$d, equals$d);
3126
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$f, RepresentationType$e, equals$f);
3107
3127
  return createLink(key);
3108
3128
  };
3109
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3129
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3110
3130
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3111
3131
  const rootKey = fullPathFactory();
3112
3132
  rootKeySet.set(rootKey, {
3113
3133
  namespace: keyPrefix,
3114
- representationName: RepresentationType$d,
3134
+ representationName: RepresentationType$e,
3115
3135
  mergeable: false
3116
3136
  });
3117
3137
  const input_files_length = input.files.length;
3118
3138
  for (let i = 0; i < input_files_length; i++) {
3119
- getTypeCacheKeys$e(rootKeySet, luvio, input.files[i]);
3139
+ getTypeCacheKeys$f(rootKeySet, luvio, input.files[i]);
3120
3140
  }
3121
3141
  }
3122
3142
 
3123
- const VERSION$c = "5145ac2c241c561e4baa29b3884748dc";
3124
- function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3143
+ const VERSION$e = "5145ac2c241c561e4baa29b3884748dc";
3144
+ function validate$e(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
3125
3145
  const v_error = (() => {
3126
3146
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3127
3147
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3172,14 +3192,14 @@ function validate$c(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
3172
3192
  })();
3173
3193
  return v_error === undefined ? null : v_error;
3174
3194
  }
3175
- const RepresentationType$c = 'SlackBridgeConversationHistoryOutputRepresentation';
3176
- function normalize$c(input, existing, path, luvio, store, timestamp) {
3195
+ const RepresentationType$d = 'SlackBridgeConversationHistoryOutputRepresentation';
3196
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
3177
3197
  const input_messages = input.messages;
3178
3198
  const input_messages_id = path.fullPath + '__messages';
3179
3199
  for (let i = 0; i < input_messages.length; i++) {
3180
3200
  const input_messages_item = input_messages[i];
3181
3201
  let input_messages_item_id = input_messages_id + '__' + i;
3182
- input_messages[i] = ingest$d(input_messages_item, {
3202
+ input_messages[i] = ingest$e(input_messages_item, {
3183
3203
  fullPath: input_messages_item_id,
3184
3204
  propertyName: i,
3185
3205
  parent: {
@@ -3192,10 +3212,10 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
3192
3212
  }
3193
3213
  return input;
3194
3214
  }
3195
- const select$v = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3215
+ const select$y = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
3196
3216
  return {
3197
3217
  kind: 'Fragment',
3198
- version: VERSION$c,
3218
+ version: VERSION$e,
3199
3219
  private: [],
3200
3220
  selections: [
3201
3221
  {
@@ -3206,7 +3226,7 @@ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSele
3206
3226
  name: 'messages',
3207
3227
  kind: 'Link',
3208
3228
  plural: true,
3209
- fragment: select$w()
3229
+ fragment: select$z()
3210
3230
  },
3211
3231
  {
3212
3232
  name: 'nextCursor',
@@ -3215,7 +3235,7 @@ const select$v = function SlackBridgeConversationHistoryOutputRepresentationSele
3215
3235
  ]
3216
3236
  };
3217
3237
  };
3218
- function equals$c(existing, incoming) {
3238
+ function equals$e(existing, incoming) {
3219
3239
  const existing_hasMore = existing.hasMore;
3220
3240
  const incoming_hasMore = incoming.hasMore;
3221
3241
  if (!(existing_hasMore === incoming_hasMore)) {
@@ -3238,34 +3258,34 @@ function equals$c(existing, incoming) {
3238
3258
  }
3239
3259
  return true;
3240
3260
  }
3241
- const ingest$c = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3261
+ const ingest$d = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3242
3262
  if (process.env.NODE_ENV !== 'production') {
3243
- const validateError = validate$c(input);
3263
+ const validateError = validate$e(input);
3244
3264
  if (validateError !== null) {
3245
3265
  throw validateError;
3246
3266
  }
3247
3267
  }
3248
3268
  const key = path.fullPath;
3249
3269
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3250
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$c, RepresentationType$c, equals$c);
3270
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$e, RepresentationType$d, equals$e);
3251
3271
  return createLink(key);
3252
3272
  };
3253
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3273
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
3254
3274
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3255
3275
  const rootKey = fullPathFactory();
3256
3276
  rootKeySet.set(rootKey, {
3257
3277
  namespace: keyPrefix,
3258
- representationName: RepresentationType$c,
3278
+ representationName: RepresentationType$d,
3259
3279
  mergeable: false
3260
3280
  });
3261
3281
  const input_messages_length = input.messages.length;
3262
3282
  for (let i = 0; i < input_messages_length; i++) {
3263
- getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
3283
+ getTypeCacheKeys$e(rootKeySet, luvio, input.messages[i], () => '');
3264
3284
  }
3265
3285
  }
3266
3286
 
3267
- const VERSION$b = "7ec6cbca3e2948ff5ef00e4034f365d5";
3268
- function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3287
+ const VERSION$d = "7ec6cbca3e2948ff5ef00e4034f365d5";
3288
+ function validate$d(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3269
3289
  const v_error = (() => {
3270
3290
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3271
3291
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3409,12 +3429,12 @@ function validate$b(obj, path = 'SlackBridgeConversationOutputRepresentation') {
3409
3429
  })();
3410
3430
  return v_error === undefined ? null : v_error;
3411
3431
  }
3412
- const RepresentationType$b = 'SlackBridgeConversationOutputRepresentation';
3413
- function normalize$b(input, existing, path, luvio, store, timestamp) {
3432
+ const RepresentationType$c = 'SlackBridgeConversationOutputRepresentation';
3433
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
3414
3434
  const input_contextUserInfo = input.contextUserInfo;
3415
3435
  const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
3416
3436
  if (input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
3417
- input.contextUserInfo = ingest$g(input_contextUserInfo, {
3437
+ input.contextUserInfo = ingest$h(input_contextUserInfo, {
3418
3438
  fullPath: input_contextUserInfo_id,
3419
3439
  propertyName: 'contextUserInfo',
3420
3440
  parent: {
@@ -3428,7 +3448,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3428
3448
  const input_conversationInfo = input.conversationInfo;
3429
3449
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
3430
3450
  if (input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
3431
- input.conversationInfo = ingest$f(input_conversationInfo, {
3451
+ input.conversationInfo = ingest$g(input_conversationInfo, {
3432
3452
  fullPath: input_conversationInfo_id,
3433
3453
  propertyName: 'conversationInfo',
3434
3454
  parent: {
@@ -3441,7 +3461,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3441
3461
  }
3442
3462
  const input_history = input.history;
3443
3463
  const input_history_id = path.fullPath + '__history';
3444
- input.history = ingest$c(input_history, {
3464
+ input.history = ingest$d(input_history, {
3445
3465
  fullPath: input_history_id,
3446
3466
  propertyName: 'history',
3447
3467
  parent: {
@@ -3456,7 +3476,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3456
3476
  for (let i = 0; i < input_userInfos.length; i++) {
3457
3477
  const input_userInfos_item = input_userInfos[i];
3458
3478
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
3459
- input_userInfos[i] = ingest$g(input_userInfos_item, {
3479
+ input_userInfos[i] = ingest$h(input_userInfos_item, {
3460
3480
  fullPath: input_userInfos_item_id,
3461
3481
  propertyName: i,
3462
3482
  parent: {
@@ -3469,10 +3489,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
3469
3489
  }
3470
3490
  return input;
3471
3491
  }
3472
- const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3492
+ const select$x = function SlackBridgeConversationOutputRepresentationSelect() {
3473
3493
  return {
3474
3494
  kind: 'Fragment',
3475
- version: VERSION$b,
3495
+ version: VERSION$d,
3476
3496
  private: [],
3477
3497
  selections: [
3478
3498
  {
@@ -3487,18 +3507,18 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3487
3507
  name: 'contextUserInfo',
3488
3508
  kind: 'Link',
3489
3509
  nullable: true,
3490
- fragment: select$D()
3510
+ fragment: select$G()
3491
3511
  },
3492
3512
  {
3493
3513
  name: 'conversationInfo',
3494
3514
  kind: 'Link',
3495
3515
  nullable: true,
3496
- fragment: select$C()
3516
+ fragment: select$F()
3497
3517
  },
3498
3518
  {
3499
3519
  name: 'history',
3500
3520
  kind: 'Link',
3501
- fragment: select$v()
3521
+ fragment: select$y()
3502
3522
  },
3503
3523
  {
3504
3524
  name: 'teamId',
@@ -3512,7 +3532,7 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3512
3532
  name: 'userInfos',
3513
3533
  kind: 'Link',
3514
3534
  plural: true,
3515
- fragment: select$D()
3535
+ fragment: select$G()
3516
3536
  },
3517
3537
  {
3518
3538
  name: 'websocketUrl',
@@ -3521,7 +3541,7 @@ const select$u = function SlackBridgeConversationOutputRepresentationSelect() {
3521
3541
  ]
3522
3542
  };
3523
3543
  };
3524
- function equals$b(existing, incoming) {
3544
+ function equals$d(existing, incoming) {
3525
3545
  const existing_channelId = existing.channelId;
3526
3546
  const incoming_channelId = incoming.channelId;
3527
3547
  if (!(existing_channelId === incoming_channelId)) {
@@ -3584,55 +3604,55 @@ function equals$b(existing, incoming) {
3584
3604
  }
3585
3605
  return true;
3586
3606
  }
3587
- const ingest$b = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3607
+ const ingest$c = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3588
3608
  if (process.env.NODE_ENV !== 'production') {
3589
- const validateError = validate$b(input);
3609
+ const validateError = validate$d(input);
3590
3610
  if (validateError !== null) {
3591
3611
  throw validateError;
3592
3612
  }
3593
3613
  }
3594
3614
  const key = path.fullPath;
3595
3615
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3596
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$b, RepresentationType$b, equals$b);
3616
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$d, RepresentationType$c, equals$d);
3597
3617
  return createLink(key);
3598
3618
  };
3599
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3619
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3600
3620
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3601
3621
  const rootKey = fullPathFactory();
3602
3622
  rootKeySet.set(rootKey, {
3603
3623
  namespace: keyPrefix,
3604
- representationName: RepresentationType$b,
3624
+ representationName: RepresentationType$c,
3605
3625
  mergeable: false
3606
3626
  });
3607
3627
  if (input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
3608
- getTypeCacheKeys$g(rootKeySet, luvio, input.contextUserInfo);
3628
+ getTypeCacheKeys$h(rootKeySet, luvio, input.contextUserInfo);
3609
3629
  }
3610
3630
  if (input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
3611
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
3631
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfo);
3612
3632
  }
3613
- getTypeCacheKeys$c(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3633
+ getTypeCacheKeys$d(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
3614
3634
  const input_userInfos_length = input.userInfos.length;
3615
3635
  for (let i = 0; i < input_userInfos_length; i++) {
3616
- getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
3636
+ getTypeCacheKeys$h(rootKeySet, luvio, input.userInfos[i]);
3617
3637
  }
3618
3638
  }
3619
3639
 
3620
- function select$t(luvio, params) {
3621
- return select$u();
3640
+ function select$w(luvio, params) {
3641
+ return select$x();
3622
3642
  }
3623
- function keyBuilder$x(luvio, params) {
3643
+ function keyBuilder$z(luvio, params) {
3624
3644
  return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
3625
3645
  }
3626
- function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3627
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
3646
+ function getResponseCacheKeys$m(storeKeyMap, luvio, resourceParams, response) {
3647
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
3628
3648
  }
3629
- function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3649
+ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
3630
3650
  const { body } = response;
3631
- const key = keyBuilder$x(luvio, resourceParams);
3632
- luvio.storeIngest(key, ingest$b, body);
3651
+ const key = keyBuilder$z(luvio, resourceParams);
3652
+ luvio.storeIngest(key, ingest$c, body);
3633
3653
  const snapshot = luvio.storeLookup({
3634
3654
  recordId: key,
3635
- node: select$t(),
3655
+ node: select$w(),
3636
3656
  variables: {},
3637
3657
  }, snapshotRefresh);
3638
3658
  if (process.env.NODE_ENV !== 'production') {
@@ -3643,13 +3663,13 @@ function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
3643
3663
  deepFreeze(snapshot.data);
3644
3664
  return snapshot;
3645
3665
  }
3646
- function ingestError$b(luvio, params, error, snapshotRefresh) {
3647
- const key = keyBuilder$x(luvio, params);
3666
+ function ingestError$c(luvio, params, error, snapshotRefresh) {
3667
+ const key = keyBuilder$z(luvio, params);
3648
3668
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
3649
3669
  luvio.storeIngestError(key, errorSnapshot);
3650
3670
  return errorSnapshot;
3651
3671
  }
3652
- function createResourceRequest$l(config) {
3672
+ function createResourceRequest$m(config) {
3653
3673
  const headers = {};
3654
3674
  return {
3655
3675
  baseUri: '/services/data/v64.0',
@@ -3663,7 +3683,7 @@ function createResourceRequest$l(config) {
3663
3683
  };
3664
3684
  }
3665
3685
 
3666
- const adapterName$l = 'getSlackConversation';
3686
+ const adapterName$m = 'getSlackConversation';
3667
3687
  const getSlackConversation_ConfigPropertyMetadata = [
3668
3688
  generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
3669
3689
  generateParamConfigMetadata('includeView', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -3675,90 +3695,90 @@ const getSlackConversation_ConfigPropertyMetadata = [
3675
3695
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
3676
3696
  generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
3677
3697
  ];
3678
- const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getSlackConversation_ConfigPropertyMetadata);
3679
- const createResourceParams$l = /*#__PURE__*/ createResourceParams$m(getSlackConversation_ConfigPropertyMetadata);
3680
- function keyBuilder$w(luvio, config) {
3681
- const resourceParams = createResourceParams$l(config);
3682
- return keyBuilder$x(luvio, resourceParams);
3698
+ const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getSlackConversation_ConfigPropertyMetadata);
3699
+ const createResourceParams$m = /*#__PURE__*/ createResourceParams$n(getSlackConversation_ConfigPropertyMetadata);
3700
+ function keyBuilder$y(luvio, config) {
3701
+ const resourceParams = createResourceParams$m(config);
3702
+ return keyBuilder$z(luvio, resourceParams);
3683
3703
  }
3684
- function typeCheckConfig$l(untrustedConfig) {
3704
+ function typeCheckConfig$m(untrustedConfig) {
3685
3705
  const config = {};
3686
- typeCheckConfig$m(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3706
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
3687
3707
  return config;
3688
3708
  }
3689
- function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3709
+ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
3690
3710
  if (!untrustedIsObject(untrustedConfig)) {
3691
3711
  return null;
3692
3712
  }
3693
3713
  if (process.env.NODE_ENV !== 'production') {
3694
3714
  validateConfig(untrustedConfig, configPropertyNames);
3695
3715
  }
3696
- const config = typeCheckConfig$l(untrustedConfig);
3716
+ const config = typeCheckConfig$m(untrustedConfig);
3697
3717
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3698
3718
  return null;
3699
3719
  }
3700
3720
  return config;
3701
3721
  }
3702
- function adapterFragment$b(luvio, config) {
3703
- createResourceParams$l(config);
3704
- return select$t();
3722
+ function adapterFragment$c(luvio, config) {
3723
+ createResourceParams$m(config);
3724
+ return select$w();
3705
3725
  }
3706
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
3707
- const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
3726
+ function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
3727
+ const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
3708
3728
  config,
3709
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3729
+ resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
3710
3730
  });
3711
3731
  return luvio.storeBroadcast().then(() => snapshot);
3712
3732
  }
3713
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
3714
- const snapshot = ingestError$b(luvio, resourceParams, response, {
3733
+ function onFetchResponseError$c(luvio, config, resourceParams, response) {
3734
+ const snapshot = ingestError$c(luvio, resourceParams, response, {
3715
3735
  config,
3716
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3736
+ resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
3717
3737
  });
3718
3738
  return luvio.storeBroadcast().then(() => snapshot);
3719
3739
  }
3720
- function buildNetworkSnapshot$l(luvio, config, options) {
3721
- const resourceParams = createResourceParams$l(config);
3722
- const request = createResourceRequest$l(resourceParams);
3740
+ function buildNetworkSnapshot$m(luvio, config, options) {
3741
+ const resourceParams = createResourceParams$m(config);
3742
+ const request = createResourceRequest$m(resourceParams);
3723
3743
  return luvio.dispatchResourceRequest(request, options)
3724
3744
  .then((response) => {
3725
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
3745
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
3726
3746
  const cache = new StoreKeyMap();
3727
- getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
3747
+ getResponseCacheKeys$m(cache, luvio, resourceParams, response.body);
3728
3748
  return cache;
3729
3749
  });
3730
3750
  }, (response) => {
3731
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
3751
+ return luvio.handleErrorResponse(() => onFetchResponseError$c(luvio, config, resourceParams, response));
3732
3752
  });
3733
3753
  }
3734
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3735
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
3754
+ function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
3755
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
3736
3756
  }
3737
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3757
+ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
3738
3758
  const { luvio, config } = context;
3739
3759
  const selector = {
3740
- recordId: keyBuilder$w(luvio, config),
3741
- node: adapterFragment$b(luvio, config),
3760
+ recordId: keyBuilder$y(luvio, config),
3761
+ node: adapterFragment$c(luvio, config),
3742
3762
  variables: {},
3743
3763
  };
3744
3764
  const cacheSnapshot = storeLookup(selector, {
3745
3765
  config,
3746
- resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
3766
+ resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
3747
3767
  });
3748
3768
  return cacheSnapshot;
3749
3769
  }
3750
3770
  const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
3751
- const config = validateAdapterConfig$l(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3771
+ const config = validateAdapterConfig$m(untrustedConfig, getSlackConversation_ConfigPropertyNames);
3752
3772
  // Invalid or incomplete config
3753
3773
  if (config === null) {
3754
3774
  return null;
3755
3775
  }
3756
3776
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
3757
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
3777
+ buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
3758
3778
  };
3759
3779
 
3760
- const VERSION$a = "769b5b0ed94219341e9be74c08e63aed";
3761
- function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3780
+ const VERSION$c = "769b5b0ed94219341e9be74c08e63aed";
3781
+ function validate$c(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3762
3782
  const v_error = (() => {
3763
3783
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3764
3784
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3781,20 +3801,20 @@ function validate$a(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
3781
3801
  })();
3782
3802
  return v_error === undefined ? null : v_error;
3783
3803
  }
3784
- const RepresentationType$a = 'SlackBridgePostMessageOutputRepresentation';
3785
- function keyBuilder$v(luvio, config) {
3786
- return keyPrefix + '::' + RepresentationType$a + ':' + config.channelId;
3804
+ const RepresentationType$b = 'SlackBridgePostMessageOutputRepresentation';
3805
+ function keyBuilder$x(luvio, config) {
3806
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.channelId;
3787
3807
  }
3788
3808
  function keyBuilderFromType$6(luvio, object) {
3789
3809
  const keyParams = {
3790
3810
  channelId: object.channelId
3791
3811
  };
3792
- return keyBuilder$v(luvio, keyParams);
3812
+ return keyBuilder$x(luvio, keyParams);
3793
3813
  }
3794
- function normalize$a(input, existing, path, luvio, store, timestamp) {
3814
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
3795
3815
  const input_postedMessage = input.postedMessage;
3796
3816
  const input_postedMessage_id = path.fullPath + '__postedMessage';
3797
- input.postedMessage = ingest$d(input_postedMessage, {
3817
+ input.postedMessage = ingest$e(input_postedMessage, {
3798
3818
  fullPath: input_postedMessage_id,
3799
3819
  propertyName: 'postedMessage',
3800
3820
  parent: {
@@ -3806,10 +3826,10 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
3806
3826
  }, luvio, store, timestamp);
3807
3827
  return input;
3808
3828
  }
3809
- const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3829
+ const select$v = function SlackBridgePostMessageOutputRepresentationSelect() {
3810
3830
  return {
3811
3831
  kind: 'Fragment',
3812
- version: VERSION$a,
3832
+ version: VERSION$c,
3813
3833
  private: [],
3814
3834
  selections: [
3815
3835
  {
@@ -3819,7 +3839,7 @@ const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3819
3839
  {
3820
3840
  name: 'postedMessage',
3821
3841
  kind: 'Link',
3822
- fragment: select$w()
3842
+ fragment: select$z()
3823
3843
  },
3824
3844
  {
3825
3845
  name: 'timestamp',
@@ -3828,7 +3848,7 @@ const select$s = function SlackBridgePostMessageOutputRepresentationSelect() {
3828
3848
  ]
3829
3849
  };
3830
3850
  };
3831
- function equals$a(existing, incoming) {
3851
+ function equals$c(existing, incoming) {
3832
3852
  const existing_channelId = existing.channelId;
3833
3853
  const incoming_channelId = incoming.channelId;
3834
3854
  if (!(existing_channelId === incoming_channelId)) {
@@ -3846,42 +3866,42 @@ function equals$a(existing, incoming) {
3846
3866
  }
3847
3867
  return true;
3848
3868
  }
3849
- const ingest$a = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3869
+ const ingest$b = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3850
3870
  if (process.env.NODE_ENV !== 'production') {
3851
- const validateError = validate$a(input);
3871
+ const validateError = validate$c(input);
3852
3872
  if (validateError !== null) {
3853
3873
  throw validateError;
3854
3874
  }
3855
3875
  }
3856
3876
  const key = keyBuilderFromType$6(luvio, input);
3857
3877
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
3858
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$a, RepresentationType$a, equals$a);
3878
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SlackBridge", VERSION$c, RepresentationType$b, equals$c);
3859
3879
  return createLink(key);
3860
3880
  };
3861
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3881
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3862
3882
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3863
3883
  const rootKey = keyBuilderFromType$6(luvio, input);
3864
3884
  rootKeySet.set(rootKey, {
3865
3885
  namespace: keyPrefix,
3866
- representationName: RepresentationType$a,
3886
+ representationName: RepresentationType$b,
3867
3887
  mergeable: false
3868
3888
  });
3869
- getTypeCacheKeys$d(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3889
+ getTypeCacheKeys$e(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
3870
3890
  }
3871
3891
 
3872
- function select$r(luvio, params) {
3873
- return select$s();
3892
+ function select$u(luvio, params) {
3893
+ return select$v();
3874
3894
  }
3875
- function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3876
- getTypeCacheKeys$a(storeKeyMap, luvio, response);
3895
+ function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
3896
+ getTypeCacheKeys$b(storeKeyMap, luvio, response);
3877
3897
  }
3878
- function ingestSuccess$h(luvio, resourceParams, response) {
3898
+ function ingestSuccess$i(luvio, resourceParams, response) {
3879
3899
  const { body } = response;
3880
3900
  const key = keyBuilderFromType$6(luvio, body);
3881
- luvio.storeIngest(key, ingest$a, body);
3901
+ luvio.storeIngest(key, ingest$b, body);
3882
3902
  const snapshot = luvio.storeLookup({
3883
3903
  recordId: key,
3884
- node: select$r(),
3904
+ node: select$u(),
3885
3905
  variables: {},
3886
3906
  });
3887
3907
  if (process.env.NODE_ENV !== 'production') {
@@ -3892,7 +3912,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
3892
3912
  deepFreeze(snapshot.data);
3893
3913
  return snapshot;
3894
3914
  }
3895
- function createResourceRequest$k(config) {
3915
+ function createResourceRequest$l(config) {
3896
3916
  const headers = {};
3897
3917
  return {
3898
3918
  baseUri: '/services/data/v64.0',
@@ -3906,7 +3926,7 @@ function createResourceRequest$k(config) {
3906
3926
  };
3907
3927
  }
3908
3928
 
3909
- const adapterName$k = 'postSlackConversation';
3929
+ const adapterName$l = 'postSlackConversation';
3910
3930
  const postSlackConversation_ConfigPropertyMetadata = [
3911
3931
  generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
3912
3932
  generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
@@ -3915,37 +3935,37 @@ const postSlackConversation_ConfigPropertyMetadata = [
3915
3935
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
3916
3936
  generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
3917
3937
  ];
3918
- const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackConversation_ConfigPropertyMetadata);
3919
- const createResourceParams$k = /*#__PURE__*/ createResourceParams$m(postSlackConversation_ConfigPropertyMetadata);
3920
- function typeCheckConfig$k(untrustedConfig) {
3938
+ const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, postSlackConversation_ConfigPropertyMetadata);
3939
+ const createResourceParams$l = /*#__PURE__*/ createResourceParams$n(postSlackConversation_ConfigPropertyMetadata);
3940
+ function typeCheckConfig$l(untrustedConfig) {
3921
3941
  const config = {};
3922
- typeCheckConfig$m(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3942
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
3923
3943
  return config;
3924
3944
  }
3925
- function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
3945
+ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
3926
3946
  if (!untrustedIsObject(untrustedConfig)) {
3927
3947
  return null;
3928
3948
  }
3929
3949
  if (process.env.NODE_ENV !== 'production') {
3930
3950
  validateConfig(untrustedConfig, configPropertyNames);
3931
3951
  }
3932
- const config = typeCheckConfig$k(untrustedConfig);
3952
+ const config = typeCheckConfig$l(untrustedConfig);
3933
3953
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
3934
3954
  return null;
3935
3955
  }
3936
3956
  return config;
3937
3957
  }
3938
- function buildNetworkSnapshot$k(luvio, config, options) {
3939
- const resourceParams = createResourceParams$k(config);
3940
- const request = createResourceRequest$k(resourceParams);
3958
+ function buildNetworkSnapshot$l(luvio, config, options) {
3959
+ const resourceParams = createResourceParams$l(config);
3960
+ const request = createResourceRequest$l(resourceParams);
3941
3961
  return luvio.dispatchResourceRequest(request, options)
3942
3962
  .then((response) => {
3943
3963
  return luvio.handleSuccessResponse(() => {
3944
- const snapshot = ingestSuccess$h(luvio, resourceParams, response);
3964
+ const snapshot = ingestSuccess$i(luvio, resourceParams, response);
3945
3965
  return luvio.storeBroadcast().then(() => snapshot);
3946
3966
  }, () => {
3947
3967
  const cache = new StoreKeyMap();
3948
- getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
3968
+ getResponseCacheKeys$l(cache, luvio, resourceParams, response.body);
3949
3969
  return cache;
3950
3970
  });
3951
3971
  }, (response) => {
@@ -3955,28 +3975,28 @@ function buildNetworkSnapshot$k(luvio, config, options) {
3955
3975
  }
3956
3976
  const postSlackConversationAdapterFactory = (luvio) => {
3957
3977
  return function postSlackConversation(untrustedConfig) {
3958
- const config = validateAdapterConfig$k(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3978
+ const config = validateAdapterConfig$l(untrustedConfig, postSlackConversation_ConfigPropertyNames);
3959
3979
  // Invalid or incomplete config
3960
3980
  if (config === null) {
3961
3981
  throw new Error('Invalid config for "postSlackConversation"');
3962
3982
  }
3963
- return buildNetworkSnapshot$k(luvio, config);
3983
+ return buildNetworkSnapshot$l(luvio, config);
3964
3984
  };
3965
3985
  };
3966
3986
 
3967
- function select$q(luvio, params) {
3968
- return select$x();
3987
+ function select$t(luvio, params) {
3988
+ return select$A();
3969
3989
  }
3970
- function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
3971
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
3990
+ function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
3991
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
3972
3992
  }
3973
- function ingestSuccess$g(luvio, resourceParams, response) {
3993
+ function ingestSuccess$h(luvio, resourceParams, response) {
3974
3994
  const { body } = response;
3975
3995
  const key = keyBuilderFromType$7(luvio, body);
3976
- luvio.storeIngest(key, ingest$e, body);
3996
+ luvio.storeIngest(key, ingest$f, body);
3977
3997
  const snapshot = luvio.storeLookup({
3978
3998
  recordId: key,
3979
- node: select$q(),
3999
+ node: select$t(),
3980
4000
  variables: {},
3981
4001
  });
3982
4002
  if (process.env.NODE_ENV !== 'production') {
@@ -3987,7 +4007,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
3987
4007
  deepFreeze(snapshot.data);
3988
4008
  return snapshot;
3989
4009
  }
3990
- function createResourceRequest$j(config) {
4010
+ function createResourceRequest$k(config) {
3991
4011
  const headers = {};
3992
4012
  return {
3993
4013
  baseUri: '/services/data/v64.0',
@@ -4001,7 +4021,7 @@ function createResourceRequest$j(config) {
4001
4021
  };
4002
4022
  }
4003
4023
 
4004
- const adapterName$j = 'postSlackFile';
4024
+ const adapterName$k = 'postSlackFile';
4005
4025
  const postSlackFile_ConfigPropertyMetadata = [
4006
4026
  generateParamConfigMetadata('base64EncodedFileData', true, 2 /* Body */, 0 /* String */),
4007
4027
  generateParamConfigMetadata('channels', true, 2 /* Body */, 0 /* String */, true),
@@ -4012,37 +4032,37 @@ const postSlackFile_ConfigPropertyMetadata = [
4012
4032
  generateParamConfigMetadata('threadTs', true, 2 /* Body */, 0 /* String */),
4013
4033
  generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
4014
4034
  ];
4015
- const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackFile_ConfigPropertyMetadata);
4016
- const createResourceParams$j = /*#__PURE__*/ createResourceParams$m(postSlackFile_ConfigPropertyMetadata);
4017
- function typeCheckConfig$j(untrustedConfig) {
4035
+ const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, postSlackFile_ConfigPropertyMetadata);
4036
+ const createResourceParams$k = /*#__PURE__*/ createResourceParams$n(postSlackFile_ConfigPropertyMetadata);
4037
+ function typeCheckConfig$k(untrustedConfig) {
4018
4038
  const config = {};
4019
- typeCheckConfig$m(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4039
+ typeCheckConfig$n(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
4020
4040
  return config;
4021
4041
  }
4022
- function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4042
+ function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
4023
4043
  if (!untrustedIsObject(untrustedConfig)) {
4024
4044
  return null;
4025
4045
  }
4026
4046
  if (process.env.NODE_ENV !== 'production') {
4027
4047
  validateConfig(untrustedConfig, configPropertyNames);
4028
4048
  }
4029
- const config = typeCheckConfig$j(untrustedConfig);
4049
+ const config = typeCheckConfig$k(untrustedConfig);
4030
4050
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4031
4051
  return null;
4032
4052
  }
4033
4053
  return config;
4034
4054
  }
4035
- function buildNetworkSnapshot$j(luvio, config, options) {
4036
- const resourceParams = createResourceParams$j(config);
4037
- const request = createResourceRequest$j(resourceParams);
4055
+ function buildNetworkSnapshot$k(luvio, config, options) {
4056
+ const resourceParams = createResourceParams$k(config);
4057
+ const request = createResourceRequest$k(resourceParams);
4038
4058
  return luvio.dispatchResourceRequest(request, options)
4039
4059
  .then((response) => {
4040
4060
  return luvio.handleSuccessResponse(() => {
4041
- const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4061
+ const snapshot = ingestSuccess$h(luvio, resourceParams, response);
4042
4062
  return luvio.storeBroadcast().then(() => snapshot);
4043
4063
  }, () => {
4044
4064
  const cache = new StoreKeyMap();
4045
- getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4065
+ getResponseCacheKeys$k(cache, luvio, resourceParams, response.body);
4046
4066
  return cache;
4047
4067
  });
4048
4068
  }, (response) => {
@@ -4052,17 +4072,17 @@ function buildNetworkSnapshot$j(luvio, config, options) {
4052
4072
  }
4053
4073
  const postSlackFileAdapterFactory = (luvio) => {
4054
4074
  return function postSlackFile(untrustedConfig) {
4055
- const config = validateAdapterConfig$j(untrustedConfig, postSlackFile_ConfigPropertyNames);
4075
+ const config = validateAdapterConfig$k(untrustedConfig, postSlackFile_ConfigPropertyNames);
4056
4076
  // Invalid or incomplete config
4057
4077
  if (config === null) {
4058
4078
  throw new Error('Invalid config for "postSlackFile"');
4059
4079
  }
4060
- return buildNetworkSnapshot$j(luvio, config);
4080
+ return buildNetworkSnapshot$k(luvio, config);
4061
4081
  };
4062
4082
  };
4063
4083
 
4064
- const VERSION$9 = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4065
- function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4084
+ const VERSION$b = "ed15e6ba6e9dd618e72c6eea210ee7a8";
4085
+ function validate$b(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentation') {
4066
4086
  const v_error = (() => {
4067
4087
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4068
4088
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4085,20 +4105,20 @@ function validate$9(obj, path = 'SlackBridgeRecordChannelInfoOutputRepresentatio
4085
4105
  })();
4086
4106
  return v_error === undefined ? null : v_error;
4087
4107
  }
4088
- const RepresentationType$9 = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4089
- function keyBuilder$u(luvio, config) {
4090
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.relatedRecordId;
4108
+ const RepresentationType$a = 'SlackBridgeRecordChannelInfoOutputRepresentation';
4109
+ function keyBuilder$w(luvio, config) {
4110
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.relatedRecordId;
4091
4111
  }
4092
4112
  function keyBuilderFromType$5(luvio, object) {
4093
4113
  const keyParams = {
4094
4114
  relatedRecordId: object.relatedRecordId
4095
4115
  };
4096
- return keyBuilder$u(luvio, keyParams);
4116
+ return keyBuilder$w(luvio, keyParams);
4097
4117
  }
4098
- function normalize$9(input, existing, path, luvio, store, timestamp) {
4118
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
4099
4119
  const input_conversationInfo = input.conversationInfo;
4100
4120
  const input_conversationInfo_id = path.fullPath + '__conversationInfo';
4101
- input.conversationInfo = ingest$f(input_conversationInfo, {
4121
+ input.conversationInfo = ingest$g(input_conversationInfo, {
4102
4122
  fullPath: input_conversationInfo_id,
4103
4123
  propertyName: 'conversationInfo',
4104
4124
  parent: {
@@ -4110,16 +4130,16 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4110
4130
  }, luvio, store, timestamp);
4111
4131
  return input;
4112
4132
  }
4113
- const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4133
+ const select$s = function SlackBridgeRecordChannelInfoOutputRepresentationSelect() {
4114
4134
  return {
4115
4135
  kind: 'Fragment',
4116
- version: VERSION$9,
4136
+ version: VERSION$b,
4117
4137
  private: [],
4118
4138
  selections: [
4119
4139
  {
4120
4140
  name: 'conversationInfo',
4121
4141
  kind: 'Link',
4122
- fragment: select$C()
4142
+ fragment: select$F()
4123
4143
  },
4124
4144
  {
4125
4145
  name: 'relatedRecordId',
@@ -4132,7 +4152,7 @@ const select$p = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
4132
4152
  ]
4133
4153
  };
4134
4154
  };
4135
- function equals$9(existing, incoming) {
4155
+ function equals$b(existing, incoming) {
4136
4156
  const existing_relatedRecordId = existing.relatedRecordId;
4137
4157
  const incoming_relatedRecordId = incoming.relatedRecordId;
4138
4158
  if (!(existing_relatedRecordId === incoming_relatedRecordId)) {
@@ -4150,42 +4170,42 @@ function equals$9(existing, incoming) {
4150
4170
  }
4151
4171
  return true;
4152
4172
  }
4153
- const ingest$9 = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4173
+ const ingest$a = function SlackBridgeRecordChannelInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4154
4174
  if (process.env.NODE_ENV !== 'production') {
4155
- const validateError = validate$9(input);
4175
+ const validateError = validate$b(input);
4156
4176
  if (validateError !== null) {
4157
4177
  throw validateError;
4158
4178
  }
4159
4179
  }
4160
4180
  const key = keyBuilderFromType$5(luvio, input);
4161
4181
  const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
4162
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$9, RepresentationType$9, equals$9);
4182
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SlackBridge", VERSION$b, RepresentationType$a, equals$b);
4163
4183
  return createLink(key);
4164
4184
  };
4165
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4185
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4166
4186
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4167
4187
  const rootKey = keyBuilderFromType$5(luvio, input);
4168
4188
  rootKeySet.set(rootKey, {
4169
4189
  namespace: keyPrefix,
4170
- representationName: RepresentationType$9,
4190
+ representationName: RepresentationType$a,
4171
4191
  mergeable: false
4172
4192
  });
4173
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfo);
4193
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfo);
4174
4194
  }
4175
4195
 
4176
- function select$o(luvio, params) {
4177
- return select$p();
4196
+ function select$r(luvio, params) {
4197
+ return select$s();
4178
4198
  }
4179
- function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4180
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
4199
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
4200
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
4181
4201
  }
4182
- function ingestSuccess$f(luvio, resourceParams, response) {
4202
+ function ingestSuccess$g(luvio, resourceParams, response) {
4183
4203
  const { body } = response;
4184
4204
  const key = keyBuilderFromType$5(luvio, body);
4185
- luvio.storeIngest(key, ingest$9, body);
4205
+ luvio.storeIngest(key, ingest$a, body);
4186
4206
  const snapshot = luvio.storeLookup({
4187
4207
  recordId: key,
4188
- node: select$o(),
4208
+ node: select$r(),
4189
4209
  variables: {},
4190
4210
  });
4191
4211
  if (process.env.NODE_ENV !== 'production') {
@@ -4196,7 +4216,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
4196
4216
  deepFreeze(snapshot.data);
4197
4217
  return snapshot;
4198
4218
  }
4199
- function createResourceRequest$i(config) {
4219
+ function createResourceRequest$j(config) {
4200
4220
  const headers = {};
4201
4221
  return {
4202
4222
  baseUri: '/services/data/v64.0',
@@ -4210,16 +4230,16 @@ function createResourceRequest$i(config) {
4210
4230
  };
4211
4231
  }
4212
4232
 
4213
- const adapterName$i = 'postSlackRecordChannelInfos';
4233
+ const adapterName$j = 'postSlackRecordChannelInfos';
4214
4234
  const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
4215
4235
  generateParamConfigMetadata('conversationInfo', true, 2 /* Body */, 4 /* Unsupported */),
4216
4236
  generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
4217
4237
  ];
4218
- const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4219
- const createResourceParams$i = /*#__PURE__*/ createResourceParams$m(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4220
- function typeCheckConfig$i(untrustedConfig) {
4238
+ const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4239
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$n(postSlackRecordChannelInfos_ConfigPropertyMetadata);
4240
+ function typeCheckConfig$j(untrustedConfig) {
4221
4241
  const config = {};
4222
- typeCheckConfig$m(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4242
+ typeCheckConfig$n(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
4223
4243
  const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
4224
4244
  if (untrustedIsObject(untrustedConfig_conversationInfo)) {
4225
4245
  const untrustedConfig_conversationInfo_object = {};
@@ -4233,30 +4253,30 @@ function typeCheckConfig$i(untrustedConfig) {
4233
4253
  }
4234
4254
  return config;
4235
4255
  }
4236
- function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4256
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
4237
4257
  if (!untrustedIsObject(untrustedConfig)) {
4238
4258
  return null;
4239
4259
  }
4240
4260
  if (process.env.NODE_ENV !== 'production') {
4241
4261
  validateConfig(untrustedConfig, configPropertyNames);
4242
4262
  }
4243
- const config = typeCheckConfig$i(untrustedConfig);
4263
+ const config = typeCheckConfig$j(untrustedConfig);
4244
4264
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4245
4265
  return null;
4246
4266
  }
4247
4267
  return config;
4248
4268
  }
4249
- function buildNetworkSnapshot$i(luvio, config, options) {
4250
- const resourceParams = createResourceParams$i(config);
4251
- const request = createResourceRequest$i(resourceParams);
4269
+ function buildNetworkSnapshot$j(luvio, config, options) {
4270
+ const resourceParams = createResourceParams$j(config);
4271
+ const request = createResourceRequest$j(resourceParams);
4252
4272
  return luvio.dispatchResourceRequest(request, options)
4253
4273
  .then((response) => {
4254
4274
  return luvio.handleSuccessResponse(() => {
4255
- const snapshot = ingestSuccess$f(luvio, resourceParams, response);
4275
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response);
4256
4276
  return luvio.storeBroadcast().then(() => snapshot);
4257
4277
  }, () => {
4258
4278
  const cache = new StoreKeyMap();
4259
- getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4279
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
4260
4280
  return cache;
4261
4281
  });
4262
4282
  }, (response) => {
@@ -4266,33 +4286,33 @@ function buildNetworkSnapshot$i(luvio, config, options) {
4266
4286
  }
4267
4287
  const postSlackRecordChannelInfosAdapterFactory = (luvio) => {
4268
4288
  return function postSlackRecordChannelInfos(untrustedConfig) {
4269
- const config = validateAdapterConfig$i(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4289
+ const config = validateAdapterConfig$j(untrustedConfig, postSlackRecordChannelInfos_ConfigPropertyNames);
4270
4290
  // Invalid or incomplete config
4271
4291
  if (config === null) {
4272
4292
  throw new Error('Invalid config for "postSlackRecordChannelInfos"');
4273
4293
  }
4274
- return buildNetworkSnapshot$i(luvio, config);
4294
+ return buildNetworkSnapshot$j(luvio, config);
4275
4295
  };
4276
4296
  };
4277
4297
 
4278
- function select$n(luvio, params) {
4279
- return select$p();
4298
+ function select$q(luvio, params) {
4299
+ return select$s();
4280
4300
  }
4281
- function keyBuilder$t(luvio, params) {
4282
- return keyBuilder$u(luvio, {
4301
+ function keyBuilder$v(luvio, params) {
4302
+ return keyBuilder$w(luvio, {
4283
4303
  relatedRecordId: params.urlParams.relatedRecordId
4284
4304
  });
4285
4305
  }
4286
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4287
- getTypeCacheKeys$9(storeKeyMap, luvio, response);
4306
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
4307
+ getTypeCacheKeys$a(storeKeyMap, luvio, response);
4288
4308
  }
4289
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4309
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
4290
4310
  const { body } = response;
4291
- const key = keyBuilder$t(luvio, resourceParams);
4292
- luvio.storeIngest(key, ingest$9, body);
4311
+ const key = keyBuilder$v(luvio, resourceParams);
4312
+ luvio.storeIngest(key, ingest$a, body);
4293
4313
  const snapshot = luvio.storeLookup({
4294
4314
  recordId: key,
4295
- node: select$n(),
4315
+ node: select$q(),
4296
4316
  variables: {},
4297
4317
  }, snapshotRefresh);
4298
4318
  if (process.env.NODE_ENV !== 'production') {
@@ -4303,13 +4323,13 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4303
4323
  deepFreeze(snapshot.data);
4304
4324
  return snapshot;
4305
4325
  }
4306
- function ingestError$a(luvio, params, error, snapshotRefresh) {
4307
- const key = keyBuilder$t(luvio, params);
4326
+ function ingestError$b(luvio, params, error, snapshotRefresh) {
4327
+ const key = keyBuilder$v(luvio, params);
4308
4328
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4309
4329
  luvio.storeIngestError(key, errorSnapshot);
4310
4330
  return errorSnapshot;
4311
4331
  }
4312
- function createResourceRequest$h(config) {
4332
+ function createResourceRequest$i(config) {
4313
4333
  const headers = {};
4314
4334
  return {
4315
4335
  baseUri: '/services/data/v64.0',
@@ -4323,95 +4343,95 @@ function createResourceRequest$h(config) {
4323
4343
  };
4324
4344
  }
4325
4345
 
4326
- const adapterName$h = 'getSlackRecordChannelInfo';
4346
+ const adapterName$i = 'getSlackRecordChannelInfo';
4327
4347
  const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
4328
4348
  generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
4329
4349
  ];
4330
- const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4331
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$m(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4332
- function keyBuilder$s(luvio, config) {
4333
- const resourceParams = createResourceParams$h(config);
4334
- return keyBuilder$t(luvio, resourceParams);
4350
+ const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4351
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$n(getSlackRecordChannelInfo_ConfigPropertyMetadata);
4352
+ function keyBuilder$u(luvio, config) {
4353
+ const resourceParams = createResourceParams$i(config);
4354
+ return keyBuilder$v(luvio, resourceParams);
4335
4355
  }
4336
- function typeCheckConfig$h(untrustedConfig) {
4356
+ function typeCheckConfig$i(untrustedConfig) {
4337
4357
  const config = {};
4338
- typeCheckConfig$m(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4358
+ typeCheckConfig$n(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
4339
4359
  return config;
4340
4360
  }
4341
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4361
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
4342
4362
  if (!untrustedIsObject(untrustedConfig)) {
4343
4363
  return null;
4344
4364
  }
4345
4365
  if (process.env.NODE_ENV !== 'production') {
4346
4366
  validateConfig(untrustedConfig, configPropertyNames);
4347
4367
  }
4348
- const config = typeCheckConfig$h(untrustedConfig);
4368
+ const config = typeCheckConfig$i(untrustedConfig);
4349
4369
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4350
4370
  return null;
4351
4371
  }
4352
4372
  return config;
4353
4373
  }
4354
- function adapterFragment$a(luvio, config) {
4355
- createResourceParams$h(config);
4356
- return select$n();
4374
+ function adapterFragment$b(luvio, config) {
4375
+ createResourceParams$i(config);
4376
+ return select$q();
4357
4377
  }
4358
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4359
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4378
+ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
4379
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
4360
4380
  config,
4361
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4381
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4362
4382
  });
4363
4383
  return luvio.storeBroadcast().then(() => snapshot);
4364
4384
  }
4365
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
4366
- const snapshot = ingestError$a(luvio, resourceParams, response, {
4385
+ function onFetchResponseError$b(luvio, config, resourceParams, response) {
4386
+ const snapshot = ingestError$b(luvio, resourceParams, response, {
4367
4387
  config,
4368
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4388
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4369
4389
  });
4370
4390
  return luvio.storeBroadcast().then(() => snapshot);
4371
4391
  }
4372
- function buildNetworkSnapshot$h(luvio, config, options) {
4373
- const resourceParams = createResourceParams$h(config);
4374
- const request = createResourceRequest$h(resourceParams);
4392
+ function buildNetworkSnapshot$i(luvio, config, options) {
4393
+ const resourceParams = createResourceParams$i(config);
4394
+ const request = createResourceRequest$i(resourceParams);
4375
4395
  return luvio.dispatchResourceRequest(request, options)
4376
4396
  .then((response) => {
4377
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4397
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
4378
4398
  const cache = new StoreKeyMap();
4379
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4399
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
4380
4400
  return cache;
4381
4401
  });
4382
4402
  }, (response) => {
4383
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4403
+ return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
4384
4404
  });
4385
4405
  }
4386
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4387
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4406
+ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
4407
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
4388
4408
  }
4389
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4409
+ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
4390
4410
  const { luvio, config } = context;
4391
4411
  const selector = {
4392
- recordId: keyBuilder$s(luvio, config),
4393
- node: adapterFragment$a(luvio, config),
4412
+ recordId: keyBuilder$u(luvio, config),
4413
+ node: adapterFragment$b(luvio, config),
4394
4414
  variables: {},
4395
4415
  };
4396
4416
  const cacheSnapshot = storeLookup(selector, {
4397
4417
  config,
4398
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4418
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
4399
4419
  });
4400
4420
  return cacheSnapshot;
4401
4421
  }
4402
4422
  const getSlackRecordChannelInfoAdapterFactory = (luvio) => function SlackBridge__getSlackRecordChannelInfo(untrustedConfig, requestContext) {
4403
- const config = validateAdapterConfig$h(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4423
+ const config = validateAdapterConfig$i(untrustedConfig, getSlackRecordChannelInfo_ConfigPropertyNames);
4404
4424
  // Invalid or incomplete config
4405
4425
  if (config === null) {
4406
4426
  return null;
4407
4427
  }
4408
4428
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4409
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4429
+ buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
4410
4430
  };
4411
4431
 
4412
- const TTL = 500;
4413
- const VERSION$8 = "fb0fd743f16f2b13d70727c055fbc834";
4414
- function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
4432
+ const TTL$1 = 500;
4433
+ const VERSION$a = "fb0fd743f16f2b13d70727c055fbc834";
4434
+ function validate$a(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation') {
4415
4435
  const v_error = (() => {
4416
4436
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4417
4437
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4448,14 +4468,14 @@ function validate$8(obj, path = 'SlackBridgeRelatedThreadsOutputRepresentation')
4448
4468
  })();
4449
4469
  return v_error === undefined ? null : v_error;
4450
4470
  }
4451
- const RepresentationType$8 = 'SlackBridgeRelatedThreadsOutputRepresentation';
4452
- function normalize$8(input, existing, path, luvio, store, timestamp) {
4471
+ const RepresentationType$9 = 'SlackBridgeRelatedThreadsOutputRepresentation';
4472
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
4453
4473
  const input_conversations = input.conversations;
4454
4474
  const input_conversations_id = path.fullPath + '__conversations';
4455
4475
  for (let i = 0; i < input_conversations.length; i++) {
4456
4476
  const input_conversations_item = input_conversations[i];
4457
4477
  let input_conversations_item_id = input_conversations_id + '__' + i;
4458
- input_conversations[i] = ingest$f(input_conversations_item, {
4478
+ input_conversations[i] = ingest$g(input_conversations_item, {
4459
4479
  fullPath: input_conversations_item_id,
4460
4480
  propertyName: i,
4461
4481
  parent: {
@@ -4471,7 +4491,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4471
4491
  for (let i = 0; i < input_messages.length; i++) {
4472
4492
  const input_messages_item = input_messages[i];
4473
4493
  let input_messages_item_id = input_messages_id + '__' + i;
4474
- input_messages[i] = ingest$d(input_messages_item, {
4494
+ input_messages[i] = ingest$e(input_messages_item, {
4475
4495
  fullPath: input_messages_item_id,
4476
4496
  propertyName: i,
4477
4497
  parent: {
@@ -4484,23 +4504,23 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4484
4504
  }
4485
4505
  return input;
4486
4506
  }
4487
- const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4507
+ const select$p = function SlackBridgeRelatedThreadsOutputRepresentationSelect() {
4488
4508
  return {
4489
4509
  kind: 'Fragment',
4490
- version: VERSION$8,
4510
+ version: VERSION$a,
4491
4511
  private: [],
4492
4512
  selections: [
4493
4513
  {
4494
4514
  name: 'conversations',
4495
4515
  kind: 'Link',
4496
4516
  plural: true,
4497
- fragment: select$C()
4517
+ fragment: select$F()
4498
4518
  },
4499
4519
  {
4500
4520
  name: 'messages',
4501
4521
  kind: 'Link',
4502
4522
  plural: true,
4503
- fragment: select$w()
4523
+ fragment: select$z()
4504
4524
  },
4505
4525
  {
4506
4526
  name: 'teamId',
@@ -4509,7 +4529,7 @@ const select$m = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
4509
4529
  ]
4510
4530
  };
4511
4531
  };
4512
- function equals$8(existing, incoming) {
4532
+ function equals$a(existing, incoming) {
4513
4533
  const existing_teamId = existing.teamId;
4514
4534
  const incoming_teamId = incoming.teamId;
4515
4535
  if (!(existing_teamId === incoming_teamId)) {
@@ -4537,48 +4557,345 @@ function equals$8(existing, incoming) {
4537
4557
  }
4538
4558
  return true;
4539
4559
  }
4540
- const ingest$8 = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4560
+ const ingest$9 = function SlackBridgeRelatedThreadsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4541
4561
  if (process.env.NODE_ENV !== 'production') {
4542
- const validateError = validate$8(input);
4562
+ const validateError = validate$a(input);
4543
4563
  if (validateError !== null) {
4544
4564
  throw validateError;
4545
4565
  }
4546
4566
  }
4547
4567
  const key = path.fullPath;
4548
- const ttlToUse = TTL;
4549
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4568
+ const ttlToUse = TTL$1;
4569
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SlackBridge", VERSION$a, RepresentationType$9, equals$a);
4550
4570
  return createLink(key);
4551
4571
  };
4552
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4572
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4553
4573
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4554
4574
  const rootKey = fullPathFactory();
4555
4575
  rootKeySet.set(rootKey, {
4556
4576
  namespace: keyPrefix,
4557
- representationName: RepresentationType$8,
4577
+ representationName: RepresentationType$9,
4558
4578
  mergeable: false
4559
4579
  });
4560
4580
  const input_conversations_length = input.conversations.length;
4561
4581
  for (let i = 0; i < input_conversations_length; i++) {
4562
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversations[i]);
4582
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversations[i]);
4563
4583
  }
4564
4584
  const input_messages_length = input.messages.length;
4565
4585
  for (let i = 0; i < input_messages_length; i++) {
4566
- getTypeCacheKeys$d(rootKeySet, luvio, input.messages[i], () => '');
4586
+ getTypeCacheKeys$e(rootKeySet, luvio, input.messages[i], () => '');
4587
+ }
4588
+ }
4589
+
4590
+ function select$o(luvio, params) {
4591
+ return select$p();
4592
+ }
4593
+ function keyBuilder$t(luvio, params) {
4594
+ return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4595
+ }
4596
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
4597
+ getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
4598
+ }
4599
+ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
4600
+ const { body } = response;
4601
+ const key = keyBuilder$t(luvio, resourceParams);
4602
+ luvio.storeIngest(key, ingest$9, body);
4603
+ const snapshot = luvio.storeLookup({
4604
+ recordId: key,
4605
+ node: select$o(),
4606
+ variables: {},
4607
+ }, snapshotRefresh);
4608
+ if (process.env.NODE_ENV !== 'production') {
4609
+ if (snapshot.state !== 'Fulfilled') {
4610
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4611
+ }
4567
4612
  }
4613
+ deepFreeze(snapshot.data);
4614
+ return snapshot;
4615
+ }
4616
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
4617
+ const key = keyBuilder$t(luvio, params);
4618
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4619
+ const storeMetadataParams = {
4620
+ ttl: TTL$1,
4621
+ namespace: keyPrefix,
4622
+ version: VERSION$a,
4623
+ representationName: RepresentationType$9
4624
+ };
4625
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
4626
+ return errorSnapshot;
4627
+ }
4628
+ function createResourceRequest$h(config) {
4629
+ const headers = {};
4630
+ return {
4631
+ baseUri: '/services/data/v64.0',
4632
+ basePath: '/connect/slackbridge/related_threads/entity/' + config.urlParams.entityId + '',
4633
+ method: 'get',
4634
+ body: null,
4635
+ urlParams: config.urlParams,
4636
+ queryParams: {},
4637
+ headers,
4638
+ priority: 'normal',
4639
+ };
4640
+ }
4641
+
4642
+ const adapterName$h = 'getRelatedThreads';
4643
+ const getRelatedThreads_ConfigPropertyMetadata = [
4644
+ generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4645
+ ];
4646
+ const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRelatedThreads_ConfigPropertyMetadata);
4647
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(getRelatedThreads_ConfigPropertyMetadata);
4648
+ function keyBuilder$s(luvio, config) {
4649
+ const resourceParams = createResourceParams$h(config);
4650
+ return keyBuilder$t(luvio, resourceParams);
4651
+ }
4652
+ function typeCheckConfig$h(untrustedConfig) {
4653
+ const config = {};
4654
+ typeCheckConfig$n(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4655
+ return config;
4656
+ }
4657
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
4658
+ if (!untrustedIsObject(untrustedConfig)) {
4659
+ return null;
4660
+ }
4661
+ if (process.env.NODE_ENV !== 'production') {
4662
+ validateConfig(untrustedConfig, configPropertyNames);
4663
+ }
4664
+ const config = typeCheckConfig$h(untrustedConfig);
4665
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
4666
+ return null;
4667
+ }
4668
+ return config;
4669
+ }
4670
+ function adapterFragment$a(luvio, config) {
4671
+ createResourceParams$h(config);
4672
+ return select$o();
4673
+ }
4674
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
4675
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
4676
+ config,
4677
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4678
+ });
4679
+ return luvio.storeBroadcast().then(() => snapshot);
4680
+ }
4681
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
4682
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
4683
+ config,
4684
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4685
+ });
4686
+ return luvio.storeBroadcast().then(() => snapshot);
4687
+ }
4688
+ function buildNetworkSnapshot$h(luvio, config, options) {
4689
+ const resourceParams = createResourceParams$h(config);
4690
+ const request = createResourceRequest$h(resourceParams);
4691
+ return luvio.dispatchResourceRequest(request, options)
4692
+ .then((response) => {
4693
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
4694
+ const cache = new StoreKeyMap();
4695
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
4696
+ return cache;
4697
+ });
4698
+ }, (response) => {
4699
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
4700
+ });
4701
+ }
4702
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4703
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
4704
+ }
4705
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4706
+ const { luvio, config } = context;
4707
+ const selector = {
4708
+ recordId: keyBuilder$s(luvio, config),
4709
+ node: adapterFragment$a(luvio, config),
4710
+ variables: {},
4711
+ };
4712
+ const cacheSnapshot = storeLookup(selector, {
4713
+ config,
4714
+ resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
4715
+ });
4716
+ return cacheSnapshot;
4717
+ }
4718
+ const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4719
+ const config = validateAdapterConfig$h(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
4720
+ // Invalid or incomplete config
4721
+ if (config === null) {
4722
+ return null;
4723
+ }
4724
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
4725
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
4726
+ };
4727
+
4728
+ const VERSION$9 = "d6833ffbee3e599bfdef928466ea65af";
4729
+ function validate$9(obj, path = 'SlackBridgeSlackTeamOutputRepresentation') {
4730
+ const v_error = (() => {
4731
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4732
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4733
+ }
4734
+ const obj_status = obj.status;
4735
+ const path_status = path + '.status';
4736
+ if (typeof obj_status !== 'string') {
4737
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
4738
+ }
4739
+ const obj_teamDomain = obj.teamDomain;
4740
+ const path_teamDomain = path + '.teamDomain';
4741
+ if (typeof obj_teamDomain !== 'string') {
4742
+ return new TypeError('Expected "string" but received "' + typeof obj_teamDomain + '" (at "' + path_teamDomain + '")');
4743
+ }
4744
+ const obj_teamId = obj.teamId;
4745
+ const path_teamId = path + '.teamId';
4746
+ if (typeof obj_teamId !== 'string') {
4747
+ return new TypeError('Expected "string" but received "' + typeof obj_teamId + '" (at "' + path_teamId + '")');
4748
+ }
4749
+ const obj_teamName = obj.teamName;
4750
+ const path_teamName = path + '.teamName';
4751
+ if (typeof obj_teamName !== 'string') {
4752
+ return new TypeError('Expected "string" but received "' + typeof obj_teamName + '" (at "' + path_teamName + '")');
4753
+ }
4754
+ })();
4755
+ return v_error === undefined ? null : v_error;
4756
+ }
4757
+ const select$n = function SlackBridgeSlackTeamOutputRepresentationSelect() {
4758
+ return {
4759
+ kind: 'Fragment',
4760
+ version: VERSION$9,
4761
+ private: [],
4762
+ selections: [
4763
+ {
4764
+ name: 'status',
4765
+ kind: 'Scalar'
4766
+ },
4767
+ {
4768
+ name: 'teamDomain',
4769
+ kind: 'Scalar'
4770
+ },
4771
+ {
4772
+ name: 'teamId',
4773
+ kind: 'Scalar'
4774
+ },
4775
+ {
4776
+ name: 'teamName',
4777
+ kind: 'Scalar'
4778
+ }
4779
+ ]
4780
+ };
4781
+ };
4782
+ function equals$9(existing, incoming) {
4783
+ const existing_status = existing.status;
4784
+ const incoming_status = incoming.status;
4785
+ if (!(existing_status === incoming_status)) {
4786
+ return false;
4787
+ }
4788
+ const existing_teamDomain = existing.teamDomain;
4789
+ const incoming_teamDomain = incoming.teamDomain;
4790
+ if (!(existing_teamDomain === incoming_teamDomain)) {
4791
+ return false;
4792
+ }
4793
+ const existing_teamId = existing.teamId;
4794
+ const incoming_teamId = incoming.teamId;
4795
+ if (!(existing_teamId === incoming_teamId)) {
4796
+ return false;
4797
+ }
4798
+ const existing_teamName = existing.teamName;
4799
+ const incoming_teamName = incoming.teamName;
4800
+ if (!(existing_teamName === incoming_teamName)) {
4801
+ return false;
4802
+ }
4803
+ return true;
4804
+ }
4805
+
4806
+ const TTL = 500;
4807
+ const VERSION$8 = "b3c7e0b8bc0a4a3745874264601b9082";
4808
+ function validate$8(obj, path = 'SlackBridgeDisplayLoginOutputRepresentation') {
4809
+ const v_error = (() => {
4810
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4811
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4812
+ }
4813
+ const obj_orgId = obj.orgId;
4814
+ const path_orgId = path + '.orgId';
4815
+ if (typeof obj_orgId !== 'string') {
4816
+ return new TypeError('Expected "string" but received "' + typeof obj_orgId + '" (at "' + path_orgId + '")');
4817
+ }
4818
+ const obj_slackTeam = obj.slackTeam;
4819
+ const path_slackTeam = path + '.slackTeam';
4820
+ const referencepath_slackTeamValidationError = validate$9(obj_slackTeam, path_slackTeam);
4821
+ if (referencepath_slackTeamValidationError !== null) {
4822
+ let message = 'Object doesn\'t match SlackBridgeSlackTeamOutputRepresentation (at "' + path_slackTeam + '")\n';
4823
+ message += referencepath_slackTeamValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4824
+ return new TypeError(message);
4825
+ }
4826
+ })();
4827
+ return v_error === undefined ? null : v_error;
4828
+ }
4829
+ const RepresentationType$8 = 'SlackBridgeDisplayLoginOutputRepresentation';
4830
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
4831
+ return input;
4832
+ }
4833
+ const select$m = function SlackBridgeDisplayLoginOutputRepresentationSelect() {
4834
+ const { selections: SlackBridgeSlackTeamOutputRepresentation__selections, opaque: SlackBridgeSlackTeamOutputRepresentation__opaque, } = select$n();
4835
+ return {
4836
+ kind: 'Fragment',
4837
+ version: VERSION$8,
4838
+ private: [],
4839
+ selections: [
4840
+ {
4841
+ name: 'orgId',
4842
+ kind: 'Scalar'
4843
+ },
4844
+ {
4845
+ name: 'slackTeam',
4846
+ kind: 'Object',
4847
+ selections: SlackBridgeSlackTeamOutputRepresentation__selections
4848
+ }
4849
+ ]
4850
+ };
4851
+ };
4852
+ function equals$8(existing, incoming) {
4853
+ const existing_orgId = existing.orgId;
4854
+ const incoming_orgId = incoming.orgId;
4855
+ if (!(existing_orgId === incoming_orgId)) {
4856
+ return false;
4857
+ }
4858
+ const existing_slackTeam = existing.slackTeam;
4859
+ const incoming_slackTeam = incoming.slackTeam;
4860
+ if (!(equals$9(existing_slackTeam, incoming_slackTeam))) {
4861
+ return false;
4862
+ }
4863
+ return true;
4864
+ }
4865
+ const ingest$8 = function SlackBridgeDisplayLoginOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4866
+ if (process.env.NODE_ENV !== 'production') {
4867
+ const validateError = validate$8(input);
4868
+ if (validateError !== null) {
4869
+ throw validateError;
4870
+ }
4871
+ }
4872
+ const key = path.fullPath;
4873
+ const ttlToUse = TTL;
4874
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SlackBridge", VERSION$8, RepresentationType$8, equals$8);
4875
+ return createLink(key);
4876
+ };
4877
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4878
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4879
+ const rootKey = fullPathFactory();
4880
+ rootKeySet.set(rootKey, {
4881
+ namespace: keyPrefix,
4882
+ representationName: RepresentationType$8,
4883
+ mergeable: false
4884
+ });
4568
4885
  }
4569
4886
 
4570
4887
  function select$l(luvio, params) {
4571
4888
  return select$m();
4572
4889
  }
4573
4890
  function keyBuilder$r(luvio, params) {
4574
- return keyPrefix + '::SlackBridgeRelatedThreadsOutputRepresentation:(' + 'entityId:' + params.urlParams.entityId + ')';
4891
+ return keyPrefix + '::SlackBridgeDisplayLoginOutputRepresentation:(' + ')';
4575
4892
  }
4576
4893
  function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
4577
- getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r(luvio, resourceParams));
4894
+ getTypeCacheKeys$8(storeKeyMap, luvio, response, () => keyBuilder$r());
4578
4895
  }
4579
4896
  function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4580
4897
  const { body } = response;
4581
- const key = keyBuilder$r(luvio, resourceParams);
4898
+ const key = keyBuilder$r();
4582
4899
  luvio.storeIngest(key, ingest$8, body);
4583
4900
  const snapshot = luvio.storeLookup({
4584
4901
  recordId: key,
@@ -4594,7 +4911,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
4594
4911
  return snapshot;
4595
4912
  }
4596
4913
  function ingestError$9(luvio, params, error, snapshotRefresh) {
4597
- const key = keyBuilder$r(luvio, params);
4914
+ const key = keyBuilder$r();
4598
4915
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4599
4916
  const storeMetadataParams = {
4600
4917
  ttl: TTL,
@@ -4609,29 +4926,26 @@ function createResourceRequest$g(config) {
4609
4926
  const headers = {};
4610
4927
  return {
4611
4928
  baseUri: '/services/data/v64.0',
4612
- basePath: '/connect/slackbridge/related_threads/entity/' + config.urlParams.entityId + '',
4929
+ basePath: '/connect/slackbridge/slack_display_login',
4613
4930
  method: 'get',
4614
4931
  body: null,
4615
- urlParams: config.urlParams,
4932
+ urlParams: {},
4616
4933
  queryParams: {},
4617
4934
  headers,
4618
4935
  priority: 'normal',
4619
4936
  };
4620
4937
  }
4621
4938
 
4622
- const adapterName$g = 'getRelatedThreads';
4623
- const getRelatedThreads_ConfigPropertyMetadata = [
4624
- generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
4625
- ];
4626
- const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getRelatedThreads_ConfigPropertyMetadata);
4627
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$m(getRelatedThreads_ConfigPropertyMetadata);
4939
+ const adapterName$g = 'getSlackDisplayLogin';
4940
+ const getSlackDisplayLogin_ConfigPropertyMetadata = [];
4941
+ const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSlackDisplayLogin_ConfigPropertyMetadata);
4942
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(getSlackDisplayLogin_ConfigPropertyMetadata);
4628
4943
  function keyBuilder$q(luvio, config) {
4629
- const resourceParams = createResourceParams$g(config);
4630
- return keyBuilder$r(luvio, resourceParams);
4944
+ createResourceParams$g(config);
4945
+ return keyBuilder$r();
4631
4946
  }
4632
4947
  function typeCheckConfig$g(untrustedConfig) {
4633
4948
  const config = {};
4634
- typeCheckConfig$m(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
4635
4949
  return config;
4636
4950
  }
4637
4951
  function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
@@ -4641,7 +4955,7 @@ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
4641
4955
  if (process.env.NODE_ENV !== 'production') {
4642
4956
  validateConfig(untrustedConfig, configPropertyNames);
4643
4957
  }
4644
- const config = typeCheckConfig$g(untrustedConfig);
4958
+ const config = typeCheckConfig$g();
4645
4959
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
4646
4960
  return null;
4647
4961
  }
@@ -4667,7 +4981,7 @@ function onFetchResponseError$9(luvio, config, resourceParams, response) {
4667
4981
  }
4668
4982
  function buildNetworkSnapshot$g(luvio, config, options) {
4669
4983
  const resourceParams = createResourceParams$g(config);
4670
- const request = createResourceRequest$g(resourceParams);
4984
+ const request = createResourceRequest$g();
4671
4985
  return luvio.dispatchResourceRequest(request, options)
4672
4986
  .then((response) => {
4673
4987
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
@@ -4680,7 +4994,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
4680
4994
  });
4681
4995
  }
4682
4996
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4683
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4997
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
4684
4998
  }
4685
4999
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4686
5000
  const { luvio, config } = context;
@@ -4695,8 +5009,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4695
5009
  });
4696
5010
  return cacheSnapshot;
4697
5011
  }
4698
- const getRelatedThreadsAdapterFactory = (luvio) => function SlackBridge__getRelatedThreads(untrustedConfig, requestContext) {
4699
- const config = validateAdapterConfig$g(untrustedConfig, getRelatedThreads_ConfigPropertyNames);
5012
+ const getSlackDisplayLoginAdapterFactory = (luvio) => function SlackBridge__getSlackDisplayLogin(untrustedConfig, requestContext) {
5013
+ const config = validateAdapterConfig$g(untrustedConfig, getSlackDisplayLogin_ConfigPropertyNames);
4700
5014
  // Invalid or incomplete config
4701
5015
  if (config === null) {
4702
5016
  return null;
@@ -4833,10 +5147,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
4833
5147
  generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
4834
5148
  ];
4835
5149
  const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, postSlackConversationMark_ConfigPropertyMetadata);
4836
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$m(postSlackConversationMark_ConfigPropertyMetadata);
5150
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(postSlackConversationMark_ConfigPropertyMetadata);
4837
5151
  function typeCheckConfig$f(untrustedConfig) {
4838
5152
  const config = {};
4839
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
5153
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
4840
5154
  return config;
4841
5155
  }
4842
5156
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -5067,14 +5381,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
5067
5381
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5068
5382
  ];
5069
5383
  const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMembers_ConfigPropertyMetadata);
5070
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$m(getSlackConversationMembers_ConfigPropertyMetadata);
5384
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$n(getSlackConversationMembers_ConfigPropertyMetadata);
5071
5385
  function keyBuilder$m(luvio, config) {
5072
5386
  const resourceParams = createResourceParams$e(config);
5073
5387
  return keyBuilder$n(luvio, resourceParams);
5074
5388
  }
5075
5389
  function typeCheckConfig$e(untrustedConfig) {
5076
5390
  const config = {};
5077
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5391
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
5078
5392
  return config;
5079
5393
  }
5080
5394
  function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
@@ -5123,7 +5437,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
5123
5437
  });
5124
5438
  }
5125
5439
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5126
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5440
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
5127
5441
  }
5128
5442
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5129
5443
  const { luvio, config } = context;
@@ -5192,10 +5506,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
5192
5506
  generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
5193
5507
  ];
5194
5508
  const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postSlackConversationMembers_ConfigPropertyMetadata);
5195
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$m(postSlackConversationMembers_ConfigPropertyMetadata);
5509
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(postSlackConversationMembers_ConfigPropertyMetadata);
5196
5510
  function typeCheckConfig$d(untrustedConfig) {
5197
5511
  const config = {};
5198
- typeCheckConfig$m(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5512
+ typeCheckConfig$n(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
5199
5513
  return config;
5200
5514
  }
5201
5515
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -5362,10 +5676,10 @@ const deleteSlackConversationMember_ConfigPropertyMetadata = [
5362
5676
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5363
5677
  ];
5364
5678
  const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSlackConversationMember_ConfigPropertyMetadata);
5365
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$m(deleteSlackConversationMember_ConfigPropertyMetadata);
5679
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$n(deleteSlackConversationMember_ConfigPropertyMetadata);
5366
5680
  function typeCheckConfig$c(untrustedConfig) {
5367
5681
  const config = {};
5368
- typeCheckConfig$m(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5682
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
5369
5683
  return config;
5370
5684
  }
5371
5685
  function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
@@ -5465,14 +5779,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
5465
5779
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5466
5780
  ];
5467
5781
  const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSlackConversationMember_ConfigPropertyMetadata);
5468
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$m(getSlackConversationMember_ConfigPropertyMetadata);
5782
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$n(getSlackConversationMember_ConfigPropertyMetadata);
5469
5783
  function keyBuilder$i(luvio, config) {
5470
5784
  const resourceParams = createResourceParams$b(config);
5471
5785
  return keyBuilder$j(luvio, resourceParams);
5472
5786
  }
5473
5787
  function typeCheckConfig$b(untrustedConfig) {
5474
5788
  const config = {};
5475
- typeCheckConfig$m(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5789
+ typeCheckConfig$n(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
5476
5790
  return config;
5477
5791
  }
5478
5792
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -5521,7 +5835,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
5521
5835
  });
5522
5836
  }
5523
5837
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
5524
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5838
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
5525
5839
  }
5526
5840
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
5527
5841
  const { luvio, config } = context;
@@ -5682,10 +5996,10 @@ const deleteSlackMessage_ConfigPropertyMetadata = [
5682
5996
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5683
5997
  ];
5684
5998
  const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessage_ConfigPropertyMetadata);
5685
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$m(deleteSlackMessage_ConfigPropertyMetadata);
5999
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$n(deleteSlackMessage_ConfigPropertyMetadata);
5686
6000
  function typeCheckConfig$a(untrustedConfig) {
5687
6001
  const config = {};
5688
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
6002
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
5689
6003
  return config;
5690
6004
  }
5691
6005
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -5785,14 +6099,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
5785
6099
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
5786
6100
  ];
5787
6101
  const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSlackMessage_ConfigPropertyMetadata);
5788
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$m(getSlackMessage_ConfigPropertyMetadata);
6102
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$n(getSlackMessage_ConfigPropertyMetadata);
5789
6103
  function keyBuilder$e(luvio, config) {
5790
6104
  const resourceParams = createResourceParams$9(config);
5791
6105
  return keyBuilder$f(luvio, resourceParams);
5792
6106
  }
5793
6107
  function typeCheckConfig$9(untrustedConfig) {
5794
6108
  const config = {};
5795
- typeCheckConfig$m(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
6109
+ typeCheckConfig$n(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
5796
6110
  return config;
5797
6111
  }
5798
6112
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -5841,7 +6155,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
5841
6155
  });
5842
6156
  }
5843
6157
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
5844
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6158
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
5845
6159
  }
5846
6160
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
5847
6161
  const { luvio, config } = context;
@@ -5911,10 +6225,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
5911
6225
  generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
5912
6226
  ];
5913
6227
  const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, patchSlackMessage_ConfigPropertyMetadata);
5914
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$m(patchSlackMessage_ConfigPropertyMetadata);
6228
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$n(patchSlackMessage_ConfigPropertyMetadata);
5915
6229
  function typeCheckConfig$8(untrustedConfig) {
5916
6230
  const config = {};
5917
- typeCheckConfig$m(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
6231
+ typeCheckConfig$n(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
5918
6232
  return config;
5919
6233
  }
5920
6234
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -5983,7 +6297,7 @@ function validate$3(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
5983
6297
  for (let i = 0; i < obj_reactions.length; i++) {
5984
6298
  const obj_reactions_item = obj_reactions[i];
5985
6299
  const path_reactions_item = path_reactions + '[' + i + ']';
5986
- const referencepath_reactions_itemValidationError = validate$i(obj_reactions_item, path_reactions_item);
6300
+ const referencepath_reactions_itemValidationError = validate$k(obj_reactions_item, path_reactions_item);
5987
6301
  if (referencepath_reactions_itemValidationError !== null) {
5988
6302
  let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
5989
6303
  message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6012,7 +6326,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
6012
6326
  return input;
6013
6327
  }
6014
6328
  const select$a = function SlackBridgeReactionsOutputRepresentationSelect() {
6015
- const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$B();
6329
+ const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$E();
6016
6330
  return {
6017
6331
  kind: 'Fragment',
6018
6332
  version: VERSION$3,
@@ -6058,7 +6372,7 @@ function equals$3(existing, incoming) {
6058
6372
  const existing_reactions = existing.reactions;
6059
6373
  const incoming_reactions = incoming.reactions;
6060
6374
  const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
6061
- if (!(equals$i(existing_reactions_item, incoming_reactions_item))) {
6375
+ if (!(equals$k(existing_reactions_item, incoming_reactions_item))) {
6062
6376
  return false;
6063
6377
  }
6064
6378
  });
@@ -6128,10 +6442,10 @@ const deleteSlackMessageReactions_ConfigPropertyMetadata = [
6128
6442
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6129
6443
  ];
6130
6444
  const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSlackMessageReactions_ConfigPropertyMetadata);
6131
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$m(deleteSlackMessageReactions_ConfigPropertyMetadata);
6445
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$n(deleteSlackMessageReactions_ConfigPropertyMetadata);
6132
6446
  function typeCheckConfig$7(untrustedConfig) {
6133
6447
  const config = {};
6134
- typeCheckConfig$m(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6448
+ typeCheckConfig$n(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
6135
6449
  return config;
6136
6450
  }
6137
6451
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -6221,10 +6535,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
6221
6535
  generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
6222
6536
  ];
6223
6537
  const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, postSlackMessageReactions_ConfigPropertyMetadata);
6224
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$m(postSlackMessageReactions_ConfigPropertyMetadata);
6538
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$n(postSlackMessageReactions_ConfigPropertyMetadata);
6225
6539
  function typeCheckConfig$6(untrustedConfig) {
6226
6540
  const config = {};
6227
- typeCheckConfig$m(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6541
+ typeCheckConfig$n(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
6228
6542
  return config;
6229
6543
  }
6230
6544
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -6297,7 +6611,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6297
6611
  for (let i = 0; i < input_emojis.length; i++) {
6298
6612
  const input_emojis_item = input_emojis[i];
6299
6613
  let input_emojis_item_id = input_emojis_id + '__' + i;
6300
- input_emojis[i] = ingest$h(input_emojis_item, {
6614
+ input_emojis[i] = ingest$i(input_emojis_item, {
6301
6615
  fullPath: input_emojis_item_id,
6302
6616
  propertyName: i,
6303
6617
  parent: {
@@ -6320,7 +6634,7 @@ const select$8 = function SlackBridgeEmojisOutputRepresentationSelect() {
6320
6634
  name: 'emojis',
6321
6635
  kind: 'Link',
6322
6636
  plural: true,
6323
- fragment: select$E()
6637
+ fragment: select$H()
6324
6638
  }
6325
6639
  ]
6326
6640
  };
@@ -6360,7 +6674,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
6360
6674
  });
6361
6675
  const input_emojis_length = input.emojis.length;
6362
6676
  for (let i = 0; i < input_emojis_length; i++) {
6363
- getTypeCacheKeys$h(rootKeySet, luvio, input.emojis[i]);
6677
+ getTypeCacheKeys$i(rootKeySet, luvio, input.emojis[i]);
6364
6678
  }
6365
6679
  }
6366
6680
 
@@ -6416,14 +6730,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
6416
6730
  generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
6417
6731
  ];
6418
6732
  const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmojis_ConfigPropertyMetadata);
6419
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$m(getSlackEmojis_ConfigPropertyMetadata);
6733
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$n(getSlackEmojis_ConfigPropertyMetadata);
6420
6734
  function keyBuilder$a(luvio, config) {
6421
6735
  const resourceParams = createResourceParams$5(config);
6422
6736
  return keyBuilder$b(luvio, resourceParams);
6423
6737
  }
6424
6738
  function typeCheckConfig$5(untrustedConfig) {
6425
6739
  const config = {};
6426
- typeCheckConfig$m(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6740
+ typeCheckConfig$n(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
6427
6741
  return config;
6428
6742
  }
6429
6743
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -6472,7 +6786,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
6472
6786
  });
6473
6787
  }
6474
6788
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
6475
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6789
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
6476
6790
  }
6477
6791
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
6478
6792
  const { luvio, config } = context;
@@ -6498,20 +6812,20 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
6498
6812
  };
6499
6813
 
6500
6814
  function select$6(luvio, params) {
6501
- return select$E();
6815
+ return select$H();
6502
6816
  }
6503
6817
  function keyBuilder$9(luvio, params) {
6504
- return keyBuilder$B(luvio, {
6818
+ return keyBuilder$D(luvio, {
6505
6819
  name: params.urlParams.slackEmojiId
6506
6820
  });
6507
6821
  }
6508
6822
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
6509
- getTypeCacheKeys$h(storeKeyMap, luvio, response);
6823
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
6510
6824
  }
6511
6825
  function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
6512
6826
  const { body } = response;
6513
6827
  const key = keyBuilder$9(luvio, resourceParams);
6514
- luvio.storeIngest(key, ingest$h, body);
6828
+ luvio.storeIngest(key, ingest$i, body);
6515
6829
  const snapshot = luvio.storeLookup({
6516
6830
  recordId: key,
6517
6831
  node: select$6(),
@@ -6529,10 +6843,10 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
6529
6843
  const key = keyBuilder$9(luvio, params);
6530
6844
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
6531
6845
  const storeMetadataParams = {
6532
- ttl: TTL$2,
6846
+ ttl: TTL$3,
6533
6847
  namespace: keyPrefix,
6534
- version: VERSION$l,
6535
- representationName: RepresentationType$h
6848
+ version: VERSION$n,
6849
+ representationName: RepresentationType$i
6536
6850
  };
6537
6851
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
6538
6852
  return errorSnapshot;
@@ -6557,14 +6871,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
6557
6871
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
6558
6872
  ];
6559
6873
  const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackEmoji_ConfigPropertyMetadata);
6560
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$m(getSlackEmoji_ConfigPropertyMetadata);
6874
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$n(getSlackEmoji_ConfigPropertyMetadata);
6561
6875
  function keyBuilder$8(luvio, config) {
6562
6876
  const resourceParams = createResourceParams$4(config);
6563
6877
  return keyBuilder$9(luvio, resourceParams);
6564
6878
  }
6565
6879
  function typeCheckConfig$4(untrustedConfig) {
6566
6880
  const config = {};
6567
- typeCheckConfig$m(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6881
+ typeCheckConfig$n(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
6568
6882
  return config;
6569
6883
  }
6570
6884
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -6613,7 +6927,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
6613
6927
  });
6614
6928
  }
6615
6929
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
6616
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6930
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
6617
6931
  }
6618
6932
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
6619
6933
  const { luvio, config } = context;
@@ -6692,7 +7006,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
6692
7006
  for (let i = 0; i < input_conversationInfos.length; i++) {
6693
7007
  const input_conversationInfos_item = input_conversationInfos[i];
6694
7008
  let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
6695
- input_conversationInfos[i] = ingest$f(input_conversationInfos_item, {
7009
+ input_conversationInfos[i] = ingest$g(input_conversationInfos_item, {
6696
7010
  fullPath: input_conversationInfos_item_id,
6697
7011
  propertyName: i,
6698
7012
  parent: {
@@ -6715,7 +7029,7 @@ const select$5 = function SlackBridgeConversationInfosOutputRepresentationSelect
6715
7029
  name: 'conversationInfos',
6716
7030
  kind: 'Link',
6717
7031
  plural: true,
6718
- fragment: select$C()
7032
+ fragment: select$F()
6719
7033
  },
6720
7034
  {
6721
7035
  name: 'searchString',
@@ -6764,7 +7078,7 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
6764
7078
  });
6765
7079
  const input_conversationInfos_length = input.conversationInfos.length;
6766
7080
  for (let i = 0; i < input_conversationInfos_length; i++) {
6767
- getTypeCacheKeys$f(rootKeySet, luvio, input.conversationInfos[i]);
7081
+ getTypeCacheKeys$g(rootKeySet, luvio, input.conversationInfos[i]);
6768
7082
  }
6769
7083
  }
6770
7084
 
@@ -6820,14 +7134,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
6820
7134
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6821
7135
  ];
6822
7136
  const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchConversation_ConfigPropertyMetadata);
6823
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$m(getSlackSearchConversation_ConfigPropertyMetadata);
7137
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$n(getSlackSearchConversation_ConfigPropertyMetadata);
6824
7138
  function keyBuilder$6(luvio, config) {
6825
7139
  const resourceParams = createResourceParams$3(config);
6826
7140
  return keyBuilder$7(luvio, resourceParams);
6827
7141
  }
6828
7142
  function typeCheckConfig$3(untrustedConfig) {
6829
7143
  const config = {};
6830
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
7144
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
6831
7145
  return config;
6832
7146
  }
6833
7147
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -6876,7 +7190,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
6876
7190
  });
6877
7191
  }
6878
7192
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
6879
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
7193
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
6880
7194
  }
6881
7195
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
6882
7196
  const { luvio, config } = context;
@@ -6953,14 +7267,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
6953
7267
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
6954
7268
  ];
6955
7269
  const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchEmoji_ConfigPropertyMetadata);
6956
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$m(getSlackSearchEmoji_ConfigPropertyMetadata);
7270
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$n(getSlackSearchEmoji_ConfigPropertyMetadata);
6957
7271
  function keyBuilder$4(luvio, config) {
6958
7272
  const resourceParams = createResourceParams$2(config);
6959
7273
  return keyBuilder$5(luvio, resourceParams);
6960
7274
  }
6961
7275
  function typeCheckConfig$2(untrustedConfig) {
6962
7276
  const config = {};
6963
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
7277
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
6964
7278
  return config;
6965
7279
  }
6966
7280
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -7009,7 +7323,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
7009
7323
  });
7010
7324
  }
7011
7325
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
7012
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7326
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
7013
7327
  }
7014
7328
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
7015
7329
  const { luvio, config } = context;
@@ -7088,7 +7402,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
7088
7402
  for (let i = 0; i < input_userInfos.length; i++) {
7089
7403
  const input_userInfos_item = input_userInfos[i];
7090
7404
  let input_userInfos_item_id = input_userInfos_id + '__' + i;
7091
- input_userInfos[i] = ingest$g(input_userInfos_item, {
7405
+ input_userInfos[i] = ingest$h(input_userInfos_item, {
7092
7406
  fullPath: input_userInfos_item_id,
7093
7407
  propertyName: i,
7094
7408
  parent: {
@@ -7115,7 +7429,7 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
7115
7429
  name: 'userInfos',
7116
7430
  kind: 'Link',
7117
7431
  plural: true,
7118
- fragment: select$D()
7432
+ fragment: select$G()
7119
7433
  }
7120
7434
  ]
7121
7435
  };
@@ -7160,7 +7474,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
7160
7474
  });
7161
7475
  const input_userInfos_length = input.userInfos.length;
7162
7476
  for (let i = 0; i < input_userInfos_length; i++) {
7163
- getTypeCacheKeys$g(rootKeySet, luvio, input.userInfos[i]);
7477
+ getTypeCacheKeys$h(rootKeySet, luvio, input.userInfos[i]);
7164
7478
  }
7165
7479
  }
7166
7480
 
@@ -7219,14 +7533,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
7219
7533
  generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
7220
7534
  ];
7221
7535
  const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
7222
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$m(getSlackSearchUser_ConfigPropertyMetadata);
7536
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$n(getSlackSearchUser_ConfigPropertyMetadata);
7223
7537
  function keyBuilder$2(luvio, config) {
7224
7538
  const resourceParams = createResourceParams$1(config);
7225
7539
  return keyBuilder$3(luvio, resourceParams);
7226
7540
  }
7227
7541
  function typeCheckConfig$1(untrustedConfig) {
7228
7542
  const config = {};
7229
- typeCheckConfig$m(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7543
+ typeCheckConfig$n(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
7230
7544
  return config;
7231
7545
  }
7232
7546
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -7275,7 +7589,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
7275
7589
  });
7276
7590
  }
7277
7591
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
7278
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7592
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
7279
7593
  }
7280
7594
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
7281
7595
  const { luvio, config } = context;
@@ -7301,21 +7615,20 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
7301
7615
  };
7302
7616
 
7303
7617
  function select(luvio, params) {
7304
- return select$D();
7618
+ return select$G();
7305
7619
  }
7306
7620
  function keyBuilder$1(luvio, params) {
7307
- return keyBuilder$A(luvio, {
7308
- slackUserId: params.urlParams.slackUserId,
7309
- teamId: params.urlParams.teamId
7621
+ return keyBuilder$C(luvio, {
7622
+ slackUserId: params.urlParams.slackUserId
7310
7623
  });
7311
7624
  }
7312
7625
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
7313
- getTypeCacheKeys$g(storeKeyMap, luvio, response);
7626
+ getTypeCacheKeys$h(storeKeyMap, luvio, response);
7314
7627
  }
7315
7628
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
7316
7629
  const { body } = response;
7317
7630
  const key = keyBuilder$1(luvio, resourceParams);
7318
- luvio.storeIngest(key, ingest$g, body);
7631
+ luvio.storeIngest(key, ingest$h, body);
7319
7632
  const snapshot = luvio.storeLookup({
7320
7633
  recordId: key,
7321
7634
  node: select(),
@@ -7333,10 +7646,10 @@ function ingestError(luvio, params, error, snapshotRefresh) {
7333
7646
  const key = keyBuilder$1(luvio, params);
7334
7647
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7335
7648
  const storeMetadataParams = {
7336
- ttl: TTL$1,
7649
+ ttl: TTL$2,
7337
7650
  namespace: keyPrefix,
7338
- version: VERSION$k,
7339
- representationName: RepresentationType$g
7651
+ version: VERSION$m,
7652
+ representationName: RepresentationType$h
7340
7653
  };
7341
7654
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
7342
7655
  return errorSnapshot;
@@ -7361,14 +7674,14 @@ const getSlackUser_ConfigPropertyMetadata = [
7361
7674
  generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
7362
7675
  ];
7363
7676
  const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
7364
- const createResourceParams = /*#__PURE__*/ createResourceParams$m(getSlackUser_ConfigPropertyMetadata);
7677
+ const createResourceParams = /*#__PURE__*/ createResourceParams$n(getSlackUser_ConfigPropertyMetadata);
7365
7678
  function keyBuilder(luvio, config) {
7366
7679
  const resourceParams = createResourceParams(config);
7367
7680
  return keyBuilder$1(luvio, resourceParams);
7368
7681
  }
7369
7682
  function typeCheckConfig(untrustedConfig) {
7370
7683
  const config = {};
7371
- typeCheckConfig$m(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7684
+ typeCheckConfig$n(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
7372
7685
  return config;
7373
7686
  }
7374
7687
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -7417,7 +7730,7 @@ function buildNetworkSnapshot(luvio, config, options) {
7417
7730
  });
7418
7731
  }
7419
7732
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
7420
- return buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7733
+ return buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
7421
7734
  }
7422
7735
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
7423
7736
  const { luvio, config } = context;
@@ -7442,4 +7755,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
7442
7755
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
7443
7756
  };
7444
7757
 
7445
- export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
7758
+ export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackDisplayLoginAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };